/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
  position: relative;
  *zoom: 1;
}

.bx-wrapper img {
  max-width: 100%;
}

@media screen and (max-width: 880px) {
  .bx-wrapper img {
    max-width: inherit; /*muss überschrieben werden! */
  }
}




/** THEME
===================================*/

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  width: auto;
}

/* LOADER */

.bx-wrapper .bx-loading {
  min-height: 50px;
  background: url(images/bx_loader.gif) center center no-repeat #fff;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  background: #fff;
  text-indent: -9999px;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  outline: 0;

}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: #25416d;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
  /*left: 10px; orig. pfeile*/
  left: 8%;
  background: url(images/pfeile.png) no-repeat -45% 50%;
}

.bx-wrapper .bx-next {
  /*right: 10px; orig. pfeile*/
  left: 11%;
  background: url(images/pfeile.png) no-repeat 125% 50%;
}

.bx-wrapper .bx-prev:hover {
}

.bx-wrapper .bx-next:hover {
}

.bx-wrapper .bx-controls-direction a {
  position: absolute;
  /*top: 50%; orig. pfeile*/
  top: 92%;
  margin-top: -20px;
  margin-left: 25px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
}

.bx-wrapper .bx-controls-auto .bx-start {
  display: block;
  text-indent: -9999px;
  width: 10px;
  height: 11px;
  outline: 0;
  background: url(images/controls.png) -86px -11px no-repeat;
  margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
  background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
  display: block;
  text-indent: -9999px;
  width: 9px;
  height: 11px;
  outline: 0;
  background: url(images/controls.png) -86px -44px no-repeat;
  margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
  background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  width: auto;
  right: 0%;
  bottom: 0%;
}

/* The new stuff */
.bx-wrapper .bx-viewport  *{
  /*margin: 0px;*/
}

.bx-wrapper h3 {
  position: absolute;
  bottom: 0px;
  width: 32%;

  margin-left: 8%;
  background-color: rgba(37,65,109,0.9); /*#25416d*/
  padding: 1% 1% 1% 9%;
  height: 3em;
  display: table;
}

.bx-wrapper h3 a {
  color: #ffffff;
  text-decoration: none;
  display: table-cell;
  vertical-align: middle;
}

.bx-pager, .bx-default-pager {
  top: 15px;
  left: 5px;
}

.bx-controls-auto {
  bottom: 10px;
  padding: 10px;
}

@media screen and (max-width: 880px) {
  .slider_text, .bx-wrapper h3 {
    padding-left: 0px;
    margin-left: 0px;
  }

  .bx-wrapper h3 {
    position: relative;
    width: auto;
    margin-left: 0;
    padding: 5% 5% 5% 5%;
    background-color: #ffffff;
  }

  .bx-wrapper h3 a {
    color: #324c7f;
  }

  .bx-wrapper .bx-prev {
    left: 10px;
  }

  .bx-wrapper .bx-next {
    right: 10px; 
    left: auto;
  }

  .bx-wrapper .bx-controls-direction a {
    top: 40%; 
  }

  .bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
    top: 70%;
  }

  .bx-pager, .bx-default-pager {
    display: none;
  }
}

/*Bug in Chrome. Div ausblenden, da sonst die Bilder überdeckt werden*/
.bx-loading {
   display:none;
}



