/******************************

TABLE OF CONTENTS :

- DIVI COMMUNITY
- 

******************************/





/******************************

DIVI COMMUNITY

******************************/

/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	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;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width : 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

/* .et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
} */

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}





/******************************

ROOT

******************************/

:root {
	--pink: #FFCFDA;
	--green: #035A68;
	--green-l: #7FEADB;
}

::selection {
	background-color: var(--green-l);
	color: var(--green);
}




/******************************

HEADER

******************************/

.header-logo img {
	height: 100px;
	object-fit: contain;
	padding: 20px;
	width: 240px;
}

.header-menu {
	list-style: none !important;
	padding: 0 !important;
}

.header-btn {
    display: block;
}

.header-btn::after {
    position: static;
    transform: none;
}

body #page-container .et-l--header .et_pb_section .header-btn::after {
    font-size: 60px !important;
    margin-left: 0 !important;
}

body #page-container .et-l--header .et_pb_section .header-btn.is-menu-visible::after {
    content: 'M';
}



.et-l--header .et_pb_menu,
.et-l--header .et_pb_menu_inner_container {
	position: static;
}

.et-l--header .et_mobile_menu {
	border: none;
	height: calc(100dvh - 100%);
	overflow: auto;
}





/******************************

WPML

******************************/

.wpml-ls {
    border: none;
    padding: 0;
}

.wpml-ls > ul {
    padding: 0;
}

.wpml-ls-item + .wpml-ls-item {
    margin-left: 10px !important;
}

.wpml-ls-link {
    border: 1px solid #000;
    border-radius: 50%;
    overflow: hidden;
    padding: 0 !important;
}

.wpml-ls-flag {
    height: 40px;
    object-fit: cover;
    width: 40px;
}





/******************************

HOME HEADER

******************************/

.home-header::before {
    background: url('/wp-content/themes/lesapprimeurs/images/globe.png?v=20260325A') bottom right/contain no-repeat;
    content: '';
    height: 33vw;
    max-height:710px;
    max-width: 890px;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
}





/******************************

HIGHLIGHT TEXT

******************************/

.highlight-text {
	--highlight-color: var(--pink);
}

.highlight-text.m--yellow {
	--highlight-color: #FAD933;
}

.highlight-text.m--white {
	--highlight-color: #fff;
}

.highlight-text.m--green {
	--highlight-color: var(--green);
}

.highlight-text.m--green-l {
	--highlight-color: var(--green-l);
}

.highlight-text h1,
.highlight-text h2,
.highlight-text h3,
.highlight-text p {
	background: repeating-linear-gradient(
		180deg,
		var(--highlight-color) .1em,
		var(--highlight-color) 1.45em,
		transparent 1.45em,
		transparent 1.6em
	);
	padding: 0 .2em;
}





/******************************

FORMINATOR

******************************/

.forminator-label {
	color: #fff;
	font-size: 1rem !important;
	text-transform: uppercase;
	font-family: 'oswald' !important;
}

.forminator-description {
	color: #fff;
}

.forminator-input,
.forminator-textarea {
	border: 1px solid #fff !important;
}

/* .forminator-required {
	color: var(--pink) !important;
} */

.forminator-button-submit {
	background-color: #fff;
	border-radius: 10px !important;
	box-shadow: none !important;
	font-weight: 700 !important;
	/* padding: 16 22px !important; */
}





/******************************

POST CONTENT

******************************/

.et_pb_post_content * {
    padding-bottom: 0;
}

.et_pb_post_content > *:first-child {
    margin-top: 0;
}

.et_pb_post_content > *:last-child {
    margin-bottom: 0;
}

.et_pb_post_content h2,
.et_pb_post_content h3,
.et_pb_post_content h4 {
    margin-top: 1.5em;
    margin-bottom: 1em;
}

.et_pb_post_content p {
    margin-top: 1em;
}

.et_pb_post_content ul {
    margin-top: 1em;
    padding-bottom: 0;
}





/******************************

MEDIA QUERIES

******************************/

@media (min-width: 980px) {

    /******************************
    WPML
    ******************************/

}