@media(min-width: 481px) {}

@media(min-width: 768px) {}

@media(min-width: 1025px) {

    /*-----------------*/
    /* ELEMENTS */
    /*-----------------*/
    .title.tar:not(.no-after):after {
        left: auto;
        right: 0;
    }

    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #header {
        padding: 12px 10px;
    }

    .logoheader {
        width: 160px;
        margin-bottom: -90px;
        background: var(--background-color);
        padding: 15px;
    }

    /*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/

    .navigmenu {
        justify-content: flex-start;
    }

    .navigmenu .navdown {
        min-width: 800px;
    }

    .navigmenu .naviglink.lvl-2 {
        text-align: left;
    }

    /*-------------------- HEADERHOME -------------------*/
    #banner {
        width: calc(100% - 50px);
        margin-left: auto;
    }

    .nohome #logo {
        place-self: initial;
    }

    #headerHome-img {
        height: calc(100vh - 100px);
        min-height: 100%;
    }

    .hero_img3 {
        height: 300px;
    }

    #headerHome-img::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0px;
        --size: 100%;
        width: var(--size);
        height: var(--size);
        background: url(../images/shapeBottom2.svg);
        background-position: bottom left;
        background-repeat: no-repeat;
        background-size: 100px;
        z-index: 2;
    }

    #headerHome-logo {
        padding: 20px;
        padding-top: 100px;
    }

    /*-----------------*/
    /* CONTENT */
    /*-----------------*/
    .home #content {
        padding-top: 140px;
    }

    .home #content .eb-wrapper-inner-blocks {
        width: 86% !important;
        max-width: 1200px;
        text-align: justify;
    }

    .home #content .eb-wrapper-inner-blocks .wp-block-columns {
        gap: 100px;
    }

    .home #content .wp-block-gallery {
        margin-bottom: -400px !important;
        display: grid;
        transition: .6s;
        grid-template-columns: repeat(17, 1fr);
        grid-gap: 60px;
        grid-auto-rows: 140px;
        grid-auto-flow: row dense;
        z-index: 1;
        position: relative;
        /* overflow: hidden; */
    }

    .home #content .wp-block-gallery .gallery-item {
        grid-column: span 4;
        width: 100% !important;
        display: none;
        grid-row: span 2
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(-n+5) {
        display: flex;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(1) {
        grid-column: span 5;
        grid-row: span 3;
        height: 89%;
        padding-top: 47px;
        padding-left: 12%;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(1)>a {
        width: 75% !important;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(2) {
        grid-column: span 8;
        padding-top: 124px;
        grid-row: span 4;
        z-index: 3;
        height: 80%;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(3) {
        grid-column: span 5;
        height: 60%;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(3)>a {
        width: 48% !important;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(4)>a {
        width: 78% !important;
        margin-left: auto;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(4) {
        grid-column: span 6;
        top: -143px;
        height: 60%;
        padding-right: 14%;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(5) {
        grid-column: span 6;
        top: -415px;
        grid-row: span 3;
        height: 84%;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(5)>a {
        width: 61% !important;
        /* height: 50%!important; */
        margin-left: auto;
        flex: 1 1 100% !important
    }

    /*-----------------*/
    /* ACTU */
    /*-----------------*/
    #news {
        padding: 150px 20px 100px;
    }

    #news .newsdate {
        min-width: 150px;
    }

    #news:before {
        background: var(--black);
        width: 75%;
        height: 125%;
    }

    #news .left {
        padding-left: 30px;
        max-width: 500px;
        margin-left: auto;
        z-index: 2
    }

    #news .left .title h2 {
        color: var(--white);
        font-weight: bold;
        text-shadow: -1px -1px 0 var(--black), 1px -1px 0 var(--black), -1px 1px 0 var(--black), 1px 1px 0 var(--black);
    }

    #news .wrapperActu {
        padding-top: 40px;
    }

    #news .left .title {
        margin-top: 100px;
        margin-bottom: 50px;
    }

    #news .left .title .separator {
        margin-bottom: 0;
    }

    #news .titleImg {
        height: 440px;
    }

    #news .right:before {
        background: var(--background-color);
        width: calc(100% + 200Px);
        height: calc(100% + 150px);
        left: initial;
        right: 0;
        top: -50px
    }

    #news .title_slider {
        font-size: 28px;
    }

    #news .hoverActif .content_slider {
        padding-left: 30px
    }

    #news .content_slider {
        transition: all .4s
    }

    #news .hoverActif .thumbnail_slider {
        height: 300px;
        transition: all .8s;
        width: 120%;
        transform-origin: center
    }

    /*------------------- PRESTATIONS ---------------------*/
    #prestations {
        padding: 130Px 50px;
        z-index: 2;
    }

    .widget_parentpage {
        gap: 0 !important;
    }

    #prestations .prestations-wrapper>*:not(.prestations-title) {
        transition: all 1s;
    }

    #prestations .hiddenChild .prestations-wrapper>*:not(.prestations-title) {
        opacity: 0;
    }

    .bloc_prestations .prestations-wrapper {
        display: grid;
        grid-template-columns: 140Px 2fr 2fr;
        align-items: stretch;
        height: 100%;
    }

    .widget_parentpage {
        display: flex;
        justify-content: center;
        flex-grow: 1;
        flex-shrink: 0;
        flex-basis: auto;
        counter-reset: prestations;
    }

    .prestations-img {
        position: relative;
    }

    .prestations-img::before {
        counter-increment: prestations;
        content: "0"counter(prestations);
        position: absolute;
        top: 10Px;
        right: -70px;
        font-size: 6em;
        font-family: var(--font-alt);
        z-index: 2;
        color: var(--secondary-color);
        border-bottom: 2Px solid var(--secondary-color);
        line-height: 1;
    }

    .bloc_prestations {
        width: 60%;
        transition: all 1s, background 0.4s;
        display: block;
        overflow: hidden;
    }

    .bloc_prestations:not(:first-child) {
        border-left: 1Px solid #ffffff24;
    }

    .prestations-title h3::after {
        content: "+";
        display: inline-block;
        margin-left: 10px;
        font-family: var(--font-alt);
        color: var(--secondary-color);
        transform: scale(0);
        transition: all 0.4s;
    }

    .bloc_prestations.hiddenChild .prestations-title h3::after {
        transform: scale(1);
    }

    .prestations-content {
        padding: 30px;
        margin-bottom: 50px;
    }

    .bloc_prestations.hiddenChild {
        width: 10%;
    }

    .prestations-title {
        position: relative;
        display: flex;
        align-items: flex-end;
        width: 100px;
        cursor: pointer;
    }

    .prestations-img {
        width: 100%;
        display: block;
        height: 100%;
        height: 600Px;
    }

    .prestations-title h3 {
        font-size: 2.5em;
        display: flex;
        transform: rotate(270deg);
        transform-origin: 0 5%;
        white-space: nowrap;
        align-items: center;
        position: relative;
        left: 23px;
        bottom: -49px;
    }

    .prestations-content {
        display: grid;
        align-content: end;
        min-width: 350px;
    }

    /*-------------------- SECTIONS -------------------*/
    .sectionsbloc.even {
        z-index: 2;
    }

    .sectionsbloc.odd::before
    {
        top: 50%;
        transform:translateY(-50%);
        height: calc(100% + 250px);
        width: 68%;
    }

    .sectionsbloc .specialthumb {
        position: absolute;
        bottom: -100px;
        left: 20%;
        --size: 300px;
        width: var(--size);
        height: var(--size);
    }

    .sectionsbloc.odd .specialthumb {
        --size: 250px;
        width: calc(var(--size) * 1.5);
        left: 10%;
        transform: initial;
        /* bottom: -200px; */
        left: calc(50% + 100px);
        border: 10px solid var(--background-color);
    }

    .sectionsbloc.even .specialthumb {
        border-radius: 50%;
        overflow: hidden;
        animation: 4s floatingBase infinite ease-in-out;
    }

    .sectionsbloc .wrap-text {
        width: 100%;
        padding-top: 200px;
        max-width: 800px;
    }


    .sectionsbloc {
        padding: 50px 0;
    }


    .sectionsbloc.even .shape {
        left: calc(50% + 100px);
    }

    #sections {
        margin-bottom: 200px;
    }

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
    body:not(.template-contact-php) #footer:before {
        background: url(../images/home-bg3.jpg);
        background-position: center;
    }

    body:not(.template-contact-php) #footer:before {
        height: 500px;
        top: 110px;
    }

    #footer:after {
        background: var(--white);
        z-index: -2;
        top: 60px;
        height: calc(100% - 60px);
    }

    body.template-contact-php #footer:after {
        top: 0;
        height: 100%;
    }

    .wrapperFooter {
        padding: 50px;
        width: 94%
    }


}

