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

@media(min-width: 768px) {

    /*-------------------- CONTENTPAGE -------------------*/
    .grid-img {
        grid-gap: 20px !important;
        margin-bottom: 40px;
        margin-top: 50px !important;
    }

    .grid-img .blocthumb {
        margin-top: 1.5rem;
        height: 320px;
    }

    .grid-img .specialthumb {
        height: 299px;
    }

    .grid-img .tertiarythumb {
        margin-top: 1.5rem;
        height: 299px;
    }

    .grid-img .quaternarythumb {
        height: 360px;
    }

    .grid-img img {
        height: 100%;
        object-fit: cover;
    }

    /*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/


    #prestations .prestations-wrapper {
        /* height: 540px; */
    }


    #prestations .prestations-content {
        padding: 50px 20px;
    }

    #prestations .prestations-txt .liresuite {
        margin-top: 50px;
    }

    /*-----------------*/
    /* ACTU */
    /*-----------------*/
    #news .ckslidercontrols .prev {
        left: -35%;
    }

    #news .cksliderwrap {
        padding-bottom: 0;
    }

    #news .ckslidercontrols .next {
        left: calc(-35% + 60px);
        right: auto;
    }

    #news .ckslidercontrols .prev,
    #news .ckslidercontrols .next {
        top: 50%;
        transform: translateY(-50%);
        --size: 50px;
        bottom: auto;
    }
}

