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

@media(min-width: 768px) {

    /*------------------- NEWS / ACTU ---------------------*/
    #news {
        /* padding-bottom: 350px; */
    }

    #news .wrapper_slider:first-of-type {
        grid-column: span 2;
        grid-row: span 3
    }

    #news .wrapper_slider:first-of-type .content_slider .title {
        min-width: 600px;
        position: relative;
        z-index: 2
    }

    #news .wrapper_slider:first-of-type .title_slider {
        font-size: 45px;
        text-shadow: 0 0 8px #00000054;
        line-height: 1.1;
        margin-bottom: 15px !important;
    }

    #news .wrapper_slider:first-of-type .wrapper_inner_slider {
        display: flex
    }

    #news .wrapper_slider:first-of-type .thumbnail_slider {
        order: 2;
        height: 550px;
        width: 90%;
    }

    #news .wrapper_slider:first-of-type .content_slider {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #news .wrapper_slider:first-of-type .text_slider,
    #news .wrapper_slider:first-of-type .text_slider a {
        max-width: 80%;
        line-height: 1.7;
        font-size: 16px
    }
}

@media(min-width: 1025px) {

    /*-----------------*/
    /* HEADER + NAVPRIMARY */
    /*-----------------*/
    #header-coordonnees::before {
        border: 1px solid rgb(255 255 255 / 40%);
        border-top: none;
        height: calc(100% - 5px);
        box-sizing: border-box;
        border-radius: 50px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 59% 100%, 57% 90%, 43% 90%, 41% 100%, 0 100%);
    }

    .navigmenu .naviglink.lvl-2 span {
        padding: 0 0 0 15px;
        display: block
    }

    .navigmenu .naviglink.lvl-2 {
        text-align: left;
        padding: 10px;
        font-size: 14px;
    }

    .navigmenu .naviglink.lvl-2 span:before {
        content: "";
        --size: 6px;
        position: absolute;
        top: 5px;
        left: 0;
        background: var(--primary-color);
        width: var(--size);
        height: var(--size);
        border-radius: 100%
    }

    #navprimary {
        border-bottom: 1px solid rgb(255 255 255 / 40%);
        position: relative;
    }

    #infoadresse br {
        display: none;
    }

    #logoCoordonnees {
        height: 100%;
        grid-row: span 2;
        display: grid;
        align-items: center;
        align-content: center;
    }

    #header-coordonnees>:nth-child(1) {
        order: -1;
        align-items: flex-end
    }

    #header-coordonnees .right {
        order: 2
    }

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

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

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

    #infotelportButton {
        padding: 6px 40px 6px 20px;
    }


    #header-coordonnees #infotelportButton:before {
        right: 15px;
    }

    #logoCoordonnees>a,
    #logo>a {
        /* height: 190px; */
        padding: 10px;
        margin: 0 auto;
        position: relative;
        /* margin: -40px auto; */
        margin-top: -10px;
    }

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

    .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);
        position: relative;
        color: var(--white);
        margin-top: -300px;
    }

    /*------------------- PRESTATIONS ---------------------*/
    #prestations {
        padding: 100Px;
        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: 0Px;
        right: -70px;
        font-size: 8em;
        font-family: var(--font-alt);
        z-index: 2;
        color: var(--primary-color);
        border-bottom: 2Px solid var(--primary-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(--primary-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%;
        min-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;
    }

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

    #reassurances {
        margin-bottom: 100px;
    }

    #reassurances .title h2 {
        font-size: 3em;
    }

    .reaFull::before {
        left: 50%;
        z-index: -1;
        top: -70px
    }

    .wrapRea {
        margin: 180px 0;
        width: 100%;
    }

    #reassurances::before,
    #reassurances .overlay {
        width: 55%;
        clip-path: polygon(0 0, 55% 0, 63% 10%, 100% 10%, 100% 100%, 0 100%);
    }

    .picto-container {
        margin: 100px 0;
        margin-left: -60px;
        z-index: 1;
    }

    .picto-container {
        flex-direction: column;
    }

    .picto-bloc {
        padding: 40px 40px;
        box-sizing: border-box;
        display: grid;
        align-items: center;
        grid-template-columns: 70px 1fr;
    }

    .picto-container li p {
        margin-top: 8px;
        line-height: 1.6em;
        font-family: var(--font-bold);
        text-align: left;
        padding: 0 40px;
        box-sizing: border-box;
    }

    /*------------------- NEWS / ACTUS ---------------------*/
    #news .wrapper_slider:first-of-type .content_slider {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    #news .wrapper_slider:first-of-type .wrapper_inner_slider {
        display: flex
    }

    #news .wrapper_slider:first-of-type .thumbnail_slider {
        order: 2;
        height: 550px;
        width: 50%;
    }

    #news .thumbnail_slider .button {
        bottom: -20px;
    }

    #news::before,
    #news .overlay {
        clip-path: polygon(0 0, 30% 0, 30% 15%, 100% 16%, 100% 79%, 30% 79%, 30% 100%, 0 100%);
        top: 50%;
        transform: translateY(-50%);
        height: calc(100% + 800px);
    }

    /*-------------------- SECTIONS -------------------*/
    .sectionsbloc.odd .section_thumb .blocthumb img {
        height: 120%;
    }

    .sectionsbloc .title:not(.no-after):after {
        content: '';
        width: 25px;
        height: 100%;
        background: var(--primary-color);
        position: absolute;
        top: 40%;
        transform: translateY(-50%);
        left: -10px;
        z-index: -1;
        opacity: 0.2;
    }
    .sectionsbloc.odd blockquote p
    {
        color: var(--white);
    }
}

