/* ---- SCHRIFTEN EINBINDEN ---- */
@font-face {
    font-family: 'melbournelight';
    src: url('fonts/melbourne_light-webfont.eot');
    src: url('fonts/melbourne_light-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/melbourne_light-webfont.woff') format('woff'),
         url('fonts/melbourne_light-webfont.ttf') format('truetype'),
         url('fonts/melbourne_light-webfont.svg#melbournelight') format('svg');
    font-weight: normal;
    font-style: normal;
}



/* ---- ALLGEMEINES ---- */

html, body {
	height: 100%;
	margin: 0em;
	background-color: white;
	font-family: sans-serif;
	font-size: medium;
	color: black;
}

#main {
	position: relative;
	min-height: 100%;
	text-align: center;
}



/* ---- HEADER ---- */

#header-wrap {
	background-image: url(images/straehne_oben.jpg);
	background-repeat: no-repeat;
	background-position: top left;
}

#header {
	width: 80%;
	max-width: 64em;
	margin: auto;
	text-align: right;
}

#logo {
	padding: 2.5em 2.5em 1.625em 2.5em;
}

#logo img {
	width: 18.75em;
}



/* ---- NAVIGATION ---- */
#navigation {
	margin: 0em;
	padding: 0em 2.5em 1em 1em;
	list-style-type: none;
}

#navigation li {
	display: inline-block;
	margin-left: 2em;
}

#navigation a {
	color: #7b6943;
	font-size: x-large;
	font-weight: normal;
	text-decoration: none;
}



/* ---- CONTENT ---- */
#content-wrap {
	width: 80%;
	max-width: 64em;
	margin: auto;
	padding-bottom: 6.5em;
}

#content {
	text-align: left;
}

h1 {
	font-family: melbournelight;
	font-size: xx-large;
	font-weight: normal !important;
	text-transform: uppercase;
}

a {
	color: #7b6943;
	text-decoration: none;
}

a:hover, a:focus {
	text-decoration: underline;
}

.clear {
	clear: both;
}

/* ---- SLIDESHOW ---- */

#slideshow {
	float: right;
	position: relative;
	width: 22em;
	padding: 0em;
	margin: 0em 2.5em 1em 1em;
	list-style: none;
	overflow: hidden;
}

#slideshow li {
	position: absolute;
	-webkit-backface-visibility: hidden;
	display: none;
	width: 100%;
	left: 0;
	top: 0;
}

#slideshow li:first-child {
	position: relative;
	display: block;
	float: left;
}

#slideshow img {
	display: block;
	height: auto;
	float: left;
	width: 100%;
	border: none;
}


/* ---- FOOTER ---- */

#footer-wrap {
	position: absolute;
	width: 100%;
	min-height: 6.5em;
	bottom: 0em;
	background-image: url(images/straehne_unten.jpg);
	background-repeat: no-repeat;
	background-position: bottom right;
	background-size: contain;
}

#footer {
	width: 80%;
	max-width: 64em;
	margin: auto;
	padding-top: 4em;
	text-align: left;
}

#footer span {
	white-space: nowrap;
}

#footer a {
	color: #7a6942;
	text-decoration: none;
}



/* ---- MEDIA QUERIES ---- */

@media screen and (max-width: 50em) {
	
	#header, #content-wrap, #footer {
		width: 90%;
	}
	
	#logo {
		padding: 1em 0em;
	}

	#navigation {
		padding: 1em 0em;
	}
	
	#navigation a {
		/*font-size: large;*/
	}
	
	#slideshow {
		width: 16em;
		margin-right: 0em;
	}
}

@media screen and (max-width: 38em) {
	
	#header-wrap {
		background-size: 60%;
	}
		
	#logo img {
		width: 10em;
	}
	
	#navigation li {
		display: block;
		margin: 0em;
		padding: 0em;
	}
	
	#slideshow {
		float: none;
		width: 100%;
		margin: 0em;
	}
	
	#footer-wrap {
		background-size: 60%;
	}
}