/*
	Theme Name: Thème Wordpress Champagne A. Bergère
	Author: Epsilon Global com / Stéphane Coutelot
	Version: 1.0
	Template: hello-elementor
*/

/** VARIABLES **/
*{
	--primary-color: #D6AC4A;
	--secondary-color:#F7EEE5;
	--accent-color:rgba(234,212,189,1);
	--gamme-iconiques-color: rgb(214,171,73);
	--gamme-coteaux-color: rgb(99,57,69);
	--gamme-parcellaires-color: rgb(75,94,63);
	--gamme-spiritueux-color: rgb(218,208,159);
	--grey: #a7a8a9;
	
	--ag-form-padding: 40px 20px 20px 20px;
	--ag-form-max-height: 100%;

	--ag-logo-max-width: 350px;
	--ag-button-color-text: black;
	
}

/** ANIMATIONS **/
@-webkit-keyframes cab-animate-simple-button-in {
  0% {
    -webkit-transform: rotate(-50deg) scaleX(1);
    transform: rotate(-50deg) scaleX(1);
    top: 85%;
  }
  20% {
    -webkit-transform: rotate(-50deg) scaleX(0.5);
    transform: rotate(-50deg) scaleX(0.5);
    top: 85%;
  }
  50% {
    -webkit-transform: rotate(0) scaleX(0.5);
    transform: rotate(0) scaleX(0.5);
    top: 45%;
  }
  100% {
    -webkit-transform: rotate(0) scaleX(1);
    transform: rotate(0) scaleX(1);
    top: 45%;
  }
}
@keyframes cab-animate-simple-button-in {
  0% {
    -webkit-transform: rotate(-50deg) scaleX(1);
    transform: rotate(-50deg) scaleX(1);
    top: 85%;
  }
  20% {
    -webkit-transform: rotate(-50deg) scaleX(0.5);
    transform: rotate(-50deg) scaleX(0.5);
    top: 85%;
  }
  50% {
    -webkit-transform: rotate(0) scaleX(0.5);
    transform: rotate(0) scaleX(0.5);
    top: 45%;
  }
  100% {
    -webkit-transform: rotate(0) scaleX(1);
    transform: rotate(0) scaleX(1);
    top: 45%;
  }
}
@-webkit-keyframes cab-animate-simple-button-out {
  0% {
    -webkit-transform: rotate(0) scaleX(1);
    transform: rotate(0) scaleX(1);
    top: 45%;
  }
  20% {
    -webkit-transform: rotate(0) scaleX(0.5);
    transform: rotate(0) scaleX(0.5);
    top: 45%;
  }
  50% {
    -webkit-transform: rotate(-50deg) scaleX(0.5);
    transform: rotate(-50deg) scaleX(0.5);
    top: 85%;
  }
  100% {
    -webkit-transform: rotate(-50deg) scaleX(1);
    transform: rotate(-50deg) scaleX(1);
    top: 85%;
  }
}
@keyframes cab-animate-simple-button-out {
  0% {
    -webkit-transform: rotate(0) scaleX(1);
    transform: rotate(0) scaleX(1);
    top: 45%;
  }
  20% {
    -webkit-transform: rotate(0) scaleX(0.5);
    transform: rotate(0) scaleX(0.5);
    top: 45%;
  }
  50% {
    -webkit-transform: rotate(-50deg) scaleX(0.5);
    transform: rotate(-50deg) scaleX(0.5);
    top: 85%;
  }
  100% {
    -webkit-transform: rotate(-50deg) scaleX(1);
    transform: rotate(-50deg) scaleX(1);
    top: 85%;
  }
}
/** AGE GATE **/
.age-gate-heading-title-logo, .age-gate__heading-title--logo{
	height:250px;
}
.age-gate-buttons button{
	background-color: var(--primary-color) !important;
	border: 1px solid var(--primary-color) !important;
}
.age-gate-buttons button:hover{
	background-color: var(--accent-color) !important;
	border: 1px solid var(--accent-color) !important;
}

/** MENU **/
.menu_section a{color: var(--accent-color) !important;}
.menu_section a:hover{
	cursor: default;
	color: var(--accent-color) !important;}

li.oeno_menu{
	margin-left:20px !important;
	border-left: 1px solid var(--accent-color) !important;
}

/** HEADING **/
h2 span{color:var(--grey);}

