/*-----------------*/
/* STRUCTURE */
/*-----------------*/
body.home #wrappersite {
    grid-template-areas:
        "header"
        "headerHome"
        "content"
		"reassurances"
        "sections"
		"news"
		"galleryHome"
        "prestations"
        "partenaires"
        "footer"
    ;
} 

body.home.template_cv #wrappersite {
    grid-template-areas:
        "header"
        "headerHome"
        "content"
        "reassurances"
        "sections"
        "galleryHome"
        "partenaires"
		"footerMap"
        "footer"
    ;
}

/*-----------------*/
/* ELEMENTS */
/*-----------------*/
#info-toogle{box-shadow: none!important;}

/*-----------------*/
/* HEADER */
/*-----------------*/
#header-coordonnees {
    position: fixed;
    top: 0;
    right: -340px;
    width: 340px;
    height: 100%;
    min-height: 100%;
    padding: 70px 38px 65px;
    background-color: var(--title-color);
    overflow: hidden;
    visibility: hidden;
    overflow: scroll;
    z-index: 9998!important;
    transition: all .6s cubic-bezier(.77,0,.175,1)!important;
    text-align: left;
    box-shadow: 0 0 20px rgb(0 0 0 / 30%);
    line-height: 1.4;
    font-size: 15px;
    transform: none;
    left: auto;
    justify-content: center;
    opacity: 1;
    flex-direction: column;
}
body.is-toggle-open #header-coordonnees {
    right: 0;
    visibility: visible;
}

/*-----------------*/
/* NAVPRIMARY */
/*-----------------*/


/*-----------------*/
/* HEADERHOME */
/*-----------------*/
/*-----------------*/
/* CONTENT */
/*-----------------*/
.home #content{padding: 0 15px 50px;}
.home #content .contentNewImg{
	order: 2;
	height: 300px;
}
.home #content .content-imgHome{margin: 0;}

.home #content :is(.wp-block-image, .wp-block-image a){height: 100%;position: relative;display: block;}
.home #content .wp-block-image img{
	object-fit: cover;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}
.home #content .contentNewContent{
    background: var(--white);
    padding: 40px 20px 20px;
    z-index: 2;
    position: relative;
    margin-top: -100px;
    border: .1rem solid #12121217;
}
.home #content .content-txtHome{order:-1;}
/*-----------------*/
/* PRESTATIONS */
/*-----------------*/
.home #prestations{background: var(--background-color);border-top: .1rem solid #12121217;border-bottom: .1rem solid #12121217;}
.nohome #prestations{padding: 0;}

#prestations :is(.prestations-img, .prestations-content){
	padding: 1.2rem;
    border: .1rem solid #12121233;
}

#prestations .prestations-content{border-top: none;}


/*-----------------*/
/* SECTIONS */
/*-----------------*/


/*-----------------*/
/* REASSURANCES */
/*-----------------*/
#reassurances .picto-container{
    padding: 20px 0;
    border-bottom: .1rem solid #12121233;
}
.nohome #reassurances .picto-container{border-top: .1rem solid #12121233;}

#reassurances .picto-container li{
	margin: 0;
	padding: 30px 20px;
	flex-direction: row;
	text-align: left;
	justify-content: center;
}

#reassurances .picto-bloc strong{display: block;}
#reassurances .picto-container li:not(:last-child){border-right: .1rem solid #12121233;}
#reassurances .picto-container li p{max-width: 245px;margin: 0 0 0 20px;}

/*-----------------*/
/* PARTENAIRES */
/*-----------------*/
.partenaires-header {margin-bottom: 60px}

#partenaires .widget_partenaires {
    background-color: #fff;
    border-bottom: none;
    border-right: 0;
    position: relative;
    z-index: 2
}

#partenaires .widget_partenaires li {
    border: 1px solid #eee;
    min-height: 200px
}

#partenaires .widget_partenaires img {
    max-width: 81%;
    height: auto;
    max-height: 100px
}
#partenaires .widget_partenaires li .wrap-element{
    height: auto;
    border: none;
    padding: 0;
}

/*-----------------*/
/* CONTACTFORM */
/*-----------------*/

/*-----------------*/
/* FOOTER */
/*-----------------*/
#footer #footerbloc {
     grid-template-areas:
          "infoadresseFooter      infoouvertureFooter      footerlogo       infotelfixeFooter       infomailFooter";
     grid-template-columns: 1fr 1fr 120px 1fr 1fr;
}
#footer:before{
    background: url(../../images/home-bg2.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.wrapperContact {
    padding: 0;
    background: var(--white);
    box-shadow: 0px 0px 30px #1a1a2612;
    width: auto;
}
#wrapperForm {padding: 50px;}
.imgContact{
    background: url(../../images/home-bg4.jpg);
    background-position: 25%;
    background-repeat: no-repeat;
    background-size: cover;
}

#footerLinks {
    padding: 20px;
    margin: 0 auto 50px;
    border-top: 1px solid rgb(0 0 0 / 10%);
}
#footer #footerbloc {padding: 40px 15px;}

