* {
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
}

html {
	position: relative;
}

body {
	/*font: 1.2em 'Times New Roman', Times, serif;*/
	font: 1.2em Helvetica, Arial, Helvetic, sans-serif;
}

.clearfloat {
	clear: both;
}

div#wrapper {
	position: absolute;
	top: 150px;
	width: 100%;
	min-height:100%;
	margin:0 auto 50px; 
	height:auto !important;
}

h1 {
    color: #222;
	font-size: 1.6em;
    font-family: 'Kalam';
    text-align: center;
}

h2 {
	font-size: 1.3em;
    font-family: 'Kalam';
    text-align: center;
}

h3 {
	font-size: 1.3em;
}

h4 {
	font-size: 1.1em;
	margin-top: 10px;
	margin-bottom: 3px;
}

/* header */
header, nav, footer, aside, content, section {
    display: block;
}

header {
	position: fixed;
	width: 100%;
	z-index: 12345;
}

header div {
	width: 100%;
    background-color: #000;
}

header div#header-titel {
	border-top-right-radius: 20px;
}

.header-image {
	position: absolute;
	z-index: 1234;
	border: solid 2px #fff;
	border-radius: 5px;
	height: 120px;
}

#img-headerleft {
	left: 10px;
	top: 10px;
}

#img-headerright {
	right: 10px;
	top: 10px;
}

header h1 {
	display: block;
    color: #eee;
    text-align: center;
    font-family: 'Kalam', Arial, Helvetic, sans-serif, cursive;
    line-height: 38px;
    padding-top: 7px;
   	font-size: 1.7em;
}

header #header-name {
	width: 100%;
	min-height: 46px;
	padding-top: 5px;
    background: #ff0000; /* veraltetes Browser-Gelump */
    background: moz-linear-gradient(top, #000000 0%, #ff0000 20%, #ff0000 80%, #FFCC00 100%); /* FF3.6+ */
    /*background: webkit-gradient(linear, left top, left bottom, color-stop(0%,#000000), color-stop(20%,#ff0000),color-stop(80%,#ff0000). color-stop(100%,#FFCC00); */ /* Chrome,Safari4+ */
    background: webkit-linear-gradient(top, #000 0%, #ff0000 20%, #ff0000 80%, #FFCC00 100%); /* Chrome10+,Safari5.1+ */
    background: o-linear-gradient(top, #000000 0%, #ff0000 20%, #ff0000 80%, #FFCC00 100%); /* Opera 11.10+ */
    background: ms-linear-gradient(top, #000000 0%, #ff0000 20%, #ff0000 80%, #FFCC00 100%); /* IE10+ */
    background: linear-gradient(to bottom, #000 0%, #ff0000 20%, #ff0000 80%, #FFCC00 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#FFCC00',GradientType=0 ); /* IE6-9 */
}

header #header-name h2 {
	display: block;
    color: #000;
    width: 68%;
    margin-left: 14%;
   	text-align: center;
   	font-size: 1.6em;
   	line-height: 1.6em;
   	font-family: 'Kalam', Arial, Helvetic, sans-serif, cursive;
}


/* menues */
nav ul li {
	list-style-type: none;
	margin: 3px;
	padding: 6px;
	text-align: center;
}

nav ul li a {
	text-decoration: none;
	padding: 5px 6px;
	color: #000;
	font-family: Arial, Helvetic, sans-serif;
}

#menueoben ul li {
	float: left;
}

#menueoben:after {
	clear: both;
}

#menueoben div {
	width: 100%;
	min-height: 40px;
	background-color: #FFCC00;
	border-bottom: 5px white solid;
	border-bottom-left-radius: 20px;
}

#menueoben div ul { 
	margin-left: 120px;
}

#menueoben ul li a {
	border-radius: 8px;
	background-color: #ccc;
}

#menuelinks {
	width: 20%;
	height: auto;
	background-color: #fff;
}

#menuelinks > ul > li > a {
	display: block;
	width: 97%;
	margin: 3px auto;
	padding: 3px;
	text-align: center;
	background-color: #ccc;
	border-radius: 8px;
}

nav ul li ul li {
	margin: 3px 20px;
	padding: 0;
}

#menuelinks ul li ul li a {
	background-color: #ccc;
	display: block;
	width: 97%;
	padding: 3px;
	border-radius: 0px;
}

#menuelinks ul li ul li:last-child a {
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}


/* mittlerer teil */
#menuelinks, section, aside {
	padding: 0.5%;
}

#menuelinks, article, aside {
	/*display: table-cell; */
	float: left;
}

/* content */
div#content {
	position: absolute;
	/* display: table; */
	min-height: 1000px;
	width: 100%;
	padding-bottom: 30px;
}

