/*! normalize.css v1.1.0 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */
[hidden] {
  display: none;
}

/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-size: 100%;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 2 */
}

/**
 * Address `font-family` inconsistency between `textarea` and other form
 * elements.
 */
html,
button,
input,
select,
textarea {
  font-family: sans-serif;
}

/**
 * Address margins handled incorrectly in IE 6/7.
 */
body {
  margin: 0;
}

/* ==========================================================================
   Links
   ========================================================================== */
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Address font sizes and margins set differently in IE 6/7.
 * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
 * and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h2 {
  font-size: 1.5em;
  margin: 0.83em 0;
}

h3 {
  font-size: 1.17em;
  margin: 1em 0;
}

h4 {
  font-size: 1em;
  margin: 1.33em 0;
}

h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}

h6 {
  font-size: 0.67em;
  margin: 2.33em 0;
}

/**
 * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

blockquote {
  margin: 1em 40px;
}

/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic;
}

/**
 * Address differences between Firefox and other browsers.
 * Known issue: no IE 6/7 normalization.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Address styling not present in IE 6/7/8/9.
 */
mark {
  background: #ff0;
  color: #000;
}

/**
 * Address margins set differently in IE 6/7.
 */
p,
pre {
  margin: 1em 0;
}

/**
 * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  _font-family: 'courier new', monospace;
  font-size: 1em;
}

/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

/**
 * Address CSS quotes not supported in IE 6/7.
 */
q {
  quotes: none;
}

/**
 * Address `quotes` property not supported in Safari 4.
 */
q:before,
q:after {
  content: '';
  content: none;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* ==========================================================================
   Lists
   ========================================================================== */
/**
 * Address margins set differently in IE 6/7.
 */
dl,
menu,
ol,
ul {
  margin: 1em 0;
}

dd {
  margin: 0 0 0 40px;
}

/**
 * Address paddings set differently in IE 6/7.
 */
menu,
ol,
ul {
  padding: 0 0 0 40px;
}

/**
 * Correct list images handled incorrectly in IE 7.
 */
nav ul,
nav ol {
  list-style: none;
  list-style-image: none;
}

/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */
img {
  border: 0;
  /* 1 */
  -ms-interpolation-mode: bicubic;
  /* 2 */
}

/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden;
}

/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */
figure {
  margin: 0;
}

/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Correct margin displayed oddly in IE 6/7.
 */
form {
  margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  white-space: normal;
  /* 2 */
  *margin-left: -7px;
  /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */
button,
input,
select,
textarea {
  font-size: 100%;
  /* 1 */
  margin: 0;
  /* 2 */
  vertical-align: baseline;
  /* 3 */
  *vertical-align: middle;
  /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */
  *overflow: visible;
  /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
  *height: 13px;
  /* 3 */
  *width: 13px;
  /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */
textarea {
  overflow: auto;
  /* 1 */
  vertical-align: top;
  /* 2 */
}

/* ==========================================================================
   Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ==========================================================================
   Helper classes and Preferred Defaults
   ========================================================================== */
/* apply a natural box layout model to all elements */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 100%;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before, #container:before, section:before,
.clearfix:after,
#container:after,
section:after {
  content: " ";
  display: table;
}

.clearfix:after, #container:after, section:after {
  clear: both;
}

.clearfix, #container, section {
  *zoom: 1;
}

.listreset, .listreset ul, .listreset ol, .listreset li {
  list-style: none;
  margin: 0;
  padding: 0;
}

@-ms-viewport {
  width: device-width;
}
/* Set up basic colors and typefaces */
body {
  background: #2B8045 url("../gfx/table_bg_green.gif") center center repeat;
  color: #f2f2f2;
  font-family: 'Fjalla One', sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Stint Ultra Expanded', cursive;
  font-weight: 400;
  color: #FC5426;
  text-align: center;
  line-height: 1.2;
}

a {
  color: #0E536E;
  text-decoration: none;
}

::-moz-selection, ::selection {
  background: #0E536E;
  color: #E3DFE3;
  text-shadow: none;
}

/* Layout */
#logo {
  width: 70%;
  max-width: 350px;
  margin: 0.25em auto;
}
#logo > div {
  position: relative;
  padding-bottom: 30%;
  height: 0;
}
#logo > div h1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  font-size: 0;
  text-indent: -1000px;
  overflow: hidden;
  background-image: url("../gfx/logo-banner-dkgreen.png");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}
