/*-----------------*/
/* LOADER */
/*-----------------*/
  #container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  #h3 {
    color: var(--white);
  }
  
  #ring {
    width: 190px;
    height: 190px;
    border: 1px solid transparent;
    border-radius: 50%;
    position: absolute;
  }
  
  #ring:nth-child(1) {
    border-bottom: 8px solid var(--white);
    animation: rotate1 2s linear infinite;
  }
  
  @keyframes rotate1 {
    from {
      transform: rotateX(50deg) rotateZ(110deg);
    }
  
    to {
      transform: rotateX(50deg) rotateZ(470deg);
    }
  }
  
  #ring:nth-child(2) {
    border-bottom: 8px solid var(--primary-color);
    animation: rotate2 2s linear infinite;
  }
  
  @keyframes rotate2 {
    from {
      transform: rotateX(20deg) rotateY(50deg) rotateZ(20deg);
    }
  
    to {
      transform: rotateX(20deg) rotateY(50deg) rotateZ(380deg);
    }
  }
  
  #ring:nth-child(3) {
    border-bottom: 8px solid #666;
    animation: rotate3 2s linear infinite;
  }
  
  @keyframes rotate3 {
    from {
      transform: rotateX(40deg) rotateY(130deg) rotateZ(450deg);
    }
  
    to {
      transform: rotateX(40deg) rotateY(130deg) rotateZ(90deg);
    }
  }
  
  #ring:nth-child(4) {
    border-bottom: 8px solid var(--tertiary-color);
    animation: rotate4 2s linear infinite;
  }
  
  @keyframes rotate4 {
    from {
      transform: rotateX(70deg) rotateZ(270deg);
    }
  
    to {
      transform: rotateX(70deg) rotateZ(630deg);
    }
  }      
/*-----------------*/
/* ELEMENTS */
/*-----------------*/
.tc_content ul:not(.no-bullet) li:before{border-radius: 0;}
.separator {
	height: 1px;
	width: 140px;
	background-color: var(--primary-color);
	margin: 30px 0;
	position: relative;
}
.separator span{
	position: absolute;
	top: 50%;
	width: 8px;
	height: 8px;
	background-color: var(--primary-color);
	border-radius: 0;
	left: 0;
	transform: translate(0,-50%) rotate(45deg);
}

.title.tac .separator{margin: 30px auto 60px;}

.title.tac .separator span{
	left: 50%;
    transform: translate(-50%,-50%) rotate(45deg);
}

/* =======  Lines  ======= */
.grid-lines{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}



.grid-lines > div{
	display: block;
	float: left;
	height: 100%;
	border-left: 1px solid #f4f4f4;
	box-sizing: border-box;
	width: 16.666%;
}

.grid-lines.light{
	position: absolute;
	z-index: 0;
}
.grid-lines.light > div{border-left-color: rgba(105,105,105,.3);}

#modal-infoouverture .jourhoraires{text-align: right}

/*-----------------*/
/* HEADER */
/*-----------------*/
#header{
	top: 20px;
	left: 0;
	right: 0;
}
/*-----------------*/
/* NAVPRIMARY */
/*-----------------*/
.navigmenu .naviglink.lvl-0:not(.item-logo) span:after {
	content: "";
	pointer-events: none;
    bottom: -2px;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: currentColor;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
}

.navigmenu .naviglink.lvl-0:not(.item-logo):hover span:after{
   width: 100%;
   left: 0%;
}

/*-----------------*/
/* HEADERHOME */
/*-----------------*/
#headerHome-accroche{
	max-width: 850px;
	margin: 0 auto;
}
#headerHome-social{
	margin-top: 20px;
}
/*-----------------*/
/* GALLERY HOME */
/*-----------------*/

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

