.contain-div{
	background:#fff;
	border:1px solid #333;
}

.score-box{
	padding:0px;
	margin:0px;
	color:#000;
}
.game-box{
	color:#000;
	padding:15px;
	/*border:1px solid #333;
	font-size: 12px;*/
}
.box{
	width:175px;
	padding:5px;
}
.division-box{
	padding:15px;
	min-width: 10px;
}
.box-division{
	background-color: lightgray;
	color: black;
	padding:5px;
	white-space: nowrap; 
	margin-left: 5px;
}
.game-date{
	width: 100%;
	font-size:12px;
	overflow: hidden;
}
.score-opp, .score-at, .game-prog{
	font-weight: bold;
	float:right;
}
.game-prog{color:#f00000;}
.game-opp, .game-at{width:100%;}


.division {
	color: white;
}

.game-opp a {
	color: white;
	text-decoration: none;
}

.e2e-selected-icon {
  font-weight: bold;
  font-size: 18px;
}
.e2e-selected-icon img {
  filter: opacity(.5) drop-shadow(0 0 0 blue); 
}
.e2e-unselected-icon {
  font-weight: 400;
  filter: opacity(0.65)
}

/**** E2E Buttons ****/
.e2e-button {
	background-color:#000000;
	border:1px solid #000000;
	color: white;
	padding: 10px 25px 10px;
	border-radius: 10px;
}
.e2e-button-light {
	background-color:#666666;
	border:1px solid #000000;
	color: white;
	padding: 10px 25px 10px;
	border-radius: 10px;
}
.e2e-button-thin {
	background-color:#000000;
	border:1px solid #000000;
	color: white;
	padding: 3px 10px 3px;
	border-radius: 10px;
  margin-top: 5px;
  margin-bottom: 5px;
}button.e2e-button {
  line-height: 1.0;
}
a.e2e-button, a.e2e-button-light {
  padding: 10px 25px 10px !important;
	text-align: center;
}
.e2e-button:hover, .e2e-button-thin:hover {
	background-color:#303030;
	border:1px solid #303030;
	color:#ffffff;
	text-decoration:none;
}
.e2e-button-light:hover {
	background-color:#303030;
	border:1px solid #000000;
	color:#ffffff;
	text-decoration:none;
}
.e2e-button:disabled {
	opacity: .2;
}
.e2e-button-outline {
	background-color:#FFFFFF;
	border:1px solid #000000;
	color: Black;
	padding: 10px 25px 10px;
	border-radius: 10px;
}
a.e2e-button-outline {
  padding: 7px 25px 7px !important;
}
.e2e-button-outline:hover {
	background-color:#303030;
	border:1px solid #303030;
	color:#ffffff;
	text-decoration:none;
}

.blank-button {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

.material-icons {
  vertical-align: middle;
}
.bi {
  font-size: 24px;
}

hr.faded {
  border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #fff, #333, #fff);
}

.no-link-colors {
  text-decoration: none; 
  color: inherit;
}

.myTabClass{
  display: flex;
  flex-wrap: wrap;
}
.myTabClass input[type="radio"] {
  display: none;
}
.myTabClass .tabButton {
  padding: 25px;
  background: #f2f2f2;
  font-weight: bold;
}
.myTabClass .tab {
  order: 1;
  display: none;
}
.myTabClass input[type="radio"]:checked + label + .tab {
  display: block;
}
.myTabClass input[type="radio"]:checked + label {
  background: #dddddd;
  border-bottom: 5px solid #1e1e1e;
}

/* PowerUp-style tab strip.  An opt-in modifier layered on top of .myTabClass rather than a rewrite
   of it, so the radio/label mechanism and every page still on the old grey-button look are
   untouched - moving a page over is just adding e2e-tabs to its .myTabClass div.  Mirrors .pgs-tabs
   on the PowerUp Govern League Sync page: quiet grey labels, a hairline under the whole strip, and
   a blue underline on the active one.
   The hairline is the visible pane's border-top, not a wrapper's: the checked-state selectors
   (input:checked + label + .tab) need input, label and pane to stay adjacent siblings, so there is
   nowhere to hang a wrapper around just the labels. */
.myTabClass.e2e-tabs {
  /* column-gap, not gap: a row gap would push the pane - and with it the hairline - away from the
     labels it is meant to sit directly under. */
  column-gap: 4px;
}
.myTabClass.e2e-tabs .tabButton {
  flex: 0 0 auto; /* beats Bootstrap's .col, which stretches each label to an equal share */
  padding: 10px 18px;
  background: transparent;
  font-size: 15px;
  font-weight: 700;
  color: #737373;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  /* Pulls the pane's hairline up into the label's own bottom border so the two share one line; the
     positioned label paints over it, so the grey does not show through the active blue. */
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
}
.myTabClass.e2e-tabs .tabButton:hover {
  color: #262626;
}
/* The theme renders a bare <i> at 24px/38.4px, which on its own made these tabs half again as tall
   as the PowerUp ones.  Pinning it to the label's own type is what brings the strip back to the
   same height, so keep this if a page's labels carry Bootstrap icons. */
.myTabClass.e2e-tabs .tabButton i {
  font-size: 1em;
  line-height: inherit;
  vertical-align: -0.06em;
}
.myTabClass.e2e-tabs input[type="radio"]:checked + label {
  background: transparent;
  color: #171717;
  border-bottom: 2px solid #035EB1;
}
.myTabClass.e2e-tabs .tab {
  border-top: 1px solid #d4d4d4;
}
@media (max-width: 575px) {
  .myTabClass.e2e-tabs .tabButton {
    padding: 10px 10px;
    font-size: 14px;
  }
}

/* "Action required" banner above the club dashboard nav (Vercel prototype league-sync-option-f).
   Sits inside the theme's content column like the nav, so it wraps on width rather than on a
   viewport breakpoint: the text column keeps a 16rem minimum and the button drops beneath it.
   The button is an <a> styled as a button - no Bootstrap JS here - and every anchor rule is
   qualified with the container because this sheet loads BEFORE the theme's oxygen.css, so an
   unqualified a { } from Oxygen would otherwise win the colour and underline. */
.e2e-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  margin-bottom: 16px;
  border-radius: 0;
}
.e2e-banner-alert {
  border: 2px solid #f7941d;
  background: rgba(247, 148, 29, 0.10);
}
.e2e-banner-text {
  display: flex;
  flex: 1 1 16rem;
  flex-direction: column;
  gap: 2px;
}
.e2e-banner-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: #171717;
}
.e2e-banner-body {
  font-size: 15px;
  font-weight: 400;
  line-height: 22.5px;
  color: #525252;
}
.e2e-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}
.e2e-banner a.e2e-banner-btn,
.e2e-banner a.e2e-banner-btn:visited {
  display: inline-block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  white-space: nowrap;
  color: #fff;
  background: #000;
  border-radius: 10px;
  text-decoration: none;
}
.e2e-banner a.e2e-banner-btn:hover,
.e2e-banner a.e2e-banner-btn:focus {
  color: #fff;
  background: #262626;
  text-decoration: none;
}

