/* css released under Creative Commons License -  http://creativecommons.org/licenses/by/2.0/deed.en  */
/* html5 + CSS 3 Template created by miss monorom  http://intensivstation.ch 2013 */

/* reset */
* {
margin: 0;
padding: 0;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
/* render html5 elements as block 
   rendert html5 elemente als block  */

header, footer, section, aside, nav, article { display: block;}

body {
	/*background-color: #46bcfd;*/
	background-color: #01dbff;
	font-size: 1em; /*16px*/
	font-family: "Times New Roman", Times, serif;
	color: #FFCC99;
	margin: 0px 20px;
	background-image: url(images/bg.jpg);
	background-repeat: repeat-x;
	background-position: 0px 0px;
}

html{
-webkit-text-size-adjust: none;
}

a {
	color: #4467D3;
	text-decoration: none;
}/*#2F5AD3; #2C44B7*/
a:visited {color:#4467D3;}
a:hover {color: #aaa;}


h1{
	font-weight: normal;
	margin: 0px 0px 20px 0px;
	padding: 0px 0px 0px 0px;
	font-size: 1.3em;
	color: #fff;
	line-height: 1.2em;
}



/* --------container zentriert das layout---------- */
#container {
	position: relative;
	max-width: 1000px;
	min-width: 320px;
	margin: 20px auto 5px auto;
	background-color: #20364b;
}



/*----------bild----------*/
header {
	background-color: #222A32;
}

header p{
	font-size: 1.95em;
    margin: 0px 10px 0px 30px;
	padding: 20px 0px 12px 0px;
}

header a{color: #fff;}
header a:hover{color: #fff;}
header a:visited {color:#fff;}



/*----------nav----------*/
nav {
	float: right;
    width: 211px;
	margin: 0px 20px 0px 0px;
	padding: 9px 20px 0px 20px;
}

nav ul {
    padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	list-style-type: none;
	line-height: 1.5em; /*25px*/
	vertical-align:middle; 
	}

nav li {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}
	
	
nav a, a:visited {
	color: #fce8c3;
	text-decoration: none;
	display: block;
	/*border-bottom: 1px solid*/;
	/*border-color: #425073;*/
}
	
nav a:hover{
	display: block;
	/*background-color: #425073;*/
	color: #fff;
	text-decoration: none;
	}

nav li li a {
	font-weight: normal;
	color:#fce8c3;
	display:block;
	padding:0px 0px 0px 20px;
	margin:0px 0px 0px 0px;
}

nav a.navactpage {
	color: #fff;
	/*background-color: #425073;*/
	display: block;
}

/*----------text----------*/

article {
	margin: 0px 211px 0px 0px; /* 211px macht Platz für den<nav> */
	min-height: 560px;
	padding: 30px 40px 85px 30px;
    line-height: 1.3846em; /*18px*/
}

article a {color: #fce8c3;text-decoration: none;}/*#2C44B7*/
article a:visited {color:#fce8c3;}
article a:hover {color: #fce8c3;text-decoration: underline;}
		
article p {
	margin: 8px 0px 0px 0px;
	padding: 0px 0px 4px 0px;
	}
	
article ul {
	margin: 8px 0px 0px 18px;
	padding: 0px 0px 6px 0px;
	line-height: 1.3076em; /*17px*/
	left: 20px;
	}
	
article ul li{
	margin: 0px 0px 3px 0px;
	padding: 0px 0px 0px 0px;
	}
	
article img{
	float: left;
	margin: 10px 30px 15px 0px;
	padding: 0px 0px 0px 0px;
	}
	
article img{width: 60%; height: 60%;}
	
	
article table{
	margin-left: -3px;
}

iframe{border: none;
	width: 100%; 
	height: 270px;
	}




/*#iframe {border: none;
	width: 100%;}*/

/* -----------clearthefloats---------------- */
#clearthefloats {
    clear: both;
}


/* -----------footer#inner--------------------------- */
footer#inner {
	color:#999;
    clear: both;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 15px 30px;
	min-height: 5px;
}

footer#inner p{
	margin: 0px 0px 0px 0px;
	padding: 0px 20px 0px 0px;
	font-size: 0.846em; /*11px von 13px im body*/
	line-height: 1.5em;
}

footer#inner a, a visited{
	color: #aaa;
	text-decoration: none;
}
footer#inner a:hover {
	color: #ddd;
}


/*----------footer#outer----------*/
footer#outer {
    max-width: 1000px;
    min-width: 320px;
    margin: 10px auto 5px auto;
	padding: 0px;
	height: 20px;
}

footer#outer p{
	text-align: right;
    padding: 0px 152px 0px 0px;
	margin: 0px 0px 0px 0px;
	font-size: 0.8em;
}

footer#outer a, a visited{
	color: #5B719E;
	text-decoration: none;
}
footer#outer a:hover {
	color: #fff;
}


