/* Reset all potential built-in rendering assumptions so we have full control. */
table, table * {
    border: none;
    padding: 0em 0em 0em 0em;
    margin: 0em 0em 0em 0em;
}
table {
    /* Will centre tables on iBooks and others, but annoyingly, not ADE-based devices, which ignore auto margins. */
    margin: 1em auto 1em auto;
    border-spacing: 0em;
}

table caption {
    margin-top: 0.25em;
    caption-side: bottom;
    text-align: center;
}

/* Insert a little padding within cells, mainly horizontal, to keep tables from being cramped to the content width of each cell. */
th, td {
    padding: 0.25em 0.75em;
}

/* Fill the table head and draw a border around the entire row. */
thead th {
    background-color: #efedec;
    border-top: 1pt solid #ccc;
    border-bottom: 1pt solid #ccc;
    /* Reduce intensity of default header font rendering */
    font-size: 0.9rem;
    font-weight: normal;
    color: #46393A;
}
thead th:first-child {
    border-left: 1pt solid #ccc;
}
thead th:last-child {
    border-right: 1pt solid #ccc;
}

/* Draw a vertical rule between cells. */
td + td {
    border-left: 1pt solid #ccc;
}

/* Avoid text indents in paragraphs inside cells. */
td p { margin: 0rem 0rem 0rem 0rem; text-indent: 0rem; }
