/*-----------------*/
/* LOADER */
/*-----------------*/
#loader-wrapper{background: var(--tertiary-color)}
.loader {
  --size: 3rem;
  width: var(--size);
  height: var(--size);
  position: relative;
  animation: spin988 2s linear infinite;
}

.loader .circle {
  --size: 1.2rem;
  width: var(--size);
  height: var(--size);
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
}


.loader .circle:nth-child(1) {
  top: 0;
  left: 0;
	border-bottom-right-radius: 3px;
}

.loader .circle:nth-child(2) {
  top: 0;
  right: 0;
	border-bottom-left-radius: 3px;
}

.loader .circle:nth-child(3) {
  bottom: 0;
  left: 0;
	border-top-right-radius: 3px;
}

.loader .circle:nth-child(4) {
  bottom: 0;
  right: 0;
	border-top-left-radius: 3px;
}

@keyframes spin988 {
  0% {
    transform: scale(1) rotate(0);
  }

  20%, 25% {
    transform: scale(1.3) rotate(90deg);
  }

  45%, 50% {
    transform: scale(1) rotate(180deg);
  }

  70%, 75% {
    transform: scale(1.3) rotate(270deg);
  }

  95%, 100% {
    transform: scale(1) rotate(360deg);
  }
}
/*-----------------*/
/* ELEMENTS */
/*-----------------*/
.overlay{background: linear-gradient(to bottom, var(--tertiary-color), #00000078);}

.design-button .text-one {
    position: relative;
    display: block;
    transition: all 0.3s ease;
}
.design-button .text-two {
    position: absolute;
    top: 120%;
    display: block;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
.design-button {overflow: hidden;}
.design-button:hover .text-one:first-child {
    -webkit-transform: translateY(-270%);
    -ms-transform: translateY(-150%);
    transform: translateY(-270%);
}
.design-button:hover  .text-two {
    top: 50%;
    transform: translateY(-50%);
}

.design-button:hover:before {top: -40%;}

.design-button::before{
    -webkit-transition-duration: 800ms;
    transition-duration: 800ms;
    position: absolute;
    width: 200%;
    height: 200%;
    content: "";
    top: -200%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    border-radius: 50%;
    z-index: 0;
    background: var(--tertiary-color);
}
.is-style-outline .design-button:before{background: var(--primary-color);}
/*-----------------*/
/* HEADER */
/*-----------------*/

/*-----------------*/
/* SOCIAL */
/*-----------------*/
.sociblock .share-buttons a{
	border-radius: 100px;
	padding: 10px;
	border: 1px solid #d8d8d8;
	margin: 0 2px;
}
.sociblock .share-buttons a:hover{
	background: var(--primary-color);
	border-color: var(--primary-color);
}
.sociblock .share-buttons a svg{--size: 14px;}
#header-social .sociblock .share-buttons a svg{fill: var(--white);}
.sociblock .share-buttons a:hover svg{fill: var(--white);}

/*-----------------*/
/* NAVPRIMARY */
/*-----------------*/
.navigmenu .naviglink.lvl-0:not(.item-logo) span:after,
.navigmenu .naviglink:not(.item-logo) span:before {
    content: '';
    display: block;
    position: absolute;
    left: -.1em;
    bottom: -.4em;
    width: 100%;
    height: 1px;
    border-top: 1px solid var(--primary-color);
    -webkit-transform: scale(0,1);
    -ms-transform: scale(0,1);
    transform: scale(0,1);
    -webkit-transform-origin: 0 50%;
    -ms-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition: -webkit-transform .4s cubic-bezier(.48,.57,.33,.89) .1s;
    -o-transition: transform .4s cubic-bezier(.48,.57,.33,.89) .1s;
    transition: transform .4s cubic-bezier(.48,.57,.33,.89) .1s;
    transition: transform .4s cubic-bezier(.48,.57,.33,.89) .1s , -webkit-transform .4s cubic-bezier(.48,.57,.33,.89) .1s
}

.navigmenu .naviglink:not(.item-logo) span:before {
    padding-bottom: 4px;
    -webkit-transition: -webkit-transform .4s cubic-bezier(.48,.57,.33,.89);
    -o-transition: transform .4s cubic-bezier(.48,.57,.33,.89);
    transition: transform .4s cubic-bezier(.48,.57,.33,.89);
    transition: transform .4s cubic-bezier(.48,.57,.33,.89) , -webkit-transform .4s cubic-bezier(.48,.57,.33,.89)
}


#navprimary .navigmenu .active .naviglink.lvl-0:not(.item-logo) {color: var(--primary-color)!important;}

#navprimary .navigmenu .active .naviglink.lvl-0:not(.item-logo) span:after,
#navprimary .navigmenu .naviglink.lvl-0:not(.item-logo):hover span:after,
#navprimary .navigmenu .active .naviglink.lvl-0:not(.item-logo) span:before,
#navprimary .navigmenu .naviglink.lvl-0:not(.item-logo):hover span:before {
    -webkit-transform: scale(1,1);
    -ms-transform: scale(1,1);
    transform: scale(1,1)
}

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

#headerHome-certifications{
    margin-top: 10px;
}
.marque-alsace.big{
    width: 87px;
    height: 70px;
    margin: 0;
}
/*-----------------*/
/* GALLERY HOME */
/*-----------------*/

/*-----------------*/
/* PRODUITS HOME */
/*-----------------*/

/*-----------------*/
/* CONTENT */
/*-----------------*/
.home #content:before{
    height: 67%;
    background: var(--tertiary-color);
    z-index: 0;
}
.home .eb-wrapper-outer { background: none!important}
.home #content .wp-block-gallery {pointer-events: none;position: relative;z-index: 1;}
.home #content .wp-block-gallery a {pointer-events: all}

