/*
Theme Name: Divi Child
Template: Divi
Description: Divi Child Theme
Author: Lycia Diaz - Astuces Divi
Author URI: https://astucesdivi.com/
*/
/*----------------------------------------- AJOUT CODE ------------------------------------------------------*/
body {
    font-size: 16px;
}
body #page-container #main-content .et_pb_section .et_pb_button {
    /*background-color: #cccccc;*/ 
}
body.single-post #et-main-area .container {
    padding-top: 0;
}
/*----------- MENU Hamburger -------------*/
/*#et-top-navigation:before  {
	content: 'MENU';
	position: absolute;
	right: 65px;
	bottom: 51px;
	color: #a9ca35;
}*/
#telephone {
    background: #000000;
    color: #fff;
    font-weight: bold;
    padding: 15px 25px;
    position: absolute;
    margin: 13px;
	font-size: 18px;
}
svg {
	max-width: 30px;
}
svg.svg_icone {
	width: 15px;
}
#top-menu li a {
    font-size: 16px;
    line-height: 1.2em;
}
h4.et_pb_module_header {
	font-size: 16px !important;
}

@media screen and (min-width: 981px) {
	.et_vertical_nav #main-header #logo {
		margin: 15px 15px 15px 0;
	}
	.et_vertical_nav #main-header .container {
		margin: 0 30px;
	}
}
@media screen and (max-width: 980px) {
	.et_header_style_left #logo, .et_header_style_split #logo {
		max-width: 50%;
		margin: 0 5px;
	}
}
#main-content .container::before {
    content: none;
}
#left-area {
    width: 100%;
    padding-bottom: 23px;
}
.et_header_style_left #et-top-navigation .mobile_menu_bar, .et_header_style_split #et-top-navigation .mobile_menu_bar {
    padding: 10px 20px;
}
#et_top_search {
    margin: 10px;
}
.container {
    /*width: 80%;
    max-width: 1080px;*/
    width: 100%;
    margin: auto;
}
#logo {
    max-height: 80%;
}
/*.et_vertical_nav #main-header .container {
    margin: 0;
}*/
#footer-info {
    text-align: center;
    float: none;
}
#main-header {
    z-index: 200;
}
/*--------- A mettre dans bloc vert (ligne) dans chaque colonne Divi --------*/
.centrer-verticalement {
  display: flex;
  flex-direction: column;
  justify-content: center;

/* Et les déclinaisons avec préfixes pour obtenir un résultat homogène sur les divers navigateurs  */
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
}
#header_divi {
	/*display: flex;*/
}
#header_divi > div {
	display: flex;
	justify-content: flex-end;
}
.entry-content tr td, 
.entry-content tr th,
body.et-pb-preview #main-content .container tr td {
    border: 1px solid #ccc;
}
.wp-caption {
    border: 0;
    text-align: center;
    background-color: transparent;
    margin-bottom: 10px;
    max-width: 96%;
    padding: 0;
    display: inline-block;
}
.home #page-container {
	padding-top: 0 !important;
}
#main-header {
    background-color: transparent !important;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	-ms-box-shadow: none !important;
	box-shadow: none !important;
}
#main-header.et-fixed-header {
	background: #fff !important;
	box-shadow: 0 0 7px rgba(0,0,0,.1) !important;
