/* open-sans-regular - 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: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'),
       url('/sys/fonts/open-sans-v15-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/sys/fonts/open-sans-v15-latin-regular.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: 400 16px/1.6em 'Open Sans', Arial, Verdana, sans-serif; 
}

b, strong {
  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 {
  margin-top: 0;
}

h1 {
  line-height: 1.3em;
  font-size: 2em;
}

h3 {
  margin-bottom: 0;
}

p {
  margin-bottom: 1em;
  overflow: hidden;
}

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

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

table {
  border-collapse: collapse;
}

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

a {  
  color: #000;   
}

a:hover, a.active {  
  outline: 0;
  color: #008942;
  text-decoration: none;
}

a img {
  border: 0;
}

img {
  max-width: 100%;
  height: auto !important;
}

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

dl {
  margin-bottom: 1em;
}

dt {
  font-weight: 600;
}

dd {
  padding: 0 0 1em;
}

input[type=text], select, textarea {
  padding: 4px 8px;
  width: 100%; max-width: 400px;
  font: inherit;
  line-height: 1.6em;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 3px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box; 
}

input[type=submit], .button {
  padding: 4px 20px;
  width: auto;
  background: #008942;
  color: #fff;
  cursor: pointer;
  font: inherit;
  border: 0;
  border-radius: 3px;
}

input[type=submit]:hover, .button:hover {
  background: #ccc;
  color: #fff;
  cursor: pointer;
}

input.error, select.error, textarea.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 { 
  display: block;
  text-decoration: none;  
} 

.alignleft {
  margin: 5px 30px 0 0;
  float: left; 
}

.alignright {
  margin: 5px 0 0 30px;
  float: right;     
}   

/*** Page ***/
#page {
  margin: 0 auto; padding: 0 40px;
  max-width: 980px;
  overflow: hidden; 
}

/*** Header ***/
#header {
  margin-bottom: 20px;  
  position: relative; 
  z-index: 10;
}

#title {
  position: absolute; top: 50px; left: 0; right: 0;
  line-height: 1.4em;
  font-size: 1.5em;
}

.title, .logos {
  padding: 30px 40px; margin-bottom: 40px;
  background: transparent url(img/white80.png);
  float: left;
  clear: both;
  position: relative;
  overflow: visible;
}

.title a {
  margin-bottom: 0.5em;
  color: #008942;
  font-size: 1.4em;
  font-weight: 600;
  text-decoration: none;
  display: block;
}

.title a.titlebutton {
  padding: 35px 5px 0 0;
  line-height: 31px;
  width: 145px; height: 115px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  display: block;
  position: absolute; bottom: -100px; right: -40px;
  text-align: center;
  background: transparent url(img/titlebutton.png) no-repeat;
  -moz-transform: rotate(10deg); 
  -webkit-transform: rotate(10deg);
  transform: rotate(10deg);  
}

.logos {
  padding: 20px 40px;
}

#titleimage {
  max-height: 460px;
  line-height: 0;
  overflow: hidden;
}

/*** Navigation ***/
#primary {    
  padding: 20px 0 80px;
  width: 24%;
  float: left;
  font-weight: 600;
  border-top: 6px solid #008942;  
}
 
#primaryCtrl {
  display: none;
}

/*** Content ***/
#content {
  padding: 20px 0 30px;
  width: 70%;
  float: right;
  overflow: hidden;
}

.page-home #content {
  padding-top: 0;
  width: 75%;
}

#content a:hover img {
  opacity: 0.7;
  filter:alpha(opacity=70);
}

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

.pages li {
  margin: 0 0 8px 1%; padding: 0;
  width: 32.33%; line-height: 0;
  float: left;
  position: relative;
  background: #e4e4e4;
}

.pages a {
  text-decoration: none;
}

.pages h3 {
  margin: 0; padding: 10px 0; 
  text-align: center;
}

/*** Footer ***/
#footer {
  font-size: 0.9em;
  clear: both;
  border-top: 6px solid #ccc;
}

#footer p {
  margin: 30px 0 0;
  width: 30%;
  float: left;
}

#footer a {
  text-decoration: none;
}

#footer .social {
  width: auto;
  float: right
}

#footer .social a {
  margin-left: 5px;
  line-height: 0;
  background: #000;
  display: block;
  float: left;
}

#footer .social a:hover {
  background: #008942;
}

#copyright {
  padding: 30px 0;
  font-size: 0.9em;
  color: #aaa;
  clear: both;
}

#copyright a {
  text-decoration: none;
  color: #aaa;
}

@media screen and (max-width: 1000px) {
  .pages li {
    width: 49%;
  }
}

@media screen and (max-width: 800px) {
  .alignleft,
  .alignright {
    margin: 0 0 1em 0;
    float: none !important;
    display: block;
    text-align: left;
  }
  
  #header {
    margin: 0;
  }
    
  #primary {
    margin-bottom: 20px; padding: 0;
    width: auto;
    float: none;
    border: 0;
    border-bottom: 6px solid #008942;
  }
  
  #primaryCtrl {
    padding: 10px 0;
    display: block;
    text-decoration: none;
  }

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

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

  #primaryCtrl > span > span {
    margin-bottom: 3px;
    height: 3px;
    background: #000;
  }

  #primaryCtrl:hover > span > span {
    background: #008942;
  }

  #primary .menu {
    display: none;
  }

  #primary .menu > li {
    border-top: 1px solid #aaa;
  }

  #primary .menu a {
    padding: 10px 0;
  }
  
  #content {
    width: auto !important;
    float: none;
  }
  
  .pages li {
    margin: 0 1% 8px 0;
  }
  
  #footer p {
    width: auto;
    float: none !important;
  }
}

@media screen and (max-width: 700px) {  
  #page {
    padding: 0 20px;
  }   
    
  #header .logos {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  #header #title {
    position: relative; top: auto;
    font-size: 1.3em;
  }
  
  #header #title p {
    margin: 0; padding: 20px 0;
    float: none;
  }
  
  #header #titleimage {
    display: none;
  }
  
  .pages li {
    margin: 0 0 8px; 
    width: auto;
    float: none;
  }
}