*{
	margin:0;
	padding:0;
}

html {  /*verhindert, dass das Layout "springt"*/
	height: 100%;
	margin-bottom: 1px;
	overflow-x:scroll;
	overflow-y:scroll;
}

#aussen {
	position: relative;
 	width: 1090px;
	min-width: 560px;
 	margin-left: auto;
	margin-right: auto;
	margin-top: 0px;
}

#oben {
	position: absolute;
	top: 0px;
	left: 0px;
	width:100%;
	height: 95px;
}

#links {
	position: absolute;
	top: 95px;
	left: 0px;
	min-height: 0px;
 	width: 177px;
	margin: 0;
	padding: 0;
}

#inhalt {
	position: absolute;
	top: 95px;
	left: 177px;
	min-height: 560px;
	width: 736px;
	margin: 0;
	padding: 0;
	margin-bottom: 50px;
}

#rechts {
	position: absolute;
	top: 95px;
	left: 913px;
	min-height: 560px;
 	width: 177px;
	margin: 0;
	padding: 0;
}

#projectlinks {
	position: absolute;
	top: 95px;
	left: 0px;
	min-height: 0px;
 	width: 184px;
	margin: 0;
	padding: 0;
}

#projectinhalt {
	position: absolute;
	top: 95px;
	left: 184px;
	min-height: 560px;
	width: 722px;
	margin: 0;
	padding: 0 0 50px 0;
	}

#projectrechts {
	position: absolute;
	top: 95px;
	left: 906px;
	min-height: 560px;
 	width: 0px;
	margin: 0;
	padding: 0;
	z-index: 3;
}

#qtip-container {
	position: fixed;
 	width: 0px;
	height: 0px;
	padding: 0;
	margin: 7px 0 0 0;
	z-index: 4;
}

#gallery ul {
	list-style: none; 
	padding: 0; 
	margin: 0; 
	width: 736px; 
	position: relative; 
	float: left;
}

#gallery ul li {
	display: inline; 
	width: 170px; 
	height: 170px; 
	float: left; 
	margin: 7px 7px 7px 7px;
}

#gallery ul li a img {
	display: block; 
	width: 170px; 
	height: 170px; 
	border: 0;
}

.cat {
	position: absolute; 
	z-index: 2;
}

div.cat div.text {
	position: absolute; 
	width: 140px; 
	height: 140px; 
	left: 0; 
	top: 0; 
	z-index: 3; 
	display: block; 
	background: url(../images/thumbnails/333333.png); 
	font-family: 'PT Sans', helvetica, arial, sans-serif; 
	font-weight: normal; 
	font-style: normal; 
	color: #ffffff;
	letter-spacing: 0em; 
	font-size: 12px; 
	padding: 15px;
}

div.cat a.image {
	position: absolute; 
	width: 170px; 
	height: 170px; 
	left: 0; 
	top: 0; 
	z-index: 4; 
	display: none;
}

#projectgallery ul {
	list-style: none; 
	padding: 0; 
	margin: 0; 
	width: 722px; 
	position: relative; 
	float: left; 
	margin: 0;
}

#projectgallery ul li {
	display: block; 
	float: left; 
	margin: 7px 0px 7px 0px;
}

#projectgallery ul li img {
	display: block; 
	border: 0;
}

.name {
	margin-left: 14px;
}

.headermenu { 
	margin-left: 184px; 
	margin-right: 184px;
}

.headermenu .fadeMenu, .about, .contact, .name, .trenner {
	margin-top: 60px; 
	height: 20px; 
	display: block; 
	float: left; 
	font-family: 'PT Sans', helvetica, arial, sans-serif; 
	font-weight: bold; 
	font-style: normal; 
	text-transform: uppercase; 
	color: #333333; 
	letter-spacing: 0.1em; 
	font-size: 12px; 
	cursor: pointer;
}

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

a:hover {
	color: #898989;
	text-decoration: none;	
}

div.headermenu div.selected, div.selected  a {
    color: #898989;
}

