/* lg applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .home-slide .swiper-slide {
        text-align: center !important;
        padding-top: 90px;
        margin-left: -20px;
    }

    .home-slide .swiper-slide img {
        width: 60%;
    }

    .bloc-approche .slick-dots li.slick-active button:before, .bloc-approche .slick-dots li button:before {
        color: #D9D9D9;
    }

    .bloc-approche .slick-dots li {
        margin: 0;
    }
    .approche-contain {
        padding: 40px 18px;
    }
    .content-etude .bloc-titre .titre-2:before {
        left: -50px;
    }
    .contain-approche .col-12 {
        padding: 0 0 0 14px;
    }
    .contact-mobile {
        background-color: #FF3C78;
        padding: 10px;
        border-radius: 24px;
    }

    .img-footer {
        display: none;
    }

    .confidentialite .article-h1, .mentions-legales .article-h1, .plan-du-site .article-h1 {
        margin-top: 150px;
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    #footer .footer-link ul.navbar-nav > li > a.enabled {
        cursor: pointer;
        pointer-events: auto;
    }

    .blog-row .actu-text {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .blog-row .actu-title {
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 28px;
    }

    article.tease-post {
        min-height: 328px;
    }

    .slider-single .breadcrumbs {
        top:-90px;
    }

    .slider-navig {
        margin-top: 150px;
        margin-bottom: 15px;
    }

    body #refer-liste {
        margin: 40px auto 60px auto;
        left: 50%;
        position: relative;
        transform: translateX(-50%);
    }

    .contain-expertise #expert {
         padding-bottom: 0;
    }

    .fiche-service {
        flex-basis: 41%;
        box-sizing: border-box;
    }

    #expert .fiche-contain.mobile {
        height: 35vh !important;
         overflow-y: initial !important;
        flex-direction: row;
        display: flex;
    }

    .recent-swiper .swiper-slide {
        width: 90% !important;
    }
    .menu-head .logo svg {
        width: 75%;
    }
    .article_thumbnail {
        margin-top: 32px;
    }
    .article .news-single {
        padding: 0;
    }
    .blog-row .titre-dernier-article {
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        padding: 0;
    }
    .article-contain .wp-block-quote {
        padding: 50px 26px;
        margin: 50px 0;
    }
    .article-contain .wp-block-quote p {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
        margin-bottom: 0;
    }
    .article .article-h1 {
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        padding: 0;
    }

    .slider-single .breadcrumbs {
        padding-left: 10px;
    }

    .liste-fiche {
        margin-top: 24px;
    }
    .expertise-cta {
        color: #FFF;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px;
        position: initial;
        padding-left: 24px;
    }

    .expertise-contain {
        margin: 0 7px;
        justify-content: end;
        padding: 45px;
        height: 500px;
        background-image: none !important;
    }

    .fiche-content h3 {
        padding: 0 13px;
    }

    .fiche-content .accordion-button::after {
        content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='25' viewBox='0 0 25 25' fill='none'%3E%3Cpath d='M7.07422 10.5586L12.0742 15.5586' stroke='%23292929' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M12.0742 15.5586L17.0742 10.5586' stroke='%23292929' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");;
    }

    .fiche-content .accordion-button:not(.collapsed)::after {
        transform: rotate(180deg);
    }

    .fiche-service {
        width: calc(100% - 45px);
        margin: 10px auto;
    }

    .fiche-content .fiche-titre {
        font-size: 21px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -0.42px;
        padding-right: 0;
    }

    .content-newsletter {
        margin: 40px 5% 40px 5%;
    }

    .menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .navbar-toggler.hamburger-icon {
        background-color: #FF3C78;
        border-radius: 50px 0 0 50px;
        padding: 10px 19px 10px 10px;
        margin-left: 11px;
    }

    #myHeader {
        padding-right: 0;
    }

    .block_newsletter .tnp-subscription .tnp-field-button input {
        padding-left: 0.5em;
        min-width: 90px;
        padding-right: 0.5em;
    }

    #rightOffcanvas .nav-link {
        color: #FFF;
        text-align: right;
        font-family: Roboto, Arial, sans-serif;
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    #rightOffcanvas {
        background-color: #0C101B;
    }

    #rightOffcanvas .offcanvas-header {
        padding: 20px 0;
    }

    .offcanvas-end .hamburger-icon {
        background-color: #FF3C78;
        border-radius: 50px 0 0 50px;
        padding: 10px 19px 10px 10px;
        margin-left: 11px;
    }

    #rightOffcanvas .offcanvas-body {
        padding: 0 63px 0 33px;
    }

    #myHeader .navbar-nav {
        padding: 0;
        position: relative;
        height: 100%;
        padding-top: 18vh;
    }

    #rightOffcanvas .nav-item:last-child .nav-link {
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }

    #rightOffcanvas .nav-item:last-child {
        position: absolute;
        bottom: 40px;
        width: 100%;
    }

    #myHeader ul li.nav-item:last-child {
        position: absolute;
        margin: 0;
    }

    /*** footer mobile ***/
    #footer {
        padding: 24px 0;
    }

    .ico_reseau {
        justify-content: center;
    }

    #footer .container {
        padding: 0 24px;
        margin-bottom: 24px;
    }

    #footer .footer-top h3 {
        font-size: 32px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .footer-link .navbar-nav {
        width: 100%;
        margin: 0;
    }

    #footer .footer-link li {
        padding: 0;
    }

    #footer .footer-link-row .navbar-nav li:nth-child(2) {
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }

    #footer .footer-link-row .nav-item {
        flex: 1;
        text-align: center; /* Centre le texte des nav-items */
    }


    .footer-link-row .navbar-nav {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: baseline;
        width: 100%;
    }

    .footer-link-row {
        padding: 10px 24px;
    }

    .footer-link-row li {
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
    }

    #footer .footer-link ul.navbar-nav > li > a {
        padding: 20px 24px;
        border-bottom: 1px solid #949494;
        border-collapse: collapse;
        color: #141414;
        font-family: Roboto, Arial, sans-serif;
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 24px;
        text-transform: uppercase;
    }
}

