/* root.css */
:root {
  --myWidth: 100%;
  --myHeight: 95%;
  --createdLeft: 85%;
  --headerFontSize: 0.8rem;
  --headerTD1FontSize: 0.8rem;
  --mainfgColor: #FFFFFF;
  --mainbgColor: #E97F31;
  --createdColor: var(--navColor);
  --maincontainerHeightOffset: 90px;
  --navrowTop: 0px;
  --navrowTop1: 15px;
  --navrowTop2: 37px;
  --headerTop: 0px;
  --titleTop: 18px;
  --lhWidth: 400px;
  --lhWidth2: 450px;
  --lhHeight: 421px;
  --lhHeight2: 391px;
  --lhLeft: 50px;
  --lhTop: 50px;
  --timeCol: 1;
  --gnumCol: 2;
  --teamCol: 3;
  --scoreCol: 4;
  --separatorCol: 5;
  --timeWidth: 50px;
  --gnumWidth: 50px;
  --teamWidth: 150px;
  --scoreWidth: 75px;
  --separatorWidth: 1px;
  --bookWidth: 70px;
  --timeLeft: 0px;
  --gnumLeft: calc(var(--timeLeft) + var(--timeWidth) + 5px);
  /*56px;*/
  --teamLeft: calc(var(--gnumLeft) + var(--gnumWidth) + 5px);
  /*112px;*/
  --scoreLeft: calc(var(--teamLeft) + var(--teamWidth) + 5px);
  /*268px;*/
  --separatorLeft: calc(var(--scoreLeft) + var(--scoreWidth) + 5px);
  /*274px;*/
  --totalFixedWidth: calc(var(--timeWidth) + var(--gnumWidth) + var(--teamWidth) + var(--scoreWidth) + var(--separatorWidth));
}

/* page.css */
#fullpage {
  display: flex;
  flex-direction: column;
}

#fullpage * {
  box-sizing: content-box;
}

#WTheader {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-style: normal;
  width: 99%;
  flex: 0 0 auto;
}

#WTheader_image {
  text-align: center;
}

#WTheader_text {
  background: black;
  color: white;
  padding-right: 20px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
}

#hamheader {
  position: relative;
  top: 0px;
  flex: 0 0 auto;
  background: var(--navColor);
  width: 99%;
}

#league_menu {
  float: left;
  width: 25%;
}

#period_line_type {
  float: left;
  width: 50%;
}

#period_lt_wrapper {
  float: left;
  overflow: hidden;
}

#period_div {
  color: yellow;
  z-index: 60;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-style: bold;
}

#period_div a {
  color: yellow;
}

#line_type_div {
  color: yellow;
  z-index: 100;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-style: bold;
}

#line_type_div a {
  color: yellow;
}

#clear_div {}

#created_time_and_schedule {
  float: right;
  display: table;
  overflow: hidden;
  width: 15%;
}

#created_time {
  float: right;
  padding-right: 10px;
  color: var(--createdColor);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-style: bold;
}

#schedule_links {
  float: right;
  overflow: hidden;
  padding-right: 10px;
  color: var(--createdColor);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-style: bold;
}

#schedule_links a {
  color: yellow;
}

#tablecontainer {
  flex: 1 1 auto;
  width: 99%;
  overflow-y: scroll;
  border: thin solid var(--fgColor);
}

#navrow {
  float: left;
  width: 10%;
  z-index: 3;
}

#league_names {
  float: right;
  z-index: 3;
  width: 80%;
}

#league_name {
  color: yellow;
  z-index: 100;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.0rem;
  font-style: bold;
  text-decoration: underline;
}

#league_subname {
  color: yellow;
  z-index: 100;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-style: bold;
}

#league_selector {
  width: 20px;
  font-size: x-large;
  color: red;
}

nav {
  z-index: 1000;
}

nav a {
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.0rem;
  font-style: bold;
  color: black;
  line-height: 30px;
  z-index: 1000;
}

nav>ul {
  position: relative;
  list-style-type: none;
  color: black;
  background-color: #eaeaea;
  width: 20px;
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 0px;
  z-index: 200;
}

nav>ul>li>ul {
  position: absolute;
  list-style-type: none;
  color: black;
  background-color: #eaeaea;
  width: 150px;
  display: none;
  left: 0px;
  padding-inline-start: 5px;
  border: thin solid black;
}

