/**
  * SimpleAdaptiveSlider by itchief (https://github.com/itchief/ui-components/tree/master/simple-adaptive-slider)
  * Copyright 2020 - 2022 Alexander Maltsev
  * Licensed under MIT (https://github.com/itchief/ui-components/blob/master/LICENSE)
  */

/* стили для корневого элемента слайдера */
.itcss {
  position: relative;
  /* max-width: 600px; */
  margin-right: auto;
  margin-left: auto;
}

/* стили для wrapper */
.itcss__wrapper {
  position: relative;
  overflow: hidden;
  /* background-color: #eee; */
}

/* стили для элемента, в котором непосредственно расположены элементы (слайды) */
.itcss__items {
  display: flex;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* стили для элементов */
.itcss__item {
  position: relative;
  flex: 0 0 100%;
  max-width: 100%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
  max-height: 902px;
}

/* кнопки Prev и Next */
.itcss__btn {
  position: absolute;
  top: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 4rem;
  color: #fff;
  background: rgb(0 0 0 / 10%);
  border: none;
  outline: none;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.5;
  user-select: none;

  /* border-radius: 50%; */
  /* height: 40px; */
  background: #fff;
  /* opacity: 1; */
}

.itcss__btn_hide {
  display: none;
}

.itcss__btn:hover,
.itcss__btn:focus {
  color: #fff;
  text-decoration: none;
  border: none;
  opacity: 0.7;
}

.itcss__btn_prev {
  left: 0;
}
.itcss__btn_prev.hide{
  display: none;
}
.itcss__btn_next {
  right: 0;
  /* transform: rotate(180deg); */
}
.itcss__btn_next.hide{
  display: none;
}

.itcss__btn::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 2rem;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
}

.itcss__btn_prev::before {
  /* background-image: url('/img/slider-arrow.png'); */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
  filter: invert(1);
}

.itcss__btn_next::before {
  /* background-image: url('/img/slider-arrow.png'); */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  filter: invert(1);
}

/* Индикаторы */
.itcss__indicators {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  display: flex;
  justify-content: center;
  margin: 0 15%;
  padding-left: 0;
  list-style: none;
  user-select: none;
}

.itcss__indicator {
  flex: 0 1 auto;
  width: 30px;
  height: 2px;
  margin-right: 3px;
  margin-left: 3px;
  background-color: rgb(255 255 255 / 50%);
  background-clip: padding-box;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  cursor: pointer;
}

.itcss__indicator_active {
  background-color: #fff;
}

/* класс для отключения transition */
.transition-none {
  transition: none;
}

.itcss__item a {
  width: 100%;
  height: 100%;
  display: flex;
}

/* Slick slider */
.itcss__wrapper .slider-navigation button{
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    z-index: 100;
    opacity: .5;
    margin-top: -20px;
}
.itcss__wrapper .slider-navigation button.slick-next {
  right: 15px;
  transform: rotate(180deg);
}
.itcss__wrapper .slider-navigation button.slick-disabled {
  display: none !important;
}
.itcss__wrapper .slider-navigation button.slick-prev {
  left: 15px;
  margin-top: 0;
}
.itcss__wrapper .slider-navigation button.slick-disabled {
  display: none !important;
}
.itcss__wrapper .slider-navigation button img {
  width: 24px;
}
.slick-next:before,
.slick-prev:before {
  content: none;
}
/*
.slick-track{
  min-height: 100%;
  height: 100%;
}*/