@charset "UTF-8";

body {
	display: flex;
	flex-flow: row wrap;
	background-color: #FFFFCC;
	font-family:   Arial, Verdana, Helvetica, sans-serif;
	font-size: 18pt;
}

a:link{
	color: #379181;
	text-decoration: none;
	}

a:visited{
	color: #379181;
	text-decoration: none;
	}

img{
	border: 0pt;
	margin: 15px;
	}

hr{
	background-color: #379181;
	height: 1px;
	margin-top: 20px;
	margin-bottom: 30px;
	width: 75%;
	margin-left: auto;
	margin-right: auto;
	}

h1{
	font-size: 1.6em;
	font-weight: bold;
	color: #379181;
	margin-top: 10px;
	margin-bottom: 5px;
}

h2{
	font-size: 1.4em;
	font-weight: bold;
	color: #379181;
	margin-top: 9px;
	margin-bottom: 5px;
	margin-left: 5px;
}

p{
	margin-top: 5px;
	margin-bottom: 5px;
	}

#m5 {
	margin-left: 5px;
	}

#mitte {
	text-align: center;
}

#links {
	text-align: left;
}

#rechts {
	text-align: right;
}

.head2{
	margin-left: 50px;
	margin-top: 15px;
}

.top {
	/*max-width: 320px;
	max-height: 500px;*/
	width: 100%;
	margin: auto;
	font-size: 2em;
	justify-content: center;
	align-items: center;
}

.nav {
	/*max-width: 320px;
	max-height: 500px;*/
	margin: auto;
	margin-top: 25px;
	display: flex;
	flex: 1 100%;
	flex-flow: row wrap;
	font-size: 1.2em;
}

.navi{
	/*bottom: 194px;*/
	/*width: 200px;*/
	width: 300px;
	height: 55px;
	padding: 3px;
	border-top-width: 1px;
	border-top-color: #37918F;
	border-top-style: solid;
	border-left-width: 1px;
	border-left-color: #37918F;
	border-left-style: solid;
	border-radius: 10px 0px 0px 0px;
	margin: auto;
	display: flex;
	justify-content: flex-start;
}

.navi1{
	/*bottom: 194px;*/
	/*width: 200px;*/
	width: 300px;
	height: 55px;
	padding: 3px;
	margin: auto;
	color: #FFFFCC;
	text-align: center;
	background-image: url("images/navbg1.png");
	background-repeat: no-repeat;
	border-radius: 10px 0px 0px 0px;
	display: flex;
	justify-content: space-around;
}
	
#navimg {
	padding: 5px;
	background-color: #FFFFCC;
	border-bottom-width: 1px;
	border-bottom-color: #37918F;
	border-bottom-style: solid;
	border-right-width: 1px;
	border-right-color: #37918F;
	border-right-style: solid;
	border-radius: 0.3em;
}

#menu {
	position: fixed; bottom:15%; right: 0%;
}

#pict5 {
	float: left;
}

/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */

.aside {
	/*border-radius: 0px 0.5em 0.5em;
	border: 1px solid;*/
	padding: 10px;
	/*flex: 1 100%;*/
	/*flex-wrap: wrap;*/
	display: flex;
	align-items: center;
	margin: auto;
	color: #379181;
}

.article {
	padding: 10px;
	margin: 10px;
	margin-top: 25px;
	text-align: left;
	flex: 1 100%;
}

/*aside {
	background: #ebf5d7;
	border-color: #8db243;
}*/

.footer {
	padding: 10px;
	margin: 10px;
	flex: 1 100%;
	background: #e4ebf2;
	border-color: #8a9da8;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
}

@media all and (max-width: 1440px) {

	.article {
		font-size: 2em;
	}
	
	.nav {   
    flex-direction: column;
  }
 }

/* Smart Phones und Tablets mit mittlerer Auflösung */

@media all and (min-width: 1024px) {

	.aside {
		/* durch auto werden die beiden asides in eine Zeile gesetzt */
		
		flex: 1 1 auto;
		order: 1;
	}
	
	.nav {
		order: 2;
	}
	
	.article {
		order: 3;
	}
	
	.footer {
		order: 4;
	}
  }

/* Large screens */

@media all and (min-width: 1920px) {
	
	.aside {
		flex: 1 1 0%;
	}

	#news {
		order: 2;
		/*align-self: center;
		height: 120px;*/
	}
  }