@media(min-width: 1025px) and (max-width:1281px) {
    .prestations-img {
        opacity: 0;
    }
    [lang = de] .navigmenu .naviglink.lvl-0:not(.button)
    {
        padding: 12px 10px;
        font-size: 12px;
    }
}

@media(min-width: 1281px) {

    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #header {
        padding: 12px;
    }

    #header.fixed-header #headerGrid {
        grid-template-columns: 150px 1fr 50px;
    }

    #header.fixed-header .logoheader {
        width: 170px;
    }

    #info-toogle {
        --size: 50px;
    }

    #info-toogle:before {
        --size: 25px;
    }

    /*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    #navprimary {
        border-top: none;
        padding-top: 0;
        margin-top: 0;
    }

    /*------------------- PRESTATIONS ---------------------*/
    .prestations-title h3 {
        left: 43px;
    }
}

@media(min-width: 1481px) {

    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #header {
        padding: 12px 20px;
    }

}

@media(min-width: 1681px) {

    /*-----------------*/
    /* CONTENT */
    /*-----------------*/
    .home #content .eb-wrapper-inner-blocks {
        padding: 0 50px;
        max-width: 1100px;
    }

}


@media(max-width: 1680px) {}

@media(max-width: 1480px) {}

@media(max-width: 1280px) {

    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #logo {
        place-self: flex-start;
    }

    /*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    .navigmenu .naviglink.lvl-0:not(.button) {
        padding: 12px 12px;
        font-size: 13px;
    }

    /*-----------------*/
    /* ACTU */
    /*-----------------*/
    #news .wrapActu {
        grid-gap: 30px;
    }

}

