.qf-carousel {
  overflow-x: hidden;
  position: relative;
}

.qf-carousel__container {
  position: relative;
  height: 300px;
}

.qf-carousel__arrow {
  border: none;
  outline: 0;
  padding: 0;
  margin: 0;
  height: 36px;
  width: 36px;
  cursor: pointer;
  transition: .3s;
  border-radius: 50%;
  background-color: rgba(31, 45, 61, 0.11);
  color: #fff;
  position: absolute;
  top: 50%;
  z-index: 10;
  transform: translateY(-50%);
  text-align: center;
  font-size: 12px;
}

.qf-carousel__arrow--left {
  left: 16px;
}

.qf-carousel__arrow--right {
  right: 16px;
}

.qf-carousel__arrow {
  &:hover {
    background-color: rgba(31, 45, 61, 0.23);
  }
  i {
    cursor: pointer;
  }
}

.qf-carousel__indicators {
  position: absolute;
  list-style: none;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 0;
  z-index: 2;
}

.qf-carousel__indicators--outside {
  bottom: 26px;
  text-align: center;
  position: static;
  transform: none;
  .qf-carousel__indicator:hover button {
    opacity: 0.64;
  }
  button {
    background-color: #c0c4cc;
    opacity: 0.24;
  }
}

.qf-carousel__indicators--labels {
  left: 0;
  right: 0;
  transform: none;
  text-align: center;
  .qf-carousel__button {
    height: auto;
    width: auto;
    padding: 2px 18px;
    font-size: 12px;
  }
  .qf-carousel__indicator {
    padding: 6px 4px;
  }
}

.qf-carousel__indicator {
  display: inline-block;
  background-color: transparent;
  padding: 12px 4px;
  cursor: pointer;
  &:hover button {
    opacity: 0.72;
  }
  &.is-active button {
    opacity: 1;
  }
}

.qf-carousel__button {
  display: block;
  opacity: .48;
  width: 30px;
  height: 2px;
  background-color: #fff;
  border: none;
  outline: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-arrow-left-enter, .carousel-arrow-left-leave-active {
  transform: translateY(-50%) translateX(-10px);
  opacity: 0;
}

.carousel-arrow-right-enter, .carousel-arrow-right-leave-active {
  transform: translateY(-50%) translateX(10px);
  opacity: 0;
}
