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

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

@media(min-width: 1025px) {

    /*------------------- &&& ---------------------*/
    .home #content
    {
        overflow: hidden;
    }
    /*-----------------*/
    /* 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 {
        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: 10px;
        margin: 0 auto;
        position: relative;
        /* margin: -40px auto; */
        margin-top: -10px;
    }

    /*------------------- HEADERHOME ---------------------*/
    #headerHome {
        padding-top: 150px;
    }

    /*-----------------*/
    /* 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(--tertiary-color);
        position: relative;
        color: var(--white);
        margin-top: -300px;
    }
    /*------------------- NEWS / ACTUS ---------------------*/
    .home #wrappersite:not(.safari) #news {
        margin-bottom: -300px;
    }
    #news .wrapper_slider>.title
    {
        margin-bottom: 80px;
    }
    .wrapActu {
        gap: 100px;
        counter-reset: news;
    }
    .home .wrapper_inner_slider::before
    {
        counter-increment: news;
        content: "0" counter(news);
        position: absolute;
        --place:-100px;
        top: var(--place);
        right: 10Px;
        font-size: 8em;
        font-family: var(--font-alt);
        z-index: 2;
        color: var(--primary-color);
    }

    .home .thumbnail_slider {
        height: 600px;
    }
    /*------------------- GALLERYHOME ---------------------*/
	#galleryHome {
		position: relative;
		z-index: 1;
		height: 34.625em;
		font-size: 1.25vw;
		overflow: hidden;
	}

	#galleryHome .gallery {
		transition: 0.6s;
	}

	#galleryHome .gallery .gallery-item {
		margin-bottom: 0;
		position: absolute;
	}

	#galleryHome .gallery .gallery-item:first-of-type {
		width: 17.9375em;
		height: 25.25em;
		top: 3.625em;
		left: 0;
		z-index: 1;
	}

	#galleryHome .gallery .gallery-item:nth-child(2) {
		width: 11.5625em;
		height: 17.25em;
		top: 7.0625em;
		left: 16.4375em;
		z-index: 6;
	}

	#galleryHome .gallery .gallery-item:nth-child(3) {
		width: 9.8125em;
		height: 13.75em;
		top: 13.875em;
		left: 26.625em;
		z-index: 4;
	}

	#galleryHome .gallery .gallery-item:nth-child(4) {
		width: 24.5625em;
		height: 34.625em;
		top: 0;
		left: 33.875em;
		z-index: 2;
	}

	#galleryHome .gallery .gallery-item:nth-child(5) {
		width: 15.4375em;
		height: 21.75em;
		top: 8em;
		left: 55.375em;
		z-index: 5;
	}

	#galleryHome .gallery .gallery-item:last-of-type {
		width: 12.4375em;
		height: 17.5em;
		top: 5.125em;
		left: 69.4375em;
		z-index: 3;
	}


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

    .sectionsbloc.even {
        z-index: 2
    }

    .sectionsbloc {
        gap: 0 30px
    }

    .sectionsbloc.even .section_thumb .blocthumb {
        position: relative;
        top: 250px;
        height: 90%;
        margin-right: -200px;
        border: 10px solid var(--white);
        border-left: initial;
        border-top: initial;
        overflow: hidden;
    }

    .sectionsbloc.odd .section_thumb,
    .sectionsbloc.odd .section_txt {
        grid-column: span 9
    }

    .sectionsbloc.odd .secondary_thumb {
        display: none
    }

    .sectionsbloc.odd .section_thumb {
        height: 700px;
        margin-top: -105px;
        filter: brightness(.5);
        /* order: inherit; */
    }

    .sectionsbloc.odd .section_txt {
        max-width: 1300px;
        margin: 0 auto;
        margin-top: -280px;
        /* margin-bottom: 100px; */
        width: 95%;
        background: var(--black);
        z-index: 2;
    }

    .sectionsbloc.odd .section_txt,
    .sectionsbloc.odd .section_txt :is(.title h2, .wp-block-heading) {
        color: var(--white)
    }

    .sectionsbloc .specialthumb {
        height: 70%;
        margin-left: -300px;
        border: 10px solid var(--background-color)
    }

    .sectionsbloc.odd .wrap-text {
        column-count: 2;
        column-gap: 40px
    }

    #sections .sectionsbloc.odd:nth-last-child(1) {
        padding-bottom: 0;
    }

    #sections .sectionsbloc.odd:nth-last-child(1) .section_txt {
        margin-bottom: 30px;
    }
    /*------------------- &&& ---------------------*/
    .nohome #prestations
    {
        margin-bottom: 100px;
    }
    /*-----------------*/
    /* 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: 1281px) {

    /*------------------- NAVPRIMARY ---------------------*/
    .navigmenu .naviglink.lvl-0 {
        padding: 20px 14px;
        font-size: 15px;
    }

    /*-----------------*/
    /* 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(--secondary-color);
        border-radius: 0px;
    }

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

    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    .sectionsbloc.odd .section_thumb {
        margin-top: -125px;
    }

    .sectionsbloc.odd {
        padding-bottom: 100px
    }

    .section_txt {
        z-index: 1;
    }

    .sectionsbloc .accrocheSections {
        position: absolute;
        bottom: 200px;
        left: 0;
        background: var(--background-color);
        max-width: 80%;
        left: -100%;
        padding: 50px;
        line-height: 1.4;
        box-shadow: 0 0 30px rgb(0 0 0 / 15%);
        z-index: 3;
    }

}

@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;
    }
    /*------------------- NEWS / ACTUS ---------------------*/
    .home .wrapper_inner_slider::before
    {
        right: calc(var(--place) / 1.5);
    }
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    .sectionsbloc.odd .section_thumb .blocthumb {
        width: calc(100% - 100px);
        margin-left: auto
    }
}

