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

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

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

/*-----------------*/
/* HEADER */
/*-----------------*/
#header-coordonnees .right{order: 2;}


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

/*-----------------*/
/* CONTENT */
/*-----------------*/
.home #content .content-txtHome {margin-top: 80px;}
.home #content .content-imgHome{flex-wrap: nowrap!important;}

.home #content .content-imgHome  .wp-block-column .wp-block-image{height: 300px;}
.home #content .content-imgHome  .wp-block-column .wp-block-image a{height: 100%;}

.home #content .content-imgHome  .wp-block-column .wp-block-image img{
	height: 100%;
	width: 100%;
	object-fit:cover;
}
.home #content{
	padding-top: 0;
	margin-top: -200px;
	position: relative;
	z-index: 2;
}


/*-----------------*/
/* PRESTATIONS */
/*-----------------*/
.nohome #prestations{padding: 0;}
#prestations .widget_parentpage{counter-reset: prestation;align-items: center;grid-gap: 5px;}
#prestations .prestations-img {height: 100%;}
#prestations .prestations-wrapper{height: 300px;position: relative;overflow: hidden;}

#prestations .bloc_prestations{position: relative;}
#prestations .prestations-content{
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 30px 20px;
    background: rgba(0,0,0,0.2);
    pointer-events: none;
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
#prestations .prestations-title{
    background: rgb(255 255 255 / 80%);
    padding: 20px;
    transition: 300ms all ease-in-out;
    text-align: center;
}
#prestations .prestations-title:before{
    content: "0" counter(prestation);
    counter-increment: prestation;
    font-size: 12px;
    font-family: var(--font-bold);
    opacity: .8;
    margin-bottom: 4px;
    line-height: 1;
    position: relative;
    display: block;
    height: auto;
}
.prestations-content h2, 
.prestations-content h3{margin-bottom: 0;}

#prestations .prestations-title:after{
    left: 50%;
    top: -25px;
    transform: translate(-1px, 0);
    border-left: 1px solid var(--primary-color);
    height: 36px;
    width: 2px;
}
#prestations .prestations-txt .tc_excerpt{
    color: var(--white);
    opacity: 0;
    transform: translate3d(100px, 0, 0);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.7, 1);
    transition-property: transform, opacity;
    display: block;
    margin: 30px 0 0 0;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    font-weight: bold;
    display: none;
}
#prestations .prestations-txt .liresuite{
    opacity: 0;
    transform: translate3d(0, 100px, 0);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.7, 1);
    transition-property: transform, opacity;
    text-align: center;
    pointer-events: all;
}

#prestations .bloc_prestations:hover .prestations-txt .liresuite, 
#prestations .bloc_prestations:hover .prestations-txt .tc_excerpt {
    transition-delay: 0s;
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

#prestations .blocthumb:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background: var(--black);
    height: 100%;
    width: 100%;
    transition: 250ms all ease-in-out;
    z-index: 1;
    opacity: 0;
}
#prestations .blocthumb img { transition: all 600ms ease-in-out;}

#prestations .bloc_prestations:hover .blocthumb:before {opacity: 0.4;}
#prestations .bloc_prestations:hover .blocthumb img {transform: scale(1.2);}
#prestations .bloc_prestations:hover .prestations-title {background: var(--secondary-color);}
#prestations .bloc_prestations:hover .prestations-title h3 a,
#prestations .bloc_prestations:hover .prestations-title:before{color: var(--white);}


/*-----------------*/
/* FOOTER */
/*-----------------*/
#footer #footerbloc {
     grid-template-areas:
          "infoadresseFooter      infoouvertureFooter      footerlogo       infotelfixeFooter       infotelportFooter";
     grid-template-columns: 1fr 1fr 160px 1fr 1fr;
}
#footer:before{
    background: url(../../images/home-bg1.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-bg2.jpg);
    background-position: center;
    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: 20px 15px;}

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

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

