.lp_flottant {
    @media (max-width: 980px) {
        &:after {
            content: '';
            display: block;
            background-image: url('../images/xmas/footer.png');
            position: absolute;
            height: 30px;
            left: 0;
            right: 0;
            bottom: 100%;
            background-repeat: repeat-x;
            background-size: contain;
            background-position: bottom center;
        }
    }
}

.ancre-footer {
    z-index: 1;
}

#footer_bas_container {
    /* @media (max-width: 1023px) {
        position: relative;
        margin-top: 120px;

        &:before {
            content: '';
            display: block;
            background-image: url('../images/xmas/footer-mobile.png');
            position: absolute;
            height: 120px;
            left: 0;
            right: 0;
            bottom: 100%;
            background-repeat: no-repeat;
            background-size: contain;
            background-position: 40px;
        }
    } */

    @media (min-width: 1024px) {
        position: relative;
        margin-top: 150px;

        &:before {
            content: '';
            display: block;
            background-image: url('../images/xmas/footer.png');
            position: absolute;
            height: 150px;
            left: 0;
            right: 0;
            bottom: 100%;
            background-repeat: repeat-x;
            background-size: contain;
            background-position: bottom center;
        }
    }
}

.calcul_financement {
    @media (min-width: 1200px) {
        position: relative;

        &:after {
            content: '';
            right: 0;
            position: absolute;
            height: 600px;
            width: 300px;
            background-image: url("/wp-content/themes/chronos-twig/images/xmas/leaves.png") !important;
            background-size: contain;
            background-repeat: no-repeat;
            background-position: right;
            top: -630px;
            z-index: -1;
        }
    }
}

.section-projet-maison-feuilles .leaves {
    display: none !important;
}

.agence-container-map,
.calcul_financement {
    content-visibility: unset !important;
}

.agence-container-map-home {
    @media (max-width: 767px) {
        &.agence-container-map {
            background-size: 150px !important;

        }
    }

    @media (max-width: 1023px) {
        background: url(/wp-content/themes/chronos-twig/images/xmas/feuilles.png) no-repeat #f0f0f0 !important;
        background-image: none !important;
    }

    @media (min-width: 1024px) {
        background-image: none !important;
        position: relative;
        background-color: #f0f0f0 !important;

        h2 {
            z-index: 1;
        }

        &:before {
            position: absolute;
            content: '';
            height: 550px;
            width: 350px;
            left: 0;
            top: -60px;
            background-repeat: no-repeat;
            background-position: left;
            background-size: contain;
            background-image: url(/wp-content/themes/chronos-twig/images/xmas/feuilles.png);
            z-index: 0;
        }
    }
}