@import "icons.css";

.stats {
  margin-bottom: 20px;
}

.stats table {
  width: 100%;
}

.stats table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
}

.stats table tr {
  border-bottom: 1px solid #dddddd;
}

.stats table thead tr:first-child {
  background-color: #9097a8;
}

.stats th,
.stats td {
  padding: 9px 4px;
  text-align: center;
  min-width: 40px;
  font-size: 13px;
  color: #636363;
}

.stats th {
  font-size: 13px;
  color: #e5e5e5;
  font-weight: 400;
  height: 26px;
}

.stats th abbr {
  font-weight: 400;
}

.stats table td.id {
  width: 44px;
}

.stats table td.id span {
  position: relative;
  font-size: 14px;
}

.stats table td.id span.small {
  font-size: 12px;
}

.stats table td.team-image,
.stats table td.player-image {
  width: 32px;
}

.stats table td.team-image > a,
.stats table td.player-image > a {
  width: 32px;
  height: 32px;
  display: block;
}

.stats table td.team-image > a > img,
.stats table td.player-image > a > img {
  width: 100%;
  height: 100%;
  border: 1px solid #dddddd;
  border-radius: 3px;
}

.stats table th.tournament-title,
.stats table td.tournament-title,
.stats table th.team-title,
.stats table td.team-title,
.stats table th.player-name,
.stats table td.player-name,
.stats table th.referee-name,
.stats table td.referee-name,
.stats table th.coach-name,
.stats table td.coach-name {
  text-align: left;
}

.stats table td.tournament-title {
  padding-left: 20px;
}

.stats table th.tournament-title:before,
.stats table th.team-title:before,
.stats table th.player-name:not(.sort):before {
  content: '' !important;
}

.stats table td.tournament-title > a,
.stats table td.team-title > a,
.stats table td.player-name > a {
  color: #636363;
  font-size: 15px;
  cursor: pointer;
}

.stats table td.tournament-title > a:hover,
.stats table td.team-title > a:hover,
.stats table td.player-name > a:hover {
  text-decoration: underline;
}

.stats table td.member-total-stats span {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
  font-size: 20px;
  color: #000000;
}

.stats table td.member-total-stats i {
  vertical-align: middle;
}

.stats table td.member-tournament-stats,
.stats table td.member-team-stats {
  color: #000000;
}

.stats table td.member-tournament-stats {
  font-size: 18px;
}

.stats table td.member-team-stats {
  font-size: 16px;
}

.stats .footnote {
  padding: 6px;
  display: block;
  font-size: 12px;
  color: #545454;
}

@media (max-width: 481px) and (orientation: portrait) {
  .stats table td.team-image,
  .stats table td.player-image {
    width: 0;
    min-width: 0;
    padding: 0;
  }

  .stats table td.team-image a,
  .stats table td.player-image a {
    display: none;
  }

  .stats table td.tournament-title > a, .stats table td.team-title > a, .stats table td.player-name > a {
    font-size: 12px;
  }

  .stats table td.id,
  .stats th.id,
  .stats th,
  .stats td {
    width: auto;
    min-width: 20px;
    font-size: 12px;
    padding: 8px 4px;
  }

  .stats table td.id,
  .stats th.id {
    width: 15px;
    min-width: 15px;
  }

  .stats th {
    height: auto;
  }
}
