@media not all and (min-resolution:.001dpcm) { 
	@media {
    /*
      MEDIA QUERIES POUR CIBLER SAFARI UNIQUEMENT
     */   
    
    }
}
@media(min-width: 481px){}

@media(min-width: 768px){
    /*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	#prestations .bloc_prestations {border-right: 1px solid transparent;}
	#prestations .bloc_prestations:not(:last-child) {border-right-color: #00000026;}
	.home #prestations .bloc_prestations:not(:last-child) {border-right-color: #ffffff26;}
	.prestations-content {padding: 20px 20px 30px;}

	/*-----------------*/
	/* PARTENAIRES BIS */
	/*-----------------*/
	#partenairesBis .bloc_partenaires:is(:first-child, :nth-child(5)) {top: -30px;}
	#partenairesBis .bloc_partenaires:is(:nth-child(2), :nth-child(4)) {top: -10px;}
	
	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news .cksliderwrap{padding: 0;}
	#news .ckctrldiv{display: none;}
	.ckslidercontrols :is(.next, .prev) {
        top:50%;
        transform: translateY(-50%);
        background-color: rgb(0 0 0 / 60%);
        border-radius: 100px;
        --size: 50px;
        background-size: 15px
    }

    .ckslidercontrols .prev {left: 10px}
    .ckslidercontrols .next {right: 10px}
}

@media(min-width: 1025px){
	/*-----------------*/
    /* HEADER */
    /*-----------------*/
    #infoadresseBis {order: -1}

    #logoCoordonnees {
        grid-row: span 2;
        order: -1;
        margin: 0 50px;
        grid-column: span 2;
    }

    #logoCoordonnees img {width: 480px;}

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

    #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}

    #header-coordonnees>:nth-child(1):before, 
    #header-coordonnees>:nth-child(4):before {
        right: 0;
        left: auto
    }
	/*-----------------*/
	/* PARTENAIRES BIS */
	/*-----------------*/
	#partenairesBis .bloc_partenaires:is(:first-child, :nth-child(5)) {top: -50px;}
	#partenairesBis .bloc_partenaires:is(:nth-child(2), :nth-child(4)) {top: -20px;}

	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    #navprimary {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        border-bottom: 1px solid rgb(255 255 255 / 40%);
    }
	#navprimary:before{
		content: "";
		top: auto;
		bottom: 0;
		height: 2px;
		background: linear-gradient(to right, blue, white,red);
		position: relative;
		display: block;
	}

	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
    .home #content {padding: 150px 0 50px;}

    .home #content .eb-wrapper-inner-blocks {
        width: 86%!important;
        max-width: 1200px;
        text-align: justify;
    }
	.home #content .eb-wrapper-inner-blocks .wp-block-columns{
    gap: 100px;
}

    .home #content .wp-block-gallery {
        margin-bottom: -400px!important;
        display: grid;
        transition: .6s;
        grid-template-columns: repeat(18,1fr);
        grid-gap: 60px;
        grid-auto-rows: 140px;
        grid-auto-flow: row dense;
        z-index: 1;
        position: relative
    }
    .home #content .wp-block-gallery .gallery-item {
        grid-column: span 4;
        width: 100%!important;
        display: none;
        grid-row: span 2
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(-n+5) {display: flex;}

    .home #content .wp-block-gallery .gallery-item:nth-child(1) {
        grid-column: span 5;
        grid-row: span 3;
        height: 89%;
        padding-top: 47px;
        padding-left: 12%;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(1) > a {
		width: 75%!important;
	}

    .home #content .wp-block-gallery .gallery-item:nth-child(2) {
        grid-column: span 8;
        padding-top: 124px;
        grid-row: span 4;
        z-index: 3;
        height: 80%;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(3) {
        grid-column: span 5;
        height: 60%;
    }
	.home #content .wp-block-gallery .gallery-item:nth-child(3) > a{width: 48%!important;}

    .home #content .wp-block-gallery .gallery-item:nth-child(4) > a {
        width: 78%!important;
        margin-left: auto;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(4) {
        grid-column: span 6;
        top: -143px;
        height: 60%;
        padding-right: 14%;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(5) {
        grid-column: span 12;
        top: -415px;
        grid-row: span 3;
        height: 84%;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(5) > a {
        width: 21%!important;
        margin-left: auto;
        flex: 1 1 100%!important
    }

	
	/*-----------------*/
	/* GALLERY HOME */
	/*-----------------*/
	#galleryHome .fashion-slider-button{
	    top: auto;
	    transform: none;
	    bottom: 50px;
	}
	
	
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .prestations-wrapper .liresuite {
	    position: absolute;
	    left: 50%;
	    transform: translateX(-50%);
	    bottom: 120px;
	}

	.prestations-content {padding: 20px 30px 60px;}
	.prestations-img {
		align-self: flex-end;
		opacity: 0;
		transform: scale(.85) translateX(0);
		-webkit-transition: all .3s cubic-bezier(.65,.05,.36,1);
		z-index: 1;
		transition: all .3s cubic-bezier(.65,.05,.36,1);
		width: 100%;
	}
	.bloc_prestations:hover .prestations-img {
	    opacity: 1;
	    transform: scale(1) translateX(0);
	}

	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections{padding: 100px 0;}
    .section_thumb {width: 38%;}
	.section_txt {width: 62%;}
	.section_title{
		width: 100%;
		margin-bottom: 20px;
		padding: 0 60px;
	}
	.sectionsbloc{
		padding: 70px 0 0;
		width: 100%;
		flex-wrap: wrap;
	}
    .section_thumb .blocthumb {
        height: 100%;
        width: 81%;
    }
    .section_thumb .specialthumb {
        position: absolute;
        bottom: -30px;
        right: 5%;
        width: 30%;
        height: 200px;
    }
    .section_txt .wrap-text{
        padding: 50px 50px 20px;
        width: 80%;
        margin-left: auto;
        max-width: 770px;
    }
    .sectionsbloc .section_txt .wrap-content {
        padding-left: 70px;
        padding-right: 0;
    }
    .sectionsbloc .section_txt .tertiarythumb {
        position: absolute;
        left: -30%;
        bottom: 70px;
        width: 38%;
        height: 70%;
    }
	.buttons-wrap{align-items: flex-start;	}

	/*-----------------*/
    /* ACTU */
    /*-----------------*/
	#listarticles .listedarticle .content_slider .next_slider {
	    margin: 0;
	    min-width: 110px;
	    text-align: right;
	}

	/*-----------------*/
	/* CHANTIERS */
	/*-----------------*/
	#chantiers {padding: 150px 20px 100px;}
	#chantiers .newsdate{min-width: 150px;}
	#chantiers:before {
		background: var(--tertiary-color);
		width: 75%;
		height: 125%;
		}

    #chantiers .left {
        padding-left: 30px;
        max-width: 500px;
        margin-left: auto;
        z-index: 2
    }
	#chantiers .left .title h2{
		color: var(--white);
		font-weight: bold;
		text-shadow: -1px -1px 0 var(--tertiary-color), 1px -1px 0 var(--tertiary-color), -1px  1px 0 var(--tertiary-color), 1px  1px 0 var(--tertiary-color);
	}
	#chantiers .wrapperActu{padding-top: 40px;}

    #chantiers .left .title {
		margin-top: 100px;
		margin-bottom: 50px;
	}
	#chantiers .left .title .separator{margin-bottom: 0;}
    #chantiers .titleImg {height: 440px;}

    #chantiers .right:before {
        background: var(--background-color);
        width: calc(100% + 200Px);
        height: calc(100% + 150px);
        left: initial;
        right: 0;
        top: -50px
    }

    #chantiers .title_slider {font-size: 20px;}

    #chantiers .hoverActif .content_slider {padding-left: 30px}

    #chantiers .content_slider {transition: all .4s}
    #chantiers .hoverActif .thumbnail_slider {
        height: 300px;
        transition: all .8s;
        width: 120%;
        transform-origin: center
    }


	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	.wrapperFooter {
        margin-top: -125px;
        padding: 50px;
        width: 94%
    }
	body:not(.template-contact-php) #footer #footerbloc {
        padding: 100px 20px;
        padding-bottom: 230px;
    }

    body:not(.template-contact-php) #footerLinks {padding: 40px 20px}
}

