.toggle_map{
    display: flex;
    margin: 15px auto 30px;
    font-family: Source Sans Pro, PT Serif;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 20px;
    /* or 111% */

    text-align: center;
}
.toggle_map>div{
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 15px 20px;
    transition: 0.5s;
    flex-basis: 50%;
    border-radius: 3px;
    background: #FFFFFF;
    cursor:pointer;
}
.toggle_map>.active{
    background: #DCDCDC;
}

.candidate_popup{
    font-family: Source Sans Pro, PT Serif;
    padding: 20px;
    position: absolute;
    /*top: 0;
    bottom: 0;*/
    height: fit-content;
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    display: none;
    flex-direction: column;
    color: #222222;
    font-style: normal;
    font-size: 24px;
    line-height: 30px;
    max-width: 620px;
    margin: auto;
}
.candidate_popup .top{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.candidate_popup .top>div{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.candidate_popup img {
    border-radius: 50%;
    width: 74px;
    height: 74px;
    margin-right: 20px;
    margin-bottom: 12px;
    object-fit: contain;
}

.candidate_popup .name {
    font-weight: bold;
}
.candidate_popup .role {

}
.candidate_popup .candidate_description{
    font-size: 16px;
    line-height: 20px;
}
.candidate_popup .close{
    cursor: pointer;

    position: absolute;
    right: 12px;
    top: 12px;
}

.candidate_popup .close {
    position: absolute;
    width: 15px;
    height: 15px;
    opacity: 0.3;
}
.candidate_popup .close:hover {
    opacity: 1;
}
.candidate_popup .close:before, .candidate_popup .close:after {
    position: absolute;
    left: 6px;
    content: ' ';
    height: 20px;
    width: 2px;
    background-color: #333;
}
.candidate_popup .close:before {
    transform: rotate(45deg);
}
.candidate_popup .close:after {
    transform: rotate(-45deg);
}
.legend{
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    font-family: Source Sans Pro, PT Serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
}
.legend .legend_item{
    display: flex;
    align-content: center;
    margin-right: 30px;
    margin-bottom: 10px;
}
.legend .legend_item p{
    margin: 0;
    font-family: Source Sans Pro, PT Serif;
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
}
.legend .legend_item.navalny{
    display: none;
}
.legend .round{
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 10px;
}
#svg{
    width: 100%;
    margin: auto;
}