@media(min-width: 1025px) {

   /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #infoadresse {
    order: -1
  }

  #header-coordonnees div br {
    display: none
  }

  #logoCoordonnees {
    grid-row: span 3;
    order: -1;
    margin: 0px 30px;
  }

  #logoCoordonnees img {
    width: 300px;
    max-height: 130px;
    margin: -20px 0;
  }

  #header-coordonnees {
    margin: 20px auto 20px;
  }

  #header-coordonnees>:nth-child(1),
  #header-coordonnees>:nth-child(4) {
    padding: 0 24px 0 0;
    text-align: right
  }

  #header-coordonnees>:nth-child(1) span,
  #header-coordonnees>:nth-child(4) span {
    text-align: right
  }

  #headerSocial .sociblock .share-buttons {
    justify-content: flex-start
  }

  #header-coordonnees>:nth-child(1):before,
  #header-coordonnees>:nth-child(4):before {
    right: 0;
    left: auto
  }

  /*-----------------*/
  /* NAVPRIMARY */
  /*-----------------*/
  #navprimary {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    border-bottom: 1px solid rgb(255 255 255 / 40%);
  }

  #navprimary .navigmenu {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .has-child-megamenu .naviglink.lvl-2 span {
    padding-left: 12px;
  }

  .has-child-megamenu .naviglink.lvl-2 span:before {
    content: "";
    --size: 5px;
    width: var(--size);
    height: var(--size);
    position: absolute;
    left: 0;
    border: solid 1px var(--primary-color);
    top: 12px;
    border-radius: 10px;
    transition: 250ms all ease-in-out;
  }

  .has-child-megamenu .naviglink.lvl-2:hover span:before {
    background: var(--primary-color);
  }
  .navigmenu .navdown
    {
        min-width: 900px;
        left: 50%;
        transform:translateX(-50%);
    }
    .navdownwrapper
    {
        display: grid;
        grid-template-columns: repeat(4,1fr);
    }
    .menuarticle
    {
        grid-column: span 3;
    }
    #viewmenu
    {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 10px;
    }
    .menuarticle .article_content:hover .liresuite a span
    {
        bottom: 50px;
        opacity: 1;
    }
    .menuarticle .article_content:hover p
    {
        bottom: 40px;
    }
    /*------------------- HEADERHOME ---------------------*/
    #headerHome::before {
        height: calc(100% + 75px);
    }

    #headerHome::after,
    #banner::after {
        background: var(--black);
        top: initial;
        bottom: -75px;
        width: calc(100% - 300px);
        left: initial;
        right: 100px;
        transform: skewX(10deg);
    }

    #headerHome .picto-container {
        grid-template-columns: repeat(4, 1fr);
    }

    #headerHome .picto-container li {
        border-bottom: solid 1px rgb(255 255 255 / 40%);
    }

    #headerHome {
        margin-bottom: 75px;
    }

    #headerHome-accroche {
        max-width: 800px;
    }

    #headerHome-content>.wrappercontent {
        padding-top: 100px;
        margin-left: 2%;
    }

    #headerHome::before,
    #banner::before {
        background-image: url(../images/shape-home.svg);
        background-position: left center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 2;
        width: 350Px;
        left: initial;
        right: 0;
    }

    #banner {
        overflow: hidden;
        /* padding-bottom: 50px; */
    }

    #banner::before {
        right: -120px;
        width: 370px;
    }

    .navigtoogleLogo {
        z-index: 4;
    }

    .menuarticle article {
        padding: 0;
    }

    .menuarticle article:not(:last-child) {
        border-right: 1Px solid #ffffff20;
    }

    .menuarticle span {
        color: var(--primary-color);
    }

    .menuarticle .tb_hoverBloc {
        border-top: 1px solid #ffffff20;
    }

    .navdownwrapper {
        margin-top: -5px;
    }

    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content .linkTurn {
        left: 9%;
        top: 20em;
    }

    .home #content .title {
        max-width: 80%;
        margin: 30px auto;
    }

    .home #content .blocthumb {
        height: 460px;
    }

    .home #content .homeContent-img .wp-block-image {
        padding-left: 30px;
        height: 100%;
    }

    .home #content .homeContent-img .wp-block-image a {
        height: 100%;
    }

    .home #content .homeContent-img .wp-block-image img {
        height: 100%;
        object-fit: cover;
    }

    .home #content .tc_content {
        padding-left: 22%;
        width: 120%;
        padding-top: 90px;
    }

    .home #content :is(.specialthumb, .tertiarythumb, .quaternarythumb) {
        position: absolute;
        left: 0;
    }

    .home #content .has-medium-font-size {
        font-size: 25px !important;
    }

    .home #content .tertiarythumb {
        width: 8.7%;
        height: 240px;
        top: 290px;
        z-index: 1;
    }

    .home #content .quaternarythumb {
        left: auto;
        right: 0;
        width: 9.5%;
        top: 35px;
        height: 400px;
        z-index: 1;
    }

    .home #content .specialthumb {
        width: 23%;
        left: -10%;
        bottom: -370px;
        top: auto;
        z-index: 1;
        height: 320px;
    }

    .home #content .wp-block-media-text.has-media-on-the-right {
        grid-template-columns: auto 65% !important;
        margin-bottom: 0;
    }

    .home #content .wp-block-media-text {
        overflow: visible;
    }

    .home #content .wp-block-media-text__content>p:first-child {
        padding: 30px;
        background: var(--black);
        color: var(--white);
        margin-top: -300px;
    }

    /*-----------------*/
    /* CONTENTPAGE */
    /*-----------------*/
    #contentPage :is(blockquote, .wp-block-quote) {
        margin-top: 0 !important;
    }

    #contentPage .wp-block-buttons {
        margin-top: 30px;
    }

    .specialIntro {
        overflow: hidden;
    }

    #intro-content .intro-txt {
        max-width: 870px;
        margin: 80px auto 0;
    }

    #intro-content .intro-txt.small {
        max-width: 500px;
        padding-right: 40px;
        margin: 0 14% 0 auto;
    }

    .grid-img {
        grid-gap: 30px !important;
        margin-bottom: -20px;
    }

    .grid-img .blocthumb {
        width: 200%;
        margin-left: -100%;
        margin-top: 1.5rem;
        height: 440px;
    }

    .grid-img .specialthumb {
        height: 299px;
        margin-top: 2.5rem;
    }

    .grid-img .tertiarythumb {
        margin-top: 5.5rem;
        height: 299px;
    }

    .grid-img .quaternarythumb {
        width: 200%;
        margin-right: -100%;
        height: 440px;
    }

    /*-------------------- MOT -------------------*/
    .home #prestations
    {
        margin-top: -250px;
        z-index: 2;
    }

    /*-----------------*/
    /* ACTU */
    /*-----------------*/
    #news .ckslidercontrols .next {
        left: calc(-25% + 60px);
    }

    #news .ckslidercontrols .prev {
        left: -25%;
    }

    /*-------------------- GALLERYHOME -------------------*/
    #galleryHome {
        max-width: 50%;
        margin-top: -150px;
        z-index: 2;
    }




    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/

    #reassurances .wrappercontent>div:first-child {
        min-width: 380px;
    }



    /*-------------------CTA-----------------------*/
    #cta {
        padding-bottom: 0;
        margin-bottom: -50Px;
        padding-top: 70Px;
    }

    #cta .button {
        --size: 170px;
        width: var(--size);
        height: var(--size);
        border-radius: 50% !important;
        overflow: hidden;
        display: grid;
        align-content: center;
        justify-content: center;
        margin: 0 auto;
        margin-top: 0px;
        line-height: 1.5;
        border: 10px solid var(--background-color);
    }

    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections .section_title {
        margin-bottom: 80px;
        padding: 0 60px;
    }

    #sections .section_title .title {
        padding: 0;
        margin: 0;
    }

    .sectionsbloc .section_thumb .blocthumb {
        height: 80%;
        top: 10%;
    }

    #sections .section_title p {
        margin: 0;
    }

    #sections .section_title .title:after {
        height: 100%;
        width: 2px;
        left: auto;
        right: -50px;
        background: rgb(0 0 0 / 10%);
    }

    #sections .section_txt {
        padding: 40px 40px 40px 0;
    }

    .sectionsbloc {
        padding: 70px 0 0;
    }

    #sections .section_txt .specialthumb {
        position: absolute;
        --size: 145px;
        bottom: 0;
        left: 5%;
        width: 200px;
        height: var(--size);
        overflow: hidden;
        border: solid var(--white) 10px;
    }

    .sectionsbloc .wrap-text {
        padding: 0;
        max-width: 62%;
        margin-left: auto;
    }

    #sections .tertiarythumb {
        position: absolute;
        left: 0;
        top: 0;
        width: 26.5%;
        height: 85%;
    }

    #sections {
        padding-top: 150px;
    }

    /* #sections {
        position: relative;
        height: 100vh;
        overflow: hidden;
        padding: 0;
    } */

    /* #sections .sectionsbloc {
        position: absolute;
        inset: 0;
        height: 100vh;
        background-color: var(--white);
        overflow: hidden;
        visibility: hidden;
    }

    .sections-nav {
        position: absolute;
        z-index: 5;
        top: 50%;
        right: 2.5rem;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        color: var(--white);
    }

    .sections-nav p {
        margin: 0;
        font-size: .8rem;
        letter-spacing: .1em;
        font-family: var(--font-alt);
        color: var(--primary-color);
    }

    .sections-nav button {
        width: 10px;
        height: 10px;
        padding: 0;
        border: 1px solid currentColor;
        border-radius: 50%;
        background: transparent;
        cursor: pointer;
        transition: transform .3s, background-color .3s;
    }

    .sections-nav button[aria-current] {
        background-color: currentColor;
        transform: scale(1.4);
    }

    .sections-nav button:focus-visible {
        outline: 2px solid currentColor;
        outline-offset: 3px;
    }

    .sections-nav_hint {
        writing-mode: vertical-rl;
        padding-bottom: 50px;
        position: relative;
        transition: opacity .3s;
    }

    .sections-nav_hint::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 1px;
        height: 40px;
        background: currentColor;
        transform-origin: top;
        animation: sections-hint 1.6s ease-in-out infinite;
    }

    .sections-nav.is-last .sections-nav_hint {
        opacity: 0;
    }

    @keyframes sections-hint {
        0% {
            transform: scaleY(0);
        }

        50% {
            transform: scaleY(1);
            transform-origin: top;
        }

        51% {
            transform-origin: bottom;
        }

        100% {
            transform: scaleY(0);
            transform-origin: bottom;
        }
    } */

    #sections .sectionsbloc:first-child {
        visibility: visible;
    }

    #sections .section_thumb {
        overflow: hidden;
    }

    #sections .section_title .word {
        display: inline-block;
        overflow: hidden;
        vertical-align: top;
    }

    #sections .section_title .char {
        display: inline-block;
    }

    /*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
    #prestations {
        padding: 50px 15px 0px;
    }

    #prestations .prestations-txt .tc_excerpt {
        display: block;
    }

    #prestations .bloc_prestations {
        /* padding: 10px 20px; */
    }

    #prestations .prestations-content {
        padding: 60px 30px;
    }

    #prestations .prestations-title h3 {
        font-size: 1.3em;
    }

    /*--------------------FOOTER----------------------*/
    .home #footer {
        z-index: 0;
    }

    #footer #footerbloc {
        margin-top: 150px;
    }
}


