/*
Theme Name: La Cave à Gilles
Theme URI: -
Author: Animaweb
Author URI: https://www.animaweb.fr/
Description: Thème La Cave à Gilles
Version: 1.0
*/

/* ----------------------------- */
/* == fonts                      */
/* ----------------------------- */

/* montserrat-regular - latin */
@font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 400;
	src: url('./assets/fonts/montserrat-v12-latin-regular.eot'); /* IE9 Compat Modes */
	src: local('Montserrat Regular'), local('Montserrat-Regular'),
		 url('./assets/fonts/montserrat-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('./assets/fonts/montserrat-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
		 url('./assets/fonts/montserrat-v12-latin-regular.woff') format('woff'), /* Modern Browsers */
		 url('./assets/fonts/montserrat-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('./assets/fonts/montserrat-v12-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  
  /* montserrat-italic - latin */
  @font-face {
	font-family: 'Montserrat';
	font-style: italic;
	font-weight: 400;
	src: url('./assets/fonts/montserrat-v12-latin-italic.eot'); /* IE9 Compat Modes */
	src: local('Montserrat Italic'), local('Montserrat-Italic'),
		 url('./assets/fonts/montserrat-v12-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('./assets/fonts/montserrat-v12-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
		 url('./assets/fonts/montserrat-v12-latin-italic.woff') format('woff'), /* Modern Browsers */
		 url('./assets/fonts/montserrat-v12-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('./assets/fonts/montserrat-v12-latin-italic.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  
  /* montserrat-700 - latin */
  @font-face {
	font-family: 'Montserrat';
	font-style: normal;
	font-weight: 700;
	src: url('./assets/fonts/montserrat-v12-latin-700.eot'); /* IE9 Compat Modes */
	src: local('Montserrat Bold'), local('Montserrat-Bold'),
		 url('./assets/fonts/montserrat-v12-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		 url('./assets/fonts/montserrat-v12-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
		 url('./assets/fonts/montserrat-v12-latin-700.woff') format('woff'), /* Modern Browsers */
		 url('./assets/fonts/montserrat-v12-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
		 url('./assets/fonts/montserrat-v12-latin-700.svg#Montserrat') format('svg'); /* Legacy iOS */
  }
  
.montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* ----------------------------- */
/* == base                       */
/* ----------------------------- */

.ie8 html {
	word-wrap: break-word;
}

body {
    font-family: 'Montserrat', sans-serif;
	max-width: 2000px;
	position: relative;
}

p,
.normal {
	font-size: 1rem;
}

a/*,
a:focus*/ {
	color: #ce1f3a;
	cursor: pointer;
	outline: none;
	-webkit-transition: background-color 0.5s, border-color 0.5s, color 0.5s;
			transition: background-color 0.5s, border-color 0.5s, color 0.5s;
}
a:hover {
	color: #111111;
}

p:not(:first-child) {
	margin-top: 0.75rem;
}

svg * {
	-webkit-transition: fill 0.5s;
			transition: fill 0.5s;
}

/* font-sizing for content */
/* .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
} */

/* alternate font-sizing */
.font-10 {
	font-size: 0.625rem;
}

.font-12 {
	font-size: 0.75rem;
}

.font-14 {
	font-size: 0.875rem;
}

.font-18 {
	font-size: 1.125rem;
}

.font-20 {
	font-size: 1.25rem;
}

.font-24 {
	font-size: 1.5rem;
}

.font-28 {
	font-size: 1.75rem;
}

.font-32 {
	font-size: 2rem;
}

.font-36,
.font-48,
.font-64 {
	font-size: 2.25rem;
	letter-spacing: -0.5px;
}

@media (min-width: 768px) {
	.font-48 {
		font-size: 3rem;
	}

	.font-64 {
		font-size: 4rem;
	}
}

.font-inherit {
	font-size: inherit;
}

/* --- display ------------------ */
/* ------------------------------ */

.no-flexbox .d-flex {
	display: block;
}

.no-flexbox .d-flex > * {
	float: left;
}

/* --- position ----------------- */
/* ------------------------------ */

@media (min-width: 576px) {
	.position-sm-static {
		position: static !important;
	}

	.position-sm-relative {
		position: relative !important;
	}

	.position-sm-absolute {
		position: absolute !important;
	}

	.position-sm-fixed {
		position: fixed !important;
	}

	.position-sm-sticky {
		position: sticky !important;
	}
}
  
@media (min-width: 768px) {
	.position-md-static {
		position: static !important;
	}

	.position-md-relative {
		position: relative !important;
	}

	.position-md-absolute {
		position: absolute !important;
	}

	.position-md-fixed {
		position: fixed !important;
	}

	.position-md-sticky {
		position: sticky !important;
	}
}
  
@media (min-width: 992px) {
	.position-lg-static {
		position: static !important;
	}

	.position-lg-relative {
		position: relative !important;
	}

	.position-lg-absolute {
		position: absolute !important;
	}

	.position-lg-fixed {
		position: fixed !important;
	}

	.position-lg-sticky {
		position: sticky !important;
	}
}
  
@media (min-width: 1200px) {
	.position-xl-static {
		position: static !important;
	}

	.position-xl-relative {
		position: relative !important;
	}

	.position-xl-absolute {
		position: absolute !important;
	}

	.position-xl-fixed {
		position: fixed !important;
	}

	.position-xl-sticky {
		position: sticky !important;
	}
}

/* --- size --------------------- */
/* ------------------------------ */

@media (min-width: 576px) {
	div.h-sm-100 {
		height: 100% !important;
	}
}

@media (min-width: 768px) {
	div.h-md-100 {
		height: 100% !important;
	}
}

@media (min-width: 992px) {
	div.h-lg-100 {
		height: 100% !important;
	}
}

@media (min-width: 1200px) {
	div.h-xl-100 {
		height: 100% !important;
	}
}

/* min-height: 100% */
.mh-cpc {
	min-height: 100%;
}

/* max-width: none */
.mw-none {
	max-width: none;
}

/* @media (min-width: 768px) { */
	.mw-sm {
		max-width: 552px;
	}
/* } */

@media (min-width: 992px) {
	.mw-md {
		max-width: 744px;
	}
}

@media (min-width: 1200px) {
	.mw-lg {
		max-width: 968px;
	}

	.mw-xl {
		max-width: 1176px;
	}
}

/* --- line-height -------------- */
/* ------------------------------ */

.lh-1 {
	line-height: 1;
}

.lh-intermediate {
	line-height: 1.2;
}

body,
.lh {
	line-height: 1.5;
}

.lh-normal {
	line-height: normal;
}

/* --- ellipsis ----------------- */
/* ------------------------------ */

.text-truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (min-width: 576px) {
	.text-sm-truncate {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (min-width: 768px) {
	.text-md-truncate {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (min-width: 992px) {
	.text-lg-truncate {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media (min-width: 1200px) {
	.text-xl-truncate {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

.mw-100 > .text-truncate,
.mw-100 > .text-sm-truncate,
.mw-100 > .text-md-truncate,
.mw-100 > .text-lg-truncate,
.mw-100 > .text-xl-truncate {
	display: block !important;
}

/* --- nowrap ------------------- */
/* ------------------------------ */

@media (min-width: 576px) {
	.text-sm-nowrap {
		white-space: nowrap;
	}
}

@media (min-width: 768px) {
	.text-md-nowrap {
		white-space: nowrap;
	}
}

@media (min-width: 992px) {
	.text-lg-nowrap {
		white-space: nowrap;
	}
}

@media (min-width: 1200px) {
	.text-xl-nowrap {
		white-space: nowrap;
	}
}

/* --- hyphens ------------------ */
/* ------------------------------ */

.hyphens { 
	-webkit-hyphens: auto;
	   -moz-hyphens: auto;
		-ms-hyphens: auto;
		 -o-hyphens: auto;
			hyphens: auto;
}

/* ----------------------------- */
/* == layout and modules         */
/* ----------------------------- */

/* overflow */
.mod {
	overflow: hidden;
}

.mod-x {
	overflow-x: hidden;
}

.mod-y {
	overflow-y: hidden;
}

/* --- alignments --------------- */
/* ------------------------------ */

/* --- left */
.l-0 {
	left: 0;
}
.l-1 {
	left: 0.75rem;
}
.l-2 {
	left: 1.5rem;
}
.l-3 {
	left: 3rem;
}

/* --- right */
.r-0 {
	right: 0;
}
.r-1 {
	right: 0.75rem;
}
.r-2 {
	right: 1.5rem;
}
.r-3 {
	right: 3rem;
}

/* --- top */
.t-0 {
	top: 0;
}
.t-1 {
	top: 0.75rem;
}
.t-2 {
	top: 1.5rem;
}
.t-3 {
	top: 3rem;
}

/* --- bottom */
.b-0 {
	bottom: 0;
}
.b-1 {
	bottom: 0.75rem;
}
.b-2 {
	bottom: 1.5rem;
}
.b-3 {
	bottom: 3rem;
}

/* --- background-position ------ */
/* ------------------------------ */

/* --- left */
.bp-lt {
	background-position: left top;
}
.bp-lm {
	background-position: left middle;
}
.bp-lb {
	background-position: left bottom;
}

/* --- center */
.bp-ct {
	background-position: center top;
}
.bp-cm {
	background-position: center middle;
}
.bp-cb {
	background-position: center bottom;
}

/* --- right */
.bp-rt {
	background-position: right top;
}
.bp-rm {
	background-position: right middle;
}
.bp-rb {
	background-position: right bottom;
}

/* --- opacity ----------------- */
/* ----------------------------- */

.opacity {
	-webkit-transition: opacity 0.5s;
			transition: opacity 0.5s;
}

/* opacity: 0 */
.opacity-0 {
	opacity: 0;
}

/* opacity: 0.25 */
.opacity-25 {
	opacity: 0.25;
}

/* opacity: 0.5 */
.opacity-50 {
	opacity: 0.5;
}

/* opacity: 0.75 */
.opacity-75 {
	opacity: 0.75;
}

/* opacity: 1 */
.opacity-1 {
	opacity: 1;
}

/* --- list -------------------- */
/* ----------------------------- */

ol {
	padding-left: 0.9375rem;
}

ul {
	padding-left: 0.5rem;
}

ul.list-style-none {
	list-style: none;
}

/* --- square */
.ul ul,
ul.square {
	margin-left: 0.125rem;
	padding-left: 0;
}
.ul ul li,
ul.square li {
	list-style-position: inside;
	list-style-type: square;
}
.ul ul li a,
ul.square li a {
	color: #111111;
}
.ul ul li a:hover,
ul.square li a:hover {
	color: #ce1f3a;
}
.ul ul li ul,
ul.square li ul {
	margin-left: 0.8125rem;
}

/* --- disc */
ul.disc {
	margin-left: 0.125rem;
}
ul.disc li {
	list-style-position: inside;
	list-style-type: disc;
}
ul.disc li ul {
	margin-left: 0.8125rem;
}

/* --- decimal */
ul.decimal li {
    list-style-position: inside;
    list-style-type: decimal;
}
ul.decimal li ul {
	margin-left: 0.9375rem;
}

/* --- colors ------------------ */
/* ----------------------------- */

.bgcolor-1 {
	background-color: #ce1f3a;
	background-color: rgb(206, 31, 58);
}

.bgcolor-2 {
	background-color: #f6f6f6;
}

.bgcolor-3 {
	background-color: #111111;
}

.bgcolor-1-trans:hover {
	background-color: rgba(206, 31, 58, 0.70);
}

@media screen and (min-width: 992px) {
	.bgvins {
		background: url('./assets/css/images/background-vins.png');
		background-repeat: no-repeat;
		background-position: bottom;
		background-color: #f6f6f6;
	}
}

.color-1,
a.color-1,
a[href^="tel:"] {
	color: #111111;
}
a.color-1:hover,
a[href^="tel:"]:hover {
	color: #ce1f3a;
}

.color-2,
a.color-2 {
	color: #ce1f3a;
}

.color-3,
a.color-3 {
	color: #fff;
}

a.color-3:hover {
	color: #ce1f3a;
}

.color-4,
a.color-4 {
	color: #373737;
}

.color-inh {
	color: inherit;
}

/* background-color and color selection */
::-moz-selection {
	background-color: #ce1f3a;
	color: #fff;
}
::selection {
	background: #ce1f3a;
	color: #fff;
}

/* ----------------------------- */
/* == medley                     */
/* ----------------------------- */

/* text-decoration: underline */
.underline {
	text-decoration: underline !important;
}

/* cursor: pointer */
.pntr {
	cursor: pointer !important;
}

/* text-transform: none */
.text-none {
	text-transform: none!important
}

/* word-wrap: break-word */
.wwbw {
	word-wrap: break-word;
}

/* z-index: 1 */
.z-1 {
	z-index: 1;
}

/* z-index: 2 */
.z-2 {
	z-index: 2;
}

/* scripts */
body > script {
	display: none !important;
}

/* ----------------------------- */
/* == svg                        */
/* ----------------------------- */

@media (min-width: 768px) {
	a#editeur {
		position: absolute;
	}
}

a#editeur > img {
	height: 23px;
}

/* ----------------------------- */
/* == own stylesheet             */
/* ----------------------------- */

/* --- reusable styles --------- */
/* ----------------------------- */

h2 {
	color: #ce1f3a;
}

.h-32p {
	height: 32px;
}

.h-96p {
	height: 96px;
}

.h-500p {
	height: 500px;
}

.mh-82p {
	min-height: 82px;
}

@media (min-width: 768px) {
	.mh-300p {
		max-height: 300px;
	}

	.mw-400p {
		max-width: 400px;
	}
}

.mw-500p {
	max-width: 500px;
}

.bb {
	padding-bottom: 1rem;
	position: relative;
}

.bb:after {
	background-color: #ce1f3a;
	bottom: 0;
	content: "";
	height: 4px;
	left: 50%;
	margin-left: -20px;
	position: absolute;
	width: 40px;
}

.bt {
	border-top: 0.1875rem #ce1f3a solid;
}



.product > span.position-relative > span {
	opacity: 0;
	-webkit-transition: opacity 0.5s;
			transition: opacity 0.5s;
}

.product:hover > span.position-relative > span {
	opacity: 1;
}

/* --- non-reusable styles ----- */
/* ----------------------------- */

form.wpcf7-form > div > div > span > .wpcf7-not-valid {
	border-color: #dc3545;
}

form.wpcf7-form > div > div.text-center > em.d-block {
	margin-bottom: 0.9375rem;
}

form.wpcf7-form > div > div.captcha > div {
	display: inline-block;
	margin: 2px auto;
	vertical-align: top;
}

@media (min-width: 576px) {
	form.wpcf7-form > div > div.captcha > div {
		margin-bottom: 2px;
		margin-left: 2px;
		margin-right: 2px;
	}
}

form.wpcf7-form > div > div.captcha > div:before {
	background-color: #f9f9f9;
	bottom: -2px;
	content: "";
	left: -2px;
	position: absolute;
	right: -2px;
	top: -2px;
}

form.wpcf7-form > div > div.captcha > div > div {
	height: 71px;
	overflow: hidden;
	width: 292px;
}

form.wpcf7-form > div > div.captcha > div > div > div {
	margin: -2px;
    transform: scale(0.98);
    transform-origin: 0 0;
}

form.wpcf7-form > div.wpcf7-mail-sent-ok,
form.wpcf7-form > div.wpcf7-spam-blocked,
form.wpcf7-form > div.wpcf7-validation-errors {
	border: 0;
	margin: 1.5rem 0 0 0;
	padding: 0.375rem 0.75rem;
	text-align: center;
}

form.wpcf7-form > div.wpcf7-mail-sent-ok {
	background-color: #218838;
	color: #fff;
}

form.wpcf7-form > div.wpcf7-spam-blocked,
form.wpcf7-form > div.wpcf7-validation-errors {
	background-color: #c82333;
	color: #fff;
	margin-left: 0.75rem;
	margin-right: 0.75rem;
}

div.wpcf7 .ajax-loader,
span.wpcf7-not-valid-tip,
form.wpcf7-form div.inv-recaptcha-holder {
	display: none !important;
}

header {
	border-bottom: 10px #ce1f3a solid;
	background: #111111;
}

@media (min-width: 1200px) {
	header > #header-menu {
		max-width: 1464px;
	}
}
body.home header ul#primary-menu {
	border-top-color: #ce1f3a;
}


/* -------------------- */
/* ------- MENU ------- */
/* -------------------- */

ul#primary-menu {
	margin: 0;
	padding: 0;
}

#primary-menu > .menu-item {
	position: relative;
	text-transform: uppercase;
	font-weight: bold;
}

#primary-menu > .menu-item a {
	color: white;
	padding: 0 20px;
}

#primary-menu > .menu-item > a {
	/* height: 100%; */
	display: block;
}

#primary-menu > .menu-item a:hover {
	color: #ce1f3a;
}

/* ----- SUB-MENU ------ */
#site-navigation .menu-item-has-children .sub-menu li a {
	width: 100%;
}
#site-navigation .menu-item-has-children .sub-menu {
	list-style: none;
	padding: 0;
	font-size: 16px;
	flex-direction: column;
	display: none;
}

/* --- RESPONSIVE MENU --- */
.site-branding {
	margin-left: 15px;
}

.btn-burger {
    margin-right: 15px;
    z-index: 3;
}

.btn-burger span {
    background-color: #ce1f3a;
    width: 50px;
    height: 5px;
    margin: 10px;
    display: block;
    opacity: 1;
    /* Firefox */
    -moz-transition: all 300ms ease-in;
    /* WebKit */
    -webkit-transition: all 300ms ease-in;
    /* Opera */
    -o-transition: all 300ms ease-in;
    /* Standard */
    transition: all 300ms ease-in;
}

.btn-burger span:nth-child(2) {
    width: 48px;
}

.btn-burger span:last-child {
    width: 35px;
}

#site-navigation.open {
	height: 100vh;
    position: fixed;
    width: 100vw;
    background-color: rgba(0,0,0,0.8);
    top: 0;
    left: 0;
	z-index: 1;
	transition: background-color 0.5s;
}

#site-navigation.open .btn-burger {
    position: fixed;
    top: 50px;
    right: 0;
    margin-right: 27px;
}

#site-navigation.open .btn-burger span {
    background-color: #791817;
}

#site-navigation.open .btn-burger span:first-child {
    transform: rotate(45deg);
    margin-bottom: 2px;
}

