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

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



/*-----------------*/
/* HEADER */
/*-----------------*/
/*#header{
    position: absolute;
    top: 0;
    left: 0;
    right:0;
}
*/
/*-----------------*/
/* NAVPRIMARY */
/*-----------------*/
/*.navigmenu .naviglink{ color: var(--white);}*/


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

/*-----------------*/
/* CONTENT */
/*-----------------*/
/*.home #content {padding-top: 0;}
.home #content .title{
    max-width: 1000px;
    margin: 0 auto -40px;
    position: relative;
    background: var(--light-color);
    padding: 60px 50px;
    top: -130px;
    z-index: 9;
}


.home #content .content-imgHome{gap: 0!important;flex-wrap: nowrap!important;}
.home #content .content-imgHome > .wp-block-column:first-of-type{
	top: 50px;
	position: relative;
}
.home #content .content-imgHome  .wp-block-column .wp-block-image {width: 110%;}

.home #content .content-imgHome  .wp-block-column .wp-block-image,
.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%;
	object-fit:cover;
}
.home #content .content-imgHome > .wp-block-column:nth-child(2) .wp-block-image{
	left: -10%;
	position: relative;
}*/

/*-----------------*/
/* 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 {
    width: 100%;
    height: 700px
}

.section_txt {
    background: var(--white);
    max-width: 1250px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 1
}



/*-----------------*/
/* REASSURANCES */
/*-----------------*/
#reassurances {
    background-image: url(../../images/home-bg1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
#img-reassurance {
    background-image: url(../../images/home-bg4.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;
    color: var(--white);
}
.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 .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{
    background: var(--secondary-color);
    display: flex;
    flex-direction: column;
}
#footerbloc{order: -1;}
#footerForm{z-index: 2;}

body:not(.template-contact-php) #footer #footerbloc {
    display: block;
    background-image: url(../../images/home-bg3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 50px 15px;
}
#footer #footerbloc{display: block;}
#footer #footerbloc>.wrappercontent {
    align-items: center;
    justify-items: center;
    display: grid;
    grid-row-gap: 15px;
    grid-column-gap: 20px;
    transition: .6s;
    grid-template-areas: "infotelfixeFooter     infoadresseFooter    infoouvertureFooter";
    grid-template-columns: 1fr   2fr 1fr;
    grid-template-rows: repeat(1,minmax(min-content,auto));
}
#footerLinks a {color: var(--white)}

.wrapperFooter {
    background: var(--white);
    box-shadow: 0px 0px 30px #1a1a2612;
    padding: 10px
}

