/* reset */

body, p, h2, h3, h4, ul, #wrapper, #wrapper2, #header, #banner, #nav, #content-main, .mainfull, .main40, .main40links,
#lem, #ess, .main50links, .main50, #slideshow, #forum, .secondary60, #sidebar, #innerfooter{padding:0; margin:0;}

/* basic */
body {
	font-family: "Helvetica Neue", "Helvetica", "Arial" , sans-serif;
	font-size:100%;
	line-height: 1.3;
	max-width:1400px;
	min-width:700px;
	background:#FFFFFF url(http://www.defifee.com/images/footer_bild.jpg) no-repeat 80% 30px
}


h2, h3, h4{
	padding:2px;
	font-family:Georgia, Times, serif;
	font-weight:normal;
	font-style:italic;
	color:white;
}

h2{
	font-size:150%;
	line-height: 1.5;
	background:#333333;
}

h3{
	font-size:115%;
	line-height:1.3;
	margin-bottom:7%;
	background:#4F4F4F;
}

em{
	font-style:normal;
	font-weight:bold;
} 

a:active {
	position: relative;
	top: 1px;
}

a{
color: #333333;
}


h3 a{
color:white;
}

a img{
border:none;
}

ul{
     list-style: none;
}

/* header */

#header {
	width:100%;
	display:table;
	background: url(http://www.defifee.com/images/logo2.gif) no-repeat fixed 5px 81px;
}

.kontakt#header{
	display:block;
	min-height:200px;
}

#header h1{
	text-indent:-9999px;
	float:right;
	margin-top:-10%;
	background:grey;
}

#banner{
	float:left;
	padding-left:140px;
	width:30em;
	padding-bottom:4%;
}

#banner h2{
	display:inline;
	font-weight:normal;
	padding:0
	font-size:200%;
}

/* navigation */

#nav{
	background:rgb(255,255,255);
	background:rgba(255,255,255,0.8);
	display: inline; /* IE 6 fix doubled float margin bug */
	float: right;
	margin-left:20%;
	margin-right:10%;
	margin-bottom:5%;
	font-size:80%;
	letter-spacing:1px;
	list-style: none;
	position:relative;
}

#nav ul{
	position:relative;
}

#nav li {
	float: left;
	margin: 0;
	padding: 0;
	position:relative;
}

#nav a {
    position:relative;
	display: block;
	padding: .5em 10px;
	color: #333333;
	text-transform:uppercase;
	text-decoration: none;
}

#nav .sprache2 a{
	background:white;
	color:#990000;
	font-weight:bold;
	font-style:italic;
}

#nav .sprache2 a:hover{
	background:#990000;
	color:white;
	font-style:italic;
}

#nav .homeli:hover, #nav .homeli.active{
	background:#434343;
	color:white;
}

#nav .proli:hover, #nav .proli.active{
	background:#2F4193;
	color:white;
}

#nav .illuli:hover, #nav .illuli.active{
	background:#834073;
	color:white;
}

#nav .zeichli:hover, #nav .zeichli.active{
	background:#009692;
	color:white;
}

#nav .typoli:hover, #nav .typoli.active{
	background:#6D6C6A;
	color:white;
}

/* main */

#wrapper{
	float:left;
	position:relative;
}

#wrapper h1{
     text-indent:-9999px;
     float:right;
     margin-top:-2%;
}

.illustration{
	background:url(images/illu_logo.gif)no-repeat fixed 5px 81px;
	float:right;
}

.zeichnung{
	background:url(images/zeich_logo.gif)no-repeat fixed 5px 81px;
	float:right;
}

.zeichnungen{
	background:url(images/zeich_logo_en.gif)no-repeat fixed 5px 81px;
	float:right;
}

.typo{
	background:url(images/typo_logo.gif)no-repeat fixed 5px 81px;
	float:right;
}

.typoen{
	background:url(images/typo_logo_en.gif)no-repeat fixed 5px 81px;
	float:right;
}

.projekt{
	background:url(images/proj_logo.gif)no-repeat fixed 4.5px 81px;
	float:right;
}

.projekten{
	background:url(images/proj_logo_en.gif)no-repeat fixed 4.5px 81px;
	float:right;
}

#wrapper2{
	float:left;
	margin-left:140px;
	position:relative;
	display:inline;
	margin-top:4%;
}

#content-main.main30 {
	float: left;
	width: 30%;
	margin-right:2%;
}

.main40{
	clear:both;
	float: right;
	width: 40%;
	margin-left:2%;
	margin-right:1%;
	margin-bottom:3%;
	display:inline;
}

.main40 p{
	margin-bottom:.7em;
}


.main40links{
	clear:both;
	float: left;
	width: 40%;
	margin-right:1%;
	display:inline;
}


.main40links p{
	margin-bottom:.7em;
}


#lem{
	float:right;
	background: url(images/lem3.jpg) no-repeat top right;
}

