#map_panel {
    display: block;

    background: #ffffff;
    overflow:hidden;

    border-style: solid;
    border-color: #ffffff;
    border-width: 4px;

    grid-column:2/4;
}

#map_container {
    display:block;
    height: 100%;
    width: 100%;
}

#map_header {
    z-index:90;
    position:absolute;
    top: 10px;
    width: 260px;
    max-width: 70%;
    left: 50%; 
    transform: translate(-50%,0);

    padding: 4px;
    padding-left: 12px;
    padding-right: 12px;

    background-color: #fff;

    text-align: center;
    font-size: 14px;

    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(0,0,0,.1);
    margin: auto;
}

#map_legend {
    position: absolute; 
    bottom: 0;
    right: 0;

    padding: 4px;
    padding-left: 10px;
    height: 150px;
    margin-bottom: 10px;
    margin-right: 10px;
    width: 96px;
    background-color: #fff;
    z-index: 4;
    font-size: 12px;

    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(0,0,0,.1);

    border-style: dashed;
    border-width: 4px;
    border-color: blueviolet;
}
.legend_color_key {
    display: inline-block;
    width: 20px;
    height: 8px;
    margin-left: 12px;
    border-width: 1px;
    border-style: solid;
    border-color: #575757
}
.legend-value {
    display:inline-block;
    margin-left: 15px;
}
figcaption::before {
    content: ""; }




/* ===== loader ========== */
#loader_div {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* padding-top:20px; */
    z-index:99;
}

/*styles for loader*/
#loader {
    display: block;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 50%;
    box-sizing: border-box;
    border: 6px solid #ffffff;
    border-top: 6px solid #e15465;
    transition: all .3s ease;
    
    animation: rotate_loader 1s linear infinite;
}

/*animating the loader to rotate*/
@keyframes rotate_loader {
    100% {
        transform: rotate(360deg);
    }
}