html{overflow-y: scroll;}

body {
	font-family: 'icomoon', Calibri, Arial, sans-serif;
	background-color: #fff;
		}
a{text-decoration:none;}		
		
		
/* STRUCTURE */


#pagewrap {
	padding: 5px;
	width: 1024px;
	margin: 20px auto;
	position:relative;
}
#text_oben, #auswahl_sprachen, #text_aktuelles {
	padding: 15px;
	min-height:2.4em;
	
}
#text_oben h4 {
	text-align:left;
	font-size:1.5em;
	margin:0.4em;
	text-decortion:none;
}
header, #alle_dinge {
padding: 0 15px;
}

#left_rubriken {
	width: 302px;
	float: left;
	padding: 5px 15px;
}

#middle_rubriken{
	width: 302px; 
	float: left;
	padding: 5px 15px;
	
}

#right_rubriken {
	width: 302px;
	padding: 5px 15px;
	float: left;
}
footer {
	clear: both;
	padding: 0 15px;
}
h5{padding: 0;
margin: 0;
 text-align: left;
 font-size:1.6em;
 margin-bottom:26px;}

/************************************************************************************
MEDIA QUERIES
*************************************************************************************/
/* for 980px or less */
@media screen and (max-width: 980px) {
	
	#pagewrap {
		width: 94%;
		
	}
	

	header, footer, #alle_dinge {
		padding: 1% 4%;
	}
}

/* for 700px or less */
@media screen and (max-width: 600px) {

	#left_rubriken {
		width: auto;
		float: none;
	}
	
	#middle_rubriken {
		width: auto;
		float: none;
		margin-left: 0px;
	}
	
	#right__rubriken{
		width: auto;
		float: none;
	}

}

/* for 480px or less */
@media screen and (max-width: 480px) {

	header {
		height: auto;
	}
	h1 {
		font-size: 2em;
	}
	
}


#left_rubriken , #middle_rubriken, #right_rubriken{
	background: #fff;
}

}
header, #left_rubriken , #middle_rubriken, #right_rubriken {
	margin-bottom: 5px;
}

  


/* ============================================================
  GLOBAL
============================================================ */
.effects {
  padding-left: 15px;
}
.effects .img {
  position: relative;
  float: left;
  margin-bottom: 5px;
  overflow: hidden;
}
.effects .img:nth-child(n) {
  margin-right: 5px;
}
.effects .img{
  margin-left: -15px;
}
.effects .img:last-child {
  margin-right: 0;
}
.effects .img img {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
}

.overlay {
  display: block;
  position: absolute;
  z-index: 20;
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: all 0.5s;
}

a.close-overlay {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  width:2em;
  height: 2em;
  font-size: 1em;
  font-weight: 700;
  color: #fff;
  line-height: 2em;
  text-align: center;
  background-color: #000;
  cursor: pointer;
}
a.close-overlay.hidden {
  display: none;
}

a.expand {
  display: block;
  position: absolute;
  z-index: 100;
  width: 5em;
  height: 5em;
  border: solid 1px #fff;
  text-align: center;
 
  text-decoration:none;
  color: #fff;
  line-height: 5em;
  font-weight: 700;
  font-size: 1em;
  border-radius: 30px;
}
.zahlen{ margin-top:0; padding:0; margin-bottom:1.9em; text-align:left}

footer h1 {
	text-align:left;
	font-weight:normal;
	font-family: 'icomoon', Calibri, Arial, sans-serif;
	font-size: 1rem;
	margin: 0;
	padding: 0}
	
#auswahl_sprachen {
	text-align:right;
	margin-right: 1em;
	margin-top: 3em;
	}
#text_aktuelles {
text-align:left;
margin-top: 3em;
	}	