nav>ul>li>ul>li>ul {
  position: absolute;
  list-style-type: none;
  color: black;
  background-color: #eaeaea;
  width: 330px;
  display: none;
  left: 140px;
  padding-inline-start: 5px;
  border: thin solid black;
}

nav>ul>li>ul>li>ul>li>ul {
  position: absolute;
  list-style-type: none;
  color: black;
  background-color: #eaeaea;
  width: 330px;
  display: none;
  left: 300px;
  padding-inline-start: 5px;
  border: thin solid black;
}

nav>ul>li>ul>li>ul>li>ul>li>ul {
  position: absolute;
  list-style-type: none;
  color: black;
  background-color: #eaeaea;
  width: 230px;
  display: none;
  left: 180px;
  padding-inline-start: 5px;
  border: thin solid black;
}

nav>ul>li:hover {
  background-color: red;
  color: white;
}

nav>ul>li>ul>li:hover {
  background-color: red;
  color: white;
}

nav>ul>li>ul>li>ul>li:hover {
  background-color: red;
  color: white;
}

nav>ul>li>ul>li>ul>li>ul>li:hover {
  background-color: red;
  color: white;
}

nav>ul>li>ul>li>ul>li>ul>li>ul>li:hover {
  background-color: red;
  color: white;
}

nav>ul>li:hover>ul {
  display: block;
}

nav>ul>li>ul>li:hover>ul {
  display: block;
}

nav>ul>li>ul>li>ul>li:hover>ul {
  display: block;
}

nav>ul>li>ul>li>ul>li>ul>li:hover>ul {
  display: block;
}

nav>ul>li>a {
  display: block;
}

nav>ul>li>ul>li>a {
  display: block;
}

nav>ul>li>ul>li>ul>li>a {
  display: block;
}

nav>ul>li>ul>li>ul>li>ul>li>a {
  display: block;
}

nav>ul>li>ul>li>ul>li>ul>li>ul>li>a {
  display: block;
}

nav>ul>li>a:hover {
  background-color: red;
  color: white;
  display: block;
}

nav>ul>li>ul>li>a:hover {
  background-color: red;
  color: white;
  display: block;
}

nav>ul>li>ul>li>ul>li>a:hover {
  background-color: red;
  color: white;
  display: block;
}

nav>ul>li>ul>li>ul>li>ul>li>a:hover {
  background-color: red;
  color: white;
  display: block;
}

nav>ul>li>ul>li>ul>li>ul>li>ul>li>a:hover {
  background-color: red;
  color: white;
  display: block;
}

.navTD1

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

.navTD2

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

.navTD0

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

#menu:checked~.multi_level, .item input:checked~ul {
  display: block;
}

.arrow {
  width: 10px;
  height: 10px;
  vertical-align: middle;
  float: left;
  z-index: 10;
  margin: 5px 1em 0 2em;
  font-size: 12px;
}

label:hover {
  cursor: pointer;
}

label {
  width: 100%;
  display: block;
  z-index: 13;
  position: relative;
}

#hamMenu {
  position: absolute;
  top: var(--headerTop);
}

#hamMenu li {
  position: relative;
}

#hamMenu ul {
  top: 0px;
}

/* odds.css */
[data-theme="light"] {
  --navColor: #2538b0;
  --bgColor: white;
  --fgColor: black;
  --bgColorRgba: rgba(0, 0, 0, .5);
  --bgColorHead: #555;
  --fgColorTC: red;
  --bgColorGstd: green;
  --bgColorAlt: #EEE;
  --bgColorThead: #222;
  --fgColorWeb: yellow;
  --bgColorHover: #F8DE7E;
  /*yellow;*/
  --fgColorHover: black;
}

[data-theme="dark"] {
  --navColor: #F44336;
  --bgColor: black;
  --fgColor: white;
  --bgColorRgba: rgba(255, 255, 255, .5);
  --bgColorHead: #EEE;
  --fgColorTC: yellow;
  --bgColorGstd: #00AA00;
  --bgColorAlt: #333;
  --bgColorThead: #DDD;
  --fgColorWeb: black;
  --bgColorHover: #BBBB00;
  --fgColorHover: black;
}

