/*******************************************************************************/
/* BASIS LAYOUT   */
/******************************************************************************/
html {
	height:100.1%;
}

body {
	display: flex;
    flex-direction: column;
	overflow-x:hidden; 
	height: 100.1%;
	width: 100%;
	margin: 0px;
	padding: 0px;
	background-color: transparent;
	position:relative; 
}

header, nav, section, article, aside, footer {
  display: block;
}

#wrapper {
	flex: 1 0 auto;
	position: relative;
	width: 100%;
	margin: 0 auto 0 auto;
	height: auto !important;
	background-color:#000000;
}

#wrap-header {
	width:100%;
	height:99px;
	position: absolute;
    background-color: transparent;
	z-index:300;
	opacity: 1;
}


#header, #header.container {
	height:100%;
	max-width: 1300px !important;
	z-index: 20;
}

#logo {
	z-index:1500 !important;
	width:230px;
	position:absolute;
	/*left:41.5%;
	top:100%;
	transform:translateY(-50%);
	margin-left:-640px; */
	top: 36px;
}

#logo a, #logo img {
  display:block;
  width:100%;
  height:auto; 
}

#logo img{
  margin-left: -20px;
}

#nav li:nth-of-type(1n)
 {
	width: 114px !important;
	text-align: right;
}
#nav li:nth-of-type(2n)
 {
	width: 155px !important;
	text-align: right;
}
#nav li:nth-of-type(3n)
 {
	width: 66px !important;
	text-align: right;
}


body.degustationen #nav li:nth-of-type(1n) {
     font-weight:  bold;
}
body.degustationen #nav li:nth-of-type(2n) {
	font-weight:  normal;
}
body.degustationen #nav li:nth-of-type(3n) {
	font-weight:  normal;
}


body.wissensvermittlung #nav li:nth-of-type(1n) {
     font-weight: normal;
}
body.wissensvermittlung #nav li:nth-of-type(2n) {
	font-weight:  bold;
}
body.wissensvermittlung #nav li:nth-of-type(3n) {
	font-weight:  normal;
}


body.mandate #nav li:nth-of-type(1n) {
     font-weight:  normal;
}
body.mandate #nav li:nth-of-type(2n) {
	font-weight:  normal;
}
body.mandate #nav li:nth-of-type(3n) {
	font-weight:  bold;
}

#wrap-topbild {
	width:100%;
	height:auto;
	overflow:hidden !important;
	position:relative;
	height:34vw;
	margin-top:120px; 
}

#topbild {
	width:100%;
	height:auto;
	position:relative; 
}

#topbild img {
	position:fixed; 
}

#topbild img#myimg {
	position:relative;
	top:0 !important;
}

#topbild .ce-gallery, .bg-fullscreen .ce-gallery {
	float: none !important;
}

#topbild .ce-image img, #topbild img, 
.bg-fullscreen .ce-image img, .bg-fullscreen img {
	width:100% !important;
	height:auto;
}

#topbild .ce-center .ce-outer, #topbild .ce-center .ce-inner, 
.bg-fullscreen .ce-center .ce-outer, .bg-fullscreen .ce-center .ce-inner  {
	position: relative;
	float: none !important;
	right: 0% !important;
}

#topbild .ce-column, #topbild .ce-gallery figure,
.bg-fullscreen .ce-column, .bg-fullscreen .ce-gallery figure  {
	width: 100% !important;
}

#topbild .ce-gallery, .bg-fullscreen .ce-gallery {
	margin-right: 0px !important;
	margin-bottom:0px !important; 
}

#topbild .ce-gallery .ce-column, 
.bg-fullscreen .ce-gallery .ce-column {
	margin-right: 0px !important;
	margin-bottom: 0px !important;
}


#wrap-inhalt {
	/*margin-top:80px; */
}


/* Home Header Movie */
.home #topbild {
	width:100%;
	height:auto;
	position:relative; 
}

.home #topbild img {
	position:fixed; 
}

.home #wrap-inhalt {
	/* margin-top: 80px; */
	height: auto;
	overflow: hidden;
	/*padding-bottom: 80px;*/
	background-color: #fff;
	z-index: 2;
	position: relative;
}

