/**
 * Theme Name: Sanit Confort
 * Description: Sanit confort est un thème enfant hérité du thème Konstruct
 * Author: Loïc Jolivet
 * Template: konstruct
 */

/*Base*/
html {
  scroll-behavior: smooth;
}

body {
  font-size: 14px;
}

h1 {
  font-size: 2.25em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.325em;
}
h4 {
  font-size: 1.25em;
}

@media screen and (min-width: 1024px) {
  
  h2 {
    font-size: 1.875em;
  }
  h3 {
    font-size: 1.325em;
  }
}

#site-content #page-header .title {
	color: white !important;
	text-align: center;
	margin: 0;
	font-size: 2.25em;
	line-height: 1.2em;
	text-transform: uppercase;
}



/*Layout*/

body .wrapper {
	width: 100%;
	padding-left: 15px;
	padding-right: 15px;
}

.wrapper, body.page-fullwidth #page-body .wrapper .content-wrap .content .vc_row_wrap, 
body.page-fullwidth #page-body #respond, 
body.page-fullwidth #page-body .nocomments { 
  width: 100%;
  max-width: 1100px; 
}


.full,
.full-width-row {
  position: relative;
  left: calc(-50vw + 50%);
  width: 100vw;
}

 body.page-fullwidth #page-body .wrapper .content-wrap .content .full .vc_row_wrap,
 .full-width-row .vc_row_wrap {
   max-width: initial;
 }

 .full-width-row.boxed .vc_row_wrap {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    padding: 20px 50px;
    box-shadow: 0 0 10px rgba(0 ,0, 0, .25);
 }

/*Header*/
#headerbar .wrapper {
  padding: 0 10px;
}

#headerbar .custom-info {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: column;
}


#headerbar .custom-info {
  text-align-last: left;
}

#headerbar .custom-info a {
  color: #000;
}
#headerbar .custom-info a:hover {
  color: #555;
}

#headerbar .custom-info .tagline {
  display: none;
}


#headerbar .social-links {
  display: none;
}
@media screen and (min-width:300px) {
  #headerbar .social-links {
    display: block;
    position: absolute;
    right: 10px;
    top: 0;
    margin-top: 0;
  }
  #headerbar .custom-info .tagline {
    display: block;
    font-weight: 700;
    font-size: .8em;
    color: #e76318;
    text-align: left;
    margin-top: 10px;
  }
  
  #headerbar .custom-info .tagline span {
    color: #000;
  }
}

@media screen and (min-width:400px) {
  
  #headerbar .custom-info .tagline {
    font-size: 1em;
  }
}

@media screen and (min-width: 1024px) { 
  #headerbar .custom-info {
    display: flex;
    width: 75%;
    justify-content: space-between;
    flex-direction: row;
  }
  #headerbar .custom-info .tagline {
    margin-top: 0;
  }

    
  #headerbar .social-links {
    margin: -4px 0 0;
    position: static;
  }
}

 #masthead-sticky.active {
  box-shadow: 0 0 10px rgba(0, 0, 0, .25);
}

#masthead .wrapper,
#masthead-sticky .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

#masthead .navigator, #masthead-sticky .navigator {
	margin-right: 0;
}

.sticky-logo {
  transform: scale(.8);
  transform-origin: center left;
}

#masthead .navigator .menu li a, #masthead-sticky .navigator .menu li a {
	padding: 0 15px;
}

#masthead .navigator .menu-item.fa-phone {
  color: #e76318 ;
}

#masthead .navigator .menu-item.fa-phone a {
  padding-right: 0;
}

#masthead .navigator .menu-item.fa-phone:hover a,
#masthead-sticky .navigator .menu-item.fa-phone:hover a {
  color: #555;
}

#masthead .navigator .menu > li.fa > a, #masthead-sticky .navigator .menu > li.fa,
#masthead .navigator .menu > li.fa > a, #masthead-sticky .navigator .menu > li.fa > a {
  padding-left: 20px;
  padding-right: 0;
  color: #e76318 ;
}
#masthead.header-v1 .wrapper::after,
#masthead-sticky .wrapper::after {
  display: none;
}

