.wdk-DataTable {
  border: 1px solid #aaa;
  background-color: #fdfdfd;
}

.wdk-DataTableSearchBox {
  width: 300px;
}

.wdk-DataTableContainer {
  position: relative;
  margin-top: 1em;
}

.wdk-DataTableContainer .dataTables_scroll {
  border-bottom: 1px solid lightgrey;
}

.wdk-DataTable .HelpTrigger {
  position: absolute;
  right: .5em;
  top: calc(50% - .5rem);
}

.wdk-DataTable th {
  background-color: #ddd;
  border: 1px solid #aaa;
  padding: .6em;
}

.wdk-DataTable td {
  background-color: white;
  border: 1px solid #aaa;
  padding: 6px 8px;
}

.wdk-DataTableCell:empty:after {
  content: 'N/A';
  opacity: 0.4;
}

.wdk-DataTable .wdk-DataTableRow__expandable {
  cursor: pointer;
}

.wdk-DataTable .wdk-DataTableRow__expandable:hover td {
  background: #f3f3f3;
}

.wdk-DataTable .wdk-DataTableCell__childRowToggle {
  vertical-align: middle;
  width: 3em;
  padding: 0;
}

.wdk-DataTableCellExpand {
  width: 3em;
  padding: 0;
  border: none;
  line-height: 2;
  background: transparent !important;
}

.wdk-DataTableCellExpand:hover {
  color: black;
}

.wdk-DataTableCellExpand:before {
  font-family: FontAwesome;
  content: "\f0da"; /* caret-right */
  font-size: 1.6em;
  text-align: center;
  display: block;
}

.wdk-DataTableRow__expanded .wdk-DataTableCellExpand:before {
  content: "\f0d7"; /* caret-down */
  color: initial;
}

.wdk-DataTableRow__expanded td.wdk-DataTableCell {
  background-color: #f9f9f9;
  font-weight: bold;
}

/** DataTables and FontAwesome integration **/

.wdk-DataTableContainer table.dataTable thead th {
  background-image: none !important;
  background-clip: padding-box; /** prevent Firefox from painting over cell borders **/
}

.wdk-DataTableContainer table.dataTable thead th.sorting,
.wdk-DataTableContainer table.dataTable thead th.sorting_asc,
.wdk-DataTableContainer table.dataTable thead th.sorting_desc {
  cursor: pointer;
  padding-left: 2em;
  padding-right: 2em;
  position: relative;
}

.wdk-DataTableContainer table.dataTable thead th.sorting:before,
.wdk-DataTableContainer table.dataTable thead th.sorting_asc:before,
.wdk-DataTableContainer table.dataTable thead th.sorting_desc:before {
  font-family: FontAwesome;
  padding-right: 8px;
  white-space: nowrap;
  position: absolute;
  left: 8px;
  top: calc(50% - 6px);
}
.wdk-DataTableContainer table.dataTable thead th.sorting:before {
  content: "\f175\f176";
  color: #aaa;
  padding-top: 0.12em;
}
.wdk-DataTableContainer table.dataTable thead th.sorting:hover:before {
  color: #888;
}
.wdk-DataTableContainer table.dataTable thead th.sorting_asc:before {
  content: "\f160";
}
.wdk-DataTableContainer table.dataTable thead th.sorting_desc:before {
  content: "\f161";
}

.wdk-DataTableContainer .dataTables_scrollBody table.dataTable thead th:before {
  content: "" !important;
}

.wdk-DataTableContainer .dataTables_info {
  display: block;
  padding: 4px 0;
  color: #444;
  position: absolute;
  top: -3em;
  margin-left: 310px;
}