/*-----------------*/
/* REASSURANCES */
/*-----------------*/
#reassurances {
    background-image: url(../../images/home-bg1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
#img-reassurance {
    background-image: url(../../images/home-bg2.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 200px;
    z-index: -1;
    width: 100%;
    margin-bottom: 20px;
}
.picto-container{
	justify-content: space-around;
	flex-direction: column;
}
.picto-container .picto-bloc{
	flex-direction: row;
	text-align: left;
	margin: 35px 0;
	flex: 1 1 100%;
	padding: 0;
	position: relative;
}
.picto-container li:before {
    content: "";
    --size: 60px;
    position: absolute;
    left: -13px;
    top: 50%;
    width: var(--size);
    height: var(--size);
    background: var(--primary-color);
    z-index: -1;
    margin-top: -30px;
    transform: rotate(45deg);
}
.picto-container li p {
    margin: 0 0 0 45px;
    font-family: var(--font-bold);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 15px;
}
/*-----------------*/
/* 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;}


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

@media(min-width: 768px){
	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .bloc_prestations{ padding: 10px ;}
	#prestations .bloc_prestations:nth-child(2) {padding: 0;}

	#prestations .prestations-wrapper{height: 540px;}
	#prestations .bloc_prestations:nth-child(2) .prestations-wrapper {height: 670px;}
	#prestations .prestations-content{padding: 50px 20px;}

	#prestations .prestations-txt .liresuite{margin-top: 50px;}
}

@media(min-width: 1025px){
	

    /*-----------------*/
    /* HEADER */
    /*-----------------*/
	#headerGrid {
	    grid-template-areas:
	        "headerCoordonnees"
	        "navprimary";
	    grid-template-columns:  1fr;
	}
    #header-coordonnees{padding: 0px 10px;}
    #header-coordonnees .left > :first-child, 
    #header-coordonnees .right > :first-child{margin:0 0 20px;}
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    #navprimary {
        background: var(--overlay-color);
        z-index: 1;
        position: relative;
        padding: 4px 10px;
        margin-bottom: -65px;
    }

	/*-----------------*/
	/* CONTENT */
	/*-----------------*/
	
	.home #content .content-txtHome > .wp-block-column{
		display: grid;
		grid-template-columns: repeat(2,1fr);
		align-items: center;
	}
	.home #content .content-txtHome .title{
		padding-right: 50px;
		padding-bottom: 0;
		margin: 0;
	}
	.home #content .content-txtHome .title:after{
		right: 0;
		width: 2px;
		height: 50%;
		top: 50%;
		transform: translateY(-50%);
		left: auto;
	}
	.home #content .content-txtHome .content_text{
		padding: 30px 50px;
	}

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations{padding: 100px 15px 0px;z-index: 2;}
	#prestations .prestations-txt .tc_excerpt{display: block;}
	#prestations .bloc_prestations{ padding: 10px 20px;}
	#prestations .prestations-content{padding: 60px 30px;}
	#prestations .prestations-title h3{
		font-size: 30px;
	}

	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	#img-reassurance{
		width: 75%;
		position: absolute;
		right: -40%;
		height: 100%;
		margin: 0;
	}
	#reassurances .right {padding: 50px 0 50px 18%;}
	#reassurances .title h2 {
	    position: relative;
	    font-size: 2em;
	    line-height: 1;
	    text-shadow: 0 0 7px var(--black);
	}

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

	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	#sections .sectionsbloc {margin: 120px 0;}
	
	#sections .sectionsbloc .section_thumb .blocthumb {
	    width: 84%;
	    height: 100%;
	}
	#sections .sectionsbloc.odd .section_thumb .blocthumb {margin-left: auto;}
	#sections .sectionsbloc .section_thumb .specialthumb{
	  --size: 300px;
	  position: absolute;
	  top: 50%;
	  transform:translateY(-50%);
	  right: 8px;
	  width: var(--size);
	  height: 80%;
	  max-height: 500px;
	  z-index: 2;
	  border: solid 5px var(--white);
	}
	
	#sections .sectionsbloc.odd .section_thumb .specialthumb{
	  right: auto;
	  left: 8px;
	}
		/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#footer:before,
	#footer:after{
	    height: 550px;
	    top: 70px;
	}
	.wrapperContact{width: 90%;}
}