/* -----------always scrollbar------------------ */

html {overflow-y: scroll;}

/* -----------classes--------------------------- */
.kapitaelchen {font-variant: small-caps;}
.white {color: #fff;}
.underlineddotted {border-bottom: 1px dotted #656565;}
.morespace {
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-bottom: 10px;}
	

.smallerfont {font-size: 90%;}
.center {text-align: center;}
.notbold {font-weight: normal;}
.desktop-only {display: block;} 

.shadow { box-shadow: 0px 2px 15px #20364b; } 
.icons img {width: 4%; height: 4%;}
.WEISS {color: #fff;}

@media only screen and (max-width: 1000px) { 
article img{width: 65%; height: 65%;}
}

@media only screen and (max-width: 900px) { 
article img{width: 78%; height: 78%;}
}

@media only screen and (max-width: 800px) { 
article img{width: 90%; height: 90%;}
}

@media only screen and (max-width: 700px) { 
article img{width: 100%; height: 100%;}
}





@media only screen and (max-width: 800px) { 

body {margin: 0px 14px;}
#container {margin-top: 14px;}
article {padding-right: 30px;}
#image-portrait {width: 143px; height: 177px;}
}

@media only screen and (max-width: 700px) { 

body {margin: 0px 7px;}
#logo {height: 157px; padding-top: 35px;}
#container {margin-top: 7px;}
nav {width: 200px;}
article {padding-right: 20px;}
}

@media only screen and (max-width: 590px) { 

body {margin: 0px 0px;}
#container {margin-top: 0px;}
#image-portrait {width: 111px; height: 138px;}
nav {width: 190px;}
article {padding-right: 10px;}
}
	
/*geplant wäre max-width: 480px aber es gibt im Firefox 15px Differenz, darum max-width: 495px*/
@media only screen and (max-width: 480px) { 

body {
   margin: 0px;
}

#container {
	margin-top: 0px;
    min-width: 100%; 
}

header p{
    margin-left: 20px;
}

nav{
	margin: 0px 20px 0px 0px;
	padding: 9px 20px 0px 20px;
    width:100%;
} 

nav ul {
	line-height: 1.85em; 
	}


nav li {
    float: none;
    margin: 0px 0px 0px 20px;
    width:100%;
    display:block;
  } 
  
nav li li{
    margin: 0px 0px 0px 0px;
  }   
  

nav a {
	border-bottom: 1px dotted;
	border-color: #656565;2
}

article{
    float: left;
    margin: 0px 0px 0px 0px; 
	padding: 25px 15px 55px 20px;
	}	
	
#image-raum{
    width: 70%;
}

#image-portrait {
	float: right;
    width: 111px; 
	height: 138px;}	
	


footer#inner {
    min-width: 100%;   
	padding-left: 20px;
}

footer#outer {
    min-width: 100%;   
}


.desktop-only {display: none;} 



}