@media(max-width: 1024px) {

    /*---------------HEADER---------------------*/
    body:not(.is-toggle-open) #header .ckmenu {
        position: relative;
        z-index: 1000
    }

    .logoParent {
        display: none;
    }

    #header .ckmenu-nav {
        top: 0;
        padding-top: 50px
    }

    #headerGrid {
        align-items: start;
    }

    #header {
        padding: 10px 5px;
    }

    #header-coordonnees {
        right: -270px;
        width: 270px;
        padding: 70px 20px 65px;
        transform: initial!important;
        left: initial;
        align-items: center;
        justify-items: center;
        justify-content: center;
        display: grid;
    }

    #header-coordonnees .title h2 {
        font-size: 22px;
    }

    #logo {
        place-self: center;
    }

    /*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    .sociblock .share-buttons a svg {
        fill: var(--white);
    }

    .ckmenu-nav {
        width: auto;
        left: -5px;
        right: -5px;
    }

    .navigmenu .naviglink.lvl-0:not(.button) {
        padding: 12px 16px;
        color: var(--white);
        font-size: 14px;
    }


    /*-------------------MDTAC---------------------*/
    .md-tac {
        text-align: center;
    }

    .title.md-tac:not(.no-after):after {
        left: 50%;
        transform: translateX(-50%);
    }

    /*-----------------*/
    /* HEADERHOME / BANNER */
    /*-----------------*/
    #banner,
    #headerHome {
        margin-top: 0;
    }

    #banner .overlay,
    #headerHome .overlay {
        background: linear-gradient(var(--overlay-color), transparent);
    }

    #headerHome {
        padding: 0 5px;
        min-height: auto;
        height: auto !important;
        grid-gap: 5px;
    }

    #headerHome-img {
        height: 400px;
    }

    #headerHome-logo img {
        width: 220px;
        padding: 5px;
    }

    #headerHome-hero {
        grid-gap: 5px;
    }

    #headerHome-logo
    {
        padding: 20px;
        padding-top: 40px;
    }
    /*-----------------*/
    /* CONTENT */
    /*-----------------*/
    .home #content .wp-block-gallery {
        grid-gap: 5px;
        grid-template-columns: repeat(3, 1fr);
        display: grid;
        margin: 40px 0 !important;
        grid-auto-rows: 300px;
    }

    .home #content .wp-block-gallery .gallery-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        width: auto !important
    }

    .home #content:before {
        height: 45%;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(7) {
        grid-column: span 3 !important
    }

    /*-----------------*/
    /* ACTU */
    /*-----------------*/
    #news {
        padding-bottom: 20px;
        box-shadow: 0 0 20px #7e72726e;
        background: var(--white);
    }

    #news .wrapActu {
        grid-gap: 0;
    }

    /*------------------- PRESTATIONS ---------------------*/
    .bloc_prestations h3 {
        margin-top: 0;
    }

    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
    .home #reassurances {
        height: 150px;
        margin-bottom: -40px;
        margin-top: -50px;
    }

    .home #reassurances-container {
        padding: 10px 10px;
        width: calc(100% + 10px);
        max-width: calc(100% + 10px);
        left: -5px;
    }

    .home .picto-container li {
        padding: 0 15px;
    }

    .home #reassurances-containerBis {
        padding: 0 10Px;
        width: calc(100% + 10Px);
        max-width: calc(100% + 10Px);
        height: 50px;
        left: -5px;
        font-size: 13px;
    }

    .home #reassurances-containerBis span {
        padding: 0;
    }

    .home #reassurances-containerBis span:before {
        content: none;
    }

    /*-------------------- SECTIONS -------------------*/
    .section_thumb {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .sectionsbloc .shape {
        transform: translateX(-50%);
        top: 150px;
        left: 50%;
        opacity: 0.2;
    }

    .sectionsbloc .title {
        margin-bottom: 60px;
    }

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
    .wrapperFooter {
        padding: 70px 25px;
        grid-gap: 70px !important;
    }

    #footerLinks {
        padding: 20px 10px;
    }

    .imgFooter {
        height: 300px;
        margin: 0 -25px -70px;
    }

    #logoCoordonneesFooter img {
        width: 160px;
    }

    #footer {
        background: var(--white);
    }

}

