.usa-table {
  width: 100%;
  margin: 0;
  margin-bottom: 2rem;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
}

/* Borderless Editor Option */
.usa-table--borderless,
.table-style--borderless .usa-table {
  thead th {
    font-weight: 600;
  }

  tbody th {
    font-weight: 400;
  }

  th,
  td {
    border-right: 0;
    border-left: 0;
  }
}

/* Zebra Striped Editor Option */
.usa-table--striped,
.table-style--stripes .usa-table {
  tbody th {
    font-weight: 400;
  }

  tbody tr:nth-child(odd) {
    th,
    td {
      background-color: var(--table-row-even-bg-color);
    }
  }
}

.usa-table caption {
  padding: 1.5rem 0;
  font-family: var(--font-family-title);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: left;
}

/* Start <thead> styles */
.usa-table thead th {
  padding: 1rem;
  background-color: var(--table-header-bg-color);
  color: var(--table-header-text-color);
  font-family: var(--table-header-font-family);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  text-align: left;
}

.usa-table thead th a {
  color: var(--table-header-text-color);
  text-decoration: none;
}

.usa-table thead th a:hover {
  color: var(--table-header-text-color);
  text-decoration: none;
}

.usa-table thead th a .tablesort--asc,
.usa-table thead th a .tablesort--desc {
  background-image: none;
}

.usa-table thead th a .tablesort--asc:before,
.usa-table thead th a .tablesort--desc:before {
  color: var(--table-header-text-color);
  font-family: var(--font-family-fontawesome);
  font-weight: 900;
  position: relative;
}

.usa-table thead th a .tablesort--asc:before {
  content: "\f0dd";
  top: -3px;
}

.usa-table thead th a .tablesort--desc:before {
  content: "\f0de";
  top: 4px;
}

.usa-table thead th[aria-sort] {
  background-color: #20509e;
  color: var(--fdic-white);
}
/* End <thead> styles */

/* Start generic <th>, <td>, <tr> */
.usa-table th,
.usa-table td {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--table-border-color);
}

.usa-table tr {
  background-color: var(--table-row-bg-color);
  margin: 0;
  padding: 0;
}
/* End generic <th>, <td>, <tr> */
