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

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

@media(min-width: 1025px){
	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-title{min-width: 670px;}
	
    /*-----------------*/
    /* CONTENT */
    /*-----------------*/
    .home #content {padding: 150px 0 100px;}

    .home #content .eb-wrapper-inner-blocks {
        width: 86%!important;
        max-width: 1200px;
    }
	.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
    }

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

    #news .left {
        padding-left: 30px;
        max-width: 500px;
        margin-left: auto;
        z-index: 2
    }
	#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);
		text-transform: uppercase;
		-webkit-font-smoothing: initial;
		letter-spacing: 0.5px;
	}
	#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(--tertiary-color);
        width: calc(100% + 200Px);
        height: calc(100% + 150px);
        left: initial;
        right: 0;
        top: -50px
    }

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

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

}

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

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

@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){
	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news .wrapActu{grid-gap: 30px;}
}

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

	/*-----------------*/
    /* HEADER */
    /*-----------------*/
	#logo{
	    margin-bottom: -80px;
	    padding: 10px;
	}
	#navprimary .marque-alsace{
	    order: -1;
	    margin: 0 8px 0 0;
	}
	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	.prestations-wrapper .prestations-img{order: -1;}

    /*-----------------*/
    /* 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;}
	.title_link_slider{color: var(--title-color);}
	.text_slider, .text_slider a{color: var(--text-color);}
	#news .next_slider .animated-arrow{color: var(--title-color);}
}

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

	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-text{font-size: 14px;}

	/*-----------------*/
    /* HEADER */
    /*-----------------*/
	#logo{margin-bottom: -70px;	}

    /*-----------------*/
    /* 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: 35px 0 0;}
	#news .content_slider::before {
        left: 50%;
        transform: translateX(-50%);
        top: 200px;
        color: var(--primary-color);
        opacity: 0.2;
    }
	.thumbnail_slider {height: 250px;}

}

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