table{
  width: 100% !important;
  border-collapse: collapse;
  page-break-inside: auto;
  &.list{
    border-top: 1px solid lighten($color-print, 70%);
    border-bottom: 1px solid lighten($color-print, 70%);
    margin-bottom: 10px;
    tbody{
      tr{
        & + tr{
          border-top: 1px solid lighten($color-print, 80%);
        }
      }
    }
  }
}

tr    {
  page-break-inside:avoid;
  page-break-after:auto
}

td, th{
  padding: 0 5px;
  text-align: left;
}

th{
  @extend %print_bg_hack;
}

thead{
  display: table-header-group;
  tr{
    //border-bottom: 1px solid lighten($color-print, 80%);
    th{
      &:first-child{
        border-left: 1px solid lighten($color-print, 80%);
      }
      &:last-child{
        border-right: 1px solid lighten($color-print, 80%);
      }
    }
  }
}

tfoot{
  tr{
    border-top: 1px solid lighten($color-print, 70%);
  }
}
.affix-cell-wrap{
  @extend %display_none;
}

.autoscroll{
  margin: 0;
  overflow: inherit;
}