body {
  margin: 0;
}

section {
  margin: 48px 24px;
}

h2,
h3,
h4 {
  font-family: "Roboto", Arial, sans-serif;
  padding: 0 !important;
}

h2 {
  font-size: 70px;
  margin: 24px 0 48px 0;
  font-weight: bold;
}

h3 {
  font-size: 50px;
  margin: 18px auto;
  font-weight: bold;
}

h4 {
  font-size: 32px;
  font-weight: normal;
}

p {
  margin-bottom: 24px;
}

.no-border {
  border: none !important;
}

.underline-on-hover:hover {
  text-decoration: underline !important;
}

.flex-align-right {
  display: flex;
  justify-content: flex-end;
}

.scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Цвет фона */
  color: white; /* Цвет стрелки */
  width: 50px;
  height: 50px;
  border-radius: 50%; /* Делаем круглой */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
  z-index: 1000; /* Убедитесь, что кнопка поверх других элементов */
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: rgba(0, 0, 0, 1);
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
  align-items: center;
}

.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-top: var(--bs-gutter-y);
}

[class^="col-"] {
  padding: 0;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.messenger-icons {
  display: inline-flex;
}

.icon-messanger {
  margin-right: 8px;
}

a.big-font {
  font-size: 24px !important;
}

.t228 a:not(.no-hover):hover {
  color: #fff !important;
  text-decoration: none !important;
  background: #fd3f1d !important;
}

#rec739085791 .tn-elem[data-elem-id="1712656402603"] .tn-atom {
  font-size: 42px !important;
}

.t396__elem.tn-elem.tn-elem__7390857911712656402603 {
  top: 151.6px !important;
}

/*
.t396__elem.tn-elem.tn-elem__7390857911712660354748 {
  top: 315.4px;
}

.t396__elem.tn-elem.tn-elem__7390857911712656518688 {
  top: 305.4px;
}

.t396__elem.tn-elem.tn-elem__7390857911712656402606 {
  top: 366.7px;
}

.t396__elem.tn-elem.tn-elem__7390857911712656585722 {
  top: 420px;
}

.t396__elem.tn-elem.tn-elem__7390857911712659689611 {
  top:420px;
} */

#logo {
  width: 100%;
  max-width: 210px;
}

#allrecords ul {
  margin-top: 20px !important;
}

#footer {
  font-size: 14px;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  padding: 24px;
  background: #000;
  color: #fff;
}

#footer .block {
  padding: 28px;
}

#footer a {
  color: #fda291;
}

#footer a:hover {
  text-decoration: underline;
}

#footer .icon-messanger {
  display: inline-block;
  padding: 4px 0;
  margin-right: 8px;
}

.footer-banners {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.footer-banners .tn-atom {
  margin: 24px;
}

.footer-banners .tn-atom img {
  width: auto;
  height: auto;
  max-width: 160px;
  max-height: 88px;
}

.footer-messenger-icons {
  margin: 24px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Общие стили для контейнера формы */
#feedbackForm {
  font-family: Arial, sans-serif;
  max-width: 500px;
  margin: 30px auto;
  padding: 25px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
}

/* Стили для заголовков полей */
.t-input-title {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05em;
  color: #333333;
  font-weight: 500;
}

/* Стили для блоков ввода */
.t-input-block {
  margin-bottom: 15px;
  position: relative; /* Для позиционирования сообщений об ошибках */
}

/* Стили для текстовых полей */
.t-input {
  width: calc(100% - 22px); /* Учитываем padding и border */
  padding: 12px 10px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background-color: #f2f2f2;
  color: #000000;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.t-input:focus {
  border-color: #a0a0a0; /* Более темный бордер при фокусе */
  box-shadow: 0 0 0 2px rgba(48, 47, 45, 0.2); /* Легкая тень при фокусе */
  outline: none;
}

.t-input::placeholder {
  color: #999999;
}

/* Стили для чекбокса */
.t-checkbox__control {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95em;
  color: #333333;
  margin-top: 10px;
  margin-bottom: 20px;
}

.t-checkbox {
  display: none; /* Скрываем стандартный чекбокс */
}

.t-checkbox__indicator {
  width: 20px;
  height: 20px;
  border: 2px solid #302f2d;
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  flex-shrink: 0;
  background-color: #ffffff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.t-checkbox:checked + .t-checkbox__indicator {
  background-color: #302f2d;
  border-color: #302f2d;
}

.t-checkbox:checked + .t-checkbox__indicator::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Стили для кнопки отправки */
.t-submit {
  width: 100%;
  padding: 14px 25px;
  background-color: #302f2d;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  text-align: center;
  -webkit-appearance: none; /* Для кроссбраузерности */
  -moz-appearance: none;
  appearance: none;
}

.t-submit:not(:disabled):hover {
  background-color: #4a4947; /* Более темный цвет при наведении */
}

.t-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #302f2d; /* Сохраняем цвет, но уменьшаем прозрачность */
}

