.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    color: #fff;
    margin-top: 2px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
}
#filter_form select{
    width:200px;
}
#map-bloc{
    margin-top:21px
}
.filter-bar {
    box-shadow: 0px 0px 10px 2px rgb(0 0 0 / 7%);
    margin-bottom:15px;
}

#map {
    height: 303px;
    border-radius: 20px;
}

.btn-map {
    bottom: 20px;
    /* right: 12px; */
    z-index: 999;
    width: 100%;
}

.btn-map button {
    background-color: #fff;
    border-radius: 20px;

}

.btn-map > span {
    background-color: #fff;
    border-radius: 12px;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.card-map,.bloc-bien {
    border: 1px solid #F0F0F0; 
    border-radius: 20px;
}

.map-icon {
    line-height: 1 !important
}

.map-icon.active {
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.07) !important;
    border-radius: 10px;
    color: var(--primary) !important;
}

.result {
    line-height: 19px;
}

.price {
    color: #001514;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal; 
}
#map span.map-label{
    font-family: "Almarai", sans-serif !important;
}

.description {
    font-size: 18px;
    line-height: 18px;
}

.more-info ul li::marker {
    color: var(--primary);
}

.address {
    font-size: 16px;
    line-height: normal;
}

.bloc-bien {
    height: 350px;

}

.bloc-bien img {
    /* object-fit: cover;
            height: auto;
            max-width: 100%;
            max-height: 100%; */
    object-fit: cover;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
}

.bottom-5 {
    bottom: 5px
}

.pagination {
    background: rgba(255, 255, 255, 0.61);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    width: fit-content;
    margin: 50px auto;
}

.pagination .page-item {
    padding: 2px 7px;
    border-right: solid 1px var(--gray-01);
}

.pagination .page-item:last-child {
    border-right: none;
}

.pagination .active {
    color: var(--dark) !important;
}

.title {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    text-align: center;

    color: #001514;

}

.select2-container .selection {
    height: 50px !important;
}

@media(max-width: 1000px) {
    .bloc-bien {
        height: auto
    }

    .bloc-bien .bottom-5 {
        position: relative !important;
        bottom: unset
    }
}

@media(max-width: 992px) {
    .filter-bar {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .results,
    .filters,
    .change-view {
        margin-top: 10px
    }
}

.list-lg {
    overflow-y: scroll;
    height: 100vh;

    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.list-lg::-webkit-scrollbar {
    display: none;
}


.leaflet-mouse-marker {
    background: var(--primary);
    border-radius: 50%;
    width: 24px !important;
    height: 24px !important;
}

.leaflet-popup-content {
    height: 94px;
    display: flex;
    justify-items: center;
    /* justify-content: space-between; */
    width: 250px !important;
    margin: 10px;
}

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

.hide {
    display: none
}

.h-100vh {
    height: 100vh !important;
}

.map-lg {
    box-shadow: none;
    border-radius: 0;
    padding: 0 !important;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0px;
    right: 0px;

}

#map_lg {
    z-index: 3;
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 0px;
    border-width: 0px;
    margin: 0px;
    left: 0px;
    top: 0px;
    touch-action: pan-x pan-y;
}

.map-container {
    position: relative;
    height: 100%;
    overflow: hidden;
}

#list-bloc {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;

}

.map_bloc {
    height: 100vh;

}

.label-container {
    position: relative;
    padding-left: 28px;
    width:100%;
}

.type-properties-ar .label-container {
    padding-left: unset !important;
    padding-right: 28px;
}

.checkbox_input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 1px solid #646464;
    border-radius: 5px;
}
.type-properties-ar .checkmark {
    left: unset !important;
    right: 0;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.label-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 6px;
    height: 12px;
    border: solid #646464;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.label-container input:checked~.checkmark:after {
    display: block;
}

#amount,
#superficie {
    border: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    color: #646464;
    margin: 10px 0;
    text-align: right;
}

#slider-range.ui-slider>span.ui-slider-handle::after {
    position: absolute;
    content: 'Min';
    top: 0;
    padding-top: 10px;
    color: #bdc3c3;
    font-weight: 400;
    font-size: 15px;
    color: var(--primary);
    font-family: "Almarai", sans-serif;
    text-align: center;
    right: -28px;
}

#slider-range.ui-slider>span.ui-slider-handle~span.ui-slider-handle::after {
    position: absolute;
    font-family: "Almarai", sans-serif;
    content: 'Max';
    top: 0;
    padding-top: 10px;
    color: #bdc3c3;
    font-weight: 400;
    font-size: 15px;
    color: var(--primary);
    text-align: center;
    right: -15px;
}
#slider-range.ui-slider.langRangar>span.ui-slider-handle::after {
    content: 'الأدنى' !important;
}

#slider-range.ui-slider.langRangar>span.ui-slider-handle~span.ui-slider-handle::after {
    content: 'الأقصى' !important;
}

.ui-slider-handle.equal::after {
    display: none
}

.photon-input {
    width: 100%;
    border: none !important;
    outline: none !important;
    font-weight: 500;
}

ul.photon-autocomplete {
    padding-left: 0;
    z-index: 100000 !important;
}

.form-control:has(.photon-input:focus) {
    border-color: #3c8dbc;
    box-shadow: none;
}

.photon-input:focus {
    width: 100%;
}

.photon-autocomplete li {
    padding: 12px 10px 15px 10px !important;
    position: relative;
}

.photon-autocomplete li strong {
    margin-bottom: 5px;
}

.photon-autocomplete li.on {
    background-color: #3b857a;
    color: #fff;
}

.photon-autocomplete li .type {
    position: absolute;
    bottom: 5px;
    right: 5px;
}


.select2-selection {
    height: fit-content;
    max-height: fit-content !important;
    border-radius: 10px !important;
    min-height: 41px;
}

.select2-selection__placeholder {
    color: #646464 !important;
}

.select2-selection__rendered {
    padding-top: 5px !important;

}

.select2-selection__arrow {
    display: none !important;
}

.select2-search__field {
    margin-top: 0px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered{
    padding: 5px 15px 0px 15px!important;
}
.select2-search__field, .select2-search.select2-search--inline{
    width:100% !important;
}
.equipement-select-ar .select2-container--default .select2-selection--multiple .select2-selection__choice{
    float: right !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
    color:var(--dark) !important;
}
.equipement-select-ar .select2-search__field,#AR .select2-results__options{
    text-align: right;
}

.toggle-checkbox {
    position: relative;
    width: 35px;
    height: 15px;
    background-color: #EEE;
    border-radius: 13px;
    cursor: pointer;
}

.toggle-checkbox .slider {
    position: absolute;
    top: 2px;
    left: 12px;
    right: 2px;
    bottom: 2px;
    background-color: #EEE;
    border-radius: 13px;
    transition: .4s;
}

.toggle-checkbox .slider:before {
    position: absolute;
    content: '';
    height: 22px;
    width: 22px;
    left: -12px;
    bottom: -5px;
    background-color: #f40000;
    border-radius: 50%;
    transition: .4s;
}

.toggle-checkbox input {
    display: none;
}

.toggle-checkbox input:checked+.slider {
    background-color: #EEE;
}

.toggle-checkbox input:checked+.slider:before {
    transform: translateX(22px);
}

.toggle-checkbox {
    display: flex;
    align-items: center;
}

.toggle-checkbox p {
    margin-right: 25px;
}

#checkboxDiv {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center;
}

.second.toggle {
    width: 170px;
    margin: 0 auto;
    text-align: center;
}

#checkboxDiv {
    align-items: center;
}

.labelWidth {
    color: #999;
}