/**
  * 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;
}

/* кнопки Prev и Next */
.itcss__control {
	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;
}

.itcss__control_hide {
	display: none;
}

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

.itcss__control_prev {
	left: 0;
}

.itcss__control_next {
	right: 0;
}




/* Индикаторы */
.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;
}