html.svg #logo > div h1 {
  background-image: url("../gfx/logo-banner-dkgreen.svg");
}
@media (min-width: 680px) {
  #logo {
    margin: 0.25em auto 0.75em auto;
  }
}
@media (min-width: 1080px) {
  #logo {
    margin: 0.5em auto 1.25em auto;
  }
}

#container {
  width: 96%;
  max-width: 1000px;
  margin: 0.25em auto;
  padding: 0.5em;
  border: 1px solid #151211;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: #1F1A19 0px 0px 25px inset;
  -webkit-box-shadow: #1F1A19 0px 0px 25px inset;
  box-shadow: #1F1A19 0px 0px 25px inset;
  background: #312928 url("../gfx/pit_bg_wood.jpg") center center repeat;
}
@media (min-width: 680px) {
  #container {
    margin: 0.5em auto;
    padding: 0.5em;
  }
}
@media (min-width: 980px) {
  #container {
    margin: 0.75em auto;
    padding: 1em;
  }
}
@media (min-width: 1080px) {
  #container {
    margin: 1.5em auto 1em auto;
    padding: 1em;
  }
}
#container a {
  color: #2B8045;
}
#container a:hover {
  color: #38a65a;
}

section {
  padding: 0.25em;
  border-top: 1px solid #4d403f;
  border-bottom: 1px solid #151211;
  /* Hide outermost borders on these adjustment sections */
}
section#top {
  border-top: 0;
}
section#bottom {
  border-bottom: 0;
}
section#top, section#bottom {
  padding: 0;
}
@media (min-width: 680px) {
  section {
    padding: 0.5em;
  }
}
@media (min-width: 980px) {
  section {
    padding: 0.75em;
  }
}
@media (min-width: 1080px) {
  section {
    padding: 1em;
  }
}

input {
  background: #f2f2f2;
  color: #312928;
  padding: 4px 8px;
  margin: 4px;
  border: 1px solid #E3DFE3;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  font-family: 'Fjalla One', sans-serif;
  font-weight: 400;
}
input:hover {
  background: white;
}
input[type="text"] {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 0.9em;
  background: #E3DFE3;
  border-color: #cbc4cb;
}
input[type="text"]:focus {
  outline: 0;
  outline-offset: 0;
  background: #f2f2f2;
  border: 1px solid #FC5426;
}

/**
 * Shared Login and Voting Form Styles
 */
#loginActions, #votingActions {
  width: auto;
  max-width: 500px;
  text-align: center;
  padding: 0 4px;
  margin: 0.25em auto;
  border: 1px solid #473c3a;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: #1b1616;
  -moz-box-shadow: #1F1A19 0px 0px 5px inset;
  -webkit-box-shadow: #1F1A19 0px 0px 5px inset;
  box-shadow: #1F1A19 0px 0px 5px inset;
}
#loginActions input, #votingActions input {
  margin: 6px 0;
}
#loginActions input[type="button"], #loginActions input[type="submit"], #votingActions input[type="button"], #votingActions input[type="submit"] {
  color: #E3DFE3;
  text-shadow: black 1px 1px 0;
  background: #0E536E;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzBlNTM2ZSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzA4MzE0MSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #0e536e), color-stop(100%, #083141));
  background-image: -moz-linear-gradient(#0e536e, #083141);
  background-image: -webkit-linear-gradient(#0e536e, #083141);
  background-image: linear-gradient(#0e536e, #083141);
  border: 1px solid #083141;
}
#loginActions input[type="button"]:hover, #loginActions input[type="button"].active, #loginActions input[type="submit"]:hover, #loginActions input[type="submit"].active, #votingActions input[type="button"]:hover, #votingActions input[type="button"].active, #votingActions input[type="submit"]:hover, #votingActions input[type="submit"].active {
  text-shadow: #230800 1px 1px 0;
  background: #FC5426;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VjMzUwMyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzg3MWYwMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ec3503), color-stop(100%, #871f02));
  background-image: -moz-linear-gradient(#ec3503, #871f02);
  background-image: -webkit-linear-gradient(#ec3503, #871f02);
  background-image: linear-gradient(#ec3503, #871f02);
  border: 1px solid #551301;
}

/**
 * Login Form
 */
#loginActions {
  *zoom: 1;
  text-align: center;
}
#loginActions:before, #loginActions:after {
  content: " ";
  display: table;
}
#loginActions:after {
  clear: both;
}
@media (max-width: 679px) {
  #loginActions input {
    width: 48.93617%;
    clear: right;
    float: left;
    margin-right: 2.12766%;
  }
  #loginActions input:nth-child(2n+0) {
    margin-right: 0;
  }
}
@media (min-width: 680px) {
  #loginActions input {
    width: 23.40426%;
    clear: right;
    float: left;
    margin-right: 2.12766%;
  }
  #loginActions input:nth-child(4n+0) {
    margin-right: 0;
  }
}

