/* styles specific to map_fullscreen.html */
:root {
    --unit-100vh: 100vh;
}
@supports (height: 100dvh) {
    :root {
        --unit-100vh: 100dvh;
    }
}

.sidenav {
    height: calc(100% - 186px);
    padding: 0px;
    width: 350px;
    position: fixed;
    z-index: 101;
    left: 0;
    background-color: white;
    overflow: hidden;
    transition: 0.5s;
}

.row{
    margin-right:unset!important;
    margin-left:unset!important;
    --bs-gutter-x:unset!important;
    --bs-gutter-y:unset!important;
}

.row>*{
    padding-right:unset;
    padding-left:unset;
}

.sidenav a {
    padding: 0px 23px 8px 18px;
    text-decoration: none;
    /*font-size: 25px;*/
    color: #818181;
    display: block;
    transition: 0.3s;
}

.layers{
    padding-left: 0!important;
}

span.rst__rowTitle {
    padding-left: 1em;
}

.footerDrawer {
    /*background-color: #eeeeee;*/
    width: calc(100% - 356px);
    position: absolute;
    bottom: 50px;
    z-index: 100;
    right: 4px;
}

.footerDrawer .open {
    background-color: #fcc219;
    color: #162518;
    width: 121px;
    margin: auto;
    text-align: center;
    cursor: pointer;
    border-top: 2px solid #162518;
    border-right: 2px solid #162518;
    border-left: 2px solid #162518;
}

#mySidenav{
    width:0;
}

#mySidenav.open{
    width: 350px;
}

.footerDrawer .open:hover {
    background-color: #fdecc2;

}

.footerDrawer .content {
    height: 33svh;
    max-height: 500px;
    background-color: rgba(204, 204, 204, 0.85);
    display: none;
    vertical-align: top;
}

.close-panel {
    padding-right: 25px;
    font-size: 25px;
}

.sidenav .basemap_img {
    padding: 0;
}

.leaflet-bottom.leaflet-right{
    max-width: calc(50vw - 250px);
    width: calc(50vw - 250px);
    overflow-wrap: normal;
}

.leaflet-control-attribution.leaflet-control{
    max-width: calc(50vw - 250px);
    overflow-wrap: break-word;
}

#attribution_icon{
    width: 26px;
    height: 26px;
    position: absolute;
    right: 8px;
    bottom: 5px;
    background-image: url('/static/images/attribution.png');
    background-size: cover;
    display: none;
    cursor: pointer;
}

#attribution_icon:hover{
    background-image: url('/static/images/attribution_hover.png');
}

.sidenav a:hover {
    color: #818181;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}
.nav-tabs .nav-item .nav-link.active {
    color: #162518!important;
}

#nav_opener {
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    left: 0px;
    z-index: 99;
    color: #162518;
    background-color: #fcc219;
    width: 50px;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}

.form-check-input:checked {
    background-color: #fcc219;
    border-color: #fcc219;
}

#nav_opener:hover {
    background-color: #fdecc2;
}

.apixu-weather-todays-stats-location{
    display: none!important;
}

.rst__rowWrapper {
    padding: 0 10px 0 0;
    height: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.rst__rowLabel{
    width: calc(100% - 20px);
}

.fire_counter{
    width: 100%;
    text-align: end;
    padding-right: 5px;
}

.cblabel{
    max-width: calc(100% - 16px);
    text-overflow: ellipsis;
    overflow: hidden;
}

.disable-selection {
    /* event if these are not necessary, let's just add them */
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* this will add drag availability once you clicked the
       #drag div while you're focusing #message div */
    -moz-user-select: none;
}

.sortable-ghost {
    opacity: .75;
}

.rst__row {
    height: 100%;
    white-space: nowrap;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
    min-width: 100%;
    max-width: 100%;
}

.rst__moveHandle,
.rst__loadingHandle {

    height: auto;
    width: 44px;
    /*background: #7eaddb url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MiIgaGVpZ2h0PSI0MiI+PGcgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuOSI+PHBhdGggZD0iTTE0IDE1LjdoMTQuNE0xNCAyMS40aDE0LjRNMTQgMjcuMWgxNC40Ii8+PC9nPjwvc3ZnPg==) no-repeat 50%;*/
    background: #162518 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MiIgaGVpZ2h0PSI0MiI+PGcgc3Ryb2tlPSIjRkZGIiBzdHJva2Utd2lkdGg9IjIuOSI+PHBhdGggZD0iTTE0IDE1LjdoMTQuNE0xNCAyMS40aDE0LjRNMTQgMjcuMWgxNC40Ii8+PC9nPjwvc3ZnPg==) no-repeat 50%;
    border: solid #0c1a4e 1px;
    -webkit-box-shadow: #0c1a4e 2px 2px 4px 0px;
    box-shadow: #0c1a4e 2px 2px 4px 0px;
    cursor: move;
    border-radius: 1px;
    z-index: 1;
}

.rst__rowContents {
    position: relative;
    height: 100%;
    border: 0; /* 1px solid #bbb;*/
    border-left: none;
    -webkit-box-shadow: #0c1a4e 0px 2px 4px 0px;;
    box-shadow: #0c1a4e 0px 2px 4px 0px;;
    padding: 0 5px 0 10px;
    border-radius: 2px;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background-color: #fff;
    max-width: calc(100% - 44px);
}

.map_control_style {
    display: flex;
    align-items: center;
    padding-top: 10px;
    padding-left: 10px;
    justify-content: space-between;
}

#control_label {
    font-size: 20px;
}

