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

strong, b {
  font-weight: 600;
  color: #834c83;
}

h1, h2, h3, h4 {    
  margin: 2em 0 1em;
  line-height: 1.6em;
  font-size: 1.2em;
  font-weight: 600;
  color: #834c83;
  clear: both;
}

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

h1, h2 { 
  line-height: 1.1em;
  font-size: 2em; 
}

p {
  margin: 0 0 1em;
  line-height: 1.6em;
}

ol {
  margin: 0; padding-left: 25px;
  list-style-type: decimal;
}

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

li { 
  margin: 0 0 1em;       
  line-height: 1.6em;
}

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

td {
  padding: 0 0 0 30px; margin: 0;
  vertical-align: top;
  line-height: 1.6em;
  font-size: 1em;
  font: inherit;
}

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

a {
  color: #834c83;
  text-decoration: none;
}

a:hover, .active > a {
  color: #ddbad8;
  outline: 0;  
}

a img {
  border: 0;
}

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

img {
  max-width: 100%;
}

hr {
  margin: 2em 0;
  width: 100%; height: 0px;
  clear: both;
  border: 0;
  border-bottom: 1px solid #ccc;
}

form {
  margin: 0 0 1em;
}

input[type="text"], select, textarea {
  padding: 5px 10px; margin-bottom: 10px;
  width: 100%;
  font: inherit;
  border: 1px solid #ccc;
  background: #fff;
  color: #ccc;
  display: block;
  outline: 0;
  border-radius: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none; 
}

input[type="text"].actForm, textarea.actForm {
  color: #808080;
}

input[type="submit"], .button {
  padding: 5px 20px; 
  width: auto;
  background: #834c83;
  color: #fff;
  cursor: pointer;
  font: inherit;
  border: 0;
  outline: 0;
  border-radius: 0;  
}

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

input[type="text"].error, textarea.error, select.error {
  border: 1px solid #706657;
  background: #ffbcbc;
  color: #fff;
}

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;
  width: auto;
}

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

.menu a {
  display: block;
}

.inner {
  margin: 0 auto; padding: 0 50px;
  max-width: 1000px;
}

.mobile {
  display: none;
}

.alignleft {
  margin-right: 40px;
  float: left;
}

/*** Header ***/
#header {
  position: relative; 
  z-index: 300;        
} 

#header .inner {
  position: relative;
}

#logo {
  padding-top: 10px;
  width: 280px;
  line-height: 0;
  position: absolute; left: 0; top: 0;
  display: block; 
  background: #fff;  
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

/*** Primary ***/
#primary {
  padding-right: 50px;
  position: fixed; left: 0; right: 0;
  z-index: 200;   
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  transition: all 1s;
}

.scroll #primary {
  background: #834c83;
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

#primary .menu {
  float: right;
}

#primary .menu > li {
  margin-left: 20px;
  line-height: 80px;
  float: left;  
  -webkit-transition: all 1s;
  -moz-transition: all 1s;
  transition: all 1s;
}

.scroll #primary .menu > li {
  line-height: 50px;
}

#primary .menu a {
  color: #fff;
}

#primary .menu a:hover,
#primary .menu .active a {
  color: #ddbad8;
}

/*** Content ***/
.post {
  position: relative;
  border-bottom: 1px solid #fff;
}

.blau {
  color: #fff;  
  background: #834c83;
}

.blau a, .blau strong {
  color: #fff;
}

.blau a:hover {
  color: #ddbad8;
}

.image {
  padding-top: 70%;
  padding-top: 70vh;  
}

.img {
  height: 100%;
  position: absolute; top: 0; left: 0; right: 0;
  background-attachment: fixed;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.nofixed .img {
  background-attachment: scroll;
}

.post .inner {
  padding-top: 50px; padding-bottom: 50px;
}

.image .inner {
  margin-bottom: 100px;    
  position: relative;
  z-index: 100;    
  background: rgba(255,255,255,0.9);  
}

p + .gallery,
.gallery + p {
  margin-top: 3em;
}

.gallery {
  line-height: 0;
  text-align: center;
}

h2:first-child + .gallery {
  margin-top: 0;
}

.gallery img {
  width: 20%;
}

#map {
  height: 400px;
  height: 50vh;
}

/*** Footer ***/
#footer {
  padding-top: 50px;
  padding-bottom: 50px;
  font-size: 0.8em;
  line-height: 1.6em;
  color: #999;
  text-align: center;
}

#footer a {
  text-decoration: none;
  color: #999;
}

@media screen and (max-width: 1100px) {    
  #header {
    z-index: 100;
  }
  
  #logo {
    left: 50px;
  }
 
  #primary,
  .scroll #primary {
    padding-right: 20px;
    text-align: right;
    float: none;
  }

  #primaryCtrl {
    position: fixed; top: 0; right: 0;
    z-index: 300;
    display: block;
    overflow: hidden;
  }

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

  #primaryCtrl > span {
    padding: 20px;
  }

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

  #primaryCtrl:hover > span > span {
    background: #834c83;
  }

  #primary .menu {
    margin: 0; padding: 50px 0 10px;
    display: none;
    clear: both;
  }

  #primary .menu li,
  .scroll #primary .menu li {
    padding: 0;
    line-height: 40px;
    float: none;
  }
  
  .image .inner {
    padding-left: 50px; 
    padding-right: 50px;
  } 
   
}

@media screen and (min-width: 800px) {
  .image .inner > h1:first-child,
  .image .inner > h2:first-child {
    margin: 0;
    top: -30%;
    position: absolute; top: -30vh; left: 0; right: 0;
    font-size: 4em;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
  }
}

@media screen and (max-width: 800px) {
  body {
    font-size: 16px;
  }
  
  table, tbody, tr, td {
    padding: 0 !important;
    width: auto !important;
    display: block;
  }

  td h2:first-child {
    margin-top: 2em;
  }
  
  #header .inner {
    padding: 0;
  }  
  
  #logo {
    margin: 0 auto; padding: 20px 0;
    width: 200px;
    position: relative; left: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }
    
  #primaryCtrl > span {
    padding: 15px;
  }
  
  .post {
    padding: 0;
  }
  
  .post .inner {
    padding: 30px 20px;
  }
  
  .image {
    padding: 0;
  }

  .img {
    height: 70vw; max-height: 363px;
    position: relative;
    background-attachment: scroll;
  }

  .inner {
    text-align: center;
  }

  .image .inner {
    margin-bottom: 0;
  }
  
  .gallery img {
    width: 33.3%;
  }
  
  #footer {
    padding: 30px 20px;
  }
}

