/* 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;
box-sizing: padding-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: #aaa;
font-size: 0.9em;
font-family: Arial, SunSans-Regular, Sans-Serif;
background: #fff url(bg.png) no-repeat fixed;
background-size: cover;
color:#333333;
}
pre, code {
font-size: 1em;
}
a {color: #afc9fe;}
a:visited {color:#f9f9f9;}
a:hover {color: #f9f9f9;
		 font-size: 1.05em;
}
a:active { color:#f9f9f9;}
a {text-decoration:none}

h1, h2 {
font-size:1.4em;
font-weight: normal;
margin: 0 0 -9px 0;
line-height: 1.2em;
}

h3 {
font-size:1.38em;
font-weight: normal;
margin: 0 0 10px;
}



img.download {vertical-align:middle;}
img{border:none;}

ul{
	list-style-type:none;}
/* ----------container zentriert das layout-------------- */

#container {
max-width: 1100px;
min-width:320px;
margin:0 auto;
/* border-radius:0px 0px 20px 20px; */
background: rgba(160,60,30,0);
border:0px solid rgba(190,81,35,0.4);
}

/* ----------header for logo-------------- */
#top:after{
    height: 0;
    content: ".";
    display: block;
    clear: both;
  visibility:hidden;
  } 
#top {
  background: rgba(80,80,80,0.6);
  margin: 0 0 15px 0px;
  border-radius: 0;
  box-shadow: 3px 3px 5px rgba(40,40,40,0.7) ;
  border-bottom: 6px solid rgba(255,120,0,1); 
	}

#top header{
  text-transform:uppercase;
  line-height: 1.15em;
  color: #fff;
  padding:10px 60px 20px 20px;
  float:left;
  width:50%;
  }
  
header p{
  text-transform:uppercase;
  font-size1em;

}
header img{ 
border:0;
padding: 0 0 10px;
}  
.mini, .menubutton{
  display:none;
  }

.menubutton a {
  cursor:pointer;
}
 

/* new nav */
nav{
  
  padding:0 0 10px 20px;
  margin:0 0 2px;
  float:right;
  width:100%;
} 


nav ul:after {
    height: 0;
    content: ".";
    display: block;
    clear: both;
  visibility:hidden;
  } 
nav ul {
  list-style-type: none;
  float:none;
}   
nav li {
  float: left;
  margin: 0 3px 0 0;
  }

nav a, nav a:visited {
  background-color: #555555;
  color: #fff;
  display: block;
  padding: 5px 20px;
  text-decoration: none;
  border-radius:3px	;
  box-shadow: 2px 2px 2px rgba(40,40,40,0.3) ;
  transition: all 0.5s linear;
}


nav a:hover {
  color:#564b47;
  background-color: #f8caa8; 
  }
nav a:active { color:#000000;}
nav a.selected {
  color:#fff;
  background-color: #eb6b0d; 
} 

/* ----------------- content--------------------- */
section:before {
    height: 0;
    content: ".";
    display: block;
    clear: both;
  visibility:hidden;
  }

section#content {
float: right;
width: 66%;
padding: 20px;
background: rgba(160,60,30,0.7);
min-height:100%;
margin: 0 0 15px 0;
box-shadow: 3px 3px 5px rgba(40,40,40,0.7) ;
}

p, pre{
padding:  0 0 20px;
line-height:1.5em;
}
ul{
	text-decoration:none;
	list-style-type:none;
	line-height:1.5em;
}
article header{
	color:#fff;
	padding:0;
	}
	
article footer{
	color:#111111;
	padding:0 0 20px;
	margin:0 0 20px;
}

/* -------------- side infos ------------- */

aside {
padding:20px;
background: rgba(200,80,50,0.5);
float:left;
width: 32%;
min-height:100%;
margin: 0 0 15px 0;
box-shadow: 3px 3px 5px rgba(40,40,40,0.7) ;
}

/* -----------footer--------------------------- */
footer.footer {
padding: 20px;
clear:both;
background: rgba(80,80,80,0.6);
color:#fff;
/* border-radius: 0 0 15px 15px; */
border-top: 6px solid rgba(255,120,0,1);
box-shadow: 3px 3px 5px rgba(40,40,40,0.7) ;
}

footer a {
	color: #999; text-decoration:none;
	}

.footer-segment {
    display: inline-block;
    vertical-align: top;
    width: 47%;
}




/* -------------------- Media Queries -------------------- */


@media only screen and (max-width: 860px) { 
 #top header, nav {
    float:none;
    width:100%;
  }
  nav {
    padding: 0 0 5px 20px;
  } 
  nav ul {
    float:none;
  }
  nav li {
    float: left;
    margin: 0 3px 0 0;
  } 
}

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

section#content {
float: none;
width: 100%;
height: 100%;
padding: 20px;
}

aside {
padding:20px;
float: none;
width: 100%;
}

.footer-segment {
    display: inline-block;
    vertical-align: top;
    width: 49%;
	padding: 0 0 20px;
}

.footer-segment:last-child {
    border-top:2px solid rgba(255,120,0,1);
    display: block;
    width: 100%;
	padding:20px 0 0 ;
}
}



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

  nav {
    padding: 0;
  } 
  nav li {
    float: none;
    margin: 0;
    width:100%;
    display:block;
  } 
  nav a {
    font-size:1.2em;
    position:relative;
  }
    
  nav a:not(.selected):after {
    content:'»';
    position:absolute;
    right:10px;
  }
  
  .mini {
    display:block;
    /* 20% space rechts fuer .menubutton: */
    width: 80%;
  } 
  
  .menubutton {
    display:block;
    position:absolute;
    right:15px;
    top:50px;
    z-index: 400;
  }
  
  .maxi{
    display:none;
  }

footer.footer {
padding: 0;
}

  .footer-segment, .footer-segment:last-child  {
    display: block;
    vertical-align: top;
    width: 100%;
	border-bottom:2px solid rgba(255,120,0,1);
	padding:20px;
}



