.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;

  img {
    width: 40px;
    height: auto;
  }
}

th.mat-sort-header-sorted {
  color: black;
}

.mat-mdc-table {
  .mdc-data-table__cell,
  .mdc-data-table__header-cell {
    padding-top: 8px;
    padding-bottom: 8px;
    @include transition();
  }

  .mat-mdc-row {
    &:hover {
      .mdc-data-table__cell {
        background: #f6f6f6;
      }
    }
  }
}

.mat-elevation-z8,
.mat-mdc-elevation-specific.mat-elevation-z8 {
  box-shadow: none;

  th {
    background: #f2f2f2 !important;
    border-top: 1px solid #304049;
    font-weight: 600;
  }
}

.spt-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #2b3a44;
  min-height: 57px;
  padding: 5px 0;

  &.single {
    justify-content: flex-end;
  }
}

.spt-clear {
  @include delete-image();
  position: absolute;
  right: 10px;
  top: 50%;
  background: #fff;
  width: 20px;
  height: 30px;
  transform: translate(0, -50%);
}

.spt-no-entries {
  padding: 20px 16px;
}

.mat-mdc-paginator {
  background: transparent !important;

  .mat-mdc-paginator-container {
    display: flex;
    justify-content: flex-start;
  }

  .mat-mdc-paginator-page-size-label,
  .mat-mdc-paginator-range-label {
    color: #C1C1C1;
  }

  .mat-mdc-text-field-wrapper {
    border-radius: 0;
  }

  .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__leading,
  .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__notch,
  .mdc-text-field--outlined:not(.mdc-text-field--disabled) .mdc-notched-outline .mdc-notched-outline__trailing {
    border: none;
  }

  .mat-mdc-header-cell {
    border: none;
  }

  .mat-mdc-cell {
    border-bottom: 1px solid #c1c1c1;
  }

  tbody {
    tr:first-child {
      td {

      }
    }
  }
}

app-paging > .mat-mdc-paginator:first-child {
  border-width: 4px;
}

.spt-button-td {
  width: 85px;
}
.spt-version-td {
  min-width: 160px;
}