/*-----------------*/
/* PRESTATIONS */
/*-----------------*/
#prestations {overflow: hidden;}
.home #prestations { background-image: url('../images/home-bg1.jpg')}

.template-parent-page-php #content {padding-bottom: 0;}
.template-parent-page-php #prestations {padding-top: 80px;}
.template-parent-page-php #prestations:before{content: none;}

.bloc_prestations h3 {transition: all 0.4s;}
.prestations-content {padding: 10px;}

.home  :is(.content_link, .title_content, .prestations-title h3, .tc_excerpt) { color: var(--white);}
.template-parent-page-php :is(.content_link, .title_content, .prestations-title h3, .tc_excerpt) { color: var(--title-color);}

.prestations-content :is(.content_link, .tc_excerpt) {font-size: 16px;}

.prestations-content .button:not(.cf_submit){
    background: #fff0!important;
    background-image: url(../images/arrow.svg)!important;
    background-position: center!important;
    background-repeat: no-repeat!important;
    background-size: contain!important;
    --size: 100px;
    width: var(--size);
    height: var(--size);
    transition: all 0.4s;
}
.prestations-content .button:not(.cf_submit)::before{display: none;}
.prestations-content .button:hover{transform: rotate(-45deg);}
.prestations-content .button span{font-size: 0;}
/*-----------------*/
/* ACTU */
/*-----------------*/
#news .next_slider {margin-top: 10px;}
#news .title_link_slider {
    background-repeat: no-repeat;
    background-image: linear-gradient(transparent calc(100% - 1px), currentColor 1px);
    transition: .4s cubic-bezier(.215,.61,.355,1);
    background-size: 0 100%;
}
#news .title_slider:hover .title_link_slider {background-size: 100% 100%;}
#news .left {
    display: grid;
    align-items: start
}

#news .titleImg {
    background: url(../images/home-bg3.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 200px;
}

#news .wrapperActu { counter-reset: actus}

#news .wrapper_slider:not(:last-child) .wrapper_inner_slider {border-bottom: 1px solid #00000017}

#news .wrapper_inner_slider {
    background: none;
    padding: 10px 0px;
}

#news .thumbnail_slider {
    transition: all .5s;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    height: 160px;
}

#news .content_slider::before {
    content: "0" counter(actus);
    counter-increment: actus;
    position: absolute;
    top: 47%;
    transform: translateY(-50%);
    left: 0;
    font-family: var(--font-title);
    font-size: 4em;
    opacity: .1;
    color: var(--title-color);
    font-weight: bold;
}
/*-----------------*/
/* SECTIONS */
/*-----------------*/
.buttons-wrap{
	flex-direction: column;
	align-items: center;
	gap: 5px;
}
#choixSections {
    counter-reset: sections;
    display: flex;
    justify-content: center;
    position: relative
}

#choixSections:before {
    border: 1px solid var(--primary-color);
    border-bottom: none;
    border-right: none;
    top: 94px
}

#choixSections:after {
    --size: 20px;
    width: var(--size);
    height: var(--size);
    background: var(--primary-color);
    clip-path: polygon(0 0,50% 50%,100% 0,50% 50%,0 35%,50% 100%,100% 35%,50% 50%,100% 0);
    top: calc(100% + 94px);
    left: -10px
}

#choixSections .linkSections p {
    text-transform: uppercase;
    font-size: 14px;
    font-family: var(--font-bold);
    letter-spacing: 1.4px;
    line-height: 1.3;
    text-align: center;
    color: var(--title-color);
    background: var(--background-color);
    padding: 0 30px
}

#choixSections .linkSections:not(:last-of-type) {
    margin-right: 30px
}

#choixSections .linkSections {
    position: relative;
    cursor: pointer;
    padding: 5px 20px;
    transition: 250ms all ease-in-out;
    text-align: center
}

#choixSections .linkSections.active p {
    color: var(--primary-color);
    font-weight: bold;
}

#choixSections .linkSections img {
    --size: 30px;
    width: var(--size);
    height: var(--size);
    object-fit: contain;
    filter: brightness(0) invert(1)
}

.subimageSections {
    --size: 60px;
    border-radius: 100px;
    background-color: var(--tertiary-color);
    text-align: center;
    width: var(--size);
    height: var(--size);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    transition: 250ms all ease-in-out;
    position: relative;
}

#choixSections .linkSections.active .subimageSections, #choixSections .linkSections:hover .subimageSections {
    background-color: var(--primary-color);
    filter: drop-shadow(0 5px 0 white)
}

