/* 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 */
*{
  box-sizing:border-box;
  -moz-box-sizing:border-box; /* Firefox */
  -webkit-box-sizing:border-box; /* Safari */
  padding: 0;
  margin: 0;  
}

/* render html5 elements as block 
   rendert html5 elemente als block  */

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

body {
	background-color: #efece8; /* #CEDCE8 #AFCDD6 #D5E2F1*/
	font-size: 0.9375em; /*15px*/
	font-family: Arial, Helvetica, sans-serif;
	color: #66635D;
}

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

a {
	color: #3264a5;
	text-decoration: none;
}
a:visited {
	color: #3264a5;
}
a:hover {
	color: #3264a5;
	text-decoration: underline;
}


#logo p {
	font-size: 1.266em; /*19px rel zu 15px im body*/
	color: #fff;
	line-height: 0.85em;
}

#logo-iphone p {
	font-size: 1.266em; /*19px rel zu 15px im body*/
	color: #fff;
	line-height: 0.85em;
}




h1{
	font-size: 1.07em; /*15px rel zu 14px im body*/
	color: #3264a5;
	font-weight: normal;
	margin: 14px 0px 0px 0px; 
	padding: 0px 0px 10px 0px;
}
h2 {
	font-size: 1em; /*15px rel zu 14px im body*/
	color: #3264a5;
	font-weight: normal;
	margin: 14px 0px 0px 0px; 
	padding: 0px 0px 0px 0px;

}



/* --------container zentriert das layout---------- */
#container {
	position: relative;
	max-width: 1000px;
	min-width: 480px;
	margin: 20px auto 0px auto; 
	padding: 0px 0px 0px 0px;
	background-image: url(images/bg-nav-long.png);
	background-position: 0px 163px;
	background-repeat: repeat-x;
	background-color: #fff;
}


/*----------bild----------*/
header {
	position: relative;
	height: 157px;
	background-color: #d0c6bc;
}

#header-img {
	margin-left: 260px;
	border-left: 6px solid #fff;
	border-right: 6px solid #fff;
	width: 62%;
	height: 100%;
	background-image: url(images/kaktusbluete.jpg);
	background-position: center;
	background-repeat: no-repeat;
}

header a {
	color: #fff;
	text-decoration: none;
}
a:visited {
	color: #fff;
}
a:hover {
	color: #fff;
	text-decoration: none;
}

/*----------logo----------*/
#logo {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 260px;
	height: 157px;
	margin: 0px 0px 0px 0px;
	padding: 73px 0px 0px 27px;
	background-color: #a1978e;
	}
	
	
#logo-iphone {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 260px;
	height: 100px;
	margin: 0px 0px 0px 0px;
	padding: 35px 0px 0px 27px;
	}



/*----------nav----------*/
nav {
	float: left;
	width: 260px;
	margin: 6px 0px 0px 0px;
	padding: 29px 0px 0px 0px;
}

nav ul {
    padding:0px 0px 0px 10px;
	margin:0px 0px 0px 0px;
	list-style-type: none;
	line-height: 2em; /*ca. 26px*/
	vertical-align:middle; 
	}
nav ul ul{
	margin: 0px 0px 0px 10px;
	padding: 0px 0px 3px 0px;
	font-size: 90%;
	line-height: 1.8em; /*ca. 23px*/
	font-weight: normal;
}

nav a, a:visited {
	color:#fff;
	text-decoration:none;
	display:block;
	padding:0px 0px 0px 20px;
	margin:0px 0px 0px 0px;
}
	
nav a:hover{
	color: #c6deff;
	text-decoration: none;
	}

nav a.navactpage {
	color: #c6deff;
}

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

#content {
	margin: 0px 0px 0px 260px; /* 260px macht Platz für den<nav> */
	min-height: 460px;
	padding: 0px;
    line-height: 1.3846em; /*18px*/
	background-color: #fff;
}

#content a {color: #3264a5;text-decoration: none;}/*#2C44B7*/
#content a:visited {color:#3264a5;}
#content a:hover {color: #3264a5; text-decoration: underline;}

