/* Mini Table - A Free Design by Bryant Smith (bryantsmith.com)
   Everything you can see on the page is controlled from this one file.
   The section headings below tell you where to look to change things. */


/* ---- BODY: the warm desk behind the page ---- */

body {
    background: #f2ede2;
    color: #3a3f47;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
    padding: 48px 20px;
    text-align: center;
}

* {
    margin: 0;
    padding: 0;
}

#page {
    background: #fffdf8;
    border-radius: 14px;
    box-shadow: 0 2px 4px rgba(34, 38, 46, 0.06), 0 18px 44px rgba(34, 38, 46, 0.12);
    margin: 0 auto;
    max-width: 820px;
    overflow: hidden;
    text-align: left;
}


/* ---- HEADER: the bright yellow strip at the top ---- */

#header {
    background-color: #ffce3a;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0, rgba(255, 255, 255, 0.13) 12px, rgba(255, 255, 255, 0) 12px, rgba(255, 255, 255, 0) 24px);
    border-bottom: 6px solid #f2b705;
    padding: 44px 56px 38px 56px;
}

#header .kicker {
    color: #6b5310;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2.5px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

#header h1 {
    color: #1d2129;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 46px;
    font-weight: normal;
    letter-spacing: -0.5px;
    line-height: 1.05;
}

#header .tagline {
    color: #5c4a12;
    font-size: 13px;
    margin-top: 12px;
}


/* ---- MENU: the row of links in the header strip ---- */

#menu {
    font-size: 11px;
    letter-spacing: 1.5px;
    margin-top: 30px;
    text-transform: uppercase;
}

#menu a,
#menu a:visited {
    border-bottom: 2px solid rgba(29, 33, 41, 0.25);
    color: #1d2129;
    margin-right: 20px;
    padding-bottom: 3px;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

#menu a:hover,
#menu a:focus {
    border-bottom-color: #0f766e;
    color: #0f766e;
}


/* ---- CONTENT: the main column of text and the table ---- */

#content {
    padding: 48px 56px 24px 56px;
}

#content p {
    margin-bottom: 20px;
}

#content a,
#content a:visited {
    border-bottom: 1px solid #a7d6cf;
    color: #0f766e;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease;
}

#content a:hover {
    border-bottom-color: #0b5a54;
    color: #0b5a54;
}

.lead {
    color: #2f343b;
    font-size: 20px;
    line-height: 1.65;
    margin-bottom: 40px;
}

h2 {
    color: #1d2129;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 25px;
    font-weight: normal;
    margin: 48px 0 18px 0;
}

h2::after {
    background: #0f766e;
    border-radius: 2px;
    content: "";
    display: block;
    height: 3px;
    margin-top: 10px;
    width: 46px;
}


/* ---- TABLE: a small display-only table of personal stats ---- */

table.stats {
    border: 1px solid #e7e0d2;
    border-collapse: collapse;
    font-size: 15px;
    width: 100%;
}

table.stats caption {
    color: #8a8f98;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.5px;
    padding-bottom: 12px;
    text-align: left;
    text-transform: uppercase;
}

table.stats thead th {
    background: #22262e;
    color: #ffffff;
    font-size: 11px;
    letter-spacing: 1px;
    padding: 14px 16px;
    text-align: left;
    text-transform: uppercase;
}

table.stats thead th.num {
    text-align: right;
}

table.stats tbody td {
    border-top: 1px solid #e7e0d2;
    color: #3a3f47;
    padding: 14px 16px;
}

/* Zebra rows: every other row gets a warm tint so the eye can follow a line */
table.stats tbody tr:nth-child(even) {
    background: #faf5e9;
}

/* Hover row for a gentle, useful highlight */
table.stats tbody tr:hover {
    background: #eef7f5;
}

table.stats td.num {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* Small colour cues for the "Change" column */
.stats .up {
    color: #0f766e;
    font-weight: bold;
}

.stats .down {
    color: #c2410c;
    font-weight: bold;
}


/* ---- NOTES: the friendly list that sits under the table ---- */

ul.notes {
    list-style: none;
    margin: 22px 0 30px 0;
}

ul.notes li {
    color: #3a3f47;
    margin-bottom: 14px;
    padding-left: 30px;
    position: relative;
}

ul.notes li::before {
    background: #ffce3a;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(255, 206, 58, 0.35);
    content: "";
    height: 9px;
    left: 4px;
    position: absolute;
    top: 11px;
    width: 9px;
}

blockquote {
    background: #f4faf8;
    border-left: 4px solid #0f766e;
    border-radius: 0 8px 8px 0;
    color: #46505a;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.65;
    margin: 34px 0;
    padding: 22px 26px;
}

blockquote p {
    margin: 0;
}


/* ---- NOTE: the tinted "how to use this template" box ---- */

.note {
    background: #fff6d8;
    border: 1px solid #f2d98a;
    border-radius: 10px;
    color: #4a3d10;
    padding: 22px 26px;
}

.note p {
    margin: 0;
}

code {
    background: #f0ead9;
    border-radius: 4px;
    color: #8a4b00;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.92em;
    padding: 1px 5px;
}


/* ---- FOOTER: the required credit link ---- */

#footer {
    border-top: 1px solid #e7e0d2;
    color: #9a9384;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 52px;
    padding: 22px 56px 30px 56px;
    text-align: center;
    text-transform: uppercase;
}

#footer a,
#footer a:visited {
    color: #7d7666;
    text-decoration: none;
}

#footer a:hover {
    color: #0f766e;
}


/* ---- SMALL SCREENS: tighten the page for phones ---- */

@media (max-width: 640px) {
    body {
        padding: 24px 12px;
    }

    #header {
        padding: 32px 24px 28px 24px;
    }

    #header h1 {
        font-size: 33px;
    }

    #header .tagline {
        font-size: 12px;
    }

    #menu a,
    #menu a:visited {
        display: inline-block;
        margin-bottom: 10px;
        margin-right: 16px;
    }

    #content {
        padding: 34px 24px 16px 24px;
    }

    .lead {
        font-size: 17px;
        margin-bottom: 30px;
    }

    h2 {
        font-size: 22px;
    }

    table.stats {
        font-size: 13px;
    }

    table.stats thead th {
        font-size: 10px;
        padding: 11px 9px;
    }

    table.stats tbody td {
        padding: 11px 9px;
    }

    blockquote {
        font-size: 16px;
        padding: 18px 20px;
    }

    #footer {
        padding: 20px 24px 26px 24px;
    }
}


/* ---- PRINT: a clean sheet with no decoration ---- */

@media print {
    body {
        background: #ffffff;
        padding: 0;
    }

    #page {
        box-shadow: none;
        max-width: 100%;
    }

    #menu {
        display: none;
    }

    table.stats tbody tr:hover {
        background: transparent;
    }
}
