@charset "UTF-8";

/*Миксины*/

.main_slider {
  min-height: 464px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.main_slider__content {
  -webkit-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
  width: calc((100% + 8px) / 12 * 6 - 8px);
  padding: 32px;
  border-radius: 16px;
}

.main_slider__content--small {
  width: calc((100% + 8px) / 12 * 5 - 8px);
}

.main_slider__text_wrapper {
  -webkit-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
}

.main_slider__text_slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
  opacity: 0;
  pointer-events: none;
  overflow: hidden auto;
  gap: 32px;
}

.main_slider__text_slide.active {
  opacity: 1;
  pointer-events: all;
}

.main_slider__title {
  margin-bottom: 16px;
}

.main_slider__images {
  border-radius: 16px;
  overflow: hidden;
}

.main_slider__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.main_slider__image.clone {
  -webkit-transition: opacity 0.4s linear;
  -o-transition: opacity 0.4s linear;
  transition: opacity 0.4s linear;
}

.main_slider__image.active {
  opacity: 1;
}

.main_slider__image img {
  margin: 0 !important;
}

.main_slider__pagination {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 3;
}

.main_slider__dot {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  cursor: pointer;
  -webkit-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
}

.main_slider__dot::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: var(--black);
  border-radius: 2px;
  -webkit-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
}

.main_slider__dot.active {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.main_slider__dot.active::before {
  opacity: 0;
  width: 10px;
  height: 22px;
}

.main_slider__dot.active .main_slider__number {
  opacity: 1;
}

.main_slider__number {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  opacity: 0;
  font-weight: 600;
  -webkit-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
}

@media (max-width: 1200px) {
  .main_slider {
    min-height: 416px;
  }

  .main_slider__content {
    width: calc((100% + 8px) / 12 * 7 - 8px);
  }

  .main_slider__content--small {
    width: calc((100% + 8px) / 12 * 5 - 8px);
  }
}

@media (max-width: 1000px) {
  .main_slider {
    min-height: unset;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }

  .main_slider__content {
    width: 100%;
  }

  .main_slider__content--small {
    width: 100%;
  }

  .main_slider__text_wrapper {
    -webkit-box-flex: unset;
        -ms-flex: unset;
            flex: unset;
  }

  .main_slider__text_slide {
    height: auto;
  }
}

@media (max-width: 700px) {
  .main_slider__content {
    padding: 16px;
    border-radius: 12px;
  }

  .main_slider__text_slide {
    gap: 24px;
  }

  .main_slider__images {
    border-radius: 12px;
  }

  .main_slider__pagination {
    right: 16px;
    bottom: 16px;
  }

  .main_slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 4px;
  }

  .main_slider__dot.active {
    width: 38px;
    height: 38px;
    border-radius: 6px;
  }

  .main_slider__dot.active::before {
    width: 8px;
    height: 20px;
  }
}