/*-----------------*/
/* STRUCTURE */
/*-----------------*/
body.home #wrappersite {
    grid-template-areas:
        "header"
        "headerHome"
        "content"
        "reassurances"
        "prestations"
        "sections"
		"galleryHome"
		"news"
        "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 */
/*-----------------*/
#backgroundPrestations{
	width: 100%;
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
#backgroundPrestations .background-item{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: inherit;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity ease 0.5s;
}

#backgroundPrestations .background-item.on{opacity: 1;list-style: none;}

.bloc_prestations{
	position: relative;
	overflow: hidden;
	min-height: 700px;
}

.bloc_prestations.on{backdrop-filter: blur(8px);}

.bloc_prestations:before{
	pointer-events: none;
	z-index: 10;
	display: block;
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	opacity: 1;
	transition: opacity ease 0.5s;
}

.bloc_prestations.on .prestations-img img {opacity: 0;}

.bloc_prestations .prestations-img{
	opacity: 1;
	min-height: inherit;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0;
	background-size: cover;
	background-position: center center;
	transition: all ease 0.5s;
	width: 100%;
	height: auto;
}

.bloc_prestations.off .prestations-img {opacity: 0;}

.bloc_prestations .prestations-img .blocthumb:before,
.bloc_prestations .prestations-img .blocthumb:after{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	transition: opacity ease-in-out 0.3s;
}

.bloc_prestations .prestations-img .blocthumb:after{
	z-index: 2;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6) 100%);
}

.prestations-content .liresuite {margin-top: 40px;}

#foregroundPrestations{
	grid-gap: 0;
	position: relative;
	z-index: 2;
}
.prestations-wrapper{
	height: 100%;
	display: flex;
}

.bloc_prestations .prestations-content{
	transition: opacity ease 0.5s;
	position: relative;
	z-index: 2;
	width: 100%;
	text-shadow: 0px 0px 8px rgb(0 0 0 / 20%);
	padding: 50px 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	align-items: center;
}


.bloc_prestations .title-presta{
	transition: opacity ease 0.5s;
	opacity: 1;
	transition: all ease 0.5s;
}

.bloc_prestations .icone-presta{
	width: 50px;
	margin: 0 auto 20px;
}
.bloc_prestations.on .title-presta { transform: translateY(0);}

.prestations-content h2, 
.prestations-content h3 {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 2em;
}
.prestations-content .title_content, 
.prestations-content .content_link, 
.prestations-content .tc_excerpt{color: var(--white);}

.bloc_prestations.off .title-presta{opacity: 0;}


.bloc_prestations .txt-presta{
	font-size: 15px;
	line-height: 1.7;
	max-width: 500px;
	margin: 0 auto;
	transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
	max-height: 0;
	opacity: 0;
}
.bloc_prestations .txt-presta .content_link {
	color: var(--white);
	line-height: 1.5;
	display: block;
	margin-bottom: 40px;
}

.bloc_prestations.on .txt-presta{
	max-height: 400px;
	opacity: 1;
	-webkit-transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
	-o-transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1);
	transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

/*-----------------*/
/* SECTIONS */
/*-----------------*/
#sections {
    position: relative;
    z-index: 10
}

.sectionsbloc .specialthumb {position: relative}
/*-----------------*/
/* PARTENAIRES */
/*-----------------*/

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

/*-----------------*/
/* FOOTER */
/*-----------------*/
#footer #footerbloc {
     grid-template-areas:
          "infoadresseFooter      footerlogo       infotelportFooter";
     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){}

@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: 0;
        grid-template-columns: repeat(3, 1fr);
        display: grid;
        align-items: center;
    }
	#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;}



    /*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    #navprimary {
        background: var(--title-color);
        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%;}
	
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	#sections{padding-top: 100px;}
    .sectionsbloc.even {z-index: 2}
    .sectionsbloc {gap: 0 30px}

	.sectionsbloc:last-child.even{padding-bottom: 80px;}

    .sectionsbloc.even .section_thumb .blocthumb {
        position: relative;
        top: 250px;
        height: 90%;
        margin-right: -200px;
        border: 10px solid var(--white);
        border-left: initial;
        border-top: initial
    }
	.template_cv .sectionsbloc:not(:last-child).even{margin-bottom: 100px;}

    .sectionsbloc.odd .section_thumb,
    .sectionsbloc.odd .section_txt {grid-column: span 9}

    .sectionsbloc.odd .secondary_thumb {display: none}

    .sectionsbloc.odd .section_thumb {
        height: 700px;
        margin-top: -105px;
        filter: brightness(.5);
        order: inherit;
    }

    .sectionsbloc.odd .section_txt {
        max-width: 1300px;
        margin: 0 auto;
        margin-top: -280px;
        width: 95%;
        background: var(--title-color);
    }

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

    .sectionsbloc .specialthumb {
        height: 70%;
        margin-left: -300px;
        border: 10px solid var(--background-color)
    }

    .sectionsbloc.odd .wrap-text {
        column-count: 2;
        column-gap: 40px
    }
	/*-----------------*/
    /* FOOTER */
    /*-----------------*/
	#footer:before,
	#footer:after{
	    height: 500px;
	    top: 100px;
	}
	.wrapperContact{width: 90%;}
}

@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 #ffffff66;
        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;
	}
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    .sectionsbloc.odd .section_thumb {margin-top: -125px;}
    .sectionsbloc.odd {padding-bottom: 100px}
}

@media(min-width: 1481px){
	  /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
     .sectionsbloc.odd .section_thumb .blocthumb {
        width:calc(100% - 100px);
        margin-left: auto
    }
}

@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{position: relative;/* padding: 10px; */}
	
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
    .ckmenu-nav{
        background: var(--title-color);
        top: 80px;
    }

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


	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
    .bloc_prestations {min-height: 500px;}
    .bloc_prestations .prestations-content{padding: 30px 20px;	}
    .bloc_prestations .txt-presta{font-size: 14px;	}
    .prestations-content h2, 
	.prestations-content h3{
	    font-size: 26px;
	    letter-spacing: 1px;
    }
	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
     .sectionsbloc .section_txt {
        max-width: 850px;
        margin: 0 auto;
        width: 100%
    }
    .sectionsbloc .specialthumb {height: 100%}
	.section_txt{order: -2}
	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footer #footerbloc {
		grid-template-areas:
			"footerlogo             footerlogo"
			"infoadresseFooter       infotelportFooter";
		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){
	/*-----------------*/
	/* HEADERHOME */
	/*-----------------*/
	#headerHome-content {padding: 100px 20px 30px;}

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

	
	/*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	.bloc_prestations {min-height: 240px;}
	.bloc_prestations .prestations-content{padding: 20px;}
	.prestations-content h2, 
	.prestations-content h3{font-size: 24px;}
	.prestations-content .tc_excerpt{display: none;}
	.prestations-content .liresuite {margin-top: 10px;}

	/*-----------------*/
	/* FOOTER */
	/*-----------------*/
	#footer #footerbloc {
		grid-template-areas:
			"footerlogo"
	        "infoadresseFooter"     
			"infotelfixeFooter"       
			"infotelportFooter"
			"infoouvertureFooter"
		;
	    grid-template-columns:  1fr;	
	}
}

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