html {
	height: 100%;
	width:100%;
	margin: 0;
	padding: 0;
	background-color: #F5F5DC;
}
body {
	font-family: arial;
	color: #1A1A1A;
	font-family: Calibri;
	margin: 0;
	width:100%;
	position: absolute;
	top:0;
}
div#header {
	max-width: 1700px;
	min-width: 320px;
	min-height: 85px;
	position: sticky;
	top: 0;
	z-index:1;
}
	div#logoband {
		background-color: #3F3F3F;
		height:85px;
		padding-left: 15px;
		border-left: 5px solid silver;
	}
		#logo {
			float: left;
			height: 70px;
			margin-top: 7px;
		}
		div#navprime {
			height: 85px;
			float:left;
			display: none;
		}
			div.navprimeelem {
				float: left;
				margin-left: 34px;
				line-height: 85px;
				letter-spacing: 2px;
				font-size: 22px;
				margin-right: 20px;
			}
			a.navprimeelem:link, a.navprimeelem:visited {
				color: silver;
			}
			a.navprimeelem:hover, a.navprimeelem:focus, a.navprimeelem:active {
				color: white;
			}
		div.socialhead {
			float:right;
			line-height: 85px;
			height: 85px;
			margin-right: 15px;
			display: none;
		}
			div#headaddress {
				line-height: 32px;
				width: 225px;
				float: right;
				margin-top: 10px;
				text-align: right;
				font-size: 16px;
				color: grey;
				padding-right: 5px;
				display: none;
			}
			#socialiconbox {
				float:right;
			}
			img.socialhead {
				width: 64px;
				height: 64px;
				margin-top: 10px;
				opacity: 0.8;
			}
		div#mmenu {
			float: right;
			width: 85px;
			height: 85px;
			line-height: 85px;
			display: inline-block;
			cursor: pointer;
		}
			.bar1, .bar2, .bar3 {
				width: 40px;
				height: 5px;
				background-color: silver;
				margin: 0 auto;
				margin-top: 6px;
				transition: 0.4s;
			}
				.bar1 {
					margin-top: 29px;
				}
				.change .bar1 {
				    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
				    transform: rotate(-45deg) translate(-9px, 6px);
				}

				.change .bar2 {opacity: 0;}

				.change .bar3 {
				    -webkit-transform: rotate(45deg) translate(-8px, -8px);
				    transform: rotate(45deg) translate(-8px, -8px);
				}
	div#mnav {
		background-color: #3F3F3F;
		padding-bottom: 2px;
		height:0;
		transition: 0.3s;
		overflow: hidden;
	}
	div#mnav.change {
		height: 150px;
	}
		div.mnavelem {
			text-indent: 20px;
			padding-top: 4px;
			border-left: 5px solid gray;
		}
		a.mnavelem {
			text-decoration: none;
			font-size: 28px;
			line-height: 45px;
		}
		a.mnavelem:link, a.mnavelem:visited {
			color: silver;
		}
		a.mnavelem:hover, a.mnavelem:focus, a.mnavelem:active {
			color: #F5F5DC;
		}
footer {
	width: 100%;
	background-color: #3F3F3F;
	color: #F5F5DC;
}
	div#footinner {
		margin-left: 20px;
		padding-top: 20px;
		padding-bottom: 20px;
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		justify-content: space-around;
	}
		.foot {
			color: silver;
			text-align: center
		}


div#main {
	width: 100%;
	max-width: 1700px;
	min-width: 320px;
	
	border-radius: 1px;
	font-size:17px;
	margin: 0 auto;
	margin-bottom: 50px;

	display: flex;
	flex-direction: Row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
}
.ueberschrift {
	letter-spacing: 3px;
	color: #3F3F3F;
	font-size:34px;
}
a.textlink:visited {
	color: blue;
}

/*Startseite*/
span#Tradition2 {
	font-weight: lighter;
}
#mbgpic {
	width: 100%;
}
#startbildbox {
	flex-basis: 100%;
}
#startcontent {
	flex-basis: 90%;
}
.slidebild {
	width: 120%;
}
/*Weineseite*/
a.aclink {
	flex-basis: 90%;
	background-color: #3F3F3F;
	font-size: 24px;
	color: #F5F5DC;
	margin-bottom: 5px;
	margin-top: 5px;
	height: 40px;
	line-height: 40px;
	text-decoration: none;
	text-align: center;
	width: 90%;
}
/*Impressum*/
div#Datenschutzbox {
	width: 90%;
	overflow: hidden;
}
#upperaclink {
	margin-top: 155px;
}
#plfenster {
	width: 100%;
	height: 700px;
}
.weinkarte {
	width: 90%;
	max-width: 1500px;
	min-width: 900px;
	margin-top: 5px;
	margin-bottom: 5px;
}
/*Kontakt*/
.contactform {
	line-height: 25px;
	display: block;
}
.contactinput {
	width: 144px;
	padding: 2px;
	height: 19px;
}
#contactdrop {
	width: 150px;
	height: 25px;
}
#msgbox {
	width: 400px;
	height: 200px;
	position: absolute;
	bottom: 20px;
	right: 20px;
	background-color: silver;
}
/* Responsive Stuff */
@media only screen and (min-width: 1200px){
	div#headaddress {
		display: block;
	}
	.slidebild {
			width: 100%;
	}		
}
@media only screen and (min-width: 1000px) {
	div.socialhead {
		display: block;
	}
	div#navprime {
		display: block;
	}
	div#mmenu {
		display: none;
	}
	div#mnav {
		display: none;
	}
	div#header {
		margin: 0 auto;
		width: 92%;
		position: static;
		margin-top: 25px;
	}
	div#logoband {
		border-top-left-radius: 1px;
		border-bottom-left-radius: 1px;
		padding-left: 30px;
	}
	img#logo {
		height: 87px;
		margin-top: 0;
	}
	div#logobox {
		position: relative;
		top: -5px;
	}
	div#main {
		margin-left: 15px;
		width:90%;
		padding: 5px;
		margin: 0 auto;
		margin-bottom: 110px;
		margin-top:25px;
	}
	div#footinner {
		flex-direction: Row;
		justify-content: center;
	}
	.foot {
		margin-left:10px;
		margin-right: 10px;
	}

	/* Startseite */
	div#startbildbox {
		flex-basis: 50%;
	}
	div#startcontent {
		border-left: 1px solid silver;
		border-bottom: 1px solid silver;
		border-bottom-left-radius: 5px;
		padding-left: 10px;
		background-color: rgba(245,245,220,0.75);
		flex-basis:45%;
	}
	
	/*Weineseite*/
	a.aclink {
		flex-basis: 400px;
	}
	#upperaclink {
		margin-top:5px;
	}

	/*Impressum*/
	div#Impressumbox {
		text-align: center;
	}
}

/*Slideshow*/

/* Slideshow container */
.slideshow-container {
  width:100%;
  position: relative;
  margin: auto;
  overflow-x:hidden;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding-top: 8px;
  padding-bottom: 8px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}