.table {
margin: auto;
max-width: 38em;
}
.table th {
border-top: 1px solid black;
border-bottom: 1px solid black;
vertical-align: middle;
font-weight: normal;
text-align: center;
}
/* units rows are centred */
.units {
text-align: center;
white-space: nowrap;
}
/* Top and bottom borders */
.horizborder {
border-top: 1px solid black;
border-bottom: 1px solid black;
border-collapse: collapse;
}
/* Borders between cols */
.colborder td:nth-child(n+2),
.colborder th:nth-child(n+2){
border-left: 1px solid black;
}
/* centre-1, figure-many, centre-1 */
.col_c1_figm_c1 tr:not(.units) td {
text-align: center;
}
.col_c1_figm_c1 tr:not(.units) td:nth-child(n+2):not(:last-child) {
padding-left: 1em;
padding-right: 1em;
text-align: right;
}
/* centre-2, figure-many, centre-1 */
.col_c2_figm tr:not(.units) td {
text-align: center;
}
.col_c2_figm tr:not(.units) td:nth-child(n+3) {
padding-left: 1em;
padding-right: 1em;
text-align: right;
}