/* erstellt von Gerhard Rank - grhelp@web.de */

/* 	Farbcodes aus Wappen Neuharlingersiel
		Blau:		#0000FE;		fast reine Blau
		Gelb-Grün: 	#dedd08;
	 	Farbcodes aus Wappen Samtgemeinde Esens
		Blau:		#0f47af;		dunkles Blau
		Gelb: 		#ffd200;
	 	Farbcodes aus Wappen Landkreis Wittmund
		Blau:		#0645b0;
		Gelb: 		#fcde02;
		Farbcodes aus Wappen Niedersachen
		Weiß: 		#ffffff
		Rot:		#de0000
		
		Hintergrund Body:	#aaaaff
*/

header
{
	display: flex;	
	flex-flow: row ;
	background-image:url('../media/bg_header.png');  	
 	background-size: cover;
 	background-position: center;
	justify-content: space-between;
	align-items: center;
 	border: 5px solid;
 	border-color: #ffff00;
 	border-radius: 5px;
 	color: #080808;
 	margin: 10px;
 	padding: 10px;
}


body
{
	background-color: #0f47af;
 	color: #080808;
 	border: 5px solid;
 	border-color: #ffff00;
 	border-radius: 5px;
 	margin: 10px;
 	padding: 10px;
}

main
{
	background-color: #bbccff;
 	color: #080808;
	background-image:  url('../media/background.png');  	
 	background-repeat: no-repeat;
 	background-position: center;
 	border: 5px solid;
 	border-color: #ffff00;
 	border-radius: 5px;
 	margin: 10px;
 	padding: 10px;
}

footer
{
	background-color:#bbccff;
	color: #dedd08; 
	font-size: large;
	padding: 10px;
	margin: 10px;
	border-radius: 5px;
	border: 5px #dedd88 solid;
}

img
{
 	background-color: #0000FE;
	height:	auto;
	min-width: 300px;
	max-width: 80%;
	object-fit: contain;
	border-radius: 5px;
	border: 5px #dedd88 solid;
	padding: 10px;
}

img:hover
{
	transform: scale(1.25);
}

#container 
{
	display: flex;
	justify-content: space-around;
	border: 10px;
	padding: 10px;
	flex-wrap: wrap;
}

#container div 
{
	min-height: 20px;
	justify-content: center;
	overflow: visible;
	padding: 10px;
	border: 10px;
	flex: 1 1 400px;
	flex-wrap: wrap;
}
 
#container > div:nth-child(1) 
{
	padding: 10px;
}
 
#container > div:nth-child(2) 
{
	padding: 10px;
}
 
#container > div:nth-child(3) 
{
	padding: 10px;
}

#container > div:nth-child(4) 
{
	padding: 10px;
}
 
h1, h2, h3, h4, h5, h6, p, a, ul, li
{
	font-family: "open sans", sans-serif;
	line-height: 150%;
	padding-left: 10px;
	padding-right: 10px;
}

h1 
{
	font-size: 200%;
	text-decoration: underline;
	padding-top: 60px;
}

h2 
{
	font-size: 175%;
	font-weight: bold;
	text-decoration: underline;
	padding-top: 50px;
}
	
h3 
{
	font-size: 150%;
	font-weight: bold;
	text-decoration: none;
	padding-top: 40px;
}
	
h4 
{
	font-size: 135%;
	font-weight: bold;
	text-decoration: underline;
	padding-top: 30px;
}
	
h5 
{
	font-size: 120%;
	font-weight: bold;
	text-decoration: underline;
	padding-top: 20px;
}
	
h6 
{
	font-size: 110%;
	font-weight: bold;
	text-decoration: underline;
	padding-top: 10px;
}
	
p, ul, li 
{
	font-size: 125%;
	line-height: 140%;
}

p
{
  	font-size: 125%
}
	
a 
{
	font-size: 110%;
	font-weight: bold;
	text-decoration: underline;
	line-height: 140%;
	color: #5555FF;
	background: ffffff; 
}
	
a:hover 
{
	color: #ffffff;
	background-color: #5555FF;
	font-weight: bold;
}

header h5
{
	margin: 0px
	padding: 0px;
	text-align: right;
	color: #ffff00;
}

nav 
{
  	box-sizing: border-box;
  	float: left;
  	background: #0000fe;
  	font-size: 90%;
  	opacity: 0.9;
	 	border: 5px solid;
	 	border-color: #ffff00;
	 	border-radius: 5px;
  	margin: 2px;
  	padding: 2px;
}

nav ul 
{
  margin: 0;
  padding: 0;
}
 
nav a 
{
  display: block;
  color: #ffffff;
  text-decoration: none;
}

nav ul li 
{
  font-size: 90%;
  position: relative;
  float: left;
  list-style: none;
}
 
nav ul li:hover 
{
	font-weight: bold;
	background: #4096ee;
}
 
nav ul li a 
{
    padding: 10px;
}

nav ul ul 
{
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: #0000fe;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}
 
nav ul ul li 
{
  float: none;
  width: 400px;
  border-bottom: 1px solid #555555;
}
 
nav ul ul li a 
{
  padding: 10px 10px;
}

nav ul li:hover > ul 
{
  top: 100%;
  left: 0;
}

nav ul ul li:hover > ul 
{
  top: 0;
  left: 200px;
}

nav ul li.submenu > a:after 
{
  position: relative;
  float: right;
  content: '';
  margin-left: 2px;
  margin-top: 2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #fff;
  border-bottom: 5px solid transparent;
}

nav ul ul li.submenu a:after 
{
  margin-left: auto;
  margin-right: -10px;
  border-left: 5px solid #ffffff;
  border-right: 5px solid transparent;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

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

