html,
body,
#map {
    width: 100vw;
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
}

.leaflet-container {
    line-height: normal;
}

body {
    padding: 0;
    margin: 0;
    background-color: #ddd;
}

html,
body,
#loader-container,
#map {
    height: 100dvh;
}

.leaflet-control-attribution {
    text-align: right;
}

#loader-container {
    width: 100vw;
    display: flex;
    position: absolute;
    z-index: 3000;
    background-color: rgba(255, 255, 255, 0.8);
}

#loader {
    border-radius: 30%;
    height: 100px;
    width: 100px;
    margin: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(/images/logo.png);
}

.disclaimer,
.rotate-screen {
    display: none;
    width: 100%;
    height: 100dvh;
    position: absolute;
    z-index: 3001;
    background-color: rgba(0, 0, 0, .6);
}

.rotate-screen {
    display: flex;
    backdrop-filter: blur(10px);
}

.rotate-screen-content {
    background-color: white;
    max-width: 300px;
    margin: auto;
    text-align: center;
    border-radius: 10px;
    padding: 10px;
}

.rotate-screen-content .image-container {
    margin: auto;
}

.disclaimer-content {
    width: 100%;
    background-color: white;
}

.disclaimer p {
    height: 100%;
    margin: 0;
    padding: 10px 10px 10px 50px;
}

.disclaimer .close {
    font-size: 1.5rem;
    position: absolute;
    top: 10px;
    left: 15px;
}

.disclaimer .close:hover,
.disclaimer .close:focus {
    text-decoration: none;
    cursor: pointer;
}

.image-container {
    width: 100px;
    height: 100px;
}

.logo-container {
    width: 50px;
    height: 50px;
}

.image-container img,
.logo-container img {
    max-width: 100%;
    max-height: 100%;
}

.leaflet-popup-content p {
    margin: 0.5em 0;
}

.leaflet-popup-content {
    min-width: 200px;
    word-wrap: break-word;
}

.popup-title {
    font-weight: bold;
}

.selected-zone-info-container {
    position: absolute;
    bottom: 40px;
    z-index: 800;
    width: 100%;
}

.selected-zone-info {
    text-align: center;
    max-width: 280px;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    margin: auto;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
}

.cursor {
    cursor: pointer;
}

.legend {
    font-size: 0.85rem;
}

.legend:not(.leaflet-control-layers-expanded) {
    background-clip: padding-box;
}

.legend:not(.leaflet-control-layers-expanded):hover {
    background-color: #f4f4f4;
}

.legend .leaflet-panel-layers-list {
    margin-top: 0.5em;
}

.legend .leaflet-panel-layers-item {
    display: flex;
    margin-bottom: 0;
    border: none;
    cursor: default !important;
}

.legend.leaflet-control-layers-expanded label.leaflet-panel-layers-title {
    font-weight: bold;
}

.legend .leaflet-panel-layers-item .leaflet-panel-layers-title {
    cursor: default;
}

.legend .leaflet-panel-layers-legend-icon {
    width: 35px;
    margin-right: 10px;
}

.legend .leaflet-panel-layers-legend-icon img {
    max-width: 100%;
    max-height: 100%;
}

@media only screen and (min-width: 700px) {
    .selected-zone-info {
        max-width: 500px;
    }
}