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

body.home.template_cv #wrappersite {
    grid-template-areas:
     "header"
        "headerHome"
        "content"
        "reassurances"
        "sections"
        "partenaires"
        "footerMap"
		"galleryHome"
        "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 */
/*-----------------*/
#info-toogle{box-shadow: none!important;}
#header-coordonnees {
    position: fixed;
    top: 0;
    right: -340px;
    width: 340px;
    height: 100%;
    min-height: 100%;
    padding: 70px 38px 65px;
    background-color: var(--title-color);
    overflow: hidden;
    visibility: hidden;
    overflow: scroll;
    z-index: 9998!important;
    transition: all .6s cubic-bezier(.77,0,.175,1)!important;
    text-align: left;
    box-shadow: 0 0 20px rgb(0 0 0 / 30%);
    line-height: 1.4;
    font-size: 15px;
    transform: none;
    left: auto;
    justify-content: center;
    opacity: 1;
    flex-direction: column;
}
body.is-toggle-open #header-coordonnees {
    right: 0;
    visibility: visible;
}
/*-----------------*/
/* NAVPRIMARY */
/*-----------------*/
.navigmenu .naviglink{ color: var(--white);}

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

/*-----------------*/
/* CONTENT */
/*-----------------*/
.home #content{padding-top: 0;}
.home #content .content-imgHome{flex-wrap: nowrap!important;}

.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 .title{
	max-width: 720px;
}
.home #content .content-imgHome{
    max-width: 410px;
    margin-left: auto;
    position: relative;
    top: -70px;
    margin-bottom: -40px;
    z-index: 3;
    gap: 0;
}
.home #content .content-imgHome .wp-block-column:first-of-type .wp-block-image{
    top: 35px;
    height: 125px;
    position: relative;
}
.home #content .content-imgHome .wp-block-column:last-of-type .wp-block-image{
    position: relative;
    border-radius: 0 0 200px 200px;
    overflow: hidden;
    height: 230px;
    left: -26%;
    width: 126%;
    z-index: -1;
}

/*-----------------*/
/* PRESTATIONS */
/*-----------------*/
.home #prestations{
	background-image: url(../../images/bg-prestations.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.nohome #prestations #prestations-wrapper{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(--primary-color);}
#prestations .bloc_prestations:hover .prestations-title h3 a,
#prestations .bloc_prestations:hover .prestations-title:before{color: var(--black);}

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

.sectionsbloc .specialthumb {position: relative}

/*-----------------*/
/* REASSURANCES */
/*-----------------*/
#reassurances {
    background-image: url(../../images/home-bg3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

#img-reassurance {
    background-image: url(../../images/home-bg1.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-header {margin-bottom: 60px}

#partenaires .widget_partenaires {
    background-color: #fff;
    border-bottom: none;
    border-right: 0;
    position: relative;
    z-index: 2
}

#partenaires .widget_partenaires li {
    border: 1px solid #eee;
    min-height: 200px
}

#partenaires .widget_partenaires img {
    max-width: 81%;
    height: auto;
    max-height: 100px
}
#partenaires .widget_partenaires li .wrap-element{
    height: auto;
    border: none;
    padding: 0;
}
#partenaires .partenaires-intro{
    background-image: url('../../images/home-bg1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 250px;
    width: 100%;
}
/*-----------------*/
/* GALLERY HOME */
/*-----------------*/
body.template_cv #galleryHome{padding: 10px 0;}

/*-----------------*/
/* FOOTER */
/*-----------------*/
/*#footer{background-color: var(--title-color);}
#footerLinks a { color: var(--white);}

#footer #footerbloc {
	grid-template-areas:
		"footerLinks";
	grid-template-columns:  1fr;
	padding: 0;
}
#footerForm{
	background-image: url(../../images/home-bg1.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 120px 50px 220px;
    z-index: 3;
}
#footerForm #wrapperForm{
	max-width: 700px;
    margin: auto;
    background-color: var(--white);
    padding: 70px 50px;
}
#footerForm #wrapperForm .title{margin-bottom: 40px;}

#footer-coordonnees{
	bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
#footer-coordonnees .wrappercontent > div {
    line-height: 1.3;
    font-size: 15px;
    padding: 45px 20px 20px 20px;
}
#footer-coordonnees .wrappercontent>div:before {top: 20px;}*/

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

