/*
Theme Name: Divi Child Theme
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   www.enel-rehel.com
Template: Divi
*/

@import url("../Divi/style.css");

*/


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

/** On supprime le logo du haut **/
#main-header {
display: none;
}
/** On modifie le css de la page des produits **/
#nomduproduit h3
{font-size:4vh;}
#nomduproduit h4
{font-size:2.5vh;}
#imageduproduit
{width: 50%;}
#descriptifduproduit
{font-size:2vh!important;}

 /** On modifie l'affichage de la galerie **/
/** Tablet **/
@media (max-width: 980px){
.col-width .et_pb_gallery_item {
width: 33,33% !important; /*four columns*/
clear: none !important;
}
}
 /** Small Tablet and Large Phone **/
@media (max-width: 767px){
.col-width .et_pb_gallery_item {
width: 33.33% !important; /*three columns*/
clear: none !important;
}
}
/** Phone **/
@media (max-width: 479px){
.col-width .et_pb_gallery_item {
padding-right:20px;
	width: 33,33% !important; /*two columns*/
clear: none !important;
}
}
.vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
} 
.et_pb_gallery_items {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
/**Modif footer**/
@media (max-width: 479px){
#footer-info{
font-size:50%!important;
	line-height:1.2em!important;
}
}
/**Modif widget**/
.textwidget a
{text-decoration:underline}
@media (max-width: 479px){
	.textwidget a
{text-decoration:underline}

.textwidget {
font-size:50%!important;
	line-height:1.2em!important;
}
}
@media (max-width: 980px){
.textwidget a
{text-decoration:underline}
.textwidget {
font-size:50%!important;
	line-height:1.2em!important;
}
}
/**Reduire typo dans zoom image sur telephone**/

@media (max-width: 479px){
.mfp-title{font-size:12px;}}

/**Filet blanc autour thumbnail gallery**/
.et_pb_gallery_image {
    border-width: 10px!important;
    border-color: #ffffff!important;
 background-color:white;}

/**Changement aspect bouton sdm download **/
.sdm_download {
background:#efefef!important;
border-color: #00ace0 !important;
box-shadow: none !important;
border-radius:0px;
}
.sdm_download:hover {
background:#00ace0!important;
	box-shadow: 0px 0px 20px -11px rgba(8,8,8,1)!important;
}

/**Ajout texte captcha **/

.et_pb_contact_captcha_question:before
{content:"Vous n'êtes pas un robot > ";}

/** Phone **/
@media (max-width: 479px){
.et_pb_contact_captcha_question
{font-size:10px!important;}
.et_pb_contact_field_checkbox
{font-size:10px!important;}
}

 /** Small Tablet and Large Phone **/
@media (max-width: 767px){
.et_pb_contact_captcha_question
{font-size:18px!important;}
.et_pb_contact_field_checkbox
{font-size:18px!important;}
}

@media (max-width: 980px){
.et_pb_contact_captcha_question
{font-size:18px!important;}
.et_pb_contact_field_checkbox
{font-size:18px!important;}
}