article {
    margin: 0px 0px 10px 0px;
	padding: 20px 48px 35px 30px;
/*	border: 1px solid blue;
*/}
article p {
	margin: 6px 0px 0px 0px;
	padding: 0px 0px 4px 0px;
	}
	
article ul {
	margin: 6px 0px 0px 18px;
	padding: 0px 0px 10px 0px;
	line-height: 1.3076em; /*17px*/
	left: 20px;
	}
	
article ul li{
	margin: 0px 0px 3px 0px;
	padding: 0px 0px 0px 0px;
	}
	
article img{
	float: right;
	/*margin: 20px 0px 20px 20px;*/
	margin: 0px 0px 10px 20px;
	}
	
article table{
	margin-left: -3px;
}

#imagespace{
	float: right;
	padding: 0px 3px 0px 3px;
	margin: 0px 0px 0px 0px;
	width: 40%;
}

#imagespace img {width: 100%;}


#image-portrait {
	margin: 0px 0px 10px 20px;
	float: right;
	width: 40%; 
    }

#image-portrait img {width: 100%; height: 100%;}

#iframe-for-map {width: 280px; height: 280px;}


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


/*----------footer----------*/
footer {
	max-width: 1000px;
    min-width: 480px;
    margin: 10px auto 40px auto;
	padding: 0px;
	height: 20px;
	font-size: 0.78em;
/*	border: 1px solid red;
*/}

footer p{
	color: #777;
    padding: 0px 30px 10px 30px;
	margin: 0px 0px 0px 260px;
}

footer a {color: #3264a5;text-decoration: none;}/*#2C44B7*/
footer a:visited {color:#3264a5;}
footer a:hover {color: #3264a5; text-decoration: underline;}




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

html {overflow-y: scroll;}

/* -----------classes--------------------------- */

.smallerfont {font-size: 65%; margin-left: 70px; letter-spacing: 2px;}
.indent {text-indent: 20px;}
.shadow { box-shadow: 0px 2px 10px #a1978e; } 
.iphone-only {display: none;}
.desktop-only {display: block;}

/* -----------for-WebYep7.2-------------------- */
img.WebYepAttachmentIcon {float:left; position:relative; width:14px; height:auto; top:4px; margin:0 5px 0 0;display: none;}




@media only screen and (max-width: 700px) { 
#container {margin-top: 10px;}

#header-img {width: 52%;}

article {padding: 20px 30px 25px 20px;}

#image-portrait {width: 45%;}

footer p{padding-left: 20px;}

}

@media only screen and (max-width: 590px) { 
#container {margin-top: 0px;}

#header-img {width: 44%;}

article {padding: 20px 20px 25px 20px;}	

#image-portrait {width: 50%;}
}




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

body {
   margin: 0px;
}


#logo-iphone p {
	text-shadow: 0px 0px 7px #000;
}


#container {
    min-width: 320px; /*100% braucht es damit im Hochformat die Breite passt, none geht nicht*/
	background-position: 0px 106px;
}


header {
	height: 100px; /*instead of 157px*/
}

#header-img {
	margin-left: 0px;
	width: 100%;
	height: 100%;
	border: none;
}


nav{
    padding:0 0px 0 0px;
    width:100%;
} 

nav li {
    float: none;
    margin: 0;
    width:100%;
    display:block;
  } 
  
nav li:last-child{
    border-bottom: none;
}	
	  
nav a {
    position:relative;
  }  

#content{
    float: left;
	min-width: 100%;
    margin: 0px 0px 0px 0px; 
	min-height: 200px;
}

article {
	padding: 15px 15px 15px 20px;
	}
	
#image-portrait {
	margin: 0px 0px 5px 10px;
    width: 50%;}	

footer {
	float: left;
    min-width: 100%;   
}

footer p{
    padding-left: 20px;
	margin-left: 0px;
}

.iphone-only {display: block;}
.desktop-only {display: none;}


}
