/* COULEURS */
:root {
  --color1: #4A8FAF; /* BLEU FONCE */
  --color2: #C9DFE7; /* BLEU CLAIR */
  --color3: #242424; /* NOIR */
  --color4: #264762; /* BLEU FONCE BIS */
}

* { 
	font-family: "Barlow", sans-serif;
	font-weight: 400;
	font-style: normal;
}

body { 
	overflow-x:hidden;
}

.color1 { 
	color:var(--color1) !important; 
}
.color2 { 
	color:var(--color2) !important; 
}
.color3 { 
	color:var(--color3) !important; 
}

.bgcolor1 {
	background-color:var(--color1) !important; 
}

.bgcolor2 {
	background-color:var(--color2) !important; 
}

.bgcolor3 {
	background-color:var(--color3) !important; 
}

.bgcolor4 {
	background-color:var(--color4) !important; 
}

.bordercolor1 {
	border-color:var(--color1) !important; 
}
.mw200px {
	max-width: 200px;
}
.mw636px {
	max-width:636px;
}

.mt10px {
	margin-top:10px;
}
.mt20px {
	margin-top:20px;
}

.mt-100px { 
	margin-top:-100px !important; 
}
.mt-250px {
	margin-top:-250px !important; 
}
.ml250px {
	margin-left:250px !important; 
}
.zindex1 {
	z-index:1;
}
.zindex2 {
	z-index:2;
}
.h50px {
	height:50px;
}
.h70px {
	height:70px;
}
.h80px {
	height:80px !important; 
}
.h150px {
	height:150px;
}
.h200px {
	height:200px;
}
.h220px {
	height:220px;
}
.h250px {
	height:250px;
}
.w55px {
	width:55px !important; 
}
.w80px {
	width:80px !important; 
}


html, body {
	margin: 0;
	padding: 0;
}

.home-parallax-section, 
.offres-parallax-section, 
.franchise-parallax-section,
.qui-parallax-section,
.services-parallax-section,
.mentions-parallax-section,
.actus-parallax-section {
  position: relative;
  height: 30vh;
  overflow: hidden;
}

.home-parallax-section .parallax-background,
.offres-parallax-section .parallax-background,
.franchise-parallax-section .parallax-background,
.qui-parallax-section .parallax-background,
.services-parallax-section .parallax-background,
.mentions-parallax-section .parallax-background,
.actus-parallax-section .parallax-background
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-image: url('../images/header-accueil.webp');
  background-size: cover;
  background-position: center;
  transform: translateY(0);
  z-index: 1;
}

.home-parallax-section .parallax-text {
  position: relative;
  z-index: 2;
  color: white;
  text-align: left;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  padding: 0 1rem;
}

.offres-parallax-section .parallax-text,
.franchise-parallax-section .parallax-text,
.qui-parallax-section .parallax-text,
.services-parallax-section .parallax-text,
.mentions-parallax-section .parallax-text,
.actus-parallax-section .parallax-text{
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 auto;
  padding: 0 1rem;
}
	
.home-parallax-section .parallax-text h1, .home-parallax-section .parallax-text h2 { 
	display: inline-block;
	background-color:#4a8faf;
	padding: 0.5rem 1rem;
	border-radius: 4px;
}

/* SERVICES */
#wrapper-services-bloc {
	height:500px;
}
#services-bloc-image1 {
	top: 0; 
	left: 5%;
	max-height:450px;
}
#services-bloc-image2 {
	top: 50px; 
	right: 5%;
	max-height:450px;
}

#services-bloc-texte {
	position:absolute;
	left:50%;
	width:600px;
	min-height:350px;
	transform: translateX(-50%);
	top:75px;
}
@media (max-width: 768px) {
  #wrapper-services-bloc {
	height:350px;
  }
  #services-bloc-image1, #services-bloc-image2 {
	  display:none;
  }
  #services-bloc-texte {
	  width:100%;
	  height:auto;
	  top:0;
  }
}

/* HOME */
#wrapper-home-bloc {
	height:500px;
}
#home-bloc-image1 {
	top: 0; 
	left: 5%;
	max-height:450px;
}
#home-bloc-image2 {
	top: 50px; 
	right: 5%;
	max-height:450px;
}

#home-bloc-texte {
	position:absolute;
	left:50%;
	width:600px;
	min-height:350px;
	transform: translateX(-50%);
	top:75px;
}

.carousel-control-custom {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: var(--color3);
	color: white;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	transition: background-color 0.3s;
}

.carousel-control-custom:hover {
  background-color: #495057;
  cursor: pointer;
}

@media (max-width: 768px) {
  #wrapper-home-bloc {
	height:350px;
  }
  #home-bloc-image1, #home-bloc-image2 {
	  display:none;
  }
  #home-bloc-texte {
	  width:100%;
	  height:auto;
	  top:0;
  }
}


/* DEVENIR FRANCHISE */
#franchise-colgauche, #franchise-coldroite {
	width:50%;
}
@media (max-width: 768px) {
  #franchise-colgauche {
    width:100%;
  }

  #franchise-coldroite {
    display:none;
  }
}

/* CONTACT */
.form-label.required::after {
  content: " *";
  color: red;
}
.form-text.facultatif {
  font-style: italic;
}
.form-check-label strong {
  font-weight: 600;
}
.form-check-label a {
  text-decoration: underline;
}
.form-check-input:invalid ~ .form-check-label {
  color: red;
}
	
.php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .error-message br+br {
  margin-top: 25px;
}

.php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}


@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


/* MAP */
#map { 
	height: 400px; 
	margin-bottom: 1rem; 
}
.marker {
  background-color: #1e90ff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  cursor: pointer;
}

.mapboxgl-popup-content {
text-align:left;
color:#000000;
}
.mapboxgl-popup-close-button {
  display:none;
}
  
/* FOOTER */
footer {
	
}