/*Theme Name: Divichild
Theme URI: https://devwp.fil-me-in.fr
Description: Thème enfant du thème Divi
Author: tf
Author URI: https://www.canalcreative.com
Template: Divi
Version: 1.0
*/

/* CSS Document */

/*----------------GLOBAL----------------------*/
body #page-container .et_pb_section .et_pb_button_3,
.et_pb_button,
.et_pb_button:hover,
.et_button_no_icon .et_pb_button, 
.et_button_no_icon .et_pb_button:hover {
  	padding: .4em 2em !important;
	font-weight:300 !important;
}

.sstitreLiner{
	text-transform:uppercase;
	font-weight:700;
	font-size:14px;
	letter-spacing:7px;
	margin-top: -30px !important;
  	display: block;
  	padding-bottom: 10px !important;
}


h2{font-size:41px !important;}

#main-content{
	background-color:none !important;
	background: transparent !important;
}


/*----------------HEADER----------------------*/

#logo {margin-top:-25px !important}


/*----------------FOOTER----------------------*/
#footer-info a {font-weight: 400 !important;}
#footer-widgets .et_pb_widget {float:none !important;}

.sectionLogoFooter,
.sectionLogoFooter .et_pb_row{
	background:transparent !important;
	background-color:none !important;
	padding:0px !important;
}
.codeSocialFooter{
	display:inline-block;
	height:100%;
	top: 40%;
  	margin-left: 12%;
}
.sstitreLinerFooter{
	text-transform:uppercase;
	font-weight:700;
	font-size:10px;
	letter-spacing:4px;
  	padding: 0px !important;
	float:left;
	color:#653132 !important;
}

.et-social-icons.logoFooter{
	float:left !important;
	padding: 0px !important;
	margin-top: -5px;
}

.logoFooter li:before{
	content:none !important;
}

.et-social-icon{
	padding-left:0px !important;
}

.et-social-icon a{color:#653132 !important;}

.lineLogoFooter{
	width:100% !important;
	max-width:100% !important;
}

.lineLogoFooter .footerColLeft .et_pb_image{
	/*max-width: 500px !important;
  	float: right!important;
	margin:auto;*/
}

.lineLogoFooter .footerColRight{
	text-align:center;
}

.et_pb_gutters3 .footer-widget {
    margin-bottom: 1.5%!important;
  }

#footer-widgets {
  padding: 2% 0 0 !important;
}

/*----------------PAGE ACCUEIL----------------------*/
.linerBanner{
	margin-top:100px;
}

.testiTeam{
	font-size:15px !important
}

/*----------------TOUTES PAGES------------------------*/
.prestaTxt{
	margin-bottom:20px !important;
	border-bottom: solid 1px #f0e5dd;
}

.prestaTime{font-size:0.7em !important;}

.prestaPrix{
	text-align:right !important;
	display:block !important;
	margin-top: -22px;
}

/* CHANGER ORDRE DES COLONNES EN RESPONSIVE */
.lineCustomOrderResp,
.lineCustomOrderResp .et_pb_row {
    display: flex !important; /* Active le mode Flexbox pour la ligne */
    flex-direction: row !important; /* Les colonnes restent côte à côte */
}

.lineCustomOrderResp .maColDessus {
    order: 1; /* Colonne de gauche (par défaut en première position) */
}

.lineCustomOrderResp .maColDessous {
    order: 2; /* Colonne de droite */
}

.single-post .et_pb_post_content .et_pb_section{
	background-color:transparent !important;
}

/*Align verticalement- + mettre element enfant en margin:auto*/
.flexVertAlign{
	display: flex !important;
	align-items:center !important;
}



/*----------------TESTIMONIALS------------------------*/
.dmpro_carousel_child{opacity:0 !important; transition: opacity 500ms ease 0ms !important;}

.dmpro_carousel_child.swiper-slide-prev,
.dmpro_carousel_child.swiper-slide-next{
	opacity:0.3 !important;
	transition: opacity 500ms ease 0ms !important;
}

.dmpro_carousel_child.swiper-slide-active{
	opacity:1 !important;
	transition: opacity 500ms ease 0ms !important;
}

