/*MAP*/
html, body {
    overflow-y: hidden; /* Skryje horizontální posuvník */
}
.map-container {
    height: calc(100vh - 56px); /* Výška navigace */
    width: 100%; /* Zabere celou šířku */
    margin: 0; /* Zajistí, že nebudou žádné mezery kolem */
    padding: 0;
}
#map {
    width: 100%;
    height: 100%;
}

#map-wrapper {
    height: 100%;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    
}

#map-wrapper > .header {
    -webkit-flex: 0 0 auto;
    flex: 0 0 auto;
}

#map-wrapper > .header + div {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
}

#map-wrapper > .header + div > div:first-of-type {
    -webkit-flex: 7 0 0;
    flex: 7 0 0;
}

#map-wrapper > .header + div > div:last-of-type {
    -webkit-flex: 3 0 0;
    flex: 3 0 0;
}


 /* The side navigation menu */
.sidenav {
    font-size: 12px;
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 990;
    top: 52;
    right: 0;
    background-color: rgba(255, 255, 255, 1);
    overflow: auto;
    transition: 0.5s;
    padding-top: 45px;
    padding-left: 5px;

}
.sidenav a:hover{
    text-decoration: none;
}
.sidenav a:active{
    text-decoration: none;
}
.sidenav .closebtn {
    position: absolute;
    top: 0;
    font-size: 36px;
    color: #002B59;
    padding-left: 2px !important;
}
.sidenav a:hover{
    color: #002B59 !important;
}
.sidenav fieldset{
    /*background-color: #fff;*/
}

.sidenav .legend{
    /*background-color: #fff;*/
}
.sidenav legend{
    font-size: 15px;
    font-weight: bold;
}
.legend-title{
    font-weight: bold;
    padding-bottom: 5px;
}
.legend-group{
    padding-left: 10px;
    padding-right: 10px;
}
.legend-subgroup{
        padding-bottom: 5px;
}
.legend-item{
    font-weight: bold;
}

.legend-subgroup .legend-subitem{
    padding-left: 10px;
    padding-bottom: 7px;
    background-repeat: no-repeat;    
    line-height: 17px;    
}

.legend-text{
    padding-right: 2px;
}
.form-check-input{
    margin-top: 0.1rem !important;
}
.search-map-form{
    margin-top: 20px;
}

.filter-group{
    padding-left: 10px;
    padding-right: 10px;
}


/*MAP TOOLS*/
.map-tools {
    position: absolute;
    top: 190px;
    z-index: 900;
}
.map-tools .tool {
    margin-left: 20px;
    margin-bottom: 6px;
}
.map-tools .tool-group {
    margin-left: 5px;
}
.tools {
    position: absolute;
    top: 145px;
    right: 0;
    margin: 5px 8px 5px 5px;
}
.tools .tool {
    margin: 0 0 10px 0;
    z-index: 900;
}
.searchTool{
    position: absolute;
    right: 0;
    margin: 9px 55px 0px 0px; 
    z-index: 900;
}

.tool .btn{
    padding: 8px 13px;
}

.searchTool .form-control{
    padding: 20px 19px;
}

.info-window {
    min-width: 300px;
    max-width: 350px;
}
.info-window.en {
    min-width: 350px;
}
.info-window-group {
    min-width: 160px;
    max-width: 300px;
}
@media (max-width: 768px) {
    .info-window {
        min-width: 250px;
        max-width: 300px;
    }
    .info-window.en {
        min-width: 300px;
        max-width: 300px;
    }
}
.info-window table {
    width: 100%;
}
.info-window table td {
    color: #000000;
}
.info-window a:hover {
    text-decoration: none;
}
.info-window hr {
    margin-bottom: 10px;
    margin-top: 10px;
}
td.info-window-title,
.info-window-title-text,
.info-window em {
    color: #7D7D7D !important;
}
.info-window-pictures {
    font-size: 24px;
    line-height: 24px;
}

.search-map-form input{
    margin-right: 5px !important;
}

#filter-tabs.ui-widget.ui-widget-content{
    border: none;
}
#filter-tabs.ui-widget-content{
    background: rgba(255, 255, 255, 0);
}
#filter-tabs a:hover{
    color: #fff !important;
    background-color: #002B59;
}
.layer-invisible{
    color: #C0C0C0;
}
.layer-invisible .fa-chart-bar {
    color: #C0C0C0 !important;
    filter: grayscale(1) brightness(0.8);
    pointer-events: none;
    opacity: 0.7;
}
.legend-group a{
    color: #333;
}
/*uprava UI Tabs*/
#tabs.ui-widget.ui-widget-content {
    border-style: none ;
}
#tabs .ui-widget-header {
    border-style: none ;
    background: none;
}
#tabs .ui-tabs-tab{
    margin-right: 0px;
    margin-top: 0px;
    border-left: 0px;
    border-right: 1px solid #fff;
    border-radius: 0px;
    /*background-color: rgba(119, 101, 87, 0.7);*/
}
#tabs .ui-tabs-tab a{
    /*color: #fff !important;*/
}
#tabs .ui-tabs-active{
    padding-bottom: 0px;
}
#tabs .ui-tabs-active a{
    color: #fff !important;
}
#tabs.ui-widget-content{
    background-color: rgba(255,255,255, 0);
}

#tabs .input-group{
    margin-right: -15px;
    margin-left: -15px;
    margin-bottom: 15px;    
}
.legendstyle-item .symbol{
    margin-right: 8px;  
}
.legendstyle-item-routes .symbol-routes{
    float: left;
    width: 20px;
    height: 5px;
    background-position: left center;
    background-repeat: no-repeat;
    margin-top: 6px;
}

.splitview {
    font-size: 12px;
    width: 100%;
    height: 0px;
    position: fixed;
    z-index: 899;
    bottom: 0;
    background-color: rgba(255, 255, 255, 1);
    overflow: auto;
    transition: 0.5s;
    padding-right: 250px !important;
}
.splitview .graph{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important; 
    max-height: 100% !important;
    box-sizing: border-box !important;
    padding-bottom: 55px !important;
}
.splitview .closebtn {
    font-size: 36px;
    color: #002B59;
    padding-left: 2px !important;
    text-decoration: none;
    float: left;
}
.route-graph-active{
    color: #2aaae6 !important;
}
.graph-settings .form-control{
    font-size: 0.8rem;
}