.matches h4 {
  text-transform: uppercase;
}

/*************************************************
 * Machups Flexbox
 *************************************************/
.matchup-strip p {
  margin-bottom: 0px;
  margin-top: 0px;
}

.matchup-strip {
  cursor: pointer;

  height: 66px;
/*  justify-content: space-between;*/
  align-items: stretch;
  display: flex;
  flex-flow: row nowrap;
  overflow: hidden;
  width: 100%;

  flex-grow: 1;
/*  display: flex;*/
}

.matchup-chevron {
  display: flex;
  align-items: center;
  padding-right: 8px;
}

.matchup-strip_game-info {
  width: 105px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.matchup:not(.active) i.activeState {
  display: none;
}

.matchup.active i.inactiveState {
  display: none;
}

.matchup-strip_date-info {
  align-items: flex-start;
  display: flex;
}

.matchup-strip_date-time {
  font-size: 12px;
  font-weight: 700;
}

.matchup-strip_date-timezone {
  font-size: 10px;
  margin-left: 4px;
}

.matchup-strip_networks {
  font-size: 12px;
}

.matchup-strip_final {
  font-size: 14px;
  font-weight: 700;
}

.matchup-strip_projected {
  color: #c09853;
}

.matchup-strip_game {
  flex-grow: 1;
  max-width: 550px;
  align-items: center;
  display: flex;
  justify-content: center;
}

.matchup-strip_team {
  align-items: center;
  display: flex;
}
.matchup-strip_team.opponent {
  flex-direction: row-reverse;
}

.matchup-strip_team-name {
  align-items: center;
  flex-direction: column;
  display: flex;
  padding: 0 8px;
}

.matchup-strip_team-logo img {
  width: 32px;
  height: auto;
}

.matchup-strip_team-abbreviation {
  font-size: 14px;
  text-transform: uppercase;
}

.matchup-strip_team-fullname {
  font-size: 16px;
}

.matchup-strip_team-record {
  font-size: 14px;
}

.matchup-strip_team-score {
  font-size: 16px;
  width: 24px;
  text-align: center;
}

.matchup-strip_team-separator {
  color: #0479cc;
  display: flex;
  padding: 0 16px;
}


@media (min-width: 800px) {
  .matchup-strip {
    height: 56px;
    justify-content: flex-start;
  }

  .matchup-strip_game-info {
    width: 175px;
  }

  .matchup-strip_team {
    width: 48%;
  }

  .matchup-strip_team-score {
    font-size: 20px;
    min-width: 32px;
  }

  .matchup-strip_team-name {
    align-items: center;
    flex-direction: row;
  }
  .matchup-strip_team.opponent .matchup-strip_team-name {
    flex-direction: row-reverse;
  }

  .matchup-strip_team-logo {
    width: 40px;
  }

  .matchup-strip_team-abbreviation {
    display: none;
  }

  .matchup-strip_team-fullname {
    padding-left: 16px;
    padding-right: 0;
  }
  .matchup-strip_team.opponent .matchup-strip_team-fullname {
    padding-left: 0;
    padding-right: 16px;
  }
}


.matchup-strip_team-score.won {
  border: 2px solid green;
}
.matchup-strip_team-score.won.picked {
  background-color: lightgreen;
}
.matchup-strip_team-score.lost {
  border: 2px solid red;
}
.matchup-strip_team-score.lost.picked {
  background-color: pink;
}
.matchup-strip_team-score.tied {
  border: 2px solid orange;
}
.matchup-strip_team-score.tied.picked {
  background-color: NavajoWhite;
}

@media (max-width: 799px) {
  .matchup-strip_team-fullname {
    display: none;
  }
}

@media (max-width: 479px) {
  .matchup-strip_team-record {
    display: none;
  }
}
/*************************************************/


/*************************************************
 * match score editor
 *************************************************/
.btnEditMatchScores {
  padding: 16px 8px 8px;
}

#idModalEditMatchScores > .w3-modal-content {
  max-width: 300px;
  margin: auto;
}