@media(min-width: 768px){
	/*-----------------*/
	/* CONTENT */
	/*-----------------*/
	.home #content .content-txtHome .wp-block-column {
	    column-count: 2;
	    column-gap: 60px;
	    text-align: justify;
	}

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

	
    /*-----------------*/
    /* PARTENAIRES */
    /*-----------------*/
    #partenaires {padding: 100px 40px;}
    #partenaires .ckctrldiv{display: none;}
    #partenaires .ckslidercontrols .prev,
    #partenaires .ckslidercontrols .next {
        top: 50%;
        --size: 38px;
        transform: translateY(-50%);
        bottom: auto;
    }
    #partenaires .cksliderwrap{padding: 0;}
    #partenaires .ckslidercontrols .prev {left: -18px}
    #partenaires .ckslidercontrols .next {right: -18px}

    /*-----------------*/
    /* FOOTER */
    /*-----------------*/
	/*#footer-coordonnees{border-top: solid 1px rgb(255 255 255 / 50%);}
	#footer-coordonnees .wrappercontent > div:not(:last-of-type) {border-right: solid 1px rgb(255 255 255 / 50%)}*/
}

@media(min-width: 1025px){
    /*-----------------*/
    /* HEADER */
    /*-----------------*/
    #header .navigmenu{justify-content: flex-start;}
    #headerGrid{
        grid-template-areas:
            "logo          navprimary         infoToogle";
        grid-template-columns: 150px 1fr 50px;
        grid-column-gap: 0;
        padding: 10px;
    }
    #header-coordonnees > div{margin: 15px 0;}
    #info-toogle{
        display: flex;
        z-index: 99999;
        justify-self: flex-end;
    }

    /*-----------------*/
    /* 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);
    }
    
	/*-----------------*/
    /* HEADER HOME */
    /*-----------------*/
	#headerHome-content{padding: 100px 30px 220px;}
	
    /*-----------------*/
    /* CONTENT */
    /*-----------------*/
	.home #content .content-imgHome{max-width: 720px;}
		
	.home #content .content-imgHome{
		padding: 0 90px;
		top: -250px;
	    margin-bottom: -250px;
	}
	.home #content .content-imgHome .wp-block-column:first-of-type .wp-block-image{
		top: 105px;
	    height: 295px;
	}
	.home #content .content-imgHome .wp-block-column:last-of-type .wp-block-image{
		height: 520px;
	}
    

	/*-----------------*/
    /* PRESTATIONS */
    /*-----------------*/
    .home #prestations-wrapper{padding: 180px 15px;}
    #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 */
    /*-----------------*/
	#sections{padding-top: 100px;}
	 .sectionsbloc.odd {padding-bottom: 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
    }
}

@media(min-width: 1281px){
	/*-----------------*/
    /* HEADER */
    /*-----------------*/
    #headerGrid{
        grid-template-columns: 230px 1fr 50px;
        grid-column-gap: 0;
        padding: 15px 20px;
    }

	/*-----------------*/
    /* PARTENAIRES */
    /*-----------------*/
    #partenaires {padding: 0 30px 100px;}

    /*-----------------*/
    /* 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;}
   
	
    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
    .sectionsbloc.odd .section_thumb {margin-top: -125px;}
   

}

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

@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: 50px 1fr 50px;
        justify-items: center;
        padding: 10px;
    }
    #header-coordonnees {
        right: -250px;
        width: 250px;
        padding: 70px 18px 65px;
    }




    /*-----------------*/
    /* SECTIONS */
    /*-----------------*/
     .sectionsbloc .section_txt {
        max-width: 850px;
        margin: 0 auto;
        width: 100%
    }
    .sectionsbloc .specialthumb {height: 100%}
	.section_txt{order: -2}


    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
	.home #reassurances .section-separator.bottom{ display: none;}
    #reassurances-wrapper {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 */
    /*-----------------*/
	/*#footer-coordonnees .wrappercontent > div{padding: 45px 10px 20px 10px;	}
	
	#footer #footerbloc {
	    grid-template-areas:
    	    "footerlogo"
    	    "footerLinks";
	    grid-template-columns: 1fr;
	    justify-items: center;
	    grid-row-gap: 0;
	}*/
}

@media(max-width: 767px){
  

    /*-----------------*/
    /* REASSURANCES */
    /*-----------------*/
    #reassurances-wrapper {padding: 90px 15px;}
	.home #reassurances  #reassurances-wrapper{padding-top: 60px;}
	
	
    #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;
    }
	
	/*-----------------*/
    /* PARTENAIRS */
    /*-----------------*/
	#partenaires .partenaires-intro{height: 200px;}
	
    /*-----------------*/
	/* FOOTER */
	/*-----------------*/
	/*#footerForm {padding: 60px 15px 300px;}

    #footerForm #wrapperForm {
        padding: 40px 20px;
        max-width: 600px
    }

    #footer-coordonnees {bottom: 20px}
	#footer-coordonnees > .wrappercontent {flex-direction: column;}

	#footer-coordonnees .wrappercontent > div {
	    border: none;
	    max-width: 190px;
	    margin: 0 auto;
	    text-align: left;
	    padding: 10px 0 10px 24px;
	    align-items: flex-start;
	}
	#footer-coordonnees .wrappercontent > div:before {
	    left: 0;
	    top: 50%;
	    transform: translateY(-50%);
	}*/
}

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