@media(min-width: 1281px) {


    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content {
        overflow: hidden;
    }

    .home #content .tc_content {
        padding-left: 15%;
    }

    .home #content .title h1 {
        max-width: 90%;
        margin: 0 auto;
    }

    .home #content .title {
        padding: 60px 50px;
        margin-top: 0;
        padding-top: 0;
    }

    .home #content .linkTurn {
        left: 0%;
        top: 12em;
    }

    .home #content .homeContent-img .wp-block-image {
        padding-left: 50px;
    }

    .home #content .quaternarythumb {
        width: 12.5%;
    }

    .home #content .specialthumb {
        width: 38%;
        left: -48%;
        bottom: -320px;
        height: 400px;
    }

    .home #content .tertiarythumb {
        top: 190px;
        left: 20px;
    }

    .home #content .blocthumb::before,
    .imageRea::after {
        content: "";
        position: absolute;
        --pos: 20px;
        top: var(--pos);
        left: var(--pos);
        --size: 100%;
        width: var(--size);
        height: var(--size);
        border: 1px solid var(--primary-color);
        border-radius: 0px;
    }

    .imageRea::after {
        --pos: 10px;
    }

    /*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
    #prestations .prestations-content {
        padding: 60px 40px;
    }

    #prestations .bloc_prestations {
        /* padding: 10px 40px; */
    }

    .sectionsbloc .wrap-text {
        padding: 100px 120px;
        padding-top: 0;
    }

    /*-----------------*/
    /* CONTENTPAGE */
    /*-----------------*/
    #intro-content .intro-txt {
        margin: 40px auto 0;
    }

    /*-----------------*/
    /* ACTU */
    /*-----------------*/
    #news .ckslidercontrols .next {
        left: calc(-19% + 60px);
    }

    #news .ckslidercontrols .prev {
        left: -19%;
    }



    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections .section_txt {
        padding: 110px 50px 80px 0;
    }

    #sections .tertiarythumb {
        width: 39.5%;
    }

    .sectionsbloc .wrap-text {
        max-width: 50%;
    }

    #sections .section_txt .specialthumb {
        left: 19%;
        --size: 175px;
        width: 230px;
    }
}

