
.custom-table-block:not(.custom-table-inited) { display: none; }
.custom-table-block { border-collapse: collapse; margin: 0 0 16px; }
.custom-table-block-full-width { width: 100%; }
.custom-table-block-layout-fixed, .custom-table-block-fixed-width { table-layout: fixed; }
.custom-table-block th, .custom-table-block td { padding: 10px 12px; text-align: left; vertical-align: top; }
.custom-table-block-center th, .custom-table-block-center td, .custom-table-block-center-content td { text-align: center; }
.custom-table-block-right th, .custom-table-block-right td { text-align: right; }
.custom-table-block-bordered th, .custom-table-block-bordered td { border: 1px solid var(--ct-border, currentColor); }
.custom-table-block-horizontal td, .custom-table-block-horizontal th { border-bottom: 1px solid var(--ct-border, currentColor); }
.custom-table-block-odd-rows tbody tr:nth-child(odd), .custom-table-block-even-rows tbody tr:nth-child(even) { background: var(--ct-stripe, rgba(0, 0, 0, .05)); }
.custom-table-block-highlight-rows tbody tr:hover { background: var(--ct-highlight, rgba(0, 0, 0, .08)); }
.custom-table-block th.table-header-th { font-weight: 700; }
.custom-table-block[data-table-sort="true"] th.table-header-th:not(.no-sort-there) { cursor: pointer; white-space: nowrap; }
.custom-table-block[data-table-sort="true"] th.table-header-th:not(.no-sort-there)::after { content: " \2195"; opacity: .5; }
.custom-table-block th.sorted-asc::after { content: " \2191" !important; opacity: 1 !important; }
.custom-table-block th.sorted-desc::after { content: " \2193" !important; opacity: 1 !important; }
.custom-table-block th.table-header-th:focus-visible { outline: 2px solid var(--ct-focus, currentColor); outline-offset: 2px; }
.table-mobile-controls { display: none; text-align: center; padding: 10px; }
.table-mobile-controls .prev-tr, .table-mobile-controls .next-tr { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; user-select: none; }
.table-mobile-controls .prev-tr:focus-visible, .table-mobile-controls .next-tr:focus-visible { outline: 2px solid var(--ct-focus, currentColor); outline-offset: 2px; }
.tr-digits { display: inline-block; margin: 0 12px; }
.tr-count::before { content: " / "; }

@media screen and (max-width: 820px) {
  .table-mobile-controls { display: block; }
  .custom-table-block[data-mobile-styles="disabled"], .custom-table-block:not([data-mobile-styles]) { display: block; overflow: auto; }
  .custom-table-block[data-mobile-styles="true"], .custom-table-block[data-mobile-styles="stacked"], .custom-table-block[data-mobile-styles="horizontScroll"] { width: 100%; }
  .custom-table-block[data-mobile-styles="true"] thead, .custom-table-block[data-mobile-styles="stacked"] thead, .custom-table-block[data-mobile-styles="horizontScroll"] thead { display: none; }
  .custom-table-block[data-mobile-styles="true"] tbody td, .custom-table-block[data-mobile-styles="stacked"] tbody td, .custom-table-block[data-mobile-styles="horizontScroll"] tbody td {
    display: table; width: 100%; padding: 0; border-width: 0 0 1px 0;
  }
  .custom-table-block tbody td[data-th]::before, .custom-table-block tbody td .custom-table-mobileWrap { display: table-cell; width: 50%; padding: 10px; vertical-align: middle; }
  .custom-table-block tbody td[data-th]::before { content: attr(data-th); font-weight: 700; }
  .custom-table-block[data-mobile-styles="horizontScroll"] { display: block; }
  .custom-table-block[data-mobile-styles="horizontScroll"] tbody { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .custom-table-block[data-mobile-styles="horizontScroll"] tbody tr { display: block; flex: 0 0 100%; scroll-snap-align: center; }
}
