.row.map-section {
    padding-top: 0;
}

.map-container {
    position: relative;
}

.map-container .members-map {
    height: 600px;
    border-radius: 25px;
}

.map-container .map-loader {
    position: absolute;
    opacity: 0;
    inset: 0;
    pointer-events: none;
    margin: auto;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background: #e9e9e9;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Loader ring */
.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #0f6fb7 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Marker info window content */
.marker-content {
    padding: 20px 10px;
}

.marker-content p.bold {
    font-weight: 900;
}

.marker-content p.thin {
    font-weight: 100;
}

/* Select 2 custom styles */
.select2 .select2-selection {
    cursor: pointer !important;
}

.select2-selection__choice {
    margin-top: 0px !important;
    border-radius: 5px !important;
    background-color: white !important;
    padding: 5px 8px !important;
    color: #0f6fb7 !important;
    border: 1px solid #ddd !important;
    margin: 2px 0 !important;
}

.select2-selection__choice .select2-selection__choice__remove {
    position: relative !important;
}

.select2-selection__choice__remove {
    border: none !important;
    border-radius: 0 !important;
    padding: 0 2px !important;
}

.select2-selection__choice__remove:hover {
    background-color: transparent !important;
    color: #ef5454 !important;
}

.select2-container .select2-search--inline .select2-search__field {
    border-radius: 0 !important;
    height: 25px !important;
    cursor: pointer !important;
    width: 100% !important;
}

body
    .query-container
    .filter-container
    .select2-selection.select2-selection--multiple.select2-selection--clearable {
    border: 1px solid #0f6fb7 !important;
}

/* Search input */
.members-search-input {
    padding-left: 25px !important;
}

.members-search-input.filled {
    border: 1px solid #0f6fb7 !important;
}

/* Multiple choice custom styles */
.select2-results__options {
    max-height: 300px !important;
}

.select2-selection__rendered {
    max-width: 100%;
    display: none !important;
}

.select2-selection--multiple.select2-selection--clearable
    .select2-selection__rendered {
    width: 100%;
    min-width: 100%;
    padding-right: 15px !important;
}

li.select2-selection__choice {
    width: 100%;
    max-width: 100% !important;
    overflow: hidden !important;
}

.select2-results__option.select2-results__option--selected {
    background-color: black !important;
    color: white !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__clear {
    right: 10px !important;
    margin: 0 !important;
    top: 7px !important;
}

.select2 textarea::placeholder {
    font-family: Montserrat !important;
}

/* Query - filtering - searching container */
.query-container {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    margin-bottom: 50px;
}

.query-container .filter-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    column-gap: 20px;
    width: 100%;
}

.query-container .selectbox {
    width: 25%;
}

.query-container .selectbox .select2 {
    width: 100%;
    min-width: 100%;
    padding: 0;
}

.query-container .selectbox .select2-selection {
    border: 1px solid #e9e9e9 !important;
    border-radius: 10px;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 10px 20px;
}

.query-container .selectbox .select2-selection .select2-search__field {
    margin: 0;
    margin-left: 3px;
}

/* Query container - buttons container */
.query-container .buttons-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 35px;
}

/* MAP MARKER */
.marker-content p {
    margin-bottom: 5px !important;
}

.marker-content a {
    font-weight: 900;
    color: #0f6fb7;
}

@media only screen and (max-width: 992px) {
    .query-container .filter-container {
        flex-wrap: wrap;
        row-gap: 20px;
    }

    .query-container .selectbox {
        width: calc(50% - 10px);
    }
}

@media only screen and (max-width: 992px) {
    .query-container .selectbox {
        width: calc(100%);
    }

    .query-container .buttons-container {
        flex-direction: column;
        row-gap: 20px;
    }

    .map-container .members-map {
        height: 400px !important;
    }
}






/* @media only screen and (max-width: 767px) {
    .e-filters__filter-dropdown {
        position: relative;
        border: none;
        border-radius: 0;
        max-height: 200px;
        overflow-y: auto;
    }
} */



/* NEW MAP STYLE */
.e-filters__filter {
    position: relative;
}


/* Dropdown */
.e-filters__filter-dropdown {
    background: white;
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 999;
    width: 100%;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    padding: 16px;
    max-height: 250px;
    overflow-y: auto;
}

.e-filters__filter-dropdown.hide {
    display: none;
}



.e-filters__title {
    user-select: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px;
    background-color: white;
    padding: 8px 16px;
    color: rgba(132, 132, 132, 0.6);
    border: 1px solid #e9e9e9;
    margin-bottom: 6px;
}


.e-filters__filter:has(input:checked) .e-filters__title{
    color: #FFF;
    background-color: #0f6fb7;
}










.e-filters__clear {
    display: none;
}

.e-filters__clear img{
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.e-filters__clear:hover {
    opacity: 0.5;
}

.e-filters__filter:has(input:checked) .e-filters__clear {
    display: flex;
}







/* Custom checked input */
.form-check-input {
    width: 1.375em;
    min-width: 1.375em;
    max-width: 1.375em;
    height: 1.375em;
    min-height: 1.375em;
    max-height: 1.375em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #878786;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    margin-right: 6px;
}

.form-check-input:checked {
    background-color: #0f6fb7;
    border-color: #0f6fb7;
}

.form-check-input:checked {
    background-size: .875rem auto;
}

.form-check-input:checked[type=checkbox] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
  }