section.nos-annonces{
    margin: 20px auto 40px auto;
    position: relative;
}

section.nos-annonces .filtres{
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 99999999;
    background: #fff;
    width: 100%;
    overflow: scroll;
    transform: translate(150%);
    transition: transform 0.5s ease-in-out;
    margin-top: 74px;
    background: var(--grisprimary);
}

section.nos-annonces .filtres.active{
    transform: translateX(0);
}

section.nos-annonces .filtres .container{
    padding: 20px;
}

section.nos-annonces .filtres .header-filtres{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

section.nos-annonces .filtres .header-filtres p{
    font-family: 'Crimson', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 36px;
    text-transform: uppercase;
    color: var(--noir);
}

section.nos-annonces .filtres .header-filtres svg{
    cursor: pointer;
}


section.nos-annonces .filtres .filtre .header-filtre{
    display: flex;
    align-items: center;
    grid-gap: 10px;
    margin-top: 40px;
}

section.nos-annonces .filtres .filtre .header-filtre p{
    font-family: 'Crimson', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;
    color: var(--bleuSecondary);
    position: relative;
}

section.nos-annonces .filtres .filtre .header-filtre.header-transaction p{
    min-width: 200px;
}


section.nos-annonces .filtres .filtre .header-filtre.header-bien p{
    min-width: 115px;
}

section.nos-annonces .filtres .filtre .header-filtre span{
    height: 1px;
    width: 100%;
    background: var(--grisclair);
}

section.nos-annonces .filtres .filtre .choices{
    display: flex;
    flex-direction: column;
}

section.nos-annonces .filtres .filtre.transaction .choices,
section.nos-annonces .filtres .filtre.bien .choices{
    grid-gap: 5px;
    margin-top: 10px;
}

section.nos-annonces .filtres .filtre .choices-selected{
    display: flex;
    flex-wrap: wrap;
    grid-gap: 10px;
    margin-top: 10px;
}

section.nos-annonces .filtres .filtre .choices-selected > div{
    background: var(--bleu);
    padding: 5px 10px;
    display: flex;
    align-items: center;
    grid-gap: 10px;
    width: fit-content;
}

section.nos-annonces .filtres .filtre .choices-selected > div span{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}

section.nos-annonces .filtres .filtre .choices-selected > div svg{
    cursor: pointer;
}

section.nos-annonces .filtres .filtre .choices div{
    display: flex;
    align-items: center;
    grid-gap: 20px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--gris2);
    border-top: unset;
}

section.nos-annonces .filtres .filtre.transaction .choices div,
section.nos-annonces .filtres .filtre.bien .choices div{
    border: unset;
    background: unset;
    padding: unset;
}

section.nos-annonces .filtres .filtre .choices div input[type='checkbox']{
    height: 20px;
    width: 20px;
    border-radius: 0;
    appearance: none;
    border-color: #000;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--grisfonce);
    position: relative;
    padding: 10px;
    color: var(--grisfonce);
    background: #fff;
    font-family: 'Open Sans',sans-serif;
    font-size: 14px;
    line-height: 19px;
}

section.nos-annonces .filtres .filtre .choices div input[type='checkbox']:checked {
    border-color: var(--bleu);
}

section.nos-annonces .filtres .filtre .choices div label{
    font-family: 'Open Sans',sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: var(--grisfonce);
    width: 100%;
    cursor: pointer;
}

section.nos-annonces .filtres .filtre .choices div input[type='checkbox']:checked + label{
    color: var(--bleu);
    font-weight: 600;
}

section.nos-annonces .filtres .filtre .choices div input[type='checkbox']:checked:after{
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--bleu);
}

section.nos-annonces .filtres .filtre input:not(.btn){
    margin-top: 10px;
    border: 1px solid var(--creme);
    height: 39px;
    font-family: 'Open Sans',sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: var(--grisfonce);
    padding: 10px;
    width: 100%;
    -webkit-appearance: none;
    border-radius: 0;
}

section.nos-annonces .filtres .filtre input::-webkit-outer-spin-button,
section.nos-annonces .filtres .filtre input::-webkit-inner-spin-button{
    -webkit-appearance: none;
}

section.nos-annonces .filtres .filtre input[type=number] {
    -moz-appearance: textfield;
}

