body,
html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

.leaflet-popup {
    z-index: 200;
}



.b-img{
    width: 100%;
    border-radius: 5px;
    margin-top: 5px;
    height: 300px;
}

#bgpicturediv{
    border-radius: 12px;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 400px;
    width: 700px;
    background-size: cover;
    background-repeat: no-repeat;
}

.specs{
    color: white;
    display: none;
}
.colleges{
    color: white;
    display: none;
}

#map {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
}
input[type="checkbox"] {
  pointer-events: none; /* Блокируем клики на чекбокс */
}

#toggle-button {
    position: fixed;
    right: 30px;
    top: 20px;
    z-index: 1;
    padding: 15px 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    opacity: 1;
}

#toggle-button.hidden{
    opacity: 0;
}


#types_search.hidden{
    display: inline-block;
}


#types_search.hidden{
    display: none;
}

.type_search:hover{
    cursor: pointer;
}

#back-button {
    position: fixed;
    right: 30px;
    top: 20px;
    z-index: 5;
    padding: 15px 15px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0;
    transform: translateX(580px);
    transition: opacity 0.5s ease, transform 1s ease;
}

#back-button.visible{
    opacity: 1;
    transform: translateX(0);
}

.harki{
    margin: 10%;
    margin-bottom: 0;
}



.leaflet-bottom .leaflet-right{
    font.color: white;
}

.popupp{
    margin: 0px;
    padding: 0px;
}

.leaflet-control-attribution {
    font-size: 7pt;
}

#legend{
    left: 20px;
    bottom: 20px;
    background-color: rgba(255,255,255,0.8);
    border-radius: 10px;
    position: fixed;
    overflow-y: auto;
    z-index: 1;
}


.sublegend{
    margin: 10px;
    display: flex;
    align-items: center;
}


.sublegend img{
    margin-right: 5px;
}


.buildings_button:hover{
    cursor: pointer;
}