@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) {
    .chiffres
    {
        display: grid!important;
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width: 1280px) {

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

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

    /*-----------------*/
    /*  PRESTATIONS */
    /*-----------------*/
    .prestations-content h2,
    .prestations-content h3 {
        font-size: 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-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 {
        filter: drop-shadow(2Px 1Px #ffffff80);
    }

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

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

    /*------------------- HEADERHOME ---------------------*/
    #headerHome {
        padding-top: 100px;
    }

    /*-----------------*/
    /* 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;
    }
    /*------------------- &&& ---------------------*/
    #galleryHome .gallery
    {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        grid-auto-rows: 150px;
    }
    /*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
    #prestations {
        padding: 50px 20px;
    }

    .bloc_prestations {
        min-height: 500px;
    }

    .bloc_prestations .prestations-content {
        padding: 30px 20px;
    }

    .bloc_prestations .txt-presta {
        font-size: 14px;
    }

    .prestations-content h2,
    .prestations-content h3 {
        font-size: 26px;
        letter-spacing: 1px;
    }

    /*-----------------*/
    /* 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 */
    /*-----------------*/
    .sectionsbloc .section_txt {
        max-width: 850px;
        margin: 0 auto;
        order: 1;
        width: 100%
    }

    .sectionsbloc .specialthumb {
        height: 100%
    }

    .section_txt {
        order: -2
    }
    /*-----------------*/
    /* 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) {
    /*-----------------*/
    /* 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 */
    /*-----------------*/
    .bloc_prestations {
        min-height: 240px;
    }

    .bloc_prestations .prestations-content {
        padding: 20px;
    }

    .prestations-content h2,
    .prestations-content h3 {
        font-size: 24px;
    }

    .prestations-content .tc_excerpt {
        display: none;
    }

    .prestations-content .liresuite {
        margin-top: 10px;
    }

    /*-----------------*/
    /* 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 {
        padding: 19px 35px
    }

    .nohome #reassurances .picto-container {
        max-width: 330px;
        margin: 0 auto
    }
    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
    .wrapperFooter {
        padding: 40px 15px;
        grid-gap: 50px !important;
    }

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

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

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