:root {
    --dayWidth: 7vmin;    /*These Widths are for adjusting the datepicker on mobile*/
    --totalWidth: 49vmin;

    --grey5: #202833;
    --grey4: #6e7a8a;
    --grey3: #aebecd;
    --grey2: #d5dde5;
    --grey1: #f8f9fa;

    --blue5: #081a35;
    --blue4: #112544;
    --blue3: #2e4b77;
    --blue2: #5277b0;
    --blue1: #97bef8;

    --yellow3: #ffc000; /*Note this is pure hue and should only be used as accent*/
} 

html body {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    color: var(--grey5);
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}

body {
    font-family: Ariel, Verdana, sans-serif;
    /*background-color: #ecf2fa;*/
    background-color: var(--grey1);
    text-align: left;
    /*margin-top: 150px;                        */                              

}

h2 {
    margin-left: 1em;
}
h1, h3 {
    text-align: center;
}
body p.legal{
    font-size:0.75em;
    color:var(--grey3);
    text-align: center;
    margin: 0;
}

header {
    background-image: linear-gradient(var(--grey1),var(--grey2));
}

#LogoHeader {
    position: absolute;
    top: 0px;
    left: 15px;
    z-index:101;
    width: auto;
    height: 122px;
}

body.onMobile #LogoHeader {
    display: none;
}

#TitleBlockHeader {
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*.wrapper {
    text-align: center;
  }
  
.logo-wrapper {
    display: inline-block;
  }
  
  #TitleBlockHeader {
    display: inline-block;
    vertical-align: middle;
}*/

#DPLabel {
    color: var(--grey5);
}
body.onMobile #DPLabel {
    display: none;
}

header.onMobile #LogoHeader {
    top: 9px;
    height: 165px;
}

#topHeader {
    font-size: 2em;
}

header.onMobile #TitleBlockHeader {
    padding-top: 43px;
    padding-bottom: 10px;
}

#TitleBlockWrapper {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

p {
    /*line-height: 1.4em;*/
}
.para1 {
    color: var(--grey1);
    width: 45%;
    border-style: solid;
    border-width: 2px 5px 5px 2px;
    border-color: black;
    padding: 10px;
    margin-left: auto;
    margin-right: auto;
}

a {
    text-decoration: none;
}

header {
    background-color: var(--grey1);
    width: 100%;
    padding-top: 1px;
    min-width: 900px;
    
    position: -webkit-sticky;
    position: sticky;                                               
    top: 0px;
    z-index: 1000;
}

header.onMobile {
    width: 100vw;
    min-width: none;
    position: relative;
}

header.onMobile h1 {
    
    font-size: 35pt;
}

header.onMobile h3 {
    
    font-size: 25pt;
}

.dropdown {
    display: inline;
    font-weight: bold;
    /*padding: 30px;*/
    margin-left: auto;
    margin-right: auto;
}
.navigationList {
    
    white-space: nowrap;
    margin-top: 0;
    /*width: 100%;*/
    /*height: 30px;*/
    padding: 12px 6px 12px 6px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    
    text-align: center;
	box-shadow: 0 5px 5px -5px var(--grey5);
}
.navigationA {
    color: var(--grey5);;
    /*padding: 40px;*/
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 13px;
    padding-bottom: 12px;
    
}

a.navigationA:hover {
    background-image: linear-gradient(var(--blue3),var(--blue4));
    color: var(--yellow3);
}

li.childHover a.navigationA {
}

main {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    /*margin-top: 150px;*/
}

main.onMobile {
    width: 100%;

}

/*table.onMobile {
    white-space: nowrap;
    font-size: 30pt;
    border-collapse: separate;
    border-spacing: 0;
    border-top: 1px solid grey;
}*/

table.sortable.onMobile {
    white-space: nowrap;
    font-size: 2em;
}

div.tableDiv {
    margin-top: 1em;
    overflow: hidden;
}

div.tableDiv.onMobile {
    overflow: scroll;
    max-width: 100vw;
    max-height: 80vh;

}



table.sortable th:first-child {

}

table.sortable.onMobile th {
    /*position: -webkit-sticky; /* for Safari 
    position: sticky;
    top: 0;*/

    border-top: solid black 1px;
    margin-top: 0px;
    
}

table.sortable.onMobile td.playername {                 /*deviation*/
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    left: 0;
    margin-left: 0;
}

table.sortable thead td.playername.stickMe {
    top:0;
    z-index:115;
}
table.sortable thead td.playername.stickOpp {
    top: 0;
    z-index:115;
}