.side_panel {
    /*padding-left: 30px;*/
    margin-top: 15px;
    margin-bottom: 10px;
}

/*.full_map_popover {*/
/*    padding-top: 0;*/
/*    display: flex;*/
/*}*/

#layer-control-parent-id-full {
    padding: 0px;
    border: 1px solid gray;
    margin: 10px;
    width: 90%;
    border-radius: 0.2em;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#location_full {
    display: flow-root;
    padding: 0px;
}

#map3 {
    height:calc(100svh - 186px);
    z-index: 98;
    margin-left: 0;

}

#myTabContent{
    overflow-y: auto;
    height: calc(100% - 104px);
}

.leaflet-top.leaflet-right {
    margin-right: 20px;
}

.ui-dialog {
    padding: 0;
    z-index: 105;
}

.ui-widget-header {
    border: unset;
    background: #162518;
    color: #fcc219;
    font-weight: bold;
}

.ui-widget.ui-widget-content{
    border:unset;
}

.fas.fa-circle-info{
    cursor: pointer;
    color:#fcc219;
}

.fas.fa-circle-info:hover{
    color:#fdecc2;
}

.ui-dialog-titlebar-close {
    background-image: url('images/close_x.png');
            /*url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAm0lEQVR4Ae3VAQaAQBBA0dCBukcIHWSPsgfpiOGHMKKg+QrmAyzr2WVmuKmqqgqYrDsMTOOsJe7owA6sWczMtfYKE+2plwJGYHuJCkzU49RH+RgfZWMElIcRUB5GQOkYAeVjJJSJSQy9qP2PsVECpmcmuo4x1oyIiTyUgFFRAkZACZjPUcDyhEmgJuuFujDRtW9bhDUz3xxVVVUdlCLox3GudKQAAAAASUVORK5CYII=);*/
    border: none!important;
    float: right;
    outline: none;
    /* margin-top: 5px; */
    background-size: cover;
    background-color: unset;
    border-radius: 5px;
    width: 22px;
    height: 22px;
}

.ui-dialog-titlebar-close:hover {
    border: none;
    background-image: url('images/close_x_hover.png');
}


.img-thumbnail {
    border: none;
}

#loading_full {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.7;
    background-color: #fff;
    z-index: 500;
}

#loading-image-full {
    z-index: 500;
}

html {
    margin: 0;
    height: 100%;
    overflow: hidden
}

.map-thumb-full {
    float: left;
    position: relative;
    overflow: hidden;
    max-height: 300px;
    cursor: pointer;
    margin: 5px;
    max-width: calc(50% - 12px);
}

.leaflet-bar a {
    background-color: #fcc219;
    color:#162518;
}

.leaflet-bar a.leaflet-disabled {
    background-color: #fdecc2;
    color: rgba(22, 37, 24, 0.6);
}

.leaflet-bar a:hover, .leaflet-bar a:focus {
    background-color: #fdecc2;
    color:#162518;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1234;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: auto;
    min-width: unset!important;
 min-height: unset!important;
}

/* Close button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}
#wrapper{
    max-height: calc(100% - 50px);
    min-height: calc(100% - 50px);
}

/* The container must be positioned relative: */
.mosaic-select {
    position: relative;
    font-family: Arial;
    width: 45%;
    display: inline-block;
}

div#mosaic-range {
    margin-bottom: 8px;
}

@media screen and (max-width: 900px) {
    #attribution_icon{
        display: block;
    }
    .leaflet-control-attribution.leaflet-control{
        display: none;
    }
}

@media screen and (max-width: 650px) {
    #mySidenav.open{
        width: 100vw;
    }
    #wrapper{
        max-height: unset;
        min-height: unset;
    }
    .footerDrawer .content {
        position: relative;
        height: 100%;
    }
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}
