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

@media(min-width: 768px){
	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations{padding: 50px 0 200px;}
	
	#prestations .bloc_prestations:first-child{
		grid-row: span 2;
		grid-template-rows: 1fr;
		align-items: center;
		margin-top: -250px;
	}
	#prestations .bloc_prestations:first-child .prestations-wrapper{
		max-width: 400px;
		width: 100%;
		margin: 0 auto;
		
		left: -25px;
	}
	#prestations .bloc_prestations:first-child .prestations-img{
		border-radius: 50% 50% 0 0 / 30% 30% 0 0;
		height: 400px;
	}
	#prestations .bloc_prestations:nth-child(2){
		max-width: 92%;
		width: 100%;
		margin-left: auto;
	}
	#prestations .bloc_prestations:nth-child(3){margin-left: -70px;}
	#prestations .bloc_prestations:nth-child(3) .prestations-img{
		border-radius: 30% 0 30% 0 / 30% 0 35% 0;
		max-width: 500px;
	}

	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#infoadresseFooter br{display: none;}
}

@media(min-width: 1025px){
	/*-----------------*/
	/* HEADER */
	/*-----------------*/
	#header-coordonnees{background: var(--title-color);padding: 10px;}
	#infoouverture{display: none;}
	#header-coordonnees > div br{display: none;}
	#infotelport{
	    margin-left: auto;
	    margin-right: 0px;
	}
	#infoadresse span{
		display: inline-block;
		padding: 0;
	}
	#infoadresse span:after{content: " :"}
		
	/*-----------------*/
	/* NAVPRIMARY */
	/*-----------------*/
	#navprimary .navigmenu .naviglink.lvl-0.item-logo:after {
        content: "";
        clip-path: polygon(100% 0, 100% 81%, 50% 100%, 0 80%, 0 0);
        position: absolute;
        width: 240px;
        height: 260px;
        left: 50%;
        transform: translateX(-50%);
        top: -61px;
        z-index: 0;
        background: #ffe4e1;
    }
	
	/*-----------------*/
	/* CONTENT */
	/*-----------------*/
	.home #content {padding: 120px 0 0;}

    .home #content .eb-wrapper-inner-blocks {
        width: 73%!important;
        padding-right: 90px;
        max-width: 1000px;
        padding-left: 60px;
    }

    .home #content .wp-block-gallery {
        margin-bottom: -350px!important;
        display: grid;
        transition: .6s;
        grid-template-columns: repeat(18,1fr);
        grid-gap: 60px;
        grid-auto-rows: 164px;
        grid-auto-flow: row dense
    }

    .home #content .wp-block-gallery .gallery-item {
        grid-column: span 4;
        width: 100%!important;
        grid-row: span 2
    }


    .home #content .wp-block-gallery .gallery-item:nth-child(1) {
        grid-column: span 4;
        grid-row: span 2
    }

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

    .home #content .wp-block-gallery .gallery-item:nth-child(2) {
        grid-column: span 10;
        padding-top: 100px;
        grid-row: span 3
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(3) {
        padding-top: 165px;
        padding-left: 100px
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(4) > a {
        height: 59%!important;
        width: 63%!important;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(4) {
        grid-column: span 5;
        top: -145px;
        grid-row: span 2;
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(5) {
        grid-column: span 13;
        top: -226px
    }

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

	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	#prestations .bloc_prestations:first-child{margin-top: -200px;}
	#prestations .bloc_prestations .prestations-img{height: 500px;}
	#prestations .bloc_prestations:first-child .prestations-img{height: 600px;}
	#prestations .bloc_prestations:nth-child(3){margin-left: -100px;}

	
    /*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	#reassurances .picto-container .picto-bloc.picto-bigImg {
	    grid-column: span 2;
	    display: block;
	}
	
	#reassurances .picto-container .picto-bloc:nth-child(5) .picto-content  {order: 2}
	#reassurances .picto-container .picto-bloc:nth-child(6) .picto-content  {order: 0}

    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections{padding: 100px 0 240px;margin-bottom: -79px;}
    .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: 40%;
        height: 240px;
        border: solid 10px var(--light-color);
    }
    .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 */
	/*-----------------*/
	#news .title_slider{
    font-size: 26px;
}
	.wrapActu {padding-top: 230px;    }

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

	/*-----------------*/
	/* CTA */
	/*-----------------*/
	#cta{
		position: absolute;
		left: 15.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;margin-top: -80px;padding-bottom: 1px;}
	
	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	.wrapperFooter {
        margin-top: -125px;
        padding: 50px;
        width: 94%
    }
	body:not(.template-contact-php) #footer #footerbloc {
        padding: 120px 20px;
        padding-bottom: 250px
    }

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

}