/*-----------------*/
/* CONTENT */
/*-----------------*/
.home #content{padding: 100px 0 150px;}
.home #content .col-img {
    width: 26%;
    align-items: baseline;
    padding-right: 30px;
}
.home #content .col-img .specialthumb {
    height: 465px;
    width: 70%;
}
.home #content .col-img .tertiarythumb {
    height: 30%;
    width: 60%;
    align-self: flex-end;
}
.home #content .col-content {width: 74%;}
.home #content .col-content .tc_content {padding: 150px 81px 50px 20px;}
.home #content .col-content .blocthumb {
    height: 90%;
    top: 10%;
    position: relative;
}
.home #content .col-content .blocthumb img {
    position: absolute;
    top: 0;
    left: 0;
}
/*-----------------*/
/* PRESTATIONS */
/*-----------------*/
#prestations{
  background-image: url(../images/bg-prestations.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#choixPrestations{
	position: relative;
	width: 29%;
	text-align: right;
}
#choixPrestations .linkPresta p:before{
	content: "";
	border: none;
	height: 1px;
	width: 164px;
	background: var(--primary-color);
	position: absolute;
	top: 50%;
	right: -190px;
	z-index: 10;
	transition: all 300ms linear 0s;
	transform: scaleX(0);
	transform-origin: 0 50%;
}

#choixPrestations .linkPresta.active p:before{transform: scaleX(1);}
#choixPrestations .linkPresta p{
	padding: 10px 0;
	font-size: 16px;
	cursor: pointer;
	transition: 250ms all ease-in-out;
	font-family: var(--font-title);
	position: relative;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--title-color);
}


#choixPrestations .linkPresta.active p,
#choixPrestations .linkPresta:hover p {color: var(--primary-color);}


#choixPrestations li:nth-child(1).active ~ .choixLine, #choixPrestations li:nth-child(1)[class]:hover ~ .choixLine {
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

#choixPrestations li:nth-child(2).active ~ .choixLine, #choixPrestations li:nth-child(2)[class]:hover ~ .choixLine {
  -webkit-transform: translateY(53px);
          transform: translateY(53px);
}

#choixPrestations li:nth-child(3).active ~ .choixLine, #choixPrestations li:nth-child(3)[class]:hover ~ .choixLine {
  -webkit-transform: translateY(106px);
          transform: translateY(106px);
}

#choixPrestations li:nth-child(4).active ~ .choixLine, #choixPrestations li:nth-child(4)[class]:hover ~ .choixLine {
  -webkit-transform: translateY(159px);
          transform: translateY(159px);
}

#choixPrestations li:nth-child(5).active ~ .choixLine, #choixPrestations li:nth-child(5)[class]:hover ~ .choixLine {
  -webkit-transform: translateY(212px);
          transform: translateY(212px);
}
#choixPrestations li:nth-child(6).active ~ .choixLine, #choixPrestations li:nth-child(6)[class]:hover ~ .choixLine {
  -webkit-transform: translateY(268px);
          transform: translateY(268px);
}
#choixPrestations li:nth-child(7).active ~ .choixLine, #choixPrestations li:nth-child(7)[class]:hover ~ .choixLine {
  -webkit-transform: translateY(321px);
          transform: translateY(321px);
}
#choixPrestations li:nth-child(8).active ~ .choixLine, #choixPrestations li:nth-child(8)[class]:hover ~ .choixLine {
  -webkit-transform: translateY(374px);
          transform: translateY(374px);
}
#choixPrestations li:nth-child(9).active ~ .choixLine, #choixPrestations li:nth-child(9)[class]:hover ~ .choixLine {
  -webkit-transform: translateY(427px);
          transform: translateY(427px);
}
#choixPrestations li:nth-child(10).active ~ .choixLine, #choixPrestations li:nth-child(10)[class]:hover ~ .choixLine {
  -webkit-transform: translateY(480px);
          transform: translateY(480px);
}


#wrapperPrestations{margin-top: 180px;}

#contentPrestations{
	width: 70%;
	padding-left: 90px;
	position: relative;
}
#contentPrestations:before{
	position: absolute;
	content: '';
	width: 85%;
	height: 160%;
	top: -30%;
	left: 25%;
	background: var(--black);
	-webkit-transform-origin: top center;
	-ms-transform-origin: top center;
	transform-origin: top center;
	z-index: -1;
}

