.footer {
    background-color: #FBEEE6;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: 100%;
    color: #155144;
    text-align: center;
}

.footer a, .footer a:visited {
    color: #155144;
}

.footer a:hover {
    color: #D86018;
}

.footer_title {
    color: #D86018;
    font-size: 30px;
    line-height: 35px;
}

.footer_title_number {
    color: #155144;
}

.footer_logo {
    margin-left: 50px;
}

.footer_logo img {
    max-height: 100%;
    object-fit: contain;
}

.footer_head {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 50px 120px;
    color: #FFFFFF;
    background: url(/img/fond-footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer_partners {
    font-family: 'gotham';
    width: 100%;
    background-color: #FFFFFF;
    padding: 40px 120px;
}

.footer_partners_title {
    font-size: 30px;
    margin-bottom: 25px;
    color: #155144;
    text-align: start;
}

.partners {
    /*display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;*/
}

.partners li + li {
    margin-left: 15px;
}

.partner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 90px;
    width: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 15px;
}

.partner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner:hover {
    cursor: pointer;
    background-color: #A4C537;
}

.footer_content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 70%;
    margin: 40px 0 20px 0;
}

.footer_content_head {
    width: 90%;
    font-family: 'gotham';
}

.footer_content_main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer_texts {
    display: flex;
    margin: 45px auto;
    font-size: 12px;
}

.footer_text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 25px;
    text-align: start;
}

.footer_text + .footer_text {
    border-left: 2px solid #D86018;
}

.footer_text li:first-child {
    font-family: 'gotham';
    font-size: 14px;
    line-height: 20px;
}

.footer_social {
    width: 40%;
    display: flex;
    flex-direction: column;
}

.footer_social + .newsletter {
    margin-left: 100px;
}

.footer_social_title {
    font-family: 'gotham';
    font-size: 30px;
    text-align: end;
}

.footer_icons {
    display: flex;
    justify-content: flex-end;
    height: 50px;
    margin-top: 25px;
}

.footer_icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer_icon + .footer_icon {
    margin-left: 30px;
}

.footer_icon:hover {
    filter: brightness(3) grayscale(1);
}

.footer_map {
    width: 30%;
}

@media all and (max-width: 1700px) {
    .footer_texts {
        height: 100px;
    }
}

@media all and (max-width: 1300px) {
    .footer {
        flex-direction: column;
        align-items: center;
    }

    .footer_head {
        order: 1;
    }

    .footer_content {
        order: 3;
        width: 90%;
    }

    .footer_texts {
        height: auto;
    }

    .footer_text {
        height: auto;
        margin: 30px 0;
    }

    .footer_map {
        width: 100%;
        min-height: 500px;
        order: 2;
    }
     
    .footer_map #carte {
        min-height: 500px;
    }
}

@media all and (max-width: 1100px) {
    .footer_head {
        flex-direction: column;
        align-items: center;
    }

    .footer_social {
        width: auto;
    }

    .footer_social + .newsletter {
        margin-left: 0;
        margin-top: 50px;
    }
}

@media all and (max-width: 980px) {
    .footer_texts {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer_text {
        width: 30%;
    }

    .footer_text:nth-of-type(4n) {
        border: none;
    }
}

@media all and (max-width: 797px) {
    .footer {
        height: auto;
        flex-direction: column;
        padding: 0;
    }

    .footer_head {
        padding: 50px 10px;
    }

    .footer_social {
        width: auto;
    }

    .footer_social + .newsletter {
        margin-left: 0;
        margin-top: 50px;
    }

    .footer_partners {
        padding: 40px 60px 60px 60px;
    }

    .footer_logo {
        margin-top: 20px;
        margin-left: 0;
    }

    .footer_content_head {
        font-size: 25px;
    }
}

@media all and (max-width: 540px) {
    .footer_social {
        width: 90%;
    }

    .footer_map {
        min-height: 275px;
    }

    .footer_map #carte {
        min-height: 275px;
    }

    .footer_text {
        width: 50%;
    }

    .footer_text:nth-of-type(4n) {
        border-left: 2px solid #D86018;
    }

    .footer_text:nth-of-type(2n+3) {
        border: none;
    }
}