/*
Theme Name: M&S amenagement
Description: Theme enfant de Divi
Author: Gilles Gomez
Author URI: https://www.alizesonline.com
Template: Divi
Version: 1.2.2
*/

/* *************************************************************************************** Header et navigation principale */

/* Largeur des sous-menus automatique */
@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;
	}
}

/* Menu parent d'une page active coloré */
#nav-principale li.current-menu-parent > a, #nav-principale-reduite li.current-menu-parent > a {
	color: #688c72 !important;
}


/* Animation de la top bar du header au défilement (theme builder - requiert "scripts.js") */
.top-nav-bar-show {
	transform: translateY(50px);
	transition: all 0.5s ease-out 0s;
}
.slow-transition {
	transition: all 0.5s ease-out 0s;
}

/* Réduction de la taille du logo au défilement (theme builder - requiert "scripts.js") */
#top-nav-row {
	transition: all 0.4s ease-in-out;
}
.zero-padding {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}
.min-padding {
	padding-top: 5px !important;
	padding-bottom: 5px !important;
}
#top-nav .et_pb_menu__logo img {
	transition: all 0.4s ease-in-out;
}
.logo-reduit {
	max-height: 40px !important;
	width: auto;
}

/* Menu pour mobile "collapsable" (requiert "scripts.js") */
#nav-mobile .et_mobile_menu li ul.hide {
	display: none !important;
}
#nav-mobile .menu-item-has-children {
	position: relative;
}
#nav-mobile .menu-item-has-children > a {
	background: transparent;
}
#nav-mobile .menu-item-has-children > a + span {
	position: absolute;
	right: 0;
	top: 0;
	padding: 10px 20px;
	font-size: 20px;
	font-weight: 700;
	cursor: pointer;
	z-index: 3;
}
span.menu-closed:before {
	display: block;
	font-family: ETmodules;
	color: #333;
	font-size: 1.5em;
	content: "\4c";
}
span.menu-closed.menu-open:before {
	color: #333;
	content: "\4d";
}

/* Icône devis du menu secondaire */
.menu-devis a:before {
	display: inline-block;
	margin-right: 5px;
	font-family: ETmodules;
	content: "\e05a";
	color: #688c72;
}

/* Icône panier du menu secondaire - masqué en mode PC */
.menu-panier a:before {
	display: inline-block;
	margin-right: 5px;
	font-family: ETmodules;
	content: "\e07a";
}
@media only screen and (min-width : 981px) {
	.menu-panier {
		display: none !important;
	}
}

/* Menu parent d'une page active coloré */
#nav_menu li.current-page-ancestor > a, #er_scrolled_menu li.current-page-ancestor > a {
	color: #ff0000 !important;
}

/* Balises HTML ********************************************************************************************* */

small {
	font-size: 0.75em;
	line-height: 1.5em;
}

sup {
	bottom: .4em;
	font-size: 0.75em;
}

/* Page compte WooCommerce ********************************************************************************** */

#wc-compte .woocommerce-Button.button, #wc-compte .woocommerce .woocommerce-form-login .woocommerce-form-login__submit, #wc-compte .woocommerce button.button, #wc-compte .woocommerce a.button {
	color: #ffffff!important;
	background-color: #ef6f49;
	border-color: #ef6f49;
	border-radius: 0px;
}
#wc-compte .woocommerce-Button.button:hover, #wc-compte .woocommerce button.button:hover, #wc-compte .woocommerce a.button:hover {
	background-color: #d64228;
	border-color: #d64228;
}
 
#wc-compte .woocommerce .woocommerce-error, #wc-compte .woocommerce .woocommerce-info, #wc-compte .woocommerce .woocommerce-message {
	background-color: #f1f3f7 !important;
	color: #333 !important;
}

/* Demande de devis RFQ ************************************************************************************* */

/* Suppression des liens et boutons devis des pages boutique et catégories */
#boutique-sans-devis .rfq_button, #boutique-sans-devis .link_to_rfq_page_link {
	display: none;
}
a.rfqcart-link-single {
	display: none;
}

/* Modification de la présentation de la page devis */
#demande_de_devis input.qty {
	font-size: 1.1em;
	font-weight: 600;
	padding: 5px 0 5px 5px;
}
#demande_de_devis input[type="submit"] {
	padding-top: 12px !important;
	padding-right: 24px !important;
	padding-bottom: 12px !important;
	padding-left: 24px !important;
	color: #fff;
	font-weight: 600 !important;
	
}
#demande_de_devis input[type="submit"]:hover {
	background-color: #fff;
	color: #f46036;
	border-color: #f46036;
}
#demande_de_devis h1 {
	text-align: center;
}
#demande_de_devis textarea {
	width: 100%;
}
#demande_de_devis table.shop_table {
	width: 100%;
	border: 1px solid #e5e5e5;
}
#demande_de_devis table.shop_table tr {
	border-bottom: 1px solid #e5e5e5;
}
#demande_de_devis table.shop_table th {
	max-width: 50%;
	padding: 5px;
	text-align: left;
	font-weight: 600;
	color: #666;
	font-size: 1.1em;
}
#demande_de_devis table.shop_table td {
	padding: 5px;
}

