
body{
	font-size: 10px;
	/*color: #434343;*/
	margin: 0;
	padding: 0;
	font-family: 'Yanone Kaffeesatz', /*Helvetica,*/ sans-serif;
}

body,h1,h2,h3,p{
	color: #09445F;
}



div#top p{
	font-size: 2em;
	font-weight: 300;
	margin: 0;
	padding-bottom:0.4em;
}


@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}	

@media (min-width: 48em) {
body{
	/*background-color: #4C839A;*/
	background-image: url("../img/regal.png");
	background-repeat: repeat;
	position:absolute;
	width:100%;
	min-height:100%;
	min-width: 50em;
}


div#top, div#quote{
	background-color: #fefff4;
	padding: 3em 0 0 0;
	text-align: left;
	width: 100%;
}


div#top{
	height: 20em;
	padding:  3em 15% 0 15%;
	width: 70%;
}


nav,footer{
	color: #fefff4;
	text-align: center;
	background-color: #104E7E;
	width:  100%;/*
	margin: 20px auto 0 auto ;*/
	padding: 0.2em 0 0.2em 0;	
	text-align: center;
	clear: both;
}

div#quote{
	background-color: #FFF;
	border-bottom: 0.5em solid #101072;
	font-size: 2.8em;
	font-family: Georgia, serif;
	margin-bottom: 1em;
	padding: 0.1em 1em 1em 0.1em;
	text-align: center;
	}

.mainphoto{
	background-color: #000;
	/*background-image: url("../img/werdegang.jpg") ;*/
	background-image: url("/img/welcome.jpeg");
	background-repeat: no-repeat;
	background-position:center bottom;
	background-size: 80em auto;
	border-top: 0.1em solid #101072;
	height: 50em;
	margin-right: auto;
	margin-left: auto;
	/*margin-bottom: 80px; /* needed to preserve footer distance *!/*/
	width:100%;
	/*width: 100%;*/
/*	<img  src="img/werdegang.jpg" width="800" />*/
}
.largephoto img{
/*	max-height: 300px;*/
	max-width: 120em;
	width: 100%;
}

.articlephoto img{
 	width: 20em;
 	clear: left;
 	float: right;
 	margin: 0;
/* 	margin: 2em 0 2em 2em;*/
 	padding: 0;
}

img.headphoto{
	float: left;
	clear: both;
	margin-left: 10%;
	margin-right: 3%;
	width: auto;
	height: 18em;
}

nav{
	border-bottom: 0.5em solid #101072;
		font-size: 1.6em;
}

nav ul li{
	/*background-color: #09445F;*/
	display: inline;
	list-style-type: none;

}



nav ul li a{
	text-decoration: none;
	color: #fefff4;
	padding: 1.2em 2em 1.2em 2em ;
/*	border: 1px solid #333;
	border-radius: 0 0 15px 15px;*/
	}

nav ul li a:hover{
	background-color: #fefff4;
	color: #587b8b;
	border-radius: 0 0 1.5em 1.5em;
	
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 0.5s;
}

article{
	/*background-color: #FAF6F0;*/
	font-weight: 300;
	margin-right: auto;
	margin-left: auto;
    margin-bottom: 5em;

	background-color: #FFFFFF;
	border-left: 0.1em solid #101072;
	border-right: 0.1em solid #101072;
	border-bottom: 0.1em solid #101072;
	padding: 4em;
	min-width: 50em;
	max-width: 100em;
	top: 0;
	width: 70%;
	overflow: auto;
}

article p{
	font-size: 2em;
	line-height: 1.5em;
}

article li{
	font-size: 2em;
	line-height: 1.1em;	
	margin: .6em;
}



h1 a{
	color: #101072;
	display: block;
	/*color: #587b8b;*/
	font-family: Times, Georgia, serif;
	font-size: 2.4em;
	font-weight: 200;
	margin: 10px 0 0 0;
	opacity:0.8;
	width: 100%;
	padding: 0;
	text-decoration: none;	
	text-align: left;
}
head p{
	font-weight: 200;
	font-family: 'Yanone Kaffeesatz', /*Helvetica,*/ sans-serif;
	margin: 0;
	padding: 0;
}

h2{
	font-size: 3em;
	font-weight: 300;	
	color:  #54015c;
	margin: 1em 0 0 0;
	width:  100%;
	border-bottom: 1px dotted #101072;
}

h3{
	font-weight: 300;
	font-size: 2em;
	font-weight: normal;
	margin: 2.5em 0 0 0;
	text-align: center;
}
 
/* Table layouts */
table{
	width:  100%;
	margin: 1em auto 1em auto;
 	border-bottom: 0.2em solid #001F28;
 	border-top: 0.2em solid #001F28;	 
 	font-size: 1.8em;
 	text-align: center;
}

th{
 	border-bottom: 0.1em solid #000;
 	padding: 0.5em;
}

tr{
	width: 33%;
 	padding: 1em;
}

td{
	padding: 0.2em;
}

.indent{
	text-indent: -6em;
	padding-left: 6em;
}

footer{
	border-top: 5px solid #101072;
	bottom: 0!important;
	position: absolute;
	top: auto;
	margin: 0;
	font-size: 1.6em;
	
}
/*#DE a:hover,#EN a:hover{
border-radius: 30px;
border: 3px solid #104E7E;
/*background-size: 50px auto;*!/
}*/
#DE, #EN{
	right: 2em;
	top: 15.3em;
	}

}