#wrap-inhalt.notb {
	/*margin-top:80px; */
}

main, #inhalt { 
	min-height:400px;
    padding-top:0px;
	/* margin-bottom:80px; */
	height:auto;
	overflow:hidden; 
}



/* Sections */
.bg-white {
	padding:120px 0px 120px 0px;
	position:relative;
}

.bg-gray-zeropadding {
	padding:120px 0px 0px 0px; 
	position:relative;
	background-color:#262626;
	color: #D9D9D9;
}

.bg-gray {
	padding:120px 0px 120px 0px; 
	position:relative;
	background-color:#262626;
	color: #D9D9D9;
}

.bg-black {
	padding:120px 0px 120px 0px; 
	position:relative;
	background-color:#000000;
	color: #D9D9D9;
}

.bg-black.no-space-before {
	padding:0px 0px 120px 0px; 
}


.bg-white p:last-child, 
.bg-gray p:last-child, 
.bg-black p:last-child {
	margin-bottom:0px; 
}



/* Popup Layer */
#popup-overlay-box {
	display: none;
}

.modal {
	max-width: 1250px !important;
	max-height: 1000px;
	padding: 42px 200px 42px 200px !important; /*padding: 42px 200px 42% 200px !important;*/
	border-radius: 0;
	box-shadow: 0 0 10px #a5a5a5;
	overflow-y: auto;
}

.jquery-modal.blocker {
	background-color: #262626;
/*	height: calc(100% - 120px);
*/	/*margin-top: 120px;*/
	height: 100%;
	z-index:2000 !important; 
}

.modal a.close-modal {
  top: 40px !important;
  left: 30px !important;
}

.modal .table {
	color: #D9D9D9;
	border: 1px solid #D9D9D9;
}


/* Fuzsszeile */
#map {
	width:100%;
	/* display:none;  */
}

#wrap-footer {
	flex-shrink: 0;
	width: 100%;
	clear: both;
	background-color:#000000;
	position:relative;
	z-index:5;
}

footer {	
	position: relative;
	padding-top: 40px;
	padding-bottom:30px;
	margin-right: auto;
	margin-left: auto;
	min-height:180px;
}

footer p {margin-bottom: 0px;}

#wrap-social {
	width:100%;
	margin-bottom:20px; 
}




/* social media icons */
#social-links a { margin-right:12px; }
#social-links .fab { font-size:28px; }
#social-links .fa-facebook-f { font-size:24px;}


#meguralink {
	text-align:right; 
	margin:0 auto;
	margin-top:10px;
}



/* Megura Swissness Logo */
#megura-programmierung { position:relative; clear: both; float:none; }

#megura-swissness {
width:100px;
height:100px;
position:absolute;
bottom: 15px;
right: 15%;
/*transform: translateY(-70%);*/
}

.ms-svg-inner {
	fill:#D9D9D9;
}

#megura-swissness svg:hover .ms-svg-inner {
	fill:#D9D9D9;
}


/* Helper classes  */
.container {
	position:relative !important;
	max-width:1100px !important;
}

#inhalt.subpage .sec .container {
	padding-left: 300px;
}


.center-text { text-align:center; margin:0 auto !important; }
.center-element { margin:0 auto !important; }

img { outline:none !important; }

main .row  img {
		max-width: 100% !important;
		height: auto; 
}

/* IE 10+ only */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
 	main .row  img {
			width: 100% !important;
			height: auto; 
	}
}


.divider hr {
  margin-bottom: 25px !important;
  margin-top: 25px !important;
  border-top:1px solid #999 !important;
}

.prel {
	position:relative;
}

.empty hr {
	border-top: none !important;
	margin-top: 15px !important;
	margin-bottom: 15px !important;
	height: auto;
	overflow: hidden;
}



/* Google Maps */
.tx-go-maps-ext {
	height:45vh;
	width:100%;
}

.js-gme-container {
	height:100%;
	width:100%;
}