div.headermenu div.selected-color, div.selected-color a, div.name div.selected-color {
    color: #898989 !important;
}

#contact-imprint {
	font-family: 'PT Sans', helvetica, arial, sans-serif; 
	font-weight: normal; 
	font-style: normal; 
	color: #333333;
	letter-spacing: 0em; 
	font-size: 12px;
}

h1{
	font-family: 'PT Sans', helvetica, arial, sans-serif; 
	font-weight: bold; 
	font-style: normal; 
	text-transform: uppercase; 
	color: #333333; 
	letter-spacing: 0em; 
	font-size: 12px;	
}

h2{
	font-family: 'PT Sans', helvetica, arial, sans-serif; 
	font-weight: bold; 
	font-style: normal; 
	color: #333333;
	letter-spacing: 0em; 
	font-size: 12px;		
}

h3{
	font-family: 'PT Sans', helvetica, arial, sans-serif; 
	font-weight: normal; 
	font-style: normal; 
	color: #333333;
	letter-spacing: 0em; 
	font-size: 12px;		
}


text1{
	font-family: 'PT Sans', helvetica, arial, sans-serif; 
	font-weight: bold; 
	font-style: normal; 
	color: #333333;
	letter-spacing: 0em; 
	font-size: 12px;
			
}

/*formular*/
fieldset {
	border:0 none transparent;
	margin-left:0;
	padding-left:0;
}

label.formleft {
	float: left;
	text-align:left;
	width: 10em;
	position:relative;
}

input.formright {
	float: left;
	width: auto;
	clear: both;
	margin-left: 0;
	background:#333333;
}

input, textarea {
	font-family: 'PT Sans', helvetica, arial, sans-serif; 
	font-weight: normal; 
	font-style: normal; 
	color: #ffffff; 
	letter-spacing: 0em; 
	font-size: 12px; 
	line-height:1.25;
	border:1px solid #333333;
	background:#333333; 
	margin: 0.5em 0em 1em 0em; 
	padding:0.3em 0.5em 0.3em 0.5em;
}

input[type=submit], input[type=submit]:focus{
	margin-left:0em;
	background:#333333;
	color:#fff;
	border:1px solid #333333;
	padding:0.3em 0.8em 0.3em 0.8em;
}

input[type=submit]:focus{
	background:#333333;
}

input:focus, textarea:focus {
	background:#333333;
	border:1px solid #000;
}

form p{
	clear:both;
}

form {
	line-height:120%;
}

/*für die generierten Fehlermeldungen*/
label.error{
	position: absolute;
	margin-top: 0.3em; 
	margin-left: 1em;
	color: #333333;
}
/*formular ende*/

.spoiler {
	width: 538px;
}

@media screen and (min-width:320px) and (max-width:800px) {
	
#aussen {
	max-width:100%;
	min-width: 320px;
	}
	
#oben {
	top: 5px;
	left: 5px;
}

.headermenu{ 
	width: 100%;
	margin-left: 0px;
		}

.headermenu .fadeMenu, .name, .trenner {
	list-style: none;
	margin: 1px;
	color:#333333;
	padding-top: 5px;
}

.name a, #contact a, #about a  {
	color: #333;
	text-decoration: none;
	}

.name {
	width:95%;
}

#inhalt {
	top: 70px;
  	left: 0px;
	width: 100%;
	margin-bottom: 10px;
}

#gallery ul {
	width: 100%; 
}

#rechts {
	display:none;
}

#links {
	display:none;
}

#projectinhalt {
	top: 70px;
  	left: 6px;
	width: 97%;
	}
	
#projectgallery ul {
	width: 100%; 
}
	
#projectgallery ul img{
	max-width: 100%;
 	height: auto;
}


#contact-imprint {
	-webkit-text-size-adjust: none;
}
}

@media screen and (min-width:320px) and (max-width:370px) {

#gallery ul li {
	width: 165px; 
	height: 165px; 
}
}