/*---------------------------------------------------------------------------------
Theme Name:   Divi Child
Theme URI:    https://www.elegantthemes.com/
Description:  Divi Child theme by Web Hors Piste
Author:       Web Hors Piste
Author URI:   https://www.webhorspiste.com/
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
------------------------------ ADDITIONAL CSS HERE ------------------------------*/
/* ==========
* GLOBAL 
* ==========*/
/* Ombre sur les titres h1 et les gros textes dans Hero */
#et-main-area .et_pb_section section.et_pb_fullwidth_header h1 {
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
#et-main-area .et_pb_section section.et_pb_fullwidth_header p{
	text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
}
/* Design puce sous liste différente */
ul > li > ul {
	list-style-type: circle!important; 
}
/* Puce des lsites en rouge */
ul li::marker {
	color: red;
}
footer ul li::marker{
	color:white;
}
/* Lien des projets aligné avec le titre dans l'affichag de projets en grille */
.dp-dfg-items article .et_pb_button_wrapper .et_pb_button{
	padding-left:0!important;
}
/* RESPONSIVE COLONNE Image/Texte*/
.align-vertical {
	display: flex;
	flex-wrap: wrap; 
	align-items: center; 
}
.align-vertical > div.et_pb_row{
	display: flex;
	flex-wrap: wrap; 
	align-items: center;
}

@media (max-width: 980px) {
	.reverse-mobile{
		display:flex;
		flex-direction:column-reverse;
		gap:20px;
	}
}
/* Cacher recaptcha */
body.et_pb_recaptcha_enabled .grecaptcha-badge { 
	visibility: hidden;
}
/* Ajout marge au contenu pour adapter au header*/
#page-container #et-main-area{
	padding-top:120px;
}
body.logged-in.admin-bar #et-main-area{
	padding-top:calc(120px + 32px);
}
/* ===========
* HEADER 
* ==========*/

/* box-shadow sur header au scroll*/
header.et-l--header #header-section{
	transition: all 0.3s ease;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
header.et-l--header #header-section.scrolled{
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	height:90px;
}
/* centrer verticalement bouton header */
@media (min-width: 981px) {
	#header-section > .et_pb_row{
		display:flex;
		align-items:center;
	}
}

/* Activer ci-dessous si besoin de plus de place pour les elements du sous menu du header */

#menu-principale > li.menu-item > ul.sub-menu > li  {
	/*padding-left:10px;
	padding-right: 10px;*/
	padding-left:0px;
	padding-right: 0px;
}
#menu-principale > li.menu-item > ul.sub-menu > li > a{
	width:240px;
}

/* Taille de police des éléments sous-menus du header */
#menu-principale > li.menu-item > ul.sub-menu > li > a {
	font-size:16px;
}
/* mobile menu scrollable */
#header-section .mobile_nav #mobile_menu1 {
	max-height: calc(100vh - 150px);
	overflow-y: auto;
}
/* Mobile header en haut lorsqu'on est connecter au backoffice et qu'on a scroller */
@media (max-width: 600px) {
	body.logged-in.admin-bar #header-section.scrolled{
		top:0;
	}
}
/* Responsive header */
body.no-scroll {
	overflow: hidden;
}
#header-section .et_pb_menu__logo-wrap{
	z-index: 999999;
}
#header-section .mobile_nav .mobile_menu_bar{
	z-index: 999999;	
}
#header-section .mobile_nav .mobile_menu_bar:before{
	font-size:40px;
	top:unset;

}
#header-section .mobile_nav.opened .mobile_menu_bar:before{
	content: '\4d';
}
#mobile_menu1{
	position: fixed;
	top: 0;
	bottom: 0px;
	max-height: 100%!important;
	padding-top:120px;
}
body.logged-in.admin-bar #mobile_menu1{
	padding-top:calc(120px + 32px);
}
#mobile_menu1 > li > a{
	padding-top:15px;
	padding-bottom:15px;
}
#mobile_menu1 > li > span.submenu-toggle{
	background-color: rgba(0, 0, 0, .03);
	font-family: 'Barlow', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 1px;
	padding:15px 5%;
	border-bottom: 1px solid rgba(0, 0, 0, .03);
	display: block;
	cursor:pointer;
	position:relative;
}
#mobile_menu1 > li > ul.sub-menu {
	max-height: 0;
	overflow: hidden;
	transition: all 0.5s ease;
}
#mobile_menu1 > li > ul.sub-menu > li > a {
	font-size:17px;
}
#mobile_menu1 .submenu-toggle::after {
	content: "▼"; 
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.8em;
	transition: transform 0.3s ease;
}
#mobile_menu1 li.open > .submenu-toggle::after {
	transform: translateY(-50%) rotate(180deg);
}
/* ==========
* BOUTON SCROLL TO TOP 
* ==========*/

