@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400italic,700,400);
.checkbox {
  content: '';
  display: inline-block;
  width: 5px;
  height: 8px;
  border-bottom: solid 3px #c80000;
  border-right: solid 3px #c80000;
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
  vertical-align: middle;
  margin-right: 4px;
  position: relative;
  top: -2px;
}
html,
body {
  background: #ffffff;
  font-family: 'Roboto Condensed';
  font-size: 12px;
  line-height: 16px;
  overflow: hidden;
}
main {
  width: 300px;
  padding-bottom: 48px;
  padding-top: 104px;
  overflow: hidden;
  height: 260px;
}
nav {
  width: 100%;
  height: 24px;
}
section div.top {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 104px;
}
section div.top header h1 {
  background: #c80000;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  line-height: 32px;
  height: 32px;
  overflow: hidden;
  text-transform: uppercase;
  position: relative;
  margin: 0;
}
section div.top header h1::after {
  display: block;
  content: '';
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 32px;
  background-color: #c80000;
  background-image: url(../images/milesplit-rankings.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
}
section div.top nav.gender a {
  display: block;
  float: left;
  text-align: center;
  width: 50%;
  font-size: 1.1rem;
  line-height: 24px;
}
section div.top nav.gender a + a {
  border-left: solid 1px #ebebeb;
}
section div.top nav.gender[data-selected='m'] a.m::before,
section div.top nav.gender[data-selected='f'] a.f::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 8px;
  border-bottom: solid 3px #c80000;
  border-right: solid 3px #c80000;
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
  vertical-align: middle;
  margin-right: 4px;
  position: relative;
  top: -2px;
}
section div.top nav.genre {
  background: #141414;
  height: 48px;
  margin-left: 1px;
  margin-right: auto;
  display: block;
  width: auto;
}
section div.top nav.genre a {
  display: inline-block;
  float: left;
  text-align: center;
  width: 33.3%;
  font-size: 1.1rem;
  line-height: 24px;
  border-right: solid 1px #fff;
  border-bottom: solid 1px #fff;
  border-left: none;
  color: #fff;
}
section div.top nav.genre[data-selected='sprints'] a.sprints::before,
section div.top nav.genre[data-selected='distance'] a.distance::before,
section div.top nav.genre[data-selected='hurdles'] a.hurdles::before,
section div.top nav.genre[data-selected='throws'] a.throws::before,
section div.top nav.genre[data-selected='jump'] a.jump::before,
section div.top nav.genre[data-selected='relays'] a.relays::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 8px;
  border-bottom: solid 3px #c80000;
  border-right: solid 3px #c80000;
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
  vertical-align: middle;
  margin-right: 4px;
  position: relative;
  top: -2px;
}
section div.data {
  max-height: 118px;
  overflow: auto;
  position: relative;
  padding-bottom: 16px;
}
section div.data table {
  width: 100%;
}
section div.data table tr {
  background: #ffffff;
  border-bottom: solid 1px #ebebeb;
}
section div.data table tr[data-genre='sprints']:nth-of-type(even),
section div.data table tr[data-genre='distance']:nth-of-type(even),
section div.data table tr[data-genre='hurdles']:nth-of-type(even),
section div.data table tr[data-genre='throws']:nth-of-type(even),
section div.data table tr[data-genre='jump']:nth-of-type(even) section div.data table tr[data-genre='relays']:nth-of-type(even) {
  background: #ffffff;
}
section div.data table td {
  font-size: 1.2rem;
  line-height: 24px;
  padding: 4px;
  height: 24px;
  overflow: hidden;
}
section div.data table td.event {
  white-space: nowrap;
}
section div.data table td div {
  display: block;
  height: 24px;
  overflow: hidden;
}
section footer {
  text-align: center;
  font-style: italic;
  padding-top: 0px;
  padding-bottom: 0px;
  position: fixed;
  left: 0px;
  bottom: 0px;
  height: 32px;
  line-height: 32px;
  width: 100%;
  background: #fff;
  z-index: 10;
  font-size: 1.5rem;
}
section footer:after {
  display: block;
  content: '';
  position: fixed;
  bottom: 32px;
  left: 0px;
  width: 100%;
  height: 24px;
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #ffffff 78%, #ffffff 94%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(78%, #ffffff), color-stop(94%, #ffffff));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #ffffff 78%, #ffffff 94%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #ffffff 78%, #ffffff 94%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #ffffff 78%, #ffffff 94%);
  /* IE10+ */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 78%, #ffffff 94%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0);
  /* IE6-9 */
}
section footer a,
section footer a:visited {
  color: #c80000;
  text-transform: uppercase;
}
