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

@media(min-width: 768px){
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	.prestations-img{
		position: absolute;
		left: 0;
		top: 5%;
		bottom: 0;
		height: 90%;
		width: 0;
		-webkit-transition: width 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
		transition: width 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
	}
	.bloc_prestations:hover .prestations-img{width: 15.22vw;}
	.bloc_prestations:hover .prestations-title{transform: translateX(16.5vw);}
	.bloc_prestations:hover .tc_excerpt{
		opacity: 0;
	    transform: translateX(15%);
	}

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

@media(min-width: 1025px){
    /*-----------------*/
    /* HEADER */
    /*-----------------*/
	#header{padding: 17px 10px;}
	#logoheader {width: 180px;}

	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	.home .navigmenu .navigtoogle.social{display: none;}
	.navigmenu .navigtoogle.social .naviglink.lvl-0{padding: 10px 5px;}
	.navigmenu{justify-content: flex-start;}

    /*-----------------*/
    /* HEADERHOME + BANNER */
    /*-----------------*/
	#headerHome,
	#banner{padding-top: 88px;}
	
	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-coordonnees{
		position: absolute;
		left: 0;
		bottom: 0;
		gap: 60px;
		padding: 20px 30px 20px 15px;
		width: 85%;
		justify-content: end;
	}
	#infoadresseHeaderHome br{display: none;}
    #headerHome{
       gap: 50px;
       padding-bottom: 100px;
    }
   
	#headerHome-pattern{
		top: 0;
		right: 0;
	    width: 100%;
	    height: 100%;
	    z-index: -1;
	}
	#headerHome-pattern:before{
		background: var(--tertiary-color);
		opacity: 0.8;
		z-index: 0;
	}
	#headerHome-pattern:after{background-image: url('../images/pattern.jpg');background-position: center;background-size: cover;}
    #headerHome:before{
        border: solid 1px var(--primary-color);
        right: 40px;
        z-index: 0;
        top: 50px;
        width: calc(15% - 41px);
        height: calc(100% - 100px);
        border-left: none;
        left: auto;
    }
    #headerHome-pattern{
        background: var(--tertiary-color);
        width: 15%;
    }
    #headerHome-content{
        right: 0;
        left: 0;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        padding: 140px 120px 100px 140px;
    }
	#headerHome-content .wrappercontent{max-width: 870px;}
    #headerHome .imageDiapo{
        position: relative!important;
        box-shadow: 0 0 30px #00000045;
        margin-right: 90px;
        background: var(--tertiary-color);
    }
    #headerHome-social{
        --size: 60px;
        width: var(--size);
        background: var(--tertiary-color);
        min-width: var(--size);
    }
    #headerHome-social .sociblock{
        height: 100%;
        display: flex;
        align-items: flex-end;
        padding: 0  0 55px 27px;
    }
    #headerHome-social .sociblock:before{
        content: "";
        position: absolute;
        pointer-events: none;
        top: 12%;
        width: 1px;
        background: var(--primary-color);
        height: 45%;
        left: 35px;
    }
    #headerHome-social .sociblock .share-buttons{flex-direction: column}
    #headerHome-social .sociblock .share-buttons a{margin: 20px 0;}
    #headerHome-social:before{
        border: solid 1px var(--primary-color);
        top: 35px;
        left: 14px;
        right: -14px;
        width: auto;
        height: auto;
        bottom: 35px;
    }

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

    .home #content .eb-wrapper-inner-blocks {
        width: 86%!important;
        max-width: 1200px;
    }

	.home #content .eb-wrapper-inner-blocks .wp-block-quote{margin: 0 0 20px !important;}

    .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;
        grid-row: span 2
    }


    .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
    }
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	.home #prestations{padding: 150px 15px 100px;}

	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	.sectionsbloc.even {padding: 100px 50px 600px;}
	.sectionsbloc.odd{
    margin-bottom: 150px;
}
	.sectionsbloc.even .section_thumb .blocthumb {
	    height: 110%;
	    z-index: 1;
	    box-shadow: 0 0 20px rgb(0 0 0 / 20%)
	}
	.sectionsbloc.even .section_txt .wrap-text {padding: 70px 50px 70px 0;}
	
	.sectionsbloc.even .specialthumb {
	    position: absolute;
	    left: 0;
	    right: 0;
	    bottom: 0;
	    height: 600px;
	    z-index: 0
	}
	
	.sectionsbloc.odd .section_thumb {
	    display: grid;
	    grid-template-columns: repeat(2,1fr);
	    grid-gap: 0 30px;
	    grid-auto-rows: 800px;
	    position: relative;
	    top: -80px;
	    z-index: 10
	}
	
	.sectionsbloc.odd .section_thumb .blocthumb {
	    position: relative;
	    top: 200px
	}
	
	.sectionsbloc.odd .section_txt {
	    position: relative;
	    z-index: 1;
	    padding-top: 120px;
	}
	.sectionsbloc.odd .section_txt:before{
		top: 120px;
		width: 120%;
		height: calc(100% - 120px);
	}
    
    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#wrapperForm .title {
        position: absolute;
        top: -36px;
        left: 0px;
        background: var(--primary-color);
        padding: 10px 15px;
        margin: 0;
    }
	#wrapperForm .title h2 {
        color: var(--white);
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 2px;
        font-family: var(--font-bold);
    }

    #wrapperForm .title::after {
        display: none
    }
	.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}

	#footer #footerbloc>.wrappercontent  br{display: none;}
}

