html,
body {
    height: 100%;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background-color: #e6f4ea;
}

.layout {
    display: flex;

}

.layout.rtl {

}
#footer{
    margin-top:0px !important;
}

.sidebar {
    background-color: rgb(0 0 0 / 20%) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    /* flex: 0 0 33.3333%; */
    right: 20px;
    opacity: 0.8;
    z-index: 40;
    width: 400px;
    top: 21px;
    height: 720px;
    border-radius: 20px;
    background-color: #2f9e44;
    padding: 2rem;
    position: absolute;
    box-sizing: border-box;
    color: #ffffff;
}

.ws-label span {
    display: inline-block;
    color: #9E8FA0;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: normal;
    text-align: center;
}

.sidebar h1 {
    font-size: 1.5rem;
    margin: 0 0 1.5rem;
    color: inherit;
}

.sidebar label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: inherit;
}

.sidebar select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #1b5e20;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: #1b4332;
    background-color: #d8f3dc;
}


.commune-filter {
    margin-top: 1.5rem;
}

.commune-filter.hidden {
    display: none;
}

.commune-list {
    max-height: 20rem;
    overflow-y: auto;
    border-radius: 0.75rem;
}

.commune-option {
    font-size: 0.95rem;
}

.commune-option input {
    width: 1rem;
    height: 1rem;
}

.sidebar .btn-group .btn {
    font-weight: 600;
}

.sidebar.rtl .commune-option {
    flex-direction: row-reverse !important;
    text-align: right;
}

.sidebar.rtl .commune-option .form-check-input {
    margin-left: 0.5rem;
    margin-right: 0;
}

.sidebar.rtl .commune-option button {
    order: -1;
    direction: rtl;
}

.sidebar.rtl .commune-option span {
    text-align: right;
}

.sidebar.rtl .commune-list {
    direction: rtl;
}

.sidebar.rtl .btn-group {
    direction: rtl;
    flex-direction: row-reverse;
}

.sidebar.rtl {
    text-align: right;
}

.sidebar.rtl select {
    direction: rtl;
}

.map-wrapper {

    position: relative;
    min-height: 100vh;
    width: 100%;
}

#map {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.leaflet-control-attribution {
    display: none;
}

.leaflet-control-zoom {
    position: fixed !important;
    top: 120px !important;
    left: 20px !important;
    z-index: 1000 !important;
}

.hidden {
    display: none;
}

.maplogo {
    width: 200px;
    display: block;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .maplogo {
        width: 0px;
    }


.sidebar {

    height: 130px;

}
#commune-filter {
    display: none;
}

    .layout,
    .layout.rtl {
        flex-direction: column !important;
        height: 521px;
    }

    .sidebar,
    .map-wrapper {
        max-width: 100% !important;

        flex: 0 0 100% !important;
    }

    .sidebar {
        box-shadow: none;
        border-bottom: 1px solid #e4e6eb;
        border-radius: 0;
        top: 0;
    }




    .map-wrapper {
        min-height: 64vh;
    }
}