@media(min-width: 1281px){
    /*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	.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){}

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

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

@media(max-width: 1280px){
	 /*-----------------*/
	/* HEADER */
	/*-----------------*/
	#navprimary .navigmenu .naviglink.lvl-0.item-logo span{
		padding: 0!important;
		width: 140px!important;
		height: 120px!important;
		top: -78px!important;
	}
	#navprimary .navigmenu .naviglink.lvl-0.item-logo:after{
		width: 170px!important;
		height: 180px!important;
		top: -76px!important;
	}
	#navprimary .navigmenu .naviglink.lvl-0:not(.button) {
        font-size: 14px;
        padding: 30px 12px;
    }

	
    /*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	#reassurances .picto-content{padding: 30px 20px;}

    /*-----------------*/
	/* 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 */
    /*-----------------*/
	.wrapperFooter {
	    padding: 70px 25px;
	    grid-gap: 0!important;
	}

}

@media(max-width: 1024px){
	/*-----------------*/
    /* HEADER */
    /*-----------------*/
	#header-coordonnees .flex{
		flex-direction: column;
	}

	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	#navprimary .navigmenu .naviglink.lvl-0:not(.button) {
	    font-size: 15px;
	    padding: 10px 15px;
	   }

	
	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content{padding-bottom: 20px;}

	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	#prestations .widget_parentpage {gap: 50px 20px;}
	#prestations .bloc_prestations{transform: none!important;}
	#prestations .prestations-content h3{
		font-size: 18px;
		min-width: max-content;
	}
	
    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
    #reassurances .picto-container li p strong {
		font-size: 13px;
		letter-spacing: 0.5px;
	}
	#reassurances .picto-bigImg{display: none!important;}
	#reassurances .picto-content {padding: 20px 15px;}
	#reassurances .picto-container li p {font-size: 14px;margin: 10px 0 0 0;}
    #reassurances .picto-container li p strong {font-size: 12px;}

    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	#sections{
    margin-bottom: 50px;
}
    #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;
	}

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

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

    #news .content_slider {
        display: grid;
        justify-content: center;
        justify-items: center;
        text-align: center;
        padding: 20px 0;
    }

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

	/*-----------------*/
    /* 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 #cta-button{justify-content: center;}
	#cta .title h2{font-size: 20px;}
}

@media(max-width: 767px){
	/*-----------------*/
    /* LOADER */
    /*-----------------*/
	.ajax-loader{
		transform: rotate(90deg) scale(0.7);
	}

	/*-----------------*/
    /* HEADER */
    /*-----------------*/
	#logo a:after{
		width: 130px;
		height: 185px;
		top: -61px;
	}

	/*-----------------*/
    /* NEWS */
    /*-----------------*/
	.thumbnail_slider{
    height: 250px;
}
	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content{padding-bottom: 20px;}
    .home #content .wp-block-gallery {
        grid-template-rows: repeat(3,150px);
        grid-gap: 5px;
        grid-template-columns: repeat(2,1fr);
        display: grid
    }

    .home #content .wp-block-gallery .gallery-item {
        grid-column: span 1!important;
        grid-row: span 1!important;
        width: auto!important
    }

    .home #content .wp-block-gallery .gallery-item:nth-child(5) {grid-column: span 2!important;}
	
	.home #content .eb-wrapper-outer{
		padding: 25px 10px 0!important;
		margin: 0;
	}

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .widget_parentpage {gap: 10px;}
	#prestations .bloc_prestations{padding-left: 40px;}
	#prestations .prestations-content h3{font-size: 16px;}
	
    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	.nohome #reassurances{padding: 50px 0;}
	#reassurances .picto-container {
        grid-template-columns: repeat(1,1fr);
        grid-auto-rows: auto
    }

    #reassurances .picto-container .picto-bloc {
        grid-template-rows: repeat(1,1fr);
        grid-template-columns: repeat(2,1fr)
    }

    #reassurances .picto-content {padding: 30px 15px;}

    /*-----------------*/
	/* 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 */
    /*-----------------*/
	#footer #footerbloc>.wrappercontent {
	    grid-template-areas:
	        "infoadresseFooter"
	        "infotelportFooter"
	        "infoouvertureFooter";
	    grid-template-columns: 1fr;
	    grid-row-gap: 20px;
	}
	.wrapperFooter {padding: 40px 15px}
}

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