/* AKUTOL table */

.uc-akutol-table table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  overflow: hidden !important;
}

/* Сбрасываем все лишние скругления */
.uc-akutol-table table,
.uc-akutol-table thead,
.uc-akutol-table tbody,
.uc-akutol-table tr,
.uc-akutol-table th,
.uc-akutol-table td {
  border-radius: 0 !important;
}

/* Тело таблицы: обычные столбцы белые */
.uc-akutol-table tbody tr > * {
  background-color: #FFFFFF !important;
}

/* Тело таблицы: 2 и 4 столбцы зеленые */
.uc-akutol-table tbody tr > *:nth-child(2),
.uc-akutol-table tbody tr > *:nth-child(4) {
  background-color: #ECF8F8 !important;
}

/* Шапка: обычные столбцы бежевые */
.uc-akutol-table thead tr > * {
  background-color: #FBF8F3 !important;
}

/* Шапка: 2 и 4 столбцы зеленые */
.uc-akutol-table thead tr > *:nth-child(2),
.uc-akutol-table thead tr > *:nth-child(4) {
  background-color: #ECF8F8 !important;
}

/* Верхний левый угол всей таблицы */
.uc-akutol-table thead tr:first-child > *:first-child {
  border-top-left-radius: 64px !important;
}

/* Верхний правый угол всей таблицы */
.uc-akutol-table thead tr:first-child > *:last-child {
  border-top-right-radius: 64px !important;
}

/* Нижний левый угол всей таблицы */
.uc-akutol-table tbody tr:last-child > *:first-child {
  border-bottom-left-radius: 64px !important;
}

/* Нижний правый угол всей таблицы */
.uc-akutol-table tbody tr:last-child > *:last-child {
  border-bottom-right-radius: 64px !important;
}

/* Принудительно убираем нижние скругления у шапки */
.uc-akutol-table thead tr:last-child > *:first-child {
  border-bottom-left-radius: 0 !important;
}

.uc-akutol-table thead tr:last-child > *:last-child {
  border-bottom-right-radius: 0 !important;
}

/* Принудительно убираем верхние скругления у первой строки тела */
.uc-akutol-table tbody tr:first-child > *:first-child {
  border-top-left-radius: 0 !important;
}

.uc-akutol-table tbody tr:first-child > *:last-child {
  border-top-right-radius: 0 !important;
}


/* Красный заголовок AKUTOL® во 2 столбце шапки */
.uc-akutol-table thead tr:first-child > *:nth-child(2) {
  color: #FF3920 !important;
}






/* AKUTOL table mobile paddings */
@media screen and (max-width: 640px) {
  .uc-akutol-table th,
  .uc-akutol-table td {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
    box-sizing: border-box !important;
    vertical-align: middle !important;
  }

  /* Первый столбец - больше воздуха слева из-за скругления */
  .uc-akutol-table th:first-child,
  .uc-akutol-table td:first-child {
    padding-left: 44px !important;
  }

  /* Последний столбец - больше воздуха справа из-за скругления */
  .uc-akutol-table th:last-child,
  .uc-akutol-table td:last-child {
    padding-right: 44px !important;
  }

  /* Шапка таблицы - чуть крупнее и свободнее */
  .uc-akutol-table thead th,
  .uc-akutol-table thead td {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
}






/* AKUTOL table mobile background fix - safe version */
@media screen and (max-width: 768px) {

  /* Красим только фон самого блока и wrapper, НЕ внутренности таблицы */
  #rec2345447431,
  #rec2345447431.t-rec,
  .akutol-pin-wrapper,
  .akutol-pin-wrapper.akutol-ready,
  .akutol-pin-wrapper.akutol-ready > #rec2345447431 {
    background: #EEF1EE !important;
    background-color: #EEF1EE !important;
  }

  /* Возвращаем прозрачность внутренним элементам внутри ячеек,
     чтобы они не перекрывали цвет самих колонок */
  #rec2345447431 .uc-akutol-table th *,
  #rec2345447431 .uc-akutol-table td * {
    background: transparent !important;
    background-color: transparent !important;
  }

  /* Сами ячейки таблицы: обычные столбцы белые */
  #rec2345447431 .uc-akutol-table tbody tr > * {
    background-color: #FFFFFF !important;
  }

  /* Сами ячейки таблицы: 2 и 4 столбцы голубые */
  #rec2345447431 .uc-akutol-table tbody tr > *:nth-child(2),
  #rec2345447431 .uc-akutol-table tbody tr > *:nth-child(4) {
    background-color: #ECF8F8 !important;
  }

  /* Шапка таблицы: обычные столбцы бежевые */
  #rec2345447431 .uc-akutol-table thead tr > * {
    background-color: #FBF8F3 !important;
  }

  /* Шапка таблицы: 2 и 4 столбцы голубые */
  #rec2345447431 .uc-akutol-table thead tr > *:nth-child(2),
  #rec2345447431 .uc-akutol-table thead tr > *:nth-child(4) {
    background-color: #ECF8F8 !important;
  }

  /* Правая подсказка-градиент под цвет фона сайта, а не белая */
  #rec2345447431.akutol-pin-active::after {
    background: linear-gradient(
      to left,
      rgba(238, 241, 238, 0.98) 0%,
      rgba(238, 241, 238, 0.75) 45%,
      rgba(238, 241, 238, 0) 100%
    ) !important;
  }
}