/* Center tables for demo */
table {
  margin: 0 auto;
}

/* Default Table Style */
table {
  color: #333;
  background: white;
  border: 1px solid grey;
  font-size: 12pt;
  border-collapse: collapse;
}
table thead th{
  color: #777;
  background: rgba(0,0,0,.1);
  position: sticky; top: 0; z-index: 1;
}

table tfoot th {
  color: #777;
  background: rgba(0,0,0,.1);
}

table caption {
  padding:.5em;
}
table th,
table td {
  padding: .5em;
  border: 1px solid lightgrey;
}

td:not(:nth-child(2)){text-align:right;}

th {
    cursor: pointer;
  position: sticky; top: 0; z-index: 1;
  color: #777;
  background: #eee;
}

.tableFixHead          { overflow: auto; height: 700px; }
.tableFixHead thead th { position: sticky; top: 0; z-index: 1; }
