html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 100;
}

.leaflet-popup-content {
    font-size: 1.5em; /* Adjust as needed */
}

.hidden,
[hidden] {
    display: none !important;
}

.visually-hidden {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    white-space: inherit;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix::before,
.clearfix::after {
    content: "";
    display: table;
}

.clearfix::after {
    clear: both;
}

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

@media print {
    *,
    *::before,
    *::after {
        background: #fff !important;
        color: #000 !important;
        /* Black prints faster */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

.popup {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.popup .header {
    font-weight: bold;
    text-transform: uppercase;
}

.popup .subheader {

}

.popup .body {
}

.popup .body > * {
    margin: 0;
    padding: 0;
}

.popup .body ul {
    padding-left: 1rem;
}

.ass {
    flex: none;
    width: 16px;
    height: 16px;
    border: 1px solid black;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: initial;
}

.association .body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
}

.association .body > div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 1rem;
}

.association .body .square {
    display: flex;
    justify-content: center;
    align-items: center;
}

.association .body .name {
}

/* Custom dropdown control styles */
.leaflet-control-dropdown {
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.4);
}

.leaflet-control-dropdown-button {
    width: 30px;
    height: 30px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    position: relative;
}

.leaflet-control-dropdown-button:hover {
    background: #f4f4f4;
}

.leaflet-control-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    min-width: 150px;
    z-index: 1000;
    display: none;
}

.leaflet-control-dropdown-menu.show {
    display: block;
}

.leaflet-control-dropdown-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #333;
}

.leaflet-control-dropdown-item:last-child {
    border-bottom: none;
}

.leaflet-control-dropdown-item:hover {
    background: #f0f0f0;
}

.leaflet-control-dropdown-item.disabled {
    color: #999;
    cursor: not-allowed;
}

.leaflet-control-dropdown-item.disabled:hover {
    background: white;
}

#filters {
    font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-size: 12px;
    z-index: 200;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    display: none;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}

#filters-inner {
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border: 1px solid #BFC0C2 !important;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

#filters-close-row {
    position: relative;
    align-self: end;
}

#filters-close-button {
    cursor: pointer;
    color: #6C7073;
}

#filters-associations-row {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

#filters-associations-row a {
    text-decoration: none;
    color: inherit;
}

#filters-associations-container {
    margin-top: .5rem;
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    align-items: flex-start;
}

.leaflet-popup-content-wrapper {
    box-shadow: none !important;
    border-radius: 0 !important;
}

.leaflet-popup-content {
    padding: 1rem !important;
    margin: 0.5rem !important;
    border: 1px solid #BFC0C2 !important;
}

.leaflet-popup-close-button {
    right: 1rem !important;
    top: 1rem !important;
}

.tooltip {
    border-radius: 0 !important;
}