#tblwo {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

#tblwo td, #tblwo th { 
    border: 1px solid #ddd;
  padding: 1px;
}

#tblwo tr:nth-child(even){background-color: #f2f2f2;}
#tblwo tr:hover {background-color: #ddd;}

#tblwo th {
  padding-top:0px;
  padding-bottom: 0px;
  text-align: left;
  background-color: #585858;
  color: white;
}

/* Responsive container and sticky header for data tables */
.table-scroll-container {
  overflow: auto;
  flex: 1;
  border: 1px solid #ddd;
  background: #fff;
}

#tblwo.table-responsive-view {
  width: max-content;
  min-width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

#tblwo.table-responsive-view th {
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: #585858;
  color: #fff;
  padding: 4px 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  white-space: nowrap;
  font-size: 11px;
}

#tblwo.table-responsive-view td {
  padding: 3px 6px;
  white-space: nowrap;
  font-size: 11px;
}

#tblwo.table-responsive-view td.wrap-cell {
  white-space: normal;
  max-width: 240px;
  word-break: break-word;
}

#tblwo.table-responsive-view .col-del { width: 55px; min-width: 55px; }
#tblwo.table-responsive-view .col-date { width: 72px; min-width: 72px; text-align: center; }
#tblwo.table-responsive-view .col-wo { width: 85px; min-width: 80px; max-width: 95px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tblwo.table-responsive-view .col-cust { width: 120px; min-width: 100px; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tblwo.table-responsive-view .col-tech { width: 110px; min-width: 95px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tblwo.table-responsive-view .col-title { width: 150px; min-width: 130px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tblwo.table-responsive-view .col-location { width: 95px; min-width: 80px; max-width: 95px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tblwo.table-responsive-view .col-rate { width: 60px; min-width: 55px; text-align: right; }
#tblwo.table-responsive-view .col-num { width: 36px; min-width: 32px; text-align: right; }
#tblwo.table-responsive-view .col-exp { width: 52px; min-width: 48px; text-align: right; }
#tblwo.table-responsive-view .col-total { width: 65px; min-width: 60px; text-align: right; font-weight: bold; }
#tblwo.table-responsive-view .col-paid { width: 72px; min-width: 68px; text-align: center; }