@media(min-width: 1481px) {

    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content .title {
        max-width: 1200px;
    }

    /*---------------CTA--------------------------*/
    #cta .button {
        margin-top: -70Px;
    }

    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections .tertiarythumb {
        width: 47.5%;
    }

    .sectionsbloc .wrap-text {
        /* max-width: 40%; */
    }

    #sections .section_txt .specialthumb {
        left: 26%;
        --size: 195px;
        width: 275px;
    }

    .sections-nav {
        top: 30vh;
    }
}

@media(min-width: 1681px) {

    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections .section_txt .specialthumb {
        left: 30%;
        --size: 225px;
    }

    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content .homeContent-img .wp-block-image {
        padding-left: 100px;
    }

    .home #content .quaternarythumb {
        right: 1%;
        width: 16.5%;
    }
}

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

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

@media(max-width: 1280px) {

   

    /*-----------------*/
    /* ACTU */
    /*-----------------*/
    #news .content_slider {
        padding: 50px 50px 50px 20px;
    }

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

    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #choixSections:before {
        left: 30px;
    }

    #choixSections:after {
        left: 20px;
    }
}

@media(max-width: 1024px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  #logoCoordonnees {
    order: -1;
  }

  #header-coordonnees {
    gap: 5px;
  }

  #header-coordonnees>div {
    max-width: 300px;
    width: 100%;
    margin: 8px auto;
  }

  #headerSocial .sociblock .share-buttons {
    justify-content: flex-start;
  }

  .ckmenu {
    position: relative;
    z-index: 1000;
  }

  #header #logoCoordonnees {
    display: none;
  }

  /*-----------------*/
  /* NAVPRIMARY */
  /*-----------------*/
  .navigmenu .naviglink {
    font-size: 14px;
  }

  .navigmenu .naviglink.lvl-0:not(.item-logo) span:after {
    bottom: 0;
    height: 2px;
  }

  .has-child-megamenu .naviglink.lvl-2 {
    text-align: center;
  }
  .menuarticle,.navbloctitle
  {
    display: none;
  }
  
    /*-------------------MDTAC---------------------*/
    .md-tac {
        text-align: center;
    }

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

    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content .title {
        margin: 30px auto;
    }

    .home #content .wp-block-columns {
        flex-wrap: wrap !important;
    }

    .home #content .wp-block-columns.certifications {
        flex-wrap: nowrap !important;
    }

    .home #content {
        padding-top: 30px;
    }

    .home #content .wp-block-columns>div {
        flex-basis: 100% !important;
    }

    .home #content,
    .home #content>.wrappercontent {
        display: flex;
        flex-wrap: wrap;
        max-width: 1200px;
    }

    .home #content :is(.blocthumb, .specialthumb, .tertiarythumb, .quaternarythumb) {
        width: 50%;
        height: 350px;
        margin-bottom: 5px;
        padding: 0 2px;
    }

    .home #content :is(.tertiarythumb, .quaternarythumb) {
        margin: 0;
    }

    .home #content {
        padding-top: 0px;
    }

    /*-------------------- REASSURANCES -------------------*/
    #reassurances {
        padding-bottom: 120px;
    }

    /*-------------------- GALLERYHOME -------------------*/
    #galleryHome {
        margin-top: 10px;
    }

    #gallerySecond .gallery-item:nth-child(8) {
        display: none !important;
    }



    /*-----------------*/
    /* ACTU */
    /*-----------------*/
    #news .thumbnail_slider {
        height: 700px;
    }

    #news .content_slider {
        width: 40%;
        padding: 20px;
    }

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

    #choixActu .linkActu {
        padding: 10px 15px 10px 15px;
        min-width: 50%;
    }

    #choixActu .subtitleActu {
        font-size: 18px;
    }

    #choixActuSlider {
        flex-wrap: wrap;
    }

    #choixActuSlider {
        flex-direction: column
    }

    /*-------------------- MOT -------------------*/
    #sections {
        padding: 0;
    }

    .section_txt :is(.tertiarythumb, .specialthumb) {
        height: 250px;
        order: -1;
        margin-top: 20px;
    }

    .section_txt {
        gap: 10px;
        padding: 0 20px;
    }

    .section_title {
        gap: 20px !important;
    }

    #sections .sectionsbloc>*:not(.section_thumb) {
        max-width: 700Px;
        margin: 0 auto;
        width: 100%;
    }

    #sections .section_title {
        gap: 0;
        padding: 60px 30px 10px;
    }

    /*-------------------- MOT -------------------*/
    #cta {
        border-top: 1px solid #00000050;
    }



}