table.sortable {
    margin-left: auto;
    margin-right: auto;
    /*background-color: #c8e0ff;*/
    border-collapse: separate;
    border-spacing: 0px;

}

table.sortable th {
    padding: 7px 10px 10px 10px;
}
table.sortable.onMobile td {
    padding: 0.5em 10px;
}

table.sortable td {
    color: var(--grey5);
    border-right: 1px solid var(--grey4);
    /*z-index: 2;*/
}

table.sortable td:last-child {
    border-right: none;
}

table.sortable td.rank {
    border: none;
}

table.sortable thead td.stickMe {
    color: var(--blue5);
    border: none;
    background-image: linear-gradient(var(--grey3), var(--grey4));
    /*background-color: var(--grey4);*/
    top: 117px; /*132px;*/
    position: -webkit-sticky;
    position: sticky;
}
table.sortable.onMobile thead td.stickMe {
    background-color: var(--grey4);
    background-image: none;
}

table.sortable.onMobile thead td.stickOpp {
    border-top: 1px solid var(--blue5);
    background-image: none;
    background-color: var(--grey4);
}
table.sortable .tableHeading {
    z-index: 500;
}

td.right {
    text-align: right;
}
td.center {
    text-align: center;
}

table.sortable tr {
    /*display: none;*/
}

/*table.sortable.onMobile tr.myTeamFind {
    background-color: var(--blue4) !important;
}

table.sortable.onMobile tr.oppTeamFind {
    background-color: var(--grey4) !important;
    color: var(--grey1) !important;
}*/
table.sortable.onMobile tr.myTeamFind td{
   background-color: var(--blue4) !important;
    color: var(--grey1) !important;
}
table.sortable.onMobile tr.oppTeamFind td{
    background-color: var(--blue2) !important;
    color: var(--grey5) !important;
}
.myTeamLink {
    cursor:pointer;
}
 table.sortable td {
    padding: 7px 10px 10px 10px;
 }


/*tr:first-child > td {
    border-top: 1px solid black;
}*/


table.sortable th {
    top: 117; /*132px;*/
    position: -webkit-sticky;
    position: sticky;
    z-index:450;

    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;

    background-color: var(--blue4);
    background-image:linear-gradient(var(--blue4), var(--blue5));
    color: var(--grey1);
    border-bottom: 0.25em solid var(--blue5);
    /*box-shadow: 0 5px 5px -5px var(--grey5);*/
}
/*table.sortable th:first-child, table.sortable th:last-child {
    box-shadow: 0 5px 5px -5px var(--grey5);
}*/
table.sortable.onMobile th { /*prevents border of scrolling table behind from showing through*/
    border-left: 1px solid var(--blue4);
    border-right: 1px solid var(--blue4);
    top: 0px;
}
table.sortable.onMobile th:first-child {
    border-left: none;
}
table.sortable.onMobile th:first-child {
    border-right: none;
}
table.sortable th:hover {
    border-bottom: 0.25em solid var(--yellow3);
    cursor: pointer;
}
table.sortable th.ascending, table.sortable th.descending {
    border-bottom: 0.25em solid var(--yellow3);
}
table.sortable.onMobile th.playername {
    /*position: -webkit-sticky; /* for Safari 
    position: sticky;*/
    left: 0;
    margin-left: 0;
    z-index: 501;
    border-right: 2px solid var(--yellow3);
}
/*tr:nth-child(even) {*/
table.sortable tbody tr.evenRow {
    background-color: var(--grey1);
}
/*tr:nth-child(odd) {*/
table.sortable tbody tr.oddRow {
    background-color: var(--grey2);
}
table.sortable tbody tr:hover {
    background-color: var(--grey3);
}
table.sortable.onMobile td.playername{
    border-right: 2px solid var(--grey4);
    /*box-shadow: 5px 0 5px -5px var(--grey5); /* shadow to the right */
}
table.sortable.onMobile tr.evenRow td.playername{
    background-color: var(--grey1);
}
table.sortable.onMobile tr.oddRow td.playername {
    background-color: var(--grey2);
}
table.sortable.onMobile tr:hover td.playername{
    background-color: var(--grey3);
}