.dmpro_carousel .swiper-dmpro-container .dmpro_carousel_child {
	padding: 45px 0px 0px 0px;
}

.dmpro_carousel .swiper-button-prev {
  left: 0px !important;
}

.dmpro_carousel .swiper-button-next {
  right: 0px !important;
}

.dmpro_carousel .et_pb_module_inner{
	width:90% !important;
	margin:auto !important;
}

.testiFiche{
	border-radius:10px !important;
	padding:0 40px 30px 40px !important
}

.imgTestiFiche{
	position:absolute!important;
	display:block!important;
	margin-top:-40px !important;
	margin-left:-70px !important;
	max-width:80px!important;
	border-radius:150px !important
}

.imgTestiFiche img{
	border-radius:150px !important
}

.txtTestiFiche{
	margin-top:35px !important;
	margin-bottom:2% !important;
}

.starTestiFiche{
	max-width:80px !important;
	margin-bottom:2% !important;
	margin-top:0px !important;
	padding:0px !important;
}

.starTestiFiche img{max-width:80px !important;}

/*OWL CAROUSEL + CustomFields*/
#owltestimonial p.dp-oc-cf-shortcode,
#owltestimonial p.dp_custom_field span.dp_custom_field_name{display:none !important;}

#owltestimonial .owl-stage{
	display:flex;
	align-items:center;
}


#specTemoignages .contColLeft{
	display: flex;
	align-items:center;
}


#owltestimonial a{
	cursor:default !important;
}

#owltestimonial .dp-oc-cf-etoiles{
	max-width:130px;
}

#owltestimonial .dp-oc-cf-pseudo{
	font-weight:600;
}

#owltestimonial .dp-oc-cf-salon{
	font-style:italic;
}

#owltestimonial .owl-item{
	vertical-align:middle !important;
	padding:50px 0px 30px 0px;
}


#owltestimonial .owl-item .dp_oc_item{
	background-color: #d7c1c2;
	border-radius:10px;
	padding:60px 50px 30px 50px;
	max-width:85%;
	margin:auto;
}

#owltestimonial .owl-item .dp_oc_post_thumb{
	max-width:120px !important;
	position: absolute;
  	top: 0px;
  	left: 0px;
}

/*----------------GoogleMaps------------------------*/
/* S'assurer que la ligne est en flex */
.et_pb_row_12.et_pb_equal_columns {
    display: flex; /* Aligne les colonnes côte à côte */
    align-items: stretch; /* Les colonnes remplissent toute la hauteur de la ligne */
}

/* Forcer les colonnes à remplir la hauteur */
.et_pb_column_2_5,
.et_pb_column_3_5 {
    flex: 1; /* Prend la même hauteur que la colonne adjacente */
    display: flex; /* Permet d'ajuster leurs enfants */
    flex-direction: column; /* S'assurer que les enfants s'empilent verticalement */
}

/* Ajuster la hauteur de la colonne droite */
.et_pb_column_3_5 {
    height: auto !important; /* Permet à la hauteur d'être déterminée dynamiquement */
    position: relative; /* Nécessaire pour le positionnement absolu des cartes */
}

/* Conteneur des cartes (Google Maps) */
.map-container {
    width: 100%; /* Largeur complète */
    height: 100%; /* Adopte la hauteur de la colonne parent */
    position: relative; /* Nécessaire pour positionner les cartes en absolu */
    overflow: hidden; /* Empêche tout débordement */
}

/* Styles des cartes */
.map1, .map2, .map3 {
    position: absolute; /* Les cartes se superposent dans le conteneur */
    top: 0;
    left: 0;
    width: 100%; /* S'ajustent à la largeur du conteneur */
    height: 100%; /* Forcent la carte à prendre la hauteur complète du conteneur */
    opacity: 0; /* Invisibles par défaut */
    visibility: hidden; /* Masquées */
    transition: opacity 0.5s ease-in-out, visibility 0s linear 0.5s; /* Transition fluide */
}

