@import url(http://fonts.googleapis.com/css?family=Oxygen:400,300,700);

/* 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 {
  font-size: 1em;
  font-family: 'Oxygen', Sans-Serif;
  color:#fff;
  background: url(pyra2_1440x1920.jpg) no-repeat  center center fixed;
  background-size: cover;

}

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

a {color: #fff; text-decoration: none; font-weight: 400;}
a:visited {color:#ccc;}
a:hover {color: #ffe845;}
a:active { color:#fff;}

h1, h2 {
  font-size:2.2em;
  color: #fff;
  font-weight: 700;
  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;
}

#container {

}
/* ----------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;
  -webkit-transition: all 0.5s linear 0s;
  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.5) ;
  padding:80px 20px 0;
}

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

section#content {
  float: left;
  width: 400px;
  padding: 20px;
  background-color: rgba(178,34,34,0.4);
  min-height:400px;
  /* box-shadow: 1px 1px 3px #aaa; */
  margin: 20px;
  border-left: 0.2em solid #fff;
}
p, pre{
  font-size: 1em;
  padding:  0 0 20px;
  line-height:1.5em;
}
ul{
  list-style-type:none;
  line-height:1.5em;
}
article header{
  background:rgba(100,100,100,0.6);
  padding:0;
  }
/*article {
  background:rgba(255,255,255,0.5);
  padding:0;
  }*/

article footer{
  /* border-bottom: 1px solid #564B47; */
  color:#564B47;
  padding:0 0 20px;
  margin:0 0 20px;
}
.klein {
    font-size: .75em;
}
strong {
    font-weight: 700;
    font-size: 1.2em;
}

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

}



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

  section#content {
  float: left;
  width: 90%;
  padding: 20px;
  min-height:316px;
  /* box-shadow: 1px 1px 3px #aaa; */
  margin: 20px;
}

  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;
  }

}
