/*
Stylename:		Apelerner Fenstertechnik
Description:	Designvorlage zur Einbindung in ein CMS (TYPO3)
Author:			Oliver Streit, ITS Streit
Date:			2008-02-26
*/

/* *********************************************** */
/* **           Aufbau der Seitenstruktur       ** */
/* *********************************************** */

body {
	margin: 0;
	padding: 0;
	background-color: #E0E0E3;
	text-align: center; /* Hack_1 f�r IE: Zentrierung des Page-DIV */
}

div {
	position: relative;
	margin: 0;
	/* border: 1px solid #000; /* Zum Test der Strukturierung, f�r Produktion entfernen !!! */
	padding: 0;
	overflow: visible;
}

#page {
	margin: 0 auto;
	border: 2px outset #ccc;
	width: 80em;
	height: auto;
	background-color: #5E96BF;
	text-align: left; /* Aufhebung Hack_1 */
}

#header {
	width: 100%;
	height: 105px;
	background: url('pics_root/banner_line_bg.png') bottom left repeat-x;
}

#header_title {
	float: left;
	width: 295px;
	height: 105px;
	background: url('pics_root/banner_left.png') bottom left no-repeat;
}

#header_logo {
	float: right;;
	width: 314px;
	height: 105px;
	background: url('pics_root/banner_right.png') bottom right no-repeat;
}

#root {
	clear: both;
	width: 100%;
	height: auto;
	background-color: #ccc; 
}

#wrapper {
	float: left;
	margin-bottom: 15px;
	width: 65em;
}

#content {
	float: right;
	padding-bottom: 15px;
	border-style: solid;
	border-width: 0 1px 1px 1px;
	border-color: #ccc;
	width: 50em;
	min-height: 50em;
	height: auto;
	background-color: #fff;
}

#border_left {
	float: left;
	width: 14em;
	min-height: 30em;
	height: auto;
}

#border_right {
	float: right;
	padding-left: 1em;
	width: 14em;
	min-height: 348px;
	height: auto;
}

#footer {
	clear: both;
	width: 100%;
	height: auto;
	background-color: #ffb400;
	text-align: center;
}

/* *********************************************** */
/* **           Definition Typographie          ** */
/* *********************************************** */

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 77%;
}

h1, h2, h3, p, a, form, input, textarea {
	margin: 0;
	padding: 0;
}

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

a:visited {
	color: #666666;
}

a:hover, a:focus {
	text-decoration: underline;
}

a.ext {
	padding-right: 20px;
	background: url('image.gif') center right no-repeat; /* Anpassen f�r "externer Link"-Icon */
}

input, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
}

/* Das <p> in der root-Navigation */
#root p {
	margin-left: 18.6em;
	font-size: 0.8em;
	font-weight: bold;
}

/* Content-Elemente */
#content h3 {
	margin: 10px;
	font-size: 1.2em;
	font-style: italic;
}

#content h4 {
	margin-left: 10px;
	font-size: 1.1em;
}

#content p {
	margin: 5px 10px;
}

#content dl {
	float: left;
	margin: 10px;
}

#content dt {
	line-height: 0;
}

#content dd {
	margin: 0;
	padding: 0;
	font-weight: bold;
	text-align: center;
}

/* Border-Elemente */
#border_right p {
	margin: 0 5px 10px 0;
	border: 3px double #ffb400;
	background-color: #fff;
}

/* *********************************************** */
/* **           Aufbau der Navigation           ** */
/* *********************************************** */

/* Die Schnellnavigation */
#shortnavi {
	position: absolute;
	margin-left: -4000px;
}

#shortnavi a:focus, #shortnavi a:active {
	display: block;
	position: absolute;
	top: 60px;
	left: 4015px;
	border: 1px double #ffb400;
	padding: 5px;
	width: 12em;
	height: auto;
	outline: none;
	background-color: #fff;
	font-weight: bold;
	color: #000;
}