.imgFooter {
    background: url(../../images/home-bg2.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover
}


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

@media(min-width: 768px){
	/*-----------------*/
	/* CONTENT */
	/*-----------------*/
	/*.home #content .tc_content{
		display: flex;
		align-items: stretch;
	}*/
    /*-----------------*/
	/* 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;
		max-width: none;
	}
    
    #logo{display: none;}
	#header-coordonnees{
		background: var(--title-color);
		padding: 10px 15px;
		margin-bottom: 15px;
	}
	#header-coordonnees>div br { display: none;}*/

	/*-----------------*/
    /* HEADERHOME */
    /*-----------------*/
	/*#headerHome-content{padding: 100px 50px 50px;}*/

	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	/*#navprimary .navigmenu .naviglink.lvl-0.item-logo span{
		width: 210px;
	    height: 100px;
	}*/

	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
/*	.home #content .content-txtHome{padding: 100px 3em;}
	.home #content {padding: 0 30px 150px;}*/

    /*-----------------*/
    /* GALLERY HOME */
    /*-----------------*/
    body.template_cv #galleryHome{padding-top: 100px;}
	
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    .sectionsbloc {grid-template-columns: repeat(1,1fr)!important}

    .sectionsbloc .specialthumb {display: none}
    .sectionsbloc .section_thumb .blocthumb img {height: 120%;}
    .sectionsbloc .section_thumb .blocthumb {overflow: hidden}

    .sectionsbloc.even {z-index: 2}
	 .sectionsbloc.even:not(:first-child){padding-top: 160px;}
	
    .sectionsbloc.even .section_thumb {
        height: 60vh;
        min-height: 300px;
        order: -1
    }
    .sectionsbloc.even .section_txt {
        margin-top: -150px;
        width: 90%
    }
    
    .sectionsbloc.odd .section_thumb {order: 2}
    .sectionsbloc.odd {
        padding-top: 300px;
        margin-left: 0;
        margin-bottom: 110px;
    }

    .sectionsbloc.odd .section_thumb {
        position: absolute;
        top: 15%;
        bottom: 0;
        height: 100%
    }

    .sectionsbloc.odd .section_thumb .blocthumb {width: 40%}

    .sectionsbloc.odd .specialthumb {
        top: 0;
        right: 0;
        z-index: -2;
        width: 70vw;
        top: -680px;
        bottom: 46vh;
        display: block;
        position: absolute;
        background: var(--background-color);
    }

    .sectionsbloc.odd .specialthumb img {opacity: .3}

    .sectionsbloc.odd .section_txt {
        width: 65%;
        margin-left: 35%;
        max-width: initial;
        z-index: 1
    }

    /*-----------------*/
    /* 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: 50px;
        line-height: 1;
        text-shadow: 0 0 7px var(--black);
    }
    
    /*-----------------*/
	/* PRESTATIONS */
	/*-----------------*/
	#prestations{padding: 150px 15px 150px;}
	#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 */
    /*-----------------*/
    .wrapperFooter {
        margin-top: -125px;
        padding: 50px;
        width: 94%
    }
    body:not(.template-contact-php) #footer #footerbloc {
        padding: 120px 20px;
        padding-bottom: 250px
    }

    body:not(.template-contact-php) #footerLinks {padding: 40px 20px}
    
}

@media(min-width: 1281px){
	/*-----------------*/
	/* NAVPRIMARY */
	/*-----------------*/
	/*#navprimary .navigmenu .naviglink.lvl-0.item-logo span {
        width: 280px;
        height: 111px;
        background-size: 78%;
    }*/

    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
    #reassurances .title h2{font-size: 60px;}
    #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}

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
     body:not(.template-contact-php) #footerLinks {padding: 70px 20px}
}

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

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

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

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

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

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

	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
/*	.home #content .title{
		padding: 40px 20px;
		top: -90px;
		margin-bottom: -40px;
	}
	.home #content .content-txtHome{padding: 60px 2em;}*/
	
	
	
	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
	#sections .sectionsbloc{grid-template-columns: repeat(2, 1fr)!important;}
	
	#sections .section_txt {
        grid-column: span 2;
        max-width: none;
        order: -2
    }

    #sections .sectionsbloc .section_thumb {order: -1!important }

    #sections .sectionsbloc .section_thumb,
	#sections .sectionsbloc .specialthumb {height: 450px}

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

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
    .wrapperFooter {
        padding: 70px 25px;
        grid-gap: 0!important;
    }
    #footer #footerbloc>.wrappercontent {
        grid-template-columns: 1fr 1fr 1fr ;
        grid-column-gap: 10px;
        grid-row-gap: 40px
    }
}

@media(max-width: 767px){
	/*-----------------*/
    /* NAVPRIMARY */
    /*-----------------*/
	/*.ckmenu-nav {top: 70px;}*/
	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
	#prestations{padding-bottom:0;}

	/*-----------------*/
    /* CONTENT */
    /*-----------------*/
/*	.home #content .content-imgHome .wp-block-column .wp-block-image{height: 300px;}
	.home #content .content-txtHome{padding: 60px 0 0;}
	*/
	/*-----------------*/
    /* PARTENAIRES */
    /*-----------------*/
	#partenaires .title{margin-bottom: 20px;}
	
	/*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    #sections .sectionsbloc .section_thumb,
	#sections .sectionsbloc .specialthumb {height: 300px}

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

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
    #footer #footerbloc>.wrappercontent {
        grid-template-areas:
            "infoadresseFooter"
            "infoouvertureFooter"
            "infotelfixeFooter";
        grid-template-columns: 1fr;
        grid-row-gap: 20px;
    }
    .wrapperFooter {padding: 40px 15px}
	
}

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

