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

@media(min-width: 768px) {

    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .titleWrap {
        padding: 30px 0;
        margin-top: -30px;
        --left: 40px;
        padding-left: var(--left);
    }

    /*------------------- NEWS ---------------------*/
    #news {
        padding-top: 30px;
    }

    /*-----------------*/
    /* GALLERY Second */
    /*-----------------*/
    #galleryHome {
        pointer-events: none;
    }

    #galleryHome .gallery {
        grid-gap: 15px;
        grid-template-columns: repeat(32, 1fr);
        grid-template-rows: repeat(11, 52px);
    }

    #galleryHome .title {
        position: absolute;
        top: 50px;
        left: 28vw;
    }

    #galleryHome .gallery .gallery-item {
        pointer-events: all;
    }

    #galleryHome .gallery .gallery-item:first-of-type {
        grid-row: span 3;
        grid-column: span 11;
        padding-left: 24%;
        padding-right: 24%;
    }

    #galleryHome .gallery .gallery-item:nth-child(2) {
        grid-column: span 8;
        grid-row: span 6;
        padding-top: 152px;
    }

    #galleryHome .gallery .gallery-item:nth-child(3) {
        grid-column: span 10;
        grid-row: span 6;
    }

    #galleryHome .gallery .gallery-item:nth-child(4) {
        grid-column: span 3;
        grid-row: span 6;
        padding-top: 82px;
    }

    #galleryHome .gallery .gallery-item:nth-child(5) {
        grid-column: span 6;
        grid-row: span 4;
    }

    #galleryHome .gallery .gallery-item:nth-child(6) {
        grid-column: span 5;
        grid-row: span 3;
    }

    #galleryHome .gallery .gallery-item:nth-child(7) {
        grid-column: span 8;
        grid-row: span 4;
    }

    #galleryHome .gallery .gallery-item:nth-child(8) {
        grid-column: span 11;
        grid-row: span 5;
    }

    #galleryHome .gallery .gallery-item:nth-child(9) {
        grid-column: span 6;
        grid-row: span 4;
    }

    #galleryHome .gallery .gallery-item:nth-child(10) {
        grid-column: span 6;
        grid-row: span 4;
    }

    #galleryHome .gallery .gallery-item:nth-child(11) {
        grid-column: span 8;
        grid-row: span 4;
        position: absolute;
        width: 18.8% !important;
        bottom: 0;
        right: 0;
        height: 190px;
    }
}

@media(min-width: 1025px) {
   
    /*-------------------- SHAPE -------------------*/
    .shapeWrap .shape::before,.shapeWrap .shape::after {
        border: 8px solid var(--primary-color);
        border-right: none;
        border-bottom: none;
        --size: 50px;
        width: var(--size);
        height: var(--size);
        box-sizing: border-box;
    }
    .shapeWrap .shape::after
    {
        transform: scale(-1);
        left: initial;
        top: initial;
        bottom: 0;
        right: 0;
    }

    /*-------------------- HEADERHOME -------------------*/
    #headerHome
    {
        margin-bottom: -70px;
    }
    /*------------------REASSURANCES----------------------*/

    .nohome #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;
    }

    /*------------------- GALLERYHome ---------------------*/
    #galleryHome .title {
        top: 0;
    }

    #galleryHome .title h2 {
        font-size: 36px;
    }

    #galleryHome .gallery {
        grid-gap: 27px;
    }

    #galleryHome .gallery .gallery-item:nth-child(11) {
        height: 210px;
        width: 20.8% !important;
    }

    /*-----------------ACTUS/NEWS-----------------------*/
    .home #news {
        margin-top: -240px;
    }

    #news {
        -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;
        padding-top: 180px;
    }

    .wrapActu {
        padding-top: 150px;
    }

    .home .content_slider {
        display: grid;
        grid-template-columns: 130Px 1fr 1fr 100Px;
        gap: 20px;
        align-items: center;
    }

    .wrapper_slider:not(:last-child) .content_slider {
        border-bottom: 1px solid #ffffff2b;
    }

    .newsdate {
        --size: 130px;
        width: var(--size);
        height: var(--size);
        text-align: center;
        line-height: 1.3;
        border-radius: 50%;
    }

    .newsdate::before,
    .newsdate::after {
        content: '';
        position: absolute;
        top: 5px;
        right: 5px;
        --size: 6px;
        width: var(--size);
        height: var(--size);
        border-radius: 50%;
        z-index: 1;
        background: var(--primary-color);
    }

    .newsdate::before {
        top: 10Px;
        right: 10px;
        --size: 20px;
    }

    .wrapper_slider:nth-child(even) .content_slider {
        padding-left: 50px;
    }

    /*------------------- PRESTATIONS ---------------------*/
    #prestations {
        z-index: 2;
    }
    .home #prestations
    {
        margin: 150px 0 100px;
        padding: 230Px 50px;
        clip-path: polygon(23% 0, 100% 13%, 100% 87%, 77% 100%, 0 87%, 0 13%);
    }
    .template-parent-page-php #prestations
    {
        margin: 0 auto;
        margin-bottom: 50px;
        width: calc(100% - 100px);
    }

    .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: 1.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 ---------------------*/
    #sections {
        padding: 100px 0;
    }

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

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

    .sectionsbloc .section_thumb .blocthumb {
        height: 100%;
    }

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

