@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

html,
body
{
	height: 100%;
}

html>*,
html,
body,
div
{
	overscroll-behavior: none;
	overscroll-behavior-y: none;
	overscroll-behavior-x: none;
	font-family: 'Inter', Open Sans, Arial, Helvetica, sans-serif;
}

.hidden
{
	display: none;
}

#TnSB_div
{
	position: absolute;
	z-index: 0;
	left: 2px;
	top: 22px;
}

body
{
	/* created custom background gradient with dot overlay */
	/* background-image: url(../../resources/dots.png), linear-gradient(1deg, rgba(16, 19, 53, 1) 0%, rgb(7 7 97) 48%, rgba(16, 19, 53, 1) 100%); */
	/*-------------------------------------------*/
	overflow: hidden;
	margin: 0;
	/* background-repeat: no-repeat;
	background-attachment: fixed;

	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important; */
	background-color: #061325;
}

body.loading #fullpage { opacity: 0; pointer-events: none; }
body.ready   #fullpage { opacity: 1; transition: opacity 350ms ease; }

body.loading #loading_container { opacity: 1; }
body.ready   #loading_container { opacity: 0; transition: opacity 350ms ease; }

body.ready #hamheader { opacity: 1; transition: opacity 200ms ease; }
body.loading #hamheader { opacity: 0; }

