#map_panel {
    display: block;

    background: #ffffff;
    overflow:hidden;

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


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

/* ================== */
/* data_descr */
/* ================== */

#data_descr{
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding-top:20px;

    height:80%;
    width:80%;
    max-width: 400px;
    max-height: 600px;

    font-size:12px;
    background-color: #ffffff;

    border-style: solid;
    border-color: #000000;
    border-width: 2px;
    border-radius: 1%;

    z-index: 99;
}

.data_descr_title {
    display: block;
    margin:auto;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    margin-top: 16px;
    width:80%;

}
.data_descr_content {
    display: block;
    margin:auto;
    text-align: center;
    margin-top: 6px;
    width:80%;
}

#data_descr_txt_content {
    height:fit-content;
    max-height: 90%;
    width:100%;
    overflow-y: auto;
}
#close_data_descr {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translate(-50%, 0);

    display: block;
    margin:auto;
    margin-top: 10px;
    padding:6px;
    padding-top:2px;
    padding-bottom:2px;

    text-align: center;
    font-weight: bold;

    border-style: solid;
    border-color: #000000;
    border-width: 1px;
    border-radius: 4%;

    background-color: #d3d3d3;
    
    cursor: pointer;
}


/* ================== */
/* legend_on_map */
/* ================== */

#legend_on_map {
    z-index:2;
    position:absolute;

    box-shadow: 0 0 0 2px rgba(0,0,0,.1);
    margin: 10px 0 0 10px;

    background: #fff;
    border-radius: 4px;
}

#background_map {
    z-index:2;
    position:absolute;
    right:0px;

    box-shadow: 0 0 0 2px rgba(0,0,0,.1);
    margin: 146px 10px 0 0;

    background: #fff;
    border-radius: 4px;
}

#legend_on_map_toggler {
    display: block;
    width:29px;
    height:29px;
    cursor: pointer;
}

#legend_on_map_block {
    margin-top: 6px;

    width: 266px;
}


#bmap_toggler {
    display: block;
    float:right;

    width:29px;
    height:29px;
    cursor: pointer;
}

#bmap_block {
    margin-top: 6px;

    width: 100%;
    padding: 10px;
}


/* ===== 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);
    }
}