/*
Theme Name: Divi la Petite Boite
Description: Theme enfant de Divi par la Petite Boite
Author: Laurent Bouffort
Author URI: https://www.lapetiteboite.com
Template: Divi
Version: 1.5
*/


/* 
** 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

*/

@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%;
}

/*** Définir la largeur automatique du menu déroulant Divi ***/
@media only screen and (min-width: 981px) {
	.nav li ul {
		width: fit-content;
		display: flex;
		flex-direction: column;
	}

	.nav li li {
		white-space: nowrap;
	}

	.nav li li a {
		width: auto !important;
	}
}

.wpforms-form button[type=submit] {
	background-color: #ff8100 !important;
	border-color: #ff8100 !important;
	color: #fff !important;
	transition: background 0.3s ease-in-out;
	}
	 
	.wpforms-form button[type=submit]:hover {
	background-color: #ff8100 !important;
	}
	
	.mobile_menu_bar:before {
	color: #ff8100 !important;
	}

	/*ALIGNER A DROITE LES ELEMENTS DE LA BARRE DU HAUT */
	#et-info {
		float: right;
	}