@media only screen {
	
footer p, footer p a{
	color: #fff;
	text-decoration: none;
}

footer p a:hover:before{
	content: "\00bb\00a0";
}
footer p a:hover:after{
	content: "\00a0\00ab";
}




#DE, #EN{
	position: absolute;
	width: 2em;
	display: block;
}



/*#DE a,#EN a{
	padding: 1.5em;
	background-repeat: no-repeat;
	background-position:center center;
	background-size: 5em auto;
	font-size: 0px;
	border-radius: 3em;
	border: 0 solid #fff;
}
*/


#DE a,#EN a{
	float: left;
	padding: 15px;
	background-repeat: no-repeat;
	background-position:center center;
	background-size: 65px auto;
	font-size: 0px;
	border-radius: 30px;
	border: none;
	margin: 0;
	background-position: -22px -1px;
}


#DE a{
	/*float: right;*/
	background-image:url(/img/de-en_m.png);	
}

#EN a{
	/*float: right;*/
	background-image:url(/img/en-de_m.png);	
}

#DE a:hover{
	/*float: right;*/
	background-image:url(/img/de_m.png);	

}

#EN a:hover{
	/*float: right;*/
	background-image:url(/img/en_m.png);	
}


#DE a:hover, EN a:hover{
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 0.5s;
}


label{
		display: none;
		visibility: hidden;
}

}

@media only screen and (max-width: 48em){

div#top, div#quote{
	background-color: #fefff4;
	border-bottom: 0.5em solid #101072;
	width: 100%;
	text-align: left;
	padding: 3em 0 0 0;
	/*padding: 100px 30px 30px 30px;*/
}


nav,footer{
	color: #fefff4;
	background-color: #104E7E;
	width:  100%;
	/*margin: 20px auto 0 auto ;*/
	padding: 0.2em 0 0.2em 0;	
	text-align: center;
	font-size: 2em;
}


div#quote{
	background-color: #FFF;
	font-size: 2em;
	font-family: Georgia, serif;
	padding: 0.1em 0 0 0;
	border-bottom: 0.2em solid #101072;
	margin:0;
	text-align: center;
	
}


.largephoto img{
/*	max-height: 300px;*/
	max-width: 120em;
	width: 100%;
	margin: 0!important;
}

img.headphoto{
	float: left;
	clear: both;
	margin-left: 6%;
	margin-right:4%;
	max-width: 8em;
	height: 11em;
}

.mainphoto{
	background-color: #000!important;
	min-width:  20em;
	max-width:  60em;
	width: 100%;
	margin: 0 auto;
	padding: 0 0;
	height: 40em;
	background-image: url("../img/welcome.jpeg") ;
	background-repeat: no-repeat;
	background-position:center bottom;
	background-size: 100% auto;
	border-top: 0.2em solid #101072;
/*	<img  src="img/werdegang.jpg" width="800" />*/
}


nav ul{
	padding: 0;
	font-size: 1.0em;
	margin:0 ;
}
nav ul li{
	/*background-color: #09445F;*/
/*	display: inline;*/

	list-style-type: none;
	/*padding: 1em 1em 1em 1em;*/
	border-bottom: .1em solid #333;

}



nav ul li a{
	text-decoration: none;
	color: #fefff4;
	padding: 1em 0;
	width: 100%;
	display: block;
/*	border: 1px solid #333;
	border-radius: 0 0 15px 15px;*/
	}


nav ul li a:hover{
	background-color: #fefff4;
	color: #587b8b;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 0.5s;
	
	
}

article{
	/*background-color: #FAF6F0;*/
	font-weight: 300;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 2em; /* needed to preserve footer distance */
	background-color: #FFFFFF;
	padding: 0 3em;
	top: 0;
	overflow: auto;
	
}

article p{
	font-size: 2em;
	line-height: 1.5em;
}

article li{
	font-size: 2em;
	line-height: 1.1em;	
	margin: .6em;
}



h1 a{
	color: #101072;
	/*color: #587b8b;*/
	/*filter:alpha(opacity=40);*/
	font-family: Times, Georgia, serif;
	opacity:0.8;
	width: 100%;
	display: block;
	padding: 0;
	margin: 0;
	font-weight: 300;
	font-size: 1.6em;	
	text-decoration: none;	
	text-align: left;
}
head p{
	font-weight: 200;
	font-family: Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 0;
			font-size: 2em;
			
}

h2{
	font-size: 2.6em;
	font-weight: 300;	
	color:  #54015c;
	margin: 1em 0 0.2em 0;
	width:  100%;
	border-bottom: 2px dotted #101072;
}

h3{
	font-weight: 300;
	font-size: 2em;
	font-weight: normal;
	margin: 2em 0 0 0;
	text-align: center;
}
 
/* Table layouts */
table{
	width:  100%;
	margin: 1em auto 1em auto;
 	border-bottom: 2px solid #001F28;
 	border-top: 2px solid #001F28;	 
 	font-size: 1.8em;
 	text-align: center;
}

th{
 	border-bottom: 1px solid #000;
 	padding: 0.5em;
}

tr{
	width: 33%;
 	padding: 1em;
}

td{
	padding: 0.2em;
}

.indent{
	text-indent: -6em;
	padding-left: 6em;
}

footer{
	border-top: 0.5em solid #fefff4;	
}

footer p{
	color: #fff;
}


#DE, #EN{
	right: 5%;
	top: 0.5em;
	text-decoration: none;
	border: none;
	border-radius: 2em;
}	


#DE a,#EN a{
	background-position: 0 -1px;

}