@media(min-width: 1025px) and (max-width:1281px) {
    .prestations-img {
        opacity: 0;
    }
}

@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;
    }

    /*------------------- NEWS / ACTU ---------------------*/
    #news {
        margin-bottom: 90px;
    }

    #news::before,
    #news .overlay {
        clip-path: polygon(0 0, 30% 0, 30% 22%, 100% 22%, 100% 78%, 30% 78%, 30% 100%, 0 100%);
    }

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

}


@media(min-width: 1320px) {
    #header::before {
        width: calc(100% - 100px);
        max-width: 1300px;
        height: calc(100% - 45px);
        border: 1px solid var(--white);
        border-top: 0;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0.5;
        clip-path: polygon(0% 0%, 0% 100%, 10% 100%, 10% 10%, 100% 10%, 90% 100%, 10% 100%, 10% 100%, 100% 100%, 100% 0%);
    }
}


@media(min-width: 1481px) {

    /*----------------HEADER--------------------*/
    #header::before {
        clip-path: polygon(0% 0%, 0% 100%, 10% 100%, 10% 10%, 100% 10%, 90% 100%, 10% 100%, 10% 100%, 100% 100%, 100% 0%);
    }

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

@media(min-width: 1681px) {

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

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

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

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

@media(max-width: 1280px) {

    /*-----------------*/
    /* HEADER + NAVPRIMARY */
    /*-----------------*/
    #header:before {
        right: 5%;
        left: 5%;
    }

    .navigmenu .navbloctitle {
        font-size: 16px;
        letter-spacing: 1px;
    }
}

@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-coordonnees>* {
        text-align: center;
    }

    .typewrite {
        height: 41px;
        display: grid;
        align-items: center;
        justify-items: center;
    }

    #header {
        padding: 0;
    }

    #logoCoordonnees img {
        max-width: 200px;
    }

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

    #header-coordonnees>div {
        margin: 10px auto;
    }

    #logoCoordonnees>a,
    #logo>a {
        padding-top: 10Px;
    }

    #logo {
        position: relative;
    }

    .navigmenu .naviglink span {
        padding: 5px 0;
    }

    .menuarticle,
    .navigmenu .navbloctitle {
        display: none;
    }

    #header:before {
        bottom: 72px;
        left: 35px;
        right: 35px;
    }

    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-coordonnees {
        pointer-events: none;
    }

    #header-coordonnees>* {
        pointer-events: all;
    }

    #header :is(#header-coordonnees>*, #header-coordonnees>*>span, .horaires.nomodal .titlehoraires) {
        text-align: center;
    }

    #infoadresseBis {
        order: -2;
    }

    #infoadresse {
        order: -1;
    }

    #logoCoordonnees {
        order: -3;
    }


    /*-------------------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;
    }

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

    /*-------------------REASSURANCES-------------------*/
    #reassurances {
        padding: 80px 20px 30px;
        background: var(--light-color);
    }

    .picto-container {
        justify-items: center;
    }

    .picto-container li {
        display: flex;
        align-items: center;
        padding: 0 20px;
        margin: 15px 0;
        flex-direction: column;
        text-align: center;
        flex: 1 1 25%;
    }

    #reassurances .title h2 {
        color: var(--black);
    }

    #reassurances::before,
    #reassurances .overlay {
        display: none;
    }

    #reassurances .title {
        text-shadow: 0px 0px 0px #000;
    }

    /*------------------- NEWS / ACTU ---------------------*/
    #news .content-news {
        grid-gap: 0 30px;
    }

    #news:after {
        content: none;
    }

    #news {
        padding: 80px 15px;
        margin: 0;
    }

    #news .title_slider {
        font-size: 24px
    }

    #news .wrapper_slider:first-of-type img {
        filter: brightness(0.8);
    }

    #news .wrapper_slider:first-of-type .text_slider,
    #news .wrapper_slider:first-of-type .text_slider a {
        font-size: 14px
    }

    #news .wrapper_slider:first-of-type .content_slider .title {
        min-width: 170%
    }

    #news .wrapper_slider:first-of-type .title_slider {
        font-size: 35px;
    }

    #news .wrapper_slider:first-of-type .wrapper_inner_slider {
        display: flex;
        flex-direction: column-reverse
    }

    #news .wrapper_slider:first-of-type .content_slider .title {
        min-width: auto
    }

    #news .title_slider,
    #news .wrapper_slider:first-of-type .title_slider {
        font-size: 22px;
    }

    #news .next_slider {
        margin-top: -10px
    }

    #news .wrapper_slider:first-of-type .thumbnail_slider {
        height: 250px;
        margin-top: 30px
    }

    #news .content-news {
        grid-gap: 30px 0;
    }

    #news {
        padding: 70px 15px 60px;
    }
}

@media(max-width: 767px) {
    /*-----------------*/
    /* HEADER */
    /*-----------------*/

    #logoCoordonnees>a {
        width: 140px;
    }

    #header:before {
        bottom: 48px;
    }

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

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

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

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

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