.background-animation {
    background: linear-gradient(43deg, #17113e, #0c1450, #04092f);
    background-size: 600% 600%;
	will-change: background-position, opacity;
	transform: translateZ(0);
	backface-visibility: hidden;

    -webkit-animation: AnimationName 8s ease infinite;
    animation: AnimationName 8s ease infinite;
}

@-webkit-keyframes AnimationName {
    0%{background-position:0% 40%}
    50%{background-position:100% 61%}
    100%{background-position:0% 40%}
}
@keyframes AnimationName {
    0%{background-position:0% 40%}
    50%{background-position:100% 61%}
    100%{background-position:0% 40%}
}

.head1
{
	border-right: 0px !important;
	/* box-shadow: inset 8px 0 11px -8px rgb(0 0 0 / 75%) !important; */
}

.head1x
{
	border-left: 0px !important;
}

.head1,
.head1x
{
	font-style: normal;
	position: -webkit-sticky;
	position: sticky;
	left: 0px;
	width: 100%;
	white-space: nowrap;
	text-overflow: visible;
	text-align: left;
	background: var(--utility-blue-color) !important;
	color: var(--primary-font-color);
	border: thin solid yellow;
	z-index: 5;
	border-top: var(--alt-table-border-color) !important;
	border-bottom: var(--alt-table-border-color) !important;
	border-left: 0 !important;
}

.head2
{
	position: absolute;
	left: 0px;
	width: 100%;
	z-index: 1;
	white-space: nowrap;
	text-overflow: visible;
	text-align: left;
}

.head3,
.head3x
{
	background: var(--utility-blue-color) !important;
	color: var(--primary-font-color) !important;
	border: 0 !important;
	border-bottom: 0.1px solid #7c809c !important;
	z-index: 1 !important;
}

.head33
{
	left: 0px;
	width: 100%;
	z-index: 1;
	white-space: nowrap;
	text-overflow: visible;
	text-align: left;
	margin-left: 2.5em;
	padding: 0px !important;
}

.time
{
	vertical-align: top;
	width: var(--timeWidth);
	text-align: center;
	left: var(--timeLeft) !important;
	z-index: 3;
}

.timechange
{
	width: var(--timeWidth);
	min-width: var(--timeWidth);
	max-width: var(--timeWidth);
	text-align: center;
	color: red;
	left: var(--timeLeft) !important;
	z-index: 3;
}

.timechange-started
{
	width: var(--timeWidth);
	min-width: var(--timeWidth);
	max-width: var(--timeWidth);
	text-align: center;
	color: yellow;
	left: var(--timeLeft) !important;
	z-index: 3;
}

.timechange-final
{
	width: var(--timeWidth);
	min-width: var(--timeWidth);
	max-width: var(--timeWidth);
	text-align: center;
	color: yellow;
	left: var(--timeLeft) !important;
	z-index: 3;
}

.gnum
{
	vertical-align: top;
	width: var(--gnumWidth);
	min-width: var(--timeWidth);
	max-width: var(--timeWidth);
	text-align: center;
	position: -webkit-sticky;
	position: sticky;
	z-index: 3;
	background: inherit;
	left: var(--gnumLeft) !important;
}

.team
{
	vertical-align: top;
	width: var(--teamWidth);
	min-width: var(--teamWidth);
	max-width: var(--teamWidth);
	text-align: left;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	position: -webkit-sticky;
	position: sticky;
	z-index: 3;
	background: inherit;
	left: var(--teamLeft) !important;
	vertical-align: middle;
}

.team-circled
{
	vertical-align: top;
	width: var(--teamWidth);
	min-width: var(--teamWidth);
	max-width: var(--teamWidth);
	text-align: left;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	color: red;
	position: -webkit-sticky;
	position: sticky;
	z-index: 3;
	background: inherit;
	left: var(--teamLeft) !important;
}

.team-circled-started
{
	vertical-align: top;
	width: var(--teamWidth);
	min-width: var(--teamWidth);
	max-width: var(--teamWidth);
	text-align: left;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	color: yellow;
	position: -webkit-sticky;
	position: sticky;
	z-index: 3;
	background: inherit;
	left: var(--teamLeft) !important;
}

.team-circled-final
{
	vertical-align: top;
	width: var(--teamWidth);
	min-width: var(--teamWidth);
	max-width: var(--teamWidth);
	text-align: left;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	color: yellow;
	position: -webkit-sticky;
	position: sticky;
	z-index: 3;
	background: inherit;
	left: var(--teamLeft) !important;
}

.score
{
	width: var(--scoreWidth);
	min-width: var(--scoreWidth);
	max-width: var(--scoreWidth);
	text-align: left;
	position: -webkit-sticky;
	z-index: 3;
	background: inherit;
	position: -webkit-sticky;
	position: sticky;
	background: inherit;
	left: var(--scoreLeft) !important;
	padding-bottom: 0px !important;
	padding-top: 0px !important;
}

.separator
{
	width: var(--separatorWidth);
	text-align: left;
	position: -webkit-sticky;
	padding: 0.1px !important;
	position: sticky !important;
	background: var(--table-border-color) !important;
	box-shadow: 1px 1px 1px rgb(0 0 0 / 3%), 2px 2px 2px rgb(0 0 0 / 9%), 4px 4px 4px rgb(0 0 0 / 13%), 7px 8px 8px rgb(0 0 0 / 18%), 12px 26px 26px rgb(0 0 0 / 24%);
	left: var(--separatorLeft) !important;
}

.about_to_start
{
	color: black !important;
    background: #fbfb41 !important;
}

.time-change
{
	background: red;
	color: white;
	border-radius: 3px;
}

tr[id^="g"][id$="i"],
tr[id^="g"][id$="i"] * {
    pointer-events: none !important;
    border: 0 !important;
}

.halftime
{
	color: black !important;
	background: orange !important;
}

.game-started
{
	/* width: var(--scoreWidth); */
	/* text-align: center; */
	background: #2aa02a !important;
	color: white !important;
	/* border: 0.1px solid #ffffff4d !important; */
}

.game-final
{
	/* width: var(--scoreWidth); */
	/* text-align: center; */
	background: #bd3636 !important;
	color: white !important;
	/* border: 0.1px solid #a0a0a0a1 !important */
}
.circled-game-started
{
	width: var(--scoreWidth);
	text-align: left;
	background: #2aa02a !important;
	color: red !important;
	border: 0.1px solid #ffffff4d !important;
}

.circled-game-final
{
	width: var(--scoreWidth);
	text-align: left;
	background: #bd3636 !important;
	color: yellow !important;
	border: 0.1px solid #a0a0a0a1 !important
}

.center-game-started
{
	width: var(--scoreWidth);
	text-align: center;
	background: #2aa02a !important;
	color: white !important;
	border: 0.1px solid #ffffff4d !important;
}

.center-game-final
{
	width: var(--scoreWidth);
	text-align: center;
	background: #bd3636 !important;
	color: white !important;
	border: 0.1px solid #a0a0a0a1 !important
}

.book
{
	vertical-align: top;
	width: var(--bookWidth);
	min-width: var(--bookWidth);
	max-width: calc(var(--bookWidth)*2);
	text-align: right;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	z-index: 1;
	/* position: relative; */
}

.book>div
{
	padding-right: 5px;
}


.book>div:first-child
{
	border-radius: 3px 3px 0 0;
	transition: background-color 200ms ease !important;
}

.book>div:nth-child(2)
{
	border-radius: 0 0 3px 3px;
	transition: background-color 200ms ease !important;
}

#schedule tbody tr.reg,
#schedule tbody tr.alt
{
	content-visibility: auto;
	contain-intrinsic-size: 1px 50px;
}

.book:hover
{
	cursor: pointer;
}

.book_header
{
	width: var(--bookWidth);
	text-align: center;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	z-index: 2;
	position: -webkit-sticky;
	position: sticky;
	font-weight: 400 !important;
}

.reg
{
	background: var(--primary-bg-color);
	color: var(--alt-font-color);
}

.alt
{
	background: var(--secondary-bg-color);
	color: var(--alt-font-color);
}

.reg td.book:hover,
.alt td.book:hover
{
	box-shadow: none;
}

.reg td.book:hover,
.alt td.book:hover
{
	outline: 1px solid #27569e;
	outline-offset: -1px;
}

.ln
{
	white-space: nowrap;
	text-overflow: ellipsis;
}

#table_scroll
{
	z-index: 2;
	display: none;
	text-align: left;
	border-collapse: collapse;
	border-spacing: 0px;
	padding: 0px;
	margin: 0px;
	transition: opacity 0.2s;
  	opacity: 1;
}

#table_scroll.fading-out {
  opacity: 0;
}
#table_scroll.fading-in {
  opacity: 1; /* if you want an extra fade-in effect */
}