@media (min-width: 1024px) {
  #masthead.header-v1 .menu-item-has-children::after, 
  #masthead-sticky .menu-item-has-children::after {
    content: '';
    display: block;
    width: 4px;
    height: 6px;
    position: absolute;
    right: calc(50% - 3px);
    bottom: 0;
    border-top: 3px solid #555;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    transition: all .2s;
  }
  
  #masthead.header-v1 .menu-item-has-children::after { bottom: 30px}
  #masthead-sticky .menu-item-has-children::after { bottom: 15px}
  
  #masthead.header-v1 .menu-item-has-children:hover::after, 
  #masthead-sticky .menu-item-has-children:hover::after {
    border-top-color: #e76318;
  }
}
@media (max-width: 1024px) {

  #masthead.header-v1 .brand {
    float: none;
    position: relative;
  }
  #masthead .brand img {
    margin-top: 0;
  }
  #masthead .navigator-mobile .navigator-toggle {
    position: relative;
    top: initial;
  }

  #masthead .navigator-mobile .menu {
    position: absolute;
    top: 100%;
    left: 0%;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .15);
  }
  #masthead .navigator-mobile .menu li a {
    padding: 15px;
  }
  #masthead .navigator-mobile .menu li:not(.menu-item-has-children) a {
    margin-right: 0;
  }
  #masthead .navigator-mobile .menu li a:hover {
    background-color: #e76318;
    color: #fff;
  }

  #masthead .navigator .menu li.fa.fa-phone,
  #masthead-sticky .navigator .menu li.fa.fa-phone { 
    margin-left: 0; 
  }

  #masthead .navigator-mobile .menu li.fa.fa-phone{
    display: none;
  }
}

/*Footer*/
body:not(.home ) #site-content #page-footer {
  margin-top: 50px;
}

#site-footer .copyright a {
  color: #666;
}
#site-footer .copyright a:hover {
  color: #e76318;
}
 /*Front Hero section*/


 .front-hero-row .wpb_column {
	margin-bottom: 0;
}

.front-hero-row img {
  border-radius: 0;
}

.cta-banner .wpb_column {
  margin-bottom: 0;
}

.cta-banner .wpb_row {
  text-align: center;
}

.vc_icon_element.scroll-down-arrow {
  position: absolute;
  bottom: 0;
  left: calc(50% - 30px);
  margin-bottom: 0;
}
.scroll-down-arrow a {
  display: flex;
  align-items: center;
  line-height: 60px;
  vertical-align: middle;
}



@media (min-width: 768px) {
  .cta-banner .wpb_row {
    display: flex;
    align-items: center;
    text-align: left;
  }
  .cta-banner .wpb_row .vc_col-sm-9 {
    width: calc(100% - 230px);
  }

  .cta-banner .wpb_row .vc_col-sm-3 {
    width: 230px;
  }

  .cta-container {
    text-align: right;
  }
}

 /*Page header*/
 body #site-content #page-header {
	padding: 15px 0 !important;
  margin-bottom:15px;
  border: none;
	background: #e76318 url(../../assets/img/pattern3.png);
} 


 /*Boutons CTA*/ 


 #site-wrapper .vc_btn.vc_btn_3d {
   position: relative;
   white-space: nowrap;
   text-transform: uppercase;
 }
 
 #site-wrapper .vc_btn.vc_btn_3d::before {
   content: "";
   display: block;
   position: absolute;
   top: 0; right: 0; bottom: 0; left: 0;
   box-shadow: 0 0 15px rgba(0, 0, 0, .15);
   opacity: 0;
   border-radius: 3px;
 }
 
 #site-wrapper .vc_btn.vc_btn_3d:hover::before {
   opacity: 1;
 }


 /*Page title*/
 .page-title {
  text-align: center;
  text-transform: uppercase;
  margin: 25px 0 35px;
  position: relative;
}

