/*******************************************************/
/* CSS Definition - aam */
/*******************************************************/

/*******************************************************/
/* General elements*/
body {
	background-repeat: no-repeat;
	background-image: linear-gradient(to bottom, #0099FF, #fff); /* Standard syntax */
	background-color: #fff;
	height:100%;
	overflow:auto;
	text-align:left;
	padding:0px;
	margin:0px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11pt;
	color:#333;
}

a:link {color:rgb(22,22,22); font-style:normal; text-decoration:underline;}
a:visited {color:rgb(22,22,22); font-style:normal; text-decoration:underline;}
a:active {color:rgb(22,22,22); font-style:normal; text-decoration:underline;}
a:hover {color:rgb(120,120,120); font-style:normal; text-decoration:underline;}


/*******************************************************/
/* Box definitions */

#width_container {
	width:980px;
	border:solid 4px;
	border-color:#ff0;
	margin-left:auto;
	margin-top: 1.5%;
	margin-right: auto;
	margin-bottom: 1%;
	border-radius:15px; /* CSS3 */
	background-repeat: no-repeat;
	background-image: linear-gradient(to bottom, #fff, #cff, #cfc); /* Standard syntax */
	background-color: #ecffe8;
	box-shadow: 4px 6px 8px #aaa;
	-webkit-box-shadow: 4px 6px 8px #aaa;
    -moz-box-shadow: 4px 6px 8px #aaa;
    height: 100%;
	

}

#container {
	width:97%;
	margin:0px auto;
	margin-top:0px;
	padding:0px;
	
}

#header {
	width:auto;
	height:80px;
	margin:0px auto;
	border:#336600;
	font-size: 1.8em;
	color: #4270B4;
	padding: 0 0 0 4%;
}



#logo-rechts {
	width:auto;
	height:100%;
	float: right;
	padding: 0 1%  0 0;
}

#contend {
	width:auto;
	overflow: hidden;
}
#footer {
	height:1%;
	overflow: hidden;
	margin-bottom: 1%;
	color: #060;
	text-align: center;
	font-size: 0.9em;
	font-weight: bold;
	padding: 1% 0.5% 0.5% 5%;
	background-color: #FFF;
}

#inhalt {
	width:auto;
	overflow: auto;
	float: inherit;
	padding-right: 2.5%;
	padding-bottom: 0.5%;
	padding-left: 5%;
}

#inhalt2 {
	width:auto;
	overflow: auto;
	float: inherit;
	padding-top: 2%;
	padding-right: 2.5%;
	padding-bottom: 0.5%;
	padding-left: 5%;
}

.links {float:left;
} 
 		
.rechts {
	float:right;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
 }	
 
.spalte {
	margin: 0.5%;
	padding:0.3%;
	width: 99%;
	border: 1px solid #F00;	
	height: 31px;
}
.was {
	width: 25%;
	float:left;
	line-height: 1.1em;
}

.info {
	padding-left:2%;
}
	
	
p {
	font-weight:normal;
	font-size: 1em;
	line-height: 1.7em;
}

h1 {
	font-size:1.8em;
	font-weight:normal;
	color: #436FB4;
}

h2 {
	font-size:1.25em;
	font-weight:normal;
	padding-right:1%;
}
h3 {
	font-size:1.17em;
	font-weight:normal;
}

#hauptmenue {
	position:absolute;
	left: 615px;
	top: 63px;
}

.rotfett {
	font-weight:bold;
	font-stretch:expanded;
	text-shadow: 1px 2px 2px #c3c3c3;
	color: #436FB4;
}

.rot {
	color: #436FB4;
	font-stretch:expanded;
	text-shadow: 1px 2px 2px #c3c3c3;
}

.kap {
	font-variant:small-caps;
	font-size:1.03em;}


img {
	max-width: 100%;
	height: auto;
}
#ie8 img {
	width: 100%;
}

.headbild {
	float: right;
	max-width: 90%;
	padding: 0 0.3% 0 0.3%;
	margin: -4% 0 0 0;
	max-height: 90%;
}

.textbild {
	float: left;
	max-width: 98%;
	padding: 1%;
}

.rechtsbild-k {
	float: right;
	max-width: 50%;
	padding: 1%;
}
.rechtsbild-6 {
	float: right;
	max-width: 45%;
	padding: 1%;
}
.rechtsbild {
	float: right;
	max-width: 98%;
	padding: 1%;
}