#schedule
{
	font-size: 0.85rem;
	font-style: 500;
	table-layout: fixed;
	width: 400px;
	min-width: 400px;
	margin: 0px;
	border-collapse: separate;
	border-spacing: 0px;
	/* border:             thin solid black; */
	margin-top: -1px;
}

#table_scroll th,
#table_scroll td
{
	border-top: 0px;
	border-right: 0px;
	font-weight: var(--font-weight);
	padding-bottom: 1px;
	border: var(--table-border-color);
	padding: 2px;
}

#bookcol
{
	border-left: 0 !important;
}

[data-theme="light"] #table_scroll #headerOfTable th,
[data-theme="light"] #table_scroll #footerOfTable th
{
	background: var(--wagertalk-orange-dark-color) !important;
}

[data-theme="light"] .head1,
[data-theme="light"] .head1x,
[data-theme="light"] .head3,
[data-theme="light"] .head3x
{
	background: var(--wagertalk-header-color) !important;
}

[data-theme="dark"] #table_scroll #headerOfTable th,
[data-theme="dark"] #table_scroll #footerOfTable th
{
	background: var(--secondary-bg-color) !important;
}

.tnTD1

/* the team abbr part */
{
	width: 35px;
	text-align: left;
	border: 0px;
	padding-left: 0px;
	padding-right: 0px;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
}

.tnTD0

/* in-between the team and pitcher */
{
	width: 10px;
	border: 0px;
	padding-left: 0px;
	padding-right: 0px;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
}

.tnTD2

/* the pitcher part */
{
	/*    width:              80%; */
	flex-grow: 1;
	min-width: 0;
	text-align: left;
	border: 0px;
	padding-left: 0px;
	padding-right: 0px;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
}

.tnTD3

/* the -L part */
{
	width: 15px;
	text-align: right;
	border: 0px;
	padding-left: 0px;
	padding-right: 0px;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
}

.scTD0

/* in-between the score and status */
{
	width: 5%;
	border: 0px;
	padding-left: 0px;
	padding-right: 0px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	display: inline-block;
}

.scTD1

/* the score part */
{
	width: 35%;
	text-align: center;
	border: 0px;
	padding-left: 0px;
	padding-right: 0px;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
}

.scTD1>div:first-child,
.scTD2>div:first-child
{
	border-radius: 3px 3px 0 0;
	transition: background-color 200ms ease !important;
}

.scTD1>div:nth-child(2),
.scTD2>div:nth-child(2)
{
	border-radius: 0 0 3px 3px;
	transition: background-color 200ms ease !important;
}

.scTD2

/* the status part */
{
	width: 60%;
	text-align: center;
	border: 0px;
	padding-left: 0px;
	padding-right: 0px;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
}

.scTD3

/* no score, just status */
{
	width: 100%;
	text-align: center;
	border: 0px;
	padding-left: 0px;
	padding-right: 0px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	display: inline-block;
}

#schedule th:nth-child(1),
#schedule th:nth-child(2),
#schedule th:nth-child(3),
#schedule th:nth-child(4)
{
	position: -webkit-sticky;
	position: sticky;
	z-index: 3;
	background: inherit;
}

