/* wichtig: Eigenschaften mit ; abschliessen, z.B. sans-serif; */
/* vor dem ; darf kein Abstand sein */
/* die Reihenfolge darf nicht geändert werden wegen fkt cssErsetzen() */
/* wenn Schlüsselwörter im Kommentar vorkommen, müssen sie verändert werden z.B. mit xxx */
/* Der Buchstabe 'a' mit anschliessendem Abstand darf nur als Link vorkommen (gilt  auch für Kommentare). Ausnahmen: Weiter unten als die Links spielt es keine Rolle mehr */

body {
	background: #888888;
}

#mittelteil {
	width: 86%;
	min-height: 800px;
	z-index: 2;
	background-color: #e6e6e6;
	border: 0px solid #a48658;
	margin: 0 auto;
	margin-top: 20px;
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#kopfteil {
	
}

.keineKopfzeile1 {
	font-size: 0em;
}

.keineKopfzeile2 {
	font-size: 0em;
}

.kopfzeileClass1 {
	background: #ffee00;
	/*background-size: auto;*/
	padding: 20Px 200Px 22Px 20Px; /* oben rechts unten links, ergibt auch Gesamthöhe des Kopfteils */
	text-align: left;
	font-family: sans-serif;
	color: #aaaaaa;
	font-size: 2.5em;
	border-bottom: 3px solid #777777;
}

.kopfzeileClass2 {
	color: #666666;
	background-color: #fcfae2;
	text-align: left;
	padding: 10px 5px 4px 8px;
	border-bottom: 0px solid #a48658;
}

/* muss vor allen andern Namen mit 'a' und darauf folgendem SPC stehen */
a {
	color: #002866;
	text-decoration: none;
}

.textBereich a {
	color: #002866;
	text-decoration: none;
}

/* darf wegen Aufruf durch fkt cssErsetzen erst nach .kopfzeilexxxClass2 stehen */
.kopfzeileClass1 a {
	color: #beb63f;
	text-decoration: none;
}

.kopfzeileClass2 a {
	/*color: #990051;*/
	text-decoration: none;
}

.textfeld {
	margin-left: 169px;
	border-left: 2px solid #a2a2a2;
	padding: 30px;
	position: relative;
	background-color: #eeeeee;
	overflow: hidden;
}

.absatz {
	margin-top: 6px;
}

.bild {
	float: left;
	margin: 0px 10px 0px 0px;
	max-width: 100%;
}

.bildRechts {
	float: right;
	margin: 0px 0px 0px 10px;
	max-width: 100%;
}

/* muss vor allen andern #men_u stehen, auch in Kommentaren */
#menu {
	float: left;
	width: 166px;
	position: relative;
	list-style: none;
	/*margin-right: 10px;*/
	padding: 0;
	z-index: 2;
}

#menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#menu li {
	margin: 0;
	padding: 0;
	margin: 1px 0px;
	position: relative;
}

#menu li ul {
	display: none;
	width: 150px;
	text-decoration: none;
	position: absolute;
	left: 100%;
	top: 0px;
}

#menu li:hover > ul,
#menu li:focus > ul,
#menu li:active > ul {
	display: block;
}

#menu a {
	display: block;
	text-align: left;
	padding: 5px;
	border-right: 4px solid #666666;
	border-bottom: 4px solid #666666;
	border-left: 4px solid #919191;
	border-top: 4px solid #b3b3b3;
}

.menuU {
	left: 5px;
}

.schriftFarbeH { /* Schriftfarbe auf Menutasten*/
	color: #000000;
	text-decoration: none;
	background-color: #dddddd;
	font-family: sans-serif;
	font-size: 0.8em;
}

.schriftFarbeU { /* Schriftfarbe auf Untermenutasten*/
	color: #2a2a2a;
	text-decoration: none;
	background-color: #dddddd;
	font-family: sans-serif;
	font-size: 0.8em;
}

.schriftFarbeA {
	color: #190800;
	text-decoration: none;
	background-color: #aaaaaa;
	font-family: sans-serif;
	font-size: 0.8em;
}

.adminTasten {
	z-index: 4;
	position: fixed;
	opacity: 0.7;
	right: 10px;
	left: auto;
	top: 10px;
}

.downloadButton {
	width: 100px;
	color: #ffffff;
	background-color: #919191;
	border-color: #444444;
	border-width: 2px;
	border-radius: 4px;
	font-size: 1em;
	font-family: sans-serif;
	cursor: pointer;
}

.downloadInfoText {
	display: inline-block;
	vertical-align: middle;
	margin-right: 100px;
	font-size: 1em;
	font-family: sans-serif;
	color: #331100;
}

.farbeText1 {
	color: #9ab200;
}

.farbeHintergr1 {
	background-color: #9ab200;
}

#farbfeldchenBsp1 {
	background-color: #9ab200;
	border: 2px solid #333;
}

#farbfeldchenBsp2 {
	background-color: #d89025;
}

#farbfeldchenBsp3 {
	background-color: #ffee00;
}

#farbfeldchenBsp4 {
	background-color: #3f72be;
}

#farbfeldchenBsp5 {
	background-color: #0000ff;
}

#farbfeldchenBsp6 {
	background-color: #b1b14b;
}

#farbfeldchenBsp7 {
	background-color: #99aaaa;
}

#farbfeldchenBsp8 {
	background-color: #331e00;
}

.alternatSchriftGr {
	z-index: 75; /* Zahl wird im Editor benötigt */
}



@media (max-width: 800px) {

	.absatz img {
		float: none;
		margin: 0 0 1em 0;
		/*width: 100%;*/
	}
	
	.kopfzeileClass2 {
		padding-left: 0;
		padding-right: 0;
	}
	
	#mittelteil {
		width: auto !important;
	}
	
	.fields {
		clear: left;
		margin-left: 0;
	}
	
}

@media (max-width: 480px) {

		
		
		.absatz.variante-2 .text {
			overflow: visible;
		}
		
		#menu {
			float: none;
			width: auto;
		}
		
		#menu li ul {
			display: block;
			max-height: 0;
			overflow: hidden;
			width: auto;
			position: static;
			-moz-transition: max-height 0.3s ease-in-out;
			-webkit-transition: max-height 0.3s ease-in-out;
			transition: max-height 0.3s ease-in-out;
		}
		#menu li.is-active > ul {
			max-height: 200px;
			text-decoration: none;
			color: #ffff00;
		}
		
		.textfeld {
			margin-left: 0;
		}
}