.bouton-totop {
	width: 50px;
	height: 50px;
	position: fixed;
	right: 3%;
	bottom: 3%;
	z-index: 9999;
	display: flex;
	opacity: 0;
	align-items: center;
	justify-content: center;
	border-radius: 100%;
	cursor: pointer;
	/*background-color:#da0b71!important;*/
	transition: all 0.5s ease;
	opacity: 0;
	visibility: hidden;
	transform: translateY(100%);
}

.bouton-totop.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0%);
}

.bouton-totop .scroll-value {
	width: calc(100% - 10px) !important;
	height: calc(100% - 10px) !important;
	background-color: white;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.5s ease;
}

.bouton-totop.bas .scroll-value {
	background-color: #e13122;
}

.bouton-totop .scroll-value .et-pb-icon {
	font-family: ETmodules !important;
	font-weight: 400 !important;
	color: black;
	font-size: 30px;
}
/* ===========
* TIMELINE PAGE NOTRE HISTOIRE responsive 
* ==========*/
@media (max-width: 980px) {
	.timeline-container{
		overflow:hidden;
	}
	.timeline-container > .et_pb_row:nth-child(odd) {
		display: flex;
	}
	.timeline-container > .et_pb_row:nth-child(odd) .et_pb_column:first-child{
		flex: 0 0 90%;
		display: flex;
		align-items: center;
		flex-direction: column;
		margin: 0;
	}
	.timeline-container > .et_pb_row:nth-child(odd) .et_pb_column .et_pb_icon {
		margin-left:-27px!important;
	}
	.timeline-container > .et_pb_row:nth-child(even) {
		display: flex;
		flex-direction: row-reverse;
	}
	.timeline-container > .et_pb_row:nth-child(even) .et_pb_column:first-child{
		margin: 0;
		z-index: 3;
		border: none;
	}
	.timeline-container > .et_pb_row:nth-child(even) .et_pb_column .et_pb_icon {
		margin-left:-27px!important;
		text-align:left;
	}

	.timeline-container > .et_pb_row:nth-child(even) .et_pb_column:last-child{
		flex: 0 0 90%;
		display: flex;
		align-items: center;
		flex-direction: column;
		border-right-width: 5px;
		border-color: red;
		border-right-style: solid;
	}	
}
/* Hero pages Pleine largeur (responsive) */
.et_pb_fullwidth_header .et_pb_fullwidth_header_container{
	width:95%;
}
.et_pb_fullwidth_header .et_pb_fullwidth_header_container .header-content{
	width:100%!important;
	max-width:100%!important;
}
/* Conteneur fixe pour harmoniser tous les logos */
body.et-db .logo-partenaire {
	width: 150px;
	height: 150px;
	background-color: white; /* à changer selon ton design */
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	border-radius: 10px; /* optionnel */
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* optionnel */
	margin: 10px auto;
}

/* Logo centré, non déformé */
body.et-db .logo-partenaire img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
/* Image partenaire centré (responsive) */

@media (max-width: 980px) {
	body.et-db .partenaires-logos .et_pb_column{
		display:flex;
		justify-content:center;
	}
}

/* Descritption*/
.et_pb_contact_field_desc {
	display: flex
		;
	font-weight: 400;
	clear: both;
	font-size: 16px !important;
	font-weight: bold !important;
	margin-top: 15px;
	margin-bottom: 15px;
}


/* Afficher le texte depuis l'attribut data-label */
.et_pb_file_upload_button::before {
	content: attr(data-label);
}

/* Style rouge du "bouton" upload */
.jw-upload-red::before {
	color: #c00000 !important;
	border: 2px solid #c00000 !important;
	padding: 8px 15px;
	display: inline-block;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
}
.jw-upload-red:hover::before {
	background: #c00000 !important;
	color: #fff !important;
} 

form .et_contact_bottom_container{
	margin:0!important
}
/* ===========
* RECRUTEMENT
* ==========*/
.btn-emploi{
	border: 1px solid #d8d8d8;
	padding: 5px 15px;
	border-radius: 10px;
	font-weight: bold;
	display: flex;
	width: fit-content;
}
.lieu-emploi{
	padding: 3px 8px;
	border-radius: 20px;
	display: flex;
	width: fit-content;
	background-color: #e4e4e4;
	font-size: 12px;	
}