*, html, body, header, nav, ul, li, main, aside, article, blockquote, p, div, section, footer, a {
    margin: 0;
    padding: 0;
	-webkit-box-sizing:  border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	font-family: 'Ubuntu Condensed', sans-serif;
}

body {
	font-size: 18px;
	background-image: url(../bilder/design/bg.jpg);
	background-position: top left;
	background-repeat: repeat;
}

a:hover, article a.imglink:hover ~ h2, article a.imglink ~ h2 {
    -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

	
	
aside section:nth-child(2), article, #articleloader, h1 {
	-webkit-box-shadow: 5px 5px 20px -5px rgba(0,0,0,0.8);
	-moz-box-shadow: 5px 5px 20px -5px rgba(0,0,0,0.8);
	box-shadow: 5px 5px 20px -5px rgba(0,0,0,0.8);
}

header {
	-webkit-box-shadow: 5px 5px 20px 0px rgba(0,0,0,0.8);
	-moz-box-shadow: 5px 5px 20px 0px rgba(0,0,0,0.8);
	box-shadow: 5px 5px 20px 0px rgba(0,0,0,0.8);
}

article img { 
	width: 100%;
	border-bottom: 1px solid #000;
}

article .img2 { 
	float: left;
	width: 50%;
	border-bottom: 1px solid #000;
}

article {
	float: left;
	width: calc(100% - 40px);
	height: auto;
	margin: 20px;
	border: 5px solid #000;
	background-color: #FFF;
	overflow: hidden;
}

article p {
	padding: 5px;
}

blockquote {
	padding: 5px 5px 5px 35px;
}

blockquote::before{
	content: "\201C";
	font-family: Georgia, serif;
	font-size: 50px;
	font-weight: bold;
	margin-left: -30px;
	
}

#articleloader, h1 {
	float: left;
	width: calc(100% - 40px);
	text-align: center;
	margin: 20px;
	padding: 10px;
	border: 5px solid #000;
	background-color: #FFF;
	font-size: 24px;
	font-weight: bold;
}

h2 {
	font-size: 24px;
	font-weight: bold;
}

#articleloader:hover {
	background-color: #999;
}

a {
	text-decoration: none;
	color: #000;
}

a:hover {
	background-color: #CCC;
}

footer, #closer {
	float: left;
	width: 100%;
}

#closer {
	border: 5px solid #000;
	background-color: #FFF;
	padding: 10px;
	margin-top: 10px;
	text-align: center;
}

ul {
	list-style-type: none;
}

nav>ul>li>a {
	float: left;
	width: 25%;
	max-width: 260px;
	height: 40px;
	text-align: center;
	padding-top: 5px;
	font-size: 24px;
	font-weight: bold;
	background-color: #FFF;
	color: #000;
}

nav>ul>li>a:hover {
	background-color: #000;
	color: #FFF;
}

nav>ul>li>ul {
	display: none;
	z-index: 3;
	width: 260px;
	background-color: #F00;
	position: fixed;
	top: 45px;
}

nav>ul>li>ul>li>a {
	float: left;
	width: 100%;
	height: 40px;
	text-align: left;
	padding: 5px;
	font-size: 24px;
	font-weight: bold;
	background-color: #FFF;
	color: #000;
}

@media only screen and (max-width: 800px) {
	nav>ul>li>ul {
		width: 100%;
		border-bottom: 5px solid #000;
	}
	nav>ul>li>ul>li>a {
		text-align: center;
	}
}
@media only screen and (max-width: 1300px) {
	nav>ul>li>ul {
		right: 0px;
		border-bottom: 5px solid #000;
		border-left: 5px solid #000;
		border-right: 5px solid #000;
	}
}

@media only screen and (min-width: 1300px) {
	nav>ul>li>ul {
		left: 1060px;
		border-bottom: 5px solid #000;
		border-left: 5px solid #000;
		border-right: 5px solid #000;
	}
}

nav>ul>li>a:hover + #more, nav>ul>li>ul>li>a:hover + #more, #more:hover {
	display: block;
}

.form {
	padding-top: 30px;
}

form {
	padding: 5px;
}

