/* styles for the two table pages */

.table-box {
    background-color: #fff;
    color: #222;
    border: 2px solid #000;
    padding: 20px;
}

.table-box p {
    color: #222;
    text-align: left;
    padding: 8px 0;
}

.table-box .note {
    color: #555;
    font-size: 14px;
}

/* h3 title for both tables */
.table-title {
    color: #000;
    font-family: 'Saira Stencil', cursive;
    font-size: 28px;
    text-align: center;
    padding: 10px 0;
    text-shadow: none;
}

/* used this before I switched to .table-title, leaving in case */
/* .big-heading {
    font-size: 30px;
    text-align: center;
} */

/* comparison table */
.snack-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.snack-table th, .snack-table td {
    border: 1px solid #000;
    padding: 14px;
    text-align: center;
    font-size: 16px;
}

.snack-table th {
    font-weight: bold;
}

.snack-table th[scope="row"] {
    text-align: left;
}

/* highlited column for the product im promoting */
.snack-table .best {
    background-color: #c7e26a;
    font-weight: bold;
}

.snack-table td.best {
    background-color: #c7e26a;
}

/* training table */
.plan-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 14px;
}

.plan-table th, .plan-table td {
    border: 1px solid #333;
    padding: 8px;
    text-align: center;
}

.plan-table th[scope="col"] {
    background-color: #50662b;
    color: #fff;
}

.plan-table th[scope="row"] {
    background-color: #ece5cc;
    width: 50px;
}

.plan-table .race td, .plan-table .race th {
    background-color: #ffe0a8;
    font-weight: bold;
}

/* quote only shows when you print */
.print-quote {
    display: none;
}

/* print styles */
@media print {
    body {
        background: #fff;
        color: #000;
        padding: 0;
    }
    .no-print {
        display: none;
    }
    main {
        width: 100%;
    }
    .table-box {
        border: none;
        padding: 0;
    }
    .plan-table {
        font-size: 11px;
    }
    .plan-table th, .plan-table td {
        padding: 5px;
    }
    .print-quote {
        display: block !important;
        text-align: center;
        font-style: italic;
        margin-top: 20px;
        padding-top: 10px;
        border-top: 1px solid #000;
    }
}