@media(min-width: 1281px){
	/*-----------------*/
	/* HEADER */
	/*-----------------*/
	#logoCoordonnees {margin: 0 40px;}
	
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	.prestations-content {padding: 20px 30px 80px;}

	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections{padding: 120px 0 140px;}
	.section_thumb {width: 40%;}
    .section_txt {width: 58%;}

	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	 body:not(.template-contact-php) #footerLinks {padding: 70px 20px}
}

@media(min-width: 1481px){ 
	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	.section_txt .wrap-text {padding: 60px 70px;}
}

@media(min-width: 1681px){
	/*-----------------*/
	/* CONTENT */
	/*-----------------*/
	.home #content .eb-wrapper-inner-blocks{
		padding: 0 50px;
		max-width: 1100px;
	}
}

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

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

@media(max-width: 1280px){
	/*-----------------*/
	/* CHANTIERS */
	/*-----------------*/
	#chantiers .wrapActu{grid-gap: 30px;}


	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news .content_slider{
	    opacity: 1;
	    transform: none;
	    flex-direction: column;
	    text-align: center;
		padding: 15px;
	}
	#news .title_slider{margin: 0  0 10px 0!important;}

	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#choixSections:before {
		left: 30px;
		width: calc(100% - 60px);
		top: 83px;
	}
	#choixSections:after {left: 20px;top: calc(100% + 64px);}

	.subimageSections{--size: 50px;}
	#choixSections .linkSections .subimageSections:before{font-size: 1.5em;}
	#choixSections .linkSections p{padding: 0 15px;	}
}