#choixSections .linkSections .subimageSections:before {
    counter-increment: sections;
    content: counter(sections);
    color: var(--white);
    font-size: 2em;
    font-family: var(--font-title);
    transform: scale(0);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

#choixSections .linkSections .subimageSections:after {
    content: " ";
    --size: 100%;
    width: var(--size);
    height: var(--size);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%) scale(0);
    border: 1px solid var(--primary-color);
    opacity: 0;
    transition: .4s all;
    border-radius: 50%;
    border-bottom-left-radius: 3px;
}

#choixSections .linkSections.active .subimageSections:after, 
#choixSections .linkSections:hover .subimageSections:after {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1.15)
}


/*-----------------*/
/* REASSURANCES */
/*-----------------*/
/* #reassurances{background-image: url(../images/home-bg3.jpg);} */
#reassurances{border-top: solid 1px #e5e5e5;}
.nohome #reassurances{border-bottom: solid 1px #e5e5e5;}
#reassurances:before {
    background-image: url(../images/light-pattern.jpg);
    background-position: center;
    background-size: cover;
    transform: scaleX(-1);
}
.picto-container li{
	position: relative;
	flex: 1 1 50%;
	text-align: left;
	flex-direction: row;
	padding: 20px 35px;
}
.picto-container li:first-child,
.picto-container li:nth-child(3){
	text-align: right;
	flex-direction: row-reverse;
}
.picto-container{ flex-wrap: wrap;}
.picto-container li p{
	margin: 0 0  0 40px;
	text-transform: uppercase;
	font-family: var(--font-bold);
	letter-spacing: 1px;
	/* color: var(--white); */
	font-weight: bold;
}
.picto-container li:first-child:before,
.picto-container li:nth-child(3):before{
	right: 15px;
	left: auto;
}
.picto-container li:first-child p,
.picto-container li:nth-child(3) p{margin: 0 40px  0 0;}

.picto-container li:first-child:before{border-bottom-right-radius: 3px;}
.picto-container li:nth-child(2):before{border-bottom-left-radius: 3px;}
.picto-container li:nth-child(3):before{border-top-right-radius: 3px;}
.picto-container li:last-child:before{border-top-left-radius: 3px;}


.picto-container li:before{
	border-radius: 50%;
	content: "";
	--size: 70px;
	width: var(--size);
	height: var(--size);
	border: solid 2px var(--primary-color);
	position: absolute;
	top: 0;
	left: 16px;
}

/*-----------------*/
/* PARTENAIRES */
/*-----------------*/
#partenaires{border-top: solid 1px #e5e5e5;}
#partenaires:before {
    background-image: url(../images/light-pattern.jpg);
    background-position: center;
    background-size: cover;
    transform: scaleX(-1);
}
/*-----------------*/
/* NEWSLETTER */
/*-----------------*/

/*-----------------*/
/* SHARE */
/*-----------------*/

/*-----------------*/
/* AGENCES */
/*-----------------*/
/*-----------------*/
/* CTA */
/*-----------------*/
#cta{
    font-size: 15px;
    line-height: 1.6;
    background: var(--white);
    padding: 30px 15px;
    max-width: 500px;
    margin: 0 auto -20px;
    width: 95%;
    text-align: center;
    box-shadow: 0 0 20px rgb(0 0 0 / 20%);
    z-index: 3;
}
#cta .title{margin-bottom: 10px;}
#cta #cta-buttons{margin: 30px 0 14px;}
#cta .title h2{font-size: 24px;}

/*-----------------*/
/* GALLERY FOOTER */
/*-----------------*/
#galleryFooter .gallery{
    display: grid;
    grid-gap: 1px;
    grid-template-columns: repeat(8,1fr);
    grid-auto-rows: 240px;
    grid-auto-flow: row dense;
    padding-bottom: 1px;
    z-index: 1;
    position: relative;
}
#galleryFooter .gallery .gallery-item{
    grid-column: span 1;
    grid-row: span 1;
    width: 100%!important;
}

/*-----------------*/
/* CONTACTFORM */
/*-----------------*/
.cekome_form .button.cf_submit:hover{
    background-color: var(--secondary-color);
}
/*-----------------*/
/* FOOTER */
/*-----------------*/
#footerForm #wrapperForm .mention{
	text-align: left;
	padding-left: 10px;
}
#footer-coordonnees{
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url(../images/home-bg1.jpg);
	background-position: center;
}
#footer-coordonnees #coordonnees-item{
	max-width: 330px;
	background: var(--primary-color);
	padding: 40px 30px;
	margin-left: -50px;
	border-radius: 20px;
}
#footer-coordonnees #coordonnees-item > div{margin: 30px 0;}
#footer-coordonnees #coordonnees-item > div a:hover{
    color: var(--title-color);
}

#footer{background: var(--tertiary-color);}

body:not(.template-contact-php, .home) #footer{margin-top: 80px;}

#footerLinks {padding: 40px 10px;}
#footer-coordonnees #coordonnees-item > div span,
#footer-coordonnees #coordonnees-item > .horaires .titlehoraires{color: var(--white);}