/* https://sbb-angular.App.sbb.ch/develop/content/table */
.sbb-table-bs {
  border-spacing: 0;
  background-color: #fff;
  padding-bottom: 1.06667em;
}

.sbb-table-bs thead {
  background-color: transparent;
}

.sbb-table-bs caption {
  font-size: 0.86667em;
  color: #666;
}

.sbb-table-bs-caption > * {
  font-size: 0.86667em;
  color: #666;
}

.sbb-table-bs.striped tbody tr:nth-child(even) td,
.sbb-table-bs.striped tbody tr:nth-child(even) th {
  background-color: #f6f6f6;
}

.sbb-table-bs tr.no-border td {
  padding-top: 0;
  border-top: none;
}

.sbb-table-bs th {
  font-family: "SBBWeb Bold", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: #000;
  border-bottom: 1px solid #E5E5E5;
}

.table.sbb-table-bs thead th {
  border: none;
}

.sbb-table-bs th a {
  color: #000;
}

.sbb-table-bs th a:hover {
  text-decoration: none;
  color: #333;
}

.sbb-table-bs th i.ms-Icon.ms-Icon--Descending,
.sbb-table-bs th i.ms-Icon.ms-Icon--Ascending {
  vertical-align: bottom;
  margin: 0 0 -0.1rem 0;
}

.sbb-table-bs tr.selected td {
  border-top-color: var(--sbb-color-red125);
  font-weight: bold;
  background: var(--sbb-color-silver-alpha40);
}

.sbb-table-bs tr.deleted td {
  text-decoration: line-through;
  opacity: 0.6;
}

.sbb-table-bs tr.deleted .ms-Persona {
  opacity: 0.8;
}

.sbb-table-bs tr.deleted td.actions * {
  display: none;
}

.sbb-table-bs tr.inactive td {
  opacity: 0.6;
}

.sbb-table-bs tr.inactive .ms-Persona {
  opacity: 0.8;
}

.sbb-table-bs.fixed {
  table-layout: fixed;
}

.sbb-table-bs mark {
  padding: 0;
  background: #ffed94;
}

.sbb-table-bs.table-striped tbody tr:nth-of-type(odd) {
  background-color: #fcfcfc;
}

.sbb-table-bs.table-hover tbody tr td {
  border-top: none;
  border-bottom: 1px solid #E5E5E5;
}

.sbb-table-bs.table-hover tbody tr:hover {
  background-color: #F6F6F6;
  /* SBB: Milk */
}

.sbb-table-bs.table-hover tbody tr:hover td {
  border-top: none;
  border-bottom: 1px solid var(--sbb-color-red125);
}

table.table-sticky thead tr {
  background: #fff;
  position: sticky;
  top: 50px;
  z-index: 980;
}
