body {
    padding: 24px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.5vw;
    width: calc(100% - 50px);
    margin: 10px
}

noscript p {
    text-align: center;
    color:#300;
    background-color: #f99;
    border: 1px solid #600;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 60px;
}

img {
    width: 32%;
}

h1 {
    font-size: 6vw;
}

form {
    margin-top: 36px;
}

form label {
    display: block;
    width: calc(100% - 50px);
    font-size: 3vw;
}

input,
select {
    display: block;
    margin: 0 auto 16px auto;
    padding: 8px 24px;
    border-radius: 4px;
    border-width: 1px;
    font-size: 3vw;
}

select {
    font-size: 2.5vw;
}

#email {
    width: calc(100% - 25px);
    padding: 8px;
}

.vote_table {
    width: 100%;
}

.vote_head,
.vote_foot,
.vote_row {
    margin: 5px auto;
}

.vote_head th {
    text-align: left;
}

.vote_row:nth-child(odd) {
    background-color: #e0e0e0;
}

.vote_head,
.vote_row label {
    font-size: 2.5vw;
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
}

.vote_head th:last-of-type {
    text-align: center;
}

.vote_row td {
    vertical-align: top;
}

.vote_row td:first-of-type label {
    white-space: nowrap;
}

.vote_row input,
.vote_row select {
    margin-bottom: 0;
}

.vote_foot td {
    text-align: right;
}

.admin_button {
    padding: 6px 24px;
    font-size: 2.5vw;
}

.admin_button a {
    text-decoration: none;
}

.admin_error,
.error_message {
    font-size: 3vw;
    color: #900;
    margin: 0 0 -24px 0;
}

.admin_error {
    margin-bottom: 12px;
}

.success_message {
    font-size: 3vw;
    font-weight: bold;
}

th, td {
    padding: 5px 10px;
}

th.entrant {
    text-align: left;
}

td.vote,
th.votes {
    text-align: right;
}

header,
main {
    margin: 0 5%;
}

@media (min-width: 992px) {
    header,
    main {
        max-width: 847px;
        margin: 0 auto;
    }
    h1 {
        font-size: 4vw;
    }
    form label,
    input,
    select {
        font-size: 2vw;
    }
}