/**
 * Voting Actions & Results Section
 */
#votingActions {
  *zoom: 1;
}
#votingActions:before, #votingActions:after {
  content: " ";
  display: table;
}
#votingActions:after {
  clear: both;
}
#votingActions input {
  width: 31.42857%;
  clear: right;
  float: left;
  margin-right: 2.85714%;
}
#votingActions input:nth-child(3n+0) {
  margin-right: 0;
}
#votingResult.reveal #votingActions #btnReveal {
  text-shadow: #230800 1px 1px 0;
  background: #FC5426;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2I5MmEwMyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzg3MWYwMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #b92a03), color-stop(100%, #871f02));
  background-image: -moz-linear-gradient(#b92a03, #871f02);
  background-image: -webkit-linear-gradient(#b92a03, #871f02);
  background-image: linear-gradient(#b92a03, #871f02);
  border: 1px solid #230800;
}
#votingResult.reveal #votingActions #btnReset {
  color: #E3DFE3;
  text-shadow: #020f14 1px 1px 0;
  background: #0E536E;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzExNjQ4NSIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzBiNDI1NyIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #116485), color-stop(100%, #0b4257));
  background-image: -moz-linear-gradient(#116485, #0b4257);
  background-image: -webkit-linear-gradient(#116485, #0b4257);
  background-image: linear-gradient(#116485, #0b4257);
  border: 1px solid #0b4257;
}
#votingResult.reveal #votingActions #btnReset:hover {
  text-shadow: #551301 1px 1px 0;
  background: #FC5426;
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuNSIgeTE9IjAuMCIgeDI9IjAuNSIgeTI9IjEuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y2MzgwMyIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2EwMjQwMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #f63803), color-stop(100%, #a02402));
  background-image: -moz-linear-gradient(#f63803, #a02402);
  background-image: -webkit-linear-gradient(#f63803, #a02402);
  background-image: linear-gradient(#f63803, #a02402);
  border: 1px solid #6e1902;
}

/**
 * The shared game link box (inside the Voting actions box)
 */
#gameLink {
  *zoom: 1;
  display: none;
  width: 100%;
  margin-top: 3px;
  border-top: 1px solid #473c3a;
  padding-top: 3px;
}
#gameLink:before, #gameLink:after {
  content: " ";
  display: table;
}
#gameLink:after {
  clear: both;
}
#gameLink input {
  width: 100%;
}

#readme .text {
  font-size: 0.75em;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
}
#readme p {
  max-width: 35em;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 0 #070606;
  -moz-page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
}
#readme strong {
  font-weight: normal;
  color: #FC5426;
}
#readme em {
  font-style: normal;
  color: #1786b2;
}
#readme a {
  text-shadow: 1px 1px 0 black;
}
@media (min-width: 680px) {
  html.csscolumns #readme .text {
    font-size: 0.875em;
    -moz-columns: 2;
    -webkit-columns: 2;
    columns: 2;
    -moz-column-gap: 2.5em;
    -webkit-column-gap: 2.5em;
    column-gap: 2.5em;
  }
  html.csscolumns #readme .text p {
    max-width: none;
    margin-top: 0;
  }
}
@media (min-width: 980px) {
  html.csscolumns #readme .text {
    font-size: 0.925em;
  }
}
@media (min-width: 1080px) {
  html.csscolumns #readme .text {
    font-size: 1em;
    -moz-columns: 3;
    -webkit-columns: 3;
    columns: 3;
    -moz-column-gap: 2em;
    -webkit-column-gap: 2em;
    column-gap: 2em;
  }
}