/* Стили для сообщений об ошибках */
.error-message {
  color: #d9534f; /* Красный цвет для ошибок */
  font-size: 0.85em;
  margin-top: -10px; /* Поднимаем немного вверх, чтобы не было большого отступа */
  margin-bottom: 15px;
  display: block; /* Убедимся, что занимает всю ширину */
}

/* Стили для сообщений об успешной отправке */
#form-message.success-message {
  color: #5cb85c; /* Зеленый цвет для успеха */
  font-size: 1em;
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  background-color: #dff0d8;
  border-radius: 8px;
}

#form-message.error-message {
  color: #d9534f;
  font-size: 1em;
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  background-color: #f2dede;
  border-radius: 8px;
}

/* Общие стили для контейнера формы */
#feedbackForm {
  font-family: Arial, sans-serif;
  max-width: 500px;
  margin: 30px auto;
  padding: 25px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
}

/* Стили для заголовков полей */
.t-input-title {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05em;
  color: #333333;
  font-weight: 500;
}

/* Стили для блоков ввода */
.t-input-block {
  margin-bottom: 15px;
  position: relative; /* Для позиционирования сообщений об ошибках */
}

/* Стили для текстовых полей */
.t-input {
  width: calc(100% - 22px); /* Учитываем padding и border */
  padding: 12px 10px;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background-color: #f2f2f2;
  color: #000000;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.t-input:focus {
  border-color: #a0a0a0; /* Более темный бордер при фокусе */
  box-shadow: 0 0 0 2px rgba(48, 47, 45, 0.2); /* Легкая тень при фокусе */
  outline: none;
}

.t-input::placeholder {
  color: #999999;
}

/* НОВЫЕ СТИЛИ: Классы для валидации полей */
.t-input.field-correct {
  background-color: rgba(46, 204, 113, 0.3) !important;
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.3) !important;
}

.t-input.field-incorrect {
  background-color: rgba(231, 76, 60, 0.3) !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.3) !important;
}

/* Стили для чекбокса */
.t-checkbox__control {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95em;
  color: #333333;
  margin-top: 10px;
  margin-bottom: 20px;
}

.t-checkbox {
  display: none; /* Скрываем стандартный чекбокс */
}

.t-checkbox__indicator {
  width: 20px;
  height: 20px;
  border: 2px solid #302f2d;
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  flex-shrink: 0;
  background-color: #ffffff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.t-checkbox:checked + .t-checkbox__indicator {
  background-color: #302f2d;
  border-color: #302f2d;
}

.t-checkbox:checked + .t-checkbox__indicator::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* НОВЫЕ СТИЛИ: Классы для валидации индикатора чекбокса */
.t-checkbox__control.field-incorrect .t-checkbox__indicator {
  border-color: #e74c3c !important; /* Красная рамка для некорректного чекбокса */
}

.t-checkbox__control.field-correct .t-checkbox__indicator {
  border-color: #2ecc71 !important; /* Зеленая рамка для корректного чекбокса */
}

/* Стили для кнопки отправки */
.t-submit {
  width: 100%;
  padding: 14px 25px;
  background-color: #302f2d;
  color: #ffffff;
  border: none;
  border-radius: 30px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  text-align: center;
  -webkit-appearance: none; /* Для кроссбраузерности */
  -moz-appearance: none;
  appearance: none;
}

.t-submit:not(:disabled):hover {
  background-color: #4a4947; /* Более темный цвет при наведении */
}

.t-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #302f2d; /* Сохраняем цвет, но уменьшаем прозрачность */
}

/* Стили для сообщений об ошибках (текстовые, если они все еще используются) */
.error-message {
  color: #d9534f; /* Красный цвет для ошибок */
  font-size: 0.85em;
  margin-top: -10px; /* Поднимаем немного вверх, чтобы не было большого отступа */
  margin-bottom: 15px;
  display: block; /* Убедимся, что занимает всю ширину */
}

