/**
 * ItcSlider
 * @version 1.0.0
 * @author https://github.com/itchief
 * @copyright Alexander Maltsev 2020 - 2022
 * @license MIT (https://github.com/itchief/ui-components/blob/master/LICENSE)
 * @tutorial https://itchief.ru/javascript/slider
 */

.itc-slider {
  position: relative;
}

.itc-slider__wrapper {
  overflow: hidden;
}

.itc-slider__items {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.itc-slider__transition-none {
  transition: none;
}

.itc-slider__item {
  flex: 0 0 100%;
  max-width: 100%;
  user-select: none;
  will-change: transform;
}

/* РєРЅРѕРїРєРё РІР»РµРІРѕ Рё РІРїСЂР°РІРѕ */
.itc-slider__btn {
  position: absolute;
  top: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
width: 6.1vw;
  height: 5.8vw;
  color: #fff;
  text-align: center;
  
  border: none;
  transform: translateY(-50%);
  cursor: pointer;
}

.itc-slider__btn_hide {
  display: none;
}

.itc-slider__btn_prev {
  left: -0.6vw;
  
}

.itc-slider__btn_next {
  right: -0.6vw;
}

.itc-slider__btn:hover,
.itc-slider__btn:focus {
  color: #fff;
  text-decoration: none;
  
  outline: 0;
  animation: wipe-in-2 1s cubic-bezier(.46,.03,.52,.96) forwards;
width: 6.1vw;
  height: 7.8vw;
}

.itc-slider__btn::after {
   
  content: "";
  animation: wipe-out-2 1s cubic-bezier(.46,.03,.52,.96) forwards;
  background-position: 0,100%;
  background-size: contain;
  left: 0;
  mask-image: linear-gradient(-55deg,#000 20%,transparent 26%,transparent 64%,#000 70%);
  -webkit-mask-image: linear-gradient(-55deg,#000 20%,transparent 26%,transparent 64%,#000 70%);
  mask-size: 500%;
  -webkit-mask-size: 500%;
  mask-position: 100%;
  -webkit-mask-position: 100%;
  top: 0;
  width: 100%;
  height: 100%;
}

.itc-slider__btn_prev::after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E"),url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E");
  transform: rotate(180deg);
    
}


.itc-slider__btn_prev:hover::after {
    
  animation: wipe-in-2 .8s cubic-bezier(.46,.03,.52,.96) forwards;
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E"),url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E"),url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E");
  mask-size: auto 7vw;
  -webkit-mask-size: auto 7vw;
  mask-position: left center,right center;
  -webkit-mask-position: left center,right center;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  background: #51f4d1;
  background: linear-gradient(90deg,#51f4d1,#247390);
  transform: rotate(180deg);
}


.itc-slider__btn_next::after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E"),url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E");
  }
.itc-slider__btn_next:hover::after {
    
  animation: wipe-in-2 .8s cubic-bezier(.46,.03,.52,.96) forwards;
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E"),url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E"),url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 29'%3E%3Cpath d='M4.4.9h2.7l9.8 13.8-9.8 13.5H4.4l9.8-13.5L4.4.9zM0 .9h3.4l9.8 13.8-9.8 13.5H0v.8h7.5L18 14.7 7.5 0H0v.9z' fill='%23fff'/%3E%3C/svg%3E");
  mask-size: auto 7vw;
  -webkit-mask-size: auto 7vw;
  mask-position: left center,right center;
  -webkit-mask-position: left center,right center;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  background: #51f4d1;
  background: linear-gradient(90deg,#51f4d1,#247390);
 
  
  
  
}
/* РёРЅРґРёРєР°С‚РѕСЂС‹ */
.itc-slider__indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  margin: 0 15%;
  padding-left: 0;
  list-style: none;
}

.itc-slider__indicator {
  flex: 0 1 auto;
  box-sizing: content-box;
  width: 3vw;
  height: .5vw;
  margin-right: .3vw;
  margin-left: .3vw;
  text-indent: -99.9vw;
  background-color: rgb(255 255 255 / 50%);
  background-clip: padding-box;
  border-top: 1.5vw solid transparent;
  border-bottom: 1.5vw solid transparent;
  cursor: pointer;
}

.itc-slider__indicator_active {
  background-color: rgb(255 255 255 / 90%);
}