/**
 * The "Clients" display with current players and voting results
 */
#clients {
  /* The "non-card" display, for narrow devices. Looks like a
   * vertically stacked scoreboard. */
  /* Set up the flexbox or flexbox-approximate for larger screens */
  /* Build the card display styles and spacing */
}
#clients .client {
  -moz-perspective: 300px;
  -webkit-perspective: 300px;
  perspective: 300px;
  position: relative;
  height: 3.5em;
}
#clients .client .front,
#clients .client .back {
  overflow: hidden;
  border: 4px solid #e5e5e5;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: #1F1A19 0px 0px 10px;
  -webkit-box-shadow: #1F1A19 0px 0px 10px;
  box-shadow: #1F1A19 0px 0px 10px;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-perspective: 0px;
  -webkit-perspective: 0px;
  perspective: 0px;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-transition: -moz-transform 0.5s ease-in-out;
  -o-transition: -o-transform 0.5s ease-in-out;
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
}
#clients .client .back {
  z-index: 50;
  background: url("../gfx/card_back_bg_greenplaid_small.png") center center repeat, #f2f2f2;
}
#clients .client .back .nickname {
  text-shadow: #1F1A19 1px 1px 0;
}
#clients .client .front {
  z-index: 0;
  color: #1F1A19;
  background: #f2f2f2;
  text-shadow: none;
}
#clients .client.voted .back .nickname {
  color: #FC5426;
}
#clients .client.voted .front .nickname {
  color: #D71414;
}
#clients .client .back {
  display: block;
}
#clients .client .front {
  display: none;
}
#votingResult.reveal #clients .client.voted .back {
  display: none;
}
#votingResult.reveal #clients .client.voted .front {
  display: block;
}
.csstransforms #clients .client .back {
  display: block;
  -moz-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
.csstransforms #clients .client .front {
  display: block;
  -moz-transform: rotateY(-180deg);
  -ms-transform: rotateY(-180deg);
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}
.csstransforms #votingResult.reveal #clients .client.voted .back {
  display: block;
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.csstransforms #votingResult.reveal #clients .client.voted .front {
  display: block;
  -moz-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