#idModalEditMatchScores .w3-half {
  width: 49.99999%;
}

#idModalEditMatchScores .w3-half.w3-right-align {
  padding-right: 8px;
}
#idModalEditMatchScores .w3-half.w3-left-align {
  padding-left: 8px;
}

#idModalEditMatchScores p.team {
  padding: 9px 0;
  color: #0479cc;
}

#idModalEditMatchScores input.score {
  width: auto;
}


/*************************************************
 * used to hide/unhide matchup 'Tabbed Navigation'
 *************************************************/
.matchup:not(.active) > div:nth-child(2) {
  display: none;
}


/*************************************************
 * user match team pick
 *************************************************/
.userMatch:not(.picked) {
  border: 2px solid red;
}

.matchup .userMatchTeamPick {
/*  border: 1px solid grey;*/
  padding: 4px 8px 10px 8px;
}

@media (max-width: 600px) {
  .matchup .userMatchTeam {
    float: none;
  }
}


/*************************************************
 * Match navigation 'Tabbed Navigation'
 *************************************************/
.matchup .rowTabNav {
  padding-top: 8px;
}

.matchup .rowTabNav :first-child {
  /* eliminate 1st tab's left border */
  border-left: none !important;
}

/*************************************************
 * Match 'User Picks' table
 *************************************************/
.tblMatchUsersPick .w3-table th,
.tblMatchUsersPick .w3-table td {
  padding-top: 4px;
  padding-bottom: 4px;
}

.tblMatchUsersPick .w3-table th {
  width: 50%;
  vertical-align: bottom;
}

.tblMatchUsersPick .w3-table td.won {
  background-color: #d4edda;
}

.tblMatchUsersPick .w3-table td.tied {
  background-color: #fff3cd;
}

.tblMatchUsersPick .w3-table tr > td:first-child {
  border-right: 1px solid #ccc;
}

.tblMatchUsersPick .w3-table tr > td.won:first-child,
.tblMatchUsersPick .w3-table tr > td.lost:first-child {
  border-right: none;
}

.tblMatchUsersPick .w3-table > tbody {
  border: 1px solid #ccc;
}

/*************************************************
 * Match 'Teams Record' table
 *************************************************/
.matchup .tblMatchTeamsRecord .w3-half {
  padding-top: 16px;
}

@media (max-width: 799px) {
  .matchup .tblMatchTeamsRecord .w3-half {
    width: 100%;
  }
}

@media (min-width: 800px) {
  .tblMatchTeamsRecord .w3-half:first-child {
    padding-right: 4px;
  }

  .tblMatchTeamsRecord .w3-half:last-child {
    padding-left: 4px;
  }
}

.tblMatchTeamsRecord caption {
  text-align: left;
  padding-bottom: 8px;
}

.tblMatchTeamsRecord th:first-child,
.tblMatchTeamsRecord td:first-child,
.tblMatchTeamsRecord caption {
  padding-left: 8px;
}

.tblMatchTeamsRecord th,
.tblMatchTeamsRecord td {
  padding-top: 4px;
  padding-bottom: 4px;
  border: 1px solid #ccc;
}
.tblMatchTeamsRecord td:nth-child(2),
.tblMatchTeamsRecord td:nth-child(4) {
  border-right: none;
}

.tblMatchTeamsRecord td:nth-child(3),
.tblMatchTeamsRecord td:nth-child(5) {
  border-left: none;
}

/* Team Won */
/*.tblMatchTeamsRecord td.won {
  background-color: #d4edda;
}
*/
/* Team Tied */
/*.tblMatchTeamsRecord td.tied {
  background-color: #fff3cd;
}
*/
/* Bye Week */
.tblMatchTeamsRecord tr.bye > td:nth-child(2) {
  text-align: center;
}

/* current team */
.tblMatchTeamsRecord td.current {
  font-weight: 700;
  font-style: italic;
}
