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

@media(min-width: 768px){
	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news .wrapper_slider:first-of-type {
        grid-column:span 2;
        grid-row: span 3
    }
    #news .wrapper_slider:first-of-type .content_slider .title {
        min-width: 600px;
        position: relative;
        z-index: 2
    }
    #news .wrapper_slider:first-of-type .title_slider {
        font-size: 43px;
        text-shadow: 0 0 8px var(--black);
        margin-bottom: 15px!important;
    }
    #news .wrapper_slider:first-of-type .wrapper_inner_slider { display: flex   }
    #news .wrapper_slider:first-of-type .thumbnail_slider {
        order: 2;
        height: 650px;
        width: 50%
    }
    #news .wrapper_slider:first-of-type .content_slider {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end
	}
    #news .wrapper_slider:first-of-type .text_slider,
	#news .wrapper_slider:first-of-type .text_slider a {
        max-width: 80%;
        font-size: 18px;
    }

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

@media(min-width: 1025px){
  

    /*-----------------*/
	/* NAVPRIMARY */
    /*-----------------*/
    #navprimary{/* background: var(--white); */border-bottom: solid 1px #dfdfdf;}

	#headerHome-content{
    padding-top: 110px;
}
    /*-----------------*/
	/* INTRO / CONTENT */
    /*-----------------*/
    .home #content {
        overflow: hidden;
        padding-bottom: 180px;
        padding-top: 150px;
    }
	.home #content .wp-block-media-text__content{
    padding-right: 80px;
}
	.home #content .title{
	    max-width: 690px;
	    margin: 0 auto 60px;
	}
    .home #content .blocthumb {
		height: 460px;
		max-width: 740px;
		margin: 0 auto;
	}

    .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;
	    overflow: hidden;
	}
   .home #content .tertiarythumb {
	    width: 10.7%;
	    height: 240px;
	    top: 340px;
	    left: 5%;
	    z-index: 1;
	}

    .home #content .quaternarythumb {
	    left: auto;
	    right: 0;
	    width: 9.5%;
	    top: 175px;
	    height: 400px;
	}
	
    .home #content .specialthumb {
	    width: 20%;
	    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!important;}

    /*-----------------*/
    /* GALLERY HOME */
    /*-----------------*/
    #galleryHome{margin: 200px 0 50px;}
    #galleryHome .gallery {
        grid-gap: 27px;
        grid-template-columns: repeat(32,1fr);
        grid-template-rows: repeat(13,52px);
    }
   
    #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;
        height: 210px;
		width: 20.8% !important;
        bottom: 0;
        right: 0;
    }

	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	.home #reassurances {padding-bottom: 200px;}

    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections{padding: 50px 0;}
	#sections .section_txt .wrap-text {
		padding: 40px 50px;
		position: relative;
		max-width: 770px;
	}
	#sections .sectionsbloc{margin: 150px 0;}
	#sections .sectionsbloc.odd .section_txt .wrap-text{ margin-left: auto;}
	
	#sections .section_thumb .blocthumb {
	    height: 100%;
	    overflow: hidden;
	    position: relative;
	    width: 80%;
	}
	
	#sections .section_thumb .specialthumb {
	    position: absolute;
	    top: 190px;
	    right: 5%;
	    width: 30%;
	    height: 350px;
	}
	#sections .sectionsbloc.even .section_thumb .specialthumb {
		left: 5%;
		right: auto;
	}
	#sections .sectionsbloc.even .section_thumb .blocthumb{margin-left: auto;}

	/*-----------------*/
    /* ACTU */
    /*-----------------*/
	#news{padding: 150px 30px;}

    /*-----------------*/
	/* CTA */
	/*-----------------*/
	#cta{
		position: absolute;
		left: 20.4%;
		max-width: 380px;
		top: 0;
		padding: 50px 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: 80px;}

	.home #footer{margin-top: -79px;}
}

@media(min-width: 1281px){
    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
	.home #content .blocthumb {max-width: 840px;}
	.home #content .title{max-width: 860px;}
	
    .home #content .homeContent-img .wp-block-image {padding-left: 50px;}
	.home #content .quaternarythumb {width: 12.5%;}

    .home #content .specialthumb {
	    width: 29%;
	    left: -26%;
	    bottom: -320px;
	    height: 400px;
	}

	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	#reaCenter {
        --size: 360px;
        width: var(--size);
        height: var(--size);
        top: 0;
        position: relative
    }

    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections .section_txt .wrap-text {padding: 60px 70px;}
	#sections .section_thumb .blocthumb {width: 70%;}
	#sections .section_thumb .specialthumb{right: 15%;}
	#sections .sectionsbloc.even .section_thumb .specialthumb {left: 15%;}

	/*-----------------*/
    /* ACTU */
    /*-----------------*/
	#news .wrapper_slider:first-of-type .text_slider a {
        line-height: 1.4;
        font-size: 19px;
    }
	#listarticles{column-gap: 50px;}
}

@media(min-width: 1481px){
    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
	.home #content .tc_content{padding-left: 12%;}
	.home #content .blocthumb {max-width: none}
	.home #content .specialthumb {
		width: 27%;
		left: -30%;
	}
    
    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections .section_txt .wrap-text {width: 90%;}
}

@media(min-width: 1681px){
    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
	.home #content .homeContent-img .wp-block-image {padding-left: 100px;}
	.home #content .specialthumb {
		width: 35%;
        left: -42%;
	}
    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections .section_txt .wrap-text {width: 80%;}
}