#clients .nickname {
  text-transform: uppercase;
}
#clients .vote-wrap {
  text-align: center;
}
#clients .vote-wrap .vote {
  color: #D71414;
  font-family: 'Stint Ultra Expanded', cursive;
  font-weight: 400;
  text-shadow: #1F1A19 1px 1px 0px;
}
@media (max-width: 679px) {
  #clients .client {
    width: auto;
    display: block;
    float: none;
    margin: 0.5em auto;
  }
  #clients .client .front, #clients .client .back {
    padding: 0.25em;
  }
  .csstransforms #clients .client .back {
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  .csstransforms #clients .client .front {
    -moz-transform: rotateX(180deg);
    -ms-transform: rotateX(180deg);
    -webkit-transform: rotateX(180deg);
    transform: rotateX(180deg);
  }
  .csstransforms #votingResult.reveal #clients .client.voted .back {
    -moz-transform: rotateX(-180deg);
    -ms-transform: rotateX(-180deg);
    -webkit-transform: rotateX(-180deg);
    transform: rotateX(-180deg);
  }
  .csstransforms #votingResult.reveal #clients .client.voted .front {
    -moz-transform: rotateX(0deg);
    -ms-transform: rotateX(0deg);
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
  #clients .nickname, #clients .vote-wrap {
    display: block;
  }
  #clients .nickname {
    float: left;
    width: 70%;
    text-align: left;
    line-height: 1.5em;
    font-size: 1.125em;
    letter-spacing: 2px;
    padding: 0.375em 0 0.375em 0.25em;
  }
  #clients .vote-wrap {
    float: right;
    width: 25%;
    text-align: right;
    line-height: 1.5em;
    padding: 0.375em 0.25em 0.375em 0;
  }
  #clients .vote-wrap .vote {
    font-size: 1.75em;
  }
}
@media (min-width: 680px) {
  html.no-flexbox #clients {
    text-align: center;
  }
  html.no-flexbox #clients .client {
    display: inline-block;
    float: none;
    text-align: left;
  }
  html.flexbox #clients {
    /* This is a simple vertical-match horizontal-center row-wrapping
     * usage of the "new" CSS Flexbox model for both the current clients
     * and the player's hand. */
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-flex-pack: justify;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-flow: row wrap;
  }
  html.flexbox #clients .card, html.flexbox #clients .client {
    display: block;
    -webkit-flex: none;
    -moz-flex: none;
    -ms-flex: none;
    flex: none;
    float: none;
  }
  html.flexbox #clients .card:last-child, html.flexbox #clients .client:last-child {
    margin-right: 0;
  }
}
@media (min-width: 680px) {
  #clients .client {
    height: 8em;
    width: 6em;
    margin: 0.5em;
  }
  #clients .client .front, #clients .client .back {
    padding: 0.25em;
  }
  html.multiplebgs #clients .client .back {
    background: url("../gfx/spiral-card-white-shadow.png") center center no-repeat, url("../gfx/card_back_bg_greenplaid_small.png") center center repeat, #f2f2f2;
  }
  html.multiplebgs.svg #clients .client .back {
    background: url("../gfx/spiral-card-white-shadow.svg") center center no-repeat, url("../gfx/card_back_bg_greenplaid_small.png") center center repeat, #f2f2f2;
  }
  #clients .nickname {
    font-size: 0.875em;
    letter-spacing: 1px;
  }
  #clients .nickname .front, #clients .nickname .back {
    padding: 0.25em 0.125em;
  }
  #clients .vote-wrap {
    min-height: 5.5em;
  }
  #clients .vote-wrap .vote {
    padding: 0.375em 0;
    font-size: 2.75em;
  }
}
@media (min-width: 980px) {
  #clients .client {
    height: 10em;
    width: 7em;
    margin: 0.5em;
  }
  #clients .client .front, #clients .client .back {
    padding: 0.5em;
  }
  #clients .nickname {
    font-size: 1em;
    letter-spacing: 2px;
    padding: 0.25em 0.125em;
    margin-bottom: 0.125em;
  }
  #clients .vote-wrap {
    min-height: 7.5em;
  }
  #clients .vote-wrap .vote {
    padding: 0.375em 0;
    font-size: 3em;
  }
}
@media (min-width: 1080px) {
  #clients .client {
    height: 12em;
    width: 8em;
    margin: 0.5em;
  }
  #clients .client .front, #clients .client .back {
    padding: 0.5em;
  }
  #clients .nickname {
    font-size: 1.125em;
    letter-spacing: 3px;
    padding: 0.25em 0.125em;
    margin-bottom: 0.25em;
  }
  #clients .vote-wrap {
    min-height: 8.5em;
  }
  #clients .vote-wrap .vote {
    padding: 0.25em 0;
    font-size: 4em;
  }
}

/**
 * The cards in the players hand that he/she votes with
 */
#playersHand {
  /* The "deck-o-cards" effect with media queries and flexbox. Check for flexbox
   * class first. */
  /* Set up the cards */
}
#playersHand #nickname-display {
  margin: 0.25em auto;
}
#playersHand .card {
  position: relative;
  float: left;
  padding: 0.25em 0.5em;
  border: 1px solid #d7d1d7;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  background: #f2f2f2;
  -moz-box-shadow: #312928 0px 0px 10px;
  -webkit-box-shadow: #312928 0px 0px 10px;
  box-shadow: #312928 0px 0px 10px;
  -moz-transition: all 0.25s;
  -o-transition: all 0.25s;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