.page-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: calc(50% - 25px);
  background-color: #e76318;
}
 /*Navigation links*/
 .single .content .post-navigation .nav-links {
   margin-top: 0;
 }
 /*Formulaires*/

 textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], input.input-text {

	font-family: 'Montserrat', sans-serif;
}
 

@media screen and (min-width: 768px) {
  form.wpcf7-form {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-gap: 20px;
  }
  
  .wpcf7-form p { margin-bottom: 0; }
  
  /*Contact form*/
  #wpcf7-f1860-p690-o1 .wpcf7-form p:nth-child(6),
  #wpcf7-f1860-p690-o1 .wpcf7-form p:nth-child(7),
  #wpcf7-f1860-p690-o1 .wpcf7-form p:nth-child(8)  {
    grid-column: span 2;
  }  
  #wpcf7-f1860-p690-o1 .wpcf7-form p:nth-child(8)  {
    text-align: center;
  }
  /*Recrutement form*/
  #wpcf7-f1746-p1660-o1 .wpcf7-form p:nth-child(6),
  #wpcf7-f1746-p1660-o1 .wpcf7-form p:nth-child(7),
  #wpcf7-f1746-p1660-o1 .wpcf7-form p:nth-child(8),
  #wpcf7-f1746-p1660-o1 .wpcf7-form p:nth-child(9)  {
    grid-column: span 2;
  }
  #wpcf7-f1746-p1660-o1 .wpcf7-form p:nth-child(7) {
    display: flex;
  }
  #wpcf7-f1746-p1660-o1 .wpcf7-form p:nth-child(9) {
    text-align: center;
  }
}

 input:not([type="submit"]).wpcf7-form-control {
    width: 100%;
    padding: 25px 15px;
 }

 textarea.wpcf7-form-control {
   width: 100%;
   min-height: 200px;
 }

 /*Breadcrumbs*/
.rank-math-breadcrumb {
  transition: all .2s;
  text-align: left;
}

.rank-math-breadcrumb:hover {
  opacity: 1;
}

.rank-math-breadcrumb a, .rank-math-breadcrumb span {
  color: #fff;
}

.rank-math-breadcrumb a:hover {
  color: #555;
}

 /*Content*/

 .no-divider .title-divider::after {
  display: none;
 }



 #site-wrapper .wpb_single_image img {
   margin-bottom: 0;
 }

 .portfolio-list-items .vc_column-inner > .wpb_wrapper {
   position: relative;
 }

 
 .portfolio-list-items .wpb_text_column h3 a::before {
  content: "";
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
 }

 
 .portfolio-list-items .vc_column-inner > .wpb_wrapper img {
   transition: all .2s;
 }
 .portfolio-list-items .vc_column-inner > .wpb_wrapper:hover img {
  opacity: 0.5;
 }

 #site-wrapper .testimonial .testimonial-content blockquote {
   font-family: 'Montserrat';
 }

 /*Navigation*/
 .blog .content .post-navigation .nav-links li a, .single .content .post-navigation .nav-links li a, .search-results .content .post-navigation .nav-links li a, .archive .content .post-navigation .nav-links li a {
	padding: 10px 20px;
}


 /*Portfolio*/
 .vc-hoverbox-block.vc-hoverbox-front,
 .vc-hoverbox-block.vc-hoverbox-back {
   transition-property: opacity, z-index;
   transition-duration: .2s, 0;
   transition-delay: 0, .2s;
   border-radius: 3px;
 }

 .vc-hoverbox-front .vc-hoverbox-front-inner{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-color: #ffffffc7;
  background-image: url(https://espace1.loicjolivet.fr/wp-content/uploads/2020/09/pattern3.png);
 }

 
 .vc-hoverbox-front .vc-hoverbox-front-inner h2 {
   color: #555;
   font-weight: 700;
 }
.vc-hoverbox-back {
  box-shadow: 0 0 10px rgba(0, 0, 0, .15);
  opacity: 0;
  z-index: -1;
}

.vc-hoverbox:hover .vc-hoverbox-front {
  opacity: 0;
  z-index: -1;
}

.vc-hoverbox:hover .vc-hoverbox-back {
  opacity: 1;
  z-index: 1;
}

.vc-hoverbox-back,.vc-hoverbox-front {
  transform: none !important;
}

.archive .content .content-inner.archive-container article.realisation:hover .entry-cover > a > img {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
}


/*Realisations - header*/

.real-header {
  margin: 30px 0;
}

.real-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75em;
  margin: 50px 0;
  text-align: center;
}