body.template-contact-php #footer:before,
body.template-contact-php #footer:after{content: none}

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

@media(min-width: 768px){

	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content{padding: 0 30px 100px;}
	
	.home #content .contentNewContent{
		padding: 40px 30px;
		margin-top: -100px;
	}
	.home #content .content-imgHome{height: 100%;}
	
	/*-----------------*/
    /* PARTENAIRES */
    /*-----------------*/
    #partenaires {padding: 100px 40px;}
    #partenaires .ckctrldiv{display: none;}
    #partenaires .ckslidercontrols .prev,
    #partenaires .ckslidercontrols .next {
        top: 50%;
        --size: 38px;
        transform: translateY(-50%);
        bottom: auto;
    }
    #partenaires .cksliderwrap{padding: 0;}
    #partenaires .ckslidercontrols .prev {left: -18px}
    #partenaires .ckslidercontrols .next {right: -18px}
}

@media(min-width: 1025px){
	/*-----------------*/
    /* HEADER */
    /*-----------------*/
	#header .navigmenu{justify-content: flex-start;}
	#headerGrid{
		grid-template-areas:
			"logo          navprimary         infoToogle";
		grid-template-columns: 80px 1fr 50px;
		grid-column-gap: 10px;
		padding: 10px;
	}
	#header-coordonnees > div{max-width: 190px;width: 100%;margin: 15px auto;}
	#info-toogle{
		display: flex;
		z-index: 99999;
		justify-self: flex-end;
	}

	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome{
	    min-height: 650px;
	    height: 80vh !important;
	}

	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content .contentNewImg{
		padding: 30px 30px 30px 0;
		height: 100%;
		order:-1;
	}
	
	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#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;
	    border: solid 10px var(--background-color);
	}
	#sections .sectionsbloc.even .section_thumb .specialthumb {
		left: 5%;
		right: auto;
	}
	#sections .sectionsbloc.even .section_thumb .blocthumb{margin-left: auto;}

	/*-----------------*/
    /* CV */
    /*-----------------*/
	.template_cv #footerMap{margin-bottom: -100px;}

	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#footer:before,
	#footer:after{
	    height: 500px;
	    top: 75px;
	}
	.wrapperContact{width: 90%;}
}

@media(min-width: 1281px){
	/*-----------------*/
    /* HEADER */
    /*-----------------*/
	#headerGrid{
		grid-template-columns: 100px 1fr 50px;
		grid-column-gap: 20px;
		padding: 10px 20px;
	}


	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content .contentNewImg{
		padding: 60px 50px 50px 0;
		height: 100%;
		order:-1;
	}
	.home #content{padding: 0 50px 140px;}
	.home #content .contentNewContent{padding: 50px;}

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

@media(min-width: 1481px){
	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections .section_txt .wrap-text {width: 90%;}
}

@media(min-width: 1681px){
	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	#sections .section_txt .wrap-text {width: 80%;}
}

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

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

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

@media(max-width: 1024px){
	/*-----------------*/
	/* HEADER */
	/*-----------------*/
	#headerGrid {
        grid-template-areas: "navprimary logo infoToogle";
        grid-template-columns: 50px 1fr 50px;
        justify-items: center;
        padding: 10px;
    }
	#header-coordonnees {
	    right: -250px;
	    width: 250px;
	    padding: 70px 18px 65px;
	}

	
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	.ckmenu-nav {top: 120px;}
	
	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	.sectionsbloc .section_thumb {
	    display: grid;
	    grid-template-columns: 1fr 1fr;
	}

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footer #footerbloc {
		grid-template-areas:
			"footerlogo             footerlogo"
			"infoadresseFooter      infoouvertureFooter"
			" infotelfixeFooter   infomailFooter";
		grid-template-columns:  1fr 1fr  ;
		grid-column-gap: 20px;
	}
	#footer:before,
	#footer:after{content: none;}
	.imgContact {height: 300px;}
	
	#wrapperForm{padding: 40px 20px;}
}

@media(max-width: 767px){
	

	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	.ckmenu-nav {top: 100px;}

	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content .contentNewContent .tc_content{grid-gap: 0px;}
	.home #content .content-imgHome .wp-block-column{height: 200px;}
	
	/*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	#reassurances .picto-container{padding: 0;}
	#reassurances .picto-container li:not(:last-child){border-right: none;}
	#reassurances .picto-container li:not(:last-child) {border-bottom: .1rem solid #12121233;}

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footer #footerbloc {
		grid-template-areas:
			"footerlogo"
			"infoadresseFooter"
			"infotelfixeFooter"
			"infomailFooter"
			"infoouvertureFooter";
		grid-template-columns:  1fr;
		grid-row-gap: 20px;
	}
}

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