@media(max-width: 1024px){
	h1{
		hyphens: auto;
		overflow-wrap: break-word;
	}
	/*-----------------*/
    /* LOADER */
    /*-----------------*/
	#loader-wrapper svg{width: 150px;}
	
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	.has-child-megamenu .naviglink.lvl-2 {text-align: center;}
	
	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content .wp-block-gallery {
        grid-gap: 5px;
        grid-template-columns: repeat(3, 1fr);
        display: grid;
        margin: 40px 0 !important;
        grid-auto-rows: 300px;
    }
	 .home #content .wp-block-gallery .gallery-item {
        grid-column: span 1!important;
        grid-row: span 1!important;
        width: auto!important
    }
	.home #content:before {height: 45%;}

    .home #content .wp-block-gallery .gallery-item:nth-child(7) {grid-column: span 3!important}
	
	/*-----------------*/
    /* ACTU */
    /*-----------------*/
	#listarticles .listedarticle h2,
	#news .title_slider{font-size: 16px;}
	
	#listarticles .content_slider {
		--dist: 15px;
        position:absolute;
        padding: 15px;
        flex-direction: column;
        text-align: center;
        width: auto;
        display: flex;
        align-items: center
    }
	#listarticles .next_slider{margin-top: 0px;}

	/*-----------------*/
	/* GALLERY HOME */
	/*-----------------*/
	#galleryHome{margin-bottom: 0;}

	/*-----------------*/
	/* CHANTIERS */
	/*-----------------*/
	#chantiers{
		padding-bottom: 20px;
		box-shadow: 0 0 20px #7e72726e;
		background: var(--white);
	}
	#chantiers .wrapActu{grid-gap: 40px;}

	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	#sections{padding-bottom: 80px;}
    #choixSections {display: none;}
    #sections .sectionsbloc {
	    flex-direction: column;
	    display: flex;
	}
	.section_thumb {
        height: 450px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 450px;
    }
	#sections .tertiarythumb{
	    margin-top: 50px;
	    height: 300px;
	}
	#sections .section_title {
        gap: 0;
        padding: 60px 30px 10px;
    }
	/*-----------------*/
    /* PARTENAIRESBIS */
    /*-----------------*/

    #partenairesBis .widget_partenaires li .wrap-element {
        --size: 130px;
    }

	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	.wrapperFooter {
	    padding: 70px 25px;
	    grid-gap: 0!important;
	}
	#footer #footerbloc>.wrappercontent {
	    grid-template-areas:
    	    "infoadresseFooter      infoadresseFooterBis"
    	    "infoouvertureFooter       infotelportFooter";
	    grid-template-columns: 1fr 1fr ;
	    grid-row-gap: 20px;
	}
}

@media(max-width: 767px){
	/*-----------------*/
    /* LOADER */
    /*-----------------*/
	#loader-wrapper svg{width: 100px;}

	/*-----------------*/
    /* PARTENAIRESBIS */
    /*-----------------*/
	 #partenairesBis {
        top: -40px;
        margin: 0 auto -40px;
        max-width: 360px
    }

    #partenairesBis .widget_partenaires li .wrap-element {
        --size: 90px;
    }
	
	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content .wp-block-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
	 }
	.home #content:before {height: 50%;}
	.home #content .wp-block-gallery .gallery-item:nth-child(7) {grid-column: span 2!important}

	
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	.prestations-img {height: 250px;}

	/*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	.picto-container li:before{
		top: 50%;
		transform: translateY(-50%);
	}
	.picto-container{
		max-width: 350px;
		margin: 0 auto;
	}

	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news{
    padding: 50px 10px;
}
	#news .thumbnail_slider{height: 300px;}
	#news .ckslidercontrols .prev{left: 10px;}
	#news .ckslidercontrols .next{right: 10px;}

	/*-----------------*/
	/* CHANTIERS */
	/*-----------------*/
	#chantiers{padding-bottom: 0;}
	
	#chantiers .wrapper_inner_slider {padding: 30px 0;}
	#chantiers .content_slider {padding: 20px 0 0;}
	#chantiers .content_slider::before {
        left: 50%;
        transform: translateX(-50%);
        top: 200px;
    }
	#chantiers .thumbnail_slider {height: 250px;}

	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections{padding-bottom: 50px;}
	#sections .section_title {padding: 50px 20px 0}
	.section_thumb{grid-auto-rows: 300px;}
	#sections .tertiarythumb{height: 200px;}
	
	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	.wrapperFooter {padding: 40px 15px}
}

@media(max-width: 480px){
	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#footer #footerbloc>.wrappercontent {
	    grid-template-areas:
	        "infoadresseFooterBis"
	        "infoadresseFooter"
			"infotelportFooter"
	        "infoouvertureFooter"
	    ;
	    grid-template-columns: 1fr;
	    grid-row-gap: 20px;
	}
}