.gm-style {
	font-family: 'Barlow', sans-serif;
	font-size:14px !important;
	line-height:120%; 
}

.gme-info-window,
.gme-info-window p,
.gme-info-window a {
	color:#000 !important; 
	line-height:140%; 
	font-family: 'Barlow', sans-serif;
	font-size:14px !important;
}

.gme-info-window p strong {
	font-weight:700 !important; 
}

.gme-info-window p {
	margin-bottom: 5px !important;
}

.gm-style .gm-style-iw-c {
	border-radius: 20px !important;
	padding: 20px !important;
	color: #000;
	background-color: #fff;
	border:2px solid #F5E513;
}

.gm-style-iw-d {
	overflow: auto !important;
}

.gm-ui-hover-effect {
	color: #000 !important;
	top: 0px !important;
    right: 2px !important;
}

main .row .js-gme-container img {
	max-width:initial !important; 
	width:auto !important; 
	height: auto;
}

.js-map p {
	margin-bottom:0px;
}

.gm-style .gm-style-iw-t::after {
	background: linear-gradient(45deg,rgba(245,229,19,1) 50%,rgba(255,255,255,0) 51%,rgba(255,255,255,0) 100%);
}





/* Responsive Video */
.responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.responsive-video video, 
.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Slick Slider */
.slick-slider {
	width:100%; 
}

.slick-prev::before, .slick-next::before {
	color:#000 !important; 
}




/*******************************************************************************/
/* INHALTSSEITEN   */
/******************************************************************************/

.home .bg-black:first-of-type {
	margin-top: 100vh;
}





/* Headervideo */
.container-video {
	height: 100vh;
	display: flex;
	justify-content: center;
	position:  absolute;

}

video#bgvid {
    object-fit: cover;
    width: 100vw;
    height: auto;
    position: relative;
    top: 0;
    left: 0;
    z-index: 19;
}

.lautsprecher {
	position: absolute;
	bottom: 36%;
	transform: translateX(-50%);
	left: 50%;
	z-index: 40;
}

.lautsprecher img{
    width: 30px;
    cursor: pointer;
}

.slidetext h1{
	font-family: Kinfolk;
	font-size: 190px;
	font-weight: 400;
}

.videotext{
	position:  absolute;
	bottom: 50px;
	left:  50%;
	transform:  translateX(-50%);
	text-align: center;
	z-index: 40;
}


.wrap-slides {
	position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    z-index: 200;
}



#slides{
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 40;
    margin: 0px;
    padding: 0px;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    list-style: none;
    overflow: hidden;
    display: flex;
    justify-content: center;
    transform: translate(-50%,-50%);
    margin-left: 0 !important;
}

#slides li {
   /* position: absolute;
    top: 0px;
    left: 0px;
    z-index: 0;
    width: 100%!important;
    height: 100%!important;
    max-width: 100%;
    max-height: 100%;*/
  /*  background-position: 50% 50%;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-origin: content-box;*/
    display: block;
}

#text1, #text2, #text3, #text4, #text5{
    display: none;
    color: #D9D9D9;
}

#text1.slide-left-bottom, #text2.slide-left-bottom, #text3.slide-left-bottom, #text4.slide-left-bottom, #text5.slide-left-bottom {
    /*top: 45%;*/
}

/* ALLGEMEIN */


.text-rechtsbuendig{
	text-align: right;
}

.modal {
	background: #000000 !important;
}

.modal .row div{
	background: #000000;
}

a.popup-link{
	text-decoration: none;
	/*display:  block;*/
}

.modal a.close-modal{
	background-image: url("/fileadmin/user_upload/07_Pfeile/pfeil-nach-links.svg") !important;
}

.pfeil-nach-oben{
	/*background-image: url("/fileadmin/user_upload/07_Pfeile/pfeil-nach-links.svg");
	background-repeat: no-repeat;*/
	transform: rotate(-90deg);
	width:  140px;
	position: absolute;
	right: 0;
}

.pfeil-nach-oben-pseudo{
	background-image: url("/fileadmin/user_upload/07_Pfeile/pfeil-nach-links.svg");
	background-repeat: no-repeat;
	height: 15px;
	transform: rotate(180deg);
	margin-right: -55px;
}