/* ============================================================
  EFFECT - SLIDE IN top
============================================================ */
.overlay {
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
 .overlay a.expand {
  left: 0;
  right: 0;
  top: 50%;
  margin: -30px auto 0 auto;
}
 .img.hover .overlay {
  height: 0%;
}


		#nav
		{
			width: 80%; /* 1000 */
			font-weight: 400;
			position: absolute;
			top: 0.5em;
			right: 1%;	
		}
		#nav a{text-decoration:none;}
		#nav ul{list-style:none;
				margin:0;}

			#nav > a
			{
				display: none;
				
			}

			#nav li
			{
				position: relative;
			}
				#nav li a
				{
					color: #000;
					display: block;
				}
				#nav li a:active, #nav li a:hover
				{
					background-color: #e2e2e2 !important;
				}

			#nav span:after
			{
				width: 0;
				height: 0;
				border: 0.313em solid transparent; /* 5 */
				border-bottom: none;
				border-top-color: #000;
				content: '';
				vertical-align: middle;
				display: inline-block;
				position: relative;
				right: -0.313em; /* 5 */
			}

			/* first level */

			#nav > ul
			{
				height: 2.15em; 
				background-color: #fff;
			}
				#nav > ul > li
				{
					width: 20%;
					height: 100%;
					float: left;
				}
					#nav > ul > li > a
					{
						height: 100%;
						font-size: 1em; 
						line-height: 1.5em; /* 24 */
						text-align: center;
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: 1px solid #000;
						}
						#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
							background-color: #f4f4f4;
						}


				/* second level */

				#nav li ul
				{
					background-color: #fff;
					display: none;
					position: absolute;
					top: 100%;
					 z-index: 2000;
				}
					#nav li:hover ul
					{
						display: block;
						left: 0;
						right: 0;
					}
						#nav li:not( :first-child ):hover ul
						{
							left: -1px;
						}
						#nav li ul a
						{
							font-size: 0.9em; 
							border-bottom: 1px solid #000;
							padding: 0.1em; 
						}
							#nav li ul li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
								background-color: #fff;
							}


		@media only screen and ( max-width: 63em ) /* 1000 */
		{
			#nav
			{
				width: 100%;
				position: static;
				margin: 0;
			}
		}

		@media only screen and ( max-width: 40em ) /* 640 */
		{
			html
			{
				font-size: 75%; /* 12 */
			}
			
			
			#nav
			{
				position: relative;
				top: 10px;
				left: 10px;
				
			}
				#nav > a
				{
					width: 2.125em; /* 50 */
					height: 2.125em; /* 50 */
					text-align: left;
					text-indent: -9999px;
					background-color: #e2e2e2;
					position: relative;
				}
					#nav > a:before,
					#nav > a:after
					{
						position: absolute;
						border: 2px solid #fff;
						top: 35%;
						left: 25%;
						right: 25%;
						content: '';
					}
					#nav > a:after
					{
						top: 60%;
					}

				#nav:not( :target ) > a:first-of-type,
				#nav:target > a:last-of-type
				{
					display: block;
				}


			/* first level */

			#nav > ul
			{
				height: auto;
				display: none;
				position: absolute;
				z-index: 2000;
				left: 0;
				right: 0;
				background-color: #e2e2e2;
				
			}
				#nav:target > ul
				{
					display: block;
				}
				#nav > ul > li
				{
					width: 100%;
					float: none;
				}
					#nav > ul > li > a
					{
						height: auto;
						text-align: left;
						padding: 0 0.833em; /* 20 (24) */
					}
						#nav > ul > li:not( :last-child ) > a
						{
							border-right: none;
							border-bottom: 1px solid #000;
						}
					#nav > ul > li:hover > a,
						#nav > ul:not( :hover ) > li.active > a
						{
							background-color: #fff;
						}

				/* second level */

				#nav li ul
				{
					position: static;
					z-index: 2000;
					padding: 1.25em; /* 20 */
					padding-top: 0;
					background-color: #e2e2e2;
				}
				#nav li ul li a:hover,
							#nav li ul:not( :hover ) li.active a
							{
								background-color: #fff;
							}
		}
		.bild_oben{
		text-align:left;}
		
		.bild_oben img{float:left;
		}
		.zusammen {
	white-space: nowrap;
}
