/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html, body {
    height: 100%;
    font-family: 'Comic Neue', cursive, serif;
    font-size: 1.2em;
    font-weight: bold;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -o-user-select: none;
    overflow: hidden;
}

table td {
    text-align: center;
    vertical-align: middle;
}

table#board td {
    border: 1px solid black;
}

table#board td.cell {
    font-size: 3em;
}

table#board tr.controls td {
    border-left: none;
    border-right: none;
    border-top: none;
}

table#board td.team {
    padding: 0.5em;
    vertical-align: top;
    border: none;
    text-align: left;
}

table#board td.team h2 {
    font-size: 1.7em;
    margin-bottom: 0.5em;
    text-align: center;
}

table#board td.team p {
    margin-bottom: 1.5em;
}

table#board td.team input,
table#board td.team textarea {
    border: 1px solid #eee;
    width: 100%;
    font-size: 1.2em;
}

table#board td.team textarea {
    height: 250px;
}

.red {
    color: red;
}

.blue {
    color: blue;
}

td#current-modifier {
    color: #ccc;
}

div#instructions {
    position: absolute;
    background-color: white;
    bottom: 0;
    top: 40px;
    left: 0;
    right: 0;
    padding: 1em 0.5em;
    font-size: 2em;
    display: none;
}

div#instructions h1 {
    font-size: 2em;
    margin-bottom: 0.4em;
    text-align: center;
}

div#instructions td {
    text-align: left;
    vertical-align: top;
}

div#instructions p {
    margin-bottom: 0.5em;
}

div#instructions ul {
    display: block;
    list-style-type: disc;
    margin-top: 1em;
    margin-bottom: 1 em;
    margin-left: 0;
    margin-right: 0;
    padding-left: 40px;
}

div#instructions li {
    display: list-item;
    margin-bottom: 0.5em;
}

td#timer-container {
    color: #ccc;
}

div#timer-value {
    display: inline-block;
    width: 1.2em;
    text-align: right;
}