/* open-sans-condensed-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 Condensed';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Condensed Light'), local('OpenSansCondensed-Light'),
       url('/sys/fonts/open-sans-condensed-v12-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/sys/fonts/open-sans-condensed-v12-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* open-sans-condensed-700 - 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 Condensed';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Condensed Bold'), local('OpenSansCondensed-Bold'),
       url('/sys/fonts/open-sans-condensed-v12-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/sys/fonts/open-sans-condensed-v12-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* 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 17px/1.6em 'Open Sans', Arial, Helvetica, sans-serif;
  color: #666;
}

strong, b {
  font-weight: 600;
}

h1, h2, h3, h4, h5 {
  margin: 1em 0;
  line-height: 1.6em;
  font-size: 1.2em;
  font-family: 'Open Sans Condensed', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #CBD200;
  clear: both;
}

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

h1 {
  line-height: 1.2em;
  font-size: 1.8em;
}

h2 {
  line-height: 1.4em;
  font-size: 1.5em;
}

h4 {
  font-weight: 300;
}

h4 strong {
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

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

ul {
  margin-bottom: 1em; padding-left: 20px;
}

table {
  margin: 2em 0;
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #ddd;
}

td {
  padding: 1em 0 1em 30px; margin: 0;
  text-align: left;
  vertical-align: top;
  font: inherit;
  border-bottom: 1px solid #ddd;  
}

td:first-child {
  padding-left: 0;
}

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

a:hover {
  outline: 0;  
  color: #b2b2b2;
}

a img {
  border: 0;
}

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

img {
  max-width: 100%;
}

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

dl {
  margin-bottom: 2em;
}

dt {
  margin: 1em 0 0.5em;
}

input[type="text"], input[type="file"], textarea, select {
  padding: 6px 10px;
  width: 100%; max-width: 500px;
  font: inherit;
  font-weight: 600;
  border: 1px solid #ddd;
  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; margin-top: 0.5em;
  width: auto;
  background: #CBD200;
  color: #fff;
  font: inherit;
  cursor: pointer;
  border: 1px solid #fff;
  outline: 0;
  -webkit-appearance: none;
  display: inline-block;
  text-decoration: none;
}

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

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;
  font-family: 'Open Sans Condensed', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
}

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

.menu a {
  padding: 10px 0;
  display: block; 
  color: #b2b2b2; 
}

.menu a:hover, .menu .active > a {
  color: #CBD200;
}

.menu ul {
  display: none;
}

.alignleft, img[style="float: left;"] {
  margin: 5px 30px 10px 0;
  max-width: 50%;
  float: left;
}

.box {
  margin: 0; padding: 1em 0;
  background: #CBD200;
  color: #fff;
}

.mobile {
  display: none;
}

.clear {
  clear: both;
}

.inner {
  margin: 0 auto; padding: 0 50px;
  max-width: 1100px;
  position: relative;
}

/*** Header ***/
#header {         
  max-height: 100%;
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; 
  border-top: 5px solid #CBD200;
  background: transparent url(img/white90.png);
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.scroll #header {
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  background: #fff;
}

#header .inner > div {
  position: relative;
}

#logo {
  padding: 20px 2%;
  width: 22%;
  display: block;
  position: absolute; left: 0; 
  background: #fff; 
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); 
}

.loaded #logo {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.scroll #logo {
  padding: 0;
  width: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

/*** Primary Navigation ***/
#primary {
  padding: 40px 0 10px;
  float: right;
  overflow: hidden;
  -webkit-transition: padding 0.6s;
  -moz-transition: padding 0.6s;
  -ms-transition: padding 0.6s;
  -o-transition: padding 0.6s;
  transition: padding 0.6s;
}

.scroll #primary {
  padding: 10px 0;
}

#primary .menu > li {
  float: left;  
}

#primary .menu a {
  padding: 0 7px; 
}

/*** Slideshow ***/
#slideshow {
  height: 400px;
  height: 50vh;
  line-height: 0;
  position: relative;
  z-index: 10;
}

.page-home #slideshow {
  height: 600px;
  height: 80vh;
}

.bx-wrapper, .bx-viewport, .slides,
#slideshow .image {
  position: absolute !important;
  width: 100% !important; height: 100% !important;
  left: 0; right: 0; top: 0; bottom: 0;
}

#slideshow .slide {
  text-align: center;
  display: none;
}

#slideshow .slide:first-child {
  display: block;
}

#slideshow .image {
  background-attachment: scroll;
  background-color: #fff;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: none;
}

