/*!
Theme Name: rbedrinkschild
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Template: rbedrinks
Text Domain: rbedrinks
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

rbedrinks is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/

********************************************************

NAVIGATION


1. MAIN
2. NAVIGATION
3. HOME PAGE




/*******************************************************************************************/
/*************		                    MAIN                                   *************/
/*******************************************************************************************/

*/
.page{
	margin:0;
}
.page-template{
	background:black;
}
.post, .page {
    margin: 0;
}
p {
	margin:0;
	font-family:'Montserrat', sans-serif;
	color:#f6f6f6;
}
body {
    background-color: #ffffff;
}

body.page-template-templatesproducts-php {
    background-color: #f6f6f6;
}

.entry-summary{
	margin-top:0;
}

.hover {
-webkit-user-select: none;
-webkit-touch-callout: none;        
}

:focus {
    outline: none;
}
/*******************************************************************************************/
/*************		               TYPOGRAPHY                                  *************/
/*******************************************************************************************/


h1{
	font-family:'Corinthia', serif;
}
p.special{
    font-family: 'Special Elite', serif;
    letter-spacing: 4px;
    font-size: 13px;
    line-height: 22px;
}
.hometitle h1{
	margin:0;
	line-height: 54px;
	font-size:65px;
}
.hometitle h1.top{
	margin:0;
	line-height: 54px;
	font-size:45px;
}
@media(max-width:350px){
	.hometitle h1.top{
		line-height: 49px;
   		font-size: 40px;
	}	.hometitle h1.bottom{
		line-height: 49px;
   		font-size: 50px;
	}
}
.hometitle h1.top{
	letter-spacing:-1.8px;
	font-weight: 400;
}
.hometitle h1.bottom{
	letter-spacing:1.2px;
	font-weight: 900;
}

#myFunctionAbout.inactive{
	z-index:-10;
	opacity:0.6;
}
#myFunctionWhy.inactive{
	z-index:-10;
	opacity:0.6;
}
span.bolder {
    font-weight: 700;
}
 h1, h2, h3, h4, h5, h6, a, .learnmore a {
    color: #f5f5f5;
}

.page-template-products h1,
.page-template-products h2,
.page-template-products h3,
.page-template-products h4,
.page-template-products h5,
.page-template-products h6,
.page-template-products a{
	color:#404040;
}
p.special{
	font-family:'Special Elite';
}
.center{
	margin: auto;
	text-align:center;
}
.medium{
	max-width: 900px;
	padding: 10px;
	margin:auto;
}

/*******************************************************************************************/
/*************		               NAVIGATION                                  *************/
/*******************************************************************************************/

.home .main-navigation{
	opacity:0;
	z-index:-10;
	transition:0.3s ease-in;
	transition-delay:0s;
}

.main-navigation{
	animation: mainnavigation;
		animation-duration: 0.3s;
		animation-timing-function: ease;
}	

@keyframes mainnavigation {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacty: 1;
  }
}

.main-navigation ,.home .main-navigation.visible, .mobile-navigation{
	opacity:1;
	z-index:1000;
	position:absolute;
	top:0;
}

.footer-main {
	position: absolute;
    font-family: 'special elite';
    bottom: 0;
    font-size: 11px;
}	

.navigation-container {
    display: flex;
    align-items: center;
    width: fit-content;
    margin: auto;
	max-width:100vw;
}
.full-width-wrap{
	display: flex;
    align-items: center;
    width: fit-content;
    margin: auto;
}

.mobile-navigation{
	display:none
}
.mobile-navigation.visible{
	display:unset
}
.mobile-navigation{
	position:absolute;
	opacity:0;
}

.mobile-navigation-wrapper {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200px;
    height: 300px;
    transform: translate(-100vw, -50%);
}
.mobile-navigation.active .mobile-navigation-wrapper {
	transform: translate(0vw, -50%);
    z-index: 10002;
}

@media(min-width:801px){
	.mobile-navigation{
		display:none;
	}
}

