/* mapa */
html, body {
    padding: 0;
    margin: 0;
    height: 100%;
}

.map {
    height: 615px;
    width: 100%;

}

#timeoutError {
    display: none;
    position: fixed;
    bottom: 2em;
    right: 3em;
    z-index: 1000;
}

#sliderTimeoutPanel {
    left: 3%;
    position: absolute;
    bottom: 0;
    display: flex;
    z-index: 1000;
}

.bold-text {
    font-weight: 900;
}

.legend {
    width: 380px;
    position: absolute;
}

.legend .leg-type {
    padding-left: 50px;
    float: left;
    width: 100%;
    font-size: 10px;
}

#timeInfo {
    border-radius: 4px;
    border: solid 2px #ccc;
    background-color: #fff;
    padding-bottom: 5px;
    padding-right: 12px;
    position: relative;
    z-index: 99;
    padding-top: 5px;
    width: 100%
}

img#loadingImg {
    position: absolute;
    right: 0;
    top: 0;
}

#basemaps-wrapper {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: white;
    padding: 10px;
    z-index: 500;
}

#basemaps {
    margin-bottom: 5px;
}

.slider {
    z-index: 500;

}

.rs-container .rs-scale span ins {
    font-size: 8px;
    font-weight: 800;
}

.rs-container {
    height: 15px;
    margin-left: 20px;


}

.rs-container .rs-scale span {

}

.rs-scale {
    width: 105%;
}


.leaflet-popup-content-wrapper {
    border-radius: 0;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    padding-bottom: 1px;
    padding: 0;
}

.leaflet-popup-content {
    margin: 0 0;
    width: 250px;
}

.popupHeader {
    background: #332a2a;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    padding-bottom: 3px;
}

.popupTitle {
    margin: 7px;
}

.popupContent {
    margin: 7px;
}

.baseMapButton {
    height: 67px;
    width: 100px;
    border: 1px solid #fff;
    margin: 1px;
    -moz-box-shadow: 0px 0px 7px #000;
    -webkit-box-shadow: 0px 0px 7px #000;
    box-shadow: 0px 0px 7px #000;
}

.baseMapButton.selected {
    border: 2px solid #F99 !important;
}

.windowbaseMapButton {
    cursor: pointer;
    float: left;
    width: 100px;
    margin: 5px 10px 0 10px;
}
.map-foundations{
    z-index: 850;
    right: 30%;
    max-width: 21%;
    bottom: 7em;
}
.bottom-panel {
    bottom: 3em;
}
@media (max-width: 1000px) {
    #timeInfo .rs-scale {
        display: none;
    }
}

@media (max-width: 767px) {
    #baseMapsGallery{
        margin-top: 1em;
    }
    #baseMapsButton {
        padding-right: 15px;
        padding-left: 15px;
    }
    .windowbaseMapButton{
        min-height: 110px;
    }
    .bottom-panel {
        position: initial;
        width: 100%;
    }

    #sliderTimeoutPanel {
        position: initial;
        margin-bottom: 1em;
    }

    .legend {
        bottom: 0;
        height: 580px;
        position: relative;
        right: 0;
        width: 100%;
    }

    #map {
        height: 615px;
        width: 100%;
        position: relative;
    }

    #basemapGalleryDiv {
        position: initial;
        min-width: 100%;
        margin-bottom: 1em;
    }

    #timeoutError {
        position: fixed;
        bottom: 2em;
        right: 0;
        margin: 15px;
    }
}