@media (max-width: 767.98px) {
    .approche {
        transition: margin-top 0.5s ease-in-out;
    }
    .slide-id_10 {
        margin-top: -200px !important;
    }
    .slide-id_9 {
        margin-top: -250px !important;
    }
    .slide-id_19 {
        margin-top: -60px !important;
    }
    .slide-id_6 {
        margin-top: -150px !important;
    }
    .slide-id_7 {
        margin-top: -50px !important;
    }

    .home-slide .swiper-slide {
        padding-top: 100px;
        margin-left: -20px;
    }

    .home-slide .swiper-slide img {
        width: 75%;
    }

    .banner-text {
        top: 60%;
    }

    body #refer-liste {
        width: 100%;
        margin: 40px auto 60px auto;
    }
    .fiche-service {
        flex-basis: 80%;
        box-sizing: border-box;
    }
    .footer-link .nav-link:first-child {
        border-top: 1px solid #949494;
    }
    .expertise-slide .slick-next {
        right: -50px;
    }
    .expertise-galerie {
        padding: 40px 0 80px 0;
    }
    #visuel-1, #visuel-2, #visuel-3, #visuel-4 {
        margin: 8px 0;
    }
    #visuel-1, #visuel-4 {
        /*height: 215px;*/
    }
    #visuel-2, #visuel-3 {
        /*height: 365px;*/
    }
    .expertise-galerie .expertise-column-left, .expertise-galerie .expertise-column-right {
        width: 100%;
        margin: 0;
    }
    .approche-titre, .approche-texte {
        text-align: left;
    }
    .approche {
        margin-bottom: 50px;
    }
    .bloc-approche .slick-list {
        padding-bottom: 20px;
    }
    .autre-expertise-contain {
        margin-bottom: 12px;
    }
    .bloc-newsletter .tnp-field input[type="submit"] {
        padding: 12px 24px;
        margin-left: 0;
    }
    .bloc-newsletter .tnp-subscription input[type=email] {
        font-size: 14px;
        width: calc(100% + 25px);
        padding-left: 50px;
        padding-right: 0;
    }
    .slider-nav .autre-expertise-contain {
        padding: 19px 24px;
        height: 150px;
    }
    .titre-expertise {
        font-size: 24px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .swiper-button-prev.swiper-button-prev-testimonial, .swiper-button-next.swiper-button-next-testimonial {
        display: none;
    }

    .video_banniere a {
        font-size: 0.5em;
    }

    .video_banniere h2 {
        font-size: 1.2em;
    }

    .video_banniere {
        bottom: -122%;
        width: 80%;
    }

    .custom-logo {
        width: 80%;
        object-fit: contain;
    }

    .btn-error .btn.btn-secondary {
        margin-top: 13px;
    }

    .error404-content p {
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }
}

