html, body {
  padding: 0;
  margin: 0;
  font-family: "Helvetica Neue", helvetica, arial, sans-serif;
  background-color: white;
  color: black;
}

.header {
  font-size: 200%;
  background-color: #008;
  color: white;
  padding: 0.5em;
}

.header a, .header a:hover, .header a:visited {
  color: white;
}

.content {
  width: 960px;
  margin: 0 auto;
}

.headerrow td {
  border-bottom: 1px solid #CCC;
}

.linkbar {
  background-color: #008;
  color: white;
  height: 4ex;
  line-height: 4ex;
  padding-bottom: 3px;
}

.linkbarleft {
  float: left;
  padding-left: 2em;
  height: 100%;
}

.linkbarright {
  float: right;
  padding-right: 2em;
  height: 100%;
}

.linkbarleft > div, .linkbarright > div {
  float: left;
  height: 100%;
}

.linkbarleft > div {
  margin-right: 1.5em;
}

.linkbarright > div {
  margin-left: 1.5em;
}

a {
  text-decoration: none;
}

a, a:visited, a text {
  color: #00A;
  fill: #00A;
}

a:hover, a:hover text {
  color: #8CC;
  fill: #8CC;
}

.linkbar a, .linkbar a:visited {
  color: white;
}

.linkbar a:hover {
  color: #8CC;
}

.infomessage {
  font-size: 125%;
  text-align: center;
  padding: 0.5em 0;
  border-radius: 10px;
  margin-top: 5px;
  background-color: #2D2;
  color: black;
}

.errormessage {
  font-size: 125%;
  text-align: center;
  padding: 0.5em 0;
  border-radius: 10px;
  margin-top: 5px;
  background-color: #D22;
  color: black;
}

.title {
  font-size: 200%;
  font-weight: 200;
  text-align: center;
  margin: 10px 0;
}

.subtitle {
  font-size: 150%;
  font-weight: 200;
  margin: 10px 0;
}

.helptext {
  font-size: 80%;
  font-style: italic;
}

.monospace {
  font-family: monospace;
}

.centerimage {
  width: 50%;
  margin: 0 auto;
  padding: 10px 0;
  text-align: center;
}

.centerimage img {
  width: 80%;
}

.votingoptions {
  display: flex;
}

.votingoption {
  flex: 50%;
  margin: 10px;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
}

.votingoption:hover {
  background-color: #AAA;
}

.votingoption input {
  vertical-align: middle;
}

.votingoption img {
  width: 80%;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
}

.bracketvis {
  font-size: 75%;
  position: relative;
}

.bracketround {
  position: absolute;
  width: 150px;
}

.bracketmatch {
  position: absolute;
  width: 100%;
}

.bracketlines {
  position: absolute;
  left: -13px;
}

.bracketitem {
  padding: 2px 4px;
  height: 14px;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.bracketitem1 {
  margin-top: 2px;
  border-style: solid;
  border-color: black;
  border-width: 0 0 1px 0;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: #CCF;
}

.highlight .bracketitem1 {
  background-color: #FCC;
}

.bracketitem2 {
  margin-bottom: 2px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #AAF;
}

.highlight .bracketitem2 {
  background-color: #FAA;
}

.bracketitemimage {
  display: none;
}

.bracketitem:hover + .bracketitemimage, .bracketitem:active + .bracketitemimage {
  display: block;
  position: absolute;
  width: 340px;
  top: 40px;
  left: 0;
  z-index: 10;
  border-radius: 15px;
}
