@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

:focus:not(:focus-visible) {
    outline: 0;
    box-shadow: none;
}

.maplibregl-popup-close-button {
    display: none !important;
}

.nav-link {
    padding: 0.25rem 0.5rem;
    margin: 0px 2px;
}

body {
    font-size: 0.8rem !important;
}

body,
html {
    margin: 0 0 0 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Barlow", sans-serif;
}

.maplibregl-map {
    font-family: "Barlow", sans-serif !important;
}

div:where(.swal2-container).swal2-top,
div:where(.swal2-container).swal2-center,
div:where(.swal2-container).swal2-bottom {

    z-index: 9999999999999999;
}

.select2-container {
    flex: 1 1 auto !important;
}

.select2-dropdown {

    z-index: 999999999999999999;
}

#map {

    border-top: 2px white solid !important;
    left: 0;
    width: 100%;
    height: 700px;
    border: unset;
    box-shadow: 0 0 11px 6px rgb(0 0 0 / 32%);
}

#map_bureau_vente {
    width: 100%;
    height: 200px;
    border: unset;
    border-radius: 12px;
}

label {

    margin-bottom: 0.05rem !important;
}

.filters {
    position: absolute;
    top: 105px;
    background: rgb(255 255 255);
    padding: 10px;
    border-radius: 16px;
    box-shadow: 0 0 11px 2px rgb(0 0 0 / 42%);
    height: 82px;
    width: 800px;
    left: calc(50% - 400px);
}

label {

    color: gray !important;
    font-size: 0.85rem !important;
    margin-left: 8px !important;
}

.filters-mob {
    position: absolute;
    top: 132px;
    height: 70px;
    width: 200px;
    left: calc(50% - 100px);
    display: none;
}

.footer {
    background: #303e48;
    width: 100%;

}


.filters-title {
    position: absolute;
    top: 66px;
    background: rgb(255 255 255);
    padding: 6px;
    border-radius: 12px 12px 0px 0px;
    box-shadow: 0 -4px 6px 0px rgb(0 0 0 / 42%);
    height: 40px;
    width: 300px;
    left: calc(50% - 150px);
    border-bottom: 1px #85d923d4 dashed;
}

.bg {
    background: url(../img/construction_bg.jpg);
    height: 150px;
    background-repeat: no-repeat;
    background-size: cover;

}

.logo img {
    height: 100px;
    margin: 8px;
    background: #f6f6f6;
    border-radius: 8px;
    padding: 12px;
}

.filter-span {
    font-size: 1.3rem;
    color: #628a1a;
    text-align: center;
    width: 100%;
    display: block;
}

.phone-btn {
    width: 200px;
    height: 40px;
    background: #628a1a;
    position: absolute;
    right: 24px;
    top: 16px;
    border-radius: 30px;
    transition: all 0.5s ease-in-out;
}

.phone-btn:hover {
    transform: scale(1.035);
    background: #87bc23;
}

.phone-btn span {
    color: white;
    font-size: 1.25rem;
    display: block;
    margin: 4px;
    margin-left: 40px;
}


.login-btn {
    width: 200px;
    height: 40px;
    background: #e5702e;
    position: absolute;
    right: 24px;
    top: 60px;
    border-radius: 30px;
    transition: all 0.35s ease-in-out;
}

.login-btn:hover {
    transform: scale(1.035);
    background: #ea8651;
}

.login-btn span {
    color: white;
    font-size: 1.25rem;
    display: block;
    margin: 4px;
    margin-left: 40px;
}


.input-group-text {
    width: 100%;
    font-weight: 500 !important;
}

.profile-btn-dropdown{
    position: absolute;
    width: 200px;
    
    background: #ffffff;
    top: 60px;
    right: 24px;
    border-radius: 8px;
    z-index: 9999;
    transition: all 0.35s ease-in-out;
    opacity: 0;
    pointer-events: none;

}

.profile-btn-dropdown.active{
    
    pointer-events: all;
    top: 108px;
    opacity: 1;
}

.profile-btn {
    width: 200px;
    height: 40px;
    background: #e5702e;
    position: absolute;
    right: 24px;
    top: 60px;
    border-radius: 30px;
    transition: all 0.35s ease-in-out;
}

.profile-btn:hover {
    transform: scale(1.035);
    background: #ea8651;
    cursor: pointer;
}

.profile-btn span {
    color: white;
    font-size: 0.85rem;
    display: block;
    margin: 4px;
    margin-left: 40px;
}

.logout-btn {
    width: 200px;
    height: 40px;
    background: #ff3131;
    position: absolute;
    right: 24px;
    top: 60px;
    border-radius: 30px;
    transition: all 0.35s ease-in-out;
}

.logout-btn:hover {
    transform: scale(1.035);
    background: #ff3131;
    cursor: pointer;
}

.logout-btn span {
    color: white;
    font-size: 0.95rem;
    display: block;
    margin: 4px;
    margin-left: 40px;
}

.searchResults_sidebar {
    width: 330px;
    pointer-events: none;
    background-color: whitesmoke;
    border-radius: 12px;
    box-shadow: 0 0 11px 9px rgb(0 0 0 / 36%);
    right: -100px;
    top: 50px;
    position: absolute;
    z-index: 99999;
    border: 1px gray solid;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    height: calc(100% - 200px);


}

.searchResults_sidebar.active {
    right: 20px;
    opacity: 1;
    pointer-events: all;
}


.searchResults_sidebar .close {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 0px;
    border: 1px #ff7878 solid;
    border-radius: 50%;
    display: flex;
    margin: 8px;
    background: #f3f3f3;
    color: red;

}

.searchResultRow {
    transition: all 0.3s ease-in-out;
    border-radius: 8px;

}

