html {
	scroll-margin-bottom: 80px; 
	height: 100%;
}
body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: Futura, Verdana, Geneva, Tahoma, sans-serif;
	text-align: center;
	font-size: larger;
	overflow-x: hidden;
}

.add-to-home-screen-info {
	color: #FFF;
  background-color: #004D80;
	font-size: 12px;
	width: 100%;
	max-width: 400px;
	text-align: left;
}

.nav-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  color: #FFF;
  text-align: center;
  padding: 12px 0px 0px 0px;
  text-decoration: none;
  font-size: 16px;
	width: 25%;
	z-index: 10001;
	cursor: pointer;
  flex: 1 1 25%;
}

.nav-icon {
  font-size: 31px;
  line-height: 1;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar {
	color: #FFF;
  background-color: #004D80;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: min(100%, 400px);
	max-width: 400px;
	height: 84px;
  box-sizing: border-box;
  padding-bottom: env(safe-area-inset-bottom, 0);
	z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
}

a {
	text-decoration: none;
}

.trash-fees {
  margin-top: 57px;
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

.trash-standings {
  margin-top: 57px;
  padding: 8px 8px calc(104px + env(safe-area-inset-bottom, 0px)) 8px;
  text-align: left;
}

.trash-standings-section {
  margin-bottom: 14px;
}

.trash-standings-title {
  color: #004D80;
  font-weight: bold;
  font-size: large;
  padding: 6px 0;
}

.trash-standings-table {
  border-top: 1px solid #4e7590;
}

.trash-standings-table-row {
  border-bottom: 1px solid #4e7590;
  color: #004D80;
  padding: 8px 6px;
  font-size: 0.98rem;
  display: grid;
  gap: 8px;
  align-items: center;
  text-align: center;
}

.trash-standings-table-row > span:nth-child(2) {
  text-align: left;
}

.trash-standings-table-row:nth-child(1) {
  border-top: none;
}

.trash-standings-table-header {
  color: #7f7f87;
  font-weight: bold;
}

.trash-standings-section:first-child .trash-standings-table-row {
  grid-template-columns: 26px 1fr 46px 86px;
}

.trash-standings-section:last-child .trash-standings-table-row {
  grid-template-columns: 26px 1fr 30px 30px 30px 42px;
}

.standings-sort-btn {
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.trash-standings-empty {
  color: #7f7f87;
  padding: 12px 6px;
  border-bottom: 1px solid #4e7590;
}

.trash-fee-player-name {
  float: left;
}
.trash-fee-player-fee {
  float: right;
}

.trash-fee-player-row {
  border-top: 1px solid #4e7590;
  color: #004D80;
	padding: 10px 8px;
	font-size: large;
  height: 23px;
}

.trash-forward-header {
	border-top: 1px solid #4e7590;
	border-bottom: 1px solid #4e7590;
	background-color: #f8f7fa;
	color: #004D80;
	width: 33.33%;
	float: left;
  display: block;
	text-align: center;
	padding: 7px 0px 7px 0px;
}
.trash-forward {
	color: #004D80;
	width: 33.33%;
	float: left;
  display: block;
	text-align: center;
	padding: 7px 0px 7px 0px;
}

.trash-defence-header {
	border-top: 1px solid #4e7590;
	border-bottom: 1px solid #4e7590;
	background-color: #f8f7fa;
	color: #004D80;
	width: 50%;
	float: left;
  display: block;
	text-align: center;
	padding: 7px 0px 7px 0px;
}
.trash-defence {
	width: 50%;
	float: left;
  display: block;
	text-align: center;
	padding: 7px 0px 7px 0px;
	color: #004D80;

}
.trash-goalie-header {
	border-top: 1px solid #4e7590;
	border-bottom: 1px solid #4e7590;
	background-color: #f8f7fa;
	color: #004D80;
	width: 100%;
	float: left;
  display: block;
	text-align: center;
	padding: 7px 0px 7px 0px;
}
.trash-goalie {
	width: 100%;
	float: left;
  display: block;
	text-align: center;
	padding: 7px 0px 7px 0px;
	color: #004D80;
}

.trash-scoring-container {
  clear: both;
  margin-top: 8px;
  padding: 0 12px 8px 12px;
  text-align: left;
}

.trash-scoring-header {
  color: #004D80;
  font-weight: bold;
  border-top: 1px solid #4e7590;
  padding-top: 8px;
  margin-bottom: 6px;
}

.trash-penalties-header {
  color: #004D80;
  font-weight: bold;
  border-top: 1px solid #4e7590;
  padding-top: 8px;
  margin-bottom: 6px;
}

.trash-scoring-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #004D80;
  font-size: 0.98rem;
  padding: 2px 0;
}

.trash-scoring-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.trash-scoring-stats {
  white-space: nowrap;
  font-weight: bold;
}

.trash-container {
	text-align: center;
	max-width: 400px;
	margin: 0px auto 0px auto;
	min-height: 100dvh;
	-webkit-overflow-scrolling: touch 
}

.trash-games-container {
	text-align: left;
	padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

.trash-next-container {
  position: fixed;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: 400px;
  height: calc(100dvh - 80px);
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  background-color: #FFF;
  z-index: 900;
  transform: translate(-50%, 110%);
  transition: transform 320ms ease;
  pointer-events: none;
}

.trash-next-container.is-visible {
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.trash-game-carousel {
  display: flex;
  width: 300%;
  height: 100%;
  transform: translateX(-33.333333%);
}

.trash-game-content {
  position: relative;
  flex: 0 0 33.333333%;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background-color: #FFF;
}

.trash-game-content.is-empty {
  opacity: 0;
  pointer-events: none;
}

.trash-games {
	margin-top: 57px;
}

.trash-page-header {
	background-color: #FFF;
	overflow: hidden;
  position: fixed;
  top: 0;
  width: 100%;
	max-width: 400px;
	border-bottom: 1px solid #004D80;
}

.trash-page-header-text {
	color: #004D80;
	font-size: x-large;
	text-align: left;
	padding: 15px 8px 10px 8px;
}

.schedule-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.schedule-subscribe-link {
  color: #004D80;
  font-size: 0.95em;
  line-height: 1;
  padding: 2px;
}

.trash-settings {
	margin-top: 70px;
	text-align: left;
	padding: 15px 8px 10px 8px;
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
}

.trash-label {
	color: #004D80;
	padding-bottom:10px;
}

.trash-help {
	padding: 10px;
	color: #004D80;
	text-align: left;
	font-size: medium;
}

.trash-sync-button {
  border: 1px solid #004D80;
  background-color: #FFF;
  color: #004D80;
  border-radius: 6px;
  padding: 8px 12px;
  margin: 0 10px 10px 10px;
  font-size: medium;
  cursor: pointer;
}

.trash-sync-button:disabled {
  opacity: 0.6;
  cursor: default;
}

.trash-settings-link {
  display: block;
  text-align: center;
}

.trash-sync-status {
  min-height: 18px;
  margin: 0 10px 10px 10px;
  color: #004D80;
  font-size: 0.95rem;
}

.trash-sync-status.error {
  color: #9f2d2d;
}

.trash-version {
  margin: 10px 10px 0 10px;
  color: #7f93a4;
  font-size: 0.9rem;
}

.sat {
	background-color: #EEEEEE;
}

.bye {
	background-color: #DDDDDD;
}

.trash-game-row {
	border-top: 1px solid #4e7590;
	text-align: left;
	color: #004D80;
	padding: 10px 8px;
	font-size: large;
	cursor: pointer;
}

.past {
	color: #999;
}

.next {
	color: #FFF;
	background-color: #004D80;
}

.trash-date {
	color: #004D80;
	font-weight:bold;
	font-size:x-large;
	padding: 7px 0px 7px 0px;
}

.trash-teams {
	font-weight:bold;
	color: #004D80;
	padding: 5px 0px 5px 0px;
}

.trash-record {
	font-weight:bold;
	color: #004D80;
	padding: 5px 0px 5px 0px;
}


.trash-game-footer-container {
	border-top: 1px solid #4e7590;
	background-color: #f8f7fa;
	color: #004D80;
	margin-top: 20px;
	margin-bottom: 0;
}

.trash-game-footer {
	font-size:smaller;
	font-weight:light;
	padding-top: 10px;
	padding-bottom: 10px;
}

.trash-game-footer-action {
  display: inline-block;
  border: 1px solid #004D80;
  border-radius: 6px;
  color: #004D80;
  font-size: medium;
  font-weight: bold;
  padding: 8px 12px;
  margin-bottom: 10px;
  background-color: #fff;
}

.active {
	color: #FFF;
	background-color: #004D80;
}

.bold {
	font-weight:bold;
}

.trash-logo {
	text-align: center;
}

.trash-logo img {
  height: 210px;
  width: auto;
}

.result {
	float: right;
}
.win {
  color: green;
}
.loss {
  color: rgb(174, 80, 80);
}
.tie {
  color: #7f7f87;
}

select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  font-size: 1.15rem;
  padding: 0.675em 6em 0.675em 1em;
  background-color: #fff;
  border: 1px solid #004D80;
  border-radius: 0.25rem;
  color: #004D80;
  cursor: pointer;
}

.custom-select {
  position: relative;
}

.custom-select::before,
.custom-select::after {
  --size: 0.3rem;
  position: absolute;
  content: "";
  right: 1rem;
  pointer-events: none;
}

.custom-select::before {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-bottom: var(--size) solid black;
  top: 40%;
}

.custom-select::after {
  border-left: var(--size) solid transparent;
  border-right: var(--size) solid transparent;
  border-top: var(--size) solid black;
  top: 55%;
}