.bx-pager {
  position: absolute; bottom: 15px; right: 20px;
  z-index: 100;
  display: none;
}

.page-home .bx-pager {
  display: block;
}

.bx-pager-item {
  margin-right: 10px;
  float: left;
}

.bx-pager a {
  width: 15px;
	height: 15px;
	display: block;		
	outline: 0;
  background: #fff;
  text-indent: -9999px;
}

.bx-pager a:hover,
.bx-pager a.active {
	background: #CBD200;
}

.bx-table {
  width: 100%; height: 100%;
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: table;  
  line-height: 1.2em;
  font-size: 4em;
  font-family: 'Open Sans Condensed', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.bx-cell {
  padding-top: 100px;
  display: table-cell;
  vertical-align: middle;
}

/*** Content ***/
#container {
  position: relative;
  z-index: 10;
}

#content {
  padding: 60px 0 100px;
  width: 68%;
  float: right; 
  overflow: hidden;
} 

.map {
  height: 300px;
}

.gallery {
  line-height: 0;
}

.gallery img {
  margin: 5px 5px 0 0; 
}

/*** Sidebar ***/
#sidebar {
  margin-top: -30px; 
  width: 26%;
  overflow: hidden;
  float: left;
  background: #fff;  
  -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

#secondary .menu {
  padding: 20px 30px;
}

#secondary .menu > li {
  border-top: 1px solid #ddd;
}

#secondary .menu li:first-child {
  border-top: 0;
}

#secondary .menu .active > ul {
  display: block;
}

/*** Footer ***/
#footer {
  padding-top: 60px;
  padding-bottom: 20px;  
  clear: both;    
  background: #CBD200;
  color: #fff;
  position: relative;
}

#footer p {
  margin: 0 2% 40px;
  width: 46%;
  float: left;
  text-align: center;
}

#footer .slogan {
  position: absolute; top: -86px;
  font-size: 2em;
  font-family: 'Open Sans Condensed', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #CBD200;
}

#footer a {
  color: #fff;
}

#copyright {
  padding-top: 30px;
  padding-bottom: 30px;
  font-size: 0.8em;
  line-height: 1.6em;
  text-align: center;
  color: #b2b2b2;
}

#copyright a {
  color: #b2b2b2;
}

@media screen and (max-width: 1000px) {  
  .mobile {
    display: block;
  }
  
  #header,
  .scroll #header {
    position: relative;     
  }
  
  #logo,
  .scroll #logo {
    padding: 10px 0;
    width: 20%; min-width: 120px;
    position: relative;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  
  #primary,
  .scroll #primary {
    padding: 0 25px; margin: 0;
    max-height: 100%;
    overflow-y: auto;
    position: fixed; top: 0; right: 0;
  }
  
  #primary.menuopen {
    left: 0;
    background: #fff;    
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
    
  #primaryCtrl {
    line-height: 40px;
    display: block;
    overflow: hidden;   
    float: right; 
  }

  #primaryCtrl:hover {
    color: #CBD200;
  }

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

  #primaryCtrl > span {
    margin: 20px 0 20px 20px;
    float: right;
  }

  #primaryCtrl > span > span {
    margin-bottom: 4px;
    height: 4px;
    background: #b2b2b2;
  }

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

  #primary .menu {
    padding: 0 0 20px;
    display: none;
    float: none;  
    clear: both;
  }
  
  #primary .menu li {
    float: none;
    border: 0;
    border-top: 1px solid #ddd;    
  }
  
  #primary .menu a {
    padding: 10px 0;
  }
  
  .bx-table {
    font-size: 6vw;
  }
  
  .bx-cell {
    padding: 0;
  }

  #content {
    padding: 50px 0;
    width: auto;
    float: none;
  }
  
  #sidebar {
    margin: 0 -50px 50px;
    width: auto;
    float: none;
  } 
  
  #footer .slogan {
    display: none;
  } 
}

@media screen and (max-width: 600px) {
  .inner {
    padding: 0 25px;
  }
  
  .alignleft, img[style="float: left;"] {
    margin: 0 0 1em;
    display: block;
    float: none !important;
  }
  
  .page-home .bx-pager {
    display: none;
  }
  
  #content {
    padding: 25px 0 50px;
  }
  
  #sidebar {
    margin: 0 -25px 25px;
  }
  
  #footer p {
    margin: 0 0 60px;
    width: auto;
    float: none;
  }
}

@media screen and (max-width: 420px) {
  h1 {
    font-size: 1.6em;
  }
  
  h2 {
    font-size: 1.4em;
  }
}