#lem .main40{
	margin-top:10%;
	background:rgb(255,255,255);
	background:rgba(255,255,255,0.8);
}


.main40 h3{
	position:relative;
	right:145%;
	top:-10px;
	display:inline;
	padding:5px;
}

#ess{
	margin-top:-10%;
	margin-bottom:10%;
	padding-top:20%;
	float:left;
	background: url(images/ess3.jpg) no-repeat top right;
	width:100%;
	
}

#ess h3, #forum h3, #katz h3, #lem h3{
	display:inline;
	float:left;
 	margin-bottom:3%;
}

#ess .main40{
	background:rgb(255,255,255);
	background:rgba(255,255,255,0.8);
}


#forum{
	margin-bottom:10%;
	padding-top:10%;
	float:left;

	width:100%;
	background: url(images/piktscrib.jpg) no-repeat top left;
}

#katz{
	background: url(images/katzp.jpg) no-repeat top right;
	float:left;
	width:100%;
	position:relative;
}

.main50links{
	clear:both;
	//height:250px;
	width:100%;
}

.main50links p{
	width:40%;
	float:left;
}

#katz blockquote{
	width:20%;
}

#katz blockquote p{
	font-family: Corbel, "Lucida Sans Unicode", "Lucida Grade", "Bitstream Vera Sans", "Luxi Serif", Verdana, sans-serif;
	font-size:90%;
	display:block;
	font-weight:bold;
	width:100%;
	color:#43423A;
}

blockquote {
	width:40%;
	float:right;
	position:relative; 
	padding:3% 3%;
	margin: 10% 20% 0 0;
	text-align:center;
	color:#333; 
	background:#E7E2C8;
	
	-webkit-border-top-left-radius:240px 140px;
	-webkit-border-top-right-radius:240px 140px;
	-webkit-border-bottom-right-radius:240px 140px;
	-webkit-border-bottom-left-radius:240px 140px;
	-moz-border-radius:240px / 140px;
	border-radius:240px / 140px;
	-webkit-box-shadow:  -2px 2px 1px rgba(67, 66, 58, 0.4);
	-moz-box-shadow: -2px 2px 2px rgba(67, 66, 58, 0.4);
}

/* creates the larger circle */

blockquote:before {
	content:"\00a0"; 
	position:absolute; 
	z-index:10; 
	bottom:100%; 
	right:40px; 
	width:40px; 
	height:40px;
	background:#E7E2C8;
	-moz-border-radius:50px;
	-webkit-border-radius:50px;
	border-radius:50px;
	-webkit-box-shadow:  -2px 2px 1px rgba(67, 66, 58, 0.4);
	-moz-box-shadow: -2px 2px 2px rgba(67, 66, 58, 0.4);
}

/* creates the smaller circle */

blockquote:after {
	content:"\00a0"; 
	position:absolute; 
	z-index:10; 
	bottom:130%; 
	right:20px; 
	width:20px; 
	height:20px; 
	background:#E7E2C8;
	-moz-border-radius:25px;
	-webkit-border-radius:25px;
	border-radius:25px;
	-webkit-box-shadow:  -2px 2px 1px rgba(67, 66, 58, 0.4);
	-moz-box-shadow: -2px 2px 2px rgba(67, 66, 58, 0.4);
}

.projekt .main50{
	color:#43423A;
	font-family: Corbel, "Lucida Sans Unicode", "Lucida Grade", "Bitstream Vera Sans", "Luxi Serif", Verdana, sans-serif;
	float:left;
	font-size:85%;
	width:46%;
	margin-bottom:5%;
	background:#E7E2C8;
	padding:1% 1% 0 1%;
	margin-right:10px;
	-webkit-box-shadow:  -2px 2px 1px rgba(67, 66, 58, 0.4);
	-moz-box-shadow: -2px 2px 2px rgba(67, 66, 58, 0.4);
}


.kontakt .main50{
	float:left;
	padding:1% 1% 0 1%;
	width:46%;
}

.kontakt .main50 h3{
	display:inline;
}

.kontakt .main50 p{
	margin-top:3%;
}

.main50 img{
	width:70%;
	float:left;
	min-width:300px;
	padding: 0 3% 1% 0;
}

.img{
	margin-top:2%;
	float:left;
	width:100;
}

.projekt .main50 p:first-letter{
	font-size:200%;
	line-height:1em;
}

.secondary60{
	width: 56%;
	margin-bottom:9%;
}

.secondary60 img{
	float:left;
}

.secondary60 li{
	display: -moz-inline-box; /* for FF 2 */
	display: inline-block;
	padding: 0;
	vertical-align: top;
	margin:1% 2% 1% 0;
}

.secondary60 li img{
	border: 1px solid #BFBFBF;
	padding:2px;
}

.halfwide{
	width:40%;
	padding:1% 5% 1% 0;
}

.wide{
	width:90%;
	padding: 8% 7% 4% 0;
}

