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

/*-----------------*/
/* ELEMENTS */
/*-----------------*/
.is-toggle-open #header #info-toogle {
	box-shadow: 0 0 0 100vw var(--title-color), 0 0 0 100vh var(--title-color);
    background-color: var(--title-color);
}
.is-toggle-open #header #info-toogle:before {background-image: url(../../images/icons/close-white.svg);}


/*-----------------*/
/* HEADER */
/*-----------------*/


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


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


/*-----------------*/
/* 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;transition: height 0.4s;}

#prestations .bloc_prestations{position: relative;transition: all 0.4s;}
#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;
    color: var(--primary-color);
}
.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(--black);}
#prestations .bloc_prestations:hover .prestations-title h3 a,
#prestations .bloc_prestations:hover .prestations-title:before{color: var(--white);}


/*-----------------*/
/* REASSURANCES */
/*-----------------*/
#reassurances
{
    --border-color:#00000015;
    border-top: 1px solid var(--border-color);
}
.nohome #reassurances {
    background-image: url(../../images/home-bg1.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    --border-color:#ffffff15;
}
#reassurances .picto-container li{
	/* padding: 0 10px; */
	position: relative;
}
.picto-container li:not(:last-child)::after
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    --size: 100%;
    width: var(--size);
    height: var(--size);
    border-right: 1Px solid var(--border-color);
}
.nohome #reassurances .picto-container li p{
	color: var(--white);
}
#reassurances .picto-container li p{
	font-family: var(--font-bold);
}

/*-----------------*/
/* PARTENAIRES */
/*-----------------*/
#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;}
.wp-block-gallery{
    margin: 30px 0!important;
}
/*-----------------*/
/* FOOTER */
/*-----------------*/
#footer #footerbloc {
     grid-template-areas:
          "infoouvertureFooter  infoadresseFooter      infotelfixeFooter";
     grid-template-columns: 1fr 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: 40px 15px;}

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

@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: 440px;}
	#prestations .bloc_prestations.activeCenter .prestations-wrapper,#prestations .widget_parentpage {height: 570px;}
	#prestations .prestations-content{padding: 50px 20px;}

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

	/*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	#reassurances .title{margin-bottom: 0;}
}

@media(min-width: 1025px){
	
	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	#headerHome-content{padding: 100px 50px 50px;}



    /*-----------------*/
    /* GALLERY HOME */
    /*-----------------*/
    body.template_cv #galleryHome{padding-top: 100px;}
	
    
    
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	.home #prestations{margin-top: -300px;z-index: 2;padding-bottom: 0;}
	#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;
	}
    	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#footer:before,
	#footer:after{
	    height: 500px;
	    top: 100px;
	}
	.wrapperContact{width: 90%;}
}

@media(min-width: 1281px){
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .prestations-content{padding: 60px 40px;}
	#prestations .bloc_prestations{ padding: 10px 40px;}
}

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

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

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

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

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

@media(max-width: 1024px){

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

@media(max-width: 767px){

	
	/*-----------------*/
    /* 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){}

