/* table header cells */
.table th {
    padding: 0; /* more compact */
    vertical-align: middle; /* centered */
}


/* responsive table */
@media screen and (max-width: 600px) {
    table {
        border: 0;
    }

    table th {
        display: block;
        margin: 1rem 0;
    }

    table tr {
        display: block;
        margin: 1rem 0;
    }

    table td {
        display: block;
        text-align: right;
    }

    table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    table td:last-child {
        border-bottom: 0;
    }

    h1 {
        font-size: 1rem;
    }
}

select {
    max-width: 100%;
}

