/**
 * Name: bxslider.css
 *	
 *	T.O.C
 *
 *	=Basics
 *	=Slider theme
 *	=Loader
 *	=Pager
 *	=Directional Controls (Next / Prev)
 *	=Auto Controls (Start / Stop)
 *	=Pager with auto controls hibrid layout	
 *	=Image Captions
 *
 */

/* ==========================================================================
   =Basics
   ========================================================================== */

.bx-wrapper {
  position: relative;
  padding: 0;
  margin: 0 auto 60px auto;
}

.bx-wrapper ul {
  list-style: none;
}

.bx-wrapper img {
  display: block;
  max-width: 100%;
}

/* ==========================================================================
=Slider theme
========================================================================== */

.bx-wrapper .bx-viewport {
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translatez(0);
  -moz-transform: translatez(0);
  -ms-transform: translatez(0);
  -o-transform: translatez(0);
  transform: translatez(0);
}

/**
  * 1. z-index is 55 because .bx-wrapper ul li is 50
  */

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  z-index: 55; /* 1 */
  bottom: 30px;
  width: 100%;
}

/* ==========================================================================
=Loader
========================================================================== */

.bx-wrapper .bx-loading {
  position: absolute !important;
  z-index: 10000 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  min-height: 50px !important;
  height: 100% !important;
  background: #fff url(images/bx_loader.gif) no-repeat center center !important;
}

/* ==========================================================================
=Pager
========================================================================== */

.bx-wrapper .bx-pager {
  padding-top: 20px !important;
  color: #111 !important;
  text-align: center !important;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block !important;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  display: block !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 5px !important;
  outline: 0 !important;
  margin: 0 5px !important;
  background: #111 !important;
  text-indent: -9999px !important;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: #245dc1 !important;
}

/* ==========================================================================
=Directional Controls (Next / Prev)
========================================================================== */

.bx-wrapper .bx-prev {
  left: 0;
  background: url(../images/left-2.png) no-repeat center center !important;
}

.bx-wrapper .bx-next {
  right: 0;
  background: url(../images/right-2.png) no-repeat center center !important;
}

/**
 * 1. changing the z-index from the original 9999 to 
 */

.bx-wrapper .bx-controls-direction a {
  position: absolute;
  z-index: 1000 !important; /* 1 */
  top: 50% !important;
  width: 48px !important;
  height: 48px !important;
  outline: 0 !important;
  margin-top: -24px !important;
  background-color: #191919 !important;
  opacity: 0.5 !important;
  text-indent: -9999px !important;
}

.bx-wrapper .bx-controls-direction a:hover {
  opacity: 1 !important;
}

/* .bx-wrapper .bx-controls-direction a.disabled {
  display: none !important;
} */

/* ==========================================================================
=Auto Controls (Start / Stop)
========================================================================== */

.bx-wrapper .bx-controls-auto {
  text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
  display: block;
  width: 10px;
  height: 11px;
  outline: 0;
  margin: 0 3px;
  background: url(images/controls.png) -86px -11px no-repeat;
  text-indent: -9999px;
}

.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;
  width: 9px;
  height: 11px;
  outline: 0;
  margin: 0 3px;
  background: url(images/controls.png) -86px -44px no-repeat;
  text-indent: -9999px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
  background-position: -86px -33px;
}

/* ==========================================================================
=Pager with auto controls hibrid layout	
========================================================================== */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  width: 80%;
  text-align: left;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}

/* ==========================================================================
=Image Captions
========================================================================== */

.bx-wrapper .bx-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(80, 80, 80, 0.75);
}

.bx-wrapper .bx-caption span {
  display: block;
  padding: 10px;
  color: #fff;
}

.testimonial-slider .testimonial {
  margin-bottom: 0;
}

.testimonial-slider-control {
  margin-bottom: 0;
  margin-left: 90px;
  list-style: none;
}

.testimonial-slider-control li {
  float: left;
}

.testimonial-slider-control.alt li {
  width: 75px;
  height: 75px;
}

.testimonial-slider-control li a img {
  display: block;
  opacity: 0.4;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.testimonial-slider-control li a.active img,
.testimonial-slider-control li a:hover img {
  opacity: 1;
}

.features-slider {
  margin-bottom: 50px;
}

.features-slider .bx-wrapper .bx-controls-direction a {
  width: 40px;
  height: 78px;
  margin-top: -39px;
  background-color: transparent;
}

.features-slider .bx-wrapper .bx-prev {
  left: -80px;
  background: url(../../images/left-3.png) no-repeat center center;
}

.features-slider .bx-wrapper .bx-next {
  right: -80px;
  background: url(../../images/right-3.png) no-repeat center center;
}

.features-slider .bx-wrapper .bx-pager,
.features-slider .bx-wrapper .bx-controls-auto {
  display: none;
}

.portfolio-strip-slider {
  margin-bottom: 20px;
}
.portfolio-strip-slider .portfolio-item {
  margin-bottom: 0;
}

.images-slider {
  margin-bottom: 30px;
}

@media (min-width: 768px) and (max-width: 979px) {
  .testimonial-slider-control.alt {
    margin-left: 0;
  }

  .testimonial-slider-control.alt li {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 767px) {
  .testimonial-slider-control {
    margin-left: 0;
  }

  .testimonial-slider-control li,
  .testimonial-slider-control.alt li {
    width: 42px;
    height: 42px;
  }

  .features-slider .bx-wrapper .bx-pager,
  .features-slider .bx-wrapper .bx-controls-auto {
    display: block;
    bottom: -50px;
  }
}
