/**
 * 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
 */

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.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 20%;
    max-width: 20%;
    user-select: none;
    will-change: transform;
}

.itc-slider-2 .itc-slider__item {
    flex: 0 0 50%;
    max-width: 50%;
    user-select: none;
    will-change: transform;
}

/* кнопки влево и вправо */
.itc-slider__btn {
    position: absolute;
    bottom: -125px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    color: #fff;
    text-align: center;
    background: rgba(0, 0, 0, 0);
    border: none;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 0;
}

.itc-slider__btn_hide {
    display: none;
}

.itc-slider__btn_prev {
    left: 45%;
}

.itc-slider__btn_next {
    right: 45%;
}

.itc-slider__btn:hover,
.itc-slider__btn:focus {
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0);
    outline: 0;
    box-shadow: 0px 8px 24px rgba(255, 255, 255, 0);
    border-radius: 15px;
}

.itc-slider__btn::before {
    content: "";
    display: inline-block;
    width: 70px;
    height: 70px;
    background: transparent no-repeat center center;
    background-size: 100% 100%;
}

.itc-slider__btn_prev::before {
    background-image: url("../img/Group.png");
}

.itc-slider__btn_next::before {
    background-image: url("../img/Group2.png");
}

/* индикаторы */
.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: 30px;
    height: 5px;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    background-color: rgba(255, 255, 255, 0);
    background-clip: padding-box;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    cursor: pointer;
}

.itc-slider__indicator_active {
    background-color: rgba(255, 255, 255, 0);
}

@media (max-width: 600px) {

    .itc-slider__item {
        flex: 0 0 100%;
        max-width: 100%;
        user-select: none;
        will-change: transform;
    }

    .itc-slider-2 .itc-slider__item {
        flex: 0 0 100%;
        max-width: 100%;
        user-select: none;
        will-change: transform;
    }

}