/* general layout stuff first */
/* http://www.themaninblue.com/experiment/footerStickAlt/ */
html {
	height: 100%;
}

body {
	height: 100%;
}

#main {
	position: relative;
	min-height: 100%;
	height: 100%;
}

* html #main {
	height: 100%;
}

#pagefooter {
	position: relative;
	margin-top: -2.7em;
}

/*
#
## now our customization
#
*/
body {
	margin: 0;
	padding: 0;

	background-color: #ffffff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #e9e9e9;

	font-size: 100%;
}

#pagehead {
	float: left;
	height: 12%;
	width: 100%;
	padding-bottom: 2%;
	background-color: #96abc6;
}

#pageheadinner {
	float: left;
	height: 80%;
	width: 80%;
	background-color: #2F4054;
	font-size: 75%;
}

#companyname {
	float: left;
	width: 36%;
	height: 100%;
	margin-left: 10px;
	padding-left: 10px;
	border-left: 1px dotted #ffffff;
}

#companyname p {
	position:relative;
	bottom: -44%;
	margin: 0;
	font-size: 200%;
	font-weight: 600;
}

.pageheadbox {
	float: right;
	width: 13%;
	height: 100%;
	padding: 0 0.5em 0 0.5em;
}

.pageheadbox a {
	position:relative;
	bottom: -40%;
	margin: 0;
	color: #ffffff;
	text-decoration: underline;
}


#teaser {
	float: left;
	width: 100%;

	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;

	background-color: #4B5D73;
}

#teaserimage {
	float: left;
	margin-right: 5%;
}

#teasertext {
	vertical-align: top;
}

#teasertext p {
	font-size: 140%;
	line-height: 1.6em;

	margin: 0.5em 0.2em 0 2em;
}

#spacer {
	width: 100%;
	background-color: #96abc6;
	font-size: 75%;
}

#content {
	float: left;
	width: 80%;
/*	border-top: 1px dotted #000000;*/
	border-right: 1px dotted #000000;
}

#contenthead {
	float: left;
	background-color: #BAC7D8;
	width: 100%;
}

#contenthome {
	float: left;
	width: 15%;
	display: inline;
}

#contenthome p {
	margin: 0.2em 0 0.2em 10px;
	padding: 0 1% 0 0;

	color: #2F4054;
	font-size: 80%;
/*	font-weight: 600;*/
}

#contenthome p a {
	text-decoration: none;
	color: #2F4054;
}

#contentheading {
	width: 80%;
	float: right;
	display: inline;
}

#contentheading h1 {
	margin: 0.2em 0.4em 0.2em 0;
	padding: 0 1% 0 0;

	color: #2F4054;
	font-size: 110%;
	font-weight: 600;
	text-align: right;
}

/*
nav
from http://css.maxdesign.com.au/listamatic2/vertical02.htm
*/
#nav {
	float: left;
	width: 22%;
	margin: 10px 10px 10px 10px;
	font-size: 80%;
}

#nav ul {
	margin: 0;
	padding: 0;
	border: 1px dotted #404242;
	border-top-width: 0;
	list-style-type: none;
	font-family: verdana, arial, Helvetica, sans-serif;

}

#nav ul li {
/*	margin: 0 0 1px 0;*/
/*	border: 1px dotted #404242;*/
	border: 0;
	border-top: 1px dotted #404242;
}

#nav ul li.current-cat {
/*	border: 0;*/
}

#nav ul li.current-cat a {
	background-image: url(../img/nav_active.png);
	background-repeat: no-repeat;
	background-position: 0.8em 50%;
}

#nav ul li.current-cat ul li a {
	background-image: none;
}

#nav ul a {
	display: block;
/*	padding: 5px 10px;
	width: 140px;*/
	padding: 4% 1% 4% 11%;
	width: 88%;
	color: #2f4054;
	background-color: #bac7d8;
	text-decoration: none;

	background-image: url(../img/nav_inactive.png);
	background-repeat: no-repeat;
/*	background-position: 0.5em 0.8em;*/
	background-position: 0.7em 50%;
}

#nav ul a:hover {
	color: #ff0000;
	background-color: #e9e9e9;
	text-decoration: none;
}

#nav ul ul {
    border: 0;
}


#nav ul ul li {
	margin: 0 0 0 0;
	border-top: 1px dotted #2f4054;
}