.bildvortext {
	max-width: 100%;
	padding-top: 0.5%;
	padding-bottom: 1%;
	display: block;
    margin-left: auto;
    margin-right: auto;
}
#ie8 .textbild {
	width: 50%;
} 


/* Menü neu */
/* The wrapper div should be wrapped around the page content and be at least 100% page height for the iPad, iPhone and iPod Touch */
/*html, body {padding:0; margin:0;}
section {display:block;}
header {display:block; padding:0; margin:0 auto 30px auto; width:70%;}
article {display:block; padding:0; margin:50px auto 0 auto; width:70%;}
h1 {margin:0; padding:0; font:normal 30px/50px TeXGyreAdventorBold, arial, sans-serif; color:#333;}
h2 {margin:0; padding:0; font:normal 25px/40px TeXGyreAdventorBold, arial, sans-serif; color:#333;}
h3 {margin:0; padding:0; font:normal 20px/30px TeXGyreAdventorBold, arial, sans-serif; color:#333;}
h4 {margin:0; padding:0; font:normal 15px/20px TeXGyreAdventorBold, arial, sans-serif; color:#333;}
p {margin:0; padding:0; font:normal 13px/18px TeXGyreAdventorRegular, arial, sans-serif; color:#333;}
p b {margin:0; padding:0; font:normal 14px/18px TeXGyreAdventorBold, arial, sans-serif; color:#333;}
article ul li {margin:0; padding:0; font:normal 13px/18px TeXGyreAdventorRegular, arial, sans-serif; color:#666;}
article ul li b {margin:0; padding:0; font:normal 14px/18px TeXGyreAdventorBold, arial, sans-serif; color:#333;}
article ul li a {margin:0; padding:0; font:normal 13px/18px TeXGyreAdventorBold, arial, sans-serif; color:#069;}
p a {margin:0; padding:0; font:normal 14px/18px TeXGyreAdventorBold, arial, sans-serif; color:#fff; padding:5px 10px; background:#069; text-decoration:none; margin:5px 0 20px 0; border-radius:5px;}

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/cssplay-responsive-droplist-touch-screen.html
Copyright (c) Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
nav {
	display:block;
	width:100%;
/* 	background:#ecffe8; */
	position:relative;
	z-index:100;
	font-family:arial, sans-serif;
	margin:0 auto;
	text-align:center;
	font-size:1.1em;
	font-weight:bold;
	
}


.menu {width:95%; margin:0 auto; padding:0; list-style:none; text-align:left;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
-ms-touch-action: none;
}

