.tableBo,
.table-simple {
  border-collapse: collapse;

  td,
  th {
    border: 1px solid #f0f0f0;
    overflow: hidden;
    padding: 3px 5px;
  }

  thead a {
    color: $background-primary;

    &.sort {
      background-position: left center;
      background-repeat: no-repeat;
      background-size: auto 100%;
      padding-left: 20px;
    }

    &.sort-none {
      background-image: url('../images/screen/actions/sort-none.svg');
    }

    &.sort-asc,
    &.sort-desc:hover {
      background-image: url('../images/screen/actions/sort-asc.svg');
    }

    &.sort-desc,
    .sort-asc:hover,
    .sort-none:hover {
      background-image: url('../images/screen/actions/sort-desc.svg');
    }
  }

  tbody tr:nth-child(odd) {
    background-color: #fcfcfc;
  }

  tbody tr:nth-child(even) {
    background-color: #e6e6e6;
  }

  tbody tr.disabled {
    opacity: 1;
    color: #fcfcfc;
    background: #999;

    a {
      color: #fcfcfc;
    }
  }
}

.tableBo {
  width: 100%;

  .tableBo {
    float: right;
    width: auto;
  }

  td,
  th {
    &:first-child {
      border-left: 0;
    }

    &:last-child {
      border-right: 0;
    }

    &.action {
      text-align: center;
      white-space: nowrap;
      width: 30px;
    }
  }

  tbody tr:hover {
    background-color: #35b2e8;
    color: #fff;

    a {
      color: inherit;
    }
  }

  svg {
    height: 3rem;
  }

  .center {
    float: none;
    text-align: center;
  }

  .right {
    float: none;
    text-align: right;
  }
}

// Carte d'identité
#table-ci {
  margin-left: 2em;
}

// .tableBo thead a,
// .table-simple thead a {
//   color: $background-primary;

//   &.sort {
//     background-position: left center;
//     background-repeat: no-repeat;
//     background-size: auto 100%;
//     padding-left: 20px;
//   }

//   &.sort-none {
//     background-image: url('../images/screen/actions/sort-none.svg');
//   }

//   &.sort-asc,
//   &.sort-desc:hover {
//     background-image: url('../images/screen/actions/sort-asc.svg');
//   }

//   &.sort-desc,
//   .sort-asc:hover,
//   .sort-none:hover {
//     background-image: url('../images/screen/actions/sort-desc.svg');
//   }
// }

// .tableBo thead a.sort,
// .table-simple thead a.sort {
// }

// .tableBo thead a.sort-none,
// .table-simple thead a.sort-none {
// }

// .tableBo thead a.sort-asc,
// .table-simple thead a.sort-asc,
// .tableBo thead a.sort-desc:hover,
// .table-simple thead a.sort-desc:hover {
//   background-image: url('../images/screen/actions/sort-asc.svg');
// }

// .tableBo thead a.sort-desc,
// .table-simple thead a.sort-desc,
// .tableBo thead a.sort-none:hover,
// .table-simple thead a.sort-none:hover,
// .tableBo thead a.sort-asc:hover,
// .table-simple thead a.sort-asc:hover {
//   background-image: url('../images/screen/actions/sort-desc.svg');
// }

// .tableBo td,
// .tableBo th,
// .table-simple td,
// .table-simple th {
//   border: 1px solid #f0f0f0;
//   overflow: hidden;
//   padding: 3px 5px;
// }

// .tableBo tbody tr:nth-child(odd),
// .table-simple tbody tr:nth-child(odd) {
//   background-color: #fcfcfc;
// }

// .tableBo tbody tr:nth-child(even),
// .table-simple tbody tr:nth-child(even) {
//   background-color: #e6e6e6;
// }

// .tableBo tbody tr:hover {
//   background-color: #35b2e8;
//   color: #fff;

//   a {
//     color: inherit;
//   }
// }