@media(min-width: 1281px){
    /*-----------------*/
    /* HEADER */
    /*-----------------*/
	#header{padding: 12px 20px;}
	#header.fixed-header #headerGrid{grid-template-columns: 170px 1fr 50px;}
	#logoheader {width: 350px;}
	#header.fixed-header #logoheader{width: 170px;}
	#info-toogle{--size: 50px;}
	#info-toogle:before {--size: 25px;}
	
    /*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome:before{
		right: 30px;
		width: calc(8% - 31px);
	}
	#headerHome-coordonnees{
		gap: 90px;
		padding: 30px 70px 30px 30px;
		width: 92%;
	}
	#headerHome-pattern{width: 8%;}
	
	/*-----------------*/
    /* HEADERHOME + BANNER */
    /*-----------------*/
	#headerHome,
	#banner{padding-top: 90px;}

	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	.sectionsbloc.even {padding: 120px 100px 800px;}
	.sectionsbloc.even .specialthumb{height: 800px;}
	.sectionsbloc.even .section_txt .wrap-text {padding: 100px 100px 100px 0}
	.sectionsbloc .wrap-text {
	    padding: 150px 100px;
	    margin: auto;
	    max-width: 950px
	}
	.sectionsbloc.odd .section_txt{padding-top: 260px;}
	.sectionsbloc.odd .section_txt:before{
		top: 280px;
	    height: calc(100% - 280px);
	}

    
    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
	body:not(.template-contact-php) #footerLinks {padding: 70px 20px}
}

@media(min-width: 1481px){
    /*-----------------*/
    /* HEADERHOME + BANNER */
    /*-----------------*/
	#headerHome,
	#banner{padding-top: 97px;}

	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-pattern{width: 16%;}
	#headerHome:before{
		right: 40px;
		width: calc(16% - 41px);
	}
	#headerHome-coordonnees{
		gap: 120px;
		width: 84%;
	}
}

@media(min-width: 1681px){
    /*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-pattern{width: 30%;}
	#headerHome:before{width: calc(30% - 41px);}
	#headerHome-coordonnees{width: 70%;}
	#headerHome .imageDiapo{margin: 0;}
	#headerHome .overlay{background: linear-gradient(to left, var(--tertiary-color), #fff0 30%);}
	#headerHome-content{
		--size: 430px;
		left: -100px;
		min-width: var(--size);
		width: var(--size);
		text-align: left;
		padding: 0;
		position: relative;
		top: auto;
		transform: none;
		right: auto;
	}
	/*-----------------*/
	/* CONTENT */
	/*-----------------*/
	.home #content .eb-wrapper-inner-blocks{
		padding: 0 50px;
		max-width: 1100px;
	}
}

@media(min-width: 2100px){
	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-content{
		left: -160px;
		--size: 480px;
	}
	
	#headerHome{gap: 120px;}
	
	#headerHome-social{--size: 100px;}
	#headerHome-social:before{left: 24px;}
	#headerHome-social .sociblock{padding: 0 0 55px 50px;}
	#headerHome-social .sociblock:before{left: 55px;}
	
}

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

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

