
/**
 * Slide Box
 * --------------------------------------------------
 */

.slide-box {
  position: relative;
  // Make sure items don't scroll over ever
  overflow: hidden;
  background-color: #000;
}
.slide-box-slides {
  position: relative;
  white-space: nowrap;
  font-size: 0; // Remove the gaps between slide content items
  -webkit-transition: -webkit-transform 0 ease-in-out;
}

.slide-box-animating {
  @include transition-duration(0.2s);
}

.slide-box-slide {
  display: inline-block;
  width: 100%;
  height: 100%;
  vertical-align: top;

  img {
    width: 100%;
  }
}

.slide-box-pager {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;

  > * {
    display: inline-block;
    margin: 0px 5px;
    color: #fff;
    text-decoration: none;

    opacity: 0.3;

    &.active {
      opacity: 1;
      @include transition(opacity 0.4s ease-in);
    }
  }
}