/** BOUTONS **/
.btn-bergere-1 a{
	margin:0px 0px 0px 12px;
	border:none!important;
	text-align: left;
	animation:3s linear 1s slidein;
	-webkit-animation: 3s linear 1s slidein;
	
}
.btn-bergere-1 a:hover{
	color:#D6AC4A !important;
	background:none!important;
}
.btn-bergere-1 a::before{
    content: '';
    position: absolute;
    top: 45%;
    left: 0px;
    width: 45px;
    height: 1px;
    background: currentColor;
    -webkit-transform: rotate(-50deg) scaleX(1);
    -ms-transform: rotate(-50deg) scaleX(1);
    transform: rotate(-50deg) scaleX(1);
    -webkit-transform-origin: 0 100%;
    -ms-transform-origin:  0 100%;
    transform-origin:  0 100%;
    pointer-events: none;
    -webkit-animation: cab-animate-simple-button-out .4s forwards cubic-bezier(.39,.58,.57,1);
    animation: cab-animate-simple-button-out .4s forwards cubic-bezier(.39,.58,.57,1);
}

.btn-bergere-1 a:hover:before {
    -webkit-animation: cab-animate-simple-button-in .4s forwards cubic-bezier(.39,.58,.57,1);
    animation: cab-animate-simple-button-in .4s forwards cubic-bezier(.39,.58,.57,1);
}

blockquote p::before{
	content:'“';
	font-family: "Quorum", Sans-serif;
	font-size:250px;
	color:#d42f40;
	position:absolute;
	margin-left: -100px;
    margin-top: -80px;
	
}
blockquote p::after{
	content:'”';
	font-family: "Quorum", Sans-serif;
	font-size:250px;
	color:#d42f40;
	position:absolute;
    margin-top: -40px;
}

/** CUVÉES **/
button.e-filter-item:hover{cursor: pointer;}
.visu-cuvee img{
	max-height:600px;
}
.spec-tech h3{
	font-size: 1.25rem;
	font-family: "Baron Neue", sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin:0;
}
.accord-degust h3, .accord-degust h4{margin:0;}
.accord-degust h3{margin-bottom:5px;}
.accord-degust h3{
	font-size: 1.25rem;
	font-family: "Baron Neue", sans-serif;
	text-transform: uppercase;
	letter-spacing: 2px;
}
.accord-degust h4{
	font-size: 1rem;
	font-weight:500;
	text-transform: uppercase;
}

.gamme-title::before{
	content:"•";
	font-size: 5rem;
    line-height: 1rem;
}
.gamme-title::after{
	content:" ";
	display:inline-block;
	width:100px;
	height:2px;
}

#filtre_cuvees .e-filter button{
	font-family: "Quorum", sans-serif;
	font-weight:600;
	text-transform:uppercase;
	letter-spacing: 3px;
	text-wrap:wrap;
	height:90px;
	max-width:125px;
	border-left:1px solid var(--primary-color);
	padding: 10px 20px 0 20px;
}
#filtre_cuvees .e-filter button[data-filter]::before{
	position:absolute;
	top:8px;
	content:' ';
	width:15px;
	height:15px;
	border-radius:50%;
}
#filtre_cuvees .e-filter button[data-filter]::after{
	position:absolute;
	bottom:16px;
	content:' ';
	width:35px;
	height:2px;
}
#filtre_cuvees .e-filter button[data-filter="__all"]{border:none;}
#filtre_cuvees .e-filter button[data-filter="les-coteaux"]::before, #filtre_cuvees .e-filter button[data-filter="les-coteaux"]::after{background-color: var(--gamme-coteaux-color);}
#filtre_cuvees .e-filter button[data-filter="les-iconiques"]::before, #filtre_cuvees .e-filter button[data-filter="les-iconiques"]::after{background-color: var(--gamme-iconiques-color);}
#filtre_cuvees .e-filter button[data-filter="les-parcellaires"]::before, #filtre_cuvees .e-filter button[data-filter="les-parcellaires"]::after{background-color: var(--gamme-parcellaires-color);}
#filtre_cuvees .e-filter button[data-filter="les-spiritueux"]::before, #filtre_cuvees .e-filter button[data-filter="les-spiritueux"]::after{background-color: var(--gamme-spiritueux-color);}
#filtre_cuvees .e-filter button[data-filter="les-ratafias"]::before, #filtre_cuvees .e-filter button[data-filter="les-ratafias"]::after{background-color: var(--gamme-spiritueux-color);}

#loop-cuvees .elementor-loop-container .cuvee{background-color:rgba(234,212,189,.4);}
#loop-cuvees .elementor-loop-container .cuvee:nth-child(2n + 1){background-color:var(--accent-color);}
.thumb-cuvee-link{opacity: 0;transition: all 1s ease-out !important;}
.thumb-cuvee-link:hover{opacity: 1;}

