table {
  border: none;
  border-collapse: collapse;
}

table#stats {
  margin-bottom: 2em;
}

table#stats tr:nth-child(2n+3) {
  background-color: #e8e8e8;
}

table#stats th.bd_t,
table#stats td.bd_t {
  border-top: 1px solid black;
}

table#stats th.bd_r,
table#stats td.bd_r {
  border-right: 1px solid black;
}

table#stats tr:last-child td:not(:first-child) {
  border-bottom: 1px solid black;
}

table#stats th.bd_b,
table#stats td.bd_b {
  border-bottom: 1px solid black;
}

table#stats th.bd_l,
table#stats td.bd_l {
  border-left: 1px solid black;
}

table#stats th:not(:first-child) {
  padding-left: 0.5em;
  padding-right: 0.5em;
}

table#stats td.name {
  padding-right: 0.5em;
}

table#stats td:not(:first-child) {
  font-family: "Courier New", Courier, monospace;
  padding-left: 0.5em;
  padding-right: 0.5em;
  text-align: center;
}

table#lineup tr:nth-child(even) {
  background-color: #e8e8e8;
}

table#lineup td {
  border: 1px solid white;
  min-width: 1.5em;
}

table#lineup td.name {
  border: none;
  padding-right: 1em;
  white-space: nowrap;
  width: auto;
}

table#lineup th.bd_r,
table#lineup td.bd_r {
  border-right: 4px solid black;
}
table#lineup td:last-child {
  text-align: center;
}

div#lineupStats {
  margin-bottom: 2em;
}

#lineupStats input.btn_active {
  color: white;
  background-color: green;
}

#lineupStats .ply {
  background-color: #77bb40;
}

#lineupStats .avail {
  background-color: #fff766;
  background-color: #e6e600;
}

#lineupStats .unassigned {
/*  background-color: #668cff; */
  background-color: #ffffff;
}

#lineupStats .other {
  background-color: #ff6666;
}

ul#legend li {
  display: inline-block;
}

ul#legend li:nth-child(even) {
  border: 1px solid black;
  min-width: 1.5em;
  margin-right: 1em;
}

ul#legend li:last-child {
  margin-right: 0;
}

form.seasonLineup {
  margin-top: 2em;
}