/* Team Official navigation - the bar of sections, plus the row of pages inside the current section.
   This replaced the gn-menu hamburger on both dashboards: a section's pages used to sit in an
   overlay panel and are now always on screen.  Nothing uses that component any more, so its
   files and enqueues are gone.

   Three levels of navigation can stack on one page (sections, then that section's pages, then a
   page's own .e2e-tabs strip - Contact List has all three), so each level gets a different shape:
   a bordered bar, a row of pills, an underline strip.  Two of them sharing the underline would
   read as one control. */
.e2e-nav {
  margin-bottom: 20px;
  /* The bar is squeezed by the theme's content column, not by the viewport - on a 1198px screen
     that column is 960px - so the breakpoint below has to measure this element, not the window.
     Browsers without container queries just keep the name inline and let the bar wrap. */
  container-type: inline-size;
}
.e2e-nav-sections {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  border-bottom: 1px solid #d4d4d4;
}
.e2e-nav-section {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  color: #737373;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.e2e-nav-section:hover {
  color: #171717;
  text-decoration: none;
}
.e2e-nav-section[aria-current="page"] {
  color: #171717;
  border-bottom-color: #035EB1;
}
/* The theme sizes a bare <i> at 24px/38.4px, which made the row taller than its own labels - the
   same fix .e2e-tabs needs above. */
.e2e-nav-section i {
  font-size: 17px;
  line-height: 1;
}
.e2e-nav-section img {
  height: 20px;
  width: auto;
}
.e2e-nav-end {
  display: flex;
  align-items: stretch;
  margin-left: auto;
}

.e2e-nav-pages {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background-color: #fafafa;
  border-bottom: 1px solid #d4d4d4;
  /* Scrolls rather than wraps: a wrapped second row would push the page content down by a whole
     line on the widest sections, and the row is scanned left to right anyway. */
  overflow-x: auto;
}
.e2e-nav-page {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #525252;
  text-decoration: none;
  white-space: nowrap;
}
.e2e-nav-page:hover {
  background-color: #f0f0f0;
  color: #171717;
  text-decoration: none;
}
.e2e-nav-page[aria-current="page"] {
  background-color: #EAF2FA;
  border-color: #C6DCF0;
  color: #035EB1;
}
/* A group label inside the page row - the club Schedule section's "Schedule Generation" heading.
   Not a link: it marks where one group of pages ends and the next begins, which the old vertical
   panel did with a full-width heading bar.  Small, bold and set on two lines in a tinted block,
   so it reads as a divider rather than as another page you could click. */
.e2e-nav-pagegroup {
  display: flex;
  align-items: center;
  margin: 0 2px 0 10px;
  padding: 4px 12px;
  /* min-content, not a ch or pixel cap: the box wraps at every space and then hugs its longest
     word, so the padding always shows and no label can spill outside its own background.  A ch
     cap could not do this - ch measures a "0", and these labels are bold, uppercase and
     letter-spaced, so they run wider than the count suggests. */
  width: min-content;
  /* Centred because the two lines are different lengths - ragged-right reads as a mistake here. */
  justify-content: center;
  text-align: center;
  border-radius: 6px;
  background-color: #e9e9e9;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #575757;
  white-space: normal;
}

.e2e-nav-section:focus-visible,
.e2e-nav-account-btn:focus-visible,
.e2e-nav-page:focus-visible {
  outline: 2px solid #035EB1;
  outline-offset: -2px;
}

.e2e-nav-team {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Shrinks before anything else does: the club or team name is the one thing in the bar the page
     content repeats anyway, so it gives way first when the sections stop fitting. */
  flex: 0 1 auto;
  min-width: 0;
  padding: 14px 20px 14px 0;
  margin-right: 4px;
  max-width: 240px;
  font-size: 14px;
  font-weight: 700;
  color: #171717;
  white-space: nowrap;
  overflow: hidden;
}
.e2e-nav-teamname {
  overflow: hidden;
  text-overflow: ellipsis;
}
.e2e-nav-crest {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background-color: #035EB1;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The team control when the person's login reaches more than one team.  Deliberately mirrors
   .e2e-nav-account-btn / .e2e-nav-account-menu below, and shares its open/close script, so the bar's
   two dropdowns behave identically.  With one team the bar still renders the plain .e2e-nav-team
   above and none of this applies. */
.e2e-nav-teamswitch {
  position: relative;
  display: flex;
  align-items: stretch;
  flex: 0 1 auto;
  min-width: 0;
}
.e2e-nav-team-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 240px;
  padding: 14px 14px 14px 0;
  margin-right: 4px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #171717;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.e2e-nav-team-btn:hover,
.e2e-nav-team-btn[aria-expanded="true"] {
  color: #035EB1;
}
.e2e-nav-team-btn .e2e-nav-caret {
  flex: none;
  font-size: 11px;
  color: #737373;
}
/* Left-aligned, unlike the account menu, which is right-aligned so it grows inwards: this control is
   the first thing in the bar, so it has room to grow rightwards without being clipped. */
.e2e-nav-team-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  width: 320px;
  padding: 6px;
  margin: 0;
  background-color: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.e2e-nav-team-menu.is-open {
  display: block;
}
.e2e-nav-team-menu-label {
  padding: 8px 10px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8a;
}
/* A submit button, not a link: switching changes the session, so it must not sit behind a GET that
   something could prefetch.  Reset the button chrome the theme would otherwise give it. */
.e2e-nav-team-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-family: inherit;
  text-align: left;
  color: #262626;
  cursor: pointer;
}
.e2e-nav-team-item:hover {
  background-color: #f5f5f5;
  color: #171717;
}
.e2e-nav-team-item[aria-current="true"] {
  background-color: #EAF2FA;
}
.e2e-nav-team-item-text {
  min-width: 0;
  flex: 1;
}
.e2e-nav-team-item .nm {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.e2e-nav-team-item .sub {
  display: block;
  font-size: 12px;
  color: #737373;
}
.e2e-nav-team-item .tick {
  flex: none;
  margin-left: auto;
  font-size: 15px;
  color: #035EB1;
}
.e2e-nav-team-item .e2e-nav-crest {
  background-color: #8a8a8a;
}
.e2e-nav-team-item[aria-current="true"] .e2e-nav-crest {
  background-color: #035EB1;
}
.e2e-nav-team-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
  padding: 9px 12px 5px;
  border-top: 1px solid #e6e6e6;
  font-size: 13px;
  color: #035EB1;
  text-decoration: none;
}
.e2e-nav-team-foot:hover {
  color: #035EB1;
  text-decoration: underline;
}
/* Only rendered above eight teams.  EODSA already has officials on 17, 18 and 35 teams, where an
   unfiltered menu is taller than the page. */
