/* CSS Document */

/* Charte graphique 0066af */

.menutop {
	display: block;
	z-index: 900;
	background: #0066af;
	margin-bottom: 0px;
	padding: 0px 0px 0px 0px;
	width: 100%;
}

.menulink {
	display: block;
	max-width: 1200px;
	margin: auto;
	text-align: center;
}

h4{
	color: #3664AE;
}

#sous-menu{
	display: none;	
	position: absolute;
}

#sous-menu li{
	display: none;
}

#deroulant:hover ~ #sous-menu{
	display: block;
}

#deroulant:hover ~ #sous-menu li{
	display: block;	
}


/* ===== Structure générale du header ===== */
#header {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
}

#backhead-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

/* LIGNE PRINCIPALE FLEX : gauche | centre | droite */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* ZONE GAUCHE : Emblavez + Capev */
#logo-left {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 3;
}

/* ZONE CENTRALE : logo principal + gouttes */
#header-logo {
  position: relative; /* Changez de absolute à relative pour un centrage plus simple */
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  margin: 0 auto; /* Centre le logo horizontalement */
}

/* GOUTTES */
.goutte {
  position: absolute;
  width: 20px;
  transition: transform 0.4s ease;
}

#goutte1 { top: -10px; left: -30px; }
#goutte2 { top: -10px; right: -30px; }
#goutte3 { bottom: -10px; left: -30px; }
#goutte4 { bottom: -10px; right: -30px; }

#header-logo:hover #goutte1 { transform: translate(-10px, -10px); }
#header-logo:hover #goutte2 { transform: translate(10px, -10px); }
#header-logo:hover #goutte3 { transform: translate(-10px, 10px); }
#header-logo:hover #goutte4 { transform: translate(10px, 10px); }

/* LOGO FACEBOOK (à droite) */
#logo-right {
  display: flex;
  align-items: center;
  margin-left: auto; /* Cela pousse le logo de droite à droite */
  z-index: 4;
}

#logofacebook {
  height: 50px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

#logofacebook:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* VAGUE au survol d’Emblavez */
#vaguecap {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#emblavez-link:hover + #vaguecap {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  /* Assurez-vous que l'image de fond s'adapte correctement */
  #backhead-img {
    width: 100%;
    height: auto; /* Permet à l'image de conserver ses proportions */
    object-fit: cover; /* Assure que l'image couvre tout l'espace disponible */
  }

  /* Centrer le logo principal */
  #header-logo {
    position: relative;
    left: 0;
    transform: none;
    margin: 0 auto; /* Centre le logo horizontalement */
    width: auto;
    height: auto;
  }

  /* Masquer les logos de gauche et de droite si nécessaire */
  #logo-left,
  #logo-right {
    display: none;
  }

  /* Assurez-vous que le conteneur prend toute la largeur disponible */
  .header-content {
    width: 100%;
    padding: 0;
    margin: 0;
  }
}

/* Tous les autres éléments doivent être au-dessus */

#logo-left,
#header-logo,
.hidden-phone {
  position: relative !important;
  z-index: 9999 !important;
}


.boxaccueil h1 {
	text-align: center;
}

.textcontent {
	text-align: justify;
}

.btninfo {
	text-align: center;
}

.footer {
	margin-bottom: 20px;
}

/* Map Responsive */

iframe{
	resize: vertical;
	width: 100%;
}

#map-canvas {
        margin: 0;
        padding: 0;
        height: 100%;
		z-index: 1000;
      }
	  
.tableauinfo {
  max-width: 80%;
  background-color: transparent;
  border-collapse: collapse;
  border-spacing: 0;
  text-align: center;
  margin: auto;
}

.tableauinfo {
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
}

.tableauinfo th,
.tableauinfo td {
  padding: 5px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid #dddddd;
  text-align: center;
}

.tableauinfo tbody tr.success > td {
  background-color: #dff0d8;
}

.tableauinfo tbody tr.error > td {
  background-color: #f2dede;
}

.tableauinfo tbody tr.warning > td {
  background-color: #fcf8e3;
}

.tableauinfo tbody tr.info > td {
  background-color: #d9edf7;
}

.scrollinfos{
	max-height: 1245px;
	overflow: scroll;
	overflow-x: hidden;
}

.rotationacc{
	transition: all 0.6s ease;
	-webkit-transition: all 0.6s ease;
	-ms-transition: all 0.6s ease;
	-moz-transition: all 0.6s ease;
	-o-transition: all 0.6s ease;
	border-radius: 50%;
}

.rotationacc:hover{
	transform: rotate(10deg);
	-webkit-transform: rotate(10deg);
	-moz-transform: rotate(10deg);
	-ms-transform: rotate(10deg);
	-o-transform: rotate(10deg);
}


/* Responsive pour mobiles */
@media screen and (max-width: 768px) {
  /* Ajustez la taille du logo central à 75% de sa taille originale */
  #header-logo {
    transform: scale(0.75);
    transform-origin: center;
  }

  /* Assurez-vous que le logo reste centré */
  #header-logo {
    position: relative;
    left: 0;
    transform: none;
    margin: 0 auto;
    width: auto;
    height: auto;
  }
}

/* LIGNE PRINCIPALE FLEX : gauche | centre | droite */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

  /* Adapter la taille du logo principal */
  #header-logo {
    width: auto;
    height: auto;
  }

  #head-img img {
    height: 100px;
    width: 100