html, body, footer, p {
	padding: 0;
	margin: 0;
}
a {
	text-decoration: none;
	color: #fff;
}
ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
img {
	max-width: 100%;
}
html {
	font-family: 'Noto Sans', sans-serif;
	background-image: url(images/htmlbg1.jpg);
	height: 100%;
}
body {
	position: relative;
	width: 1000px;
	margin: 0 auto;
	min-height: 100%;
	background-color: #000;
	box-shadow: 0 0 15px #000;
}
header {
	position: relative;
	background-image: url(images/headerbg.jpg);
}
.header-name {
	position: relative;
	margin: 2% 0 .1% 32%;
	width: 57.4%;
}
#logo-large {
	position: absolute;
	top: -137px;
	display: block;
	height: 321px;
	width: 32.1%;
	background-image: url(images/logo-nav.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	z-index: 1;
}
nav {
	position: relative;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 36px;
	background-color: #000;
	background-image: url(images/navbg.jpg);
	background-repeat: repeat-x;
}
nav ul {
	list-style-type: none;
	margin: 0 0 0 30%;
}
nav li {
	display: inline;
}
nav a {
	padding: 0 6%;
	font-weight: bold;
	font-size: 25px;
	text-shadow: -1px -1px #444;
	line-height: 35px;
}
nav li:last-child a{
	padding-right: 0;
}
#container {
	position: relative;
	z-index: 0;
}
.selected {
	display: none;
	position: relative;
	top: 0;
	width: 70%;
	min-height: 100%;
	padding-left: 28%;
	padding-right: 2%;
	background-color: #000;
	vertical-align: middle;
	text-align: right;
	color: #fff;
	z-index: 0;
}



#slideshow {
    position:relative;
    height:528px;
    z-index: 0;
}

#slideshow img {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
}

#slideshow img.active {
    z-index:10;
}

#slideshow img.last-active {
    z-index:9;
}




#transition {
	position: absolute;
	bottom: 0;
	height: 167px;
	width: 100%;
	background-image: url(images/footerbg.png);
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: 100%;

}
footer {
	position: relative;
	color: #fff;
	background-color: #000;
	padding-bottom: 50px;
	z-index: 2;
}
footer p {
	width: 30%;
	padding-left: 5%;
	font-size: 18px;
}
a.mail {
	position: absolute;
	display: block;
	width: 193px;
	height: 46px;
	top: 12px;
	left: 48%;
	background-image: url(images/button-contact.png);
	background-repeat: no-repeat;
	background-position: top;
}
a.mail:hover {
	background-position: bottom;

}
.logo-small {
	max-width: 100%;
	position: absolute;
	right: 4%;
	top: -18px;
	width: 107px;
	height: 107px;
	background-image: url(images/logo-footer.png);
}


/*  --- RESPONSIVE DESIGN ---   */


@media (max-width: 1000px) {
	body {
		width: 100%;
	}
	nav a {
		font-size: 22px;
	}
}
@media (max-width: 800px) {
	nav a {
		font-size: 16px;
	}
}
@media (max-width: 650px) {
	footer p{
		display: block;
	}
	a.mail {
		position: relative;
		left: 5%;
	}
	.logo-small {
		display: none;
	}
	footer p {
		width: 100%;
	}
}
@media (max-width: 600px) {
	nav a {
		font-size: 13px;
	}
}
@media (max-width: 500px) {
	nav a {
		font-size: 11px;
	}
	.selected {
		width: 95%;
		padding-left: 3%;
	}
}
@media (max-width: 400px) {
	nav a {
		font-size: 8.5px;
	}
}
@media (max-width: 320px) {
	.header-name {
		width: 80%;
		margin: 2% 10% .1% 10%;
	}
	nav a {
		padding: 0 3%;
		font-size: 10px;
	}
}
@media (max-width: 300px) {
	nav a {
		font-size: 7px;
	}
}