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

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

@media(min-width: 1025px) {

    /*-----------------*/
    /* HEADER + NAVPRIMARY */
    /*-----------------*/
    .home #header {
        position: relative;
    }

    #header-coordonnees::before {
        border: 1px solid #ffffff50;
        border-top: none;
        height: calc(100% - 5px);
        box-sizing: border-box;
        border-radius: 50px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        opacity: 0.5;
        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%
    }

    .nohome #navprimary {
        border-bottom: 1px solid #ffffff40;
        position: relative;
    }

    #infoadresse br {
        display: none;
    }

    #logoCoordonnees {
        order: 0;
        grid-row: span 2;
    }

    #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: 25px;
        margin: 0 auto;
        position: relative;
        margin: -40px auto;
        margin-bottom: -50px;
    }

    #logoCoordonnees img {
        padding: 10Px;
    }

    .home #header::before {
        background: var(--black);
    }

    /*------------------- HEADERHOME ---------------------*/
    #headerHome {
        margin-top: 12Px;
    }

    .swipe {
        width: calc(100% - 100px);
        left: 50%;
        transform: translateX(-50%);
    }

    .swipe::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        --size: calc(100% + 15px);
        width: var(--size);
        height: var(--size);
        border: 1px solid var(--black);
        clip-path: polygon(0% 0%, 0% 100%, 40% 100%, 55% 0, 55% 0, 60% 100%, 70% 100%, 100% 100%, 100% 0%);
    }

    .beforeHeader {
        top: -40%;
        height: 130%;
        -webkit-mask: url(../images/bottomCurveFull.svg);
        mask: url(../images/bottomCurveFull.svg);
        mask-size: cover;
        -webkit-mask-size: cover;
        mask-repeat: no-repeat;
        -webkit-mask-repeat: no-repeat;
        mask-position: bottom center;
        -webkit-mask-position: bottom center;
    }

    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content .blocthumb {
        padding: 105px 0 0 0;
        height: 880px;
        width: 36%;
        margin-bottom: -160px;
    }

    .home #content .title {
        width: 44%;
        max-width: 750px;
        padding: 180px 30px 30px;
        color: var(--white);
        font-size: 22px;
        margin: 0 auto;
        line-height: 1.1;
    }

    .home #content .specialthumb {
        order: 3;
        height: 440px;
        width: 20%;
    }

    .home #content {
        padding: 80px 0 100px;
        margin-bottom: -20px;
    }

    .home #content h1 {
        font-size: 44px;
    }

    .home #content::before,
    .home #content:after {
        height: 42.5%;
    }

    /*-----------------*/
    /* ACTU / NEWS */
    /*-----------------*/
    #news {
        padding: 120px 20px 80px;
    }

    #news .thumbnail_slider>a {
        left: -25px;
        position: relative;
    }

    /*------------------- &&& ---------------------*/
    .prestations-wrapper {
        gap: 50px;
    }

    #prestations .nthwords {
        /* margin-left: -60px; */
        /* margin-bottom: -30px; */
        z-index: -1;
    }

    #prestations .linkTurn {
        position: absolute;
        left: initial;
        right: -140px;
        top: 50%;
        transform: translateY(-50%);
    }

    .prestations-content {
        padding: 0 50px;
        /* padding-top: 0; */
        position: relative;
        z-index: 1;
    }

    .prestations-content h3 {
        font-size: 3em;
    }

    #prestations {
        padding: 0;
        z-index: 0;
        /* background: var(--light-color); */
    }

    .prestations-img {
        height: clamp(500px, 70vh, 1000px);
        border: 1Px solid var(--primary-color);
        padding: 10px;
    }

    .bloc_prestations {
        padding: 100px 20px;
        min-height: 100vh;
        height: 100%;
        display: grid;
        align-items: center;
        justify-items: center;
        position: relative;
    }

    .prestations-img:hover img {
        border-radius: 10vw;
    }
    .prestations-img:hover .points
    {
        --deplacement : -5px
    }
    #prestations .specialthumb
    {
        margin-top: -200px;
        height: 400px;
        padding: 30px;
        width: 80%;
        margin-left: auto;
    }
    #prestations .tertiarythumb
    {
        width: calc(100% + 5vw);
        margin-left: -15vw;
        height: 350px;
        margin-top: 50px;
    }
    #prestations .specialthumb *,
    #prestations .tertiarythumb *
    {
        height: 100%;
        width: 100%;
    }
    #prestations .prestations-img
    {
        width: calc(100% + 5vw);
    }
    /*------------------- &&& ---------------------*/

    .home #reassurancesBis::before {
        background: var(--black);
        top: initial;
        bottom: 0;
        height: 40%;
    }
    .home #reassurancesBis
    {
        /* margin-bottom: -400px; */
    }

    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections {
        padding: 60px 0 120px;
    }

    #sections .section_txt .title {
        left: -25%;
        width: 120%;
        margin-bottom: 50px;
    }

    #sections .section_txt {
        padding: 50px 60px 50px 0;
    }

    .sectionsbloc {
        padding: 70px 0 0;
    }

    #sections .section_thumb .specialthumb {
        position: absolute;
        bottom: 58px;
        left: -28px;
        width: 155px;
        height: 220px;
        overflow: hidden;
    }

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

    #sections .tertiarythumb {
        position: absolute;
        left: 0;
        bottom: 6%;
        width: 29.5%;
        height: 34%;
    }

    .sectionsbloc .wrap-content {
        position: relative;
    }

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
    #footer:before,
    #footer:after {
        height: 500px;
        top: 100px;
    }

    .wrapperContact {
        width: 90%;
    }
}

