/**
 * 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: fixed;
  top: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 38px;
  color: #fff;
  text-align: center;
  background: rgb(0 0 0 / 15%);
  border: none;
  transform: translateY(-50%);
  cursor: pointer;
  margin:-35px;
}

@media screen and (max-width: 600px) {
	 .itc-slider-btn {
	  position: fixed;
	  top: 300px;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  width: 30px;
	  height: 38px;
	  color: #fff;
	  text-align: center;
	  background: rgb(0 0 0 / 10%);
	  border: none;
	  transform: translateY(-50%);
	  cursor: pointer;
	  margin: 0px;
	}
 }
		 
.itc-slider-btn-hide {
  display: none;
}

.itc-slider-btn-prev {
  left: 0;
}

.itc-slider-btn-next {
  right: 0;
}

@media screen and (max-width: 600px) {
.itc-slider-btn:hover,
.itc-slider-btn:focus {
  color: #fff;
  text-decoration: none;
  background: rgb(0 0 0 / 30%);
  outline: 0;
}
         }
		 

.itc-slider-btn::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
}

.itc-slider-btn-prev::before {
  content: url('../images/arrow_l.png');
}

.itc-slider-btn-next::before {
  content: url('../images/arrow_r.png');
}

/* индикаторы */
.itc-slider-indicators {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  margin: -20px;
  padding-left: 0;
  list-style: none;
}

.itc-slider-indicator {
  flex: 0 1 auto;
  box-sizing: content-box;
  width: 30px;
  height: 3px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  background-color: rgb(255 255 255 / 50%);
  background-clip: padding-box;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  cursor: pointer;
}

.itc-slider-indicator-active {
  background-color: rgb(255 255 255 / 90%);
}