/* 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: border-box;
}
/* render html5 elements as block 
   rendert html5 elemente als block  */
header, footer, section, aside, nav, article { display: block;}

body {
  font-size: 1em;
  font-family: Arial, SunSans-Regular, Sans-Serif;
  color:#333;
  background: #fff url(snow-big.jpg) no-repeat  center center fixed;
  background-size: cover;
}

pre, code {
  font-size: 1.3em;
}

a {color: #999;}
a:visited {color:#999;}
a:hover {color: #f67;}
a:active { color:#000000;}

h1, h2 {
  font-size:1.8em;
  font-weight: normal;
  margin: 0 0 10px;
}
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, footer .inner {
  max-width: 1200px;
  min-width:320px;
  margin:0  auto;
}


/* ----------header for logo-------------- */
#top:after{
  height: 0;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
} 

#top header{
  padding:20px;
  float:left;
  width:50%;
}

header p{
  text-transform:uppercase;
  font-size:0.8434em;
}
header img{ 
  border:0;
  padding: 0 0 10px;
}  
.mini, .menubutton{
  display:none;
}

.menubutton a {
  cursor:pointer;
}
 
/* new nav ----------- */
nav{
  padding:0 20px 0 0;
  float:right;
  width:50%;
} 
nav ul:after {
  height: 0;
  content: ".";
  display: block;
  clear: both;
  visibility:hidden;
} 
nav ul {
  list-style-type: none;
  float:right;
}   
nav li {
  float: left;
  margin: 0 3px 0 0;
}
nav a, nav a:visited {
  background-color: #999999;
  color: #FFFFFF;
  display: block;
  padding: 5px 20px;
  text-decoration: none;
  transition: all 0.5s linear 0s;
  border-radius: 0 0 10px 10px;

  -moz-transition:all 0.5s linear;    
  -webkit-transition:all 0.5s linear;   
  box-shadow: 0 1px 3px rgba(255,255,255,0.3) ;
}
nav a:hover {
  color:#564b47;
  background-color: rgba(255,255,255,0.7) ;
  padding:80px 20px 0;
}
nav a:active { color:#000000;}
nav a.selected {
  color:#fff;
  background-color: rgba(255,102,119,0.7) ; 
  padding:80px 20px 0;
} 

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

section#content {
  float: left;
  width: 74%;
  padding: 20px;
  background-color: #fff;
  min-height:600px;
  box-shadow: 1px 1px 3px #aaa;
  margin: 0 0 20px;
  border-radius:20px;
}
p, pre{
  padding:  0 0 20px;
  line-height:1.5em;
}
ul{
  list-style-type:none;
  line-height:1.5em;
}
article header{
  background:#fff;
  padding:0;
  }
  
article footer{
  border-bottom: 1px solid #564B47;
  color:#564B47;
  padding:0 0 20px;
  margin:0 0 20px;
}

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

aside {
  padding:20px;
  float:right;
  width: 25%;
  background:  rgba(255,255,255,0.4) ;
  border-radius:20px;
}

/* -----------footer---------------------- */
footer.footer {
  padding: 20px;
  clear:both;
  background-color:rgba(203,204,198,0.6) ;
}

footer a, footer a:visited {
  color: #000; text-decoration:none;
}

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



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

@media only screen and (max-width: 860px) { 
 #top header, nav {
    float:none;
    width:100%;
  }
  nav {
    padding:0;
  } 
  nav ul {
    float:none;
  }
  nav li {
    float: left;
    margin: 0;
    width:25%;
  } 
  nav a:hover, nav a.selected  {
    padding: 5px 20px;
  }
  nav a, nav a:visited, section#content, aside {
    border-radius: 0;
  }
  
  .inner{ padding:0; }

}


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

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

  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:1px solid #999;
    display: block;
    width: 100%;
    padding:20px 0 0 ;
  }

}



@media only screen and (max-width: 480px) { 
  body { background: #fff url(snow-mini.jpg) no-repeat  center center fixed; }

  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;
  }
  
  .menubutton {
    display:block;
    position:absolute;
    right:20px;
    top:20px;
    z-index: 400;
  }
  
  .mini {
    display:block;
    /* 20% space rechts fuer .menubutton: */
    width: 80%;
  }  
  .maxi {
    display:none;
  }

  footer.footer {
    padding: 0;
  }

  .footer-segment, .footer-segment:last-child {
    display: block;
    vertical-align: top;
    width: 100%;
    border-bottom:1px solid #999;
    padding:20px;
  }

}