.mobile-width-wrap {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.mobile-navigation-container {
    position: absolute;
    top: 40px;
    transform: translate(0, -50%);
    background-color: #000000;
    box-shadow: 6px 8px 30px 11px #00000052;
    border-radius: 0;
    border: 1px solid #000000;
    border-left: none;
    padding: 15px 0;
    transition: 1s ease-in-out;
    z-index: 10002;
}
.mobile-navigation-container.disabled {
    transform: translate(-150%, -50%);
}
.mobile-navigation-closer.active{
	width:100vw;
	height:100vh;
	z-index: 1001;
    position: absolute;
    top: 0;
    left: 0;
}


.menu-icon {
    position: absolute;
    top: 50px;
    left: 10px;
    font-size: 30px;
    color: white;
    opacity: 0.6;
	width: 30px;
    height: 40px;
    overflow: hidden;
	cursor:pointer;
}
.mobile-navigation .menu-icon{
	filter: drop-shadow(1px 1px 1px black);
}

.icon-translate{
	transform:translateY(0);
	transition:1s ease-in;
}
.icon-translate.active{
	transform:translateY(-50px);
}
@media(max-width:800px){
	.full-width-wrap{
		display:none;
	} .mobile-navigation{
		opacity:1;
	}
}
nav.mobile-navigation.visible.active {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
}

.navigation-container a, .mobile-navigation a {
    color: #404040;
    font-weight: 100;
    margin: 5px 20px;
	text-decoration:none;
	cursor:pointer;
}
.mobile-navigation a {
	margin: 0px 0;
    padding: 30px 50px;
    position: relative;
    font-family: 'Special Elite';
    font-size: 16px;
    font-weight: 100;
    color: #f6f6f6;
    letter-spacing: 3px;
}
.mobile-navigation a:after{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 30px;
    right: 0px;
    height: 1px;
    background-color: #000000;
}
.mobile-navigation a:hover,
.mobile-navigation a.hover{
    background-color:#e9fde333;
}

.navigation-container a {
    color: white;
    font-weight: 100;
    margin: 5px 20px;
	font-family: 'Montserrat', sans-serif;
	position:relative;
	cursor:pointer;
	    filter: drop-shadow(1px 1px 2px #404040);
}
.error404 .navigation-container a{
	filter:none;
}

a#myFunctionHome, .archive .navigation-container a {
	filter:none;
}
.navigation-container a:hover, 
.navigation-container a.hover {
    font-weight: 600;
    letter-spacing: 1px;
    margin-right: 8px;
}
.navigation-container a.site-logo:hover, 
.navigation-container a.site-logo.hover {
    margin-right: 20px;
}
.navigation-container a:before {
    content: "";
	position:absolute;
	bottom:0;
	width:0;
	height:1px;
	background-color:white;
	border-radius:1px;
	transition:0.5s ease-in-out;
}

.navigation-container a.site-logo:hover:before,
.navigation-container a.site-logo.hover:before{
	width:0%;
}
.navigation-container a:hover:before,
.navigation-container a.hover:before{
	width:100%;
}
.sidebar-nav.no-print {
    position: absolute;
    top: 0;
    z-index: 2;
    right: 0;
    position: absolute;
    top: 0;
    z-index: 1000;
    right: 0;
    overflow: hidden;
    width: 90px;
    height: 200px;
}
/*******************************************************************************************/
/*************		               HOME PAGE                                   *************/
/*******************************************************************************************/
.logo-img-container {
	opacity:0;
	max-width: 300px;
    height: fit-content;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
	transition:0.3s ease-in-out;
}
.logo-img-container.visible {  
	opacity:1;
}
.home-logo {
    max-width: 150px;
}

.homewrapper {
    background: #00303f;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
	z-index:-1;
	transition: 2s ease-in-out;
}
.homewrapper.third {
	background-color: #000000;
}
.homemain-wrapper {
background-image: linear-gradient(to bottom, rgb(0 0 0 / 68%), rgb(0 0 0)), url(/wp-content/uploads/2022/11/casksladders-min.png);
    top: 0;
    left: 0;
    height: 100%;
    background-size: cover;
}
.page-template-Assemblages .homemain-wrapper {
background-image: linear-gradient(to bottom, rgb(0 0 0 / 68%), rgb(0 0 0)), url(/wp-content/uploads/2022/11/barelyard-min.png);
    top: 0;
    left: 0;
    height: 100%;
    background-size: cover;
}
.page-template-Bottlings .homemain-wrapper {
background-image: url(/wp-content/uploads/2022/11/Group-2.png);
    top: 0;
    left: 0;
    height: 100%;
    background-size: cover;
}
.page-template-Categories .homemain-wrapper {
background:black;
}
.hometitle p {
    color: #f6f6f6;
    font-family: "Special Elite";
    letter-spacing: 1px;
}
.homemain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
	background:#000000;
}
.homemain-container, .homewrapper{
	min-height:830px;
	overflow:hidden;
}