@media(min-width: 1881px){
	/*-----------------*/
    /* 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){
    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
	.home #content .wrappercontent.medium{max-width: 950px;}
}

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

@media(max-width: 1024px){
	/*-----------------*/
	/* LOADER */
	/*-----------------*/
	#loader-wrapper svg{width: 200px}
	
	/*-----------------*/
	/* HEADER */
	/*-----------------*/
	#headerLogo {
        display: grid;
        grid-template-areas:
            ".       logo   autotraduction   infoToogle";
        grid-template-columns: 65px 1fr 115px 45px;
        padding: 15px 20px;
    }
	
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	#navprimary .ckmenu {
        position: absolute;
        top: 28px;
        left: 20px;
        z-index: 30;
    }

	#headerHome-content{
    padding-top: 100px;
}
	
    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
    .home #content .wp-block-columns {flex-wrap: wrap !important;}

    .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: 60px;
	    padding: 0 2px;
	}

	.home #content :is(.tertiarythumb, .quaternarythumb) {margin: 0;}

    /*-----------------*/
    /* GALLERY HOME */
    /*-----------------*/
	#galleryHome{padding-top: 2px;}
	#galleryHome .gallery .gallery-item:nth-child(11){grid-column: span 2;}

	/*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	.picto-container li p{font-size: 13px;}
	
	#reaCenter{--size: 300px;}
	.home #reassurances{
    padding-bottom: 120px;
}

    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	.sectionsbloc .section_thumb {
	    display: grid;
	    grid-template-columns: 1fr 1fr;
	}

	.sectionsbloc .section_thumb > div{height: 100%;}

	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	
	#news .content-news {grid-gap: 0 30px}
	#news:after{content: none;}
	#news {
		padding: 120px 15px;
		margin: 0;
	}
	#news .wrapper_slider{
	    padding-bottom: 20px;
	    margin-bottom: 20px;
	}
	#news .title_slider{font-size: 20px;}
    #news .wrapper_slider:first-of-type .text_slider,
	#news .wrapper_slider:first-of-type .text_slider a {line-height: 1.5;}
    #news .wrapper_slider:first-of-type .content_slider .title { min-width: 170%}
    #news .wrapper_slider:first-of-type .title_slider {font-size: 32px;}

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

	/*-----------------*/
	/* PARTENAIRES */
	/*-----------------*/
	#content .gridReferences{
	    grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#imageFooter{text-align: center;}
	#footerLinks{flex-direction: column}
	.home #footer{
    margin-top: -50px;
}
}

@media(max-width: 767px){
	/*-----------------*/
	/* LOADER */
	/*-----------------*/
	#loader-wrapper svg{width: 150px}
	/*-----------------*/
	/* HEADER */
	/*-----------------*/
	#headerLogo {
        padding: 14px 10px;
        grid-template-areas:
            ".       logo      infoToogle"
            "autotraduction   autotraduction     autotraduction";
        grid-template-columns: 45px 1fr 45px;
        justify-items: center;
    }
	#autotraduction {
        width: 100%;
        margin: 15px 0 0 0;
        order: 1;
    }
	#header-coordonnees{
	    right: -280px;
	    width: 280px;
	    padding: 70px 20px 65px;
	}
	/*-----------------*/
	/* NAVPRIMARY */
	/*-----------------*/
	#navprimary .ckmenu {
        top: 20px;
        left: 10px;
    }

	#headerHome-content{
    padding-top: 120px;
}
	
    /*-----------------*/
    /* INTRO / CONTENT */
    /*-----------------*/
	.home #content :is(.blocthumb, .specialthumb, .tertiarythumb, .quaternarythumb){margin-bottom: 5px;}
	.home #content :is(.blocthumb, .specialthumb, .tertiarythumb, .quaternarythumb) {height: 200px;}

	/*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	#reaCenter{
	    border-radius: 0;
	    --size: 200px;
	    order: -1;
	    width: 100%;
	    margin-bottom: 30px;
	    background-position: center 20%;
	}
	.picto-container{
	    max-width: 440px;
	    margin: 0 auto;
	}

	/*-----------------*/
	/* ACTU */
	/*-----------------*/
    #news .wrapper_slider:first-of-type .wrapper_inner_slider {
        display: flex;
        flex-direction: column-reverse
    }
	#news .wrapper_slider:first-of-type .content_slider .title { min-width: auto}
	
    #news .title_slider,
	#news .wrapper_slider:first-of-type .title_slider {font-size: 20px;}

    #news .next_slider { margin-top: -10px   }

    #news .wrapper_slider:first-of-type .thumbnail_slider {
        height: 200px;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    #news .content-news {grid-gap: 20px 0;}
    #news {padding: 70px 15px 100px;}
	#listarticles{
		column-count: 2;
		column-gap: 20px;
	}
	#content  .wp-block-uagb-post-grid.newsGrid .uagb-post__title{font-size: 20px;}
    
    /*-----------------*/
	/* GALLERY FOOTER */
	/*-----------------*/
	#galleryFooter .gallery {
		grid-template-columns: repeat(3,1fr);
		grid-auto-rows: 120px;
	}

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#imageFooter{
		margin-top: 20px;
		max-width: 500px;
	}

	#footerCoordonnees > div, 
	#footerCoordonneesBis > div{
	    max-width: 270px;
	    margin: 23px auto;
	    width: 100%;
	}

	/*-----------------*/
	/* PARTENAIRES */
	/*-----------------*/
	#content .gridReferences{
	    grid-template-columns: repeat(4, minmax(0, 1fr));
	    row-gap: 10px;
	    column-gap: 10px;
	}
}

@media(max-width: 480px){
	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#listarticles{
		column-count: 1;
	    column-gap: 0;
	}
	/*-----------------*/
	/* PARTENAIRES */
	/*-----------------*/
	#content .gridReferences{
	    grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}