html, body {
    height: 100%;
    margin: 0;
    font-family: sans-serif;
}

h1 {
    display: inline;
    flex-grow: 1;
    margin: 0;
}

a {
    text-decoration: none;
    color: #f68b28;
}
a:hover, a:active {
    text-decoration: underline;
}

input, select, textarea {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}
input[type='text'], input[type='email'], textarea {
    min-width: 15rem;
}

ul {
    list-style-type: none;
}
li {
    margin: 0.5rem;
}

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}
tr {
    border-bottom: 1px solid black;
}
tr.paid {
    background-color: lightgreen;
}
th, td {
    padding: 0.25rem;
    vertical-align: top;
}
th:not(:last-child), td:not(:last-child) {
    border-right: 1px solid black;
}
tbody tr:last-child {
    border-bottom: none;
}
td a {
    display: block;
    width: 100%;
    text-align: center;
}

#site {
    max-width: 1280px;
    min-height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border: 1px solid #BBBBBB;
}

header, footer {
    padding: 0.5rem;
    background-color: #EEEEEE;
    flex-grow: 0;
    flex-shrink: 0;
}

header {
    display: flex;
    align-items: end;
}

header img {
    flex-grow: 0;
    flex-shrink: 0;
}

nav {
    text-align: right;
    padding: 0.5rem;
}

nav a {
    border: 1px solid black;
    background-color: #333333;
    margin-right: 0.25rem;
    padding: 0.25rem 0.5rem;
    color: white;
}

main {
    flex-grow: 1;
    padding: 0.5rem;
}

div.actions {
    margin-top: 2.5rem;
    text-align: center;
}
div.actions a {
    padding: 0 1rem;
}

footer {
    text-align: center;
}
