/* source-sans-pro-300 - latin: Copyright 2010, 2012, 2014 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name Source., SIL Open Font License Version 1.1 (http://scripts.sil.org/OFL) */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: local('Source Sans Pro Light'), local('SourceSansPro-Light'),
       url('/sys/fonts/source-sans-pro-v11-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/sys/fonts/source-sans-pro-v11-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* source-sans-pro-600 - latin: Copyright 2010, 2012, 2014 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name Source., SIL Open Font License Version 1.1 (http://scripts.sil.org/OFL) */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'),
       url('/sys/fonts/source-sans-pro-v11-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('/sys/fonts/source-sans-pro-v11-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.5em 'Source Sans Pro', Arial, Verdana, sans-serif; 
  color: #555;
}

b, strong {
  font-weight: 600;
}

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

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

h1 {
  font-size: 1.5em;
  line-height: 1.3em;
  font-weight: 300;
  text-transform: uppercase;
}

h2 {
  text-transform: uppercase;
}

p {
  margin: 0 0 1em;
  overflow: hidden;
}

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

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

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

th, td {
  padding: 0.5em 20px 0.5em 0; margin: 0;
  text-align: left;
  vertical-align: top;
  font: inherit;
  border-top: 1px solid #ccc;
}   

a {    
  color: #555;   
}

a:hover {  
  outline: 0;
  text-decoration: none;  
}

a img {
  border: 0;
}

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

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

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

dd {
  padding: 0 0 1em;
}

input[type=text], textarea {
  padding: 4px 8px;
  width: 100%; max-width: 400px;
  font: inherit;
  border: 1px solid #aaa;
  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: 10px 20px;
  width: auto;
  background: #006cb5;
  color: #fff;
  cursor: pointer;
  font: inherit;
  border: 1px solid #fff;
  display: inline-block;
  border-radius: 10px;
  -webkit-appearance: none;
  outline: 0;
  text-decoration: none;  
}

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

input.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;
  position: relative;
}

.menu a { 
  display: block; 
  text-decoration: none;  
} 

.menu ul {
  display: none;
}

.alignleft,
img[style="float: left;"] {
  margin: 6px 30px 1em 0;
  max-width: 40%; 
  float: left; 
}

.alignright {
  margin: 10px 0 1em 30px;
  float: right;     
} 

.mobile {
  display: none;
}

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

/*** Header ***/
#header {
  position: relative;
  z-index: 20;
  -moz-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
  position: fixed; top: 0; left: 0; right: 0;
  background: #fff;
  line-height: 1.5em;
  font-size: 0.9em;
}

#logo {
  padding: 30px 0;
  width: 240px;
  display: block;
  float: left;
}

#header-content {
  float: right;
}

#header a {
  text-decoration: none;
}

#header p {
  margin: 0; padding: 30px 30px 0 0;
  float: left;  
}

/*** Navigation ***/ 
#primary {
  line-height: 50px;
  clear: both;
  background: #006cb5 url(img/deco-top.png) repeat-x left top; 
  text-transform: uppercase;
}

#primary .menu > li {
  padding-right: 20px;
  float: left;
}

#primary a {
  color: #fff;
}

#primary a:hover, #primary .active > a {
  color: #ddd;
}

#primary .menu ul {
  margin: 0; padding: 0;
  width: 240px;
  position: absolute; top: 60px; left: 0;
  -moz-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  background: #006cb5;
}

/*** Slideshow ***/
#slideshow {
  margin-top: 188px;
  border-bottom: 10px solid #F0F0F0; 
  position: relative;
}

#slideshow #slides {
  line-height: 0;
}

#slideshow #slides img {
  width: 33.3%;
}

#slideshow #banner {
  position: absolute; top: 0; left: 0; right: 0;  
}

#slideshow #banner .inner {
  padding-top: 30px; padding-bottom: 30px;
  -moz-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  background: transparent url(img/white90.png);
  border-radius:  0 0 40px 40px;
  cursor: pointer;
}

/*** Map ***/
.map {
  height: 300px;
}

.map img {
  max-width: none;
}

/*** Content ***/
#content {  
  width: 65%; padding: 40px 0;
  float: left;
}

/*** Sidebar ***/
#sidebar {
  margin: -50px 0 40px; padding: 40px 4% 30px;
  width: 20%;
  color: #fff;
  overflow: hidden;
  float: right;
  position: relative;
  background: #006cb5;
  -moz-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.5);
  border-radius: 40px;
}

#sidebar h2 {
  color: #fff;
}

#sidebar .button {
  width: auto;
  text-align: center;
  display: block;
}

/*** Footer ***/
#footer {
  padding: 40px 0 0;
  line-height: 1.5em;
  font-size: 0.9em;
  clear: both;
  color: #fff;
  background: #777;
  border-top: 10px solid #F0F0F0;
}

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

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

#copyright {
  padding: 0 0 40px;
  clear: both;
  font-size: 0.8em;
}

@media screen and (max-width:  1000px) {

  .mobile {
    display: block;
  }
    
  .inner {
    padding: 0 40px;
    max-width: 700px;
  }
  
  #logo {
    padding: 15px 0;
    width: 160px;
  }
  
  #header.menuactive {
    top: -79px !important;
    position: absolute;
  }
  
  #header-content {
    display: none;
  }
      
  #primaryCtrl {
    text-decoration: none;  
    white-space: nowrap;
    overflow: hidden; 
  }
  
  #primaryCtrl span {    
    width: 20px;
    display: block;
  }

  #primaryCtrl > span {
    padding: 18px 10px 10px 0;
    float: left;
  }

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

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

  #primary .menu {
    margin-left: 30px;
    display: none;
  }
  
  #primary .menu > li {
    padding: 0;
    float: none;
  }
  
  #primary .menu a {
    border-top: 1px solid #fff;
  }
  
  #primary .menu > li > a:hover,
  #primary .menu > .active > a {
    margin-bottom: 0;
    border-bottom: 0;
  }
  
  #primary .menu ul {
    padding-left: 30px;
    width: auto;
    display: block !important;
    position: relative; left: auto; top: auto;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
  }
  
  #banner .inner {
    margin: 0 30px;
  }
  
  #content {
    margin: 0; padding: 30px 0;
    width: 100%;
  }
  
  #sidebar {
    margin: 0 -40px; padding: 40px;
    width: auto;
    color: #fff;
    float: none;
    clear: both;
    border-radius: 40px 40px 0 0;
  }
  
  #footer p {
    width: auto;
    float: none !important;
  }
}

@media screen and (max-width: 780px) {
  
  .alignleft, img[style="float: left;"],
  .alignright {
    margin: 0 0 1em 0;
    max-width: 100%;
    float: none !important;
    display: block;
    text-align: left;
  }
    
  .map {
    height: 240px;
  }
  
  .inner {
    padding: 0 30px;
  }
  
  #sidebar {
    margin: 0 -30px; padding: 40px 30px;
    border-radius: 0;
  }

}
