@charset 'UTF-8';

.sortable .sortkey {
  position: relative;
  display: inline-block;
  padding-right: 20px;
  cursor: pointer;
  pointer-events: auto;
}

.sortable .sortkey:after {
  font-size: 10px;
  line-height: 1;
  position: absolute;
  top: .3em;
  right: 0;
  display: flex;
  width: 16px;
  height: 16px;
  content: '\25b2';
  color: #222;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;

  align-items: center;
  justify-content: center;
}

.sortable [aria-sort=ascending],.sortable [aria-sort=descending] {
  color: #ad1010;
}

.sortable [aria-sort=descending] .sortkey:after {
  content: '\25bc';
}

.tbl-wrapper.-sticky .block.-scroll .tbl.-secondary>thead>tr>*,.tbl-wrapper.-sticky .block.-scroll .tbl.-secondary>tbody>tr.head>* {
  text-align: center;
  pointer-events: none;
  color: #fff;
  background: #777c90;
}

@media screen and (max-width:767px) {
  .tbl-wrapper.-sticky::-webkit-scrollbar {
    width: 4px;
    height: 4px;
  }

  .tbl-wrapper.-sticky::-webkit-scrollbar-track {
    background: #eee;
  }

  .tbl-wrapper.-sticky::-webkit-scrollbar-thumb {
    border: none;
    background: #aaa;
  }

  .tbl-wrapper.-sticky::-webkit-scrollbar-thumb:hover {
    background: #999;
  }

  .tbl-wrapper.-sticky .block.-scroll {
    height: 450px;
    -webkit-transform: translateZ(0);
  }

  .tbl-wrapper.-sticky .block.-scroll .tbl.-secondary {
    border-collapse: separate;
  }

  .tbl-wrapper.-sticky .block.-scroll .tbl.-secondary th,.tbl-wrapper.-sticky .block.-scroll .tbl.-secondary td {
    position: relative;
    border: 1px solid #ccc;
  }

  .tbl-wrapper.-sticky .block.-scroll .tbl.-secondary>thead>tr>*:not(:first-child),.tbl-wrapper.-sticky .block.-scroll .tbl.-secondary>tbody>tr.head>*:not(:first-child) {
    border-left: none;
  }

  .tbl-wrapper.-sticky .block.-scroll .tbl.-secondary>tbody>tr:not(.head)>* {
    border-top: none;
  }

  .tbl-wrapper.-sticky .block.-scroll .tbl.-secondary>*>tr>*:not(:first-child) {
    border-left: none;
  }

  .tbl-wrapper.-sticky .block.-scroll .tbl.-secondary>thead>tr>*,.tbl-wrapper.-sticky .block.-scroll .tbl.-secondary>tbody>tr.head>* {
    position: sticky;
    z-index: 1;
    top: 0;
    left: 0;
  }

  .tbl-wrapper.-sticky .block.-scroll .tbl.-secondary>thead>tr>*:first-child,.tbl-wrapper.-sticky .block.-scroll .tbl.-secondary>tbody>tr.head>*:first-child {
    z-index: 2;
  }

  .tbl-wrapper.-sticky .block.-scroll .tbl.-secondary>tbody>tr:not(.head)>th {
    position: sticky;
    z-index: 1;
    top: 0;
    left: 0;
  }
}