#playersHand .card:hover .card-text, #playersHand .card.selected .card-text {
  color: #D71414;
}
#playersHand .card-text {
  font-size: 1em;
  color: #1F1A19;
  font-family: 'Stint Ultra Expanded', cursive;
  font-weight: 400;
}
@media (max-width: 679px) {
  #playersHand .cards {
    text-align: center;
  }
  #playersHand .card {
    float: none;
    display: inline-block;
    padding: 0.5em 0.75em;
    margin: 0.5em;
  }
  #playersHand .card.selected {
    background: #FC5426;
    border-color: #b92a03;
  }
  #playersHand .card.selected .card-text {
    color: #f2f2f2;
  }
}
html.no-csstransforms3d #playersHand .card {
  opacity: 1;
}
html.no-csstransforms3d #playersHand .card.entrance {
  opacity: 0;
}
html.csstransforms3d #playersHand .cards-wrap {
  overflow: hidden;
}
html.csstransforms3d #playersHand .card {
  -moz-transform:  scale(1, 1) rotateZ(0deg) translate(0px, 0px);
  -ms-transform:  scale(1, 1) rotateZ(0deg) translate(0px, 0px);
  -webkit-transform:  scale(1, 1) rotateZ(0deg) translate(0px, 0px);
  transform:  scale(1, 1) rotateZ(0deg) translate(0px, 0px);
}
html.csstransforms3d #playersHand .card.entrance {
  -moz-transform:  scale(0.9, 0.9) rotateZ(-30deg) translate(500%, -200%);
  -ms-transform:  scale(0.9, 0.9) rotateZ(-30deg) translate(500%, -200%);
  -webkit-transform:  scale(0.9, 0.9) rotateZ(-30deg) translate(500%, -200%);
  transform:  scale(0.9, 0.9) rotateZ(-30deg) translate(500%, -200%);
}
html.no-flexbox #playersHand .cards {
  text-align: center;
}
html.no-flexbox #playersHand .card {
  display: inline-block;
  float: none;
  text-align: left;
}
html.no-flexbox #playersHand .card:hover {
  top: -0.5em;
}
html.no-flexbox #playersHand .card.selected {
  top: -1em !important;
}
@media (min-width: 680px) {
  html.flexbox #playersHand .cards {
    /* This is a simple vertical-match horizontal-center row-wrapping
     * usage of the "new" CSS Flexbox model for both the current clients
     * and the player's hand. */
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-flex-pack: justify;
    -ms-justify-content: center;
    justify-content: center;
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-flow: row wrap;
  }
  html.flexbox #playersHand .cards .card, html.flexbox #playersHand .cards .client {
    display: block;
    -webkit-flex: none;
    -moz-flex: none;
    -ms-flex: none;
    flex: none;
    float: none;
  }
  html.flexbox #playersHand .cards .card:last-child, html.flexbox #playersHand .cards .client:last-child {
    margin-right: 0;
  }
}
@media (min-width: 680px) {
  #playersHand .card {
    margin: 1em -1.25em 0 0;
    min-height: 7em;
    min-width: 4.5em;
    background-image: url("../gfx/card_art_science.svg");
    background-repeat: no-repeat;
    background-position: center 110%;
    background-size: 90% 90%;
  }
  #playersHand .card:hover {
    margin-top: 0.5em;
  }
  #playersHand .card.selected {
    margin-top: 0em !important;
  }
  html.cssreflections.csstransforms #playersHand .card.selected {
    -moz-transition: all 0.55s;
    -o-transition: all 0.55s;
    -webkit-transition: all 0.55s;
    transition: all 0.55s;
    -moz-transform: rotate(-5deg) scale(1.1);
    -ms-transform: rotate(-5deg) scale(1.1);
    -webkit-transform: rotate(-5deg) scale(1.1);
    transform: rotate(-5deg) scale(1.1);
  }
  #playersHand .card-text {
    font-size: 1.5em;
  }
}
@media (min-width: 980px) {
  #playersHand .card {
    margin: 1.5em -1.75em 0 0;
    min-height: 8em;
    min-width: 6em;
    background-position: center 120%;
    background-size: 95% 95%;
  }
  #playersHand .card:hover {
    margin-top: 1em;
  }
  #playersHand .card-text {
    font-size: 1.75em;
  }
}
@media (min-width: 1080px) {
  #playersHand .card {
    margin: 1.75em -1.5em 0 0;
  }
  #playersHand .card-text {
    font-size: 1.875em;
  }
}

footer {
  width: 96%;
  max-width: 1000px;
  margin: 0.5em auto 1em auto;
  font-size: 0.625em;
  text-align: center;
  color: #11341c;
  font-family: Helvetica, Arial, sans-serif;
}
footer a {
  color: black;
}
@media (min-width: 680px) {
  footer {
    font-size: 0.75em;
  }
}
@media (min-width: 980px) {
  footer {
    font-size: 0.875em;
    text-shadow: 1px 1px 0 #38a65a;
    font-family: 'Fjalla One', sans-serif;
    font-weight: 400;
  }
}
@media (min-width: 1080px) {
  footer {
    font-size: 1em;
  }
}
