/* Just Table HTML: asset condiviso del plugin. */
.jth-widget {
  --jth-min-width: 980px;
  --jth-radius: 12px;
  --jth-border-radius: 18px;
  --jth-blue: #0b2e63;
  --jth-mask: #fff;
  width: 100%;
  min-width: 0;
  color: #313131;
}
.jth-widget .jth-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto; overflow-y: hidden;
  border: 1px solid #e4eaf3;
  border-radius: var(--jth-border-radius,18px);
  background: #fff;
  box-shadow: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c3d0e2 #f1f4f9;
}
.jth-widget .jth-table,
.jth-floating .jth-table {
  width: 100%;
  min-width: var(--jth-min-width,980px);
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  color: #313131;
}
.jth-widget .jth-table th,
.jth-floating .jth-table th {
  box-sizing: border-box;
  padding: 16px 18px;
  text-align: left;
  vertical-align: middle;
  font-weight: 700;
  white-space: nowrap;
  background: var(--jth-blue,#0b2e63);
  color: #fff;
  border: 0 !important;
}
.jth-widget .jth-table td {
  box-sizing: border-box;
  padding: 17px 18px;
  min-width: 140px;
  vertical-align: middle;
  background: #fff;
  border: 0 !important;
  border-bottom: 1px solid #edf1f6 !important;
}
.jth-widget .jth-table th:first-child,
.jth-widget .jth-table td:first-child,
.jth-floating .jth-table th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 180px;
  max-width: 220px;
  box-shadow: 2px 0 5px rgba(0,0,0,.04);
}
.jth-widget .jth-table th:first-child,
.jth-floating .jth-table th:first-child {
  z-index: 3;
  background: var(--jth-blue,#0b2e63);
  color: #fff;
}
.jth-widget .jth-table td:last-child,
.jth-widget .jth-table th:last-child,
.jth-floating .jth-table th:last-child {
  min-width: 140px;
}
.jth-widget .jth-table tbody tr:last-child td {
  border-bottom: 0 !important;
}
.jth-widget .jth-wrap::-webkit-scrollbar { height: 6px; }
.jth-widget .jth-wrap::-webkit-scrollbar-track {
  background: #f1f4f9;
  border-radius: 0 0 18px 18px;
}
.jth-widget .jth-wrap::-webkit-scrollbar-thumb {
  background: #c3d0e2;
  border-radius: 4px;
}
.jth-widget .jth-wrap::-webkit-scrollbar-thumb:hover { background: #95a9c4; }
@media (hover: hover) and (pointer: fine) {
  .jth-widget .jth-wrap { cursor: grab; }
}
.jth-widget .jth-wrap.jth-dragging {
  cursor: grabbing;
  user-select: none;
}
.jth-widget .jth-wrap:focus-visible {
  outline: 2px solid #0b2e63;
  outline-offset: 4px;
}
.jth-widget .jth-note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #667085;
}
/* Questi elementi sono nel body: non aggiungere selector. */
.jth-floating {
  position: fixed;
  display: none;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--jth-radius,12px) var(--jth-radius,12px) 0 0;
  background: var(--jth-blue,#0b2e63);
  box-shadow: none;
  pointer-events: none;
  z-index: 90;
}
.jth-floating .jth-floating-scroll {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.jth-floating .jth-table { table-layout: fixed; }
/* Maschera sotto il menu e dietro agli angoli arrotondati. */
.jth-top-mask {
  position: fixed;
  display: none;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  pointer-events: none;
  z-index: 89;
}
@media print {
  .jth-floating,
  .jth-top-mask { display: none !important; }
}

.jth-widget[data-first-column="normal"] .jth-table th:first-child,
.jth-widget[data-first-column="normal"] .jth-table td:first-child,
.jth-floating[data-first-column="normal"] .jth-table th:first-child {
  position: static; box-shadow: none; max-width: none;
}
.jth-widget .jth-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: max(0px, calc(var(--jth-border-radius,18px) - 1px));
}
.jth-widget .jth-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: max(0px, calc(var(--jth-border-radius,18px) - 1px));
}
.jth-widget .jth-note > p { margin: 0; }
.jth-widget .jth-table tbody td {
  background: var(--jth-row-bg, #fff);
  border-bottom-color: var(--jth-separator, #edf1f6) !important;
}
.jth-widget[data-stripes="yes"] .jth-table tbody tr:nth-child(even) td {
  background: var(--jth-stripe-bg, #f5f8fc);
}
.jth-widget .jth-table tbody tr td:first-child {
  background: var(--jth-first-column-bg, var(--jth-row-bg, #fff));
}
.jth-widget[data-stripes="yes"] .jth-table tbody tr:nth-child(even) td:first-child {
  background: var(--jth-first-column-bg, var(--jth-stripe-bg, #f5f8fc));
}
@media (hover: hover) and (pointer: fine) {
  .jth-widget[data-hover="yes"] .jth-table tbody tr:hover td,
  .jth-widget[data-hover="yes"] .jth-table tbody tr:hover td:first-child,
  .jth-widget[data-hover="yes"][data-stripes="yes"] .jth-table tbody tr:nth-child(even):hover td:first-child {
    background: var(--jth-hover-bg, #eaf1fa);
  }
}

/* Optional row links and action column. */
.jth-widget .jth-table .jth-name-link { color: inherit; text-decoration: none; text-underline-offset: 3px; cursor: pointer; }
.jth-widget .jth-table .jth-name-link:hover { color: #17457d; text-decoration: underline; }
.jth-widget .jth-table .jth-row-button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 10px 16px; background-color: #0b2e63; color: #fff; border: 0; border-radius: 8px; font: inherit; font-weight: 600; line-height: 1.3; text-decoration: none; white-space: nowrap; cursor: pointer; }
.jth-widget .jth-table .jth-row-button:hover { background-color: #17457d; color: #fff; }
.jth-widget .jth-table .jth-row-button:focus-visible,
.jth-widget .jth-table .jth-name-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.jth-widget .jth-table .jth-action-cell,
.jth-floating .jth-table .jth-action-cell { text-align: center; }

/* Wrap long headings without assigning the same width to every column. */
.jth-widget[data-wrap-headings="yes"] .jth-table thead th,
.jth-floating[data-wrap-headings="yes"] .jth-table thead th { white-space: normal; }
.jth-widget[data-wrap-headings="yes"] .jth-heading-text,
.jth-floating[data-wrap-headings="yes"] .jth-heading-text {
  display: block;
  max-width: var(--jth-heading-width, 160px);
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

/* Keep nested strong from increasing the first-column link weight. */
.jth-widget .jth-table .jth-name-link,
.jth-widget .jth-table .jth-name-link strong {
  font-size: inherit;
  font-weight: 500;
  line-height: inherit;
}

/* Override theme rules on both original and floating headings. */
.jth-widget[data-wrap-headings="yes"] .jth-table thead th,
.jth-floating[data-wrap-headings="yes"] .jth-table thead th,
.jth-widget[data-wrap-headings="yes"] .jth-heading-text,
.jth-floating[data-wrap-headings="yes"] .jth-heading-text {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}