/* Modernized Tournament Schedule page. Scoped under .modernSchedulePage so it never affects other pages
   that reuse the same .card/.card-header/.card-block classes, or the .schedule/.scheduleCallout and .note
   classes shared with the Commissioner's Cup and other tournament-table pages. */

.modernSchedulePage .card {
  border: none;
  border-radius: 0;
  background: transparent;
  margin-top: 0;
  margin-bottom: 24px;
}

.modernSchedulePage .card-header {
  background: transparent;
  border-bottom: none;
  padding: 4px 0 0;
}

.modernSchedulePage .card-header #pageTitle {
  margin: 0;
  font-size: 20px;
}

.modernSchedulePage .card-block {
  padding: 10px 0 0;
}

.modernSchedulePage fieldset.form-group {
  margin: 0 0 16px !important;
}

/* The .schedule/table markup floats by default (application.css); reset that so it sits naturally inside
   the rounded, bordered wrapper below instead of floating out of it. Table cells use white-space: nowrap
   (application.css), so on narrow/mobile viewports the table is wider than the screen -- allow horizontal
   scrolling within the wrapper instead of clipping columns like "Winner's Share" off entirely. */
.modernSchedulePage .scheduleTableWrap {
  border: 1px solid #e2e6f2;
  border-radius: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.modernSchedulePage .scheduleTableWrap table {
  float: none;
  width: 100%;
  margin: 0;
}

.modernSchedulePage #scheduleTable thead tr#header {
  background-color: #0b1a67;
}

.modernSchedulePage #scheduleTable thead tr#header td {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 5px 8px;
  border-color: #0b1a67;
  white-space: normal;
}

.modernSchedulePage #scheduleTable thead tr#header td a.sortheader {
  color: #fff;
}

.modernSchedulePage #scheduleTable thead tr#header td a.sortheader:hover {
  color: #dde3f2;
}

.modernSchedulePage #scheduleTable tbody td {
  border-color: #b9c2dc;
  padding: 6px 8px;
  font-size: 12px;
}

.modernSchedulePage #scheduleTable tbody tr.scheduleRow1 td {
  background-color: #dde3f2;
}

.modernSchedulePage #scheduleTable tbody tr.highlightCurrentTournamentRow td {
  background-color: #ff9933;
}

.modernSchedulePage #scheduleTable tbody tr:hover td {
  background-color: #eef1fa;
}

.modernSchedulePage #scheduleTable tbody tr.highlightCurrentTournamentRow:hover td {
  background-color: #ff9933;
}

.modernSchedulePage .scheduleCallout {
  border-radius: 4px;
}

.modernSchedulePage a.scheduleTooltip:hover span {
  border-radius: 6px;
  border: 1px solid #e2e6f2;
  box-shadow: 0 4px 12px rgba(11, 26, 103, 0.15);
}

.modernSchedulePage tfoot .note {
  display: block;
  padding: 12px 16px;
  background: #eaf2fc;
  border-left: 4px solid #1c5bc4;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: #1c3f66;
  white-space: normal;
}

.modernSchedulePage tfoot tr#header {
  background: transparent;
}

.modernSchedulePage tfoot td {
  border: none;
  padding: 14px 0 0;
}
