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

@media(min-width: 768px){
	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news{padding: 0 0 60px 50px;}
	#news .wrapper_slider:first-child .thumbnail_slider {height: 600px;}
	#news .wrapper_slider:first-child .content_slider {
		top: -50px;
		position: absolute;
		z-index: 3;
		padding: 40px 30px;
		max-width: 450px;
		left: -50px;
	}
	#news .wrapper_slider:first-child .title_slider {font-size: 30px;}

	.home #prestations{
    padding-bottom: 100px;
}

	/*-----------------*/
	/* PARTENAIRES */
	/*-----------------*/
	#partenaires #partenaires-header {margin-bottom: 100px;}
    #partenaires-intro {padding-left: 60px}
}

@media(min-width: 1025px){
	/*-----------------*/
    /* HEADER */
    /*-----------------*/
	#header-coordonnees::before {
	    border: 1px solid rgb(255 255 255 / 40%);
	    border-top: none;
	    box-sizing: border-box;
	    border-radius: 50px;
	    border-top-left-radius: 0;
	    border-top-right-radius: 0;
	}

	#logoCoordonnees {grid-row: span 2;	}
	#logoCoordonnees img{width: 280px;}
	#infoadresse br {display: none;  }

	#header-coordonnees>:nth-child(1) {
	    order: -1;
	    align-items: flex-end
    }


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

	
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	#navprimary {
	    border-bottom: 1px solid rgb(255 255 255 / 40%);
	    position: relative;
	}
	
	/*-----------------*/
    /* HEADERHOME + BANNER */
    /*-----------------*/
	#headerHome-gallery{margin-top: 137px;}
	#headerHome .overlay{background: radial-gradient(at center , var(--overlay-color) 40%, var(--black));}

	#headerHome-accroche{
	    max-width: 800px;
	    margin: 0 auto;
	}

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
    .home #prestations {padding: 120px 0 140px;}
    .widget_parentpage {gap: 0 !important;}
	.bloc_prestations.hiddenChild:hover {background: var(--light-color)}
	.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;
    }

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

    .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: 2em;
        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: 2px;
    }

    .prestations-content {
        display: grid;
        align-content: end;
        min-width: 350px;
    }
	
    /*-----------------*/
	/* CONTENT */
	/*-----------------*/
	.home #content{padding: 100px 0 120px;}
        
    .home #content #content_title{
    	margin-bottom: 80px;
    	padding: 0 20px;
    }
    .home #content #content_txt{padding: 40px 40px 40px 0;}
    .home #content #content_txt .wrap-text {
        max-width: 43%;
        margin-left: auto;
    }
    .home #content #content_txt .specialthumb{
        position: absolute;
        left: 0;
        top: 0;
        width: 43%;
        height: 85%;
    }
    .home #content #content_txt .tertiarythumb {
        position: absolute;
        --size: 173px;
        bottom: 50px;
        left: 26%;
        width: var(--size);
        height: var(--size);
        overflow: hidden;
        border: solid var(--white) 10px;
    }
    .home #content #content_thumb .blocthumb{
    	height: 80%;
    	top: 10%;
    	position: relative;
    	margin-left: auto;
    	width: 89%;
    }
	
	/*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	.home #reassurances{padding: 140px 15px 240px;}
	
	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news .content_slider {padding: 0 20px;}
	#news{padding: 130px 0 60px 10vh;}
	#news .content-news {
	    padding-right: 30px;
	    grid-gap: 30px 0;
	}
	#news .wrapper_slider:first-child {
		grid-column: span 3;
		width: calc(100% + 30px);
	}
	
	#news .wrapper_slider:first-child .thumbnail_slider {height: 800px;}
	#news .wrapper_slider:first-child .title_slider{font-size: 35px;}

	#news .wrapper_slider:first-child .content_slider {
	    top: -10vh;
	    max-width: 670px;
	    left: -11vh;
	    padding: 15vh 50px 90px 15vh;
	}
	/*-----------------*/
	/* PARTENAIRES */
	/*-----------------*/
    #partenaires .title h2 {font-size: 42px;}
	
	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections {padding: 100px 30px 120px;}

    .section_txt .wrap-text .title {
        left: -25%;
        width: 124%;
        margin-bottom: 60px
    }
    .sectionsbloc {padding: 80px 0 40px}

    #sections .section_thumb {
        width: 35%;
        z-index: 3;
        order: 2;
    }

    #sections .section_thumb .blocthumb {
        overflow: hidden;
        width: 100%;
        height: 100%;
        clip-path: inset(0 0 0 0);
        -webkit-clip-path: inset(0 0 0 0)
    }

 
    .section_thumb .specialthumb {
        position: absolute;
        bottom: -70px;
        left: -50px;
        width: 135px;
        height: 160px;
        border-radius: 120px 120px 0 0;
        overflow: hidden
    }
    .section_txt .tertiarythumb {
        position: absolute;
        left: 0%;
        bottom: 6%;
        width: 20.5%;
        height: 34%;
    }

    #sections .section_txt {
        width: 65%;
        z-index: 2;
        position: relative;
        padding: 50px 40px 110px 0;
    }
    .section_txt .wrap-text {
        position: relative;
        max-width: 70%;
        margin-left: auto;
        padding: 0
    }
    .sectionsbloc::before {
        background: var(--overlay-color);
        width: 70%;
        height: calc(100% - 50px);
        top: 50px;
        left: 38%;
        transform: translateX(-50%)
    }

    .section_thumb {position: relative}

    .section_thumb::before {
        content: '';
        position: absolute;
        bottom: 20px;
        left: -40px;
        --size: 100px;
        width: var(--size);
        height: var(--size);
        z-index: 1;
        border: 2px solid var(--primary-color);
        box-sizing: border-box;
        border-radius: 100%;
    }

	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#footer:before,
	#footer:after{
	    height: 500px;
	    top: 90px;
	}
	.wrapperContact{
		width: 90%;
		overflow: hidden;
	}
	.home #footer{margin-top: -90px;}
	#infoadresseFooter br{display: none;}
}