.gamme-les-iconiques .bloc-gamme{background:url(images/Tampon-CHAMPAGNE-ABERGERE-iconiques.svg) no-repeat center center;}
.gamme-les-coteaux .bloc-gamme{background:url(images/Tampon-CHAMPAGNE-ABERGERE-coteaux.svg) no-repeat center center;}
.gamme-les-parcellaires .bloc-gamme{background:url(images/Tampon-CHAMPAGNE-ABERGERE-parcellaires.svg) no-repeat center center;}
.gamme-les-spiritueux .bloc-gamme{background:url(images/Tampon-CHAMPAGNE-ABERGERE-spiritueux.svg) no-repeat center center;}
.gamme-les-ratafias .bloc-gamme{background:url(images/Tampon-CHAMPAGNE-ABERGERE-spiritueux.svg) no-repeat center center;}

.gamme-les-iconiques .gamme-title::before{color:var(--gamme-iconiques-color);}
.gamme-les-iconiques .gamme-title::after{background-color:var(--gamme-iconiques-color);}
.gamme-les-coteaux .gamme-title::before{color:var(--gamme-coteaux-color);}
.gamme-les-coreaux .gamme-title::after{background-color:var(--gamme-coteaux-color);}
.gamme-les-parcellaires .gamme-title::before{color:var(--gamme-parcellaires-color);}
.gamme-les-parcellaires .gamme-title::after{background-color:var(--gamme-parcellaires-color);}
.gamme-les-spiritueux .gamme-title::before{color:var(--gamme-spiritueux-color);}
.gamme-les-spiritueux .gamme-title::after{background-color:var(--gamme-spiritueux-color);}
.gamme-les-ratafias .gamme-title::before{color:var(--gamme-spiritueux-color);}
.gamme-les-ratafias .gamme-title::after{background-color:var(--gamme-spiritueux-color);}

/** CHAMBRES **/
.room-card .flexslider, .single-room .flexslider{
	border: none;
	border-raduis: 0;
	background: none;
}

.room-card .flex-direction-nav a.flex-next:before, .single-room .flex-direction-nav a.flex-next:before{
	font-family:"FontAwesome";
	content:'\f054';
	color:white;
}
.room-card .flex-direction-nav a.flex-prev:before, .single-room .flex-direction-nav a.flex-prev:before{
	font-family:"FontAwesome";
	content:'\f053';
	color:white;
}
.room-card .mphb-room-type-title.entry-title, .single-room .mphb-room-type-title.entry-title{
	font-size: 1.5rem;
}
.room-card p, .mphb_sc_room-wrapper p{
	font-size: .913rem;
}
.elementor-widget-mphbe-room{height:100%}
.elementor-widget-mphbe-room .elementor-widget-container{height:100%}
.elementor-widget-mphbe-room .elementor-widget-container .mphb_sc_room-wrapper{height:100%}
.elementor-widget-mphbe-room .elementor-widget-container .mphb_sc_room-wrapper .mphb-room-type{
	height:100%;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.single-room .mphb_sc_room-wrapper p{
	color:white;
}
.white .mphb-room-type p{color: white;}
.room-card .mphb-room-type-details-title, .single-room .mphb-room-type-details-title{
	display:none;
/*
	font-family: "Quorum", sans-serif;
	font-size: 1.25rem;
	font-weight:600;
	text-transform:uppercase;
	letter-spacing: 3px;
	margin: 1.5rem 0 0 0;
*/
}
ul.mphb-single-room-type-attributes{padding-left:0;}
#mphb-flexslider-gallery-2{display:none;}
.mphb-datepick .datepick{width:100% !important;}
.mphb-attribute-title{font-weight:600;}
.room-card .mphb-loop-room-type-attributes, .single-room .mphb-single-room-type-attributes{
	font-size: .913rem;
	margin-bottom:1.5rem;
}
.room-card .mphb-price, .single-room .mphb-price{
	font-family: "Quorum", sans-serif;
	font-size: 1.5rem;
	font-weight:600;
	color: var(--primary-color);
}
.room-card .mphb-view-details-button-wrapper .button.mphb-view-details-button, .single-room .mphb-view-details-button-wrapper .button.mphb-view-details-button{
	text-transform: uppercase;
	text-align:center;
	color:white;
	display: block;
	background-color: var(--primary-color);
	border: 1px solid var(--primary-color);
	border-radius: 4px;
	padding: 8px 24px;
    transition: .5s;
    
}
.room-card .mphb-view-details-button-wrapper .button.mphb-view-details-button:hover, .single-room .mphb-view-details-button-wrapper .button.mphb-view-details-button:hover{
	background-color: var(--accent-color);
	color: var(--primary-color);
    animation: .5s;
}
.room-card .mphb-single-room-type-attributes li, .mphb-loop-room-type-attributes li, .single-room .mphb-single-room-type-attributes li{
 	list-style: none;
}
.room-card .mphb-loop-room-type-attributes, .single-room .mphb-loop-room-type-attributes{padding-left:0;}
.room-card .mphb-single-room-type-attributes li:before, .mphb-loop-room-type-attributes li:before{
	font-family:"FontAwesome";
	font-weight:900;
	color: var(--primary-color);
	margin-right:10px;
	display:inline-block;
	width:24px;
	margin:auto;
}
.single-room .mphb-single-room-type-attributes li:before{
	font-family:"FontAwesome";
	font-weight:900;
	color: var(--primary-color);
	margin-right:10px;
	display:inline-block;
	width:24px;
	margin:auto;
}
.room-card .mphb-room-type-total-capacity:before, .mphb-room-type-adults-capacity:before, .single-room .mphb-room-type-adults-capacity:before{
	content:"\f0c0";
}

.room-card .mphb-room-type-children-capacity:before, .single-room .mphb-room-type-children-capacity:before{
	content:"\f1ae";
}

.room-card .mphb-room-type-facilities a, .single-room .mphb-room-type-facilities a{
	color:inherit;
}
.room-card .mphb-room-type-facilities:before, .single-room .mphb-room-type-facilities:before{
	content:"\f0f4";
}

.room-card .mphb-room-type-size:before, .single-room .mphb-room-type-size:before{
	content:"\f31e";
}

.room-card .mphb-room-type-bed-type:before, .single-room .mphb-room-type-bed-type:before{
	content:"\f236";
}

.room-card .mphb-room-type-view:before, .single-room .mphb-room-type-view:before{
	content:"\f06e";
}

.room-card .mphb-attribute-title, .room-card .mphb-room-type-categories, .single-room .mphb-room-type-categories{
	display:none;
}

label.mphb-checkbox-label em{display:none;}

/** FORMULAIRE **/
#form_newsletter-subscription .frm_fields_container{
	border-bottom:2px solid var(--primary-color);
}