table.sortable button.myTeamButton {
    margin: auto;
    width: 3em;
    text-align: center;
    color: var(--grey5);
    border: 1px solid var(--grey4);
    border-radius: 3px;
    box-shadow:inset 0px 1px 0px 0px var(--grey1);
    background-image: linear-gradient(var(--grey2) 5%, var(--grey3) 100%);
}
table.sortable button.myTeamButton.freeze {
    margin: auto;
    width: 3em;
    text-align: center;
    color: var(--grey4);
    border: 1px solid var(--grey3);
    border-radius: 3px;
    box-shadow:inset 0px 1px 0px 0px var(--grey1);
    background-image: linear-gradient(var(--grey2) 5%, var(--grey3) 100%);
}
table.sortable.onMobile button.myTeamButton {
    font-size: 1.5em;
    width: 1.5em;
    padding: 0;
}

table.sortable button.myTeamButton:hover:not(.freeze) {
    background-image: linear-gradient(to top,var(--grey2) 5%, var(--grey3) 100%);
}
table.sortable button.myTeamButton.active {
    color: var(--yellow3);
    font-weight: bold;
    box-shadow:inset 0px 1px 0px 0px var(--blue2);
    background:linear-gradient(to bottom, var(--blue3) 5%, var(--blue4) 100%);
    background-color: var(--blue2);
    border-color: var(--blue4);
}
table.sortable button.myTeamButton.active:hover {
    background-image: linear-gradient(to top,  var(--blue3) 5%, var(--blue4) 100%);
}

table.sortable button.oppTeamButton {
    margin: auto;
    width: 3em;
    text-align: center;
    color: var(--grey5);
    border: 1px solid var(--blue5);
    border-radius: 3px;
    box-shadow:inset 0px 1px 0px 0px var(--grey1);
    background-image: linear-gradient(var(--grey2) 5%, var(--grey3) 100%);
    border: 1px solid var(--grey4);
}
table.sortable button.oppTeamButton.freeze {
    margin: auto;
    width: 3em;
    text-align: center;
    color: var(--grey4);
    border: 1px solid var(--grey3);
    border-radius: 3px;
    box-shadow:inset 0px 1px 0px 0px var(--grey1);
    background-image: linear-gradient(var(--grey2) 5%, var(--grey3) 100%);
}
table.sortable.onMobile button.oppTeamButton {
    font-size: 1.5em;
    width: 1.5em;
    padding: 0;
}

table.sortable button.oppTeamButton:hover:not(.freeze) {
    background-image: linear-gradient(to top,var(--grey2) 5%, var(--grey3) 100%);
}
table.sortable button.oppTeamButton.active {
    color: var(--yellow3);
    font-weight: bold;
    box-shadow:inset 0px 1px 0px 0px var(--blue2);
    background:linear-gradient(to bottom, var(--blue3) 5%, var(--blue4) 100%);
    background-color: var(--blue2);
    border-color: var(--blue4);
}
table.sortable button.oppTeamButton.active:hover {
    background-image: linear-gradient(to top,  var(--blue3) 5%, var(--blue4) 100%);
}

.playerNumber {
    display: none;
}

.navigationList.onMobile {
    font-size: 24pt;
}


th .tooltiptext {
visibility: hidden;
width: 120px;
text-align: center;
padding: 5px 3px;

/* Position the tooltip */
position: absolute;
top: 120%;
left: 50%;
margin-left: -60px;

color: var(--grey1);
background-image: linear-gradient(var(--blue4), var(--blue5));
}

@media (hover:hover){ /*only shows tooltip on desktop*/
    th .tooltiptext {
        z-index: 450;
    }


    th .tooltiptext::after {
    content: " ";
    position: absolute;
    bottom: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent var(--blue4) transparent;
    }
}

@media (hover:hover){ /*only shows tooltip on desktop*/
    th:hover .tooltiptext {
        
        transition-delay: 0.5s;
        visibility: visible;
    }
}

@media not all and (hover:hover){ /*only shows tooltip on desktop*/
    th:active .tooltiptext {
        transition-delay: 0.5s;
        visibility: visible;
    }
}   

  
.dropdown {
position: relative;
display: inline-block;
}

.dropdown-content {
display: none;
position: absolute;
top: 31px;
min-width: 160px;
background-image: linear-gradient(var(--blue4), var(--blue5));
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 4;

}

.dropdown-content.onMobile {
    top: 52px;
    left: 100px;
}

.dropdown-content a {
padding: 12px 16px;
text-decoration: none;
display: block;

color: var(--grey1);
}

.dropdown-content.onMobile a {
    font-size: 250%;
    
}


.dropdown-content a:hover {
    background-image: linear-gradient(var(--blue2), var(--blue3));
    /*color: var(--blue5);*/
    /*color: black;*/
}

.dropdown-content a:hover:first-child {
    /*color: black;*/
}