.e2e-nav-team-filter {
  padding: 6px 8px 8px;
}
.e2e-nav-team-filter input {
  width: 100%;
  padding: 7px 10px;
  font-size: 13px;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
}
.e2e-nav-team-scroll {
  max-height: 264px;
  overflow-y: auto;
}

/* Same rule the plain .e2e-nav-team gets above - the switcher has to give way at the same width, or
   the bar wraps differently depending on how many teams the person happens to have. */
@container (max-width: 780px) {
  .e2e-nav-teamswitch {
    flex-basis: 100%;
  }
  .e2e-nav-team-btn {
    max-width: none;
    margin-right: 0;
    padding: 12px 0 2px;
  }
}
/* "My Teams" on the My Account page.  Shares .e2e-nav-crest with the menu bar so a team reads the
   same in both places. */
.e2e-myteams-heading {
  margin: 26px 0 2px;
  font-size: 18px;
  font-weight: 700;
}
.e2e-myteams-intro {
  margin: 0 0 8px;
  font-size: 13px;
  color: #666666;
}
.e2e-myteams-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #ececec;
}
.e2e-myteams-name {
  flex: 1;
  min-width: 0;
}
.e2e-myteams-name .nm {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.e2e-myteams-name .sub {
  display: block;
  font-size: 12px;
  color: #737373;
}
.e2e-myteams-badge {
  padding: 3px 10px;
  border-radius: 999px;
  background-color: #EAF2FA;
  font-size: 11px;
  font-weight: 600;
  color: #035EB1;
}
.e2e-myteams-badge.linked {
  background-color: #eeeeee;
  color: #5f5f5f;
}
.e2e-myteams-unlink {
  margin: 0;
}
.e2e-myteams-link {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e6e6e6;
}
.e2e-myteams-link h5 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 700;
}
.e2e-myteams-link p {
  margin: 0 0 12px;
  font-size: 13px;
  color: #666666;
}
.e2e-myteams-link form {
  max-width: 640px;
}

.e2e-nav-account {
  position: relative;
  display: flex;
  align-items: stretch;
}
.e2e-nav-account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #737373;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.e2e-nav-account-btn:hover,
.e2e-nav-account-btn[aria-expanded="true"] {
  color: #171717;
}
.e2e-nav-account-btn i {
  font-size: 17px;
  line-height: 1;
}
.e2e-nav-account-btn .e2e-nav-caret {
  font-size: 11px;
}
/* Right-aligned so it grows inwards: the bar sits in a container with overflow:hidden, and a
   left-aligned menu on the last item in the row would be clipped at the edge. */
.e2e-nav-account-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 50;
  min-width: 180px;
  padding: 6px;
  background-color: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.e2e-nav-account-menu.is-open {
  display: block;
}
.e2e-nav-account-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  color: #262626;
  text-decoration: none;
  font-size: 14px;
}
.e2e-nav-account-menu a:hover {
  background-color: #f5f5f5;
  color: #171717;
  text-decoration: none;
}
.e2e-nav-account-menu a i {
  font-size: 16px;
  line-height: 1;
}

/* Below these widths the name takes its own line, which keeps the account control pinned right
   instead of letting it wrap away on its own.  Two thresholds because the two bars are not the
   same size: the club dashboard carries six sections to the coach dashboard's three, and runs
   out of room a good 270px earlier. */
@container (max-width: 780px) {
  .e2e-nav-team {
    flex-basis: 100%;
    max-width: none;
    margin-right: 0;
    padding: 12px 0 2px;
  }
}

@container (max-width: 1050px) {
  .e2e-nav-many .e2e-nav-team {
    flex-basis: 100%;
    max-width: none;
    margin-right: 0;
    padding: 12px 0 2px;
  }
}

@media (max-width: 767px) {
  /* Sections drop to icons, as the old bar did.  The page row below now carries the wording, so
     nothing is unlabelled the way four bare icons were. */
  .e2e-nav-section span,
  .e2e-nav-account-btn span {
    display: none;
  }
  .e2e-nav-section {
    gap: 0;
    padding: 14px 16px;
  }
  .e2e-nav-account-btn {
    gap: 4px;
    padding: 14px 14px;
  }
}

#divMsg {
  display: none;
  width: 100%;
  background-color: #D3E1F6;
  padding: 10px;
  margin-bottom: 25px;
	border-radius: 25px;
	border: 2px solid #71A1E8;
}
#help-button {
	padding-bottom: 10px;
}

table a, a:hover, a > i {
	color: #333333;
}
table a:hover, a:hover > i {
	color: #000000;
}
/* Shared dashboard/report table type, site-wide. 14px matches the explanatory copy the tables sit
   under - the theme's own table type is 16px and read a size larger than everything around it.
   vertical-align:middle deliberately overrides the .e2e-table td { vertical-align: top } rule in
   Oxygen's generated universal.css, which left cell contents riding above any taller control in
   the same row (e.g. the PowerUp Govern mapping page's team dropdown). Qualified with the
   element (table.e2e-table, not .e2e-table) purely to outrank that rule: Oxygen's stylesheet is
   enqueued after this one, so at equal specificity it would win on order alone. */
table.e2e-table th, table.e2e-table td {
	font-size: 14px;
	vertical-align: middle;
}

/* ==========================================================================
   Content page refresh - PROPOSAL, not in the plugin.
   Would be appended to assets/css/e2elc.css, so it keeps that sheet's cascade position (before
   Oxygen's stylesheets).  No template changes: every rule hangs off markup that exists today.

   Scope: .container:has(> .e2e-nav) is "the content area of a club or coach dashboard".  It keeps
   these rules off the public pages and wp-admin, which share Bootstrap's classes.  The exceptions
   are deliberate and cover the public standings, schedules and similar pages: table.e2e-table, the
   Excel export button, and the public schedule's filter form.  Public forms stay as they are.
   Palette and radii come from the nav and the PowerUp Govern page.
   ========================================================================== */
:root {
  --e2e-ink: #171717;
  --e2e-text: #262626;
  --e2e-soft: #525252;
  --e2e-muted: #737373;
  --e2e-line: #d4d4d4;
  --e2e-hair: #ececec;
  --e2e-wash: #fafafa;
  --e2e-blue: #035EB1;
  --e2e-blue-tint: #EAF2FA;
  --e2e-blue-line: #C6DCF0;
  --e2e-red: #c81b07;
  --e2e-amber-tint: #fef4e6;
  --e2e-amber-line: #f7c98a;
  --e2e-radius: 10px;
}