/* Afficher la carte active */
.map-active {
    opacity: 1; /* Rendre visible */
    visibility: visible; /* Afficher la carte */
    transition: opacity 0.5s ease-in-out, visibility 0s linear 0s;
}

.et_pb_column_3_5 .et_pb_map {
  height: 100% !important;
}

.mapHoraire{
	font-size: 0.8em;
  	line-height: 1.2;
  	position: relative;
  	display: inline-block;
  	margin-top: 5px;
}

.txtMapBtn{
	cursor:pointer !important;
}

/* Style pour l'icône */
.marker-icon {
    position: absolute;
  	top: 10%;
  	left: 2%;
  	width: 25px;
  	height: auto;
  	z-index: 10;
  	pointer-events: none;
	opacity: 0.5;
}

/* Position relative pour les boutons */
.btn-map1, .btn-map2, .btn-map3 {
    position: relative; /* Nécessaire pour positionner l'icône à l'intérieur du bouton */
}





/*////////////////////////////////////////////////////////////////////
//  12 - Media Queries
////////////////////////////////////////////////////////////////////*/

/* iPad Landscape */
@media only screen and (max-width: 1200px) {
}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:landscape) {	
}

/* iPad Portrait */
@media only screen and (max-width: 990px) {
	.linerBanner{margin-top:50px;}
}

@media only screen and (max-width: 975px) and (orientation:portrait) {
}

@media only screen and (max-width: 768px) {
	.linerBanner{margin-top:-15px;}
	
	.lineCustomOrderResp {
        flex-direction: column !important; /* Les colonnes passent en mode vertical */
    }

    .lineCustomOrderResp .maColDessus {
        order: 1 !important; /* Colonne de gauche passe en deuxième position */
    }

    .lineCustomOrderResp .maColDessous {
        order: 2 !important; /* Colonne de droite passe en première position */
    }
	.prestaTime{display:block !important;}
	
	.headerRegard{
		background-position: right -300px center !important;
	}
	
	h1{font-size:38px !important;}
	.sstitreLiner{font-size:12px !important;}
}

/*layouts smaller than 600px, iPhone and mobiles*/
@media only screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 600px)  {
}
	
@media screen and (max-width: 650px) {
	.ligneHeaderRegard{background-position: 80% center !important;}
}

/* iPhone Landscape */
@media screen and (max-width: 480px) and (orientation: landscape) {
}

/* iPhone Portrait */
@media screen and (max-width: 480px) and (orientation: portrait) {
}


/*----------------GoogleMaps MediaQueries------------------------*/
/* Gestion des colonnes pour les écrans larges */
@media (min-width: 1024px) {
  .et_pb_row_12.et_pb_equal_columns {
    display: flex; /* Aligne les colonnes côte à côte */
    align-items: stretch; /* Les colonnes remplissent toute la hauteur disponible */
  }

  .et_pb_column_2_5, .et_pb_column_3_5 {
    flex: 1; /* Assure des hauteurs égales */
    display: flex;
    flex-direction: column; /* Permet aux enfants de s'empiler verticalement */
  }

  .map-container {
    height: 100%; /* Le conteneur prend toute la hauteur disponible */
  }

  .et_pb_column_3_5 .et_pb_map {
    height: 100% !important; /* Force la Google Map à occuper tout l’espace disponible */
  }
}

/* Gestion des colonnes pour les écrans mobiles */
@media (max-width: 1023px) {
  .et_pb_row_12.et_pb_equal_columns {
    display: block; /* Les colonnes passent en mode bloc (empilées) */
  }

  .et_pb_column_2_5, .et_pb_column_3_5 {
    display: block; /* Empile les colonnes l'une sous l'autre */
    height: auto; /* Laisse chaque colonne s’adapter à son contenu */
  }

  .map-container {
    height: auto !important; /* Laisse le conteneur s’adapter à son contenu */
    min-height: 400px; /* Ajout d'une hauteur minimale pour éviter le problème des 2px */
  }

  .et_pb_column_3_5 .et_pb_map {
    height: 400px !important; /* Force une hauteur fixe pour éviter le problème des 2px */
  }
}