/* Fichiers privés ****************************************************************************************** */

/* Effacement des fichiers client personnel sans objet et du titre fichiers partagés */
#fichiers_client .upf_files_sec, #fichiers_client .upf_files_sec h3 {
	display: none !important;
}

/* Style de la liste des fichiers de l'espace client */
#fichiers_client .swm_all_items {
	display: flex;
}
#fichiers_client .doc_ttl {
	max-width: 150px;
	font-size: 0.8em;
	text-align: center;
}
#fichiers_client .doc_ttl span {
	display: none;
}
#fichiers_client .swm_sec .swm_all_items {
	padding: 0;
}

/* Correction des listes des fichiers administrateur */
#fichiers_admin #upfp_container {
	width: 100%;
	position: relative;
	left: 0;
	right: 0;
	margin-left: 0;
	margin-right: 0;
}
#fichiers_admin .doc_view {
	width: 100%;
}

/* Correction du bouton choisir des fichiers */
#fichiers_admin .uploader button {
	height: auto;
}
#fichiers_admin .upf_inner {
	margin-top: 15%;
}

/* Styles divers ******************************************************************************************** */

/* texte 20% plus gros */
.plus-gros {
	font-size: 1.2em;
}

/* Utiliser la police ETmodules */
.pictogramme a {
	font-family: ETmodules;
	font-size: 1.2em !important;
}

/* Info téléphone */
.telephone a:before {
	display: inline-block;
	margin-right: 5px;
	font-family: ETmodules;
	content: "\e090"
}
/* Info email */
.email a:before {
	display: inline-block;
	margin-right: 5px;
	font-family: ETmodules;
	content: "\e076"
}

/* Docs produits */
.doc-produit:before {
	display: inline-block;
	margin-right: 5px;
	font-family: ETmodules;
	content: "\069"
	
}
.palette-produit:before {
	display: inline-block;
	margin-right: 5px;
	font-family: ETmodules;
	content: "\066"
	
}

/* Éco-participation */
.ecopart_product {
	margin-bottom: 20px;
	font-size: 0.8em;
}
.ecopart_cart_item {
	font-size: 0.8em;
}

/* Colonnes alignées sur les petits écrans */
@media only screen and (max-width: 980px) {
	.two-columns  .et_pb_column {
		width: 50% !important;
	}
	.three-columns  .et_pb_column {
		width: 33% !important;
	}
	.four-columns  .et_pb_column {
		width: 25% !important;
	}
	.five-columns  .et_pb_column {
		width: 20% !important;
	}
}

/* Colonnes réarrangées sur mobiles */
@media only screen and (max-width : 980px) {
	.inverser-mobile {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
	.inverser-mobile .et_pb_image_wrap img {
		margin-top: 30px;
	}
}

/* Effet de tableau */
.style-tableau {
	overflow-x:auto;
}
.style-tableau table {
	width: 100%;
	border: none !important;
	border-collapse: collapse;
}
.style-tableau tr:nth-of-type(even) {
	background: #fff;
}
.style-tableau tr:nth-of-type(odd) {
	background: #f8f8f8;
}
.style-tableau th {
	background: #edeef0;
	color: white !important;
	font-weight: bold !important;
	border-bottom: #ef6f49 5px solid;
}
.style-tableau td {
	padding: 6px;
	border: 1px solid #f0f0f0;
	text-align: left;
}

/* Portfolio non cliquable */
#portfolio_no_click .et_pb_portfolio_item  a {
	pointer-events: none;
}

/* Demande de devis */
/* Effacement des infos panier indésirables */
/*
.woocommerce-cart-form .coupon {
	display: none;
}
.cart_totals h2, .cart_totals table {
	display: none;
}

.woocommerce-form-coupon-toggle {
	display: none;
}
.woocommerce-checkout .col-1 {
	width: 100% !important;
}
.woocommerce-checkout h3 {
	display: none !important;
}
.woocommerce-checkout .col-2 {
	display: none;
}
.woocommerce-checkout #order_review {
	margin-top: 30px;
}
.woocommerce-checkout #order_review table th.product-total {
	display: none;
}
*/

/* Remplacement de l'icône du caddie */
/*
.et-cart-info span:before {
	font-family: 'ETmodules' !important;
	content: "\6c";
}
*/