#site-navigation.open .btn-burger span:nth-child(2) {
    transform: rotate(-45deg);
    margin-top: -7px;
    width: 50px;
}

#site-navigation.open .btn-burger span:last-child {
    transform: rotate(-45deg);
    opacity: 0;
}

#site-navigation.open .menu-menu-principal-container {
	display: block;
	height: 100vh;
	font-size: 24px;
	text-align: center;
}

#site-navigation .menu-menu-principal-container {
	display: none;
}

#primary-menu > .menu-item > a {
	padding: 10px 0;
}

#site-navigation .menu-item-has-children .sub-menu li {
	margin: 5px 0;
}

@media screen and (min-width: 992px) {
	.btn-burger {
		display: none;
	}
	.site-branding {
		margin-left: 0;
	}
	#site-navigation .menu-menu-principal-container {
		display: block;
		font-size: 16px;
	}
	#primary-menu > .menu-item > a {
		padding: 58px 20px;
	}

	/* ----- SUB-MENU ------ */
	#site-navigation.open {
		height: auto;
		position: relative;
		width: auto;
		background-color: transparent;
		top: 0;
		left: 0;
		z-index: 1;
		transition: background-color 0.5s;
	}
	#site-navigation.open .menu-menu-principal-container {
		display: block;
		height: auto;
		font-size: 16px;
		text-align: center;
	}
	#site-navigation .menu-item-has-children:hover > .sub-menu {
		display: flex;
	}
	#site-navigation .menu-item-has-children .sub-menu li {
		background-color: #111111;
		margin: 0;
		height: 35px;
		line-height: 35px;
		display: flex;
	}
	#site-navigation .menu-item-has-children .sub-menu {
		position: absolute;
		z-index: 1;
		display: none;
		left: 0;
	}
	#site-navigation .menu-item-has-children .sub-menu li {
		margin: 0;
	}
	#site-navigation .menu-item-has-children .sub-menu li a:hover {
		background-color: #ce1f3a;
		color: white;
	}

	body.post-type-archive-actualites #primary-menu .menu-item-31:before,
	body.single-actualites #primary-menu .menu-item-31:before,
	body.single-produits #primary-menu .menu-item-387:before,
	#primary-menu > .current_page_item:before {
		content: "";
		background: url('./assets/css/images/Current_left.png');
		width: 15px;
		height: 15px;
		position: absolute;
		left: 0px;
		bottom: calc(50% - 7.5px);
	}

	body.post-type-archive-actualites #primary-menu .menu-item-31:after,
	body.single-actualites #primary-menu .menu-item-31:after,
	body.single-produits #primary-menu .menu-item-387:after,
	#primary-menu > .current_page_item:after {
		content: "";
		background: url('./assets/css/images/Current_right.png');
		width: 15px;
		height: 15px;
		position: absolute;
		right: 0px;
		bottom: calc(50% - 7.5px);
	}
}

/* -------------------- */
/* ------ FOOTER ------ */
/* -------------------- */
footer {
	background-color: #111111;
}

footer .footer-menu li {	
	display: inline-block;
}

footer .footer-menu li a {
	color: white;
}

footer .footer-menu li a:hover {
	color: #ce1f3a;
}

footer .footer-menu li:last-of-type span {	
	display: none;
}

@media (min-width: 768px) {
	footer a.vigneron {
		margin-left: 0;
		margin-right: 0;
	}
}

@media (min-width: 1200px) {
	footer a.vigneron {
		margin-left: 59px;
		margin-right: 59px;
	}
}

footer .menu_footer ul > li > a {
	color: #fff;
}

footer .menu_footer ul > li > a:hover {
	color: #ce1f3a;
}

body.page-id-29 > div.container {
	min-height: 718px;
}

.marques .badge {
	padding-left: 15px;
	background-color: #ce1f3a;
	color: white;
	position: relative;
}

.marques .badge svg {
	position: absolute;
    top: 5px;
    left: 5px;
    font-size: 8px;
}