.ps-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/*
 * Hide all slides by default until our JS can load.
 */
.ps-slider .slide {
  display: none;
}

/*
 * Once slider is active (via JS) then we can apply the styling
 * that the slider needs.
 */
.ps-slider.active .slide {
  display: block;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  visibility: hidden;
}
.ps-slider.active.in-transition .slide {
  visibility: visible;
}
.ps-slider.active .slide.current {
  visibility: visible !important;
}

/*
 * Transition type of "slide"
 */
.ps-slider.active.transition-type-slide .slide {
  transition: transform 600ms ease-in-out;
}

/*
 * Transition type of "opacity"
 */
.ps-slider.active.transition-type-fade .slide {
  transition: opacity 600ms ease-in-out;
  opacity: 0;
}
.ps-slider.active.transition-type-fade .slide.current {
  opacity: 1;
}

.ps-slider .slides,
.ps-slider .slide-buttons {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

/*
 * Slider controls are used for the next/prev/pause buttons.
 * Hidden by default until JS is initialized.
 */
.ps-slider .controls {
  display: none;
}
.ps-slider.active .controls {
  display: block;
}

/**
 * Specific styling for billboard sliders.
 */

/*
 * Hide ambient video billboard play/pause buttons if auto transition
 * is enabled for the slider. This prevents two play/pause buttons.
 * The slider play/pause is programmed to also play/pause the ambient
 * videos.
 */
.ps-slider-billboard.with-auto-transition .ambient-video .pause-play {
  display: none;
}

.ps-slider-billboard .controls .start-stop-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.ps-slider-billboard .controls .btn-prev,
.ps-slider-billboard .controls .btn-next {
  position: absolute;
  top: 50%;
  margin-top: -1.25em;
  border: 0;
  background: rgba(255,255,255,.6);
  color: #333;
  font-size: 2.5em;
  line-height: 1;
  padding: 0.25em 6px;
  transition: padding .6s ease-out;
  z-index: 1;
}

.ps-slider-billboard .controls .btn-prev {
  left: 0;
  border-radius: 0 .25em .25em 0;
}

.ps-slider-billboard .controls .btn-next {
  right: 0;
  border-radius: .25em 0 0 .25em;
}

.ps-slider-billboard .controls .btn-next:hover,
.ps-slider-billboard .controls .btn-next:focus,
.ps-slider-billboard .controls .btn-prev:hover,
.ps-slider-billboard .controls .btn-prev:focus {
  padding-left: 15px;
  padding-right: 15px;
}

.ps-slider-billboard .slide-number-indicator {
  position: absolute;
  top: 0;
  right: 0;
}

/*
 * Slide nav contains buttons for transitioning directly to specific slides
 * and for stopping/starting slide animation. Hidden by default until
 * the slider is initialized.
 */
.ps-slider-billboard .slide-buttons {
  position: absolute;
  bottom: .25em;
  left: 0;
  right: 0;
  text-align: center;
  display: none;
  z-index: 1;
}
.ps-slider-billboard.active .slide-buttons {
  display: block;
}

.ps-slider-billboard .slide-buttons li {
  display: inline-block;
  margin: 0 .5em;
}

.ps-slider-billboard .slide-buttons button {
  border: 1px solid #333;
  background-color: #333;
  line-height: 1.25em;
  height: 1.5em;
  width: 1.5em;
  font-weight: bold;
  color: #fff;
}

.ps-slider-billboard .slide-buttons .slide-number,
.ps-slider-billboard .slide-buttons .sr-slide-number,
.ps-slider-billboard .slide-buttons .sr-current-slide-identifier {
  pointer-events: none;
}

.ps-slider-billboard .slide-buttons button.current {
  background-color: #fff;
  color: #333;
}

.ps-slider-billboard .slide-buttons button:hover,
.ps-slider-billboard .slide-buttons button:focus {
  border: 1px dotted #fff;
}

.ps-slider-billboard .slide-buttons button.current:hover,
.ps-slider-billboard .slide-buttons button.current:focus {
  border: 1px dotted #333;
}

.ps-slider-billboard .billboard {
  margin: 0;
}