@media(min-width: 1281px) {
     /*-------------------- NAVPRIMARY -------------------*/
     #header {
        margin-bottom: -50px;
    }
	.navigmenu
	{
		box-sizing: border-box;
	}
	.navigtoogle.parentButton
	{
		position: absolute;
		right: -20px;
		background: var(--linear);
		border-radius: 30px;
	}
	.navigtoogle.logo
	{

		position: absolute;
		left: 0;
		top:0;
	}
	.navigtoogle.parentButton a.naviglink.lvl-0
	{
		color: var(--background-color)!important;
		padding: 12px 50px;
		border-radius: 50px;
	}
	#navprimary
	{
		border-radius: 50px;
		border-top-right-radius: 0;
		border-bottom-right-radius: 0;
	}
    .navigmenu .naviglink.lvl-0
    {
        padding: 43px 14px;
        font-size: 15px;
    }
    .navigmenu .navigtoogle.logo
    {
        border-radius: 60px;
        margin-left: -8px;
    }
    .navigmenu .navigtoogle.logo .naviglogo
    {
        object-fit: contain;
        object-position: center;
        padding: 25px 60px;
    }
    #navprimary {
        display: flex;
        align-items: center;
        align-content: center;
        border-radius: 10px;
        width: 100%;
        filter: drop-shadow(0 10px 35px rgba(0,0,0,8%));
    }
    #navprimary::before
    {
        content : "";
        position: absolute;
        left: 0;
        top: 0;
        --size:100%;
        width: var(--size);
        height: var(--size);
        background: var(--background-color);
        clip-path: polygon(0% 0%,100% 22%,100% 78%,0% 100%);
        -webkit-clip-path: polygon(0% 0%,100% 22%,100% 78%,0% 100%);
        border-radius: 50px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
    }
    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/

    #content-wrapper .content-body .title {
        left: -25%;
        width: 120%;
        margin-bottom: 90px;
    }

    #content-img .specialthumb {
        right: 50Px;
        width: 350px;
        bottom: -70px;
    }

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

    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections .section_txt {
        padding: 80px 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 {
        margin-left: -30Px;
    }

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

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

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

@media(min-width: 1681px) {

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

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

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

@media(max-width: 1280px) {
    /*---------------HEADER---------------------*/
    #header
    {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
    #logoheader
    {
        padding: 10px;
    }
    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;
    }

    .navigmenu .navigtoogle.logo
    {
        margin: 0 auto;
        max-width: 200px;
        width: auto;
    }
    /*-------------------- MOT -------------------*/
    .parentButton a
    {
        padding: 0 20px!important;
        background: #fff0;
    }
    .navigmenu .navigtoogle.logo .naviglogo
    {
        padding: 20px;
    }
    /*------------INTRO / CONTENT--------------------------*/
    .home #content {
        padding: 100px 20px
    }

    #content-wrapper {
        padding: 0 0px 0 0;
        display: flex;
        flex-wrap: wrap
    }

    #content-wrapper .content-body {
        max-width: none;
        order: -1;
        padding: 0 5px 30px;
    }

    #content-wrapper .tertiarythumb,
    #content-wrapper .quaternarythumb {
        position: relative;
        height: 250px;
        width: 50%;
        top: 0 !important;
        left: 0 !important
    }

    #content-wrapper .quaternarythumb {
        padding-right: 1px
    }

    #content-wrapper .tertiarythumb {
        padding-left: 1px
    }

    #content-wrapper .content-body .title {
        padding-right: 100px;
    }

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

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

@media(max-width: 1024px) {


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

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

    /*------------------- INTRO / CONTENT ---------------------*/
    .home #content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        padding: 20px;
    }

    .home #content #content-img .specialthumb {
        display: none;
    }

    #content-wrapper .content-body .title {
        padding-right: 0px;
    }

    #content-wrapper,
    #content-img {
        width: 100%;
    }

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

    /*------------------- GALLERY HOME ---------------------*/
    #galleryHome .gallery {
        padding: 2px !important;
    }

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

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

    /*-----------------NEWS----------------------*/
    #news .title {
        margin-top: 20Px;
    }

    .wrapActu {
        max-width: 600Px;
        margin: 0 auto;
    }

    .content_slider {
        display: grid;
        justify-content: center;
        justify-items: center;
        text-align: center;
    }

    .newsdate {
        font-family: var(--font-title);
        padding: 10px;
    }

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

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

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

    #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: 400px;
    }

    #sections .section_title {
        gap: 0;
        padding: 60px 30px 10px;
    }
     /*-----------------*/
	/* 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) {

    /*-------------------- MOT -------------------*/
    .home #content
     {
        grid-template-columns: 1fr;
     }

     #content-img>.blocthumb
     {
        width: 100%;
        margin-top: 2px;
        max-height: 350px;
     }
    /*------------------- PRESTATIONS ---------------------*/
    .widget_parentpage {
        gap: 0 !important;
    }

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

    #sections .section_title {
        padding: 50px 20px 0;
    }
         /*-----------------*/
	/* FOOTER */
	/*-----------------*/
	.wrapperFooter {
		padding: 40px 15px;
		grid-gap: 50px !important;
	}
	#logoCoordonneesFooter {
        margin-bottom: 15px;
        width: 150px;
    }
	.imgFooter{margin: 0 -15px -40px;}
}

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