body, html {
  background: whitesmoke;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-size: 13px;
}

* {
  box-sizing: inherit;
  font-family: 'Roboto', sans-serif;
}

#timestamp {
  position: absolute;
  top: 5px;
  left: 0px;
  display: none;
}

#startlistholder {
  position: relative;
  display: block;
}

@media not print {
  #startlistholder {
    padding: 20px;
    min-width: 640px;
    max-width: 1600px;
    margin: 0 auto;
    margin-top: 20px;
    padding-top: 0;
  }
}

#eventinfo {
  padding-top: 30px;
  max-width: 50%;
}

#eventinfo h1 {
  margin-top: 0;
  margin-bottom: 5px;
  color: #444;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

#eventdate {
  font-size: 1.2em;
  color: #444;
}

#ftplogoholder {
  position: absolute;
  top: 0px;
  right: 20px;
  height: 75px;
  width: 50%;
}

#ftplogoholder img {
  height: 100%;
  float: right;
  max-width: 100%;
}

#startlist_filter {
  margin-bottom: 15px;
  margin-top: 10px;
}

#startlist_filter input {
  border: none;
  border-bottom: solid 2px #0380c3;
  outline: none;
  padding: 5px 10px 1px 10px;
}

.datatable {
  width: 100% !important;
}

.datatable.small {
  width: auto !important;
}

.datatable thead tr {
  background-color: #0390dc;
  color: whitesmoke;
  text-transform: uppercase;
  font-weight: 300;
}

.datatable thead td {
  padding: 15px 15px 15px 3px;
  font-size: 1.15em;
  border-bottom: solid 2px #0380c3;
  position: relative;
}

.datatable thead td:after {
  position: absolute;
  right: 5px;
  top: 10px;
  display: block;
  font-size: 1.2em;
  color: rgba(255, 255, 255, 0.5);
}

.datatable thead td.sorting:after {
  content: "\2195";
}

@media print {
  .datatable thead td.sorting:after {
    display: none;
  }
}

.datatable thead td.sorting_asc:after {
  content: "\2191";
  color: white;
}

.datatable thead td.sorting_desc:after {
  content: "\2193";
  color: white;
}

.datatable thead td .printvisibility {
  opacity: 0;
  cursor: pointer;
}

.datatable thead td:hover .printvisibility {
  opacity: 1;
}

.datatable tbody tr {
  color: #333;
}

.datatable tbody tr:nth-child(2n) {
  background-color: white;
}

.datatable tbody tr:hover td {
  background-color: #92c9e6;
}

.datatable tbody tr td {
  padding: 10px 2px 10px 5px;
  border-top: solid 1px transparent;
  border-bottom: solid 1px transparent;
  transition: all ease 250ms;
  -ms-transition: all ease 250ms;
  -o-transition: all ease 250ms;
  -moz-transition: all ease 250ms;
}

.datatable tbody tr td:first-child {
  font-weight: 300;
  text-align: center;
}

.datatable tbody tr td.center {
  text-align: center;
}

#tickettable {
  margin-top: 50px;
}

@media print {
  body, html {
    background: white;
    font-size: 10px;
  }
  #timestamp {
    display: block;
  }
  #startlist_filter, #tickettable {
    display: none;
  }
  #startlist {
    margin-top: 15px;
  }
  .datatable thead tr td, .datatable thead tr td:after {
    color: #222 !important;
  }
  .datatable td.hideprint {
    display: none;
  }
}

@media screen and (max-width: 720px) {
  td.birthdate, td.chipid {
    display: none;
  }
}

.index, .licenseno, .dorsal, .chipid, .birthdate, .gender {
  width: 1px;
  white-space: nowrap;
}

span.shortname {
  display: none;
}

@media screen and (max-width: 800px) {
  span.shortname {
    display: inline;
  }
  span.fullname {
    display: none;
  }
}
