@charset "utf-8";
/* CSS Document */

/* --- --- --- --- ---
 * @author	Chris
 * @link	www.flatink.de
 * @email	info@flatink.de
--- --- --- --- --- */

/* --- --- --- --- --- GRUNDSÄTZLICHES --- --- --- --- --- */

body {
	font-family:Verdana, Geneva, sans-serif;
	font-size:1em;
	color:#333;
	margin:0;
	padding:0;
	border:0;
	background-image:url(../_bild/background_bild.jpg);
	background-repeat:no-repeat;
	background-size:cover;
	}

h1 {
	font-size:1em;
	font-weight:bold;
	margin:0 auto -5px 0;
}
#inhalt-news h1 {
	margin-bottom:16px;
}

a {
	text-decoration:none;
	color:#333;
}

ul {
	padding-left:17px;
	list-style:disc;
	list-style-position:outside;
}

li {
	line-height:2em;
}

/* --- --- --- --- --- MOBIL --- --- --- --- --- */

@media only screen and (max-width:1050px) {
	body {
		background-image:none;
	}
	
	.header span {
		display:none;
	}
	
	#inhalt-news {
		display:none;
	}
}

@media only screen and (max-width:800px) {
	.header {
		border-bottom:#333 solid 1px;
	}
	
	.menu {
		display:none;
	}
	
	#bild {
		display:none;
	}
	
	.inhalt {
		width:100%;
		margin-top:75px;
	}
}

/* --- --- --- --- --- NORMAL --- --- --- --- --- */
 
.header {
	background-color:#FFF;
	height:70px;
	width:100%;
	position:absolute;
	top:0;
	left:0;
	z-index:2;
}
	.header > p {
		margin:0;
	}
	.header img {
		height:50px;
		width:auto;
		margin:10px 26px 5px 10px;
	}

/* --- --- --- GALERIE - ANFANG --- --- --- */
/* based on http://thenewcode.com/831/HTML5-Responsive-Image-Slider-With-Captions */
#bild {
	max-height:360px;
	overflow:hidden;
	z-index:1;
}
div#bild {
	width: 100%;
	overflow: hidden;
}
figure { margin: 0; }
figure.slider {
	position: relative;
	width: 500%;
	font-size: 0;
	animation: 20s bildwechsel infinite; 
}
figure.slider figure { 
	width: 20%;
	height: auto;
	display: inline-block;
	position: inherit; 
}
figure.slider img {
	width: 100%;
	height: auto;
}
/* --- TEXT WIRD ÜBER DIE BILDER GELEGT --- 
figure.slider figure figcaption {
	position: absolute;
	bottom: 0;
	background: rgba(0,0,0,0.3);
	color: #fff;
	width: 100%;
	font-size: 2rem;
	padding: .6rem;
} */
@keyframes bildwechsel { 
	0%  { left: 0%; }
	16% { left: 0%; }
	32% { left: -100%; }
	48% { left: -100%; }
	64% { left: -200%; }
	82% { left: -200%; } 
	100% { left: 0%; }
}

.inhalt {
	height:100%;
	width:100%;
	top:38%;
	z-index:1;
}
	#inhalt-text {
		background-color:#FFF;
		height:auto;
		min-height:270px;
		width:auto;
		min-width:70%;
		text-align:justify;
		float:left;
		border:#FFF solid 10px;
		border-radius:2px;
		margin:10px 25px 15px 58px;
	}
	#inhalt-text a {
		color:#09F;
		}
	
	#inhalt-news {
		height:auto;
		min-height:270px;
		max-width:20%;
		border:#09F solid 10px;
		border-radius:2px;
		background-color:#09F;
		color:#FFF;
		overflow:hidden;
		margin:15px 15px 15px auto;
	}
	#inhalt-news a {
		color:#FFF;
	}

/* --- --- --- DROPDOWNMENÜ - ANFANG --- --- --- */
/* based on http://cssdeck.com/labs/another-simple-css3-dropdown-menu */