section.nos-annonces .filtres .dropdown{
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    border: 1px solid var(--gris2);
    position: relative;
    height: 39px;
    padding: 10px;
    margin-top: 10px;
}

section.nos-annonces .filtres .dropdown p{
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: var(--grisfonce);
}

section.nos-annonces .filtres .dropdown svg{
    width: 10px;
    display: flex;
    transition: transform 0.3s ease;
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
}

section.nos-annonces .filtres .dropdown svg.rotate{
    transform: translateY(-50%) rotate(180deg);
}

section.nos-annonces .filtres .save{
    margin-top: 60px;
    position: sticky;
    bottom: 0;
    background: #fff;
}

section.nos-annonces .filtres .save:before{
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    height: 1px;
    width: 100%;
    background: var(--bleu);
}

section.nos-annonces .filtres .save div{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    padding: 17px 15px;
    background-color: var(--grisprimary);
}

section.nos-annonces .filtres .save input{
    width: 100%;
    font-weight: 600;
    -webkit-appearance: none;
    border-radius: 0;
}

section.nos-annonces .top input{
    font-family: 'Open Sans',sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: var(--grisfonce);
    padding: 10px;
    margin-bottom: 40px;
    width: 100%;
    border-radius: 0;
    background: white;
}

section.nos-annonces .top input::placeholder{
    color: var(--grisfonce);
}

section.nos-annonces .top svg{
    cursor: pointer;
}

section.nos-annonces .top .loupe{
    position: absolute;
    right: 10px;
    top: 10px;
}

section.nos-annonces .top p{
    font-family: 'Crimson',sans-serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 32px;
    text-transform: uppercase;
    color: var(--noir);
}

section.nos-annonces .mobile .top{
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 50px;
}

section.nos-annonces .mobile .top div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section.nos-annonces .top .btn.filter{
    display: flex;
    gap: 10px;
}

section.nos-annonces .top .btn.filter svg,
section.nos-annonces .top .btn.filter svg *{
    stroke: #fff;
}

section.nos-annonces .mobile .slide{
    margin-top: 50px;
}

section.nos-annonces .no-result{
    text-align: center;
    font-size: 20px;
}

section.nos-annonces .chargement span{
    height: 1px;
    width: 100%;
    background: var(--grisclair);
    position: absolute;
}

section.nos-annonces .chargement .trait{
    content: '';
    position: absolute;
    height: 1px;
    background: var(--bleu);
    width: 20%;
}

section.nos-annonces section.estimer-votre-bien{
    padding: unset;
    margin-top: 50px;
}

section.nos-annonces .estimer-votre-bien .bloc-droite span {
    padding-bottom: 20px;
    text-align: center;
    display: block;
}

section.nos-annonces .estimer-votre-bien .bloc-droite .btn{
    margin: 20px auto 0 auto!important;
}

section.nos-annonces .estimer-votre-bien .popup{
    position: fixed;
    display: flex;
    opacity: 0;
    transition: opacity .5s;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    background: #000000a6;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
}

section.nos-annonces .estimer-votre-bien .popup .popup-container{
    background-color: #FFFFFF;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
    width: 80%;
}

section.nos-annonces .estimer-votre-bien .popup.active{
    transform: translateY(0);
    opacity: 1;
    z-index: 999999;
}

section.nos-annonces .chargement{
    position: relative;
    width: fit-content;
    margin: var(--gutter-lg) auto 0 auto;
}

section.nos-annonces .chargement div,
section.nos-annonces .chargement p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    text-align: center;
    margin-bottom: 10px;
    display: flex;
    grid-gap: 0.3em;
}

section.nos-annonces .chargement a{
    padding: 8px 62px;
    margin: 30px auto 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    width: fit-content;
    font-weight: 400;
    font-size: 16px;
    line-height: 29px;
}

section.nos-annonces .desktop{
    display: none;
}

section.nos-annonces .desktop .annonces .slide:not(.big) .card figure,
section.nos-annonces .desktop .annonces .slide:not(.big) .card img{
    max-width: 100%;
    height: auto;
}

