/*
Theme Name: Divi Community Child Theme
Description: Theme enfant de Divi par Divi Community
Author: Julien - WebMate
Author URI: https://www.divi-community.fr
Template: Divi
Version: 1.1
*/

/*
  ____ _____     _____      ____ ___  __  __ __  __ _   _ _   _ ___ _______   __
 |  _ \_ _\ \   / /_ _|    / ___/ _ \|  \/  |  \/  | | | | \ | |_ _|_   _\ \ / /
 | | | | | \ \ / / | |    | |  | | | | |\/| | |\/| | | | |  \| || |  | |  \ V /
 | |_| | |  \ V /  | |    | |__| |_| | |  | | |  | | |_| | |\  || |  | |   | |
 |____/___|  \_/  |___|    \____\___/|_|  |_|_|  |_|\___/|_| \_|___| |_|   |_|

*/


/* 
** 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%;
}


/*** STYLES PERSO ***/
.widgettitle {
	font-size: 18px;
	font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    text-decoration: none;
	color: #10834f;
    margin-bottom: 10px
}
@media (min-width: 981px) {
	.et_fullwidth_nav #main-header .container {
		width: 100%;
		max-width: 1280px;
		padding-right: 32px;
		padding-left: 30px;
	}
}

#et-top-navigation,
#main-footer {
	/*display: none !important;*/
}

/*
** Modification du Top Header
*/
#top-header {
	border-bottom: 1px solid #f0f0f0;
}


@media (max-width: 767px) {
	/* CSS mobile ici */
	.et_header_style_split #logo {
		max-width: 90%;}

	#et-info .et-social-icons {
		display: block;
		float: right;
		padding-bottom:0.8em;
	}
	#et-info-phone {
		float: left;
	}
} 


/*************************/
/**** CONTACT FORM 7 *****/
/*************************/
.wpcf7-ligne {
	margin-bottom: 15px;
	font-size: 0;
}
.wpcf7-colonne,
.wpcf7-colonne-seule {
	display: inline-block;
	font-size: 16px;
	width: 100%;
}
.wpcf7-ligne .wpcf7-colonne:first-child {
	margin-bottom: 15px;
}
.wpcf7-submit {
	width: 100%;
}
.wpcf7-obligatoire {
	font-weight: normal;
	font-style: italic;
	text-align: center;
}
.wpcf7-form-control-wrap .fileupload input,
#mfcf7_zl_add_file {
	min-width: 220px !important;
	max-width: 250px !important;
	width: 100% !important;
    padding: 7px !important;
    font-size: 16px !important;
}

@media only screen and (min-width : 768px) {
	.wpcf7-colonne {
		width: 50%;
		vertical-align: top;
	}
	.wpcf7-ligne .wpcf7-colonne:first-child {
		padding-right: 15px;
		margin-bottom: 0px;
	}
	.wpcf7-ligne .wpcf7-colonne:last-child {
		padding-left: 15px;		
	}
	.wpcf7-submit {
		width: inherit;
	}
	.wpcf7-obligatoire {
		text-align:right;
	}
}
.wpcf7 label {
	margin-bottom: 5px;
	padding-right: 15px;
}

.wpcf7 label,
.wpcf7-form-control-wrap.dsm-contact-form-7-select {
	display: block;
}
.wpcf7 span + label,
.wpcf7-list-item-label {
	display: inline;
	font-weight: normal;
}
.wpcf7-text, .wpcf7-textarea, .wpcf7-captchar, .wpcf7-select {
	background-color: #eee !important;
	border: solid 1px #CCC !important;
	width: 100% !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
	font-size: 14px;
	color: #333 !important;
	padding: 16px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.wpcf7-list-item {
    margin: 0 !important;
}
.wpcf7-submit {
	color: #fff !important;
	margin: 8px auto 0;
	cursor: pointer;
	font-size: 20px;
	font-weight: 500;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 6px 20px;
	line-height: 1.7em;
	background: transparent;
	border: 2px solid;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.wpcf7-submit:hover { 
	background-color: #eee; 
	border-color:#eee; 
	padding: 6px 20px !important; 
}