@media(min-width: 1281px){
	/*-----------------*/
	/* CONTENT */
	/*-----------------*/
    .home #content #content_txt .tertiarythumb {
        --size: 213px;
        left: 26%;
        bottom: 0;
    }

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
    .prestations-title h3{left: 43px;}

	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news {padding: 126px 10vh 60px;}
	#news .content_slider {padding: 0;}
	#news .content-news {
	    padding-right: 200px;
	    grid-gap: 30px 60px;
	}
	#news .wrapper_slider:first-child {width: calc(100% + 200px);}
	#news:before{
		background-image: url(../images/light-pattern.jpg);
		background-position: 0px 0px;
		background-repeat: repeat;
		height: 55%;
		width: 70%;
		left: auto;
		right: 0;
	}
	#news:after {
		top: auto;
		left: auto;
		right: 0;
		width: 260px;
		height: 45%;
		background: var(--tertiary-color);
		bottom: 0;
	}
	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	.sectionsbloc::before{left: 50%;}
    #sections {padding: 150px 50px 200px;}
    .section_txt .tertiarythumb {
        width: 29.5%;
        height: 50%;
    }
    .sectionsbloc {padding: 130px 0 100px;}

    #sections .section_txt {
        padding: 100px 160px;
        padding-left: 0;
        padding-bottom: 70px
    }
	.section_txt .wrap-text{max-width: 52%;}
	.section_thumb .specialthumb{
		bottom: 58px;
        left: -98px;
        width: 225px;
        height: 280px;
	}
	.section_thumb::before{bottom: 300px;}

}

@media(min-width: 1481px){
	/*-----------------*/
	/* CONTENT */
	/*-----------------*/
	.home #content #content_txt .tertiarythumb {--size: 263px;}

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
    .home #prestations {padding: 120px 100px 150px;}
	.bloc_prestations {width: 60%;}
	

	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	.section_txt .tertiarythumb{width: 34.5%;}
}

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

@media(min-width: 1881px){
	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	 .home #content #content_txt .tertiarythumb {left: 30%;}
	
	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	.section_txt .tertiarythumb{width: 36.5%;}
}

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

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

@media(max-width: 1280px){
	/*-----------------*/
	/* HEADER HOME */
	/*-----------------*/
	#headerHome .banner_img_1{
		width: 289px;
		height: 169px;
	}
	#headerHome .banner_img_2{
		width: 285px;
		height: 154px;
	}
	#headerHome .banner_img_3{
		width: 157px;
		height: 80px;
	}
	#headerHome .banner_img_4{
		width: 379px;
		height: 220px;
	}
	#headerHome .banner_img_5{
		width: 189px;
        height: 110px;
	}
	
	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	#reassurances .picto-content {padding: 25px 15px;}
	
	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#choixSections .linkSections{padding: 5px 10px;}
	#choixSections .linkSections p{
	    padding: 0 20px;
	    font-size: 13px;
	}
}

