/*
Theme Name: Prix renovation m2
Description: Theme enfant de Divi par prix renovation m2
Author: Alexis
Author URI: https://prixrenovationm2.fr/
Template: Divi
Version: 1.1
*/

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

/* Tableaux */
table{
	margin:auto;
	border: 3px solid #000;
	border-collapse: collapse;
	padding: 3px; 
}

.tg-wrap td, .tg-wrap th, td, th{
	border: 1px solid #000000;
	padding: 3px;
}
.tg-wrap th, th{
	color: #ffffff;
	background-color: #FF1D00;
}

.tg-wrap td, td{
	font-weight: 600;
}
thead, tfoot {
	text-align: center;
	display: table-header-group;
    vertical-align: middle;
	color: #ffffff;
    background-color: #FF1D00;
}
table tr:nth-child(even) {
    background-color: #ffdf9e;
}

/* Style pour les cellules */
td, th {
  border: 1px solid #000;
  padding: 5px;
}

/* mettre 2 colonnes sur mobile */
@media only screen and (max-width: 980px) {
.et_pb_column_1_6, .et_pb_column_1_5, .et_pb_column_1_4, .et_pb_column_1_3, .et_pb_column_1_2 {
max-width: 50%;}
}

h2:before {
font-family: 'ETMODULES';
content: '\5c';
font-size: 26px;
margin-right: 10px;
margin-left: 15px;
vertical-align: middle;
color: #FF1D00;
}
h3:before {
font-family: 'ETMODULES';
content: '\e04e';
font-size: 18px;
margin-right: 10px;
margin-left: 10px;
vertical-align: middle;
color: #FF1D00;
}