html {
	overflow-y: scroll;
}
body {
	background-color:#fbfbfb;
	margin:0px;
}

.wrapper {
	margin: 0 auto;
	max-width: 1280px;
}

.zentrierung {
	display: table;
	margin: 0 auto;
}

.clearfix:after {
	content: ".";
	clear: both;
	display: block;
	height: 0px;
	visibility: hidden;
}

header {
	background-color: #f5f3f6;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 900;
}
header #logo {
	background-image: url('/img/template/banner-logo.png');
	background-repeat: no-repeat;
	display: none;
	float: left;
	height: 80px;
	width: 200px;
}

/* ------------------------------------------------------- Flexnav Base Styles ---------------------------------------------------------- */
.flexnav {
	-webkit-transition: none;
  -moz-transition: none;
  -ms-transition: none;
  transition: none;
  -webkit-transform-style: preserve-3d;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  max-height: 0;
  overflow-y: scroll;
}

.flexnav.flexnav-show {
	max-height: 2000px;
  -webkit-transition: all .5s ease-in-out;
  -moz-transition: all .5s ease-in-out;
  -ms-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

ul.flexnav {
	margin:0;
	padding:0;
	min-height:20px;
	max-height:400px;
}

.flexnav li {
  position: relative;
  overflow: hidden;
}

.flexnav li a {
	position: relative;
  display: block;
  padding: 0.5em 1em 0.5em 1em;
  z-index: 2;
  overflow: hidden;
  color: #ffffff;
  background: #8a6045;
  text-decoration:none;
}

.flexnav li ul {
	min-width:120%;
	padding:0;
}

.flexnav li ul li {
  overflow: hidden;
  border-bottom:1px solid grey;
}

.flexnav li ul li a {
  background: #c8a794;
  pointer-events: auto;
}

.flexnav ul li ul li a {
	background: #c9b8ae;
	pointer-events: auto;
}

.menu-button {
	position: relative;
  display: block;
  padding: 1em;
  background: #8a6045;
  color: #ffffff;
  cursor: pointer;
}

.flexnav li ul.flexnav-show li {
	overflow: visible;
}

.touch-button  {
	position: absolute;
	z-index: 999;
	top: 0;
	right: 0;
	width: 100%;
	height: 35px;
	display: inline-block;
	text-align: right;
	cursor: pointer;
}

.trennlinie {
	float:left;
	width:100%;
	height:5px;
	margin-top:5px;
	background-color:#b1ce74;	
}

#bannerbox {
	background-image: url('/img/template/banner_1280.png');
	height: 257px;
	margin-top: 100px;
	overflow: hidden;
	width: 100%;
}

#contentbox {
	width:100%;
	margin-bottom:60px;
	background-color:#f5f3f6;
}

#ueberschrift {
	text-align:center;
	margin:0;
	background-color:#f5f3f6;
	border-top:1px solid #40642b;
	border-bottom:1px solid #40642b;
}

.text {
	padding:30px;
}

#footerbox {
	width:100%;
	overflow: hidden;
	position: fixed;
	top: 95%;
	left: 0;
	z-index: 950;
	background-color: #f5f3f6;
	height:5%;
}

#artikel_datum {
	float:right;
	padding:5px;
}

#hotel_eintragen {
	background-image: url('/img/template/hotel_eintragen_collapsed.png');
	background-repeat:no-repeat;
	cursor:pointer;
	height:76px;
	left: 20;
	position: fixed;
	top: 0;
	transition: width 1s ease-out;
	transition: height 1s ease-out;
	width:66px;
	z-index: 901;
}
#hotel_eintragen:hover {
	background-image: url('/img/template/hotel_eintragen.png');
	height:350px;
	width:152px;
}
  
@media all and (max-width: 1280px) {
	.zentrierung {
		max-width: 1024px;
	}
	#bannerbox {
		background-image: url('/img/template/banner_1024.png');
		height:206px;
	}
}

@media all and (max-width: 800px) {
	header #logo {
		background-image: url('/img/template/banner-logo-small.png');	
		height:40px;
		width:100px;
	}
	#bannerbox {
		background-image: url('/img/template/banner_800.png');
		height:161px;
	}
}

@media all and (max-width: 480px) {
	header #logo {
		display:none;
	}
	#bannerbox {
		background-image: url('/img/template/banner_480.png');
		height:97px;
	}
	#footerbox {
		display:none;
	}
}

@media all and (min-width: 1280px) {
	header #logo {
		display:block;
	}
	.menu-button {
  	display: none;
  }
  nav {
  	float:right;
  	margin-top:3%;
  	padding:0;
  }
  ul.flexnav {
  	overflow-y: visible;
  }
	.flexnav {
		overflow: visible;
	}
	.flexnav li {
    float: left;
    display: block;
    overflow: visible;
    margin-right:5px;
  }
  .flexnav li > ul {
  	position: absolute;
  	top: auto;
    left: 0;
  }
  .flexnav li > ul li {
  	width: 100%;
  }
  .flexnav li ul li > ul {
  	margin-left: 100%;
  	top: 0;
  }
  .flexnav li ul.open {
  	display: block;
    visibility: visible;
    z-index: 1;
  }
  .flexnav li ul.open li {
  	overflow: visible;
  }
  .flexnav li ul.open ul.open {
  	margin-left: 100%;
    top: 0;
  }
}