/** WOOCOMMERCE **/
.mphb_sc_account{display:flex;}
.mphb_sc_account .mphb-account-content{
	float:none;
	margin:0 auto;
}

/** RESERVATION **/
.mphb_checkout-services-list li{
	margin-bottom: 5px;
}
.mphb_checkout-services-list li label {
    display: flex;
    position: relative;
    cursor: pointer;
    user-select: none;
}
.mphb_checkout-services-list li label input[type="checkbox"] {
	visibility: hidden;
	display: none;
}
.mphb_checkout-services-list li label:has(input[type="checkbox"]):before {
	display:flex;
	position:relative;
	margin-right:4px;
	content:"";
	min-width:16px;
	width:16px;
	height:16px;
	border-radius:50%;
    border: solid darkgray;
    border-width: 1px;
    box-shadow: 0 0 3px rgba(0,0,0,.3);
}
.mphb_checkout-services-list li label:has(input[type="checkbox"]:checked):before{
	min-width:16px;
	width:16px;
	height:16px;
	padding:2px;
	border: none;
	background-color:#D6AC4A;
	box-shadow: 0;
}

@media (max-width: 768px){
	blockquote p::after, blockquote p::before{font-size:150px}
	blockquote p::before{
		margin-left:-50px;
		margin-top:-50px;
		}
	blockquote p::after{
		margin-top:-20px;
	}
	
	#filtre_cuvees .e-filter button{
		max-width:300px;
		border-left:none;
	}
	#filtre_cuvees .e-filter button[data-filter]::before{
		position: relative;
	    top: -2px;
	    margin-right: 8px;
	}
	#filtre_cuvees .e-filter button[data-filter]::after{
		content:none;
	}
	ul.mphb_sc_checkout-services-list.mphb_checkout-services-list{
		padding-inline-start: 10px;
	}
	.room-card{display:inline-table;}
	.elementor-widget-mphbe-room .elementor-widget-container .mphb_sc_room-wrapper .mphb-room-type{justify-content: start;}
}

/******** AMELIA *******/
#amelia-container{padding: 0 !important;}
.am-ec__period-time{font-size:16px !important; font-weight: 700 !important;}
.am-ec__period-date{display: none !important;}