#map, map{
    width: 100%;
    height: 89vh;
    position: relative;
    overflow: hidden;
}

.ol-zoom {
    font-size: 16px !important;
}

.filter_map {
    z-index: 1 !important;
    width: 350px;
}

#filter_map > .card {
    height: 300px !important;
    overflow-y: scroll;
}


#map-chart {
    z-index: 1;
    top: 0;
    right: -40%;
    position: absolute !important;
    transition-duration: 1s;
    animation-duration: 1s;
    animation-iteration-count: 1;
    animation-name: slide-in;
    width: 350px;
}

#map-chart.show{
    right: 0 !important;
}

#map-legend{
    position: absolute;
    z-index: 1;
    width: 1rem;
    bottom: 0;
    background: #FFF;
    min-width: 30px;
    /*max-height: 300px;*/
    min-height: 100px;
    margin-bottom: 1rem;
    margin-left: 1rem;
    padding: 1em;
    /*overflow-y: scroll;*/
    overflow-x: hidden;
    border-radius: 6px;
    bottom: 5%;
}

#map-title{
    position: absolute;
    width: 400px;
    background: #FFF;
    margin: 2em 38%;
    padding: 8px 5px;
    text-align: center;
    top:1em;
}
#legend-container{
    min-height: 300px;
    height: 250px;
    overflow-y: scroll;
}

#map-export {
    position: absolute;
    top: 1em;
    right: 2em;
}

#map-export.has_transparent{
    right: 7em;
}

.popup-title-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.popup-title-content span{
    font-size: 1.5em;
}

.popup-title-content .close{
    font-size: 1.5em;
}

#btn_filter_container{
    position: absolute;
    z-index: 1;
    top: 6rem;
    width: 50px;
    left: 8px;
}

#btn_filter_container .btn{
    width: 2.5rem !important;
    height: 2.5rem !important;
}

#opacity-container-button{
    position: absolute;
    top: 1em;
    right: 2em;

}
#opacity-container {
    position: absolute;
    top: 5rem;
    right: 2rem;
    background: #FFFFFF;
    padding: 10px;
    border-radius: 10px;
}

#overlay-container{
    position: absolute;
    top: 1rem;
    right: 18rem;
    background: #FFFFFF;
    border-radius: 10px;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .ol-zoom {
        font-size: 17px !important;
    }
    #map-title{
        display: none;
    }
    #map-chart{
        display: none;
    }
    #filter_map{
        display: none;
    }

    #map-legend{
        height: auto;
        width: auto;
    }
    #btn_filter_container{
        top: 8rem;
    }

}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    #map-title{
        display: none;
    }

    #map-legend{
        height: auto;
        width: auto;
    }

    #btn_filter_container {
        top: 7rem;
    }
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    #map-chart{

    }
    #map-legend{
        width: auto;
        height: auto;
    }

    #btn_filter_container .btn{
        width: 2rem !important;
        height: 2rem !important;
    }
}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {

    #map-legend{

        width: auto;
        height: auto;

    }


    #btn_filter_container{
        top: 10rem;
        left: 1em;
    }
    #btn_filter_container .btn{
        width: 3rem !important;
        height: 3rem !important;
    }

    .ol-zoom {
        font-size: 24px !important;
    }
}
