/*-----------------*/
/* STRUCTURE */
/*-----------------*/
body.home #wrappersite {
    grid-template-areas:
        "header"
        "headerHome"
        "prestations"
        "content"
        "reassurances"
		"news"
        "sections"
        "partenaires"
        "footer";
} 
body.home.template_cv #wrappersite {
    grid-template-areas:
        "header"
        "headerHome"
        "content"
		"galleryHome"
        "reassurances"
        "sections"
        "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 */
/*-----------------*/
#header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}
/*-----------------*/
/* NAVPRIMARY */
/*-----------------*/
.navigmenu .naviglink{ color: var(--white);}

/*-----------------*/
/* 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;}

#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);}


/*-----------------*/
/* SECTIONS */
/*-----------------*/
.section_thumb .blocthumb {position: relative}

.sectionsbloc .specialthumb {overflow: hidden}
.sectionsbloc .specialthumb img {height: 120%}

.sectionsbloc.even .section_thumb {order: 2;}
.sectionsbloc.even .specialthumb {height: 100%;}


.sectionsbloc.odd .section_thumb {order: 0;}


.sectionsbloc.odd .section_txt .title h2,
.sectionsbloc.odd .section_txt {color: var(--white)}

.sectionsbloc.odd .section_txt:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--title-color);
    z-index: -1
}

/*-----------------*/
/* REASSURANCES */
/*-----------------*/
#reassurances{/* background-color: var(--light-color); */}

.picto-container li svg, .picto-container li img,
.picto-container .picto-bloc {position: relative;}

.picto-container .picto-bloc:before {
	content: "";
	height: 100px;
	width: 100px;
	font-size: 70px;
	text-align: center;
	line-height: 150px;
	border-radius: 68% 32% 27% 73% / 60% 62% 38% 40%;
	-webkit-transition: .3s;
	transition: .3s;
	display: inline-block;
	background-color: var(--light-color);
	position: absolute;
	left: 50%;
	z-index: 0;
	margin-left: -50px;
	top: -30px;
}
.picto-container{
	padding-top: 40px;
	counter-reset: section;
}

.picto-container li p {
	margin: 55px 0 0 0;
	font-family: var(--font-bold);
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	-webkit-font-smoothing: auto;
}
.picto-container .picto-bloc:after{
	content: "0" counter(section);
	counter-increment: section;
	--size: 40px;
	border-radius: 50%;
	width: var(--size);
	height: var(--size);
	background: var(--secondary-color);
	border: 4px solid var(--light-color);
	color: var(--white);
	display: grid;
	align-content: center;
	justify-content: center;
	font-family: var(--font-bold);
	font-size: 12px;
	box-shadow: 0px 0px 20px #00000017;
	position: absolute;
	top: -50px;
	right: 80px;
}
/*-----------------*/
/* PARTENAIRES */
/*-----------------*/

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

/*-----------------*/
/* FOOTER */
/*-----------------*/
#footer #footerbloc {
    align-items: center;
    display: grid;
    grid-row-gap: 5px;
    grid-column-gap: 20px;
    transition: .6s;
    grid-template-areas:
        "footerlogo"
        "footerLinks";
    grid-template-columns: 1fr;
    grid-template-rows: repeat(1,minmax(min-content,auto));
}
#footer-coordonnees > div:not(.title) {
    margin: 40px 0;
    font-size: 16px;
}
#footerForm{
	background-image: url(../../images/home-bg1.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	/* box-shadow: 0 0 30px rgb(0 0 0 / 50%); */
}
#footerForm .cekome_form .blc_select label{color: var(--white);}