/* Стили для сообщений об успешной отправке */
#form-message.success-message {
  color: #5cb85c; /* Зеленый цвет для успеха */
  font-size: 1em;
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  background-color: #dff0d8;
  border-radius: 8px;
}

#form-message.error-message {
  color: #d9534f;
  font-size: 1em;
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  background-color: #f2dede;
  border-radius: 8px;
}

/* Дополнительные стили для выравнивания */
.t-form__inputsbox_inrow {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.t-input-group {
  margin-bottom: 0; /* Убираем стандартный отступ, так как используем gap */
}

@media screen and (max-width: 1199px) {
  .footer-banners .tn-atom img {
    max-width: 120px;
    max-height: 48px;
  }
}

@media screen and (max-width: 991px) {
  .footer-banners .tn-atom img {
    max-width: 100px;
    max-height: 38px;
  }

  #rec739085791 .t396__artboard:not(.t396__artboard-flex),
  #rec739085791 .t396__artboard:not(.t396__artboard-flex) .t396__carrier,
  #rec739085791 .t396__artboard:not(.t396__artboard-flex) .t396__filter {
    color: #000;
    background: #fff !important;
  }

  #rec739085791 .tn-elem[data-elem-id="1712656402603"] .tn-atom,
  #rec739085791 .tn-elem[data-elem-id="1712656518688"] .tn-atom,
  #rec739085791 .tn-elem[data-elem-id="1712656402606"] .tn-atom,
  #rec739085791 .tn-elem[data-elem-id="1712656585722"] .tn-atom,
  #rec739085791 .tn-elem[data-elem-id="1712659692007"] .tn-atom {
    color: #000 !important;
  }
}

@media screen and (max-width: 767px) {
  h2 {
    font-size: 36px;
  }

  .col-6 {
    width: 100%;
  }

  .icon-messanger {
    margin-right: 60px;
  }

  #logo {
    display: none;
  }

  #rec739085791 .t396__artboard,
  #rec739085791 .t396__filter,
  #rec739085791 .t396__carrier {
    height: auto !important;
  }

  #rec739085791 .tn-elem[data-elem-id="1712656402603"] {
    top: 106px !important;
  }

  #rec739085791 .tn-elem[data-elem-id="1712656518688"] {
    top: 332.8px !important;
  }

  #rec739085791 .tn-elem[data-elem-id="1712656402606"] {
    top: 446.9px !important;
  }

  #rec739085791 .tn-elem[data-elem-id="1712656402606"] .tn-atom {
    font-size: 24px !important;
  }

  #rec739085791 .tn-elem[data-elem-id="1712656585722"],
  #rec739085791 .tn-elem[data-elem-id="1712659689611"],
  #rec739085791 .tn-elem[data-elem-id="1712659692007"] {
    top: 645.5px !important;
  }

  #rec739085791 .tn-elem[data-elem-id="1712656585722"] .tn-atom,
  #rec739085791 .tn-elem[data-elem-id="1712659689611"] .tn-atom,
  #rec739085791 .tn-elem[data-elem-id="1712659692007"] .tn-atom {
    font-size: 18px !important;
  }

  .footer-banners .tn-atom:nth-of-type(2),
  .footer-banners .tn-atom:nth-of-type(3),
  .footer-banners .tn-atom:nth-of-type(4),
  .footer-banners .tn-atom:nth-of-type(5) {
    display: none !important;
  }

  .flex-mobile-column {
    flex-direction: column;
  }

  .t228__right_buttons_but a {
    font-size: 28px !important;
  }

  [field="tn_text_1712659689611"] {
    color: #fff !important;
    background: #000 !important;
    padding: 4px;
    border-radius: 16px;
  }

  #rec739085807 {
    padding-top: 0 !important;
  }

  #rec739085791 .t396__carrier,
  #rec739085791 .t396__filter,
  #rec739085791 .t396__artboard {
    height: auto !important;
  }
}

@media screen and (max-width: 575px) {
  .footer-banners {
    flex-direction: column;
  }

  .footer-banners .tn-atom img {
    max-width: 160px;
    max-height: 88px;
  }
}

@media screen and (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 540px;
  }
  .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media screen and (min-width: 768px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 720px;
  }
}

@media screen and (min-width: 992px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 960px;
  }
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
    padding: 0;
  }
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
}

.t396__artboard {
  height: auto;
}

@media screen and (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1140px;
  }
}

@media screen and (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}
