/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

body {
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/*
 * Base styles
 */

html {
  margin: 0;
  padding: 0;
}

body {
  font: 18px/20px "Times New Roman", Times, serif;
  font-style: italic;
  font-weight: normal;
  color: #fff;
  /*background:#6d5b52;*/
  padding: 115px 0 0 0;
  height: 100%;
  margin: 0;
  background: url("../img/wolken.png") no-repeat -100px 0px fixed #a2bdce;
  /*-moz-background-size: cover;
	-webkit-background-size: cover;
	-o-background-size: cover;
	background-size: cover;*/
  background-repeat: repeat-x;
}

p {
  margin: 0 0 1em 0;
}
a:link {
  color: #bdc0c2;
}
a:focus {
  outline: none;
}

a:visited {
  color: #bdc0c2;
}

a:hover {
  color: #ffffff;
}

/*
 * Header
 */

header {
  margin: 0px auto;
  width: 90%; /* 946px; */
  height: 101px;
  position: relative;
  border-bottom: 2px solid #dfe1e5;
  border-right: 2px solid #dfe1e5;
  border-left: 2px solid #dfe1e5;
  margin-bottom: 58px;
  /*-webkit-box-shadow:  5px 5px 5px 1px rgba(100, 100, 100, 0.3);
	box-shadow:  5px 5px 5px 1px rgba(100, 100, 100, 0.3);*/
}

#slider-container {
  height: 114px;
  width: 100%;
  position: absolute;
  top: -98px;
  background: url(../img/steuermann.png) top center no-repeat;
}

/*
 * Navigation
 */

nav {
  width: 100%;
}
nav ul {
  margin: 35px 0 0 15px;
  padding: 0;
}
nav li {
  display: inline;
  margin: 0;
}
nav a {
  padding: 20px 30px 20px 30px;
  padding: 20px 10px;
  font-size: 24px;
  font-family: "Abel", Arial, serif;
  font-weight: 400;
  font-style: normal;
  color: #bdc0c2;
  text-decoration: none;
  text-transform: uppercase;
}
nav span#subline {
  font-size: 17px;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
  text-decoration: none;
  text-transform: none;
  position: absolute;
  left: 45px;
  top: 62px;
}

nav a.active {
  color: #ffffff !important;
}

nav a:visited {
  color: #bdc0c2;
}

nav a:hover {
  color: #ffffff;
}

/*
 * Inhalt
 */

#content {
  width: 90%;/* 905px; */
  margin: 0px auto 25px auto;
  padding-left: 45px;
  /*display:none;*/
}
h2 {
  font: 23px/22px "Times New Roman", Times, serif;
  font-style: italic;
  color: #a7c1d6;
  margin: 0 0 25px 0;
}

footer {
  margin: 2rem auto 0;
  width: 90%;
}

/*
	Slides container
	Important:
	Set the width of your slides container
	Set to display none, prevents content flash
*/
.slides_container {
  width: 905px;
  /*display:none;*/
}

/*
	Each slide
	Important:
	Set the width of your slides
	If height not specified height will be set by the slide content
	Set to display block
*/
.slides_container section {
  width: 905px;
  height: 377px;
  height: 410px;
  height: 495px;
  display: block;
}

/*
	Next/prev buttons
*/
.next-wrap,
.prev-wrap {
  float: right;
  width: 40px;
  height: 18px;
  position: relative;
  top: -27px;
  z-index: 1000;
}
.next,
.prev {
  display: block;
  width: 40px;
  height: 0;
  padding-top: 18px;
  background-image: url(../img/pager-sprite.png);
  background-position: 0px 0px;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1000;
}
.next {
  background-position: -38px 0px;
}

.next {
  left: 585px;
}
a.next:hover {
  background-position: -38px -29px;
}
a.prev:hover {
  background-position: 0px -29px;
}

/*
	Pagination
*/

.pagination {
  float: right;
  position: relative;
  margin: 0;
  padding: 0;
  top: -27px;
  z-index: 1000;
}

.pagination li {
  /*float:left;*/
  margin: 0;
  list-style: none;
  float: left;
}

.pagination li a {
  display: block;
  width: 7px;
  height: 0;
  padding-top: 18px;
  background-image: url(../img/pager-sprite.png);
  background-position: -83px 0px;
  background-repeat: no-repeat;
  /*float:left;*/
  overflow: hidden;
  float: left;
  position: relative;
  z-index: 1000;
}

.pagination li.current a {
  background-position: -83px -29px;
}

.pagination li a:hover {
  background-position: -83px -29px;
}

#load {
  display: none;
  position: fixed;
  right: 50%;
  top: 445px;
  margin-left: -33px;
  margin-top: -33px;
  width: 66px;
  height: 66px;
  text-indent: -9999em;
  z-index: 9990;
  background: url(../img/loading.gif) center center no-repeat;
}

a#impressum,
a#impressum:visited,
a#datenschutz,
a#datenschutz:visited {
  font-family: Helvetica, Arial, sans-serif;
  font-style: normal;
  text-decoration: none;
  text-transform: uppercase;
  color: #bdc0c2;
  font-size: 11px;
  display: inline;
}
a#impressum:hover,
a#datenschutz:hover {
  color: #ffffff;
}
.ninty-deg {
  position: absolute;
  /*margin-left:-40px;
	margin-top:-45px;*/
  top: 600px;
  margin-left: -30px;
  /*rotation: 90deg !important;*/
  /* ** Hacks ** */
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

a#datenschutz.ninty-deg {
	top: 500px;
	margin-left: -37px;
}

#flash {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -999;
}
.column-right,
.column-left {
  width: 50%;
  float: left;
}

.column-right p,
.column-right figure {
  margin-left: 15px;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 1440px) {
}

@media only screen and (min-width: 1) {
  /* Style adjustments for viewports that meet the condition */
}

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  only screen and (min-resolution: 144dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links for images, or javascript/internal links
     */

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

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

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

figcaption {
  padding: 3px 0;
  width: 220px;
  font-size: 13px;
  line-height: 1.2;
}

a.flyer-link {
  color: white;
  font-size: 2rem;
  display: block;
  margin-top: 30px;
}