.menu div {position:absolute; background:#fff; padding:10px 10px 0 10px; z-index:50; border-radius:0 0 10px 10px}
.menu div.sub1 {width:150px;}
.menu div.sub2 {width:300px;}
.menu div.sub3 {width:450px;}

.menu div.sub1 dl {width:100%;
-webkit-column-count: 1;
-webkit-column-gap: 5%;
-webkit-column-rule: 1px dotted #888;
-moz-column-count: 1;
-moz-column-gap: 5%;
-moz-column-rule: 1px dotted #888;
column-count: 1;
column-gap: 5%;
column-rule: 1px dotted #888;
}
.menu div.sub2 dl {width:100%;
-webkit-column-count: 2;
-webkit-column-gap: 5%;
-webkit-column-rule: 1px dotted #888;
-moz-column-count: 2;
-moz-column-gap: 5%;
-moz-column-rule: 1px dotted #888;
column-count: 2;
column-gap: 5%;
column-rule: 1px dotted #888;
}
.menu div.sub3 dl {width:100%;
-webkit-column-count: 3;
-webkit-column-gap: 5%;
-webkit-column-rule: 1px dotted #888;
-moz-column-count: 3;
-moz-column-gap: 5%;
-moz-column-rule: 1px dotted #888;
column-count: 3;
column-gap: 5%;
column-rule: 1px dotted #888;
}
.menu li.top-li {float:left; position:relative; background:#fff; z-index:50;}

.menu li.top-li a.top-a {display:block; float:left; line-height:40px; color:#99BA37; padding:0 18px 0 10px; text-decoration:none; font-size:0.9em; white-space:nowrap;}
.menu li.top-li b {display:block; width:100%; height:40px; background: url(images/nix.gif); position:relative; z-index:100;
-webkit-transition:0.75s;
-o-transition:0.75s;
-moz-transition:0.75s;
transition:0.75s;
}  

.menu li.top-li a.top-a:hover {background:#99BA37; color:#fff; text-decoration:underline; position:relative; z-index:10;}
.menu li.top-li:hover > a.top-a {background:#fff; color:#009900; text-decoration:underline; position:relative; z-index:10;}
.menu li.has-sub a.top-a:hover {text-decoration:underline; position:relative; z-index:10;}
.menu li.has-sub:hover > a.top-a {text-decoration:underline; position:relative; z-index:10;}

.menu div dl {padding:0; margin:0;}
.menu div dt {display:block; padding:5px 0 5px 0; margin:0; color:#ccc; font-size:0.8em; line-height:20px;}
.menu div dd {display:block; padding:0; margin:0;}
.menu div dd a {line-height:20px; color:#fff; background:#fff; display:block; margin-bottom:1px; padding:5px 10px; text-decoration:none; font-size:0.8em;}
.menu div dd a:hover {background:#99BA37; color:#fff; }

.menu .bottomLine {width:100%; padding:5px 10px; background:#fff; margin:10px 0 0 -10px; border-top:1px solid #99BA37; border-radius:0 0 10px 10px; line-height:20px; font-size:0.8em; color:#c60; font-weight:normal;}
.menu .bottomLine a {display:inline; padding:0 3px; line-height:20px; background:none; color:#99BA37; text-decoration:underline;}
.menu .bottomLine a:hover {color:#99BA37; text-decoration:none;}

.menu li:hover {z-index:60;}
.menu li:hover > b {height:0;}

.menu li div,
.menu li div.left {left:-9999px; top:-3000px; display:none;}

.menu li:hover div {left:0; top:40px; display:block;}
.menu li:hover div.left {left:auto; right:0; display:block;}

.clear {clear:left; height:0; overflow:hidden;}

@media only screen and (max-width:1024px) {
#width_container {
	width:95%;
}	
}

@media only screen and (max-width:480px) {
nav {font-size:1.2em; width:95%;}
.menu li:hover div {top:0px;}
.menu li.top-li {float:left; width:100%; border-bottom:1px solid #888; height:40px;}
.menu li.top-li > a.top-a {width:100%; padding:0; margin:0; text-indent:10px;}
.menu div.sub1 {width:80%;}
.menu div.sub2 {width:80%;}
.menu div.sub3 {width:80%;}
.menu li:hover div {left:20%; display:block; margin-left:-20px;}
.menu li:hover div.left {left:20%; right:auto; display:block;}
.menu div.sub1 dl,
.menu div.sub2 dl,
.menu div.sub3 dl
{
-webkit-column-count: 3;
-moz-column-count: 3;
column-count: 3;
}

#width_container {
	width:95%;
}

#header {
	width:auto;
	height:60px;
	margin:0px auto;
	width: 95%;
	font-size: 1.2 em;
}

}

.headbild {
	float: right;
	max-width: 100%;
	max-height: 100%;
}

}
@media only screen and (max-width:1024px) and (orientation:portrait) {
.menu div.sub1 dl,
.menu div.sub2 dl,
.menu div.sub3 dl
{
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
#width_container {
	width:95%;
}
}
@media only screen and (max-width:768px) {
.menu div.sub1 dl,
.menu div.sub2 dl,
.menu div.sub3 dl
{
-webkit-column-count: 2;
-moz-column-count: 2;
column-count: 2;
}
#width_container {
	width:95%;
}
}
@media only screen and (max-width:640px) {
.menu div.sub1 dl,
.menu div.sub2 dl,
.menu div.sub3 dl
{
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}

#width_container {
	width:95%;
}


}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
nav {font-size:1.5em;}
.menu div.sub1 dl,
.menu div.sub2 dl,
.menu div.sub3 dl
{
-webkit-column-count: 1;
-moz-column-count: 1;
column-count: 1;
}

.was {
	font-size:10px;
	font-family:"Times New Roman", Times, serif;
	width: 25%;
	float:left;
	line-height: 1em;
}

.info {
	font-size:1.2em;
	line-height: 1.2em;
}

}



@media only screen and  (max-width : 330px) {
#width_container {
	width:92%;
}

#header {
	width:auto;
	height:40px;
	margin:0px auto;
	width: 95%;	
	font-size:1em;

}
}