-moz-box-shadow: 0 0 7px rgba(0,0,0,.1) !important;
-webkit-box-shadow: 0 0 7px rgba(0,0,0,.1) !important;
}
/* icone linkedin */
.et-social-google-plus a.icon::before {
    content: "\e09d" !important;
}
.et-social-icon a::before {
	font-weight: 300 !important;
}
#footer_divi .et_pb_text_inner img.alignnone {
	margin-right: 15px;
	
}
.et-social-icons {
    float: none;
    text-align: center;
    margin: 5px auto;
    font-size: 20px;
}
/*---------- Mettre des boutons en ligne : mettre la class boutons-en-ligne sur le bloc vert -------*/
.boutons-en-ligne .et_pb_button_module_wrapper {
    display: inline-block;
    margin: 0 2%;
}
.boutons-en-ligne {
    text-align: center!important;
}
h1.entry-title {
    margin-top: 20px;
	margin-bottom: 20px;
	font-size: 36px;
	line-height: 1.3em;
	color: #2898d5;
}
h2 {
    margin-bottom: 20px;
	color: #f39200;
}
h3 {
    margin-bottom: 15px;
}
h4 {
    margin-bottom: 10px;
}
#top-menu > li:nth-child(1) > a {
	color: #a21a5b;
}
#top-menu > li:nth-child(2) > a {
	color: #d60b52;
}
#top-menu > li:nth-child(3) > a {
	color: #2898d5;
}
#top-menu > li:nth-child(4) > a {
	color: #96c11f;
}
#top-menu > li:nth-child(5) > a {
	color: #f39200;
}
#top-menu > li:nth-child(6) > a {
	color: #a21a5b;
}
#top-menu > li:nth-child(6) > a {
	color: #d60b52;
}
#top-header .et-social-icons li {
    margin-left: 20px;
}
#top-header .et-social-icon a {
    font-size: inherit;
}
#et-info span {
	font-size: 18px;
}
#et-info span#top_suivez_nous {
	font-size: 18px;
	margin-left: 15px;
}
#et-info-social {
    /*float: right;
    text-align: right;*/
    display: block;
    position: absolute;
    right: 15px;
    top: 5px;
}
p {
    padding-bottom: 5px;
}
#left-area ul, .comment-content ul, .entry-content ul, .et-l--body ul, .et-l--footer ul, .et-l--header ul, body.et-pb-preview #main-content .container ul {
    list-style-type: square;
    line-height: 22px;
}
#main-header svg {
    max-width: 40px;
    vertical-align: middle;
}
.nav li ul {
    width: 400px;
}
#top-menu li li a {
    padding: 8px 20px;
    width: 350px;
}
.et_mobile_menu {
    padding: 2%;
}
#birs_booking_success > h3 {
	font-size: 11px;
	display: none;	
}
#birs_booking_success > h3:after {
	content: "Votre rendez-vous a été fixé avec succès.";
	
}
/*-------- Contact form 7 -----*/
.wpcf7 input.wpcf7-submit {
	padding: 10px 30px;
	margin: 10px;
	background: #000000;
	color: #ffffff;
	border: none; 
	font-size: 18px;
}
.wpcf7 label input.wpcf7-form-control {
	padding: 10px 20px;
	
}
.wpcf7 label input.wpcf7-text,
.wpcf7 textarea {
	width: 100%;
}
/*-------- #Contact form 7 -----*/
.heateor_sss_sharing_container {
	margin: 30px 15px;
	background: #f3f3f3;
	padding: 20px;
}
#left-area .heateor_sss_sharing_container ul, 
.entry-content .heateor_sss_sharing_container ul {
    padding: 0 ;
}










#main-content,
	#footer-widgets {
		padding-left: 30px;
		padding-right: 30px;
	}
	.et_pb_pagebuilder_layout #main-content {
		padding-left: 0px;
		padding-right: 0px;
	}
@media screen and (min-width:981px){ 
	.et_pb_pagebuilder_layout .theme-after-footer-php {
		/*margin-left: 225px !important;*/
		position: relative;
	}
}
/********************************************* RESPONSIVE **************************************/
@media screen and (max-width:1200px){
		/*----------- rendre tableau responsive --------------------*/
  table, tbody {
    display: block;
    border: 0;
  }
  tr {
    display: table;
  }
  td {
    display: table-row;
  }
}
@media screen and (max-width:980px){
	#et-top-navigation:before  { 
		right: 33px;
		bottom:30px;
	}
	.et_pb_text_0 h2 {
		font-size: 20px !important;
	}
	.et_pb_text_0 h1 {
		font-size: 30px !important;
	}
	.et_pb_text_1 h2 {
		font-size: 30px !important;
	}
	.et_header_style_centered .et_mobile_menu {
    top: 33px;
}
	
	
}
/*---------- Tablette portrait ou paysage ----------*/
@media screen and (max-width: 768px) {
	/*----------- rendre tableau responsive --------------------
  table, tbody {
    display: block;
    border: 0;
  }
  tr {
    display: table;
  }
  td {
    display: table-row;
  }*/
#header_divi {
	display: block;
}
#et-info .et-social-icons, #top_suivez_nous {
    display: none;
}
	
	
	
}
@media screen and (max-width: 640px) {
	#cookie-law-info-again {
		font-size: 7pt;
	}
}
@media screen and (max-width: 320px) {
	#cookie-law-info-again {
		display: none !important;
	}
}





