* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html, body {
  margin: 0;
  padding: 0;
}

html {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

body {
  color: #000000;
  background-color: #fffefa;
}

div {
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  margin: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
}

p {
  padding-bottom: 0.25rem;
}

.preserve-formatting {
  white-space: pre-wrap;
}

button, input, select, textarea {
  font: inherit;
  margin: 0;
}

input, textarea {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

input {
  font-weight: bold;
}

strong {
  font-weight: bold;
}

table, tr, td, th {
  border: 0.1rem solid black;
}

table {
  border-collapse: collapse;
  width: 100%;
}

td {
  padding: 0 0.25rem;
}

th {
  background: #e8e8e8;
  font-weight: bold;
  white-space: nowrap;
}

th.sort-header {
  cursor: pointer;
}
th.sort-header::selection {
  background: transparent;
}

table th.sort-header::after {
  content: " ( )";
  visibility: hidden;
  font-family: "Source Code Pro", "Courier New", monospace;
  opacity: 0.5;
}

table th.sort-header:hover::after {
  visibility: visible;
}

table th.sort-up::after {
  content: " (+)";
  visibility: visible;
}

table th.sort-down::after {
  content: " (-)";
  visibility: visible;
}

textarea, input[type=text] {
  font-weight: normal;
  width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}

a.colored {
  color: #276662;
}

a:hover, a:focus {
  text-decoration: underline;
}

hr {
  position: relative;
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #fff;
}

.item {
  padding-bottom: 1rem;
}

.info {
  padding-left: 1rem;
  padding-right: 1rem;
}

.api-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.2rem;
}
.api-link a {
  color: #276662;
}

.compact {
  padding: 0 0;
}

.center {
  text-align: center;
}

.banner, .banner-tight {
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: #fffefa;
  background-color: #0b3b4b;
}

.banner-tight {
  margin-bottom: 0;
}

#admin-header {
  background-color: #0b3b4b;
}

#wait-header {
  background-color: #ffe86b;
  color: #0b3b4b;
}

#error-header {
  background-color: #fc5454;
}

#previous-header {
  background-color: #ffbc29;
}

#previous-body {
  background-color: #ffeeca;
}

#current-header {
  background-color: #4ecdc4;
}

#current-body {
  background-color: #d3f2f0;
}

#vote-header {
  background-color: #fc5454;
}

input[type=submit] {
  color: #fffefa;
  background-color: #0b3b4b;
  border: 2px solid #0b3b4b;
  font-size: 1.2rem;
  text-transform: uppercase;
  text-align: center;
  height: 3rem;
  -webkit-border-radius: 0;
}
td input[type=submit] {
  border: none;
  width: 100%;
  height: 100%;
}

.button-left {
  float: left;
  width: 48%;
}

.button-right {
  float: right;
  width: 48%;
}

.button-full {
  width: 100%;
}

.button-gap {
  margin-top: 0.75rem;
}

#vote-previous {
  background-color: #ffbc29;
  border: 3px solid #ffbc29;
}

#vote-current {
  background-color: #4ecdc4;
  border: 3px solid #4ecdc4;
}

#vote-continue {
  background-color: #4ecdc4;
  border: 3px solid #4ecdc4;
}

#vote-skip {
  background-color: #fc5454;
  border: 3px solid #fc5454;
}

#vote-submit {
  background-color: #57b6ff;
}

#vote-submit:disabled {
  background-color: #e8e8e8;
  border: none;
}

.radio-button {
  display: inline-block;
}

.radio-button > input {
  opacity: 0;
  position: fixed;
  width: 0;
}

.radio-button > label {
  display: inline-block;
  padding: 10px 20px;
  width: 100%;
  color: #fffefa;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

.radio-button > input:not(:checked) + label {
  background-color: white;
  color: #0b3b4b;
}

input[type=submit].positive {
  background-color: #c9d41b;
}

input[type=submit].negative {
  background-color: #fc5454;
}

input[type=submit].neutral {
  background-color: #ffe86b;
  color: #0b3b4b;
}

.disabled {
  background-color: #fed4d4;
}

.prioritized {
  background-color: #f2f4c6;
}

.upload-container {
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
}

.field {
  padding-right: 1rem;
}

#footer {
  margin-top: 2rem;
  border-top: 1px solid #e8e8e8;
}
#footer p {
  font-size: 0.75rem;
  text-align: center;
}
