.modal-lightbox-elefen {
    display: block; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 99999; /* Sit on top */
    left: 0;
    top: 0;
    width: 100vw; /* Full width */
    height: 100vh; /* Full height */
    overflow: hidden; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.75); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-lightbox-elefen-content {
    width: 100vw;
    height: 100vh;
}

.modal-lightbox-elefen-content .modal-lightbox-elefen-image{
    display:block;
    width: 80vw;
    height: 80vh;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition:opacity 2s ease;*
-webkit-transition: opacity 2s  ease;
    -moz-transition: opacity 2s  ease;
    -o-transition: opacity 2s  ease;
    position:absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.modal-lightbox-elefen-content .modal-lightbox-elefen-image.current_image{
    opacity: 1;
    z-index: 9999999;
}

.modal-lightbox-elefen-content .wrap-pagination-arrows{
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.modal-lightbox-elefen-content .wrap-pagination-arrows .arrow::after {
    opacity:1;
}

.modal-lightbox-elefen-content .wrap-pagination-arrows .next-arrow-lightbox::after,
.modal-lightbox-elefen-content .wrap-pagination-arrows .prev-arrow-lightbox::after{
    background-image: url('/wp-content/themes/grouperobin/assets/img/cta_vert.svg')!important;
}

.modal-lightbox-elefen-content .wrap-pagination-arrows .next-arrow-lightbox,
.modal-lightbox-elefen-content .wrap-pagination-arrows .prev-arrow-lightbox {
    cursor: pointer;
    display: inline-block;
}

.modal-lightbox-elefen-content .wrap-pagination-arrows .prev-arrow-lightbox::after {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    margin-left: 0;
    margin-right: 20px;
}

.modal-lightbox-elefen-content .wrap-pagination-arrows .next-arrow-lightbox:hover::after{
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
    opacity:1;
}

.modal-lightbox-elefen-content .wrap-pagination-arrows .prev-arrow-lightbox:hover::after{
    -webkit-transform: scaleX(-1) translateX(10px);
    transform: scaleX(-1) translateX(10px);
    opacity:1;
}

.modal-lightbox-elefen-content .wrap-pagination-arrows .next-arrow-lightbox::after, .modal-lightbox-elefen-content .wrap-pagination-arrows .prev-arrow-lightbox::after {
    content: "";
    background-size: cover;
    background-position: center center;
    width: clamp(30px, 6vw, 42px);
    height: 16px;
    display: inline-block;
    /* margin-left: 20px; */
    transition: 0.25s all;
    opacity: 0.3;
}

.modal-lightbox-elefen-content .close {
    color: #5bdc86;
    float: right;
    font-size: 28px;
    font-weight: bold;
    opacity:0.6;
    cursor:pointer;
    transition:opacity 2s ease;*
-webkit-transition: opacity 2s  ease;
    -moz-transition: opacity 2s  ease;
    -o-transition: opacity 2s  ease;
}

.modal-lightbox-elefen-content .close:hover,
.modal-lightbox-elefen-content .close:focus {
    text-decoration: none;
    cursor: pointer;
    opacity:1;
}

/*FILTRE*/
.appartement_filtre_ctn .count{
    display:none;
}

.appartement_filtre_ctn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.appartement_filtre_haut {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom:12px;
}

.appartement_filtre_haut p {
    font-size: clamp(16px, 3.35vw, 32px);
    margin-top: 12px;
    margin-bottom: 5px;
    color: #8f9193;
}

.appartement_filtre_bas{
    margin-top:12px !important;
}

.appartement_filtre_grandeur_ctn,
.appartement_filtre_grandeurpi2_ctn,
.appartement_filtre_prix_ctn,
.appartement_filtre_disponibilite_ctn,
.appartement_filtre_categorie_ctn,
.appartement_filtre_secteur_ctn,
.appartement_filtre_inclusion_ctn {
    width: 47%;
    display: flex;
    flex-direction: column;
    border-top: 0px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5!important;
    margin-bottom: 0px;
    margin-top: 0px;
}
.appartement_filtre_ctn > div:nth-child(2), .appartement_filtre_ctn > div:nth-child(3){
    border-top: 1px solid #d5d5d5;
}

.appartement_filtre_secteur_ctn,
.appartement_filtre_inclusion_ctn {
    border-bottom: 1px solid #d5d5d5!important;
}

.appartement_filtre_ctn input[type="checkbox"] {
    appearance: none;
    background-color: #fff;
    font: inherit;
    color: currentColor;
    width: 1em;
    height: 1em;
    border: 0.10em solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 25px 0 0;
}

.appartement_filtre_ctn input[type="checkbox"]::before {
    content: "";
    width: 1em;
    height: 1em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    transform-origin: bottom left;
    clip-path: polygon(38% 83%, 91% 0, 100% 0, 43% 100%, 29% 96%, 20% 81%, 10% 58%, 20% 52%);
    background-color: CanvasText;
}

.appartement_filtre_ctn select{
    width: 100%;
    padding: 12px 22px;
    max-width: 100%;
    border-radius: 0px!important;
    border: solid 2px black;
    font-family: "Whyte";
    font-weight: 300;
    font-size: clamp(16px, 1.35vw, 22px);
    margin-top:12px;
}

.appartement_filtre_ctn input[type="checkbox"]:checked::before {
    transform: scale(1);
}

.appartement_filtre_ctn .accordion_content > div {
    display: flex;
}

.appartement_filtre_ctn .accordion_content > div:first-child {
    display: flex;
    margin: 0 0 16px;
}

.appartement_filtre_ctn .accordion_content > div {
    display: flex;
    margin: 10px 0;
    align-items: center;
}

/* Liste appartement */

.immeuble_resumer_ctn{
    margin-top:24px !important;
    background-color:var(--darkcolor01);
    display:flex;
    padding:18px;
    gap: 28px;
    min-height: 335px;
    position:relative;
}

.section-immeubles_ctn .error{
    margin-top:24px;
    background-color:var(--darkcolor01);
    padding:18px;
    color:var(--lightcolor01);
}

.immeuble_resumer_ctn .close-modal {
    position: absolute;
    right: 18px;
    top: 6px;
    color: white;
    padding: 0px;
    cursor: pointer;
    display:none;
    z-index:999999;
}

#modal_ctn .immeuble_resumer_ctn .close-modal {
    display:block;
}

.immeuble_resumer_ctn .close-modal img {
    width: 20px;
    cursor:pointer;
}

.immeuble_resumer_ctn * {
    color:var(--lightcolor01);
}

.immeuble_resumer_ctn .immeuble_resumer_img {
    width: 28%;
    min-width: 230px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    height: 300px;
    justify-content: center;
    align-items: flex-end;
}

.immeuble_resumer_ctn .immeuble_resumer_img span {
    background-color: var(--color01);
    color: black;
    display: block;
    width: 100%;
    text-align: center;
}

span.app-resumer-disponibilites .app-resumer-disponibilites {
    background-color: var(--color03);
    padding: 2px 15px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 400;
    color: black;
}

span.app-resumer-disponibilites .app-resumer-disponibilites.now {
    background-color: var(--color01);
}

span.app-resumer-disponibilites .app-resumer-disponibilites.indispo {
    background-color: var(--lightcolor02);
}


.app-resumer-line > div > .app-resumer-disponibilites {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.map_legende {
    display: flex;
    align-items: center;
    gap: 10px;
}

.map_legende .app-resumer-disponibilites {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.app-resumer-line > div {
    width: 55%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.app-resumer-line > div > div span.app-resumer-grandeur {
    font-weight: 500!important;
}

.app-resumer-line > div > div span:is(.app-resumer-grandeur, .app-resumer-price-text) {
    font-size: clamp(18px, 1.66vw, 22px);
    font-weight: 100;
}

.app-resumer-price {
    color: var(--color01);
    font-weight: 300;
}

.immeuble_resumer_adresse {
    border-bottom: 1px solid white;
    display: inline-block;
    width: 55%;
    margin-bottom: 17px;
    line-height: 110%;
    padding-bottom: 20px!important;
    font-weight: 200;
}

.app-resumer-line {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 17px;
}

.immeuble_resumer_content_ctn {
    width: 72%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.list-appartements .first-span-hero .text_block h1 > span:first-child {
    margin-left: 0;
}

.list-appartements .global-header-section .row h1 {
    font-size: clamp(35px, 10vw, 85px);
    line-height: 1;
}

.immeuble_resumer_content_ctn_top .h2 {
    margin-bottom: 8px;
}

.app-resumer-inclusions {
    width: 45%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(2px, 17px, 17px);
}

.app-resumer-inclusions span {
    opacity: 0.2;
    position: relative;

}

.app-resumer-inclusions span.inclus {
    opacity: 1;
}

.app-resumer-inclusions span.app-resumer-inclusion img {
    max-width: 31px !important;
}

.immeuble_resumer_content_links .link-arrow-right:after {
    background-image: url("/wp-content/uploads/2022/08/cta_white.svg");
}

:is(.list-appartements, .liste_liste) .paging-content{
    margin-top:20px;
}

.immeuble_resumer_content_links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.immeuble_resumer_content_links a {
    margin-left: 10px;
    margin-bottom: 10px;
}

span[data-nameinclusion]::after {
    position: absolute;
    font-size: 12px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    bottom: -15px;
    opacity: 0;
    transition: 0.5s all ease-in-out;
}

span[data-nameinclusion]:hover::after {
    opacity: 1;
}

span[data-nameinclusion]::after {
    content: attr(data-nameinclusion);

}

.section .accordion-theme-light .accordions_list.switch_listing .switch_listing_liste:before {
    background-image: url('/wp-content/uploads/2022/08/liste-inactif.svg');
}

.section .accordion-theme-light .accordions_list.switch_listing .switch_listing_liste[aria-expanded="true"]:before {
    background-image: url('/wp-content/uploads/2022/08/liste-actif.svg');
}

.section .accordion-theme-light .accordions_list.switch_listing .switch_listing_carte:before {
    background-image: url('/wp-content/uploads/2022/08/carte-inactif.svg');
}

.section .accordion-theme-light .accordions_list.switch_listing .switch_listing_carte[aria-expanded="true"]:before {
    background-image: url('/wp-content/uploads/2022/08/carte-actif.svg');
}

.section .accordion-theme-light .accordions_list.switch_listing .switch_listing_carte:before,
.section .accordion-theme-light .accordions_list.switch_listing .switch_listing_liste:before {
    content: "";
    width: 20px;
    height: 20px;
    position: relative;
    background-repeat: no-repeat;
    display: inline-block;
    right: unset;
    left: 0;
    margin-right: 10px;
}

.single-immeuble .slideshow {
    height: clamp(200px, 27vw, 500px) !important;
}

#section_join_an_advisor h2 {
    border-bottom: solid 1px #ddd;
    border-top: solid 1px #ddd;
    padding: 24px 0;
}

.single-immeuble iframe {
    transform: translateX(-20px);
}

@media screen and (max-width:992px) {

    .immeuble_resumer_ctn {
        flex-direction: column;
        padding: 27px;
        gap: 0px;
    }


    body.list-appartements .paging-content {
        display: flex;
        align-items: end;
        justify-content: center;
        max-width:100%;
    }

    .app-resumer-line > div > div{
        width: 100%;
    }

    .immeuble_resumer_content_ctn_top .h2 {
        margin-top:12px;
    }

    .app-resumer-line > div > .app-resumer-disponibilites{
        margin-top:12px;
    }

    .immeuble_resumer_ctn .immeuble_resumer_img {
        width: 100%;
        max-height: 200px;
        min-width: 230px;
    }

    .immeuble_resumer_content_ctn {
        width: 100%;
    }

    .immeuble_resumer_adresse {
        width: 100%;
        margin-bottom: 20px;
    }

    .app-resumer-line > div {
        width: 100%;
    }

    .app-resumer-inclusions{
        display:none;
    }


}

input[type="number"] {
    width: 100%;
    padding: 12px 22px;
    max-width: 100%;
    border-radius: 0px!important;
    border: solid 2px black;
    font-family: "Whyte";
    font-weight: 300;
    font-size: clamp(16px, 1.35vw, 22px);
}

.map_ctn #map {
    width: 100%;
    max-height: 800px;
    height: 100vw;
    z-index:10;
}

.switch_listing > div {
    display: flex;
}

.switch_listing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.switch_listing .accordion_ctn {
    border-top: none !important;
    border-bottom: none !important;
    padding: 0 15px;
}

.switch_listing .accordion-title:after {
    position: relative !important;
}

.switch_listing .accordion-title {
    opacity: 0.6;
}

.switch_listing .accordion-title[aria-expanded="true"] {
    opacity: 1
}

.list-appartements .map_ctn {
    position: relative;
}

.list-appartements #modal_ctn {
    position: relative;
    top: unset;
    transform: translateX(0px);
    width: 100%;
}

.list-appartements #modal_ctn .immeuble_resumer_ctn {
    min-height: unset;
}

@media screen and (max-width: 768px) {
    .appartement_filtre_ctn {
        flex-direction: column;
    }

    .appartement_filtre_grandeur_ctn,
    .appartement_filtre_grandeurpi2_ctn,
    .appartement_filtre_prix_ctn,
    .appartement_filtre_disponibilite_ctn,
    .appartement_filtre_categorie_ctn,
    .appartement_filtre_secteur_ctn,
    .appartement_filtre_inclusion_ctn {
        width: 100%;
    }
    
    .appartement_filtre_ctn > div:nth-child(3){ border-top:0px; }

    .appartement_filtre_haut {
        justify-content: inherit;
        flex-direction: column;
        align-items: flex-start;
    }

    .single-immeuble .slideshow {
        max-height: 200px;
    }

    .single-immeuble .slideshow .row__column {
        max-height: 200px;
    }

    .etage, .superficie  {
        display: none !important;
    }
}



.liste_carte.loading{ min-height:76px; }
.liste_liste{ position:relative;  }
.liste_liste .section-immeubles_ctn{  min-height:150px; }
.map_ctn #map.loading::after, .liste_liste:not([style="opacity: 1;"])::after {
content: '';
    border: 16px solid var(--lightcolor02);
    border-top: 16px solid var(--darkcolor01);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    display: block;
    margin: auto;
    position: absolute;
    left: 50%;
    z-index: 0;
    top: 50%;
    margin-top: -38px;
    margin-left: -38px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