@media(min-width: 1281px) {

    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content .title {
        padding: 180px 60px 30px;
    }

    .home #content .doubleImg .wp-block-column:first-child .wp-block-image img {
        -webkit-mask: url(../images/lutin.svg);
        mask: url(../images/lutin.svg);
        mask-size: contain;
        -webkit-mask-size: contain;
        mask-repeat: no-repeat;
        -webkit-mask-repeat: no-repeat;
        mask-position: bottom center;
        -webkit-mask-position: bottom center;
    }

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

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

    #sections .tertiarythumb {
        width: 34.5%;
        height: 44%;
    }

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

    #sections .section_thumb .specialthumb {
        left: -98px;
        width: 225px;
        height: 280px;
    }
}

@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::before,
    .home #content:after {
        height: 42.5%;
        clip-path: polygon(1% 5%, 99% 0%, 94% 100%, 4% 96%);
    }

    .bloc_prestations::before
    {
        --pos: 50px;
    }
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections .section_txt {
        padding: 100px 160px 100px 0;
    }
}

@media(min-width: 1681px) {

    /*------------------- REASSURANCES ---------------------*/
    #reassurances {
        clip-path: polygon(0 100%, 50% 100%, 53% 90%, 90% 90%, 93% 100%, 100% 100%, 100% 0, 43% 0, 40% 10%, 20% 10%, 17% 0, 0% 0%);
    }

    .home #reassurances {
        margin: 0px;
    }

}


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


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

    #choixSections:after {
        left: 60px;
    }

    /*-----------------*/
    /* NEWS / ACTU */
    /*-----------------*/
    #news .text_slider {
        width: 30%;
    }
}

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

    #logoheader {
        height: 100Px;
    }

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

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

    /*------------------- HEADERHOME ---------------------*/
    .dateBig {
        opacity: 0.15;
        top: 40Px;
    }

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

    .home #content .content-top {
        flex-wrap: wrap;
    }

    .home #content .blocthumb,
    .home #content .specialthumb {
        width: 50%;
        height: 300px;
        padding: 2px;
    }

    .home #content .title {
        width: 100%;
        order: -1;
    }

    .home #content .doubleImg {
        top: 0;
        margin: 0 auto;
        max-width: 460px;
        padding: 10px 5px 0;
        order: 3;
    }

    .home #content .tc_content {
        display: flex;
        flex-direction: column;
        margin-top: 50px;
    }

    /*-----------------*/
    /* ACTU / NEWS */
    /*-----------------*/
    .thumbnail_slider {
        height: 250px;
    }

    #news .thumbnail_slider {
        margin-bottom: 40px;
    }

    #news .wrapper_inner_slider {
        flex-direction: column;
        border: none !important;
    }

    #news .content_slider {
        width: 100%;
        padding: 0;
        text-align: center;
    }

    #news .text_slider {
        width: 100%;
        text-align: center;
        font-size: 14px;
        line-height: 1.5;
    }

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

    #news .next_slider {
        margin: 10px 0 0 0;
    }

    #news-content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }


    /*-----------------*/
    /* REASSURANCESBis */
    /*-----------------*/
    .home #reassurancesBis {
        height: 150px;
        margin-bottom: -70px;
        margin-top: -50px;
    }

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

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

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

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

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

    /*------------------- &&& ---------------------*/
    #prestations {
        padding: 0;
        padding-bottom: 50px;
        z-index: 0;
    }

    .prestations-img {
        order: -1;
    }
    .prestations-subimg
    {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
        grid-auto-rows: 250px;
        margin-top: -100px;
    }
    .prestations-subimg *
    {
        display: block;
        height: 100%;
    }
    .bloc_prestations::before
    {
        left: 50%;
        transform:translateX(-50%);
        content: attr(data-i);
        width: 50px;
        top: -20px;
        opacity: 0.2;
        z-index: -1;
        text-align: center;
    }
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #choixSections {
        display: none;
    }

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

    #sections .section_thumb {
        display: grid;
        align-items: stretch;
        grid-template-columns: repeat(2, 1fr);
    }

    #sections .tertiarythumb {
        height: 400px;
    }


    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
    #footer:before,
    #footer:after {
        content: none;
    }

    .imgContact {
        height: auto;
    }

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

    #footerLinks {
        padding: 20px 10px;
        font-size: 13px;
    }

}

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

    #logoCoordonnees>a {
        width: 140px;
    }

    #header:before {
        bottom: 48px;
    }

    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content .has-medium-font-size:after {
        margin: 20px 0;
    }

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

    .home #content .doubleImg .wp-block-column:first-child .wp-block-image img {
        height: 115px;
        min-width: 123%;
    }

    .home #content .doubleImg .wp-block-column:last-child .wp-block-image img {
        height: 280px;
    }

    /*-----------------*/
    /* REASSURANCESBis */
    /*-----------------*/
    .home #reassurancesBis-containerBis span {
        display: none;
    }

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

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

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

    .nohome #reassurancesBis .picto-container li svg,
    .nohome #reassurancesBis .picto-container li img {
        --size: 25px
    }

    .nohome #reassurancesBis .picto-container li {
        padding: 19px 35px
    }

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

    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections .tertiarythumb {
        height: 300px;
    }

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
    #wrapperForm {
        max-width: 600px;
        padding: 40px 20px;
    }

    .imgContact_content img {
        width: 230px;
    }
}

@media(max-width: 480px) {

    /*-----------------*/
    /* NEWS / ACTU */
    /*-----------------*/
    #news-content {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

    #news .text_slider {
        display: none;
    }
}