.hidden {
  display: none;
}

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

body {
  margin: 0px;
  background: var(--bgColor);
}

.head1,
.head1x {
  font-size: var(--headerFontSize);
  font-style: normal;
  position: -webkit-sticky;
  position: sticky;
  left: 0px;
  top: var(--titleTop);
  width: 100%;
  white-space: nowrap;
  text-overflow: visible;
  text-align: left;
  background: var(--bgColorHead);
  color: var(--bgColor);
  border: thin solid yellow;
  z-index: 5;
}

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

.head3,
.head3x {
  background: #888 !important;
  color: #FFF !important;
  border: 0 !important;
  z-index: 1 !important;
}

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

.time {
  width: var(--timeWidth);
  text-align: center;
}

.timechange {
  width: var(--timeWidth);
  text-align: center;
  color: var(--fgColorTC);
}

.timechange-started {
  width: var(--timeWidth);
  text-align: center;
  color: yellow;
}

.timechange-final {
  width: var(--timeWidth);
  text-align: center;
  color: yellow;
}

.gnum {
  width: var(--gnumWidth);
  text-align: center;
}

.team {
  vertical-align: top;
  width: var(--teamWidth);
  text-align: left;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.team-circled {
  vertical-align: top;
  width: var(--teamWidth);
  text-align: left;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: var(--fgColorTC);
}

.team-circled-started {
  vertical-align: top;
  width: var(--teamWidth);
  text-align: left;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: yellow;
}

.team-circled-final {
  vertical-align: top;
  width: var(--teamWidth);
  text-align: left;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: yellow;
}

.score {
  width: var(--scoreWidth);
  text-align: left;
}

.separator {
  background-color: var(--fgColor);
  width: var(--separatorWidth);
  text-align: left;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.game-started {
  width: var(--scoreWidth);
  text-align: left;
  background: green !important;
  color: white !important;
}

.circled-game-started {
  width: var(--scoreWidth);
  text-align: left;
  background: green !important;
  color: red !important;
}

.game-final {
  width: var(--scoreWidth);
  text-align: left;
  background: #CC0000 !important;
  color: white !important;
}

.circled-game-final {
  width: var(--scoreWidth);
  text-align: left;
  background: #CC0000 !important;
  color: yellow !important;
}

.center-game-started {
  width: var(--scoreWidth);
  text-align: center;
  background: green !important;
  color: white !important;
}

.center-game-final {
  width: var(--scoreWidth);
  text-align: center;
  background: #CC0000 !important;
  color: white !important;
}

.book {
  width: var(--bookWidth);
  text-align: right;
  text-overflow: ellipsis;
  overflow: hidden;
  z-index: 1;
}

.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;
  top: var(--headerTop);
}

.reg {
  background: var(--bgColor);
  color: var(--fgColor);
}

.alt {
  background: var(--bgColorAlt);
  color: var(--fgColor);
}

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

#table_scroll {
  z-index: 2;
  margin: auto;
  display: none;
  /* change to block for static page to display */
  text-align: left;
  border-collapse: collapse;
  border-spacing: 0px;
  padding: 0px;
  margin: 0px;
}

#schedule {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-style: normal;
  table-layout: fixed;
  width: 400px;
  min-width: 400px;
  margin: 0px;
  border-collapse: separate;
  border-spacing: 0px;
  border: thin solid black;
}

#table_scroll th,
#table_scroll td {
  border: thin solid var(--fgColor);
  padding-left: 2px;
  padding-right: 2px;
  border-top: 0px;
  border-right: 0px;
  font-weight: normal;
}

#table_scroll #headerOfTable th,
#table_scroll #footerOfTable th {
  background: var(--mainbgColor) !important;
}

.tnTD0

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

.tnTD1

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

.tnTD2

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

.tnTD3

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

.scTD0

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

.scTD1

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

.scTD2

/* the status part */
  {
  width: 60%;
  text-align: left;
  border: 0px;
  padding-left: 0px;
  padding-right: 0px;
  text-overflow: ellipsis;
  overflow: hidden;
  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),
#schedule th:nth-child(5) {
  position: -webkit-sticky;
  position: sticky;
  z-index: 3;
  background: inherit;
}