@media(max-width: 1280px){
    /*-----------------*/
	/* HEADER */
	/*-----------------*/
	#header-top{
		font-size: 16px;
		margin: -17px -10px 12px;
	}
    /*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	.navigmenu .naviglink.lvl-0{
		padding: 20px 8px;
	}
    
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	.prestations-title h2{font-size: 30px;}
}

@media(max-width: 1024px){
    /*-----------------*/
	/* HEADER */
	/*-----------------*/
	#header-top{
		margin: -10px -8px 8px;
	}
	
	#header{padding: 10px 5px;}
	#header-coordonnees {
        right: -250px;
        width: 250px;
        padding: 70px 20px 65px;
    }
	#header-coordonnees .title h2{font-size: 28px;}
	#header-portfolio{display:none;}

	/*-----------------*/
	/* NAVPRIMARY */
	/*-----------------*/
	.navigmenu .naviglink.lvl-2{
	    text-align: center;
	    padding: 10px 5px;
	}
	.sociblock .share-buttons a svg{fill: var(--white);}
	.ckmenu-nav{
	    width: auto;
	    left: -5px;
	    right: -5px;
	}
    .navigmenu .naviglink.lvl-0{padding: 10px 16px;color: var(--white);}

    /*-----------------*/
	/* HEADERHOME + BANNER */
	/*-----------------*/
	#headerHome,
	#banner{margin-top: 76px;padding-top: 0;}
	
	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-content{width: 97%;margin: 0 auto;}

    /*-----------------*/
    /* 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, .home #content:after{
    height: 45%;
}

    .home #content .wp-block-gallery .gallery-item:nth-child(5) {grid-column: span 2!important}
    
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	.prestations-title h2{font-size: 24px;}
	.bloc_prestations .tc_excerpt{font-size: 15px;}
	.prestations-title{
	    width: 44%;
	    padding-right: 15px;
	}
    
    /*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	#reassurances, .nohome #reassurances{
		height: 150px;
		margin-bottom: -20px;
		margin-top: -52px;
	}
	.home #reassurances{
    margin-bottom: -60px;
}
	#reassurances-container{
		padding: 10px 10px;
		width: calc(100% + 10px);
		max-width: calc(100% + 10px);
		left: -5px;
	}
	.picto-container li{padding: 0 15px;}
	#reassurances-containerBis{
	    padding: 0 10Px;
	    width: calc(100% + 10Px);
	    max-width: calc(100% + 10Px);
	    height: 50px;
	    left: -5px;
	    font-size: 13px;
	}
	#reassurances-containerBis span{padding: 0;}
	#reassurances-containerBis span:before{content: none;}

	/*-----------------*/
    /* ACTU */
    /*-----------------*/
	#news .next_slider {width: 140px;}
	
	.title_slider {font-size: 20px;}
    .newsdate .day {font-size: 30px}
    .newsdate .month {font-size: 17px}
	.newsdate {
        padding: 20px 20px;
        height: calc(100% - 140px);
        top: 50px;
        left: -60px;
        min-height: 150px
    }
	
    #news .content_slider {padding: 50px 0 50px 80px;}
	.thumbnail_slider{height: 300px;}
	#news-title {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        border: none;
        padding-bottom: 0;
        margin-bottom: 30px;
    }

    #news-title .title { margin-bottom: 10px   }

	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	.sectionsbloc .section_thumb {
	    display: grid;
	    grid-template-columns: 1fr 1fr;
	}
    
    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
	.wrapperFooter {
	    padding: 70px 25px;
	    grid-gap: 0!important;
	}
	#footerLinks{flex-direction: column;}
	#menu-footer .menu-item:last-child{margin: 0;}
    .safari #wrapperForm .title {
		display: grid;
		width: 100%;
		justify-content: center
	}
}

@media(max-width: 767px){
	/*-----------------*/
	/* ELEMENTS */
	/*-----------------*/
	.more-links.bigLink{
	    padding: 18px 30px 18px 0;
	    display: inline-block;
	}
	.more-links.bigLink:after{--size: 70px;}
	.more-links.bigLink .more-links_icon svg{--size: 30px;}
    	
	/*-----------------*/
	/* HEADERHOME + BANNER */
	/*-----------------*/
	#headerHome,
	#banner{margin-top: 67px;}
		
	/*-----------------*/
	/* NAVPRIMARY */
	/*-----------------*/
	.ckmenu-nav{top: 58px;}

	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content .wp-block-gallery{grid-auto-rows: 150px;}
    .home #content:before, .home #content:after{height: 28%;}
	.home #content .eb-wrapper-outer{
    padding: 25px 0!important;
}
	
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .prestations-wrapper{
	    flex-direction: column;
	    align-items: flex-start;
	}
	#prestations .prestations-wrapper > div{width: 100%;height: auto;padding: 0;}
	#prestations .prestations-wrapper  .prestations-img{height: 200px;margin-bottom: 20px;}
	.prestations-title h2{
	    font-size: 20px;
	    margin-bottom: 6px;
	}
	.bloc_prestations .liresuite{text-align: right;margin-top: 10px;}
    
    /*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	#reassurances-containerBis span{display: none;}
	.picto-container li p{
	    font-size: 12px;
	    letter-spacing: 0.5px;
	}

	/*-----------------*/
    /* VIDEOS */
    /*-----------------*/
	#video .bloc_videos{
    padding: 100px 15px;
}

	/*-----------------*/
    /* ACTU */
    /*-----------------*/
	.thumbnail_slider{height: 250px;}

    #news .content_slider {padding: 40px 0 20px}
	.text_slider, .text_slider a{font-size: 14px;}
    .newsdate {
        left: 20px;
        top: -40px;
        height: auto;
        padding: 10px 15px;
        min-height: auto
    }
    .newsdate .month {font-size: 14px;}
    .newsdate .day {font-size: 20px;}
    .title_slider {font-size: 18px;}
    #news .next_slider {
		justify-content: flex-start;
		width: auto;
	}

	/*-----------------*/
    /* PARTENAIRES */
    /*-----------------*/
    #partenaires {padding: 50px 15px 80px;}
    #partenaires-header{
       grid-gap: 20px;
       margin-bottom: 40px;
    }
    #partenaires .widget_partenaires li{min-height: 130px;}
    
    /*-----------------*/
    /* 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){}