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

@media(min-width: 768px){
	 /*-----------------*/
    /* HEADERHOME  */
    /*-----------------*/
	#headerHome-accroche{display: inline-block;}
	#headerHome-accroche:before,
	#headerHome-accroche:after {
		top: -65px;
	    left: -70Px;
	    --size: 90px;
	    width: var(--size);
	    height: var(--size);
	    background: url(../images/emphase.png);
	    background-position: center;
	    background-repeat: no-repeat;
	    background-size: contain;
	}
	#headerHome-accroche:before{
	    right: initial;
	    transform: scaleX(-1);
	}
	#headerHome-accroche:after{
		left: auto;
		right: -70Px;
	}
}

@media(min-width: 1025px){
	/*-----------------*/
    /* ELEMENTS */
    /*-----------------*/
	.title.tar:not(.no-after):after{
		left: auto;
		right: 0;
	}
	
    /*-----------------*/
    /* HEADER */
    /*-----------------*/
	.safari #header-coordonnees > div{white-space:nowrap}
    #header-coordonnees {
        background-color: var(--tertiary-color);
        padding: 15px 10px;
        border-bottom: solid 1px #ffffff30;
    }

    #header-coordonnees #header-social{margin-left: auto;}
	
    #header-coordonnees > div:not(:first-child){margin-left: 30px;}
    #header-coordonnees > div:nth-child(-n + 2){
        padding-right: 40px;
        border-right: solid 1px #ffffff30;
    }
    #header-coordonnees > div :is(span, .horaires.nomodal .titlehoraires){
        font-family: var(--font-title);
        font-size: 10px;
        color: var(--white);
    }
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	#navprimary .navigtoogle.lang{
	    position: absolute;
	    top: -72px;
	    right: 135px;
	    max-width: 105px;
	    z-index: 2;
	}

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

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

    .home #content .eb-wrapper-inner-blocks {
        width: 65%!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
    }

	/*-----------------*/
	/* PARTENAIRES */
	/*-----------------*/
	#partenaires {padding: 50px 15px;}
	#partenaires .ckslidercontrols .next, 
	#partenaires .ckslidercontrols .prev{
	    top: 50%;
	    transform: translateY(-50%);
	    bottom: auto;
	}
	#partenaires .cksliderwrap{padding: 0 40px;}
	#partenaires .ckctrldiv{display: none;}

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

    #news .left {
        padding-left: 30px;
        max-width: 500px;
        margin-left: auto;
        z-index: 2;
        width: 100%;
    }
	#news .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);
	}
	#news .wrapperActu{padding-top: 40px;}

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

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

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

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

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

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
    .home #prestations {padding: 140px 0;}
    .widget_parentpage {gap: 0 !important;}
	.bloc_prestations.hiddenChild:hover {background: var(--light-color)}
	.home .bloc_prestations.hiddenChild:hover {background: rgb(0 0 0 / 33%);}
	.bloc_prestations.hiddenChild:hover h3 {color: var(--primary-color);}

    #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-title);
        z-index: 2;
        color: var(--primary-color);
        border-bottom: 2Px solid var(--primary-color);
        line-height: 1;
    }
	.prestations-img::after{
        content: "";
        position: absolute;
        top: -40Px;
        right: -130px;
        background: url(../images/emphase.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        --size: 90px;
        width: var(--size);
        height: var(--size);
    }

    .bloc_prestations {
        width: 70%;
        transition: all 1s, background 0.4s;
        display: block;
        overflow: hidden;
        border-left: 1Px solid #47474754;
    }
	.home  .bloc_prestations { border-left-color: #ffffff54;}

    .prestations-title h3::after {
        content: "+";
        display: inline-block;
        margin-left: 10px;
        font-family: var(--font-text);
        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: 26px;
        display: flex;
        transform: rotate(270deg);
        transform-origin: 0 5%;
        white-space: nowrap;
        align-items: center;
        position: relative;
        left: 23px;
        bottom: -29px;
        text-transform: uppercase;
        font-weight: bold;
        letter-spacing: 3px;
    }

    .prestations-content {
        display: grid;
        align-content: end;
        min-width: 350px;
    }

	/*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	.home #reassurances {
        padding-bottom: 150px;
        padding-top: 100px;
    }


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

    /*-----------------*/
	/* CTA */
	/*-----------------*/
	#cta{
		position: absolute;
		left: 20.4%;
		max-width: 370px;
		top: 0;
		padding: 45px 35px;
		text-align: left;
	}
	
	#cta .sociblock .share-buttons{justify-content:flex-start;}
	
	/*-----------------*/
	/* GALLERY FOOTER */
	/*-----------------*/
	#galleryFooter .gallery .gallery-item:nth-child(11n + 1){grid-column: span 2}
	#galleryFooter .gallery .gallery-item:nth-child(11n + 6){
		grid-row: span 2;
		grid-column: span 2
	}
	
	#galleryFooter .gallery .gallery-item:nth-child(11n + 8){grid-column: span 2}
	#galleryFooter{
		padding-top: 81px;
		margin-top: -80px;
		padding-bottom: 1px;
	}
	#galleryFooter:before{
		background: var(--background-color);
		top: 80px;
		height: calc(100% - 80px);
	}

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerForm #wrapperForm{
		max-width: 750px;
		padding: 110px 60px;
		margin: 0 auto;
	}
	#footer-coordonnees{border-bottom-left-radius: 40%;}

}