/* --------------------------------------------------------------- Type + rhythm */
.container:has(> .e2e-nav) {
  font-size: 15px;
  line-height: 1.55;
  color: var(--e2e-text);
}
.container:has(> .e2e-nav) > br,
.container:has(> .e2e-nav) h3 + br { display: none; }

.container:has(> .e2e-nav) h3 {
  margin: 0 0 18px;
  padding: 0 !important;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--e2e-ink);
}
/* A page's second and third headings start a new part of the page. */
.container:has(> .e2e-nav) .row + h3 {
  margin-top: 32px;
  padding-top: 28px !important;
  border-top: 1px solid var(--e2e-line);
}

.container:has(> .e2e-nav) h5 {
  margin: 0 0 4px;
  padding: 0 0 8px !important;
  font-size: 15px;
  line-height: 1.3;
  color: var(--e2e-ink);
  border-bottom: 2px solid var(--e2e-ink);
}
.container:has(> .e2e-nav) * + h5 { margin-top: 28px; }

.container:has(> .e2e-nav) hr {
  height: 0;
  margin: 24px 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--e2e-line);
  opacity: 1;
}
.container:has(> .e2e-nav) p { margin-bottom: 10px; }

/* --------------------------------------------------------------- Help
   Help.jpg, the glossy button, is swapped without touching the <img>: the padding fills the box, so
   the picture has no room to draw and the background shows.  It floats beside the page heading. */
.container:has(> .e2e-nav) img#help-button {
  float: right;
  box-sizing: border-box;
  width: 74px !important;
  height: 32px;
  padding: 0 0 0 72px;
  margin: 0 0 8px 12px;
  border: 1px solid var(--e2e-line);
  border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='30'%3E%3Ccircle cx='17' cy='15' r='7.25' fill='none' stroke='%23525252' stroke-width='1.5'/%3E%3Ctext x='17' y='18.6' font-family='Arial,sans-serif' font-size='10' font-weight='700' text-anchor='middle' fill='%23525252'%3E%3F%3C/text%3E%3Ctext x='30' y='19.5' font-family='Arial,sans-serif' font-size='13' font-weight='600' fill='%23262626'%3EHelp%3C/text%3E%3C/svg%3E") center no-repeat;
  cursor: pointer;
}
.container:has(> .e2e-nav) img#help-button:hover {
  border-color: var(--e2e-blue);
  background-color: var(--e2e-blue-tint);
}
.container:has(> .e2e-nav) #divMsg {
  clear: both;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #123d66;
  background-color: var(--e2e-blue-tint);
  border: 1px solid var(--e2e-blue-line);
  border-radius: var(--e2e-radius);
}
.container:has(> .e2e-nav) #divMsg p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- Buttons
   Black stays the primary colour because that is what the PowerUp pages' inline styles use.  A link
   styled as a button beside a real submit is always the way out (Cancel), so it drops to outline. */