.dropdown-content a:hover:last-child {
    /*color: black;*/
}

.dropdown:hover .dropdown-content {
    display: block;
}

.footerParagraph {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
}

/*footer {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
}*/

.dateSelector {
    font-family: Ariel, Verdana, sans-serif;
}

label {
    font-family: Ariel, Verdana, sans-serif;
}

table.sortable tr.hide {
    display: none;
}
table.sortable td.hide {
    display: none;
}
table.sortable th.hide {
    display: none;
}
.hideIndex {
    display: none;
}
#MyTeam {
    
    white-space: nowrap;
    overflow: hidden;

}
#MyTeam.hide {
    height: 0;
    display: none;
}
#OppTeam {
    
    white-space: nowrap;
    overflow: hidden;

}
#OppTeam.hide {
    height: 0;
    display: none;
}


p {
    margin: 1.4em;
}

.cust_input:not(.onMobile) {
    
    white-space: nowrap;
    display: inline;
}

#xfValHelpText {
    font-weight: bold;
    text-align: center;
}

#xfValHelpText.onMobile {
    font-size: 2em;
}

.numBox {
    width: 3em;
}

.numBox.onMobile {
    font-size: 3em;
    width: 2em;
    text-align: right;
}

.cust_input.onMobile label {
    width: 7em;
    font-size: 2em;
    font-weight: bold;
    text-align: right;
    display: inline-block;
}


.collapsible {
    border: none;
    background-color: var(--blue4);
    color: var(--grey2);

    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    outline: none;
    font-size: 15px;
    
    font-weight: bold;
	display:inline-block;
	font-family:Arial;
	padding: 12px 24px;
	text-decoration:none;
}

.collapsible.size1 {
    background-color: var(--blue3);
    border-top: 1px solid var(--blue5);
    width: 90%;
    margin-left:auto;
    margin-right:auto;
    padding: 6px 24px;
  }
.collapsible.onMobile {
      font-size: 4.5em;
      padding: 0.25em 0.5em;
  }
.collapsible.onMobile.size1 {
    font-size: 4em;
    padding: 0.25em 0.5em;
}
.collapsible:hover:not(.size1) {
    color: var(--yellow3);
}
.collapsible.size1:hover {
    background-color: var(--blue4);
}
.collapseContent {
        padding: 0 2em;   /*here to indent lower layers*/
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
}
.collapsible.active {     
	box-shadow: 0 5px 5px -5px var(--grey5);
}

  .collapsible:after {
    content: '+';/*'\02795'; /* Unicode character for "plus" sign (+) */
    font-size: 1em;
    float: right;
    margin-left: 2em;
  }

  .collapsible.active:after {
    content: '-';/*"\2796"; /* Unicode character for "minus" sign (-) */
  }
 

.button1 {
    margin: 1em 0;

	display:inline-block;
	cursor:pointer;
	font-family:Arial;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;

    box-shadow:inset 0px 1px 0px 0px var(--grey1);
    background-image: linear-gradient(var(--grey2) 5%, var(--grey3) 100%);
	border: 1px solid var(--grey4);
	border-left:none;
	color: var(--grey5);
	font-size: 1em;
	text-shadow:0px 1px 0px var(--grey1);
}
.button1:first-of-type {
    border-radius: 6px 0 0 6px;
    border-left: 1px solid var(--grey4);
}
.button1:last-of-type {
    border-radius: 0 6px 6px 0;
}
.button1:hover {
    background-image:linear-gradient(to top, var(--grey2) 5%, var(--grey3) 100%);
}
.button1:active {    
    box-shadow:inset 0px 1px 0px 0px var(--blue2);
    background:linear-gradient(to top, var(--blue3) 5%, var(--blue4) 100%);
    background-color: var(--blue2);
	border-color: var(--blue4);
	display:inline-block;
	cursor:pointer;
	color:var(--grey1);
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
    text-shadow:0px 1px 0px var(--blue5);
}
.button1:only-of-type {
    border-radius: 6px;
}
body.onMobile .button1 {
    font-size: 4em;
    display: block;
    width: 80%;/*100vw;*/
    margin: 0;
    text-align: left;
}