.real-title h1.title {
  margin: 0;
}


@media screen and (min-width: 768px) {
  .real-header {
    display: flex;
  }
  
  .real-title {
    margin: 0 0 0 50px;
    text-align: left;
    justify-content: left;
  }
}
  

/*Realisations - boutons*/

body .real-button a.vc_general.vc_btn3 {
  position: static;
}
.real-button a::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}

.real-back-button {
	padding: 10px;
	color: #333333;
	vertical-align: middle;
	line-height: 32px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
  display: block;
  position: relative;
	background: rgba(0, 0, 0, 0.05);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
  border-bottom: 3px solid rgba(0, 0, 0, 0.1);
}

@media screen and (min-width: 768px) {
  .real-back-button {
    width: max-content;
    height: max-content;
    padding-right: 30px;
  }
}

.real-back-button:hover {
  color: #fff;
  background-color: #000;

}

.real-back-button .meta-nav {
	width: 32px;
	height: 32px;
	line-height: 32px;
	display: inline-block;
	position: relative;
	overflow: hidden;
	vertical-align: top;
	text-indent: -9999px;
	margin-right: 10px;
}

.real-back-button .meta-nav::after {
	position: absolute;
	content: "\f104";
	font-family: 'FontAwesome';
	text-indent: 0;
	left: 10px;
	top: -1px;
	font-weight: normal;
	font-size: 28px;
}

/*Realisations - Text*/
.realisation-text {
  width: 49%;
  background-color: rgba(0 ,0, 0, .05);
  margin-right: 50px;
  padding: 30px;
}

.realisation-text ul {
  padding-left: 1em;
}


.realisation-text ul.details {
  list-style: none;
  margin: 30px 0 0 0;
  padding: 20px 0 0 0;
  border-top: 3px solid rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

/*Realisations - Gallery*/

.realisation .entry-content {
  position: relative;
  margin: 15px 0 50px;
  display: flex;  
  justify-content: center;
  align-items: center;
}

.realisation-gallery {
  width: max-content;
  height: max-content;
  max-width: calc(50% - 50px);
}

.realisation .gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  grid-gap: 20px;
  width: 100%;
}

.realisation .gallery .gallery-item {
  margin: 0;
}

@media screen and (max-width: 960px) {
  
.realisation .entry-content {
  flex-direction: column;
}
  .realisation-text {
    width: 100%;
    margin: 0;
  }
  .realisation-gallery {
    width: 100%;
    max-width: 100%;
    position: static;
    margin-top: 50px;
  }
}


/*Lightbox*/

