/* open-sans-300 - latin: Digitized data copyright 2010-2011, Google Corporation, Apache License Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'),
       url('/sys/fonts/open-sans-v15-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/sys/fonts/open-sans-v15-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-600 - latin: Digitized data copyright 2010-2011, Google Corporation, Apache License Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
       url('/sys/fonts/open-sans-v15-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/sys/fonts/open-sans-v15-latin-600.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 16px/1.6em 'Open Sans', Arial, Helvetica, sans-serif;
  color: #111;
}

strong, b {
  font-weight: 600;
}

h1, h2, h3, h4 {
  margin: 2em 0 1em;
  line-height: 1.6em;
  font-size: 1em;
  font-weight: 600;
}

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

h1 {
  margin: 0 0 1.5em;
  line-height: 30px;
  font-size: 1.8em;
}

h2 {
  font-size: 1.2em;
}

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

.bi ul {
  padding-left: 0;
  list-style: none !important;
}

.bi ul li {
  padding-left: 25px;
  position: relative;
}

.bi ul li:before {
  position: absolute; left: 5px;
  content: ">";
}

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

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

td:first-child {
  padding: 0;
}

a {
  color: #111;
}

a:hover, .active > a {
  outline: 0;
  text-decoration: none;
}

a img {
  border: 0;
}

a:hover img {
  opacity: 0.8;
  filter:alpha(opacity=80);  
}

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

form {
  max-width: 400px;
  overflow: hidden;
}

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: 20px 0;
  width: auto;
  font: inherit;
  cursor: pointer;
  border: 0;
  outline: 0;
  -webkit-appearance: none;
  display: block;
  text-decoration: none;
}

input[type="submit"]:hover, .button:hover {
  font-weight: 600;
}

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 ***/
ul.menu {
  margin: 0; padding: 0;
}

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

ul.menu li:before {
  position: relative; left: auto;
  content: none;
}

ul.menu a {
  padding: 5px 0;
  display: block;
  text-decoration: none;
}

ul.menu .active > a,
ul.menu a:hover {
  font-weight: 600;
}

.mobile {
  display: none;
}

.bi {
  background: #ffffed;
}

.bi a {
  color: #111;
}

.upl {
  background: #d7e8f3;
  color: #082259;
}

.upl a {
  color: #082259;
}

.pf {
  background: #fcf3e6;
  color: #457038;
}

.pf a {
  color: #457038;
}

/*** Page ***/
html {
  height: 100%;
}

#body {
  min-height: 100%;
  position: relative;
}

/*** Header ***/
#header {
  padding: 20px 0;
  width: 28%; max-width: 100%;
  position: fixed; top: 60px; left: 0; bottom: 0; 
  overflow: auto; 
}

.scrolled #header {
  display: none;
}

.scroll #header {
  display: block;
}

/*** Navigation ***/
#primary { 
  width: 260px; max-width: 100%;
  float: right;
  text-align: right;   
}

#primary ul {
  margin: 0; padding: 0;
}

#primary .menu ul {
  margin-bottom: 20px;
  display: none;
  border-bottom: 1px dotted #000;
}

#primary .menu .active ul {
  display: block;
}

#primary .menu ul li {
  border-top: 1px dotted #000;
}

#primary .menu > li.active > a {
  padding: 0 0 20px;
  line-height: 1.6em;
  font-size: 1.2em;
}

/*** Content ***/
#content {
  margin: 0 auto; padding-top: 30px;
  max-width: 1000px;
}

#header + #content {
  width: 65%;
  float: right; 
  max-width: none; 
} 

#header + #content .inner {
  padding: 0 50px 0 0;
  max-width: 800px;
}

.post {
  padding: 50px 0;
  border-bottom: 1px dotted #000;
}  

.next {  
  width: 60px; height: 60px;
  display: block;
  background: transparent url(img/arrow-bottom.png) no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 10;
  border-radius: 30px;   
}

.next:hover {
  background-color: #fff;
}

#top.next {
  position: fixed; right: 0; bottom: 10px;
  background-image: url(img/arrow-top.png);
  display: none;
}

.scroll #top.next {
  display: block;
}

.map {
  margin-bottom: 1em;
  height: 300px; max-width: 610px;
}     

/*** Footer ***/
#footer {
  padding: 30px 0;
  width: 65%;
  font-size: 0.8em;
  line-height: 1.6em;
  float: right;
  clear: both;  
}

.home #footer {
  width: auto;
  text-align: center;
  float: none;
}

#footer a {
  text-decoration: none;
}

@media screen and (max-height: 600px) {
  #header {
    top: 0;
  }
}

@media screen and (max-width: 600px) {
  table, tbody, tr, td {
    padding: 0;
    width: 100% !important;
    display: block;
  }
  
  .mobile {
    display: block;
  }
  
  #header {
    padding: 0;
    width: auto;
    position: relative; top: auto; left: auto; bottom: auto;
    display: block !important;
  }
  
  #primary {
    padding: 25px 0 0 25px;
    width: auto;
    float: none;
    text-align: left;
  }

  #primaryCtrl {
    display: block;
  }
  
  #primaryCtrl span {
    width: 30px;
    display: block;
  }
    
  #primaryCtrl > span > span {
    margin-bottom: 6px;
    height: 4px;
    background: #111;
  }
  
  .upl #primaryCtrl > span > span {
    background: #082259;
  }
  
  .pf #primaryCtrl > span > span {
    background: #457038;
  }
  
  #primaryCtrl:hover > span > span {
    opacity: 0.6;
  }
  
  #primary .menu {
    margin-top: 20px;
    display: none;
  }
  
  #secondary {
    margin-left: 25px;
  }
  
  #secondary .menu a {
    padding: 5px 0;
    border-bottom: 1px dotted #000;
  }

  #header + #content,
  #content {
    width: 100%;
    float: none;
  }
  
  #content .inner {
    padding-right: 25px;
  }
  
  .post {
    margin-left: 25px;
    padding: 50px 0;
  }
  
  #footer {
    padding: 25px;
    width: auto;
    float: none;
  }
}