.toggleButton, .clearTeam, .showTeam {
    margin: 1em 0;

	display:inline-block;
	cursor:pointer;
	font-family:Arial;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;

    box-shadow:inset 0px 1px 0px 0px var(--grey1);
    background-image: linear-gradient(var(--grey2) 5%, var(--grey3) 100%);
	border: 1px solid var(--grey4);
	border-left:none;
	color: var(--grey5);
	font-size: 1em;
	text-shadow:0px 1px 0px var(--grey1);
}
.toggleButton:first-of-type, .clearTeam:first-of-type, .showTeam:first-of-type {
    border-radius: 6px 0 0 6px;
    border-left: 1px solid var(--grey4);
}
.toggleButton:last-of-type, .clearTeam:last-of-type, .showTeam:last-of-type {
    border-radius: 0 6px 6px 0;
}
.toggleButton:hover, .clearTeam:hover, .showTeam:hover {
    background-image:linear-gradient(to top, var(--grey2) 5%, var(--grey3) 100%);
}
.toggleButton.active, .showTeam.active {    
    box-shadow:inset 0px 1px 0px 0px var(--blue2);
    background:linear-gradient(to bottom, var(--blue3) 5%, var(--blue4) 100%);
    background-color: var(--blue2);
	border-color: var(--blue4);
	display:inline-block;
	cursor:pointer;
	color:var(--grey1);
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
    text-shadow:0px 1px 0px var(--blue5);
}
.toggleButton.active:hover, .clearTeam:active, .showTeam:active {
    background-image: linear-gradient(to top,  var(--blue3) 5%, var(--blue4) 100%);
}
.toggleButton:only-of-type {
    border-radius: 6px;
}
.toggleButton.onMobile, body.onMobile .clearTeam, body.onMobile .showTeam {
    font-size: 4em;
    width: 2em;
    margin: 0;
    text-align: center;
}
.toggleButton.active.onMobile {
    color: var(--yellow3);
}

.clearTeam:active, .showTeam:active, .showTeam.active {
    color: var(--grey1);
}

#xValBtn2.onMobile {
    display: none;
}
#weekSelector.onMobile{
    font-size: 2em;
    /*display: inline-block;*/
    text-align: center;
    padding: 0.75em 0.75em;
    -webkit-appearance: textfield;

    background-image: url(/images/TriangleArrow-Down.svg);
    background-size: 1em 1em;
    background-repeat: no-repeat;
    background-position: 95% 50%;
    width: 9em;
}


#TableDesc {
    width:100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#TableDesc:not(.onMobile) {
    display: none;
}

#TableDesc.onMobile {
    font-weight: bold;
    font-size: 2em;
    width: 100vw;
}

body:not(.onMobile) #mobileHint {
    display: none;
}

#mobileHint{
    font-weight: bold;
    font-size: 2em;
    width: 100vw;
    
    margin-left: auto;
    margin-right: auto;
    color: var(--blue5);
    text-align: center;
}

.dateCont {
    display: inline;
}

.dateCont.onMobile {
    display: block;
}

.dateCont.onMobile label {
    width: 7em;
    font-size: 2em;
    font-weight: bold;
    text-align: right;
    display: inline-block;
}



body.onMobile  #DPStartRange {
    font-size: 3em;
    width: 80%;
}

body.onMobile .flatpickr-calendar {
width: var(--totalWidth);
}
body.onMobile  .dayContainer {
width: var(--totalWidth);
min-width: 448px;
max-width: var(--totalWidth);
}
body.onMobile .flatpickr-days {
width: var(--totalWidth);
}
body.onMobile  .flatpickr-day {
max-width: var(--dayWidth);
height: var(--dayWidth);
line-height: var(--dayWidth);
}


.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 102;
    top: 0;
    right: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  

main:not(.onMobile) #sideNavCustOpen{
    display: none;
} 

.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }

.collapsibleMobile {
    
    transition: 0.3s;
}
  
  .sidenav a:hover {
    color: #f1f1f1;
  }
  
  .sidenav .closebtn {
    position: absolute;
    top: 0.5em;
    right: 25px;
    font-size: 2em;
    margin-left: 1em;
  }
  
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  }

#tableSearch {
    margin-left: 4em;
    color: var(--grey5);
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 25em; /* Full-width */
    font-size: 1.5; /* Increase font-size */
    padding: 12px 20px 12px 15px; /* Add some padding */
    border: 1px solid var(--grey2); /* Add a grey border */
    margin-bottom: 12px; /* Add some space below the input */
  }
  
body.onMobile #tableSearch {
    width: 15em;
    font-size: 2.5em;
    margin-left:0;
}

body.onMobile .toggleButton.teamInit {
    display: none;
}
.inlineDiv {
    display: inline;
}
.aboveTable {
    text-align: center;
}

#weekSelector {
    margin-left: 3em;
}