/* ubuntu-300 - latin: Copyright 2011 Canonical Ltd. Licensed under the Ubuntu Font Licence 1.0 (http://font.ubuntu.com/ufl/) */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 300;
  src: local('Ubuntu Light'), local('Ubuntu-Light'),
       url('/sys/fonts/ubuntu-v11-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/sys/fonts/ubuntu-v11-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* ubuntu-500 - latin: Copyright 2011 Canonical Ltd. Licensed under the Ubuntu Font Licence 1.0 (http://font.ubuntu.com/ufl/) */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  src: local('Ubuntu Medium'), local('Ubuntu-Medium'),
       url('/sys/fonts/ubuntu-v11-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/sys/fonts/ubuntu-v11-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

audio, canvas, progress, video {
  display: inline-block;
}

* {
  margin: 0; padding: 0;
}

body {
  font: 300 18px/1.6em Ubuntu, Arial, Verdana, sans-serif; 
  color: #93a2a7;
}

b, strong {
  font-weight: 500;
}

h1, h2, h3, h4, h5 {    
  margin: 2em 0 1em;
  line-height: 1.6em;
  font-size: 1em;
  color: #93a2a7; 
  font-weight: 500;
}

h1:first-child, h2:first-child, h3:first-child, h4:first-child {
  margin-top: 0;
}

h1, h2, h3 {
  color: #aac13d; 
}

h1, h2 {
  line-height: 1.3em;
  font-size: 1.8em;
  font-weight: 300; 
}

h3 {
  font-size: 1.4em;
}

h4 {
  margin: 1em 0 0;
}

p {
  margin: 0 0 1em 0;
}

ol {
  margin: 0 0 1em 0; padding-left: 30px;
  list-style-type: decimal;
}

ul {
  margin: 0 0 1em 0; padding-left: 25px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0 0 0 20px; margin: 0;
  text-align: left;
  vertical-align: top;
  font: inherit;
}

th:first-child, td:first-child {
  padding-left: 0;
  min-width: 80px;
}  

a {  
  text-decoration: none;    
  color: #aac13d;
}

a:hover {  
  outline: 0;
  color: #93a2a7;
}

a img {
  border: 0;
}

#content img {
  max-width: 100%;
}

hr {
  margin: 1em 0;
  width: 100%; height: 1px;
  clear: both;
  background: #666;
  border: medium none;
}

dd {
  margin: 0.5em 0 1em;
}

input[type="text"], textarea {
  padding: 4px 8px;
  width: 100%;
  font: inherit;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box; 
  -webkit-appearance: none;
  outline: 0;
}

input[type="submit"], .button {
  padding: 6px 20px;
  width: auto;
  background: #aac13d;
  color: #fff;
  font: inherit;
  cursor: pointer;
  border: 0;
  outline: 0;
  border-radius: 3px;
  -webkit-appearance: none;
  display: inline-block;
}

input[type="submit"]:hover, .button:hover {
  background: #93a2a7;
  color: #fff;
}

input.error, textarea.error, select.error {
  border: 1px solid #706657;
  background: #ffbcbc;
}

input[type="radio"].error, input[type="checkbox"].error {
  margin: 0 4px;
  outline: 3px solid #ffbcbc;
}

input.checkform {
  display: none;
}

/*** Klassen ***/
.menu {
  margin: 0; padding: 0; 
}

.menu li {
  margin: 0; padding: 0;
  list-style: none;
}

.menu a { 
  padding: 0;
  display: block;
} 

.menu ul {
  display: none;
}

.mobile {
  display: none;
}

.bottom {
  position: absolute; bottom: 30px; left: 50px;
}

/*** Page ***/
#body {
  overflow-y: scroll;
}

/*** Header ***/
#header {
  height: 100%; width: 50%;
  color: #fff; 
  position: fixed; top: 0; left: 0;
  overflow: hidden;
}

/*** Slideshow ***/
#slideshow{
  height: 100%; width: 100%;  
  position: absolute; top: 0; right: 0;
}

#slideshow img {
  width: auto !important;
  display: none;
}

#slideshow img:first-child {
  display: block;
}

/*** Navigation ***/
#primary {
  position: absolute; top: 50px; right: 0;
  z-index: 100;
}

#primary .menu a {
  margin-bottom: 10px; padding: 0 50px 0 20px;
  line-height: 50px;
  color: #fff;
  float: right;
  clear: right;
  background: transparent url(img/black20.png);
}

#primary .menu .active > a, #primary .menu a:hover {
  background: #aac13d;
}

/*** Content ***/
#content {
  margin-left: 50%; 
  -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 100;
  border-top: 2px solid #aac13d;
}

.post {
  padding: 50px;
  max-width: 500px;  
  position: relative;
}

.page-home .post {
  background: transparent url(img/background.jpg) no-repeat;
}

/*** Footer ***/
#footer {
  width: 50%;
  position: fixed; bottom: 10px; left: 0;
  font-size: 0.7em;
  line-height: 1.6em;
  color: #fff;
  text-align: right;
  z-index: 100;
}

#footer p {
  margin: 0 50px;
}

#footer a {
  color: #fff;
}

#facebook {
  padding: 12px 0 12px 32px;
  width: 0; height: 70px;
  position: fixed; right: 0; top: 50px;
  overflow: hidden;
  background: #3b5998 url(img/facebook.png) no-repeat 2px 5px;
  -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  z-index: 200;
  border-right: 2px solid #3b5998;
  cursor: pointer;
}

.fb-background {
  height: 500px;
  background: #fff !important;
  overflow: hidden;
}

@media screen and (max-width: 700px) {
  .mobile {
    display: block;
  }
  
  .bottom {
    margin-top: 100px;
    position: relative; bottom: auto; left: auto;
  }
  
  #header {    
    height: auto; width: auto;
    position: relative; top: auto; right: auto; 
  }
    
  #slideshow{
    margin-top: 40px;  
    position: relative; top: auto; right: auto;
  }
  
  #slideshow img {
    width: 100% !important;
  }
  
  #primary {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 300;
    background: #aac13d;    
    color: #fff;
    text-align: left;
  }
  
  #primaryCtrl {
    line-height: 40px;
    display: block;
    overflow: hidden;
    color: #fff;
  }
  
  #primaryCtrl:hover {
    background: transparent url(img/black20.png);
  }

  #primaryCtrl span {
    width: 20px;
    display: block;
  }

  #primaryCtrl > span {
    margin: 12px 10px 8px 0;
    float: left;
  }

  #primaryCtrl > span > span {
    margin-bottom: 3px;
    height: 3px;
    background: #fff;
  }
  
  #primary .menu {
    margin-top: 10px;
    display: none;
  }
  
  #primary .menu a {
    padding-left: 30px;
    line-height: 40px;
    float: none;
  }
  
  #primary .menu .active > a {
    background: transparent url(img/black20.png);
  }
  
  #content {
    margin-left: 0;
  }
  
  .post {
    padding: 30px;
  }
  
  #footer {
    width: auto;
    position: relative; bottom: auto; left: auto;
    color: #93a2a7;
    text-align: left;
  }
    
  #footer p {
    margin: 30px;
  }
  
  #footer a {
    color: #93a2a7;
  } 
}
