/*
 * Backgound Function Collection
 * Oct 19: Largely rewrite to be more flexible
 *      - Before/After taking "Content" now
 *      - Ignore the rest of parameters if neither Image nor color exist
 *      - Able to handle Hover & Active BG
 */
/* Positioning & Sizing Function Collection
 * 
 * Oct 19: Enhanced dimen, if only one parameter, make it square size
 */
.tablesorter thead .tablesorter-headerRow .tablesorter-header {
  cursor: pointer;
}
.tablesorter thead .tablesorter-headerRow .tablesorter-header:focus {
  color: #000;
}
.tablesorter thead .tablesorter-headerRow .tablesorter-header.tablesorter-header .tablesorter-header-inner {
  display: inline-block;
  padding-right: 17px;
}
.tablesorter thead .tablesorter-headerRow .tablesorter-header.tablesorter-header .tablesorter-header-inner:hover {
  text-decoration: underline;
}
.tablesorter thead .tablesorter-headerRow .tablesorter-header.tablesorter-header .tablesorter-header-inner:after {
  content: "";
  position: relative;
  display: inline-block;
  width: 17px;
  height: 12px;
  margin-right: -17px;
  background-position: right center;
  background-size: 12px;
  background-repeat: no-repeat;
}
.tablesorter thead .tablesorter-headerRow .tablesorter-header.tablesorter-headerDesc .tablesorter-header-inner:after {
  background-image: url(../../public/images/common/table-sort-arrow.svg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
  background-position: left center;
}
.tablesorter thead .tablesorter-headerRow .tablesorter-header.tablesorter-headerAsc .tablesorter-header-inner:after {
  background-image: url(../../public/images/common/table-sort-arrow.svg);
}
.tablesorter.darkerTable thead .tablesorter-headerRow .tablesorter-header:focus {
  color: #fff;
}
.tablesorter.darkerTable thead .tablesorter-headerRow .tablesorter-header.tablesorter-headerDesc .tablesorter-header-inner:after {
  background-image: url(../../public/images/common/table-sort-arrow-white.svg);
}
.tablesorter.darkerTable thead .tablesorter-headerRow .tablesorter-header.tablesorter-headerAsc .tablesorter-header-inner:after {
  background-image: url(../../public/images/common/table-sort-arrow-white.svg);
}
