/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

* { -webkit-transform-style: preserve-3d; }

html,
button,
input,
select,
textarea {
    color: #000;
    font-size: 1em;	
}

body {
    font-size: 90%;
    line-height: 1.4;
    font-family: 'Droid Serif';
    background-image: url(../img/website_background.jpg);
    -webkit-transform-style: flat;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
 vertical-align: middle;
    border: 5px solid #ffffff;
    margin: 1em 0;
    -webkit-box-shadow: 3px 2px 5px #aaa;
    -moz-box-shadow: 3px 2px 5px #aaa;
    box-shadow: 3px 2px 5px #aaa;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Primary Styles ========================================================
   Author: Jan Watermann
   ========================================================================== */

html, body, #wrap {height: 100%;}

body > #wrap {height: auto; min-height: 100%;}

div#wrap {
	display: block;
	background: url(../img/content_background.png) repeat-y 0px 0px;
	padding: 0;
	margin: 0 0 0 0;
	width: 726px;
}

div[role="main"] {
	display: block;
	padding: 1.25em 0 200px 0;
	margin: 0;
	width: 726px;
}

header {
	display: block;
	background: url(../img/content_background.png) repeat-y;
	margin: 0;
	padding: 0;
	height: 100px;
	overflow: hidden;
}	
nav {
	margin: 15px 0 0 0;
	padding: 0;
	width: 630px;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: 500;
}

nav a {
/*	display: block; */
	float: left; 
	vertical-align: middle; 
	background-color: #fff;
	font-weight: 500;
	padding: 0 0.3em;
	color: #b4b4b4;
	line-height: 42px;
	width: auto;
	height: auto;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-transition: -webkit-transform 0s ease;
	-moz-transition: -moz-transform 0s ease;
	-ms-transition: -ms-transform 0s ease;
	-o-transition: -o-transform 0s ease;
	transition: transform 0s ease;
	}
nav a:visited { color: #b4b4b4; }

nav a:hover { 	color: #3b743b; 
		text-decoration: none; 
		-webkit-transition: -webkit-transform 1s ease;
		-moz-transition: -moz-transform 1s ease;
		-ms-transition: -ms-transform 1s ease;
		-o-transition: -o-transform 1s ease;
		transition: transform 1s ease;
		transform: rotateY(180deg);
		-ms-transform: rotateY(180deg); /* IE 9 */
		-webkit-transform: rotateY(180deg); /* Safari and Chrome */
		-o-transform: rotateY(180deg); /* Opera */
		-moz-transform: rotateY(180deg); /* Firefox */	
		outline: 0;
		text-decoration: none;
}
nav a#active { color: #3b743b; 
	/* -webkit-transition: -webkit-transform 0s ease; */
	-moz-transition: -moz-transform 0s ease;
	-ms-transition: -ms-transform 0s ease;
	-o-transition: -o-transform 0s ease;
	transition: transform 0s ease;
	transform: rotateY(180deg);
	-ms-transform: rotateY(180deg); /* IE 9 */
	/* -webkit-transform: rotateY(180deg); */ /* Safari and Chrome */ 
	-o-transform: rotateY(180deg); /* Opera */
	-moz-transform: rotateY(180deg); /* Firefox */
}
nav a#active:hover { 
}
nav a:focus { outline: 0; }
nav a.textstellen, nav a.textstellen:hover {
	background: url(../img/nav_background.png) no-repeat;
	padding-left: 105px;
	margin-right: 0;
	width: 120px;
	color: #ffffff;
	transform: rotateY(0deg);
	-ms-transform: rotateY(0deg); /* IE 9 */
	-webkit-transform: rotateY(0deg); /* Safari and Chrome */
	-o-transform: rotateY(0deg); /* Opera */
	-moz-transform: rotateY(0deg); /* Firefox */	
	text-decoration: none;
}

footer {
	background: url(../img/footer_background.png) repeat-y;
	color: #ffffff;
	font-family: 'Open Sans', sans-serif;
	position: relative;
	margin-top: -150px; 
	height: 150px;
	width: 726px;
	clear:both;
	overflow:hidden;
	display: table;
}

footer #columns {
	display: table-cell;
	vertical-align: bottom;
	padding-bottom: 20px;
	}
	
footer a { 	color: #ffffff; 
		text-decoration: none;  }
footer a:visited { color: #ffffff; }
footer a:hover { color: #ffffff;
		 text-decoration: underline; }
footer a:focus { outline: thin dotted; }

h1, h2, h3, h4 {
	font-family: 'Open Sans', sans-serif;
	margin: 1em 180px 0.15em 140px;
}
p, ul, table {
	margin: 0em 180px 0em 140px;
	padding: 0;
	line-height: 150%;
	list-style: none;
}

ul li ul {
	margin: 0em 0px 0em 0px;
	padding: 0;
	line-height: 150%;
	list-style: none;
	}	

footer p {
	font-size: 80%;
	width: auto;
	float: left;
	margin: 0 100px 0 100px;
	padding: 0;
}

p.warning, span.warning {
	color: #ff0000; 
	}

li {
	position: relative;
	margin: 0.5em 0 0 1em;
	padding-left: 0.5em;
}

ul li ul li {
	position: relative;
	margin: 0 0 0 1em;
	padding-left: 0;
}

li:before {
  position: absolute;
  top: 8px;
  margin: 0 0 0 -12px;
    /* accommodate Camino */
  vertical-align: top;
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #3b743b;
  content: "";
}

ul li ul li:before {
    content: "";
    background: #fff;
    border-color: transparent #3b743b;
    border-style: solid;
    border-width: 0.25em 0 0.25em 0.35em;
    display: block;
    height: 0;
    width: 0;
    left: 0;
    top: 1em;
    position: relative;
    margin: 0 0 0 -12px;
}

h1 {
	visibility: hidden; 
	overflow: hidden; 
	height: 0; 
	margin: 0;}
h2
{
	margin-top: 0;
	padding: 0;
}

form {
	margin: 0em 160px 0em 140px;
	}
label {
	color: #3b743b;
	font-weight: 600;
	font-family: 'Open Sans', sans-serif;
	display:block;
	width: 90%;
	margin-top:1em;
	letter-spacing:0.05em;
	
}
input, textarea {
	display: block;
	width: 90%;
	height: 1.75em;
	color: #b4b4b4;
	background: #f9f9f9;
	border: 1px solid #3b743b;
	font-size: 100%;
	}

input.required, textarea.required{
	background: #e9fbe9;
	}

input:focus, textarea:focus {
	border: 2px solid #3b743b;
	background: #ffffff;
}

textarea {
	height: 10em;
	}
	
#submit {
    width:90%;
    height:38px;
    background:#3b743b;
    border:none;
    margin-top:1em;
    margin-right: 10%;
    cursor:pointer;
    float: right;
    color: #ffffff;
    
}

table td, table th {
	vertical-align: top;
	padding: 0.25em 0.5em 0 0;
}

table th {
	font-weight: 600;
	text-align: right;
	}



/* CLEAR FIX */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {display: inline-block;}

/* Bereich nicht f&uuml;r IE-mac Anfang */
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* Bereich nicht f&uuml;r IE-mac Ende */


a { color: #3b743b; text-decoration: none; }
a:visited { color: #3b743b; }
a:hover { color: #3b743b; text-decoration: underline; }
a:focus { outline: 0; }
a:hover, a:active { outline: 0; }

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important; 
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

}