.homelogo {
    position: relative;
    margin-top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 290px;
	 max-width: calc(100vw - 70px);
}

.hometitle {
    position: absolute;
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
}
@media(max-width: 900px){
	.hometitle {
		padding: 10px;
		max-width: 600px;
		margin: auto;
		width: 100%;
	}	
}
@media(max-width: 450px){
	.hometitle {
		top:250px;
	}	
}
.page-template-Categories .hometitle {
	width:100%;
}

.herotop {
    position: absolute;
    overflow: scroll;
    top: 150px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 150px);
}

.assemblages {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
}
@media(max-width: 900px){
	.assemblages {
		padding: 10px;
		max-width: 600px;
		margin: auto;
		width: 100%;
	}	
}
.dictionnary {
    margin-bottom: 50px;
}
.dictionnary p.topline {
    margin-bottom: 20px;
    font-size: 18px;
}
.dictionnary span.mainword {
    font-size: 22px;
}
.dictionnary p.secondline {
    margin: 10px;
}
.dictionnary p.thirdline {
    margin-bottom:10px;
}
.dictionnary span.title {
    font-weight: 900;
}
.catmain{
	display:flex;
	flex-wrap:wrap;
	width:fit-content;
	margin:auto;
	justify-content: center;
}
.page-template-Categories .hometitle {
	top:270px;
}
.cat-armagnac{
	background-image: url(/wp-content/uploads/2022/11/postcard-condom.png);
    width: 400px;
	max-width:100%;
    height: 270px;
    background-size: contain;
	background-repeat:no-repeat;
	margin:20px;
	position:relative;
}
.cat-cognac{
	background-image: url(/wp-content/uploads/2022/11/restaurant-gros-pompe-a-essence-claouey.jpeg);
    width: 400px;
   	max-width:100%;
    height: 270px;
    background-size: contain;
	background-repeat:no-repeat;
	margin:20px;
	position:relative;
}
.cat-armagnac::after, .cat-cognac::after{
	font-family:'Special Elite';
	font-size:40px;
	color: #f6f6f6;
	background-color:black;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
    opacity: 70%;
    text-align: -webkit-center;
	padding-top:100px;
}
.cat-armagnac::after{
	content: "Armagnac";
}
.cat-cognac::after{
	content: "Cognac";
}
.cat-armagnac:hover:after, .cat-cognac:hover:after{
    opacity: 40%;
    color: black;
    background-color: white;
    font-size: 50px;
}




.cky-consent-bar {
    max-width: 500px!important;
    position: absolute!important;
    left: 50%!important;
	bottom: 50px!important;
    transform: translateX(-50%)!important;
    width: 100%!important;
}

.cky-box-bottom-left {
    left: 0!important;
	position: absolute!important;
    top: 0!important;
    height: 100vh!important;
    left: 0!important;
    width: 100vw!important;
	background: url(/wp-content/uploads/2022/11/vineentrance-min.png)!important;
    background-size: cover!important;
    background-repeat: no-repeat!important;
}