/* --- Hauptmenü - Allgemein --- */
.menu {
	position:absolute;
	top:90px;
	left:52px;
	z-index:2;
}

.menu ul {
	text-align:left;
	display:inline;
	list-style:none;
}

.menu ul li {
	display:inline-block;
	position:relative;
	cursor:pointer;
	background-color:#FFF;
	padding:3px 10px;
	border:#FFF solid 1px;
	margin:0 3px 0 0;
}
	.menu ul li:hover {
		background-color:#333;
		color:#FFF;
		border-color:#FFF;
	}
	.menu ul li:hover a {
		color:#FFF;
	}
	
/* --- Untermenü - Sichtbarkeit --- */
.menu ul li ul {
	padding:0;
	position:absolute;
	top:39px;
	left:0;
	width:134px;
	display:none;
	opacity:0;
	visibility:hidden;
	-webkit-transiton:opacity 0.2s;
	-moz-transition:opacity 0.2s;
	-ms-transition:opacity 0.2s;
	-o-transition:opacity 0.2s;
	-transition:opacity 0.2s;
}

/* --- Untermenü - Aussehen --- */
.menu ul li ul li {
	border-top:none;
	border-left:none;
	border-right:none;
	border-bottom:#FFF solid 1px;
	background:#666;
	display:block;
	color:#FFF;
}
	.menu ul li ul li < a {
		color:#333;
	}

	.menu ul li ul li:hover {
		background:#333;
		color:#FFF;
	}

/* --- Untermenü - Funktion --- */
.menu ul li:hover ul {
	display: block;
	opacity: 1;
	visibility: visible;
}

.menu ul li ul li < a {
	color:#333;
}

.menu ul li ul li:hover a {
	color:#FFF;
}
/* --- --- --- DROPDOWNMENÜ - ENDE --- --- --- */

/* --- --- --- --- --- EXTRA --- --- --- --- --- */

#menu-mobil {
	display:none;
	font-size:20px;
	height:auto;
	width:60px;
	text-align:center;
	color:#FFF;
	background-color:#333;
	padding:12px 5px;
	border:#FFF solid 1px;
	position:absolute;
	top:10px;
	right:15px;
	z-index:3;
}

.footer {
	display:none;
}

form {
	height:auto;
	min-width:90%;
	column-count:2;
	column-gap:15px;
}

@media only screen and (max-width:500px) {
	.header img {
		height:38px;
		width:auto;
		margin:14px 26px 5px 10px;
	}
	
	#menu-mobil {
	font-size:15px;
	height:auto;
	width:45px;
	}
	
	#inhalt-text p img {
		display:none;
	}
}
@media only screen and (max-width:800px) {
	#menu-mobil {
		display:block;
	}
	
	#menu-mobil-head {
	height:auto;
	min-width:100%;
	position:absolute;
	top:70px;
	}
	#menu-mobil-head > a {
		display:block;
		height:auto;
		min-width:80%;
		margin:3%;
		color:#FFF;
		font-size:20px;
		text-align:center;
		background-color:#333;
		margin-bottom:20px;
		padding:3%;
		border:#333 solid 1px;
	}
	#menu-mobil-head > #menu-mobil-sub {
		min-width:80%;
		margin-top:-20px;
		color:#333;
		background-color:#FFF;
		border-top:none;
		border-right:none;
		border-left:none;
		border-bottom:#333 solid 1px;
	}
	
	#inhalt-text {
		height:auto;
		min-width:90%;
		margin:10px auto 15px 15px;
	}
	form {
		column-count:1;
		column-gap:0;
	}
}
	
@media only screen and (max-width:1050px) {
	.footer {	
		border-top:solid 1px #666666;
		background-color:#FFF;
		height:20px;
		width:100%;
		padding:5px;
		position:fixed;
		left:0;
		bottom:0;
		display:block;
		z-index:3;
	}
}