/* ==========================================
   КАРУСЕЛЬ КЛИЕНТОВ
   ========================================== */

div[data-record-type="418"] {
  display: none;
}

.slick-slide,
.slick-slide a,
.slick-slide .t-btn {
  outline: none;
}

@media screen and (max-width: 960px) {
  .slick-slide {
    margin-bottom: 0 !important;
  }
}

.slider_html .tn-atom__html,
.slider_wrapper {
  width: inherit;
  height: inherit;
}

/* Высота слайдов */
.slick-list,
.slick-slide,
.slick-track {
  height: 100% !important;
}

.slick-track > div {
  background-size: cover;
  background-position: center;
  margin: 0;
}

div[class*="_slide"] {
  cursor: pointer;
}

/* Мобильная версия карусели */
@media screen and (max-width: 600px) {
  .slick-track {
    height: auto !important;
  }
}


/* ==========================================
   КВИЗ
   ========================================== */

div[class*="start-quiz"],
.next_step,
.prev_step {
  cursor: pointer;
}

.hide_quiz {
  opacity: 0 !important;
  height: 0 !important;
  max-height: 0 !important;
  min-height: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.hide-quiz-answ {
  opacity: 0;
  height: 0;
  max-height: 0;
  min-height: 0;
  pointer-events: none;
  overflow: hidden;
  position: absolute;
  z-index: -10;
}

.next_step.disnext {
  opacity: 0.5;
  filter: grayscale(1);
  pointer-events: none;
}

.next_step.disnext .tn-atom > div {
  opacity: 0;
}


/* ==========================================
   ГРАДИЕНТ И ПРОГРЕСС-БАР
   ========================================== */

.progress-gradient {
  background: repeating-linear-gradient(
    45deg,
    #FFC857,
    #FFC857 10px,
    #fad37f 10px,
    #fad37f 20px
  );

  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  background-size: 300%;
  border-radius: 50px;
}

/* Анимация только на компьютерах */
@media (min-width: 769px) {
  .progress-gradient {
    animation: animprogressline 30s linear infinite;
  }
}

.progress-barrier {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background: inherit;
}

.tn-elem.progress_bar .tn-atom {
  height: inherit;
}

@keyframes animprogressline {
  from {
    background-position-x: right;
  }

  to {
    background-position-x: left;
  }
}


/* ==========================================
   АЛЬТЕРНАТИВНЫЕ ЭЛЕМЕНТЫ
   ========================================== */

[name$="-alternative"],
[data-tilda-name$="-alternative"] {
  display: none;
}

.show-alt [name$="-alternative"],
.show-alt [data-tilda-name$="-alternative"] {
  display: block;
}

.final-step button.t-submit {
  pointer-events: none;
}

.final-step .tn-form__submit {
  cursor: pointer;
}


/* ==========================================
   ФИКСИРОВАННЫЕ ПАНЕЛИ ZERO BLOCK
   ========================================== */

/*#rec554354483 .t396__artboard,*/
/*#rec554831816 .t396__artboard,*/
/*#rec554831348 .t396__artboard {*/
/*  position: fixed;*/
/*  z-index: 999;*/
/*  top: calc(50vh - 175px);*/
/*  transition: transform 0.3s ease;*/
/*}*/

/*#rec554354483:hover .t396__artboard,*/
/*#rec554831816:hover .t396__artboard,*/
/*#rec554831348:hover .t396__artboard {*/
/*  transform: translateX(-5px);*/
/*}*/


/* ==========================================
   POP-UP ОКНА
   ========================================== */

div[class*="uc-zw-"],
.hide-popup-zero {
  position: absolute;
  width: 100%;
  top: 0;
  opacity: 0;
  z-index: -10;
  pointer-events: none;
}

.uc-main-popup {
  position: fixed;
  z-index: 999;
}

.uc-main-popup .t-popup {
  padding: 0;
  display: block !important;
  pointer-events: none;
  transition: none;
}

.uc-main-popup .t-popup__container {
  left: 0;
  right: 0;
  background: none;
}

.uc-main-popup .t-popup.t-popup_show {
  pointer-events: auto;
}

.uc-main-popup .popup-transition {
  transition: opacity ease-in-out 0.3s;
}

.tn-atom .t-form__errorbox-wrapper,
.tn-form__errorbox-popup,
.t-form-success-popup {
  z-index: 9999999 !important;
}

div#tilda-popup-for-error {
  display: none !important;
}

.popup-zero .t396__filter {
  cursor: pointer;
}


/* ==========================================
   МОБИЛЬНОЕ МЕНЮ
   ========================================== */

.t451m__container {
  padding: 0 !important;
}

.t451m {
  max-width: 350px !important;
}

.t451m__close {
  background-color: transparent;
}

.t451m__close_icon span {
  background-color: #000 !important;
}


/* ==========================================
   ОПТИМИЗАЦИЯ SLICK SLIDER
   ========================================== */

/*
  Не задаём transform, display и will-change
  глобально: Slick самостоятельно управляет
  позиционированием и размерами слайдов.
*/