/* Die Hauptnavigation */
ul#navigation {
	margin: 0 0 15px 0;
	border-top: 1px solid #fff;
	padding: 0;
	list-style-type: none;
}

ul#navigation li {
	border-bottom: 1px solid #fff;
}

ul#navigation li h2 {
	font-size: 1.2em;
}

ul#navigation li a {
	display: block;
	border-right: 15px solid #84b5d6;
	padding: 0.5em 1em;
	width: 8.7em;
	color: #fff;
}

ul#navigation li a:hover, ul#navigation li a:focus {
	border-right: 15px solid #ffb400;
	color: #ffb400;
	text-decoration: none;
}

ul#navigation li a.lev_2 {
	display: block;
	border-right: 15px solid #adc6d6;
	padding: 0.5em 1em;
	width: 8.7em;
	background-color: #88a8bf;
	color: #fff;
}

ul#navigation li a.lev_2:hover, ul#navigation li a.lev_2:focus {
	border-right: 14px solid #ffb400;
	color: #ffb400;
	text-decoration: none;
}

/* *********************************************** */
/* **    Formatierung der Bildelemente <img>    ** */
/* *********************************************** */

#content img {
	margin: 10px;
	border-top: 1px solid #dbdbdb;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
	border-left: 1px solid #dbdbdb;
}

#border_left img {
	margin-left: 1em;
}

#border_right img {
	display: block;
	margin: 0px auto;
	border: 1px solid #ccc;
}

#border_right img.no_border {
	border: none !important;
	padding: 5px 0;
}

a img {
	border: 0;
}

/* Ausrichtung der Bildelemente <img> */
img.left {
	float: left;
	margin: 0px 10px;
}

img.right {
	float: right;
	margin: 0px 10px;
}

img.middle {
	display: block;
	margin: 0px auto !important;
}

#footer img.right{
	float: right;
	padding: 0 3.2em;
}

/* *********************************************** */
/* **          Aufbau des Kontaktformulars      ** */
/* *********************************************** */

#content form {
	margin: 0.5em;
	width: 48.9em;
	line-height: 120%;
}

#content fieldset {
	margin-bottom: 1em;
	border: 1px solid #ffb400;
	padding: 0.5em;
}

#content legend {
	padding: 0 0.5em;
	color: #000;
	font-size: 110%;
	font-style: italic;
	font-weight: bold;
}

#content form p {
	clear: left;
	float: left;
	width: 90%;
}

#content label {
	float: left;
	padding-left: 0.5em;
	width: 8em;
}

#content input {
	display: block;
	float: left;
	width: 15em;
}

#content input:hover, #content textarea:hover {
	background-color: #ffdb2c !important;
	color: #000;
}

#content textarea {
	margin-bottom: 10px;
}

#content #mailformPLZ, #content #mailformNummer {
	width: 3em;
}

#content #mailformattachment1 {
	width: 25em;
}

#content #mailformformtype_mail {
	float: left;
	width: 14em;
	border: 2px outset #ffb400;
	background-color: #fff;
	font-weight: bold;
}

#content #mailformformtype_reset {
	float: right;
	width: 14em;
	border: 2px outset #ffb400;
	background-color: #fff;
	font-weight: bold;
}

#content #subject {
	display: none;
}

/* *********************************************** */
/* **           Aufbau sonstiger Elemente       ** */
/* *********************************************** */

/* Flash-Referenz */
#ref_flash {
	text-align: center;
}

#flash object {
	margin: 0px auto;
	padding: 0;
}

/* Cursor Layout */
acronym, abbr {
	cursor: help;
}

/* Trenner im Content */
#content hr {
	background-color: #ccc;
}

/* Blinde Elemente */
.blind {
	position: absolute;
	margin-left: -4000px;
}

/* Der Cleaner */
hr.cleaner {
	clear: both;
	visibility: hidden;
}
