/*
Theme Name: Coteaux des Travers
Description: Theme enfant de Divi 4
Author: Gilles Gomez
Author URI: http://www.alizesonline.com
Template: Divi
Version: 1.3
*/

/* *************************************************************************************** Header et navigation principale */

.nav li ul {
	width: 320px;
}
#top-menu li li a {
	width: 280px;
}

.top-nav-bar-hide {
	transform: translateY(-30px);
	transition: all 0.5s ease-out 0s;
}
.slow-transition {
	transition: all 0.5s ease-out 0s;
}

/* Style du menu actif */
#top-menu li.current-menu-item > a {
	font-weight: bold;
}

/* Icône hamburger en blanc */
.mobile_menu_bar::before {
	color: #fff !important;
}

/* Remplacement du logo en mode scroll */
.et-fixed-header #logo {
	content: url("https://coteauxdestravers.com/wp-content/uploads/2021/01/logo-coteaux-travers-blanc-simple.png");
}

/* 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 principal - masqué en mode PC */
.ct-menu-panier a:before {
	display: inline-block;
	margin-right: 5px;
	font-family: ETmodules;
	content: "\e07a"
}
@media only screen and (min-width : 981px) {
	.ct-menu-panier {
		display: none !important;
	}
}

/* Suppression du caractère "|" du menu mobile */
@media only screen and (max-width : 980px) {
	.ct-menu-separateur {
		display: none !important;
	}
}


/* Balises HTML ********************************************************************************************* */

small {
	font-size: 0.75em;
	line-height: 1.5em;
}

sup {
	bottom: .4em;
	font-size: 0.75em;
}

/* Styles divers ******************************************************************************************** */

/* header pleine largeur */
#ct-header .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content, .mt-header .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
	width: 100% !important;
	max-width: 100% !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;
	}
}

@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;
	}
}

/* Position du bouton du bloc inscription Newsletter sur les grands écrans */
@media only screen and (min-width : 981px) {
	#cdt_newsletter  .et_pb_newsletter_button_wrap {
		-ms-flex-preferred-size: 48%;
		flex-basis: 48%;
	}
	#cdt_newsletter  .et_pb_newsletter_button_wrap .et_pb_newsletter_button  .et_pb_newsletter_button_text {
		display: block;
		padding: 0.35em 0;
	}
}

/* Réglage du style du formulaire d'inscription Newsletter par email */
#ct-newsletter .et-pb-contact-message {
	color: #fff;
}

/* Bloc vérification de l'âge minimum dans la commande */
.woocommerce form .form-row.min-age-woo-field .input-text {
	width: 6em;
}

/* Boutons de la bannière de consentement Cookies */
.ct-cookies {
	margin-left: 20px !important;
	padding: 5px 10px;
	background-color: #fff;
	border-radius: 2px;
	color: #232323;
	font-weight: bold;
}