/*
Theme Name: Manoir d'Argentel
Description: Theme enfant de Divi
Author: Gilles Gomez
Author URI: https://www.alizesonline.com
Template: Divi
Version: 1.0.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;
	}
}

/* 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: #396a53 !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;
}

/* 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: #396a53 !important;
}

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

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

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

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

/* Carrousel d'images *************************************************************************************** */

@media only screen and (min-width: 767px) {
	.carrousel-vignettes-carre .small-slider .slick-slide img {
		object-fit: cover;
		width: 100%;
		height: 100px;
	}

	.carrousel-pleine-page .small-slider .slick-slide img {
		object-fit: cover;
		width: 100%;
		max-height: 20vw;
	}
	.carrousel-pleine-page .lwp-slick-slider .slick-slide {
		padding-right: 10px;
		padding-left: 10px;
	}
}

/* Élargissement des en-têtes pleine largeur */
.et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
	width: 100%;
	max-width: 100% !important;
}

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

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

/* Liste de pictos de réseaux sociaux */
#liste-reseaux-sociaux a, #contact-reseaux-sociaux a {
	display: inline-block;
	margin: 0 10px;
}

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

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