#content-secondary.secondary30 {
	float: left;
	width: 30%;
	margin-right:2%;
	overflow:hidden;
}

#content-secondary li{
	float:left;
	margin-bottom:20px;
	padding:0;
}

#content-secondary img {
	border:0;
	float:left;
	padding:0 4% 4% 0;
}

#content-secondary span {
	margin-top:4%;
}

#content-secondary a {
	float:left;
	border:0;
	padding:0 4% 4% 0;
}


#content-secondary  h3 a {
	background:inherit;
	color:white;
	padding:0;
	float:none;
	text-decoration:none;
}

#content-secondary  h3 a:hover {
	-moz-transform: none;
	-webkit-transform: none;
	transform:none;
}


#sidebar.sidebar30{
	float: left;
	width: 25%;
	//background:white;
}

#sidebar li{
	background:#FDF2C5;
	width:100%;
	float:left;
	margin:2% 0 2% 0;
 	border-bottom:2px solid #F3E8BE;
 	border-left:2px solid #F3E8BE;
	-moz-border-radius-bottomleft:20px; 
	-webkit-border-bottom-left-radius:10px;
}

#sidebar a img {
	border: 1px solid grey;
	float:right;
	padding:1% 1% 1% 1%;
	text-decoration:none;
}

#sidebar li a{
	border:none;
	text-decoration:none;
}

#sidebar li a span{
	display:block;
	padding:4%;
	color:#4F4F4F;
}


#sidebar h3 a{
text-decoration:none;
}

#content-secondary span {
	margin-top:4%;
}

#sidebar span h3 a {
color:white;
text-decoration:none;
}

#content-secondary span {
	margin-top:4%;
}

#content-secondary a {
	float:left;
}

#content-secondary a:hover {
	-moz-transform: rotate(4deg);
	-webkit-transform: rotate(4deg);
	transform: rotate(4deg);
}

#footer {
	background: url(images/footer_str.png) no-repeat 0 70%;
	clear: both;
	float:left;
	width:100%;
	color:grey;
}

#footer p{
background:white;
margin-bottom:10px;

}
#innerfooter {
	background: url(images/katz5.png) no-repeat top right ;
	//float:left;
	min-height:300px;
	height: auto !important;
   height: 300px;
}

#footer1, #footer2{
	float:left;
	width:25%;
	margin:10% 2% 0 2%;
}

#footer span{
float:left;
margin-right:50%;
margin-top:2%;
	font-size:90%;
}

#footer #footer1 span{
	background:white;
	font-size:90%;
float:none;
	
}

#footer span{
float:left;
}

#footer2 a {
margin-top:-10%;
    position:relative;
	display: inline;
	padding: .5em 10px;
	text-transform:uppercase;
	text-decoration: none;
background:white;
	color:#990000;

}


#remove{
display:none;
}
#footer2 a:hover{
	
background:#990000;
	color:white;
}

#footer #twitter img{
float:left;
padding-right:5px;
}


.polaroid{
	z-index:10;
	float:left;
	margin-top:5%;
	padding: 5px 5px 10px 5px;
	border: 1px solid #BFBFBF;
	background-color: white;
	-webkit-box-shadow: 2px 2px 3px rgba(135, 139, 144, 0.4);
	-moz-box-shadow: 2px 2px 3px rgba(135, 139, 144, 0.4);
	box-shadow: 2px 2px 3px rgba(135, 139, 144, 0.4);
	-webkit-transform: rotate(-5deg);
	-moz-transform: rotate(-5deg);
	transform: rotate(-5deg);
}

/* js-elemente */

#preview{
	position:absolute;
	border:1px solid #ccc;
	background:#333333;
	z-index:100;
	font-family:Georgia, Times, serif;
	text-align:right;
	font-style:italic;
	font-weight:normal;
	font-size:80%;
	padding:8px;
	color:#fff;
}


#ess #slideshow {
	position:relative;
	-webkit-transform: rotate(5deg);
	-moz-transform: rotate(5deg);
	transform: rotate(5deg);
	//height:340px;
}

#forum #slideshow2 {
	position:relative;
	//height:330px;
}


#slideshow IMG {
	clear:right;
	-webkit-box-shadow: 2px 2px 3px rgba(135, 139, 144, 0.4);
	-moz-box-shadow: -4px 4px 9px rgba(135, 139, 144, 0.4);
	position:absolute;
	top:0;
	left:47%;
	z-index:8;
}

#slideshow2 IMG {
	clear:right;
	-webkit-box-shadow: 2px 2px 3px rgba(135, 139, 144, 0.4);
	-moz-box-shadow: -4px 4px 9px rgba(135, 139, 144, 0.4);
	position:absolute;
	top:0;
	left:47%;
	z-index:8;
}


#slideshow IMG.active {
    z-index:10;
}

#slideshow IMG.last-active {
    z-index:9;
}


#slideshow2 IMG.active {
    z-index:10;
}

#slideshow2 IMG.last-active {
    z-index:9;
}

