/*
 * Component: Table
 * ----------------
 */

.table {
  //Cells
  > thead,
  > tbody,
  > tfoot {
    > tr {
      > th,
      > td {
        border-top: 1px solid @box-border-color;
      }
    }
  }
  //thead cells
  > thead > tr > th {
    border-bottom: 2px solid @box-border-color;
  }
  //progress bars in tables
  tr td .progress {
    margin-top: 5px;
  }
}

//Bordered Table
.table-bordered {
  border: 1px solid @box-border-color;
  > thead,
  > tbody,
  > tfoot {
    > tr {
      > th,
      > td {
        border: 1px solid @box-border-color;
      }
    }
  }
  > thead > tr {
    > th,
    > td {
      border-bottom-width: 2px;
    }
  }
}

.table.no-border {
  &,
  td,
  th {
    border: 0;
  }
}

/* .text-center in tables */
table.text-center {
  &, td, th {
    text-align: center;
  }
}

.table.align {
  th {
    text-align: left;
  }
  td {
    text-align: right;
  }
}

.desktop.content table.data,
.sf_admin_list > .table {
  font-size: 13px !important;

  th, th > a {
    font-weight: 600;

  }
  b, strong {
    font-weight: 600;
  }

  thead tr:first-child th:first-child {
    border-top-left-radius:3px;
    border-left: 0;
  }
  thead tr:first-child th:last-child {
    border-top-right-radius:3px;
  }
}

table.tablesaw-non-fix {
  table-layout: auto !important;
  font-size: 13px;
}

table.tablesaw {
  thead {
    th {
      overflow: hidden !important;
      text-overflow: ellipsis;
      white-space: normal !important;
      font-weight: 600;
    }
  }
}