@media(max-width: 1024px){
	/*-----------------*/
	/* ELEMENTS */
	/*-----------------*/
	#content .uagb-post__inner-wrap{width: calc(100% / 5);}

	/*-----------------*/
	/* HEADERHOME */
	/*-----------------*/
	 #headerHome-content {
        padding-bottom: 50px;
        padding-top: 80px;
    }

	/*-----------------*/
	/* CERTIFICATIONS */
	/*-----------------*/
	#certifications .widget_certifications .bloc_certifications{--size: 120px;}
	#certifications .widget_certifications{gap: 20px;}
	#certifications{
	    top: -60px;
	    margin-bottom: -60px;
	}

	
    /*-----------------*/
    /* CONTENT */
    /*-----------------*/
    .home #content #content_title{gap: 0;}
        
    .home #content #content_txt{
    	display: grid;
    	align-items: stretch;
    	grid-template-columns: repeat(2, 1fr);
    	gap: 2px;
    	padding-bottom: 2px;
	}
    .home #content #content_txt .wrap-text{
        grid-column: span 2;
        padding-bottom: 50px;
    }
    .home #content :is(.tertiarythumb, .specialthumb, .blocthumb){height: 300px;}

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
    .bloc_prestations h3 {margin-top: 0;}
	.prestations-content .button:not(.cf_submit){--size: 60px;}
	
	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
    #reassurances .picto-container li p strong {
		font-size: 14px;
	}

	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news .wrapper_slider{padding:0;}
	.thumbnail_slider {height: 250px;}
	.wrapper_slider:not(:first-child, :last-child) .wrapper_inner_slider {border-bottom: solid 1px rgb(0 0 0 / 10%);}
	#news .title_slider {font-size: 22px;}

	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	.wrap-text{margin: 0px auto;}

	#choixSections {display: none;}

	#sections .sectionsbloc {
	    flex-direction: column;
	    display: flex;
    }

    #sections .section_thumb {
	    display: grid;
	    align-items: stretch;
	    grid-template-columns: repeat(2, 1fr);
	    grid-auto-rows: 300px;
	    margin: 0 auto;
	    width: 100%;
	    z-index: 1;
	    order: 1 !important;
	    height: auto;
	}
  
    #sections .tertiarythumb {height: 300px;}

	/*-----------------*/
	/* PARTENAIRES */
	/*-----------------*/
	#partenaires {padding: 80px 25px 0;}

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerLinks{
		flex-direction: column;
        align-items: center;
	}
	#footer:before,
	#footer:after{content: none;}
	.imgContact {height: 300px;}
	
	#wrapperForm{padding: 40px 20px;}

}

@media(max-width: 767px){
	/*-----------------*/
	/* ELEMENTS */
	/*-----------------*/
	#content .uagb-post__inner-wrap{width: calc(100% / 3);}
	
    /*-----------------*/
    /* CONTENT */
    /*-----------------*/
     .home #content :is(.tertiarythumb, .specialthumb, .blocthumb){height: 200px;}

	/*-----------------*/
	/* CERTIFICATIONS */
	/*-----------------*/
	#certifications{
	    top: -50px;
	    margin-bottom: -50px;
	}
	#certifications .widget_certifications{gap: 10px;}
	#certifications .widget_certifications .bloc_certifications{--size: 100px;}
	#certifications .widget_certifications img{max-height: 60px;}
	#certifications .widget_element li .wrap-element{
    padding: 10px;
}

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
    .prestations-content .content_link, .prestations-content .tc_excerpt{font-size: 14px;}
	.home #prestations::before {background-size: 70%;}

	/*-----------------*/
    /* 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: 25px 10px;}
    #reassurances .picto-container li p {font-size: 14px;margin: 10px 0 0 0;}
    #reassurances .picto-container li p strong {font-size: 13px;}

	/*-----------------*/
	/* ACTU */
	/*-----------------*/
	#news{padding: 0;}
	#news .content_slider {padding:  20px 15px;}
	#news .title_slider {font-size: 20px;}
	#news .wrapper_slider:first-child .title_slider{font-size: 26px;}
	#news .wrapper_slider:not(:first-child) .text_slider{display: none;}
	.listedarticle .thumbnail_slider{height: 300px;}
	.listedarticle .content_slider{padding: 20px 15px;}
	#listarticles .listedarticle .tc_excerpt{display:none;}
	#listarticles .wrapper_inner_slider:hover .title_slider {transform: translateY(-30px);}
	#listarticles .wrapper_inner_slider:hover .wrap_slider {transform: translateY(-40px);}
	#news .wrapper_slider:first-child .text_slider{font-size: 15px;}
	#news .wrapper_slider:first-child .thumbnail_slider img{
		height: 100%;
		transform: none!important;
	}

	/*-----------------*/
	/* PARTENAIRES */
	/*-----------------*/
	#partenaires {padding: 50px 15px 0;}
	#partenaires-header{
		grid-gap: 20px;
		margin-bottom: 40px;
	}
	#partenaires .widget_partenaires li{min-height: 130px;}

}

@media(max-width: 480px){
	/*-----------------*/
	/* ELEMENTS */
	/*-----------------*/
	#content .uagb-post__inner-wrap{width: calc(100% / 2);}

	/*-----------------*/
	/* CERTIFICATIONS */
	/*-----------------*/
	#certifications {
        top: -35px;
        margin-bottom: -35px;
    }
	#certifications .widget_certifications .bloc_certifications {
		--size: 72px;
		padding: 14px;
	}
	#certifications .widget_certifications {gap: 5px; }
}