.pfeil-nach-oben div {
	margin-left: 40px;
	margin-top: -21px;
}

.pfeil-nach-oben a, .pfeil-nach-oben a div, .pfeil-nach-oben .pfeil-link{
	color: #D9D9D9 !important;
	text-decoration: none;
}

.pfeil-nach-oben a:hover {
	color: #D9D9D9 !important;
	text-decoration: none;
	background-color: #262626 !important;
}

.show-pfeil{
	position: fixed;
	top: 600px;
}

.bg-gray:nth-of-type(5n) .container {
	max-width: none !important;
}

body.degustationen .bg-gray:nth-of-type(3n) .container {
	max-width: none !important;
}


/* HOME */

body.home section.bg-black div.container, body.degustationen section.bg-black div.container,
body.wissensvermittlung section.bg-black div.container, body.mandate section.bg-black div.container{
	max-width: 1300px !important;
}

body.home .bg-gray:nth-of-type(4n){
	padding: 80px 0 30px 0;
}

body.home .bg-gray:nth-of-type(5n){
	padding: 30px 0 70px 0;
}


body.wissensvermittlung .bg-gray .container, body.mandate .bg-gray .container,
body.kontakt .bg-black .container,
body.bestellen .bg-black .container, body.bestellen .bg-gray .container, body.bestellen .bg-gray-zeropadding .container {
	max-width: 1300px !important;
}


.suess-trocken, .tiefgang {
	margin-top: 55px;
}

.kachel{
	border: 1px solid #D9D9D9;
	width: 484px;
	height: 340px;
	display: flex;
	align-items: center;
	/*justify-content: center;*/
	flex-direction: column;
	color: #D9D9D9;
	transition: all 0.3s ease;
	padding-top: 148px;
}

.kachel.small {
	width: 242px;
	height: 170px;
	padding-top: 64px;
}

.kachel h3 {
   text-decoration: none !important;
   transition: all 0.3s ease;
}

.kachel:hover{
	transform: scale(1.1);
	transition: all 0.3s ease-out;
	background-color: #000000;
	border:  none;
}

body.wissensvermittlung .kachel:hover{
	transform: scale(1.1);
	transition: all 0.3s ease-out;
	background-color: #262626;
	border: none;
}

.kachel p {
	display:  none;
	height: 120px;
}

.kachel:hover p{
	display: block;
	transition: all 0.3s ease-out;
	background-image: url("/fileadmin/user_upload/07_Pfeile/pfeil-nach-rechts.svg");
	background-repeat: no-repeat;
	background-position:  center;
}

.kachel:hover h3{
	transform: scale(0.909);
	transition: all 0.3s ease-out;
}


body.degustationen .kachel:hover p,
body.wissensvermittlung .kachel:hover p{
   /*color: #000000;*/
   color: transparent;
}

body.degustationen .kachel h3 {
	font-size: 32px;
}

#blaufraenkisch img{
 /*background: #262626;*/
}

#passion-und-zeit img{
  /*background: #262626;*/
}

#chardonnay img{
   /*background: #262626;*/
}

#vertschi img{
  /*background: #262626;*/
}

.kacheln-box .row div:not(:first-of-type) a:first-of-type{
		margin-top: 250px;
}

.kacheln-box.small .row div:not(:first-of-type) a:first-of-type{
		margin-top: 0;
}

.kacheln-box .row div a:not(:first-of-type){
		margin-top: 75px;
}


.grauer-rand p{
	border: 1px solid #D9D9D9;
	text-align: center;
	padding: 9px;
}


.passion-und-zeit-weinset img {
	width: 70%;
}

/* DEGUSTATION */


.suess-trocken {
    text-align: right;
}


body.degustationen #wrap-inhalt{
	margin-top: 80px;
}

body.wissensvermittlung #wrap-inhalt{
	margin-top: 80px;
}

body.mandate #wrap-inhalt{
	margin-top: 80px;
}