.prestations-wrapper{
	display: flex;
    align-items: center;
}
.prestations-img{
	width: 320px;
    display: block;
    min-width: 320px;
    height: 400px;
}
.prestations-content{
    padding-left: 75px;
    padding-right: 25px;
}
.prestations-content .title_content,
.prestations-content .content_link, 
.prestations-content .tc_excerpt{color: var(--white);}

/*-----------------*/
/* ACTU */
/*-----------------*/
.btnLine {
    background: none!important;
    padding: 0!important;
    line-height: 28px;
    color: var(--title-color);
    letter-spacing: 1px;
    font-size: 12px;
    font-family: var(--font-bold);
    text-transform: uppercase;
    position: relative;
    font-weight: bold
}

.btnLine::after {
    content: '';
    position: absolute;
    height: 1px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--title-color);
    transform-origin: bottom left;
    transform: scaleX(1);
    transition: transform .3s ease-in-out
}

.btnLine:hover::after {
    transform: scaleX(0);
    transform-origin: bottom right
}

.arrowlink {
    position: relative;
    display: inline-block;
    padding-right: 40px;
    font-family: var(--font-bold);
    color: var(--title-color);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: bold;
    -webkit-font-smoothing: initial
}

.arrowlink span {
    transform: translateZ(0);
    transition: transform .5s;
    position: relative;
    display: inline-block
}



.arrowlink.white {color: var(--white)}

.arrowlink:hover span {
    transform: translateZ(0) translateX(.5em);
    color: var(--primary-color)
}

#news{
    z-index: 0;
    padding: 100px 30px;
    background-image: url(../images/bg-news.jpg);
    background-size: cover;
    background-position: center;
}

#content-news {grid-auto-rows: 195px;}

#news-title{
    border-bottom: 1px solid rgb(255 255 255 / 20%);
    padding-bottom: 10px;
    margin-bottom: 30px;
    position: relative;
}
#news-title .arrowlink{
    top: 7px;
    position: relative;
}
.wrapper_slider {
    display: flex;
    position: relative;
    box-sizing: border-box;
    align-items: center;
    grid-column: span 1;
    height: 100%;
    padding: 0;
    background: var(--light-color);
}
.thumbnail_slider {
    display: block;
    height: 100%;
    width: 46%;
    margin-right: 13px;
}

.content_slider {
    padding: 25px 25px 25px 15px;
    width: 54%;
}
.content_slider .title {margin: 0 0 10px 0;}
.next_slider {
    min-width: 95px;
    margin: 0;
}
.title_slider,
.title_slider h2{
    font-size: 20px;
    font-family: var(--font-bold);
}

#listarticles .thumbnail_slider{
    height: 480px;
    width: 100%;
    margin: 0;
}
#listarticles .content_slider {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: var(--white);
    right: 25px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: auto;
}
#listarticles .listedarticle .content_slider .title_slider {margin: 0 15px 0 0;}

/*-----------------*/
/* SECTIONS */
/*-----------------*/
#sections{
    position:relative;
    z-index: 10;
}
.sectionsbloc .specialthumb {position: relative;}
.sectionsbloc.odd .section_thumb {
    order: 0;
}

/*-----------------*/
/* PARTENAIRES */
/*-----------------*/

/*-----------------*/
/* NEWSLETTER */
/*-----------------*/

/*-----------------*/
/* CTA */
/*-----------------*/
#cta{
    background-image: url('../images/bg-cta.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 50px;
}
#cta .wrappercontent{max-width: 860px;}
.logoAJpiscine img{
	width: 200px;
	margin-bottom: 50px;
}
#cta h2{margin-bottom: 15px;}
#cta p{line-height: 1.5}
/*-----------------*/
/* SHARE */
/*-----------------*/

/*-----------------*/
/* AGENCES */
/*-----------------*/

/*-----------------*/
/* CONTACTFORM */
/*-----------------*/
#footer .cekome_form .blc_checkbox label a:hover{color: var(--white);}

/*-----------------*/
/* FOOTER */
/*-----------------*/
#footerLogo{
  margin-bottom: 75px;
}
#footerForm{
	 padding: 100px 50px;
	 background-image: url('../images/home-bg2.jpg');
    background-size: cover;
    background-position: center;
}
#footerLinks{background: var(--black);}
#footerLinks a{color: var(--white)}