@media(max-width: 767px) {

    /*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
    #headerHome {
        padding: 0;
    }

    #headerHome-img {
        height: 300px;
    }

    #headerHome-logo img {
        width: 150px;
    }

    /*-----------------*/
    /* CONTENT */
    /*-----------------*/
    .home #content .wp-block-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .home #content:before {
        height: 50%;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(7) {
        grid-column: span 2 !important
    }

    /*-----------------*/
    /* ACTU */
    /*-----------------*/
    #listarticles .listedarticle .tc_excerpt {
        font-size: 15px;
    }

    #news {
        padding-bottom: 0;
    }

    #news .wrapper_inner_slider {
        padding: 30px 0;
    }

    #news .content_slider {
        padding: 20px 0 0;
    }

    #news .content_slider::before {
        left: 50%;
        transform: translateX(-50%);
        top: 200px;
    }

    .thumbnail_slider {
        height: 250px;
    }

    /*------------------- PRESTATIONS ---------------------*/
    .widget_parentpage {
        gap: 0 !important;
    }

    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
    .home #reassurances-containerBis span {
        display: none;
    }

    .home .picto-container li p {
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    .nohome #reassurances .picto-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .nohome #reassurances .picto-container li:before {
        top: 50%;
        transform: translateY(-50%);
        --size: 50px
    }

    .nohome #reassurances .picto-container li svg,
    .nohome #reassurances .picto-container li img {
        --size: 25px
    }
    .nohome #reassurances .picto-container li p
    {
        margin: 0!important;
    }

    .nohome #reassurances .picto-container  strong
    {
        display: inline-block;
        margin-top: 20px!important;
    }
    .nohome #reassurances .picto-container li:before
    {
        left: 50%!important;
        right: initial!important;
        transform:translateX(-50%)!important;
        top: 0!important;
    }
    .nohome #reassurances .picto-container li {
        padding: 19px 35px;
        display: grid;
        justify-content: center;
        justify-items: center;
        gap: 10px;
        text-align: center!important;
    }

    .nohome #reassurances .picto-container {
        max-width: 330px;
        margin: 0 auto
    }

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
    .wrapperFooter {
        padding: 40px 25px;
        grid-gap: 50px !important;
    }

    #logoCoordonneesFooter {
        margin-bottom: 15px;
        width: 150px;
    }

    .imgFooter {
        margin: 0 -15px -40px;
    }
}

@media(max-width: 480px) {}