.e2e-button, .e2e-button-light, .e2e-button-outline, .e2e-button-thin {
  border-radius: var(--e2e-radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  transition: background-color .12s;
}
.e2e-button, .e2e-button-light, .e2e-button-outline {
  padding: 8px 20px;
}
button.e2e-button { line-height: 1.5; }
.e2e-button { background-color: var(--e2e-ink); border-color: var(--e2e-ink); }
.e2e-button-light {
  background-color: #fff;
  border-color: var(--e2e-line);
  color: var(--e2e-text);
}
.e2e-button-light:hover, a.e2e-button-light:hover {
  background-color: var(--e2e-wash);
  border-color: var(--e2e-muted);
  color: var(--e2e-ink);
}
.e2e-button-outline { border-color: var(--e2e-line); color: var(--e2e-text); }
.e2e-button-outline:hover { background-color: var(--e2e-wash); border-color: var(--e2e-muted); color: var(--e2e-ink); }
.e2e-button-thin { padding: 3px 10px; font-size: 13px; background-color: var(--e2e-ink); }
.container:has(> .e2e-nav) a.e2e-button,
.container:has(> .e2e-nav) a.e2e-button-light {
  display: inline-block;
  padding: 8px 20px !important;
}
.container:has(> .e2e-nav) form a.e2e-button {
  background-color: #fff;
  border-color: var(--e2e-line);
  color: var(--e2e-text);
  margin-left: 6px;
}
.container:has(> .e2e-nav) form a.e2e-button:hover {
  background-color: var(--e2e-wash);
  border-color: var(--e2e-muted);
  color: var(--e2e-ink);
}
.e2e-button:focus-visible, .e2e-button-light:focus-visible, .e2e-button-outline:focus-visible, .e2e-button-thin:focus-visible {
  outline: 2px solid var(--e2e-blue);
  outline-offset: 2px;
}
/* A form's buttons line up with its fields instead of floating in the middle of the page. */
.container:has(> .e2e-nav) form .text-center:has(> .e2e-button),
.container:has(> .e2e-nav) .tab form > .text-center:has(input[type="file"]) {
  text-align: left !important;
}
.container:has(> .e2e-nav) form .pt-4:has(> .col > .e2e-button),
.container:has(> .e2e-nav) form .pt-4:has(> .e2e-button) {
  padding-top: 8px !important;
}

/* --------------------------------------------------------------- Forms */
.container:has(> .e2e-nav) .form-group { margin-bottom: 14px; }
.container:has(> .e2e-nav) .form-group > label,
.container:has(> .e2e-nav) label[for="gamenumber"] {
  display: block;
  margin-bottom: 5px;
  font-size: 13px;
  font-weight: 600 !important;
  color: var(--e2e-text);
}
.container:has(> .e2e-nav) .form-group > label > i {
  font-weight: 400;
  color: var(--e2e-muted);
}
.container:has(> .e2e-nav) .form-control {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 15px;
  color: var(--e2e-text);
  background-color: #fff;
  border: 1px solid var(--e2e-line);
  border-radius: var(--e2e-radius);
}
.container:has(> .e2e-nav) .form-control:hover { border-color: #a3a3a3; }
.container:has(> .e2e-nav) .form-control:focus {
  border-color: var(--e2e-blue);
  box-shadow: 0 0 0 3px rgba(3, 94, 177, .15);
  outline: 0;
}
.container:has(> .e2e-nav) .form-control::placeholder { color: #a3a3a3; }
/* Bootstrap's .form-control strips the arrow from a <select>, so today a dropdown looks like a text
   box.  This puts it back. */
.container:has(> .e2e-nav) select.form-control {
  padding-right: 34px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23525252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 5.5l6 6 6-6'/%3E%3C/svg%3E") right 12px center no-repeat;
  cursor: pointer;
}
.container:has(> .e2e-nav) input[type="file"] {
  margin-left: 8px;
  font-size: 14px;
}
.container:has(> .e2e-nav) input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 6px 14px;
  font-weight: 600;
  background: #fff;
  border: 1px solid var(--e2e-line);
  border-radius: 8px;
  cursor: pointer;
}

/* Filter forms (Schedule): three dropdowns and a button become one bar.  The Bootstrap rows step
   aside with display:contents so all four share a single grid. */
.container:has(> .e2e-nav) form:has(> input[name="updatetable"]) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 14px 16px;
  margin-bottom: 20px;
  background-color: var(--e2e-wash);
  border: 1px solid var(--e2e-hair);
  border-radius: var(--e2e-radius);
}
.container:has(> .e2e-nav) form:has(> input[name="updatetable"]) > .row,
.container:has(> .e2e-nav) form:has(> input[name="updatetable"]) > .row > [class*="col"] {
  display: contents;
}
.container:has(> .e2e-nav) form:has(> input[name="updatetable"]) .form-group { margin: 0; }
@media (max-width: 767px) {
  .container:has(> .e2e-nav) form:has(> input[name="updatetable"]) { grid-template-columns: minmax(0, 1fr); }
}

/* The Excel export: a 32px icon in space becomes a labelled button.  The label is painted over the
   input and lets clicks through, so it is still the same input. */
p.text-end:has(> input[type="image"]) {
  position: relative;
  width: 148px;
  margin: 0 0 12px auto;
}
p.text-end > input[type="image"] {
  display: block;
  box-sizing: border-box;
  width: 148px;
  height: 36px;
  padding: 0 0 0 146px;
  border: 1px solid var(--e2e-line);
  border-radius: var(--e2e-radius);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Crect x='1' y='1' width='14' height='14' rx='2.5' fill='%23107c41'/%3E%3Cpath d='M5 4.5l6 7M11 4.5l-6 7' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") 11px center no-repeat;
}
p.text-end > input[type="image"]:hover {
  background-color: var(--e2e-wash);
  border-color: var(--e2e-muted);
}
p.text-end:has(> input[type="image"])::after {
  content: "Export to Excel";
  position: absolute;
  top: 7px;
  left: 34px;
  font-size: 13px;
  font-weight: 600;
  color: var(--e2e-text);
  pointer-events: none;
}

/* The public schedule's filters: bare selects laid out in a three-row table, with no class to hang
   them on.  The table steps aside so every cell joins one grid, which turns each row into a column:
   label on top, dropdown under it, and the future games tick box at the end of the bar. */
form:has(#e2e-divisionid) {
  padding: 14px 16px;
  margin-bottom: 16px;
  background-color: var(--e2e-wash);
  border: 1px solid var(--e2e-hair);
  border-radius: var(--e2e-radius);
  font-size: 14px;
  color: var(--e2e-text);
}
form:has(#e2e-divisionid) table { display: block; width: 100%; }
form:has(#e2e-divisionid) tbody {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  column-gap: 12px;
  row-gap: 5px;
  align-items: center;
}
form:has(#e2e-divisionid) tr { display: contents; }
form:has(#e2e-divisionid) td { display: block; padding: 0 !important; }
form:has(#e2e-divisionid) td:first-child { grid-row: 1; font-size: 13px; font-weight: 600; }
form:has(#e2e-divisionid) td:nth-child(2) { grid-row: 2; }
form:has(#e2e-divisionid) tr:nth-child(1) > td { grid-column: 1; }
form:has(#e2e-divisionid) tr:nth-child(2) > td { grid-column: 2; }
form:has(#e2e-divisionid) tr:nth-child(3) > td { grid-column: 3; }
form:has(#e2e-divisionid) tr:nth-child(n) > td:nth-child(3) { grid-column: 4; grid-row: 2; padding-left: 6px !important; white-space: nowrap; }
form:has(#e2e-divisionid) tr:nth-child(n+2) > td:nth-child(3) { display: none; }
@media (max-width: 767px) {
  form:has(#e2e-divisionid) tbody { grid-template-columns: minmax(0, 1fr); }
  form:has(#e2e-divisionid) tr:nth-child(n) > td:nth-child(n) { grid-column: 1; grid-row: auto; padding-left: 0 !important; }
  form:has(#e2e-divisionid) tr:nth-child(n) > td:nth-child(2) { margin-bottom: 8px; }
  form:has(#e2e-divisionid) tr:nth-child(1) > td:nth-child(3) { order: 1; }
}
form:has(#e2e-divisionid) select {
  appearance: none;
  width: 100%;
  height: 40px;
  padding: 8px 34px 8px 12px;
  font-size: 15px;
  color: var(--e2e-text);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23525252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 5.5l6 6 6-6'/%3E%3C/svg%3E") right 12px center no-repeat;
  border: 1px solid var(--e2e-line);
  border-radius: var(--e2e-radius);
  cursor: pointer;
}
form:has(#e2e-divisionid) select:focus {
  border-color: var(--e2e-blue);
  box-shadow: 0 0 0 3px rgba(3, 94, 177, .15);
  outline: 0;
}
form:has(#e2e-divisionid) input[type="checkbox"] { accent-color: var(--e2e-blue); }

/* --------------------------------------------------------------- Tables
   One look for table.e2e-table and Bootstrap's table.table: the theme's #333 header and #DDD bands
   go, rows are divided by a hairline, and the outline carries the structure. */
table.e2e-table,
.container:has(> .e2e-nav) table.table {
  --bs-table-accent-bg: transparent;
  --bs-table-striped-bg: transparent;
  width: 100%;
  margin-bottom: 8px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--e2e-line);
  border-radius: var(--e2e-radius);
  overflow: hidden;
  font-variant-numeric: tabular-nums;
}
table.e2e-table th,
table.e2e-table td,
.container:has(> .e2e-nav) table.table > * > tr > th,
.container:has(> .e2e-nav) table.table > * > tr > td {
  padding: 10px 12px !important;
  font-size: 14px;
  vertical-align: middle;
  border-width: 0 0 1px;
  border-style: solid;
  border-color: var(--e2e-hair);
  color: var(--e2e-text);
  --bs-table-accent-bg: transparent;
  box-shadow: none;
}
table.e2e-table th,
.container:has(> .e2e-nav) table.table > * > tr > th {
  background-color: var(--e2e-wash);
  border-bottom-color: var(--e2e-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--e2e-soft);
  white-space: nowrap;
}
table.e2e-table tr:nth-child(n) { background: transparent; }
table.e2e-table tr:last-child > td,
.container:has(> .e2e-nav) table.table > tbody > tr:last-child > td {
  border-bottom-width: 0;
}
table.e2e-table tr:hover > td,
.container:has(> .e2e-nav) table.table > tbody > tr:hover > td {
  background-color: #f6f9fc;
}
table.e2e-table td a,
.container:has(> .e2e-nav) table.table td a {
  color: var(--e2e-blue);
}
table.e2e-table td a:hover,
.container:has(> .e2e-nav) table.table td a:hover {
  color: #024a8c;
  text-decoration: underline;
}

/* On a phone a wide public table scrolls inside itself instead of running off the screen. */
@media (max-width: 767px) {
  table.e2e-table:not(.dataTable) { display: block; overflow-x: auto; }
}

/* DataTables' own furniture.  The overflow matters on a phone: the dashboard's container has
   overflow:hidden, so a table wider than the screen is cut off with no way to reach the rest. */
.container:has(> .e2e-nav) .dataTables_wrapper {
  overflow-x: auto;
  font-size: 13px;
  color: var(--e2e-soft);
}
.container:has(> .e2e-nav) .dataTables_wrapper .dataTables_length,
.container:has(> .e2e-nav) .dataTables_wrapper .dataTables_filter {
  margin-bottom: 12px;
  color: var(--e2e-soft);
}
.container:has(> .e2e-nav) .dataTables_wrapper select,
.container:has(> .e2e-nav) .dataTables_wrapper .dataTables_filter input {
  height: 34px;
  padding: 4px 10px;
  font-size: 13px;
  background-color: #fff;
  border: 1px solid var(--e2e-line);
  border-radius: 8px;
}
.container:has(> .e2e-nav) .dataTables_wrapper .dataTables_filter input { width: 210px; }
.container:has(> .e2e-nav) .dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--e2e-blue);
  box-shadow: 0 0 0 3px rgba(3, 94, 177, .15);
  outline: 0;
}
.container:has(> .e2e-nav) table.dataTable.no-footer { border-bottom: 1px solid var(--e2e-line); }
.container:has(> .e2e-nav) table.dataTable thead th { border-bottom: 1px solid var(--e2e-line); }
.container:has(> .e2e-nav) table.dataTable thead .sorting_asc,
.container:has(> .e2e-nav) table.dataTable thead .sorting_desc { color: var(--e2e-ink); }
.container:has(> .e2e-nav) .dataTables_wrapper .dataTables_info { padding-top: 12px; color: var(--e2e-muted); }
.container:has(> .e2e-nav) .dataTables_wrapper .dataTables_paginate { padding-top: 8px; }
.container:has(> .e2e-nav) .dataTables_wrapper .dataTables_paginate .paginate_button,
.container:has(> .e2e-nav) .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  padding: 4px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--e2e-muted) !important;
}
.container:has(> .e2e-nav) .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  border: 0;
  background: var(--e2e-blue-tint);
  color: var(--e2e-blue) !important;
  font-weight: 600;
}

/* Columns with no heading (edit, delete) cannot be usefully sorted, so they lose the arrows. */
.container:has(> .e2e-nav) table.dataTable thead th:empty { background-image: none; }

/* Row actions: "edit" and "delete" are bare lower-case links today.  The href is what identifies
   them, so these are small buttons, delete in red, without changing a word of the row builder. */
.container:has(> .e2e-nav) table.table td:has(> a[href*="eid="]),
.container:has(> .e2e-nav) table.table td:has(> a[href*="did="]) {
  width: 1px;
  padding: 6px 4px !important;
  white-space: nowrap;
}
.container:has(> .e2e-nav) table.table td:has(> a[href*="did="]) { padding-right: 12px !important; }
.container:has(> .e2e-nav) table.table td > a[href*="eid="],
.container:has(> .e2e-nav) table.table td > a[href*="did="] {
  display: inline-block;
  padding: 3px 11px;
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
  border: 1px solid var(--e2e-line);
  border-radius: 8px;
  color: var(--e2e-text);
  background: #fff;
}
.container:has(> .e2e-nav) table.table td > a[href*="eid="]:hover {
  border-color: var(--e2e-muted);
  background: var(--e2e-wash);
  text-decoration: none;
}
.container:has(> .e2e-nav) table.table td > a[href*="did="] { color: var(--e2e-red); }
.container:has(> .e2e-nav) table.table td > a[href*="did="]:hover {
  color: #fff;
  border-color: var(--e2e-red);
  background: var(--e2e-red);
  text-decoration: none;
}
/* Shirt number on a roster; game number on a schedule. */
.container:has(> .e2e-nav) table.table:has(a[href*="did="]) tbody td:first-child { font-weight: 700; color: var(--e2e-ink); }
.container:has(> .e2e-nav) table.e2e-table#tblData tbody td:first-child { color: var(--e2e-muted); }

/* Standings (public pages too): the division name heads its table, points carry the weight. */
.e2e-division-wrapper { margin-bottom: 28px; overflow-x: auto; }
.e2e-division-wrapper > b {
  display: block;
  margin-bottom: 8px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 19px;
  color: var(--e2e-ink);
}
.e2e-division-wrapper > br { display: none; }
.e2e-division-wrapper table.e2e-table td:first-child { color: var(--e2e-muted); }
.e2e-division-wrapper table.e2e-table td:last-child,
.e2e-division-wrapper table.e2e-table th:last-child {
  font-weight: 700;
  color: var(--e2e-ink);
  background-color: var(--e2e-wash);
  border-left: 1px solid var(--e2e-hair);
}

/* --------------------------------------------------------------- Stat lists (Overview pages)
   The label / value rows are Bootstrap .row > .col-6 pairs.  They become a ledger: hairline under
   each row and values right-aligned so the digits stack. */
.container:has(> .e2e-nav) .col-lg-6 > .row:has(> .col-6 + .col-6:last-child) {
  margin: 0;
  padding: 7px 0 !important;
  border-bottom: 1px solid var(--e2e-hair);
  font-size: 14px;
}
.container:has(> .e2e-nav) .col-lg-6 > .row:has(> .col-6 + .col-6:last-child) > .col-6 {
  padding: 0;
  color: var(--e2e-soft);
}
.container:has(> .e2e-nav) .col-lg-6 > .row:has(> .col-6 + .col-6:last-child) > .col-6:last-child {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--e2e-ink);
}
/* Total games, first in the left column */
.container:has(> .e2e-nav) .col-lg-6:first-child > h5 + .row:has(> .col-6 + .col-6:last-child) > .col-6:last-child {
  font-size: 15px;
  font-weight: 700;
}

/* Results: three donuts, split by a rule rather than boxed.  The side padding is what sizes them;
   Chart.js fills whatever column it is given. */
.container:has(> .e2e-nav) .col-lg-4.text-center:has(> canvas) { padding: 0 44px; }
.container:has(> .e2e-nav) .col-lg-4.text-center:has(> canvas) > h5 {
  margin-bottom: 14px;
  padding: 0 !important;
  border: 0;
  font-weight: 600;
  color: var(--e2e-soft);
}
.container:has(> .e2e-nav) .col-lg-4.text-center:has(> canvas) > p.fw-bold {
  margin: 0;
  padding-top: 14px !important;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 22px;
  color: var(--e2e-ink);
}
@media (min-width: 992px) {
  .container:has(> .e2e-nav) .col-lg-4.text-center:has(> canvas) + .col-lg-4 { border-left: 1px solid var(--e2e-hair); }
}

/* Discipline tiles: drawn referee cards, the one flourish here.  Each tile drops the off-centre
   offset-2 and takes half the page; the <img> shows a CSS card by the same trick as Help. */
.container:has(> .e2e-nav) .row:has(> .offset-2) > .offset-2 { margin-left: 0; }
.container:has(> .e2e-nav) .row:has(> .offset-2) > [class*="col-lg-4"] {
  flex: 0 0 50%;
  width: 50%;
  padding: 0 8px;
  text-align: left !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--e2e-soft);
}
.container:has(> .e2e-nav) .row:has(> .offset-2) { margin: 0 -8px; }
.container:has(> .e2e-nav) .row:has(> .offset-2) .border-dark {
  margin-top: 6px;
  padding: 14px 20px;
  border: 1px solid var(--e2e-line) !important;
  border-radius: var(--e2e-radius) !important;
  transition: border-color .12s, background-color .12s;
}
.container:has(> .e2e-nav) .row:has(> .offset-2) a:hover .border-dark {
  border-color: var(--e2e-muted) !important;
  background-color: var(--e2e-wash);
}
.container:has(> .e2e-nav) .row:has(> .offset-2) .border-dark > .row > .col-6 { flex: 0 0 auto; width: auto; padding: 0; }
.container:has(> .e2e-nav) .row:has(> .offset-2) .border-dark > .row {
  flex-direction: row-reverse;
  justify-content: space-between;
  margin: 0;
}
.container:has(> .e2e-nav) .row:has(> .offset-2) .border-dark img {
  display: block;
  box-sizing: border-box;
  width: 38px !important;
  height: 52px;
  padding-left: 38px;
  border-radius: 4px;
  transform: rotate(8deg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.container:has(> .e2e-nav) .row:has(> .offset-2) .border-dark img[src*="Yellowcard.png"] { background: #f5c518; }
.container:has(> .e2e-nav) .row:has(> .offset-2) .border-dark img[src*="Redcard.png"] { background: var(--e2e-red); }
.container:has(> .e2e-nav) .row:has(> .offset-2) .border-dark span[style*="font-size"] {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 44px !important;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--e2e-ink);
}

/* --------------------------------------------------------------- Game sheet
   The player list reads like a team sheet: a row per person, tinted when they are on it. */
.container:has(> .e2e-nav) .col-md-6 > .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin: 0;
  padding: 6px 10px;
  border-bottom: 1px solid var(--e2e-hair);
  font-size: 14px;
}
.container:has(> .e2e-nav) .col-md-6 > .form-check > .form-check-input {
  flex: none;
  float: none;
  width: 17px;
  height: 17px;
  margin: 0;
  cursor: pointer;
  border-color: #a3a3a3;
}
.container:has(> .e2e-nav) .form-check-input:checked {
  background-color: var(--e2e-blue);
  border-color: var(--e2e-blue);
}
.container:has(> .e2e-nav) .form-check-input:focus {
  border-color: var(--e2e-blue);
  box-shadow: 0 0 0 3px rgba(3, 94, 177, .2);
}
.container:has(> .e2e-nav) .col-md-6 > .form-check > .form-check-label { flex: 1; cursor: pointer; }
.container:has(> .e2e-nav) .col-md-6 > .form-check:has(> :checked) {
  background-color: var(--e2e-blue-tint);
  border-bottom-color: #fff;
  color: var(--e2e-ink);
}
.container:has(> .e2e-nav) .col-md-6 > .form-check:not(:has(> input)) {
  padding-left: 37px;
  color: var(--e2e-muted);
}
.container:has(> .e2e-nav) .col-md-6 > .form-check:not(:has(> input)) > .form-check-label { cursor: default; }
.container:has(> .e2e-nav) .col-md-6 > .form-check i {
  float: right;
  font-size: 13px;
  line-height: inherit;
  color: #a15c00;
}
/* Age group dividers on a club roster game sheet */
.container:has(> .e2e-nav) .col-md-6 > .fw-bold.bg-dark {
  padding: 6px 10px !important;
  font-size: 13px;
  text-align: left !important;
  color: var(--e2e-soft) !important;
  background-color: #f0f0f0 !important;
  border-radius: 6px !important;
}
/* Suspended and call up names */
.container:has(> .e2e-nav) .col-md-6 > div:has(> label.form-check-label:only-child):not(.form-check) {
  padding: 8px 10px;
  border-bottom: 1px solid var(--e2e-hair);
  font-size: 14px;
}
.container:has(> .e2e-nav) .col-md-6 > h5:nth-of-type(2) ~ div:has(> label.form-check-label:only-child) > label::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  vertical-align: 1px;
  border-radius: 50%;
  background: var(--e2e-red);
}
.container:has(> .e2e-nav) .col-md-6 > h5:nth-of-type(3) ~ div:has(> label.form-check-label:only-child) > label::before { display: none; }
/* The template's empty spacer row above the lists */
.container:has(> .e2e-nav) form[action*="GameSheet"] > .row:first-of-type { display: none; }
.container:has(> .e2e-nav) form[action*="GameSheet"] > .row:first-of-type + .row { padding-top: 24px !important; }
/* Picking a game is the page's first decision, so it sits in a panel of its own */
.container:has(> .e2e-nav) form#frmGameSheet {
  padding: 14px 16px;
  background-color: var(--e2e-wash);
  border: 1px solid var(--e2e-hair);
  border-radius: var(--e2e-radius);
}
.container:has(> .e2e-nav) form#frmGameSheet > br { display: none; }
.container:has(> .e2e-nav) form#frmGameSheet > input[type="checkbox"] { margin: 0 4px 12px 0; accent-color: var(--e2e-blue); }
.container:has(> .e2e-nav) form#frmGameSheet > label { font-size: 14px; }
.container:has(> .e2e-nav) form#frmGameSheet .form-group { margin: 0; }
.container:has(> .e2e-nav) .POWERUPSYNC small,
.container:has(> .e2e-nav) small.text-muted { font-size: 13px; }

/* --------------------------------------------------------------- Notices */
.container:has(> .e2e-nav) .alert {
  padding: 12px 16px;
  font-size: 14px;
  border-radius: var(--e2e-radius);
}
.container:has(> .e2e-nav) .alert p:last-child { margin-bottom: 0; }
.container:has(> .e2e-nav) .alert-primary {
  color: #123d66;
  background-color: var(--e2e-blue-tint);
  border-color: var(--e2e-blue-line);
}
.container:has(> .e2e-nav) .alert-warning {
  color: #6b3e00;
  background-color: var(--e2e-amber-tint);
  border-color: var(--e2e-amber-line);
}

/* --------------------------------------------------------------- Call ups
   The eligibility warning is three loose paragraphs at the top of the tab.  They stack into one
   amber notice by giving each its share of the background and border. */
.container:has(> .e2e-nav) .tab > p.fw-bold:first-child,
.container:has(> .e2e-nav) .tab > p.fw-bold:first-child + p,
.container:has(> .e2e-nav) .tab > p.fw-bold:first-child + p + p {
  margin: 0;
  padding: 2px 16px;
  font-size: 14px;
  color: #6b3e00;
  background-color: var(--e2e-amber-tint);
  border: solid var(--e2e-amber-line);
  border-width: 0 1px;
}
.container:has(> .e2e-nav) .tab > p.fw-bold:first-child {
  padding-top: 12px;
  border-top-width: 1px;
  border-radius: var(--e2e-radius) var(--e2e-radius) 0 0;
}
.container:has(> .e2e-nav) .tab > p.fw-bold:first-child + p + p {
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom-width: 1px;
  border-radius: 0 0 var(--e2e-radius) var(--e2e-radius);
}
/* Two ways to add a player: each option is its own panel, with "or" between them */
.container:has(> .e2e-nav) .col-md-5:has(> p.fw-bold) {
  padding: 16px;
  border: 1px solid var(--e2e-line);
  border-radius: var(--e2e-radius);
}
.container:has(> .e2e-nav) .row:has(> .col-md-5 > p.fw-bold) { margin: 0; }
.container:has(> .e2e-nav) .col-md-5 > p.fw-bold { font-size: 15px; color: var(--e2e-ink); }
.container:has(> .e2e-nav) .col-md-5 + .col-md-2 { font-size: 13px; color: var(--e2e-muted); }
.container:has(> .e2e-nav) .tab form .form-group.pb-2 { padding-bottom: 0 !important; }
.container:has(> .e2e-nav) .tab > p.fw-bold:not(:first-child),
.container:has(> .e2e-nav) .tab > P.fw-bold { padding-top: 0 !important; color: var(--e2e-ink); }

/* Found on the real site.  DataTables sets box-sizing:content-box on its tables, so width:100% plus
   the outline came to 2px wider than the wrapper, and every dashboard table showed a scrollbar. */
.container:has(> .e2e-nav) .dataTables_wrapper table.dataTable {
  box-sizing: border-box;
  width: 100% !important;
}
/* An h5 used as the label for a form or the title of a table does not need the heavy rule: the
   field or the table's own outline already closes it off. */
.container:has(> .e2e-nav) h5:has(+ form),
.container:has(> .e2e-nav) h5:has(+ table),
.container:has(> .e2e-nav) h5:has(+ .dataTables_wrapper) {
  padding-bottom: 2px !important;
  border-bottom: 0;
}

/* Many pages class a full-width button "e2e-button form-control".  The form field rules above
   outrank .e2e-button, which turned those buttons white, so the button look is restored here. */
.container:has(> .e2e-nav) button.form-control.e2e-button,
.container:has(> .e2e-nav) input.form-control.e2e-button {
  color: #fff;
  background-color: var(--e2e-ink);
  border-color: var(--e2e-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.container:has(> .e2e-nav) button.form-control.e2e-button:hover,
.container:has(> .e2e-nav) input.form-control.e2e-button:hover {
  background-color: #303030;
  border-color: #303030;
}
.container:has(> .e2e-nav) button.form-control.e2e-button:disabled,
.container:has(> .e2e-nav) input.form-control.e2e-button:disabled {
  opacity: .2;
}
.container:has(> .e2e-nav) a.form-control.e2e-button,
.container:has(> .e2e-nav) a.form-control.e2e-button-light {
  margin-left: 0;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* wp-admin contact pages (Team Contacts, Club Contacts): the same DataTables controls as the
   dashboards.  The rules above are scoped to the dashboards, so these need their own. */
.e2e-admin-dt .dataTables_wrapper { font-size: 13px; color: var(--e2e-soft); }
.e2e-admin-dt .dataTables_wrapper .dataTables_length,
.e2e-admin-dt .dataTables_wrapper .dataTables_filter { margin-bottom: 12px; color: var(--e2e-soft); }
.e2e-admin-dt .dataTables_wrapper .dataTables_length select,
.e2e-admin-dt .dataTables_wrapper .dataTables_filter input {
  min-height: 34px;
  font-size: 13px;
  background-color: #fff;
  border: 1px solid var(--e2e-line);
  border-radius: 8px;
}
.e2e-admin-dt .dataTables_wrapper .dataTables_filter input { width: 260px; padding: 4px 10px; }
.e2e-admin-dt .dataTables_wrapper .dataTables_filter input:focus {
  border-color: var(--e2e-blue);
  box-shadow: 0 0 0 3px rgba(3, 94, 177, .15);
  outline: 0;
}
.e2e-admin-dt .dataTables_wrapper table.dataTable {
  box-sizing: border-box;
  width: 100% !important;
  border-bottom: 1px solid var(--e2e-line);
}
.e2e-admin-dt table.dataTable thead th { border-bottom: 1px solid var(--e2e-line); }
.e2e-admin-dt table.dataTable thead th:empty { background-image: none; }
.e2e-admin-dt table.dataTable thead .sorting_asc,
.e2e-admin-dt table.dataTable thead .sorting_desc { color: var(--e2e-ink); }
.e2e-admin-dt .dataTables_wrapper .dataTables_info { padding-top: 12px; color: var(--e2e-muted); }
.e2e-admin-dt .dataTables_wrapper .dataTables_paginate { padding-top: 8px; }
.e2e-admin-dt .dataTables_wrapper .dataTables_paginate .paginate_button,
.e2e-admin-dt .dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  padding: 4px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--e2e-muted) !important;
}
.e2e-admin-dt .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  border: 0;
  background: var(--e2e-blue-tint);
  color: var(--e2e-blue) !important;
  font-weight: 600;
}