@media(min-width: 1281px){
    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #logoheader {width: 300px;max-height: 160px;}
	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	#reassurances .title h2{font-size: 3em;}
	#reassurances .right {padding: 50px 0 50px 223px;}

	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .prestations-content{padding: 60px 40px;}
	#prestations .bloc_prestations{ padding: 10px 40px;}
	.sectionsbloc .wrap-text {padding: 100px 120px}
}

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

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

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

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

@media(max-width: 1280px){
	/*-----------------*/
    /* HEADER */
    /*-----------------*/
    #header-coordonnees .left, 
    #header-coordonnees .right {
        display: flex;
        align-items: center;
    }
    #header-coordonnees .left > :first-child, 
    #header-coordonnees .right > :first-child{margin: 0 30px 0 0;}
}

@media(max-width: 1024px){
	/*-----------------*/
    /* HEADER */
    /*-----------------*/
    #header-coordonnees .left, 
    #header-coordonnees .right {
        flex-direction: column;
        align-items: initial;
        margin: 0;
    }
	#header-coordonnees .left > div, 
	#header-coordonnees .right > div {margin: 15px 0!important;}
	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-content{padding: 90px 30px 120px 30px;}
	
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	.ckmenu-nav{
		background: var(--title-color);
		width: auto;
		left: -10px;
		right: -10px;
		top: 81px;
	}

	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	#reassurances {padding: 100px 20px;}
	#reassurances .left {flex-direction: column;}
	#reassurances .right {padding: 0 0 0 30px;}
	#reassurances .picto-container{
		flex-direction: row;
		flex-wrap: wrap;
	}
	.picto-container .picto-bloc{ flex: 1 1 48%;}

	/*-----------------*/
	/* SECTIONS */
	/*-----------------*/
	.sectionsbloc .section_thumb {
	    display: grid;
	    grid-template-columns: 1fr 1fr;
	    grid-auto-rows: 350px;
	}
	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footer #footerbloc {
		grid-template-areas:
			"footerlogo             footerlogo              footerlogo          footerlogo"
			"infoadresseFooter      infoouvertureFooter     infotelfixeFooter   infotelportFooter";
		grid-template-columns:  1fr 1fr 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: 67px;}

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

	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content{margin-top: -60px;}
	.home #content .content-txtHome {margin-top: 50px;}
	
	.home #content .content-imgHome{gap: 10px;}
	.home #content .content-imgHome .wp-block-column .wp-block-image{height: 250px;}

	/*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	#reassurances {padding: 60px 15px;}
	#reassurances .picto-container {
	    max-width: 250px;
	    margin: 0 auto;
	    flex-direction: column;
	}
	#reassurances .right {padding: 0 0 0 10px;}
	.picto-container .picto-bloc{
		margin: 21px 0;
		flex: 1 1 100%;
	}
	.picto-container li:before {
	    --size: 50px;
	    left: -10px;
	    margin-top: -25px;
	}
	.picto-container li svg, 
	.picto-container li img { --size: 30px;}
	#reassurances .picto-container li p {
	    font-size: 14px;
	    letter-spacing: 0;
	    margin-left: 36px;
	}
	/*-----------------*/
    /* PARTENAIRES */
    /*-----------------*/
	#partenaires .title{margin-bottom: 20px;}
	
	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footer #footerbloc {
		grid-template-areas:
			"footerlogo"
	        "infoadresseFooter"     
			"infotelfixeFooter"       
			"infotelportFooter"
			"infoouvertureFooter"
		;
	    grid-template-columns:  1fr;	
	}
}

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