#nav ul ul li a {
	display: block;
	padding: 3% 1% 3% 17%;
	width: 82%;
	color: #2f4054;
	background-color: #e9e9e9;
	text-decoration: none;

	background-image: none;
}

#nav ul ul li a:hover {
	color: #ffffff;
	background-color: #69C;
	text-decoration: none;
}
/* end nav */


#contentinner {
	float: left;
	width: 99%;
	margin-left: 10px;
	border-left: 1px dotted #2f4054;
	height: 100%;
}

#text {
	float: right;
	padding: 1em 1em 0 1em;
	width: 65%;
	display: block;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 80%;
	line-height: 1.4em;
	letter-spacing: 0;
	color: #404242;
}

#text.tlevel0 {
	margin: 0 0 0 0;
	border-left: 1px dotted #000000;
}

#text h1 {
	margin: 0 0.1em 0.5em 0;
	padding: 0 0 0 2.6em;
/*	width: 94%;*/

	background-color: #BAC7D8;

	line-height: 1.8em;
/*	font-size: 95%;*/
	font-size: 135%;
	border-bottom: 1px dotted #000000;

	background-image: url(../img/contenthead.png);
	background-repeat: no-repeat;
	background-position: 0.4em 50%;
}

#text h1 a {
 	text-decoration: none;
}

#text h2, #text h3 {
	margin: 3em 1em 0 0;
	padding: 0 0 0 3.8em;

	line-height: 1.5em;
	font-size: 95%;

	background-image: url(../img/nav_active.png);
	background-repeat: no-repeat;
	background-position: 0.4em 50%;
}

#text h3 {
	background-image: url(../img/nav_inactive.png);
}

#text h4 {
	margin: 0 2% 0% 0%;
	padding: 0 0 0 0;
	width: 100%;

	line-height: 1.5em;
	font-size: 95%;
}

#text p {
/*	width: 98%;*/
	margin: 2.4em 1em 1em 0.6em;
/*	padding: 0 1% 0 1%;*/
	padding: 0;
	line-height: 1.41em;
	text-align: justify;
}

#text a {
	color: #2F4054;
}

#text li {
	margin-left: 0.5em;
    list-style-type: square;
}


.inTextBox {
	float:right;
	background-color: #e9e9e9;
	width:30%;
	font-size: 80%;
	padding: 0.5em;
	margin: 0 0 0.1em 0.5em;
}

.inTextBoxImage {
	float: right;
	margin: 0 0 0.1em 0.8em;
}

#text .refimages {
    width: 30%;
	float: right;
	min-height: 400px;
	margin: 0 0 2em 2em;
	padding-top: 1.9em;
/*	background-color: #fafafa;*/
}

#text .refimages img {
	float: left;
	margin-bottom: 2em;
}


#tagcloud {
	margin: 20px 0 0 0;
	overflow: hidden;

	border: 1px dotted #404242;
	padding: 10px;
	background-color: #e9e9e9;
}

#tagcloud a, #tagcloud a:visited {
    color: #2F4054;
}

.tags {
	display: block;
	margin-top: 3em;
	padding-left: 10px;
    font-size: 80%;
}

.tags:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.tags a {
	padding: 0.2em 0.5em;
	background-color: #f4f4f4;
}


#pagefooter {
	width: 100%;
	height: 5%;
	color: #ffffff;
}

#pagefooter a {
	color: #ffffff;
}

#pagefooterinner {
	background-color: #2F4054;
	width: 80%;
	height: 2em;
	line-height: 2em;
	font-size: 75%;
	text-align: right;
}

#pagefooterinner form input {
	font-size: 85%;
}

#pagefooterinner form input[type="submit"] {
	color: #fafafa;
	background-color: #7993B6;
	border: 1px solid #BAC7D8;
}

.pagefooterbox {
	float: right;
	display: inline;
	width: 13%;
	line-height: 2em;
	padding-right: 1em;
}

img {
	border: 0;
}

/* die schicken Buttons */
input.button
{
	background: #247;
	border: 1px solid #366BBA;
	border-color: #36A #023 #023 #36A;
	color: #D3DAE4;
	cursor: pointer;
	font-family: Verdana, Helvetica, Georgia, Arial, Sans-Serif;
	font-size: 75%;
	font-weight: bold;
/*	height: 20px;*/
	padding: 0.2em 2em;
	margin: 1px 0 1px 0;
}

input.button:hover
{
	border-color: #47B #134 #134 #47B;
	background: #358;
	color: #fff;
}
