/* ---------------------------------------------------- */
/* header */
/* & any other (footer) */
table:not(.table-condensed) > thead >  tr > th,
table:not(.table-condensed) > tfoot > tr > th{
  background-color: var(--table_header_background) ;
  color: var(--table_header_text) ;
  font-weight: 500;
  white-space: nowrap;
  overflow:hidden;
  text-overflow: ellipsis;
  text-align: left ;
  vertical-align: middle;
  border:0px ;
  padding:4px;
}
/* ---------------------------------------------------- */
/* used to fix Datatable header not lining with tbody. */
table:not(.table-condensed) > thead > tr:first-child > th{
  padding-bottom:7px;
  line-height:12px;
  height:20px;
}
/* everything after the 2nd row (including) */
table:not(.table-condensed) > thead >  tr:nth-child(n+2) > th{
  padding:1px;
  border-bottom: 0px;
}
/* ---------------------------------------------------- */
/* sticky header */
table.sticky_header > thead > tr:nth-child(1)  > th{
  position: sticky;
  top: 0px;
  padding:4px;
}
/* ---------------------------------------------------- */
/* Accent */
table > thead > tr:nth-child(1) > th.is_editable,
table > thead > tr:nth-child(1) > th.is_editable_slim,
table > thead > tr:nth-child(1) > th.is_auto_slim{
  background-image: linear-gradient(to top,  var(--table_is_editable_accent) 2px,transparent 0);
}
table > thead > tr:nth-child(1) > th.is_auto,
table > thead > tr:nth-child(1) > th.is_auto2{
  background-image: linear-gradient(to top, var(--table_is_auto_accent) 2px,transparent 0);
}
/* ---------------------------------------------------- */
th > input,
th > select,
th > textarea{
  width:calc(100%);
}
/* ---------------------------------------------------- */
/* search filters */
table.datatable > thead tr > th > *.table_addition,
table.datatable > thead tr > th > *.search_filter{
    height:30px;
    margin:0px;
    border-radius: 3px;
}
/* ---------------------------------------------------- */