@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;
	}
   
    #logo{display: none;}
	#header-coordonnees>div br { display: none;}
    #header-coordonnees{
        padding: 8px;
        grid-template-columns: repeat(3, 1fr);
        display: grid;
    }
	#header-coordonnees > div{grid-area: auto;margin: 7px 0;}
	#header-coordonnees > div:first-child{order: -1;}
	
	#header-coordonnees .rightHeader{
		padding-left: initial;
		padding-right: 25px;
		text-align: right;
	}
	#header-coordonnees .rightHeader:before {
	    left: initial;
	    right: 0;
	}
	#header-coordonnees .headerCoordonnees_vide{
		order: -1;
		grid-row: span 2;
	}

	/*-----------------*/
	/* HEADERHOME */
	/*-----------------*/
	#headerHome-content {padding: 220px 20px 20px;}

    
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations{/* padding: 150px 15px 150px; */margin-top: -250px;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;
	}
	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	.sectionsbloc.even {padding: 100px 50px 600px;}
	.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);
	}
	
    /*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    #navprimary {
        background: var(--black);
        border-radius: 3px;
    }
	#navprimary .navigmenu .naviglink.lvl-0.item-logo{
		border-radius: 50%;
		--size: 170px;
		width: var(--size);
		height: var(--size);
		background: var(--white);
		display: flex;
		align-items: center;
		justify-content: center;
		margin: -70px 20px;
	}
	#navprimary .navigmenu .naviglink.lvl-0.item-logo span{background-size: 84%;}

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footer-coordonnees{width: 40%;}
	#footerForm #wrapperForm{
		width: 60%;
		padding: 0 50px;
	}
	#footerForm{padding: 120px 60px;}
}

@media(min-width: 1281px){
    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #header:before {
        content: "";
        position: absolute;
        top: 0;
        width: calc(100% - 100px);
        max-width: 1400px;
        height: calc(100% - 30px);
        border: 1px solid var(--white);
        border-top: 0;
        left: 50%;
        z-index: -1;
        pointer-events: none;
        transform: translateX(-50%);
        opacity: 0.5;
    }
	
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	#navprimary .navigmenu .naviglink.lvl-0.item-logo{
		margin: -70px 60px;
		--size: 200px;
	}
	  /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations .prestations-content{padding: 60px 40px;}
	#prestations .bloc_prestations{ padding: 10px 40px;}
	.sectionsbloc .wrap-text {padding: 100px 120px}
	/*-----------------*/
    /* 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: 160px;}
	.sectionsbloc.odd .section_txt:before{
		top: 170px;
		height: calc(100% - 200px);
	}

}

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

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

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

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

@media(max-width: 1280px){
	/*-----------------*/
    /*  PRESTATIONS */
    /*-----------------*/
    .prestations-content h2, 
	.prestations-content h3{font-size: 30px;}
}

@media(max-width: 1024px){
	 /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #headerGrid{
        grid-template-areas:
            "navprimary logo infoToogle";
        grid-template-columns: 55px 1fr 55px;
    }
	#logo a{justify-content: center;}
	#header{top: 10px;}
	
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    .ckmenu-nav{
        background: var(--title-color);
        top: 80px;
    }

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

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

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerForm > .wrappercontent { flex-direction: column;}
	#footer-coordonnees {
	    max-width: 520px;
	    margin: 0 auto 20px;
	}
	#footerForm{padding: 80px 15px;}
	#footer-coordonnees > div:not(.title){
		margin: 20px auto;
		font-size: 15px;
		max-width: 240px;
	}
}

@media(max-width: 767px){
	/*-----------------*/
	/* HEADERHOME */
	/*-----------------*/
	#headerHome-content {padding: 100px 20px 30px;}

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

	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	#prestations{padding-bottom:0;}
	
	/*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	.picto-container {
	    flex-direction: row;
	    flex-wrap: wrap;
	    max-width: 430px;
	    margin: 0 auto;
	}
	.picto-container li {
	    margin: 15px 0 60px;
	    flex: 1 1 40%;
	    padding: 0 10px;
	}
	.picto-container li p {
	    margin: 55px 0 0 0;
	    font-size: 12px;
	    letter-spacing: 0.5px;
	}
	.picto-container .picto-bloc:after {right: 40px;}
	#reassurances {padding-bottom: 0;}
	

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footerForm #wrapperForm{padding: 0;}
	#footerForm{padding: 60px 15px;}
}

@media(max-width: 480px){
	/*-----------------*/
	/* REASSURANCES */
	/*-----------------*/
	.picto-container .picto-bloc:after {right: 20px;}
}
