.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.slider .controls {
  z-index: 1;
  position: absolute;
  width: 100%;
  bottom: 0;
  height: 48px;
}
.slider .control {
  position: absolute;
  display: block;
  cursor: pointer;
  width: 48px;
  height: 48px;
  z-index: 99;
}
.slider .control.left {
  left: 15px;
}
.slider .control.right {
  right: 15px;
}
.slider .slider-rail {
  display: flex;
  width: 100%;
}
.slider .slider-counter {
  display: flex;
  position: absolute;
  z-index: 99;
  left: 50%;
  bottom: 30px;
  padding-left: 15px;
  padding-right: 15px;
  list-style-type: none;
  transform: translateX(-50%);
}
.slider .slider-counter__btn {
  cursor: pointer;
  border: none;
  background: none;
}
.slider .slide {
  display: block;
  box-sizing: border-box;
  min-width: 100vw;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 100px;
  background-size: cover;
}

.slideshow {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.slideshow .control {
  position: absolute;
  display: block;
  cursor: pointer;
  width: 48px;
  height: 48px;
  z-index: 99;
}
.slideshow .control.left {
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
}
.slideshow .control.right {
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
}
.slideshow .control.captions {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.slideshow .slideshow-rail {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  transition: transform 0.25s linear;
}
.slideshow .slideshow-slide {
  display: block;
  box-sizing: border-box;
  min-width: 100%;
}
.slideshow .slideshow-slide figure {
  display: block;
  width: 100%;
  margin: 0;
}