/* Sortable tables */
table.sortable thead {
    background-color:#eee;
    color:#666666;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    border-width: 2px 2px 3px 2px;
    border-style: solid solid solid solid;
    border-color: #ffffff #808080 #808080 #808080;
}
.sorttable_nosort {
    background-color:#ffffff;
    color:#666666;
    font-weight: bold;
    font-size: 14px;
    /*cursor: not-allowed;  */
}
     
table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after { 
    content: " \25B4\25BE" 
}
table.sortable tbody tr:nth-child(2n) td {
  background: #ffffff;
}
table.sortable tbody tr:nth-child(2n+1)  {
  background: #EFEFEF;
}

table.sortable tbody {
    font-size: 12px;
    /*cursor: not-allowed;  */
}

th.sorttable_sorted {
    background-color:#9A141B;
    color:#FFFFFF;
    font-weight: bold;
    text-transform:uppercase;
}
th.sorttable_sorted_reverse {
    background-color:#9A141B;
    color:#FFFFFF;
    font-weight: bold;
    text-transform:uppercase;
}

table.sortable caption {
  padding-top:5px;
  padding-bottom:5px;
  padding-right:5px;
  padding-left:5px;
  font-size:1.5em;
  background-color:#808080;
  color: #FFFFFF;
}

XXX_table.sortable tbody {
    counter-reset: sortabletablescope;
}
XXX_table.sortable thead tr::before {
    content: "";
    display: table-cell;
}
XXX_table.sortable tbody tr::before {
    content: counter(sortabletablescope);
    counter-increment: sortabletablescope;
    display: table-cell;
}
table.sortable {
  border-collapse: collapse;
}
table.sortable  > tbody > tr > td {
  border-width: 1px 1px 1px 1px;
  border-style: solid solid solid solid;
  border-color: #808080;
}