#schedule th:nth-child(1) {
  left: 0;
}

#schedule th:nth-child(2) {
  left: var(--gnumLeft);
}

#schedule th:nth-child(3) {
  left: var(--teamLeft);
}

#schedule th:nth-child(4) {
  left: var(--scoreLeft);
}

#schedule th:nth-child(5) {
  left: var(--separatorLeft);
  width: 1px;
  background: var(--fgColor);
}

#schedule thead th {
  position: -webkit-sticky;
  position: sticky;
  background: var(--bgColorThead);
  color: var(--bgColor);
  top: var(--headerTop);
  z-index: 2;
}

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

#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: 6;
}

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

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

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

.headTD1

/* the dash part */
  {
  font-size: var(--headerTD1FontSize);
  font-weight: bold;
  width: 20px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
}

.headTD2

/* the header part */
  {
  font-size: var(--headerFontSize);
  font-weight: bold;
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
}

.headTD0

/* the middle part */
  {
  font-size: var(--headerFontSize);
  font-weight: bold;
  width: 5px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
}

a.weblink {
  color: var(--fgColorWeb);
}

div.pitching-change {
  color: var(--fgColorTC);
}

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%;
  box-shadow: 0 4px 5px 3px rgba(0, 0, 0, 0.2);
  position: absolute;
  overflow: auto;
  display: none;
  background: white;
  z-index: 300;
  border: 4px solid blue;
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

.popupDiv2 {
  width: var(--lhWidth);
  height: var(--lhHeight);
  left: var(--lhLeft);
  top: var(--lhTop);
  position: absolute;
  overflow: auto;
  display: block;
  background: white;
  z-index: 301;
  border: 1px solid black;
}

.popupDiv3 {
  width: var(--lhWidth2);
  height: var(--lhHeight2);
  left: 0px;
  top: 22px;
  position: absolute;
  overflow: auto;
  display: block;
  background: white;
  z-index: 301;
  border: 1px solid black;
}

.title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9pt;
  color: var(--mainfgColor);
  background-color: var(--mainbgColor);
}

.title_left {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9pt;
  color: var(--mainfgColor);
  background-color: var(--mainbgColor);
  text-align: left;
}

.title_center {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9pt;
  color: var(--mainfgColor);
  background-color: var(--mainbgColor);
  text-align: center;
}

.title_center {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9pt;
  color: var(--mainfgColor);
  background-color: var(--mainbgColor);
  text-align: center;
}

.header {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8pt;
  color: #FFFFFF;
  background-color: #555555;
}

.header_center {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8pt;
  color: #FFFFFF;
  background-color: #555555;
  text-align: center;
}

.data {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8pt;
  color: var(--fgColor);
  background-color: var(--bgColor);
  text-align: right;
}

.data_left {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 8pt;
  color: var(--fgColor);
  background-color: var(--bgColor);
  text-align: left;
}

.tennis_ball {
  overflow: hidden;
  height: 10px;
  width: 10px;
  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: 14px;
  text-align: right;
  vertical-align: middle;
  font-size: 0.6rem;
}

/* lines.css */
.lt120sec {
  background: rgb(153, 0, 0);
  color: rgb(255, 255, 255);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.lt300sec {
  background: rgb(255, 255, 0);
  color: rgb(0, 0, 0);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.lt600sec {
  background: rgb(0, 255, 0);
  color: rgb(0, 0, 0);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* tooltip.css */
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  z-index: 1;
  top: -200%;
  left: 0%;
  text-align: center;
  border-radius: 6px;
  padding: 3px 0;
  position: absolute;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* additional css */
.odds-explanation {
  padding: 12px;
}
#table_scroll {
  display: block;
}

/* Remove top header and slide up hamburger menu */
.header-meta {
  display: none;
}
.responsive-menu-icon {
  top: -20px !important;
}
#hide-faq {
  color: blue;
  font-weight: bold;
}
#openers_text_container
{
}
#openers_text
{
  color: yellow;
  z-index: 60;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 0.8rem;
  font-weight: bold;
  margin-top: 5%;
}
#period_line_type
{
  display:            flex;
  flex-direction:     row;
  float:              left;
  width:              50%;
}
#league_names h1 {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  margin: 0;
}