#schedule th:nth-child(1)
{
	left: 0px;
	/* box-shadow: inset 7px 0 10px -8px rgb(0 0 0 / 79%) !important; */
	border-left: 1px solid #717171 !important;
}

#schedule th:nth-child(3)
{
	left: var(--teamLeft);
	padding-left: 5px !important;
}

#schedule tr:first-child th:nth-child(4)
{
	left: var(--scoreLeft);
	padding-left: 5px !important;
}

#schedule thead th
{
	position: -webkit-sticky;
	position: sticky;
	background: var(--bgColorThead);
	color: var(--primary-font-color);
	top: 0px;
	z-index: 2;
}

#schedule th:not(.score)>div:first-child,
#schedule td>div:first-child,
#schedule .score>div>div:first-child
{
	padding-top: 0.25em;
	padding-bottom: 0.25em;
}

#schedule th:not(.score)>div:nth-child(2),
#schedule td>div:nth-child(2),
#schedule .score>div>div:nth-child(2)
{
	padding-top: 0.25em;
	padding-bottom: 0.15em;
}

#schedule th.score>.tennis_score_main:first-child
{
	padding-top: 0 !important;
	padding-bottom: 0.25em !important;
}

#schedule th.score>.tennis_score_main:nth-child(2)
{
	padding-top: 0.25em !important;
	padding-bottom: 0 !important;
}

