﻿/* DARK MODE */

:root {
  --background-color: #EEEFEA;
  --nav-background-color: #969C61;
  --section-background-color: white;
  --table-main-color: white;
  --table-alternate-color: lightgrey;
  --table-tertiary-color: darkgrey;
  --table-border: 1px solid rgba(0, 0, 0, 1);
  --text: #050506;
  --text-soft: #A5A5A6;
  --h1: #886D47;
  --h1-border: 1px solid rgba(0, 0, 0, 0);
  --h2: #B47C45;
  --h2-border: 1px solid rgba(0, 0, 0, 0);
  --link: #886D47;
  --link-hover: #B47C45; 
  --header-shadow: 0 1px 5px #050506;
  --section-shadow: 0 1px 5px #886D47;
  --text-inverted: #EEEFEA;
  --game-border: 1px solid #EEEFEA;
  --game-hover-background-color: #DFCEBB;
  --news-border: 1px solid #EEEFEA;
  --news-hover-background-color: #DFCEBB;
  --standings-border: 1px solid #EEEFEA;
  --standings-row-hover-background-color: #DFCEBB;
  --tournament-series-spot-background-color: #EEEFEA;
  --tournament-series-spot-shadow: 0 1px 2px #886D47;
  --tournament-series-winner-outline: 2px solid black;
}

[data-theme="dark"] {
  --nav-background-color: black;
  --background-color: #050506;
  --section-background-color: #886D47;
  --table-main-color: #886D47;
  --table-alternate-color: #B47C45;
  --table-tertiary-color: #5E5F5A;
  --table-border: 1px solid #EEEFEA;
  --text: #EEEFEA;
  --text-soft: #5E5F5A;
  --h1: #969C61;
  --h1-border: 1px solid #EEEFEA;
  --h2-border: 1px solid #B47C45;
  --link: #DFCEBB;
  --link-hover: #EEEFEA;
  --header-shadow: 0 0 200px 80px #EEEFEA;
  --section-shadow: 0 0 0 1px #EEEFEA;
  --game-border: 1px solid #B47C45;
  --game-hover-background-color: #B47C45;
  --news-border: 1px dotted #DFCEBB;
  --news-hover-background-color: #B47C45;
  --standings-border: 1px solid #B47C45;
  --standings-row-hover-background-color: #B47C45;
  --tournament-series-spot-background-color: #969C61;
  --tournament-series-spot-shadow: none;
  --tournament-series-winner-outline: 2px solid #EEEFEA;
}

/* GLOBAL */

html {
  background-color: var(--background-color);
  color: var(--text);
}

[class*="fa-"] {
  color: var(--link);
  padding: 0 3px;
}

html, body, h1, h2, input, button, select, textarea {
  font-family: 'Asap', sans-serif;
  font-size: 16px;
}

.soft {
  color: var(--text-soft);
}

h1 {
  font-weight: 700;
  background-color: var(--h1);
  color: var(--text-inverted);
  border: var(--h1-border);
  padding: 15px 5px;
  margin: 0 0 10px 0;
}

h2 {
  font-family: 'Asap Condensed';
  font-weight: 700;
  background-color: var(--h2);
  color: var(--text-inverted);
  border: var(--h2-border);
  padding: 5px;
  margin: 0 0 3px 0;
}

.header-icon {
  color: var(--text-inverted);
}

p {
  margin: 0;
}

