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

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

#footer-coordonnees{grid-area:footerCoordonnees;}
#footerForm{grid-area:footerForm;}

/*-----------------*/
/* ELEMENTS */
/*-----------------*/

/*-----------------*/
/* NAVPRIMARY */
/*-----------------*/
/* .navigmenu .naviglink{ color: var(--white);} */

/*-----------------*/
/* HEADERHOME */
/*-----------------*/

/*-----------------*/
/* PRESTATIONS */
/*-----------------*/
#prestations .wrappercontent{max-width: none;}
#prestations .widget_parentpage{
	grid-gap: 0;
	counter-reset: prestation;
}

#prestations .prestations-content{
	z-index: 4;
	left: 0;
	right: 0;
	position: absolute;
	bottom: 0;
	padding: 30px 20px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	/* pointer-events: none; */
}
#prestations .prestations-title{
	padding-top: 30px;
	margin-bottom: 10px;
	transform: translateY(70px);
	transition: all ease .5s;
}
#prestations .prestations-title:before {
    content: "0" counter(prestation);
    counter-increment: prestation;
    font-size: 16px;
    line-height: 1;
    font-family: var(--font-text);
    color: var(--white);
    opacity: .4;
    letter-spacing: 1px;
    font-weight: bold;
    height: auto;
    width: auto;
}

#prestations .prestations-title:after {
    background: var(--white);
    height: 60px;
    width: 2px;
    top: -80px;
    left: 8px;
    opacity: .4
}

#prestations .prestations-content h2, 
#prestations .prestations-content h3 {margin: 0;}

#prestations .prestations-content .title_content,
#prestations .prestations-content .content_link, 
#prestations .prestations-content .tc_excerpt{color: var(--white);}

#prestations .prestations-txt{
	opacity: 0;
	transition: all ease .5s;
	transform: translateY(100%);
}
#prestations .prestations-img:before{
	content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(to top, rgb(0 0 0 / 80%), #00000000);
}

#prestations .prestations-img{background: var(--title-color);}
#prestations .prestations-img img {
    transition: all 600ms ease;
    width: calc(100% + 50px);
    transition: opacity .35s , transform .35s;
    transform: translate3d(-40px,0,0);
}

#prestations .bloc_prestations:hover .prestations-title {transform: translateY(0);}
#prestations .bloc_prestations:hover .prestations-txt {
    opacity: 1;
    transform: translateY(0);
}

#prestations .bloc_prestations:hover .prestations-img img {
    transform: translate3d(0,0,0);
    opacity: .2;
}


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

/*-----------------*/
/* PARTENAIRES */
/*-----------------*/
#partenaires{/* background-color: var(--light-color); */}
#partenaires .ckslidercontrols .next, 
#partenaires .ckslidercontrols .prev{
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
}
#partenaires .cksliderwrap{padding-bottom: 0;}
#partenaires .ckctrldiv{display: none;}

/*-----------------*/
/* GALLERY HOME */
/*-----------------*/
body.template_cv #galleryHome{padding: 10px 0;}

/*-----------------*/
/* FOOTER */
/*-----------------*/

#footer #footerbloc{
	grid-template-areas:
		"footerlogo       footerCoordonnees      footerForm";
	grid-template-columns: 240px 300px 1fr;
	padding: 60px 15px;
}
body.template-contact-php #footer #footerbloc{
	grid-template-areas: "footerlogo";
	grid-template-columns: 1fr;
}

#footer-coordonnees > div{margin: 30px 0;}
#menu-footer .menu-item{margin: 0 0 0px 0;}

.marque-alsace{
    margin: 0 0 10px;
    width: 30px!important;
}

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

@media(min-width: 768px){
	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .prestations-img {height: 500px;}
	#prestations .prestations-txt{height: 260px;}
	#prestations .prestations-title:after {
		top: -90px;
		height: 80px;
	}
	#prestations .prestations-title{
		padding-top: 40px;
		transform: translateY(270px);
	}
}

@media(min-width: 1025px){
	
	/*-----------------*/
	/* NAVPRIMARY */
	/*-----------------*/
	.navigmenu{justify-content: flex-end;}

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .prestations-img {height: 700px;}
	#prestations .prestations-txt{height: 150px;}
	#prestations .prestations-content{padding: 50px 30px;}
	#prestations .prestations-title:after {
		top: -170px;
		height: 150px;
	}
	#prestations .prestations-title{
		padding-top: 70px;
		transform: translateY(160px);
	}

	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-content{padding: 110px 30px 120px;}

	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	#sections .sectionsbloc {margin: 120px 0;}
	
	#sections .sectionsbloc .section_thumb .blocthumb {
	    width: 84%;
	    height: 95%;
	}
	#sections .sectionsbloc.odd .section_thumb .blocthumb {margin-left: auto;}
	#sections .sectionsbloc .section_thumb .specialthumb{
	  --size: 300px;
	  position: absolute;
	  bottom: 0;
	  right: 8px;
	  width: var(--size);
	  height: var(--size);
	  z-index: 2;
	  border: solid 5px var(--white);
	}
	
	#sections .sectionsbloc.odd .section_thumb .specialthumb{
	  right: auto;
	  left: 8px;
	}
}

@media(min-width: 1281px){

}

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

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

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

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

@media(max-width: 1280px){
	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#footer #footerbloc{grid-template-columns: 240px 200px 1fr;}
}

@media(max-width: 1024px){

	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-content{padding: 90px 30px 120px 30px;}
	
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	.ckmenu-nav{
		background: var(--title-color);
		width: auto;
		left: -10px;
		right: -10px;
		top: -5px;
	}


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

	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#footer #footerbloc{
		grid-template-areas:
			"footerlogo            footerCoordonnees"
			"footerForm            footerForm";
		grid-template-columns: 1fr 1fr;
		padding: 60px 15px;
	}
}

@media(max-width: 767px){
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	.ckmenu-nav{/* top: 67px; */}

	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-content{padding: 80px 15px 70px 15px;}

	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	#prestations .prestations-content .tc_excerpt{display: none;}
	
	/*-----------------*/
    /* PARTENAIRES */
    /*-----------------*/
	#partenaires .title{margin-bottom: 20px;}

	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#footer #footerbloc{
		grid-template-areas:
			"footerCoordonnees"
			"footerForm"
			"footerlogo";
		grid-template-columns: 1fr;
		padding: 20px 15px;
	}
	#footerForm{margin: 0 auto 50px;}
}

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