/*
Theme Name: Divi-Boutik
Description: Theme enfant de Divi 4
Author: Gilles Gomez
Author URI: http://www.alizesonline.com
Template: Divi
Version: 1.6
*/

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

/* Taille de la polices des sous-menus */
#menu-navigation .et-menu-nav li li a {
	font-size: 0.9em;
}

/* Menu parent d'une page active coloré */
#menu-navigation li.current-page-ancestor > a {
	color: #ef6f49 !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") */
#main-header .et_mobile_menu li ul.hide {
	display: none !important;
}
#mobile_menu .menu-item-has-children {
	position: relative;
}
#mobile_menu .menu-item-has-children > a {
	background: transparent;
}
#mobile_menu .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 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;
}

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

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

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

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