#grid {
	padding-top: 100px;	
}
	

@media only screen and (max-width: 800px) {
	aside { display: none; }
	
	header {
		position: fixed;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 50px;
		background-color: #fff;
		border: 5px solid #000;
		z-index: 2;
	}
	
	#wrapper {
		padding-top: 50px;	
	}
}


@media only screen and (min-width: 800px) {

	aside {
		position: fixed;
		top: 0px;
		left: 0px;
		bottom: 0px;
		width: 275px;
		z-index: 1;
	}
	
	aside img {
		float: left;
		width: 70px;
		border: 1px solid #000;
	}
	
	aside a:hover img {
		filter: none;
  		-moz-filter: grayscale(100%);
		-webkit-filter: grayscale(100%);
	}
	
	aside a:nth-child(2n-1) {
		background-color: #FFF;
	}
	
	aside a:nth-child(2n) {
		background-color: #CCC;
	}
	
	aside h3, aside p {
		float: right;
		width: 170px;
		font-size: 16px;
	}
	
	article h2 {
		position: absolute;
		top: 0px;
		padding-left: 5px;
		background: rgba(255,255,255,0.6);
	}
	
	aside a {
		float: left;
		padding: 5px;
		width: 100%;
		border-bottom: 1px solid #000;
	}
	
	aside a:last-child {
		border-bottom: none;
	}
	
	aside a:hover {
		background-color: #999;
	}
	
	aside section {
		float: left;
		width: 100%;
		height: 50px;
	}
	
	aside div {
		display: none;
	}
	
	aside section:nth-child(2) {
		float: left;
		height: 100%;
		overflow-y: scroll;
	}
	
	aside section:last-child h2 {
		display: none;
	}
	
	header {
		position: fixed;
		top: 0px;
		left: 275px;
		width: calc(100% - 275px);
		height: 50px;
		background-color: #fff;
		border: 5px solid #000;
		z-index: 2;
	}
	
	#wrapper {
		position: fixed;
		top: 50px;
		left: 275px;
		bottom: 0px;
		width: calc(100% - 275px);
		overflow-y: scroll;
	}
	
	article a.imglink:hover ~ h2 { 
		margin-top: -100px;
		filter: Alpha(opacity=10);
		opacity: 0.1;
		-o-opacity: 0.1;
		-moz-opacity: 0.1;
		-webkit-opacity: 0.1;
	}
	
	article {
		float: left;
		height: auto;
		margin: 20px;
		border: 5px solid #000;
		background-color: #FFF;
		overflow: hidden;
	}
}

@media only screen and (min-width: 1000px) {
	article {
		width: calc(50% - 40px);
	}
}

@media only screen and (min-width: 1400px) {
	article {
		width: calc(33.33% - 40px);
	}
}

@media only screen and (min-width: 2200px) {
	article {
		width: calc(25% - 40px);
	}
}

input, label {
	float: left;
}

input[type="radio"] {
	float: none;
	margin-right: 10px;
}

label {
	width: 100%;
}

input[type="text"], input[type="email"], textarea {
	width: 100%;
	margin-bottom: 5px;
	padding: 10px 40px 10px 10px;
}

textarea { 
	resize: vertical;
}

[title~=starten] {
	float: left;
    width: 50%;
}

[title$="setzen"] {
	float: left;
    width: 50%;
}

[class*="tton"] {
    padding: 10px;
	margin-bottom: 10px;
}


.contact_form input:focus:invalid, .contact_form textarea:focus:invalid {
    background: #fff url(../bilder/design/invalid.png) no-repeat 98% center;
    box-shadow: 0 0 5px #d45252;
    border-color: #b03535
}

.contact_form input:required:valid, .contact_form textarea:required:valid {
    background: #fff url(../bilder/design/valid.png) no-repeat 98% center;
    box-shadow: 0 0 5px #5cd053;
    border-color: #28921f;
}

.contact_form input:focus + .form_hint { display: inline; }
.contact_form input:required:valid + .form_hint { background: #28921f; } /* change form hint color when valid */
.contact_form input:required:valid + .form_hint::before { color:#28921f; } /* change form hint arrow color when valid */