.menu-flottant {
    width:14em; /* Largeur des items du menu*/
    float: right; /* Je veux que le menu soit à droite*/
    position:fixed; /* Le menu est fixe à l'écran*/
    z-index:9999; /* Il sera au dessus de tous les éléments*/
    top: 40%; /* Il sera à 40% du bord supérieur de l'écran*/
    font-size: 1em; /* Taille de la police*/
    line-height: 2px; /* Hauteur de ligne du menu*/
    color: #fff; /* Couleur de la police*/
    font-weight:700; /* Mettre le texte en gras*/
    text-transform:uppercase; /* Mettre le texte en majuscule*/
    right: -10em; /* Décalage du menu sur la droite pour masquer le texte et ne laisser que les icônes de visibles*/
}

.menu-flottant ul {
    list-style: none; /* Le menu est une liste, mais je ne veux pas afficher les puces*/
    margin: 0; /* Choix des marges internes et externes*/
    padding: 0;
}

.menu-flottant ul li {
    display:block; /* Définition des items en tant que bloc*/
    background-color: #333; /* Couleur de fond*/
    height: 3.5em; /* Hauteur des items du menu*/
    padding: 1em 1.5em; /* Marges internes des items du menu*/
    position: relative; /* On leur attribut une position relative*/
    -webkit-transition: -webkit-transform 0.5s; /* Effet de déplacement au passage de la souris*/
    -moz-transition: -webkit-transform 0.5s;
    transition: transform .5s;
    margin-bottom: 10px; /* ✅ Ajoute un espace vertical entre les items */
}

/*Couleurs de fond des items du menu*/
.menu-flottant ul li:nth-child(1) { 
	background-color: #93c01f; /* 1er item du menu*/
} 
.menu-flottant ul li:nth-child(2) { 
	background-color: #f29100; /* 2e item du menu*/
} 
.menu-flottant ul li:nth-child(3) { 
	background-color: #f29100; /* 3e item du menu*/
} 

/* Animation d'affichage du menu au survol */
.menu-flottant ul li:hover {
    -webkit-transform: translateX(-10em);
    transform: translateX(-10em);
}

/* Mise en forme des liens du menu*/
.menu-flottant ul li a {
    display:block;
    color: #FFF;
    text-decoration: none;
    position: absolute;
    font-size:1em;
    line-height: 1.5em;
    height:2em;
    top:0;
    bottom:0;
    right: 0.2em;
    margin:0 auto;
    padding:1em 1.5em;
}

/* Mise en forme des icônes du menu */
.menu-flottant ul li span {
    float: left;
    line-height: 1.5em;
    height:2em;
    padding-bottom: 1em;
}





/* === Forcer le header sur fond blanc — desktop + mobile + fixed === */

/* Header principal (desktop) */
#main-header,
.et_menu_container,
.et_header_style_left #main-header { 
  background-color: #ffffff !important;
  background: #ffffff !important;
  box-shadow: none !important; /* retire l'ombre si tu ne veux pas d'ombre */
  border-bottom: 1px solid rgba(0,0,0,0.06); /* léger trait en bas (optionnel) */
}

/* Quand Divi applique la classe fixed */
.et-fixed-header#main-header,
.et-fixed-header .et_menu_container {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

/* Top header (si tu as un top-bar) */
#top-header,
.theme-header-php,
.et_slide_menu_top {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

/* Mobile : barre mobile et menu plein écran */
.et_mobile_menu,
.et_pb_fullscreen_nav_container,
.et_slide_in_menu_container {
  background-color: #ffffff !important;
  background: #ffffff !important;
}

/* Assure que le z-index est correct pour rester au-dessus du contenu */
#main-header,
.et-fixed-header#main-header,
.et_slide_in_menu_container {
  z-index: 9999 !important;
}

/* Couleurs des liens / logo / icônes sur fond blanc */
/* Adapte les couleurs si tu veux d'autres teintes */
#top-menu a,
#et-top-navigation a,
#main-header a,
#main-header .et-search-field,
.et-social-icons a {
  color: #222222 !important; /* texte / liens (suffisamment foncé sur fond blanc) */
}

/* Si ton logo est une version blanche par défaut, forcer affichage de la version 'dark' si nécessaire */
/* Remplace le sélecteur/URL si tu as un logo alternatif */
#logo {
  max-height: 60px; /* optionnel : taille logo */
}

/* Gérer icônes images : s'assurer qu'elles restent visibles sur fond blanc */
.et-social-icons img {
  filter: none !important;
  width: 20px;
  height: 20px;
}

/* Small touch: retire la transparence ou overlay éventuel */
#main-header .container,
.et_menu_container .container {
  background: transparent !important;
}

/* Empêcher tout backdrop-blur ou overlay injecté par Divi */
#main-header:before,
#main-header:after {
  background: transparent !important;
  content: none !important;
}