body.kontakt #wrap-inhalt,
body.bestellen #wrap-inhalt {
	margin-top: 80px;
}

body.impressum #wrap-inhalt{
	margin-top: 80px;
}

body.impressum section.bg-black div.container {
	max-width: 1300px !important;
}

.degustation-buchen {
	border: 1px solid #D9D9D9;
	color: #D9D9D9;
	text-align: center;
	padding: 2px 65px 2px 65px;
}

.degustation-buchen p{
  margin: 10px !important;
  margin-bottom:  10px !important;
}

.aktuelles {
	border: 1px solid #D9D9D9;
	color: #D9D9D9 !important;
}

.kachel-degustation p {
	color: #D9D9D9 !important;
}

.aktuelles {
  padding: 8%;
}

.table>:not(caption)>*>* {
    border-bottom-width: 0;
}

div.geschmackserlebnis div.row div:nth-of-type(1n){
   width: 35%;
}

div.geschmackserlebnis div.row div:nth-of-type(2n){
   width: 65%;
}

div.geschmackserlebnis div.row div.geschmackserlebnis-produkte {
	width: 100%;
	text-align: right;
}


div.genug-verzapft {
   padding-left:  200px;
}


/* Wissensvermittlung */
.referenzen .referenzen-logos .ce-column .image img {
	max-width: 80% !important;
}

div.wissensvermittlung-top, div.mandate-top{
	margin-right: 280px;
}

/* Pressespiegel */
ul.ce-uploads{
	margin-left: 0 !important;
}

ul.ce-uploads img{
	background-color: #fff;
}

#pressespiegel .ce-image img,
#pressespiegel .ce-uploads img {
	min-height: 229px;
	width: auto;
}


/* Kontakt */
body.kontakt footer #frow1,
body.bestellen footer #frow1 {
	display: none;
}

/* MANDATE */
div.box-inhalte-slickslider {
	display:  none;
}

button.slick-next::before{
	background-image: url("/fileadmin/user_upload/07_Pfeile/referenz-next.svg");
	background-repeat: no-repeat;
	font-size: 50px;
	content: '_';
	color:  #262626 !important;
}

button.slick-prev:before{
	background-image: url("/fileadmin/user_upload/07_Pfeile/referenz-prev.svg");
	background-repeat: no-repeat;
	font-size: 50px;
	content: '_';
	color:  #262626 !important;
}

.slick-prev{
	left:  -60px !important;
}

body.wissensvermittlung .ce-uploads li a,
body.wissensvermittlung .ce-uploads li div {
	clear: both;
	float: none;
}

body.wissensvermittlung .ce-uploads img {
	padding-right: 0;
}




/* FOOTER  */

.impressum-float, .im-kontakt-bleiben-float {
	float:  left;
}
.impressum-float {
	padding-right: 130px;
}

/* MAILCHIMP */


#mc_embed_signup {
	margin-top:16px;
}

#mc_embed_signup form {
	padding: 0 !important;
}

#mc_embed_signup input.button, #mc_embed_signup input.email{
	float: left;
	font-family: Barlow !important;
	font-size: 18px !important;
}

#mc_embed_signup .clear{
	float: left;
}

#mc_embed_signup input.button{
	position: absolute;
	right: 0;
	width:  25% !important;
	padding-left: 30px;
	padding-right: 30px;
	min-width: 152px !important;
    background: #000;
    border: 1px solid #D9D9D9;
    color: #D9D9D9;
    border-radius: 0;
}

#mc_embed_signup input.email {
	float: right;
	margin-right: 151px;
	min-width:  65% !important;
	/*margin-left: 248px !important;*/
    background: #000;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius:  0 !important;
    color: #D9D9D9;
}

#mc_embed_signup input{
    border: 1px solid #D9D9D9 !important;
    -webkit-appearance: none;
    
}

#mc_embed_signup input::placeholder {
	color: #999;
	opacity: 1 !important;
}

#mc_embed_signup input:focus-visible{
	outline-color: #970500;
}

.mobile-only {
	display: none;
}

.page404 {
	margin-top: 120px;
}