.fbx-fullscreen-mode .fbx-btn-shadow, .fbx-fullscreen-mode .fbx-next.fbx-btn-shadow, .fbx-fullscreen-mode .fbx-prev.fbx-btn-shadow, .fbx-inner-shadow, .fbx-rounded .fbx-btn-shadow, .fbx-rounded.fbx-inset-buttons.fbx-desktop .fbx-next.fbx-btn-shadow::before, .fbx-rounded.fbx-inset-buttons.fbx-desktop .fbx-prev.fbx-btn-shadow::before, .fbx-rounded.fbx-inset-buttons.fbx-tablet .fbx-next.fbx-btn-shadow::before, .fbx-rounded.fbx-inset-buttons.fbx-tablet .fbx-prev.fbx-btn-shadow::before, .fbx-sticky-buttons .fbx-next.fbx-btn-shadow, .fbx-sticky-buttons .fbx-prev.fbx-btn-shadow {
	box-shadow: 0 0 10px rgba(0,0,0,.15);
}
.fbx-light, .fbx-light .fbx-caption, .fbx-light .fbx-open-caption, .fbx-light.fbx-phone .fbx-social {
  background-color: rgba(0,0,0,.9);
  background-image: url(https://espace1.loicjolivet.fr/wp-content/uploads/2020/09/pattern3.png);
}
.fbx-rounded .fbx-inner {
	border-radius: 3px;
}
.fbx-rounded .fbx-next.fbx-btn-shadow, .fbx-rounded .fbx-next.fbx-btn-shadow:hover {
	box-shadow: px 0 2px rgba(0,0,0,.15);
}
.fbx-rounded .fbx-prev {
	border-radius: 3px 0 0 3px;
}
.fbx-rounded .fbx-next {
	border-radius: 0 3px 3px 0;
}



/*Archive page*/

.archive-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px
}


.archive .content .content-inner.archive-container .realisation {
  position: relative;
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
  border-radius: 3px;
  background-color: #f0f0f0;
}


.archive .content .content-inner.archive-container .realisation::after {
  content: '';
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -1;
  box-shadow: 0 0 10px rgba(0 ,0, 0, .25);
  opacity: 0;
  
  border-radius: 3px;
  transition: all .2s;
}
.archive .content .content-inner.archive-container .realisation:hover::after { opacity: 1; }

.archive .content .content-inner.archive-container .entry-cover {
  margin-bottom: 0;
  border-radius: 3px;
}

.archive .content .content-inner.archive-container .realisation:hover .entry-cover > a > img {
	-webkit-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	transform: scale(1.2);
}


.archive .archive-container .entry-header {
  position: absolute;
  right: 0; bottom: 0; left: 0;
  padding: 10px;
  background-color: #ffffffc2;  
  background-image: url(https://espace1.loicjolivet.fr/wp-content/uploads/2020/09/pattern3.png);
  transition: all .2s;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}


.archive .content .content-inner.archive-container .realisation:hover .entry-header {
  background-color: #e76318;
}

.archive .content .content-inner.archive-container .realisation:hover .entry-header .entry-title a {
  color: #fff;
}

.archive .archive-container .entry-header .entry-title {
  margin: 0;
}


.archive .archive-container .entry-header .entry-title a::before {
  content: '';
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}



.archive .archive-container .entry-content { display: none; }

@media screen and (min-width:768px) {
  
  .archive .archive-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    grid-gap: 40px;
  }
}

#popmake-2176 {
  
}


#popmake-2176 .popmake-content {
  text-align: center;
}

#popmake-2176 .popmake-cta {
  margin-bottom: -45px;
}
.popmake-cta a.cta-button{
  min-width: 175px;
	position: relative;
	white-space: nowrap;
	text-transform: uppercase;
	height: auto !important;
	padding: 0 2em;
	height: 45px;
	line-height: 45px;
  position: relative;
  
	-webkit-box-shadow: 0 5px 0 #0e0e0e;
  box-shadow: 0 5px 0 #0e0e0e;
  
  background: #e76318 !important;
  
  margin-bottom: 5px;
  
  
	color: #fff !important;
	-webkit-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
	border: 1px solid transparent;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	cursor: pointer;
	display: inline-block;
	text-decoration: none !important;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	padding: 9px 12px;
	font-size: 100%;
	line-height: 20px;
	border-radius: 4px;
}

.popmake-cta a.cta-button:hover {
  background-color: #2a2a2a !important;
}

.popmake-cta a.cta-button::before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	box-shadow: 0 3px 0 rgba(0, 0, 0, 1);
	opacity: 0;
  border-radius: 3px;
	-webkit-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}

.popmake-cta a.cta-button:hover::before {
	opacity: 1;
}