.searchResultRow.libre {

    background: #7daf212e;
}

.searchResultRow.reserve {

    background: #e5702e2e;
}

.searchResultRow.vendu {

    background: #ff33332e;
}

.searchResultRow.en_cours_reservation {

    background: #f0e1242e;
}


.searchResultRow:hover {
    background: #d1d1d1;
    cursor: pointer;
}

.searchResultList {

    list-style: none;
    padding: 8px;
    height: calc(100% - 80px);
    overflow-y: auto;
}

.lot_sidebar {
    width: 330px;
    pointer-events: none;
    background-color: whitesmoke;
    border-radius: 12px;
    box-shadow: 0 0 11px 9px rgb(0 0 0 / 36%);
    right: -100px;
    top: 50px;
    position: absolute;
    z-index: 99999;
    border: 1px gray solid;
    transition: all 0.5s ease-in-out;
    opacity: 0;

}

.lot_sidebar.active {
    right: 20px;
    opacity: 1;
    pointer-events: all;
}

.lot_sidebar .close {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 0px;
    border: 1px #ff7878 solid;
    border-radius: 50%;
    display: flex;
    margin: 8px;
    background: #f3f3f3;
    color: red;

}

.lot_etat_badg {
    background: #919191;
    position: absolute;
    left: 0px;
    top: 16px;
    width: 250px;
    height: 40px;
    border-radius: 0px 8px 8px 0px;
}

.lot_etat_badg span {
    height: 100%;
    display: block;
    line-height: 40px;
    margin-left: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.lot_etat_badg.libre {
    background: #7daf21;
}

.lot_etat_badg.reserve {
    background: #e5702e;
}

.lot_etat_badg.vendu {

    background: #ff3333;
}

.lot_etat_badg.en_cours_reservation {
    background: #f0e124;
}

.lot-span-property {
    font-size: 0.9rem;
    color: #303e48;
}

.lot-span-value {
    font-size: 0.9rem;
    color: #628a1a;
    font-weight: 500;
}

.lot-span-unite {
    font-size: 0.9rem;
    color: gray;
}

.lot-span-num {
    font-size: 0.9rem;
    color: #5a7e1b;
    width: 100%;
    display: block;

    border-bottom: 1px #d1d1d1 dashed;
    text-align: center;

}

.lot_etat_badg.en_cours_reservation span {

    color: #444444 !important;
}

.lot_etat_badg.reserve span {

    color: #444444 !important;
}

.lot_etat_badg.libre span {

    color: #ffffff !important;
}

.slider.slider-horizontal {
    width: 120px !important;

}

@media (min-width: 1200px) {
    .modal-xl {
        max-width: 90% !important;
    }
}

.slider-handle {

    background-color: #628a1a !important;
    background-image: unset !important;
}

.select2-container--open .select2-dropdown {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.3s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #628a1a !important;

    color: #ffffff !important;

}

.google_map_btn_container {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 9999;
}

.projet-description-container {
    position: absolute;
    bottom: -80px;
    left: 20%;
    width: 60%;
    z-index: 9999;
    background: white;
    padding: 8px;
    border-radius: 8px;
    border: 1px gray solid;
    opacity: 0;
    transition: all 1s ease-in-out;
}


.projet-description-container-desc {
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    display: block;
    height: 40px;
    overflow-y: clip;
    transition: all 0.5s ease-in-out;
    overflow-y: auto;
}

.projet-description-container.active {
    /* opacity: 1;
    bottom: 16px; */
}

.projet-description-container-desc.active {
    /* -webkit-mask-image: unset;
    mask-image: unset;
    height: 200px; */

}


.google_map_btn {
    margin: 8px;
    width: 60px;
    height: 60px;
    background-size: contain;
    border: 2px white solid;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    opacity: 0.75;
    box-shadow: 0 -4px 6px 0px rgb(0 0 0 / 42%);

}

.google_map_btn.active {
    border: 2px #c5fe5e solid !important;
    opacity: 1;
}


.google_map_btn:hover {
    opacity: 1;
    cursor: pointer;
    scale: 1.1;
}

.google_map_btn_title {
    display: block;
    margin-left: 70px;
    width: 200px;
    font-size: 1rem;
    margin-top: 15px;
    font-weight: 600;
    color: white;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50);
}

.google_map_btn:hover .google_map_btn_title {
    opacity: 1 !important;
    transform: translateX(0);
}


@media screen and (max-width: 800px) {

    .projet-description-container {
        left: 5% !important;
        width: 90% !important;
    }

    .filters {
        display: none !important;
    }

    .filters-title {
        display: none !important;
    }

    .filters-mob {
        display: block !important;
    }

}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: #495057;
    background-color: #dbf8dc !important;
    border-color: #dee2e6 #dee2e6 #fff;
    font-weight: 600 !important;
}

table.dataTable>thead>tr>th,
table.dataTable>thead>tr>td {
    padding: 6px;
    font-size: 0.85rem;
    background: #4a4a4a;
    color: white;
    font-weight: 400;
}

table.dataTable.row-border>tbody>tr>*,
table.dataTable.display>tbody>tr>* {

    font-size: 0.8rem;
}

.pagination {

    float: right;
    margin-top: 8px;
}

a {
    text-decoration: unset !important;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff !important;
    background-color: #303e48;
    border-color: #303e48;
}

.btn-success {
    color: #fff;
    background-color: #185933 !important;
    border-color: #185933 !important;
}

.box-body {
    padding: 1.2rem;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.projet-img {
    height: 65px;
    margin-top: 4px;
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

.projet-img:hover {
    opacity: 0.8;
    cursor: pointer;
}