/* reset browser stettings */
/*html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0; }img { border: none; }table { border-collapse: collapse; border-spacing: 0; }form { margin: 0px; } */

/* Schrift 
Montserrat; Licence: SIL Open Font License v1.10 
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
*/
/*@font-face { 
	font-family: "myfont";
	src: url("Montserrat-Regular.otf");
	font-family: arial, helvetica, tahoma ,verdana, sans-serif;
} */

/* Basisdefintion Schrift */
html, body {
    font-family: arial, helvetica, verdana, sans-serif;
	font-weight: normal;
	font-size: 10pt;
	margin:0;
	padding:0;
	height:100%;

	/*background-image: url('images/background.png');
	background-repeat: repeat-x;
	background-color: #f1eee9;*/
	background-position: top;
	
	}

/* Schriftgrößen für unterschiedliche Ausgabebreiten 

@media (max-width:500px) {
	body {font-size: 2.6vw;}
}
@media (min-width:501px) and (max-width:1000px) {
	body {font-size: 2.8vw;}
}
@media (min-width:1001px) {
	body {font-size: 3vw;}
}
*/ 


@media (orientation: portrait) {
	#container {
	   min-height:100%;
	   position:relative;
	   width: 100%;
	   background-color: #fff;
	}
}
@media (orientation: landscape) {
	#container {
	   min-height:100%;
	   position:relative;
	   width: 76%;
	   margin-left: 12%;
	   box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	}
}

/* 
===========================
Header und Hintergrundbild	
===========================
 */
#header {
    background:#fff;
    padding:0px;
    background-image: url('images/header.jpg');
    background-position: center center;
    background-size: cover;
	text-align: center;
    height: 300px;
}
#headerlogo {
    background-image: url('images/Logo.png');
    /*background-size: cover;*/
	background-repeat: no-repeat;
	text-align: center;
    height: 150px;
}
#header h1 {
	display: inline-block;
	padding: 5px;
	color: #fff;
	font-weight: bold;
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
	margin-top: 50px;
	font-size: 2.5em;
	}
	
/* 
===================
Navigationsmenü	
===================
 */	
#menu{
	padding: 0px;
	background-image: url('images/menutrans.png');
	background-position: center center;
	background-size: cover;
	text-align: center;
	border-top: 2px solid #ebc96f;
	border-bottom: 2px solid #ebc96f;
}

#menu #nav  {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 0;
}
#menu #nav li {
	display: inline-block;
	padding-left: 5px;
	padding-right: 5px;
}
#menu #nav a {
	font-size: 13pt;
	font-weight: normal;
	display: inline-block;
	padding: 5px 15px 5px 15px;
	text-decoration: none;
	color: #000;
	transition: color .25s ease-in;
	text-align: center;
	}
#menu #nav a:hover {
	color: #FA9632;
	transition: color 0.05s;
	background-color: #fff;
	transition: background-color 0.05s;
}

/* 
===================
Content der Seite	
===================
 */
#main {
    padding:0px;
    padding-bottom:50px;   /* =height_of_footer */
	background-color: #fff;
}
#mtext {
	padding: 15px 15px 15px 15px;
}			
#mtext h1,#mtext h2,#mtext h3 {
	display: inline-block;
	line-height: 1.2em;
	color: #FA9632;
	/*border-bottom: 1px solid #FA9632;*/
	margin-bottom: 0.5em;
}			
#mtext h1 { font-size: 18pt;}
#mtext h2 { font-size: 14pt;}
#mtext h3 { font-size: 13pt;}
#mtext p { 
	font-size: 11pt; 
	padding: 0px 0px 2px 0px;
	font-family: verdana, arial, sans-serif;
	}

#mtext .small {
	font-size: 8pt;
}	

#mtext ul {
	margin-left: 20px;
	list-style-type: circle;
	font-family: verdana, arial, sans-serif;
	margin-bottom: 1em;
}

#mtext ulre {
	list-style-type: circle;
	font-family: verdana, arial, sans-serif;
	margin-bottom: 1em;
}
	
#mtext li {
    font-size: 10pt;
}
	
#mtext a {
	color: #FA9632;
	text-decoration: none;
}
#mtext a:hover {
	text-decoration: underline;
}
/*============== 
BOX, BOXR und BOXC
================*/
#mtext #box:hover, #mtext #boxr:hover {
	/*background-color: #FDDEBF;*/
}

#mtext #box, #mtext #boxr {
	display: block;
	padding: 0px 0px 2px 0px;
}
#mtext #boxl img {
	float: left;
	width: 45%;       /*25%*/
	min-width: 150px; /*125px*/
	max-width: 500px; /*250px*/
	padding: 0px 10px 0px 0px;
}
#mtext #boxr img {
	float: right;
	width: 45%;
	min-width: 150px;
	max-width: 500px;
    padding: 0px 0px 0px 10px;
}

#mtext #boxfr img {
	float: right;
	width: 25%;
	min-width: 125px;
	max-width: 300px;
    padding: 0px 0px 0px 10px;
}

#mtext #boxfl img {
	float: right;
	width: 45%;
	min-width: 125px;
	max-width: 500px;
    padding: 0px 10px 0px 0px;
}

#mtext #boxsl img {
	float: left;
	width: 25%;       /*25%*/
	min-width: 125px; /*125px*/
	max-width: 250px; /*250px*/
	padding: 0px 10px 0px 0px;
}

#mtext #boxc img {
	float: center;
	width: 45%;
	min-width: 150px;
	max-width: 500px;
    padding: 0px 10px 0px 10px;
}

#mtext #boxcb img {
	float: center;
	width: 85%;
	min-width: 150px;
	max-width: 900px;
    padding: 0px 10px 0px 10px;
}
	
			
/* 
===================
Footer	
===================
 */
#footer {
    position:absolute;
    bottom:0;
    width:100%;
    height:60px;   /* height_of_footer */

	background-image: url('images/buttonleiste2.jpg');
	background-position: center center;
	background-size: cover;
	
	
}
#footer #ftext  {
	font-size: 9pt;
	text-align: center;
	height: 45px; /* height + margin-top = height_of_footer*/
	margin-top: 15px;
}