article {
	width: 55%;
	background-color: #fff;
	padding-left: 15px;
}

article div{
	margin: auto;
}

/* rechte Spalte */
aside {
	width: 20%;
	height: auto !important;
	height: 100%;
	background-color: #fff;
	font-size: 0.7em;
}

/* im zentralen Content und in der rechten Spalte */
hr.violett {
	border: 1px solid #810081;
	margin: 2px;
	margin-right: 15px;
}

section .bilderrahmen {
	float: left;
	margin: 15px;
	border: solid 4px #ccc;
	border-radius: 5px;
	padding: 5px;
}

section .bilderrahmen a {
	display: block;
	margin: 0 auto;
}

section .bilderrahmen img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

section .bildertext {
	width: 100%;
	text-align: center;
	padding: 2px;
}

section .nobreak {
	white-space: nowrap;
	margin-right: 5px;
	float: left;
}

section.border_black {
	border: 2px solid #000;
}

/* Footer */
footer {
	height: 1.2em;
	width: 100%;
	position: fixed;
	bottom: 0px;
	background-color: #ccc;
	border-top: 5px white solid;
	text-align: center;
	padding: 0.3em;
	font-size:0.6em;
}

.mobile, #mobile_nav {
	display: none;
}

.header-text .desktop{
	display: inline;
}
.header-text .mobile{
	display: none;
}



/* Tablets, Phablets, Smarthphones */
@media only screen and (max-width: 1199px) {
	/* mobiles Menü, Inhalte nur 2 Spalten */
	.header-image {
		margin-top: 40px;
		height: 80px;
	}

	#menueoben div ul { 
		margin-left: 80px;
	}
}

/* Phablets, Smarthphones */
@media only screen and (max-width: 999px) {
	header {
		position: absolute;
	}

	h1, header h1 {
  		font-size: 20px;
  	}

  	h2, header #header-name h2 {
  		font-size: 19px;
  	}

  	#mobileNavToggle {
  		cursor: pointer;
  	}

	#menueoben div ul.desktop {
		display: none !important;
	}

	ul.mobile, #menueoben ul.mobile {
		display: block !important;
	}

	nav > ul > li {
		padding: 0;
	}

	#menuelinks {
		display: none;
	}

	#mobile_nav {
		position: relative;
		display: block;
		
	}

	#mobile_nav > ul {
		display: none;
	    list-style-type: none;
	    position: absolute;
	    left: 0;
	    right: 0;
	    margin-left: auto;
	    margin-right: auto;
	    text-align: center;
	    background-color: #ccc;
	    z-index: 34567;
	    max-width: 500px;
	}

	nav#mobile_nav ul li {
	    display: block;
	    margin: 0 5px;
	    padding: 5px 0;
	    border-bottom: solid 1px #810081; 
	}

	#menue_close_btn {
		height: 26px;
	}

	#menue_close_btn div {
  		display: block;
  		background-color: #ffcccc;
  		border: solid 1px #ff3333;
		border-radius: 17px;
		position: absolute;
		padding: 4px 10px;
		top: 2px;
		right: 2px;
		cursor:pointer;
  	}

	nav#mobile_nav ul li ul {
	    border-top: solid 1px #810081; 
	    margin: 5px 20% 0;
	}

    nav#mobile_nav ul li:last-child {
      	border-bottom: none; 
  	}

	nav#mobile_nav a {
	    display: block;
	    color: black;
	    padding: 10px 30px; 
	}

	nav#mobile_nav > ul > li > a {
		font-weight: bold;
	}

    nav#mobile_nav a:hover {
      background-color: #fff;
      color: #333; 
    }

	article {
		width: 75%;
		padding-left: 3px;
	}
}

/* Smarthphones */
@media only screen and (max-width: 768px) {
	/* mobiles Menü, Inhalte nur 1 Spalte */
	.header-text .desktop{
		display: none;
	}
	.header-text .mobile{
		display: inline;
	}

	article, aside {
		width: 96%;
		padding-left: 2%;
	}

	
}

@media only print {
  body {
    width: 100%;
    font: 1em 'Times New Roman', Times, serif;
  }

  header {
  	position: absolute;
  	z-index: none;
  }

  nav, aside {
  	display: none !important;
  }

  article {
  	width: 100%;
  	margin-top: 200px;
  }

  h1, header h1 {
  	font-size: 18px;
  	color: #000;
  }

  h2, header #header-name h2 {
  	font-size: 16px;
  	color: #000;
  }

  h3 {
  	font-size: 14px;
  }

  h4 {
  	font-size: 12px;
  	font-weight: bold;
  }

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