/*
Theme Name: Assist'Aude
Description: Theme enfant de Divi
Author: Gilles Gomez
Author URI: https://www.alizesonline.com
Template: Divi
Version: 1.0
*/

/* *************************************************************************************** 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 police 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: #004aad !important;
}

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

/* 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: #009eda;
    border-color: #009eda;
    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;
}
/* Info téléphone */
.telephone:before {
	display: inline-block;
	margin-right: 5px;
	font-family: ETmodules;
	content: "\e090"
}
/* Info email */
.email:before {
	display: inline-block;
	margin-right: 5px;
	font-family: ETmodules;
	content: "\e076"
}

/* 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: #009eda 5px solid;
}
.style-tableau td {
	padding: 6px;
	border: 1px solid #f0f0f0;
	text-align: left;
}