@media(max-width: 767px) {

  /*-----------------*/
  /* HEADER */
  /*-----------------*/
  .horairesTitle {
    font-size: 24px;
  }

   
    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .linkTurn {
        --size: 10rem;
    }

    .home #content .linkTurn {
        bottom: -200px;
    }

    .home #content :is(.blocthumb, .specialthumb, .tertiarythumb, .quaternarythumb) {
        height: 250px;
    }

    /*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
    #prestations {
        padding-bottom: 0;
    }

    /*-------------------- CONTENTPAGE -------------------*/
    .grid-img {
        margin: 20px 0 40px !important;
        grid-gap: 3px !important;
        grid-auto-rows: 150px;
    }

    /*-----------------*/
    /* ACTU */
    /*-----------------*/
    #news .wrapper_inner_slider {
        flex-direction: column;
    }

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

    #news:before {
        content: none;
    }

    #news .title_slider_wrapper {
        min-width: auto;
    }

    #news .thumbnail_slider {
        height: 250px;
        width: 100%;
    }

    #news .content_slider {
        padding: 40px 15px;
        height: auto;
        width: 100%;
        max-width: none;
        background: var(--black);
    }

    #choixActu .linkActu {
        min-width: 100%;
        padding: 10px 5px 10px 20px;
    }

    #choixActu {
        top: auto;
        margin: 0;
        padding: 0 9px 40px;
    }

    #choixActuSlider {
        padding: 0;
    }

    #choixActu .subtitleActu {
        font-size: 16px;
    }



    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #choixSections {
        display: none;
    }

    #sections .sectionsbloc {
        flex-direction: column;
        display: flex;
    }

    #sections .section_txt {
        display: grid;
        align-items: stretch;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-bottom: 10px !important;
    }

    #sections .section_txt .wrap-text {
        grid-column: span 2;
        order: 1;
    }

    #sections .section_txt :is(.tertiarythumb, .specialthumb) {
        height: 300px;
    }

    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
    .picto-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .picto-container li p {
        font-size: 15px;
    }

    .picto-container li p strong {
        font-size: 18px;
    }

    .picto-container li:nth-child(3) {
        border-bottom: none;
    }

    .picto-container li {
        padding: 40px 20px;
    }
}

@media(max-width: 480px) {

    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections .section_txt :is(.tertiarythumb, .specialthumb) {
        height: 300px;
    }

    #sections .section_title {
        padding: 50px 20px 0;
    }
}