* {
padding: 0;
margin: 0;
}

body {
	font: 12px Arial, Helvetica, sans-serif;
	color: #333;
	line-height: 1.8em;
	background: #B6C3B9 url(bg_main.gif) repeat-x top;
}

html, body {
	height: 100%;
}

span.hide {
	display: none;
}

acronym, abbr {
	font-style: italic;
	border: none;
	text-decoration: none;
}

em{
	font-weight: bold;
	font-style: normal;
}

th{
	vertical-align: top;
}

h1, h2, h3, p {
	margin: 0.5em 0;
}

h1, h2, h3 {
	font-family: Arial, Helvetica, sans-serif;
	margin: 0 0;
}

h1{
	font-size: 2em;
	color: #A02031;
	margin-bottom: 10px;
}

h2{
	font-size: 1.5em;
}

h3{
	font-size: 1.2em;
}

.clear {
	clear: both;
}

a, a:link{
	color: #333;
	text-decoration: underline;
}
a:visited{
	color: #333;
	text-decoration: underline;
}
a:hover{
	color: #A02031;
	text-decoration: underline;
}
a.img {
	border: 0 none;
}

a img {
	border: 0 none;
	text-decoration: none;
}

pre, code {
	display: block;
	width: auto;
	background-color: White;
	border: 1px solid #999;
	padding: 0.5em;
	margin: 1em 0;
	color: #666;
	font: 1.2em monospace;
}

/* AREAS */
#wrapper {
	margin: 0 auto 0 auto;
	width: 700px;
	height: auto !important;
	overflow: hidden !important;
	overflow: visible;
	min-height: 100%;
	height: 100%;
	background: White url(footer.gif) no-repeat bottom;
}
#top {
	width: 698px;
	border-left: 1px solid White;
	border-right: 1px solid White;
}
#logo {
	height: 66px;
	float: left;
}
#bar_h {
	clear: both;
	height: 112px; 
	background: url(header_subline.gif) no-repeat bottom;
	border-top: 1px solid #B6C3B9;
}
#mainarea{
	clear: both;
	padding: 5px 0px 5px 0px;
}
#sidebar {
	float: left;
	width: 220px;
	padding-top: 13px;
}
#content {
	float: right;
	width: 425px;
	padding: 10px 25px 15px 30px;
}
#footer {}

/* Main Nav */
ul#mainnav {
	float: right;
	list-style-type: none;
	padding-right: 20px;
}
ul#mainnav li {
	float: left;
	border-left: 1px solid White;
}
ul#mainnav li a {
	display: block;
	height: 66px;
}
ul#mainnav li a:hover, ul#mainnav li a.active {
	background-position: 0 -66px;
}
a#home {	width: 78px; background: url(bt_home.gif) no-repeat;}
a#company {	width: 100px; background: url(bt_kompetenzen.gif) no-repeat;}
a#services { width: 86px; background: url(bt_leistungen.gif) no-repeat;}
a#contact { width: 66px; background: url(bt_kontakt.gif) no-repeat;}
a#imprint {	width: 86px; background: url(bt_impressum.gif) no-repeat;}

/* Subnav */
#subnav {
	list-style-type: none;
}
#subnav a {
	padding-left: 25px;
	margin-left: 0px;
	line-height: 20px;
	padding-bottom: 10px;
	text-decoration: none;
}
#subnav a.active, #subnav a:hover {
	background: url(bl_nav.gif) no-repeat 0 0;
}

/* Content Styles */
#content img {
	float: right;
	margin: 0 0 10px 10px;
	clear: right;
	padding: 1px;
	border: 1px #F2F2F2 solid;
}
#content ul {
	list-style: none;
	padding: 0em 1em 1em 1em;
	color: #555;
}
#content ul li {
	padding-left: 20px; 
	background: url(bl_content.gif) no-repeat 0 6px;
}
/*****************Page debug*****************Good rule to know the structure of the webpage* NOTE: Only compliant browser no IE*

div[id]{
	border: 1px solid #000;
	background-color: #fff;
}

div[id]:before{
	content: "div#" attr(id);
	background-color: #cf9;
	color: #060;
	display: block;
}

/*****************End Page debug*****************/

/* Kontaktformular */

fieldset {border-color: #ccc;}

fieldset legend {margin: 0 0px 0 0px;}

fieldset label {
	display: block;
	width: 105px;
	float: left;
margin: 0 -5px 0 5px;
}

fieldset br {
	clear: left;
	margin-bottom: .5em;
	display: block;
}

fieldset input {
	background: e1e1e1;
	color: #777;
	font: 11px Arial, Helvetica, sans-serif;
}

input#plz {
	width: 50px;
}

textarea#mitteilung {
	margin-left: 105px;}

fieldset textarea {
	width: 290px;
	height: 80px;
	font: 11px Arial, Helvetica, sans-serif;
	color: #777;
}

fieldset hr {
	margin-bottom: 5px;
}


/* Fehlermeldungen */

div.formerror {
	color: #ed1c24;
	border:  1px solid #ed1c24;
	padding: .5em; 	
}

div.formerror h3, div.formerror a {
	color: #ed1c24 ! important;
}

div.formerror ul {
	list-style: circle;
}

div.formerror ul li {
	margin-left: 1.5em;
}