#schedule th.score>.tennis_score_main>div
{
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

#schedule tfoot,
#schedule tfoot th
{
	background: var(--bgColor);
	color: var(--primary-font-color);
}

#schedule thead th:nth-child(1),
#schedule thead th:nth-child(2),
#schedule thead th:nth-child(3),
#schedule thead th:nth-child(4),
#schedule thead th:nth-child(5)
{
	background: var(--bgColorThead);
	z-index: 5 !important;
	font-weight: 400;
}

#schedule thead th:nth-child(5)
{
	background: var(--alt-bg-color);
}

.dark-mode
{
	background-color: white;
	color: black;
	z-index: 100;
	position: absolute;
	font-size: 0.75rem;
	font-weight: bold;
	top: 5px;
	left: 300px;
	cursor: pointer;
}

#table_scroll a
{
	color: var(--primary-font-color);
}

.headTD1,
.headTD0,
.headTD2
{
	display: inline;
	overscroll-behavior: auto;
}

.headTD1

/* the dash part */
{
	font-weight: 400;
	text-overflow: ellipsis;
    overflow: visible;
	white-space: nowrap;
	display: inline-block;
	margin-left: 5px;
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	margin-top: 0px;
	transform: rotate(45deg);
	transition: all 75ms linear;
}

.headTD1_collapsed
{
	transform: rotate(0deg);
}

.headTD1 a
{
	text-decoration: none;
	font-size: 1.3em !important;
	line-height: 0px;
}

.headTD2 a
{
	text-decoration: none;
}

.headTD2

/* the header part */
{
	font-weight: 400;
	width: 100%;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
}

.headTD0
{
	font-weight: 400;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	display: inline;
    padding-left: 10px;
}

@media (min-width: 701px) and (min-height: 501px)
{
	html[data-theme="light"] .head1,
	html[data-theme="light"] .head1x,
	html[data-theme="light"] .head3,
	html[data-theme="light"] .head3x
	{
		background:
			linear-gradient(180deg, rgb(255 255 255 / 16%) 0%, rgb(255 255 255 / 5%) 100%),
			linear-gradient(135deg, rgb(245 130 32 / 9%) 0%, rgb(255 255 255 / 0%) 76%),
			var(--wagertalk-header-color) !important;
		color: rgb(248 251 255) !important;
		border-top: 1px solid rgb(255 255 255 / 30%) !important;
		border-bottom: 1px solid rgb(245 130 32 / 58%) !important;
		box-shadow:
			inset 0 1px 0 rgb(255 255 255 / 15%),
			inset 0 -1px 0 rgb(245 130 32 / 12%),
			0 10px 18px -22px rgb(33 47 78 / 26%);
	}

	html[data-theme="light"] .head1,
	html[data-theme="light"] .head1x
	{
		border-right: 0 !important;
		border-left: 0 !important;
	}

	html[data-theme="light"] .headTD2,
	html[data-theme="light"] .headTD0
	{
		font-weight: 650;
		letter-spacing: 0.01em;
		color: rgb(250 252 255);
		text-shadow: 0 1px 0 rgb(41 53 83 / 14%);
	}

	html[data-theme="light"] .headTD1
	{
		font-weight: 600;
		color: rgb(234 240 250);
		text-shadow: 0 1px 0 rgb(41 53 83 / 12%);
	}

	html[data-theme="light"] #schedule thead th,
	html[data-theme="light"] #table_scroll #headerOfTable th,
	html[data-theme="light"] #table_scroll #footerOfTable th
	{
		background:
			linear-gradient(180deg, rgb(255 255 255 / 14%) 0%, rgb(255 255 255 / 4%) 100%),
			linear-gradient(135deg, rgb(245 130 32 / 12%) 0%, rgb(255 255 255 / 0%) 78%),
			var(--wagertalk-orange-dark-color) !important;
		color: rgb(246 249 255);
		border-color: rgb(161 82 22 / 42%) !important;
		box-shadow:
			inset 0 1px 0 rgb(255 255 255 / 15%),
			inset 0 -1px 0 rgb(116 56 14 / 14%);
	}

	html[data-theme="light"] #schedule thead th:nth-child(1),
	html[data-theme="light"] #schedule thead th:nth-child(2),
	html[data-theme="light"] #schedule thead th:nth-child(3),
	html[data-theme="light"] #schedule thead th:nth-child(4),
	html[data-theme="light"] #schedule thead th:nth-child(5)
	{
		font-weight: 550 !important;
	}

	html[data-theme="light"] #schedule thead th > div:first-child,
	html[data-theme="light"] #schedule thead th > div:nth-child(2),
	html[data-theme="light"] #schedule th.book_header
	{
		letter-spacing: 0.01em;
		text-shadow: 0 1px 0 rgb(46 58 89 / 14%);
	}

	html[data-theme="dark"] .head1,
	html[data-theme="dark"] .head1x,
	html[data-theme="dark"] .head3,
	html[data-theme="dark"] .head3x
	{
		background:
			linear-gradient(180deg, rgb(255 255 255 / 2.7%) 0%, rgb(255 255 255 / 0.7%) 100%),
			linear-gradient(135deg, rgb(84 113 177 / 5.5%) 0%, rgb(9 16 31 / 0%) 76%),
			var(--utility-blue-color) !important;
		color: rgb(240 245 251) !important;
		border-top: 1px solid rgb(255 255 255 / 9%) !important;
		border-bottom: 1px solid rgb(149 166 201 / 18%) !important;
		box-shadow:
			inset 0 1px 0 rgb(255 255 255 / 4%),
			inset 0 -1px 0 rgb(255 255 255 / 2.5%),
			0 8px 18px -20px rgb(0 0 0 / 88%);
	}

	html[data-theme="dark"] .head1,
	html[data-theme="dark"] .head1x
	{
		border-right: 0 !important;
		border-left: 0 !important;
	}

	html[data-theme="dark"] .headTD2,
	html[data-theme="dark"] .headTD0
	{
		font-weight: 650;
		letter-spacing: 0.01em;
		color: rgb(242 246 252);
		text-shadow: 0 1px 0 rgb(0 0 0 / 22%);
	}

	html[data-theme="dark"] .headTD1
	{
		font-weight: 600;
		color: rgb(208 218 234);
		text-shadow: 0 1px 0 rgb(0 0 0 / 18%);
	}

	html[data-theme="dark"] #schedule thead th,
	html[data-theme="dark"] #table_scroll #headerOfTable th,
	html[data-theme="dark"] #table_scroll #footerOfTable th
	{
		background:
			linear-gradient(180deg, rgb(255 255 255 / 2.45%) 0%, rgb(255 255 255 / 0.55%) 100%),
			linear-gradient(135deg, rgb(70 98 157 / 5%) 0%, rgb(9 16 31 / 0%) 76%),
			var(--secondary-bg-color) !important;
		color: rgb(232 238 247);
		border-color: rgb(149 166 201 / 13%) !important;
		box-shadow:
			inset 0 1px 0 rgb(255 255 255 / 3.5%),
			inset 0 -1px 0 rgb(255 255 255 / 2%);
	}

	html[data-theme="dark"] #schedule thead th:nth-child(1),
	html[data-theme="dark"] #schedule thead th:nth-child(2),
	html[data-theme="dark"] #schedule thead th:nth-child(3),
	html[data-theme="dark"] #schedule thead th:nth-child(4),
	html[data-theme="dark"] #schedule thead th:nth-child(5)
	{
		font-weight: 550 !important;
	}

	html[data-theme="dark"] #schedule thead th > div:first-child,
	html[data-theme="dark"] #schedule thead th > div:nth-child(2),
	html[data-theme="dark"] #schedule th.book_header
	{
		letter-spacing: 0.01em;
		text-shadow: 0 1px 0 rgb(0 0 0 / 18%);
	}
}

div.pitching-change
{
	color: red;
}

div.pitching-change-started
{
	color: yellow;
}

div.pitching-change-final
{
	color: yellow;
}

.multi_level,
.item ul,
.nav input[type="checkbox"]
{
	display: none;
}

.popupDiv
{
	left: 0px;
	top: 0px;
	width: 99%;
	height: 99%;
	position: absolute;
	overflow: auto;
	display: none;
	z-index: 300;
}

.popupDiv2
{
	width: var(--lhWidth);
	height: var(--lhHeight);
	left: var(--lhLeft);
	top: var(--lhTop);
	position: absolute;
	display: block;
	background: #dedede;
	z-index: 301;
	border: 1px solid #5e5e5e;
	border-radius: 5px;
	padding: 7px 15px 15px 10px;
	overflow: hidden;
	box-shadow: 0px 0px 15px 0px #0000007d;
}

.popupDiv3
{
	margin-top: 4px;
	width: var(--lhWidth2);
	height: var(--lhHeight2);
	overflow: auto;
	display: block;
	background: #eeeeee;
	z-index: 301;
	border: 1px solid #545454;
	border-radius: 2px;
	padding: 6px;
}

.linesCurtain
{
	left: 3px;
	top: 62px;
	width: 99%;
	height: 93%;
	box-shadow: 0 4px 5px 3px rgba(0, 0, 0, 0.2);
	position: absolute;
	overflow: auto;
	display: none;
	background: white;
	z-index: 300;
	border: none;
	background-color: rgba(0, 0, 50, 0.2);
	/* Black w/ opacity */
}

.header
{
	font-size: 8pt;
	color: #FFFFFF;
	background-color: #555555;
}

.header_center
{
	font-size: 8pt;
	color: #FFFFFF;
	background-color: #555555;
	text-align: center;
}

.data
{
	font-size: 8pt;
	color: var(--dark-font-color);
	background-color: var(--primary-bg-color);
	text-align: right;
}

.data_left
{
	font-size: 8pt;
	color: var(--dark-font-color);
	background-color: var(--primary-bg-color);
	text-align: left;
}

.tennis_ball
{
	overflow: hidden;
	height: 6px;
	width: 6px;
	border-radius: 5px;
	background-color: #cc0;
	box-sizing: border-box;
	display: inline-block;
}

.prop_divider
{
	border-bottom: thin solid #CCC;
}

.tennis_score_main
{
	height: 15px;
}

.tennis_score
{
	display: inline-block;
	width: 12px;
	text-align: center;
	vertical-align: super;
	font-size: 0.6rem;
	padding-right: 5px;
}

.tennis_score_message
{
	display: inline-block;
	width: 40px;
	text-align: center;
	vertical-align: middle;
	font-size: 0.6rem;
}

.line_change_up_arrow
{
	color: #24ca23;
	-webkit-text-stroke: thin;
	-webkit-text-stroke-color: white;
	vertical-align: text-top;
	font-size: 0.8rem !important;
}

.line_change_down_arrow
{
	color: #cb3535;
	-webkit-text-stroke: thin;
	-webkit-text-stroke-color: white;
	vertical-align: text-bottom;
	font-size: 0.8rem !important;
}

.line_change_no_arrow
{
	color: transparent;
	/* width:  10px; */
	/* display: inline-block; */
	display: none !important;
}

.info_neutral
{
	text-align: left !important;
}

.info_dh
{
	text-align: right !important;
}

.info_score
{
	text-align: right !important;
}

.score_changed
{
    background: #081632;
    color: rgb(255, 255, 255);
	white-space: nowrap;
	text-overflow: ellipsis;
}

[data-theme="dark"] .score_changed
{
	background: var(--accent-color);
}

#time_order,
#rotation_order
{
	cursor: pointer;
	vertical-align: middle;
}

.sportsbook_flexbox
{
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
}

.sportsbook_flexbox>span:nth-child(2)
{
	flex-basis: 100%;
	font-weight: 300;
	font-size: 0.9em;
}

#schedule tbody tr:not(:first-child) th:nth-child(4):hover
{
	cursor: pointer;
}

/* -----------loading animation------------- */

#cancel_loading_button
{
	position: fixed;
	left: 50%;
	bottom: 25%;
	transform: translate(-50%, -50%);
	margin: 0 auto;
	width: 10em;
	height: 3em;
	background: blue;
	background-color: rgb(53, 42, 255) !important;
	color: white !important;
	font-size: 1.25em !important;
}

#loading_container 
{
	width: 100%;
	height: 20%;
	background: none !important;
	box-shadow: none !important;
	backdrop-filter: none !important;
	border: none !important;
	will-change: opacity, transform;
	transform: translateZ(0);
}

#loading 
{
	position: relative;
	color: white;
	font-size: 3.5em;
	margin: 0 auto;
	display: flex;
	height: 100%;
	align-items: center;
	justify-content: center;
	line-height: 1.1;
	will-change: opacity, transform;
	transform: translateZ(0);
}

#loading .loading_text 
{
  color: rgba(255, 255, 255, 0.04);
}

#loading .loading_shine 
{
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;

  	-webkit-mask-image: linear-gradient(-75deg,
      rgba(0,0,0,0) 28%,
      rgba(0,0,0,1) 52%,
      rgba(0,0,0,0) 76%);
  	-webkit-mask-size: 220% 100%;
          mask-image: linear-gradient(-75deg,
      rgba(0,0,0,0) 28%,
      rgba(0,0,0,1) 52%,
      rgba(0,0,0,0) 76%);
          mask-size: 220% 100%;
	will-change: -webkit-mask-position, mask-position, opacity;
	transform: translateZ(0);
	animation: shine-tight 1.6s linear infinite;
}

@keyframes shine-tight 
{
	0%   { -webkit-mask-position: 110% 0; mask-position: 110% 0; }
	100% { -webkit-mask-position: -10% 0; mask-position: -10% 0; }
}

#loading .loading_shine 
{
	text-shadow: 0 0 8px rgba(255,255,255,0.35);
}

@keyframes shine 
{
  from {
    -webkit-mask-position: 150% 0;
            mask-position: 150% 0;
  }
  to {
    -webkit-mask-position: -50% 0;
            mask-position: -50% 0;
  }
}

body.ol_view_switching #table_scroll
{
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	transition: none !important;
}

/* Disable transitions during the bulk pass so the first visible paint is the
   final state (no half-faded line cells, etc.). */
body.ol_view_switching #schedule,
body.ol_view_switching #schedule *
{
	transition: none !important;
}

body.ol_view_switching #tablecontainer
{
	cursor: progress;
}

body.ol_view_switching #table_scroll
{
	opacity: 0 !important;
	pointer-events: none !important;

	/* this is the missing piece */
	transition: none !important;

	/* optional but extra “no-flash” insurance */
	visibility: hidden !important;
}

/* Overlay that sits on top of the table area while the table is hidden */
#ol_view_switch_overlay
{
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	opacity: 0;
	pointer-events: none;
	z-index: 50; /* above table content */
}

/* Show instantly when switching, then fade out when we reveal table */
body.ol_view_switching #ol_view_switch_overlay
{
	opacity: 1;
}

/* Optional: add a subtle fade-out only (not fade-in) */
#ol_view_switch_overlay
{
	transition: opacity 160ms ease;
}
body.ol_view_switching #ol_view_switch_overlay
{
	transition: none;
}

/* --- Spinner shared by schedule loading states --- */
#ol_view_switch_overlay .lds-ring
{
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}

#ol_view_switch_overlay .lds-ring div
{
	box-sizing: border-box;
	display: block;
	position: absolute;
	width: 64px;
	height: 64px;
	margin: 8px;
	border: 8px solid #fff;
	border-radius: 50%;
	animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	border-color: var(--hover-accent-color) transparent transparent transparent;
}

#ol_view_switch_overlay .lds-ring div:nth-child(1) { animation-delay: -0.45s; }
#ol_view_switch_overlay .lds-ring div:nth-child(2) { animation-delay: -0.30s; }
#ol_view_switch_overlay .lds-ring div:nth-child(3) { animation-delay: -0.15s; }

@keyframes lds-ring
{
	0%   { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