/*  Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .home-slide .swiper-slide img {
        width: 100%;
    }

    .expertise-texte {
        width: 50%;
    }

    .single .article.tease-post {
        box-shadow: none;
    }

    .approche-bloc .contain-approche {
        padding-left: 0;
    }

    .slider-single {
        margin-top: 150px;
    }

    .fiche-service:nth-child(even) {
        transform: translateY(60px);
    }

    .article .article-h1 {
        padding: 0 50% 0 0;
    }
    .autre-expertise-contain:nth-child(even) {
        margin-left: 15px;
        width: calc(50% - 15px);
    }

    .autre-expertise-contain:nth-child(odd) {
        margin-right: 15px;
        width: calc(50% - 15px);
    }

    .slider-single .breadcrumbs {
        transform: translateX(-25%);
    }

    .expertise-contain {
        transform: translateX(-60px);
    }

    .fiche-content .fiche-head {
        display: flex;
        flex-direction: column;
        align-items: baseline;
    }

    .fiche-service {
        width: calc(50% - 10px);
    }

    .liste-fiche {
        margin-top: -50px;
    }

    .liste-fiche .fiche-service {
        margin: 0 26px 26px 0;
        width: 22%;
    }

    .fiche-content .collapse:not(.show) {
        display: block;
    }

    .fiche-content button {
        cursor: none;
        pointer-events: none;
    }

    #myHeader ul li.nav-item:last-child:before {
        content: "|";
        position: absolute;
        color: #FFFFFF;
        top: 50%;
        left: -18px;
        transform: translateY(-50%);
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .banner-text {
        top: 70%;
    }

    .video_banniere a {
        font-size: 0.5em;
    }

    .video_banniere h2 {
        font-size: 1.5em;
    }

    .swiper-button-prev.swiper-button-prev-testimonial:after, .swiper-button-next.swiper-button-next-testimonial:after {
        bottom: -185px;
    }

    .swiper-button-prev.swiper-button-prev-testimonial {
        left: 45.5%;
    }

    .swiper-button-next.swiper-button-next-testimonial {
        right: 45.5%;
    }
}

@media (min-width: 768px) {
    .expertise-slide .slick-slide img {
        display: block;
    }

    .banner-footer:before {
        content: url(/app/uploads/2023/07/circle.svg);
        position: absolute;
        left: -14px;
        top: -15px;
    }

    .banner-footer {
        left: 50%;
        transform: translateX(-50%);
        border-left: 1px solid #474747;
        bottom: 0
    }

    .fiche-service {
        min-height: 265px;
    }

    .fiche-service.expanded {
        width: 40%;
        height: 310px !important;
    }

    #horizontal-scoll .fiche-service.expanded {
        width: calc(50% - 10px);
        height: auto !important;
    }
}
