/* Arrows */
.swiper-button-prev, .swiper-button-next {
    position: absolute;
    top: 50%;
    width: $spacing-unit * 2;
    height: $spacing-unit * 3;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    background-color: rgba(0, 0, 0, .3);
    
    &.swiper-button-disabled {
      opacity: 0.35;
      cursor: auto;
      pointer-events: none;
    }
}

.c-icon.c-swiper__icon {
  color: white;
  width: $spacing-unit * 3;
  height: $spacing-unit * 3;
  
  position: relative;
  left: 50%;
  transform: translateX(-50%)
}

.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    color: white;
    left: 0px;
    right: auto;
    &.swiper-button-black {
      color: black;
    }
    &.swiper-button-white {
      color: white;
    }
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    right: 0px;
    left: auto;
    &.swiper-button-black {
      color: black;
    }
    &.swiper-button-white {
      color: white;
    }
}
/* Pagination Styles */
.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: 300ms;
    transform: translate3d(0,0,0);
    z-index: 10;
    &.swiper-pagination-hidden {
        opacity: 0;
    }
}
/* Common Styles */
.swiper-pagination-fraction, .swiper-pagination-custom, .swiper-container-horizontal > .swiper-pagination-bullets{
    bottom: 5px;
    left: 0;
    width: 100%;
}
/* Bullets */
.swiper-pagination-bullet {
  background-color: transparent;
  width: 20px;
  height: 20px;
  position: relative;
  display: inline-block;
  border-radius: 100%;
  opacity: .5;
  transition: opacity .1s ease, background-color .1s ease;
  
  &:hover {
    opacity: 1;
  }
  
  &:after {
    content: '';
    background-color: palette(gray, dark);
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 100%;
    transform: translateX(-50%) translateY(-50%);
    transform: translate3d(-50%, -50%, 0);
    transition: opacity .1s ease, background-color .1s ease;
  }
    
  button & {
    border: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -webkit-appearance: none;
    appearance: none;
  }
  .swiper-pagination-clickable & {
      cursor: pointer;
  }
  .swiper-pagination-white & {
      background: #fff;
  }
}
.swiper-pagination-bullet-active {
  opacity: 1;
  
  &:after {
    background-color: palette(gray, lightest);
  }
  .swiper-pagination-white & {
      background: #fff;
  }
  .swiper-pagination-black & {
      background: #000;
  }
}
.swiper-container-vertical {
    > .swiper-pagination-bullets {
        right: 10px;
        top: 50%;
        transform:translate3d(0px,-50%,0);
        .swiper-pagination-bullet {
            // margin: 5px 0;
            display: block;
        }
    }
}
.swiper-container-horizontal {
    > .swiper-pagination-bullets {
        .swiper-pagination-bullet {
            // margin: 0 5px;
        }
    }
}
/* Progress */
.swiper-pagination-progress {
    background: rgba(0,0,0,0.25);
    position: absolute;
    .swiper-pagination-progressbar {
        background: #007aff;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        transform: scale(0);
        transform-origin: left top;
    }
    .swiper-container-rtl & .swiper-pagination-progressbar {
        transform-origin: right top;
    }
    .swiper-container-horizontal > & {
        width: 100%;
        height: 4px;
        left: 0;
        top: 0;
    }
    .swiper-container-vertical > & {
        width: 4px;
        height: 100%;
        left: 0;
        top: 0;
    }
    &.swiper-pagination-white {
        background: rgba(255,255,255,0.5);
        .swiper-pagination-progressbar {
            background: #fff;
        }
    }
    &.swiper-pagination-black {
        .swiper-pagination-progressbar {
            background: #000;
        }
    }
}