/*
Theme Name: Cap Soleil Energie
Description: Theme enfant Divi pour Cap Soleil Energie par Alexis Marques
Author: Alexis
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%;
}

/* STOP FIL ARIANE ACCUEIL */
.home p#breadcrumbs {
  display: none;
}

/* Tableaux */
table{
	margin:auto;
}

.tg-wrap table, .tg-wrap td, .tg-wrap th, table, td, th{
	border: 1px solid #000000;
	padding: 3px;
}
.tg-wrap th, th{
	color: #ffffff;
	background-color: #2ea3f2;
}
.tg-wrap td, td{
	font-weight: 600;
}
thead, tfoot {
	text-align: center;
	display: table-header-group;
    vertical-align: middle;
	color: #ffffff;
    background-color: #2ea3f2;
}

.home-reassurance {
	-webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    -ms-flex-wrap: wrap;
    -webkit-box-ordinal-group: 5;
    -ms-flex-order: 4;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 3px 0;
}
@media only screen and (min-width : 500px) {
	#reassure {
	display:flex;
	}
}
.home-reassurance ul li {
    -ms-flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    -webkit-box-flex: initial;
    -ms-flex: initial;
    -webkit-box-align: center;
    -ms-flex-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    flex: initial;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.home-reassurance ul li:before {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 60px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex: 0 0 45px;
    justify-content: center;
    align-items: center;
    margin-right: 5px;
    margin-left: 10px;
    width: 45px;
    height: 45px;
    color: #fff;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    font-size: 25px;
    font-family: 'ETmodules';
    text-decoration: none;
    text-transform: none;
}
@media only screen and (min-width : 980px) {
	.home-reassurance ul li:before {
	font-size: 35px;
	margin-right: 10px;
    margin-left: 15px;
    width: 60px;
    height: 60px;
	}
}
.home-reassurance ul li.dsecure:before {
    content: "\e06c";
}
.home-reassurance ul li.transport:before {
    content: "\e076";
}
.home-reassurance ul li.delivery:before {
    content: "\e073";
}
.home .et_builder_inner_content{
	display: flex;
    flex-direction: column;
}

#homecontenu10 {
order: 1;
}
#homecontenu11 {
order: 2;
}
@media only screen and (max-width : 479px) {
#category-home .et_pb_column{
width: 47.25% !important;	
}
}
.star-rating {
    font-family: "ETmodules" !important;
    font-size: 24px;
	color: gold;
}

.star-rating:before {
    display: inline-block;
}

.star-rating[data-rating="0"]:before {
    content: '\e031 \e031 \e031 \e031 \e031';
}

.star-rating[data-rating="0.5"]:before {
    content: '\e032 \e031 \e031 \e031 \e031';
}

.star-rating[data-rating="1"]:before {
    content: '\e033 \e031 \e031 \e031 \e031';
}

.star-rating[data-rating="1.5"]:before {
    content: '\e033 \e032 \e031 \e031 \e031';
}

.star-rating[data-rating="2"]:before {
    content: '\e033 \e033 \e031 \e031 \e031';
}

.star-rating[data-rating="2.5"]:before {
    content: '\e033 \e033 \e032 \e031 \e031';
}

.star-rating[data-rating="3"]:before {
    content: '\e033 \e033 \e033 \e031 \e031';
}

.star-rating[data-rating="3.5"]:before {
    content: '\e033 \e033 \e033 \e032 \e031';
}

.star-rating[data-rating="4"]:before {
    content: '\e033 \e033 \e033 \e033 \e031';
}

.star-rating[data-rating="4.5"]:before {
    content: '\e033 \e033 \e033 \e033 \e032';
}

.star-rating[data-rating="5"]:before {
    content: '\e033 \e033 \e033 \e033 \e033';
}

.et_pb_text ul li {
    list-style-type: none;
}

.et_pb_text ul li::before {
    font-family: 'FontAwesome';
    content: "\f06c";
    font-size: 80%;
    float: left;
    margin-left: -10px;
    margin-right: 10px;
}
.et_pb_text .num {
    margin-right: 10px;
}
.et_pb_text .num::before {
    font-family: 'FontAwesome';
    content: "\f095";
    font-size: 100%;
    margin-right: 10px;
	margin-left: 10px;
}

.et_pb_text .contact {
    margin-right: 10px;
}
.et_pb_text .contact::before {
    font-family: 'FontAwesome';
    content: "\f0e0";
    font-size: 100%;
    margin-right: 10px;
	margin-left: 10px;
}
/* Style général du formulaire */
.wpcf7-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-family: 'Roboto', sans-serif;
}

/* Style des champs de saisie */
.wpcf7-form-control {
    width: 100%;
	border: 1px solid #bbb;
    padding: 5px 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-sizing: border-box;
}

input.text, input.title, input[type=email], input[type=password], input[type=tel], input[type=text], select, textarea {
	padding: 5px 8px;
}

/* Style des étiquettes */
.wpcf7-form p label {
    font-weight: bold;
    color: #333;
}

/* Style spécifique pour les textarea */
.wpcf7-textarea {
    height: 150px;
}

/* Style du bouton de soumission */
.wpcf7-submit {
    background-color: #036538;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Changement de couleur au survol du bouton */
.wpcf7-submit:hover {
    background-color: #4caf50;
}

/* Style de la réponse après soumission */
.wpcf7-response-output {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
}

/* Style pour les messages de succès */
.wpcf7-mail-sent-ok {
    color: #fff;
    background-color: #4caf50;
}

/* Style pour les messages d'erreur */
.wpcf7-validation-errors, .wpcf7-mail-sent-ng {
    color: #fff;
    background-color: #f44336;
}

/* Alignement des champs Nom et Prénom sur la même ligne */
@media only screen and (min-width : 500px) {
	.wpcf7-form p:first-of-type,
	.wpcf7-form p:nth-of-type(2),
	.wpcf7-form p:nth-of-type(3),
	.wpcf7-form p:nth-of-type(4) {
		display: inline-block;
		width: 48%;
		margin-right: 3%;
		box-sizing: border-box;
	}

	.wpcf7-form p:nth-of-type(2),
	.wpcf7-form p:nth-of-type(4){
		margin-right: 0;
	}
}
.wpcf7-checkbox{
	border:none;
}
.wpcf7-list-item{
	display: block;
}
.et_pb_post{
	margin-bottom: 10px;
}