a:link, a:visited, a:hover, a:active {
  text-decoration: none;
}
a:link, a:visited, a:active {
  color: var(--link);
}
a:hover {
  color: var(--link-hover);
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

ul {
  margin: 0;
  padding-left: 12px;
}
li {
  list-style-type: '» ';
}

hr {
  height: 1px;
  border: none;
  border-top: 1px solid var(--text);
}

.green {
  color: rgb(72, 180, 0);
}

.red {
  color: rgb(214, 0, 0);
}

body {
  min-width: 1225px;
  margin: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.container {
  margin: 0 auto;
  width: 1225px;
  min-width: 1225px;
}

input[type="submit"], input[type="button"] {
  display: inline-block;
  height: 36px !important;
  background-image: linear-gradient(to bottom, #1DA7EE, #178EE9);
  border-radius: 3px;
  text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);
  box-shadow: 0 1px 0 rgba(0,0,0,0.2), inset 0 1px rgba(255,255,255,0.03);
  border: 1px solid #0073BB;
  color: white;
}

.no-border {
  border: 0 !important;
}

.bold-border {
  border-width: 3px !important;
}



/* HEADER */



header {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  background-color: var(--nav-background-color);
  box-shadow: var(--header-shadow);
  font-weight: 700;
}

header .container {
  height: 80px;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header ul {
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

header li {
  list-style: none;
}

.header-section {
  overflow: hidden;
}

.header-primary {
  padding-left: 10px;
  
}
.header-primary li {
  padding-right: 10px;
}

.header-teams, .header-teams .header-item, .header-teams .header-item .header-link {
  height: 100%;
}

.header-primary a, .header-login a {
  color: var(--text-inverted) !important;
}
.header-primary a:hover, .header-login a:hover {
  color: white !important;
}

.header-teams li {
  width: 28px;
}

.header-teams a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-transform: uppercase;
  font-family: 'Asap Condensed';
  font-size: 11px;
  text-align: center;
}

[id^="header-team-"] {
  transition: background-color 0.4s ease-out, padding-top 0.2s, color 0.3s ease-out;
  padding-top: 8px;
}

[id^="header-team-"]:hover {
  transition: background-color 0.4s ease-in, padding-top 0.2s, color 0.3s ease-in;
  padding-top: 0;
}

.header-login {
  padding-right: 10px;
}

.header-login li {
  padding-left: 10px;
}

.desktop-only {
  display: initial;
}
.mobile-only {
  display: none;
}

/* FOOTER */

footer {
  padding: 0 20px;
  text-align: center;
  margin-bottom: 20px;
}

.theme-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.theme-switch-wrapper em {
  margin-left: 10px;
  font-size: 1rem;
}

.theme-switch {
  display: inline-block;
  height: 28px;
  position: relative;
  width: 56px;
}

.theme-switch input {
  display:none;
}

.slider {
  background-color: #886D47;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
}

.slider:before {
  background-color: #EEEFEA;
  bottom: 3px;
  content: "";
  height: 22px;
  left: 3px;
  position: absolute;
  transition: .4s;
  width: 22px;
}

input:checked + .slider {
  background-color: #969C61;
}

input:checked + .slider:before {
  transform: translateX(28px);
}

.slider.round {
  border-radius: 28px;
}

.slider.round:before {
  border-radius: 50%;
}

.hidden-footer, .hidden-footer a {
  color: var(--background-color);
}

/* MAIN */

main {
  padding: 0 20px; 
}

.row {
  display: flex;
  justify-content: center;

  margin-bottom: 20px;
}

.section {
  background-color: var(--section-background-color);
  padding: 5px;
  box-shadow: var(--section-shadow);
}

.subsection {
  margin-bottom: 8px;
}

/* Shared */

.player-number {
  font-family: 'Righteous';
}

.link {
  cursor: pointer;
  user-select: none;
}

/* Index */

.home-left {
  flex: 1;
  margin-right: 8px;
}

.home-middle {
  flex: 2.5;
}

.home-right {
  flex: 1;
  margin-left: 8px;
}

.home-games {
  width: 100%;
}

.game {
  padding: 5px;
  border: var(--game-border);
  margin-bottom: 3px;
}

.game:hover {
  background-color: var(--game-hover-background-color);
}

.game .visitor, .game .home {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.game .team-logo {
  flex: 0 0 36px;
}

.team-logo img {
  vertical-align: middle;
}

.game .team, .game .score, .game .time, .game .location, .game .postponed {
  flex: 1;
}
.game .postponed p {
  font-size: 20px;
  position: relative;
  top: 14px;
}

.home .team-location::before {
  content: '@';
}

.game .team-name {
  text-transform: uppercase;
  font-size: 11px;
}

.home-games .score {
  font-size: 20px;
}
.home-games .score, .home-games .time, .home-games .location, .home-games .postponed {
  text-align: center;
}

.home-main-middle h1 {
  display: flex;
}

.home-main-middle h1 > a {
  margin-left: auto;
}

.home-add-news {
  cursor: pointer;
}

.home-news {
  border: var(--game-border);
  padding: 5px;
  margin-bottom: 8px;
}

.home-news-hidden {
  opacity: 0.5;
}

.home-news:hover {
  background-color: var(--news-hover-background-color);
}

.home-news-header {
  display: flex;
  align-items: center;
  height: 24px;
  line-height: 24px;
  width: 100%;
  margin-bottom: 3px;
}

.home-news-author {
  flex: 4;
  font-style: italic;
}
.home-news-author object {
  display: inline-block;
  font-style: normal;
  vertical-align: middle;
}

.home-news-date {
  flex: 2;
  align-self: flex-end;
  text-align: right;
  font-style: italic;
}

.home-news-title {
  flex: 5;
  font-weight: 700;
  text-decoration: underline;
}

.home-news-title img {
  height: 24px;
  vertical-align: middle;
  margin-right: 5px;
}

.home-news-post {
  padding-top: 4px;
  font-size: 15px;
  line-height: 125%;
}

.home-news-hidden-disclaimer {
  font-style: italic;
  margin-bottom: 16px;
  background-color: var(--nav-background-color);
  padding: 5px;
}

.home-news-post p {
  margin-bottom: 16px;
}

.home-news-post h1, .home-news-post h2, .home-news-post h3, .home-news-post h4, .home-news-post h5, .home-news-post h6 {
  font-size: 16px;
  font-weight: unset;
  font-family: unset;
  background-color: unset;
  color: unset;
  border: unset;
  margin: unset;
  padding: unset;
}

.home-news-post blockquote::before {
  content: '>';
  float: left;
  padding-right: 3px;
}
.home-news-post blockquote {
  margin-left: 0;
  color: var(--text-soft);
}

.home-news-post ol {
  margin-block-start: 0;
  margin-block-end: 0;
  padding-inline-start: 25px;
}
.home-news-post li {
  list-style-type:unset;
}

.home-right > div {
  margin-bottom: 20px;
}

.home-playoffs {
  display: block;
}
.home-playoffs a {
  animation: color-change 1s infinite;
}

.home-standings h1>a {
  color: var(--text-inverted);
}

.home-standings-table {
  width: 100%;
  border: var(--standings-border);
  overflow: hidden
}

.home-standings-table tr {
  vertical-align: middle;
  border: var(--standings-border);
}

.home-standings-table tr:hover {
  background-color: var(--standings-row-hover-background-color);
}

.home-standings-table th {
  background-color: #B47C45;
  color: #EEEFEA;
  font-family: 'Asap Condensed';
  padding: 5px 3px;
}

.home-standings-table th:first-child {
  text-align: left;
}

.home-standings-table td {
  padding: 3px;
}

.home-standings-table td:not(:first-child) {
  font-size: 12px;
  width: 8%;
  padding: 3px;
  text-align: center;
}

.home-standings-link {
  white-space: nowrap;
}
.home-standings-link object, .home-standings-link div {
  vertical-align: middle;
  display: inline-block;
}
.home-standings-link object {
  margin-right: 3px;
}

.home-low > div {
  padding-bottom: 20px;
}

.socials {
  font-size: 0;
}

.socials img {
  width: 24px;
  height: 24px;
  margin-right: 5px;
}


/* NEWS */


.news-edit-footer {
  display: flex;
  align-items: center;
  width: 100%;
}
.news-edit-submit {
  flex: 1;
}
.news-edit-checkboxes {
  display: flex;
}


/* OAuth */

.oauth-provider-link {
  display: flex;
  justify-content: flex-start;
  align-content: center;
  height: 28px;
  padding: 5px;
  border: var(--game-border);
  margin-bottom: 3px;
}

.oauth-provider-link:hover {
  background-color: var(--game-hover-background-color);
}

.oauth-provider-image img {
  height: 28px;
}

.oauth-provider-text {
  font-weight: 700;
  line-height: 28px;
  padding: 0 3px;
}

/* Login */

.login-error {
  width: 100%;
}

.login-error p {
  margin-bottom: 6px;
}

.login-providers {
  margin-right: 8px;
  min-width: 240px;
}

.login-privacy p {
  margin-bottom: 6px;
}

/* User */

.user-main {
  align-content: stretch;
}

.user-main .section {
  flex-grow: 1;
}

.user-role h2 {
  display: flex;
  line-height: 19px;
}

.user-role h2 > i {
  line-height: 19px;
  vertical-align: middle;
  cursor: text !important;
  margin-right: 3px;
}

.user-invitation {
  display: flex;
  justify-content: space-between;
  align-content: center;
  flex-wrap: nowrap;
  height: 28px;
  padding: 5px;
  border: var(--game-border);
  margin-bottom: 3px;
}

.user-invitation-link {
  display: flex;
  flex: 4;
}

.user-invitation-link div {
  line-height: 28px;
}

.user-invitation-link-name {
  padding-left: 3px;
}

.user-invitation-roles {
  line-height: 28px;
  flex: 1;
  text-align: right;
}

.user-logins {
  margin: 0 8px;
}

.user-login {
  display: flex;
  justify-content: flex-start;
  align-content: center;
  height: 28px;
  padding: 5px;
  border: var(--game-border);
  margin-bottom: 3px;
}

.user-login-source img {
  height: 28px;
}

.user-login-details {
  line-height: 28px;
  padding: 0 3px;
}

.user-login-update {
  margin-left: auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.user-login-update a {
  margin-left: 6px;
}

.user-logout ul {
  padding: 5px 0px 5px 12px;
}



/* TEAM */



.team-header {
  width: 100%;
  height: 160px;
  padding: 0;
  display: flex;
}

.team-header-logo {
  height: 160px;
  max-height: 160px;
  width: 225px;
  max-width: 225px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-header-main {
  padding: 5px 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: nowrap;
}

.team-header-location {
  font-size: 36px;
  font-weight: 700;
}

.team-header-details {
  font-size: 36px;
  font-weight: 700;
  /*-webkit-text-stroke: 1px white;*/
}

.team-header-record {
  padding-left: 15px;
  font-size: 24px;
  font-weight: 700;
}

.team-header-manager {
  padding-top: 20px;
}

.team-main {
  display: flex;
}

.team-main .section {
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: 50%;
}

.team-schedule {
  margin-right: 8px;
  display: flex;
  flex-direction: column;
}

.team-schedule .subsection {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

.schedule {
  width: 100%;
}
.schedule table {
  border: var(--h1-border);
  width: 100%;
}
.schedule th {
  text-align: left;
  background-color: var(--h1);
  color: var(--text-inverted);
}
.schedule th, .schedule td {
  padding: 4px;
}

.schedule tr:nth-child(odd) {
  background-color: var(--table-alternate-color);
}

.schedule-result {
  vertical-align: middle;
  text-align: center;
}

.team-roster h1, .team-roster h2 {
  display: flex;
}
.team-roster h1 > a, .team-roster h2 > a {
  margin-left: auto;
}

.team-roster-list {
  padding-left: 0;
  margin-bottom: 10px;
}

.team-roster-invitation {
  display: flex;
  flex-wrap: nowrap;
  height: 28px;
  padding: 0 5px;
}

.team-roster-invitation > div {
  line-height: 28px;
}

.team-roster-invitation i {
  margin-left: 6px;
}

.team-roster-invitation .player-number {
  flex-basis: 25px;
}

.team-roster-invitation .player-name {
  flex-grow: 1;
}

.team-roster-invitation .player-links {
  flex-grow: 0;
  display: flex;
}

.team-roster-invitation .player-links a {
  margin: 0 3px;
}

.team-roster-invitation .player-links svg:hover {
  color: var(--link-hover);
}

.team-roster-invitation .invitation-status {
  display: flex;
  flex-grow: 0;
  margin-left: auto;
}

.team-stats, .team-stats .section {
  width: 100%;
}

.team-edit, .team-edit .section {
  width: 100%;
}

.team-edit h1 {
  width: 100%;
}

.team-edit .subsection {
  flex-grow: 1;
}

.team-edit-basic {
  padding-right: 5px;
}

.team-edit .section-row {
  display: flex;
}

.team-edit .form-field {
  margin-right: 8px;
}

.team-edit label {
  display: block;
}

#team-edit-form input[type="text"] {
  height: 24px;
  width: 120px;
  border-radius: 3px;
  padding: 5px;
  border: 1px solid #D0D0D0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
}
#team-edit-form input:focus {
  outline: none;
}

#team-edit-form button {
  display: block;
  height: 36px !important;
  width: 80px;
  background-image: linear-gradient(to bottom, #1DA7EE, #178EE9);
  border-radius: 3px;
  text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);
  box-shadow: 0 1px 0 rgba(0,0,0,0.2), inset 0 1px rgba(255,255,255,0.03);
  border: 1px solid #0073BB;
  color: white;
}
#team-edit-form button:active {
  background-image: linear-gradient(to bottom, #008FD8, #0075CF);
}

.team-edit .submit-row, .team-edit #error-text {
  flex-direction: row-reverse;
}

.team-edit #error-text {
  flex-direction: row-reverse;
  text-align: right;
  text-decoration: underline;
  text-decoration-color: red;
}

/* INVITATION */


.invitation-form input[type="text"] {
  box-sizing: border-box;
  width: 100%;
}

.invitation-form label, .invitation-form input, .invitation-form select {
  display: block;
}

.invitation-form input, .invitation-form select {
  border-radius: 3px;
  padding: 5px;
  border: 1px solid #D0D0D0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
}

.invitation-form input:focus {
  outline: none;
}

.invitation-form .team-selector {
  display: flex;
}

[id^="team-selector-"] {
  padding-right: 3px;
}

.team-selected object {
  display: block;
  width: 28px;
  box-shadow: 0 0 2pt 1pt var(--h1);
  border-radius: 3px;
}
.team-disabled {
  opacity: 0.33;
}
.team-selected {
  opacity: 1 !important;
}

.invitation .section-row {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 8px;
}

.invitation-form-player {
  margin-right: 8px;
  flex-grow: 3;
}

.invitation-form-player-name > div {
  flex-grow: 1;
}

.invitation-form-player-name > div:nth-child(1) {
  margin-right: 5px;
}

.invitation-form-user {
  flex-grow: 2;
}
.invitation-form-user .section-row > div {
  width: 100%;
}

.number-selector {
  display: flex;
  flex-wrap: wrap;
  max-width: 310px;
  margin-right: 8px;
}

[id^="number-selector"] {
  font-size: 20px;
  margin-bottom: 5px;
}

[id^="number-selector"] svg {
  float: left;
  z-index: -1;
  color: var(--h1);
}

.number-selected svg {
  color: blue;
}

.number-taken .number {
  cursor: not-allowed !important;
}
.number-taken {
  opacity: 0.33;
}

.number-selector .number {
  float: left;
  position: absolute;
  margin-top: 4px;
  width: 31px;
  text-align: center;
  font-size: 10px;
  font-family: 'Righteous';
  color: var(--text-inverted);
  cursor: pointer;
  user-select: none;
}

.invitation-form-user .selectize-dropdown .selectize-dropdown-content .create {
  display: none;
}

.invitation-roles label, .invitation-roles input {
  line-height: 24px;
}
.invitation-roles label {
  display: inline-block;
  padding-left: 3px;
}
.invitation-roles input {
  display: unset;
  width: 13px;
  height: 13px !important;
  padding: 0;
  margin: 0;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.invitation-form button {
  display: block;
  height: 36px !important;
  width: 80px;
  background-image: linear-gradient(to bottom, #1DA7EE, #178EE9);
  border-radius: 3px;
  text-shadow: 0 1px 0 rgba(0, 51, 83, 0.3);
  box-shadow: 0 1px 0 rgba(0,0,0,0.2), inset 0 1px rgba(255,255,255,0.03);
  border: 1px solid #0073BB;
  color: white;
}

.invitation-form button:active {
  background-image: linear-gradient(to bottom, #008FD8, #0075CF);
}

.invitation-form #error-text {
  text-decoration: underline;
  text-decoration-color: red;
}



/* LEAGUE STANDINGS */


.standings-section {
  width: 100%;
}
.standings {
  width: 100%;
  border: var(--standings-border);
  overflow: hidden;
}

.standings tr {
  vertical-align: middle;
  border: var(--standings-border);
}

.standings tr:hover {
  background-color: var(--standings-row-hover-background-color);
}

.standings th {
  background-color: #B47C45;
  color: #EEEFEA;

  padding: 6px 3px;
}

.standings th:first-child {
  text-align: left;
}

.standings td {
  padding: 6px 3px;
}

.standings td:not(:first-child) {
  width: 6.5%;
  padding: 3px;
  text-align: center;
}

.standings-link {
  white-space: nowrap;
}
.standings-link object, .standings-link div {
  vertical-align: middle;
  display: inline-block;
}
.standings-link object {
  margin-right: 3px;
}



/* LEAGUE SCHEDULE */


.schedule-section {
  width: 100%;
}

.league-schedule {
  border: var(--standings-border);
  width: 100%;
}
.league-schedule th {
  text-align: left;
  background-color: var(--h1) !important;
  color: var(--text-inverted);
}
.league-schedule th, .league-schedule td {
  padding: 4px;
  font-size: 14px;
}

.league-schedule th:not(:first-child), .league-schedule td:not(:first-child) {
  text-align: center;
}

.league-schedule td:nth-child(2n-1), .league-schedule th:nth-child(2n-1):not([colspan]) {
  border-right: var(--standings-border);
}
.league-schedule th:nth-child(n-1)[colspan] {
  border-right: var(--standings-border);
}

.league-schedule tr:nth-child(even) {
  background-color: var(--table-main-color);
}
.league-schedule tr:nth-child(odd) {
  background-color: var(--table-alternate-color);
}
.league-schedule .weekend td {
  background-color: var(--table-tertiary-color);
}

.league-schedule-game {
  background-color: var(--nav-background-color) !important;
}
.league-schedule-game a {
  font-weight: bold;
  color: var(--text-inverted) !important;
}



/* GAME */


.game-row {
  box-shadow: var(--section-shadow);
  background-color: var(--section-background-color);
  display: flex;
  flex-direction: column;
  padding: 10px 0 10px 0;
}
.inner-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.inner-row > .section {
  box-shadow: none;
  background-color: unset;
}

.game-edit-link {
  padding-bottom: 5px;
}
.game-edit-link a {
  animation: color-change 1s infinite;
}
@keyframes color-change {
  0% { text-shadow: none; }
  50% { text-shadow: 1px 1px 1px var(--link-hover); }
  100% { text-shadow: none; }
}

.game-matchup {
  font-size: 24px;
  padding-bottom: 5px;
}
.game-time, .game-location {
  font-size: 16px;
  padding-bottom: 2px;
}

.game-upcoming {
  width: 100%;
  text-align: center;
  padding: 20px 0 20px 0;
}

.game-team {
  width: 20%;
  text-align: center;
}
.game-header {
  width: 60%;
  text-align: center;
}


.game-row select, .game-row input[type="text"] {
  height: 24px;
  border: 1px solid #D0D0D0;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 10%);
  border-radius: 3px;
  background-color: white;
}

.game-row input[id^="score"] {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  text-align: center;
  vertical-align: middle;
  font-size: 36px;
  border: 1px solid #D0D0D0;
  box-shadow: inset 0 1px 1px rgb(0 0 0 / 10%);
}

.game-stats {
  flex-grow: 1;
}
.game-stats .center {
  display: inline-block;
  width: 100%;
  text-align: center;
}
.game-stats table {
  width: 100%;
  text-align: left;
  border: var(--table-border);
}

.game-stats th, .game-stats td {
  padding: 1px 3px;
}



/* PLAYOFFS/TOURNAMENTS */


.playoff-section {
  width: 100%;
}

.tournament {
  max-width: 100%;
  overflow-x: auto;
}

.tournament-bracket {
  display: flex;
  flex-direction: column;
}

.tournament-bracket-name {
  font-family: 'Asap Condensed';
  font-weight: 700;
  background-color: var(--h2);
  color: var(--text-inverted);
  border: var(--h2-border);
  padding: 5px;
}

.tournament-bracket-rounds {
  display: flex;
  flex-direction: row;
  padding: 10px;
}

.tournament-round {
  display: flex;
  flex-direction: column;
}
.tournament-round:not(:first-child)
{
  margin-left: 24px;
}

.tournament-round-name {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

.tournament-series {
  height: 84px;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.round-1 .tournament-series {
  padding: 8px 0;
}
.round-2 .tournament-series {
  padding: 58px 0;
}
.round-3 .tournament-series {
  padding: 158px 0; /* TO TEST */
}

.tournament-series-number {
  font-size: 12px;
  font-weight: 700;
  padding: 0 3px;
}

.tournament-series-matchup {
  padding: 0 5px;
  height: 84px;
}

.tournament-series-team {
  background: var(--tournament-series-spot-background-color);
  color: var(--text);
  box-shadow: var(--tournament-series-spot-shadow);

  padding: 2px 3px;
  margin: 5px 0;

  display: flex;
  line-height: 28px;
  align-content: center;
  width: 150px;
}
.tournament-series-matchup a {
  display: flex;
  line-height: 28px;
}
.tournament-series-matchup img {
  margin-right: 3px;
}
.tournament sup {
  font-size: 11px;
  vertical-align: baseline;
  position: relative;
  top: -20%;
}
.tournament-series-winner {
  outline: var(--tournament-series-winner-outline);
}
.tournament-series-team-name {
  display: inline-block;
  height: 28px;
  line-height: 28px;
}

.tournament-items-series {
  border-top: var(--standings-border);
  border-top-width: 4px;
  padding: 20px 0;
}

.tournament-items-series h2 {
  background: unset;
  color: var(--text);
  border: none;
  font-size: 24px;
  padding: 3px;
}

.tournament-items-series h3 {
  padding: 3px;
  margin: 0;
  margin-bottom: 3px;
}

.tournament-items-game {
  display: flex;
  flex-direction: row;
  padding: 3px;
  align-items: center;
}

.tournament-items-game-number {
  flex: 0.5 0;
}
.tournament-items-game-team {
  flex: 0.6 0;
}
.tournament-items-game-team a {
  display: flex;
  align-items: center;
  color: var(--text);
}
.tournament-items-game-team img {
  padding-right: 5px;
}
.tournament-items-game-winner {
  font-weight: 700;
}
.tournament-items-game-location {
  flex: 0.6 0;
}
.tournament-items-game-lead {
  flex: 0.7 0;
}


/* LOCATIONS */


.location-row .section {
  width: 100%;
}
.location-row .subsection {
  flex-basis: 50%;
}

.location-map {
  height: 25vw;
  width: 100%;
}

.location-row .inner-row {
  justify-content: start;
}

.location-games {
  align-self: baseline;
}

.location-details-right {
  margin-left: 5px;
}
.location-details-left {
  margin-right: 5px;
}

.location-diamond-subtitle {
  text-decoration: underline;
}



/* PLAYER */

.player-row {
  display: flex;
}
.player-info {
  width: 200px;
}
.player-info h1 {
  max-height: 18px;
}
.player-photo {
  vertical-align: middle;
  max-width: 200px;
  padding-bottom: 18px;
}
.player-team {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
  align-items: center;
}
.player-team-logo {
  height: 28px;
  width: 28px;
  margin-right: 3px;
}
.player-socials {
  line-height: 18px;
  max-height: 18px;
  display: flex;
  align-items: center;
  float: right;
}
.player-socials a {
  display: flex;
  margin: 0;
  padding: 0;
}
.player-socials img {
  height: 18px;
  padding-left: 5px;
  vertical-align: middle;
}

.player-stats-section {
  margin-left: 10px;
  flex-grow: 1;
}

.executive-section {
  width: 100%;
  padding-bottom: 20px;
}

.executive-season li {
  padding: 4px;
}
.executive-league p {
  padding: 4px;
}



/* LEAGUE ADMIN */


.season-progress {
  display: flex;
}
.season-progress > div {
  display: inline-flex;
  white-space: nowrap;
}

.season-progress-bar {
  border: var(--h1-border); 
  width: 100%;
}
.season-progress-bar > div {
  text-align: center;
}


/* GAME EDIT 2 */

.game-edit-details-row {
  justify-content: left;
}

.game-edit-details-section {
  margin-right: 8px;
}

.game-edit-details-section h2 {
  display: flex;
}

.game-edit-details-section h2 > div {
  margin-right: auto;
}

.game-edit-details-section .game-season {
  padding: 2px 0;
  margin-bottom: 8px;
}

.game-edit-matchup > select, .game-edit-time-and-place > select, .game-edit-time-and-place > input[type="text"] {
  width: 180px;
  height: 24px;
  border-width: 0px;
  padding: 0 2px;
  margin: 2px 0;
  box-sizing: content-box;
}

.game-edit-details-section select:disabled, .game-edit-details-section input[type="text"]:disabled {
  opacity: 1;
  background-color: var(--table-alternate-color);
  color: var(--table-tertiary-color);
}

.linescore-section input[type="number"] {
  width: 40px;
  height: 30px;
  text-align: center;
  outline: none;
  border: 0;
  padding: 0;
  background-color: var(--section-background-color);
  color: var(--text);
}

.linescore-section th {
  height: 30px;
}
.linescore-section th:first-child, .linescore-section td:first-child {
  padding: 3px 6px;
  text-align: left;
  vertical-align: middle;
}

.linescore-section a {
  display: flex;
  align-items: center;
}
.linescore-section a img {
  margin-right: 5px;
}

.boxscore-section {
  width: 100%;
}

.boxscore-section > .inner-row {
  justify-content: flex-start;
}

.game-edit-tab {
  padding: 10px;
  box-sizing: border-box;
  font-family: 'Asap Condensed';
}

.tab-active {
  background-color: var(--h2);
}

.tab-active a, .tab-active a:hover {
  color: var(--text-inverted);
}

.game-edit-boxscore {
  flex-direction: column;
  align-items: flex-start !important;
}

.linescore-section input[type="number"]:active, .linescore-section input[type="number"]:focus {
  outline: none;
  border: 2px var(--h2) solid;
  box-sizing: border-box;
}

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
input[type=number] {
    -moz-appearance:textfield; /* Firefox */
}


/* RECYCLE BIN */

.recycle-bin-news .section {

  min-width: 643px;
  max-width: 643px;
}