@media screen and (min-width: 768px){
    section.nos-annonces .mobile{
        display: none;
    }

    section.nos-annonces .desktop{
        display: block;
    }

    section.nos-annonces .desktop .top{
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: var(--gutter);
    }

    section.nos-annonces .desktop .top > div{
        display: flex;
        align-items: center;
        grid-gap: 25px;
    }


    section.nos-annonces .desktop .top > div > div{
        position: relative;
    }

    section.nos-annonces .desktop .top input{
        margin-bottom: unset;
        width: 350px;
    }

    section.nos-annonces section.estimer-votre-bien{
        margin: 0;
        grid-column: 1/3;
        grid-row: 4/4;
    }

    section.nos-annonces .estimer-votre-bien .bloc-droite h2{
        text-align: center;
    }

    section.nos-annonces .estimer-votre-bien > div{
        height: 100%;
    }

    section.nos-annonces .estimer-votre-bien .bloc-droite{
        padding: 20px;
        text-align: center;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    section.nos-annonces .desktop .annonces .slide:not(.big) .card figure,
    section.nos-annonces .desktop .annonces .slide:not(.big) .card img{
        aspect-ratio: 1.45;
        object-fit: cover;
    }

    section.nos-annonces .desktop .annonces > div{
        grid-template-columns: 1fr 1fr;
        display: grid;
        grid-gap: var(--spacer) var(--spacer-sm);
    }

    section.nos-annonces .desktop .annonces > div .slide{
        /*margin-top: 60px;*/
    }

    section.nos-annonces .desktop .annonces > div:first-child{
        /*margin-top: -60px;*/
    }

    section.nos-annonces .desktop .annonces > div:not(:first-child){
        margin-top: var(--spacer);
    }

    section.nos-annonces .annonces .slide .card{
        max-width: unset;
    }

    section.nos-annonces .desktop .slide.big.right{
        grid-column: 1/3;
    }

    section.nos-annonces .desktop .slide.big.right .card > div:not(.images-gallerie-wrapper){
        left: unset;
        right: 40px;
    }
    @media screen and (min-width: 992px){
        section.nos-annonces{
            margin: var(--gutter) auto var(--gutter-lg);
        }

        section.nos-annonces .filtres.active + .filtre-open{
            position: fixed;
            width: calc(100vw - 390px);
            height: 100vh;
            background: black;
            opacity: 0.2;
            z-index: 9999999;
            left: 0;
            top: 0;
            transition: 1s;
        }

        section.nos-annonces .filtres{
            width: 390px;
            overflow: auto;
            margin-top: unset;
        }
        section.nos-annonces .filtres::-webkit-scrollbar {
            display: none;
        }

        section.nos-annonces .filtres .save{
            position: unset;
            margin-top: unset;
        }

        section.nos-annonces .desktop .annonces > div{
            grid-template-columns: 1fr 1fr 1fr;
        }
        section.nos-annonces .desktop .slide.big.right{
            grid-column: 2/4;
        }
        section.nos-annonces section.estimer-votre-bien{
            /*margin: 60px 0 0 0;*/
            grid-column: unset;
            grid-row: unset;
        }

        section.nos-annonces .estimer-votre-bien .bloc-droite{
            padding: 0 20px;
        }

        .slide.big .card > div:not(.images-gallerie-wrapper) h3{
            line-height: 22px;
        }

        section.nos-annonces .big .card .images-gallerie-wrapper figure,
        section.nos-annonces .big .card .images-gallerie-wrapper img {
            aspect-ratio: 1.91;
        }

    }

    @media screen and (min-width: 1200px){
        section.nos-annonces .big .card .images-gallerie-wrapper figure,
        section.nos-annonces .big .card .images-gallerie-wrapper img {
            aspect-ratio: 2.30;
        }

        section.nos-annonces .annonces .slide.big .card,
        section.nos-annonces .annonces .slide.big .card .images-gallerie-wrapper,
        section.nos-annonces .annonces .slide.big .card .images-gallerie-wrapper .images-gallerie{
            height: 100%;
        }

        section.nos-annonces .annonces .slide.big .card .images-gallerie-wrapper .images-gallerie a figure{
            width: 100%;
        }

        .slide.big .card > div:not(.images-gallerie-wrapper) h3{
            line-height: 30px;
            overflow: hidden;
            text-overflow: ellipsis;
            line-clamp: 4;
            -webkit-line-clamp: 4;
            display: -moz-box;
            display: -webkit-box;
            display: box;
            -moz-box-orient: vertical; /* Mozilla */
            -webkit-box-orient: vertical; /* WebKit */
            box-orient: vertical; /* Comme spécifié */
        }
    }

}