.cky-box-bottom-left:after {
	Content: "";
    background-image: url(/wp-content/uploads/2022/11/Bouillerurslogo-dark-Copy-3.png)!important;
    background-size: contain!important;
    position: absolute!important;
    background-repeat: no-repeat!important;
    top: 100px;
    left: 50%;
    width: 370px;
    max-width: 80%;
    height: 30%;
    opacity: 80%;
    text-align: -webkit-center;
	transform: translateX(-50%);
}

.cky-consent-bar {
    max-width: 500px!important;
    position: absolute!important;
    left: 50%!important;
	bottom: 50px!important;
    transform: translateX(-50%)!important;
    width: 100%!important;
}
p.cky-title {
    color: #f6f6f6!important;
    font-family: 'Special Elite'!important;
    font-size: 20px!important;
    text-align: center!important;
}


.bottling {
    top: 130px;
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.bottling-caroussel-bottle {
    height: 600px;
    width: 300px;
    background-size: contain!important;
    background-repeat: no-repeat!important;
	background-position: center!important;
}
.edition1  .bottling-caroussel-bottle{
    width: 151px;
}
.bottling-caroussel-label {
    position: absolute;
    top: 80px;
    left: 210px;
    width: 300px;
    height: 500px;
    background-size: contain!important;
    background-repeat: no-repeat!important;
	transform:scaleX(0);
	transition: all .5s;
}

@media (min-width:900px){
	.bottle-link:hover .bottling-caroussel-label {
		transform: scaleX(1);
	}
}
.bottling-caroussel-Title {
    position: absolute;
    color: white;
    top: 50px;
    transform: translateX(50%);
    font-family: 'Special Elite';
    left: 70px;
}

.bottling-caroussel-bottle::before {
    content: "";
    width: inherit;
    height: 100px;
    position: absolute;
    top: 100%;
	background: linear-gradient(to bottom, #0000005c,#000000);
    z-index: 1;
}

.bottling-caroussel-bottle::after {
    content: "";
    background-image: inherit;
    width: 100%;
    height: 100px;
    position: absolute;
    top: 100%;
    transform: scaleY(-1);
    background-position: bottom!important;
    background-size: cover!important;
    background-repeat: no-repeat;
}

.imag-wrap {
  width: 100%;
  height: 50vw;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.imag-wrap .imag {
  width: 100%;
  animation: move 40s ease;
  /* Add infinite to loop. */
  
  -ms-animation: move 40s ease;
  -webkit-animation: move 40s ease;
  -0-animation: move 40s ease;
  -moz-animation: move 40s ease;
  position: absolute;
}

@-webkit-keyframes move {
  0% {
    -webkit-transform-origin: bottom left;
    -moz-transform-origin: bottom left;
    -ms-transform-origin: bottom left;
    -o-transform-origin: bottom left;
    transform-origin: bottom left;
    transform: scale(1.0);
    -ms-transform: scale(1.0);
    /* IE 9 */
    
    -webkit-transform: scale(1.0);
    /* Safari and Chrome */
    
    -o-transform: scale(1.0);
    /* Opera */
    
    -moz-transform: scale(1.0);
    /* Firefox */
  }
  100% {
    transform: scale(1.2);
    -ms-transform: scale(1.2);
    /* IE 9 */
    
    -webkit-transform: scale(1.2);
    /* Safari and Chrome */
    
    -o-transform: scale(1.2);
    /* Opera */
    
    -moz-transform: scale(1.2);
    /* Firefox */
  }
}

.homemain-container.imag-wrap.productpage{
	background:black;
	position: absolute;
    top: 0;
    z-index: -1;
}
.flexproduct {
    margin-top: 150px;
    display: flex;
}
.page-template-Armagnac01 .homemain-wrapper{
	background: url('/wp-content/uploads/2022/11/stopped-in-the-vines-min.png');
	top: 250px;
    height: calc(100% - 250px)!important;
    background-size: contain;
    background-repeat: no-repeat;
}
.page-template-Armagnac01 .homemain-wrapper::after{
	content:"";
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:linear-gradient(90deg, rgb(2 0 36 / 40%) 0%, rgb(0 0 0 / 91%) 45%, rgb(0 0 0) 100%);
}

.bottleimage {
    height: 650px;
    width: 160px;
    background-size: contain!important;
    background-repeat: no-repeat!important;
    background-position: center!important;
	margin-left: auto;
    margin-right: 140px;
}

.product-description {
    width: 50%;
    padding: 50px 50px 0 0;
	max-width: 600px;
}
.bottlemain {
    width: 50%;
	display: flex;
    justify-content: center;
}

.product-description > div {
    margin-top: 20px;
}

.bottleimage::before {
    content: "";
    width: inherit;
    height: 100px;
    position: absolute;
    top: 800px;
	background: linear-gradient(to bottom, #0000005c,#000000);
    z-index: 1;
}

.bottleimage::after {
    content: "";
    background-image: inherit;
    width: 160px;
    height: 100px;
    position: absolute;
    top: 800px;
    transform: scaleY(-1);
    background-position: bottom!important;
    background-size: cover!important;
    background-repeat: no-repeat;
}
@media(max-width: 900px){
	.flexproduct {
		flex-direction: column;
	}.bottlemain {
    width: 100%;
	}.product-description {
    width: 100%;
	}.bottleimage {
    margin-right: auto;
	}.product-description {
    max-width: 600px;
    margin: 50px 20px 0;
	}.page-template-Armagnac01 .homemain-wrapper {
    background-size: cover;
	}
}
.producttitle p, .productchar p{
	font-family:'Special Elite';
}
.producttitle {
	font-size: 23px;
    line-height: 21px;
    margin: 40px 40px 0px;
}
.product-description .producttitle{
	margin-top: 40px;
}
.productchar {
    font-size: 18px;
}
span.chartitle {
	color: #f6f6f694;
    margin-right: 10px;
    font-size: 13px;
}

.main-title h1{
    font-family: 'Pinyon Script';
	font-size: 60px;
    line-height: 0px;
}
.main-title h2 {
    font-family: 'Special Elite';
	opacity:0.5;
	line-height:0;
}
.category.flex {
    display: flex;
    flex-direction: row;
	justify-content: right;
}
.category.flex.top {
	max-width: 1200px;
    margin: auto;
}
.parent-pageid-50 .main-title {
    margin-top: 250px;
    text-align: -webkit-center;
    margin-bottom: 60px;
}

.parent-pageid-50 .homemain-container{
	overflow:visible;
}
.francemap {
    height: 390px;
    width: 390px;
    background-size: contain!important;
    background-repeat: no-repeat!important;
    background-position: center!important;
	margin-right:-150px;
	z-index:1;
}
.appellationpic {
    width: 70%;
    background-size: cover!important;
    background-repeat: no-repeat!important;
    background-position: center!important;
	margin-top: 100px;
    height: 570px;
}

video#bouilleursVideo {
    opacity: 0.3;
}

.category.flex.middle {
    margin: 50px auto;
	flex-direction: row-reverse;
    max-width: 900px;
}
.category.flex.middle > div {
    width: 50%;
    margin: 20px;
	align-self: center;
}
.appellationmap {
    height: 450px;
    width: 450px;
    background-size: contain!important;
    background-repeat: no-repeat!important;
    background-position: center!important;
	margin-right:-150px;
	z-index:1;
}

@media(max-width: 700px){
	.category.flex.middle {
		flex-direction: column-reverse;
		padding:10px;
	}.category.flex.middle > div {
    	width: 100%;
	}
}
.appellationshort p.special{
	font-size:22px;
}

.cognac .category.flex.middle .appellationmap{
	margin:0;
}

.cognac .appellationmap.middle {
    margin: auto;
}

.pagebottom{
	height:150px;
}