/*
 * grau 1  #555e63
 * grau 2  #8c98a0
 * rot     #c7041c
 */

@import url(fonts/tex-gyre-adventor/stylesheet.css);
@import url(fonts/open-sans/stylesheet.css);
 
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 'Open Sans', Arial, Helvetica, sans-serif;
  color: #565f64;    
}

b, strong {
  font-weight: 600;
}

h1, h2, h3, h4 {    
  margin: 2em 0 1em;
  line-height: 1.7em;
  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: 2.8em;
  font-weight: normal;
  font-family: TeXGyreAdventorRegular;   
}

h2 {  
  border-bottom: 1px solid #e4e4e4;
}

p {
  margin-bottom: 1em;
  line-height: 1.7em;
}

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

ul {
  margin: 0 0 1em 0; padding: 0;
  list-style: none;
}

li {
  padding-left: 20px;
  line-height: 1.7em;
  background: transparent url(img/li.png) no-repeat 0 11px;
}

table {
  margin-bottom: 1em;
  border-collapse: collapse;
  width: 100%;
}

td {
  padding: 5px 0 5px 10px; margin: 0;
  text-align: left;
  vertical-align: top;
  line-height: 1.7em;
  font-size: 1em;
}

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

td p {
  margin: 0;     
}

td img {
  vertical-align: middle;
}

a {
  color: #c7041c;
  text-decoration: none;
  background-color: transparent;
}

a:hover, a.active {  
  color: #8c98a0; 
  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;
  color: #fff;
  background-color: #fff;
  border: 0;
  border-bottom: 1px dotted #e4e4e4;
}

dl {
  margin-bottom: 1em;
}

dt {
  padding-top: 5px;
}

dd {
  padding: 5px 0;
}

form {
  overflow: hidden;
}

input[type=text], textarea {
  padding: 4px 8px;
  width: 100%; max-width: 300px;
  font: inherit;
  border: 1px solid #e4e4e4;
  border-radius: 3px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box; 
}

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

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

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

input.checkform {
  display: none;
}

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

.menu li {
  margin: 0; padding: 15px 0;
  line-height: 1em; 
  list-style: none;
  background: none;
}

.menu > li {
  float: left;
}

.menu a {
  color: #8c98a0;  
} 

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

.menu .lang a:first-child {
  margin-right: 5px; padding-right: 5px;
  border-right: 1px solid #8c98a0;
}

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

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

.inner {
  margin: 0 auto; padding: 0 70px;
  max-width: 990px;
}

/*** Objekte ***/
html, body {
  height: 100%;
}

#body {
  background: #fff url(img/body.png?ver=1.1) repeat-y center -15px;  
}

#page {  
  min-height: 100%;   
  overflow: hidden;  
  background: transparent url(img/page.png?ver=1.1) no-repeat center top;
  position: relative;
}

#page > .inner {
  position: relative;
}

/*** Header ***/
#header {
  padding: 10px 0 0;
  height: 280px;
  position: relative;
}

#logo {  
  line-height: 40px;
  position: absolute; right: 0; top: 166px; left: 36%;
  display: block;
  text-align: right;
}

#logo img {
  width: 420px; 
  vertical-align: middle;
}

/*** Navigation ***/
#primary {  
  overflow: hidden;
  float: left;
  letter-spacing: 1px; 
  font-size: 1.1em;
}

#primaryCtrl {
  display: none;
}    

/*** Content ***/
#content  {
  padding: 0 0 0 36%;
  overflow-y: auto;
}   

#content h1 {    
  position: absolute; left: 70px; top: 100px; 
}

iframe {
  margin-top: 14px;
}

.col2 {
  margin-right: 0.5%;
  width: 49.5%;
  float: left;
  line-height: 1.2em;
}

.col2 img {
  margin: 0.5em 0;
}

.map {
  margin-bottom: 1em;
  height: 200px; width: 100%;
}

.map img {
  max-width: none;
}

#map-note {
  padding: 1em;
  width: 100%; height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
  background: #f0f0f0;
}

/*** Footer ***/
#footer {
  clear: both;  
  background: #fff;
  font-size: 0.9em;  
  border-bottom: 15px solid #c7041c;
  position: absolute; bottom: 0; left: 0; right: 0;  
}

#footer .box {
  padding: 5px 40px 7px;
  background: #fff;
  border-top: 2px solid #c7041c;
  overflow: hidden;
}

#footer ul {
  margin: 0; padding: 0;
  list-style: none;
  float: left; 
  text-align: center; 
}

#footer li {
  margin: 0 5px; padding: 0;
  background: none;
  letter-spacing: 0.5px;
  display: inline;
  white-space: nowrap;
}

#footer a {
  color: #565f64;
}

@media screen and (max-width: 1000px) {
  .inner {
    padding: 0 20px 0 30px;
  }
  
  #body {
    background-position: center -10px;
  }
  
  #page {   
    background-position: center -10px;
  }
  
  #header {  
    padding: 0;
    height: 270px;
    position: relative;
    z-index: 10;
  }
  
  #logo {
    top: 156px;
  }
  
  #primary {
    padding: 0 30px;    
    float: none;
    position: fixed; left: 0; right: 0;
    background: #fff;
    -moz-box-shadow: 0px 0px 5px 0px #999;
    -webkit-box-shadow: 0px 0px 5px 0px #999;
    box-shadow: 0px 0px 5px 0px #999;
  }
         
  #primaryCtrl {
    line-height: 50px;
    display: block;
  }
  
  #primaryCtrl span {
    width: 20px;
    display: block;
    float: left;
  }
  
  #primaryCtrl > span {
    margin: 17px 10px 0 0;
  }
  
  #primaryCtrl > span > span {
    margin-bottom: 3px;
    height: 3px;
    background: #c7041c;
  }
  
  #primary .menu {
    margin: 0 -30px; padding: 0 30px;
    width: 100%;
    display: none; 
  }

  .menu > li {
    padding: 10px 0;
    float: none;
    margin: 0;
    border-top: 1px dotted #e4e4e4; 
  }
  
  .menu .lang a:first-child {
    margin-right: 20px; padding-right: 20px;
  }
  
  #content {
    padding-bottom: 100px;
    max-height: none !important;
  }
   
  #content h1 {
    font-size: 2.3em; 
    left: 30px;
  }
  
  #footer .inner {
    padding: 0;
  }
    
  #footer .box {
    padding: 5px 10px 7px;
  }
  
}

@media screen and (max-width: 800px) {
  #content h1 {
    font-size: 2.0em;
  }
}

@media screen and (max-width: 600px) {
  body {
    font-size: 15px;
  }
  
  li {
    background: transparent url(img/li.png) no-repeat 0 10px;
  }  
  
  #body {
    background: #fff url(img/body-mobile.png?ver=1.1) repeat-y -120px -5px;
  }
  
  #page {
    background: transparent url(img/page-mobile.png?ver=1.1) no-repeat -120px 46px;    
  } 
  
  #header {
    height: 240px;
  }
  
  #logo {
    left: 60px; top: 150px;
  }
  
  #logo img {
    width: 240px;
  }
   
  #content {
    padding: 0 0 120px 60px;
  }
  
  #content h1 {
    font-size: 2.0em;
  }
  
  .col2 {
    margin-left: 0;
    width: 100%;
    float: none;
  }
  
  #footer {
    font-size: 0.8em;
  }
  
  #footer li:first-child {
    display: block;
  }

}

@media screen and (max-width: 400px) {
  #content h1 {
    font-size: 1.6em;
  }
}