@media(min-width: 1281px){
	/*-----------------*/
	/* HEADER */
	/*-----------------*/
	#header-coordonnees > div br {display: none;}
	#header-coordonnees > div:not(:first-child){margin-left: 30px;}

	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	#navprimary .navigtoogle.lang{
	    top: -62px;
	}

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

	
	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
    .prestations-title h3{left: 43px;}
	
    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections{padding: 120px 0 220px;}
	.section_thumb {width: 40%;}
    .section_txt {width: 58%;}
}

@media(min-width: 1481px){
	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
    .home #prestations {padding: 120px 100px;}
	.bloc_prestations {width: 60%;}
	
    /*-----------------*/
	/* 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){
	/*-----------------*/
	/* NAVPRIMARY */
	/*-----------------*/
	#navprimary .navigmenu .naviglink.lvl-0.item-logo span{
	    width: 180px;
	    height: 120px;
	    background-size: 90%;
	}
	#navprimary .navigmenu .naviglink.lvl-0.item-logo{margin: 0 10px;}
	.navigmenu .naviglink.lvl-0{font-size: 14px;letter-spacing: 0;padding: 20px 10px;}
	.safari .navigmenu .naviglink.lvl-0{letter-spacing: -1px;}
	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content:before{
    height: 60%;
}
	
    /*-----------------*/
	/* 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;	}

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerForm #wrapperForm{padding: 80px 30px 80px 20px;}
	#footer-coordonnees #coordonnees-item{margin-left: 30px;}
}

@media(max-width: 1024px){
	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-content{padding-top: 150px;}
	.marque-alsace.big{
		width: 57px;
		height: 45px;
	}
	
	/*-----------------*/
    /* 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 */
	/*-----------------*/
	#news{
		padding-bottom: 20px;
		box-shadow: 0 0 20px #7e72726e;
		background: var(--white);
	}
	#news .wrapActu{grid-gap: 40px;}

	/*-----------------*/
    /* PARTENAIRES */
    /*-----------------*/
	#partenaires .col.c3{
	    display: grid;
	    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	}
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #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;
    }
	
	/*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	.home #reassurances{padding-bottom: 130px;}
	.picto-container li p{
	    font-size: 13px;
	    letter-spacing: 0.5px;
	}
	
	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	.template-parent-page-php #prestations {padding-top: 20px;}
	.home #prestations::before {background-size: 50%;}
    .bloc_prestations h3 {margin-top: 0;}
	.prestations-content .button:not(.cf_submit){ --size: 60px;}
    
    /*-----------------*/
    /* GALLERY FOOTER */
    /*-----------------*/
	#galleryFooter .gallery {
		grid-template-columns: repeat(4,1fr);
		grid-auto-rows: 160px;
	}
	#galleryFooter .gallery .gallery-item.empty-item{display: none;}
	#galleryFooter .gallery .gallery-item:nth-child(11){grid-column: span 2;}

	/*-----------------*/
    /* CTA */
    /*-----------------*/
	#cta{
	    margin-top: -60px;
	    font-size: 14px;
	}
	#cta .title h2{font-size: 20px;}
	#cta #cta-buttons{justify-content: center;}

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerForm #wrapperForm{padding: 100px 60px;}
	#footer-coordonnees #coordonnees-item{
		margin: 70px auto;
		border-radius: 10px;
		padding: 10px 20px;
		max-width: 270px;
		width: 100%;
	}
	#footerLinks > .wrappercontent {flex-direction: column;}
	#footerLinks{ padding: 30px 15px 100px;}
	
	#footerForm #wrapperForm .mention{
		text-align: center;
		padding: 10px 0 15px;
		font-size: 12px;
	}
	#footerLinks{flex-direction: column}
}

@media(max-width: 767px){
	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-content{padding-top: 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}

	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#listarticles .listedarticle .tc_excerpt{font-size: 15px;}
	#news{padding-bottom: 0;}
	
	#news .wrapper_inner_slider {padding: 30px 0;}
	#news .content_slider {padding: 20px 0 0;}
	#news .content_slider::before {
        left: 50%;
        transform: translateX(-50%);
        top: 200px;
    }
	.thumbnail_slider {height: 250px;}

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

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
    .prestations-content .content_link, .prestations-content .tc_excerpt{font-size: 14px;}
	.home #prestations::before {background-size: 70%;}
	
    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections .section_title {padding: 50px 20px 0}
	.section_thumb{grid-auto-rows: 300px;}
	#sections .tertiarythumb{height: 200px;}
    
    /*-----------------*/
	/* GALLERY FOOTER */
	/*-----------------*/
	#galleryFooter .gallery {
		grid-template-columns: repeat(3,1fr);
		grid-auto-rows: 120px;
	}

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerForm #wrapperForm{padding: 50px 20px 60px;}
	#footerLogo{margin-bottom: 15px;}
	.footerLinks-wrapper{flex-direction: column;}
}

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