/* CSS Document */
@media print 
{ 
	.noprint { display:none; } 
	.noscreen { display:inherit; } 
}
@media screen 
{ 
	.noprint { display:inherit; } 
	.noscreen { display:none; } 

	tr.sticky-row td, tr.sticky-row th {
		position: sticky;
		top: 0;
		background-color: white;
	}
}
#navlist
{
padding: 3px 0;
margin-left: 0;
border-bottom: 1px solid #778;
font: bold 12px Verdana, sans-serif;
}
.mobile #navlist
{
font: bold 10px Verdana, sans-serif;
}
#navlist li
{
list-style: none;
margin: 0;
display: inline;
}
#navlist li a
{
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #778;
border-bottom: none;
background: #CCE7FF;
text-decoration: none;
}
#navlist li a:link { color: #448; }
#navlist li a:visited { color: #667; }
#navlist li a:hover
{
color: #000000;
background: #CEFFCC;
border-color: #227;
}
#navlist li a#current
{
background: #FFFFFF;
border-bottom: 1px solid white;
color:#000000;
}


#navlist li a#disabled
{
background: #EBEBEB;
color:#667;
}

tbody
{ 
	display: table-row-group;
}

.row1
{
	page-break-after:avoid;
	page-break-before:auto;
	page-break-inside:avoid;
}

.row2
{
	page-break-after:auto;
	page-break-before:avoid;
	page-break-inside:avoid;
}

table.invisibleTable{
	border-style:none;
	border-collapse: collapse;
	border-width:0;
	padding:0;
}

table.invisibleTable td{
	border-style:none;
	border-width:0;
	padding:0;
}

table.invisibleTable th{
	border-style:none;
	border-width:0;
	padding:0;
}

.break 
{
	page-break-before: always;
}

.timezone {
	font-family: Arial Narrow, Arial, Helvetica, sans-serif;
}

thead { display:table-header-group; }

/*tbody#picks {height:400px; width:800px; overflow:scroll}*/

#game {page-break-inside:avoid}

thead td, thead th { position: static; }

#offline_msg
{
	font-size:16px;
	font-family:Arial, Helvetica, sans-serif;
	color:#FF0000;
	font-weight:bold;
}

.missing td, .missing th
{
	font-family:Arial, Helvetica, sans-serif;
	font-size:medium;
}

.theme {
  /*height: 100%;
  width: 100%;
  position: absolute;*/
  height: fit-content;
  width: fit-content; 
  block-size: fit-content;
}
.bracket {
  padding: 20px;	/*40px*/
  margin: 5px;
}
.bracket {
  display: flex;
  flex-direction: row;
  position: relative;
}
.column {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  justify-content: space-around;
  align-content: center;
}
.match-title {
  position: relative;
}
.match-title div {
  position: absolute;
  left: 1px;
  top: -16px;
  font-size: 12px;
}
.match-header {
  position: relative;
}
.match-header div {
  position: absolute;
  left: 1px;
  top: -32px;
  font-size: 12px;
  font-weight: bold;
}
.match {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 240px;
  max-width: 240px;
  height: 93px; /*62px*/ 
  margin: 12px 24px 12px 0;
}
.match .match-top {
  border-radius: 2px 2px 0 0;
}
.match .match-bottom {
  border-radius: 0 0 2px 2px;
}
.match .team {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  border: 1px solid black;
  position: relative;
}
.match .team span {
  padding-left: 8px;
}
.match .team span:last-child {
  padding-right: 8px;
}
.match .team .score {
  margin-left: auto;
}
.match .team:first-child {
  margin-bottom: -1px;
}
.match-lines {
  display: block;
  position: absolute;
  top: 50%;
  bottom: 0;
  margin-top: 0px;
  right: -1px;
}
.column.two .match-lines.alt {
  display: block;
  position: absolute;
  /* Quarterfinals team 1 undecided */
  /* top: 25%; */
  /* Quarterfinals team 2 undecided */
  top: 75%;
  bottom: 0;
  margin-top: 0px;
  right: -1px;
}
.match-lines .line {
  background: blue;
  position: absolute;
}
.match-lines .line.one {
  height: 1px;
  width: 12px;
}
.match-lines .line.two {
  height: 23px;
  width: 1px;
  left: 11px;
}
.match-lines.alt {
  left: -12px;
}
.match:nth-child(even) .match-lines .line.two {
  transform: translate(0, -100%);
}
/* Quarterfinals team 1 undecided *//*
.column.one .match:nth-child(odd) .match-lines .line.two {
  transform: translate(0, -100%);
}*/

/* Quarterfinals team 2 undecided */
.column.one .match:nth-child(even) .match-lines .line.two {
  transform: translate(0, 0%);
}

.column:first-child .match-lines.alt {
  display: none;
}
.column:last-child .match-lines {
  display: none;
}
.column:last-child .match-lines.alt {
  display: block;
}
.column:nth-child(2) .match-lines .line.two {
  height: 88px;
}
.column:nth-child(3) .match-lines .line.two {
  height: 175px;
}
.column:nth-child(4) .match-lines .line.two {
  height: 262px;
}
.column:nth-child(5) .match-lines .line.two {
  height: 349px;
}
.match .seed {
  font-size: 12px;
  min-width: 14px;
}
.disable-image .image,
.disable-seed .seed,
.disable-name .name,
.disable-score .score {
  display: none !important;
}
.disable-borders {
  border-width: 0px !important;
}
.disable-borders .team {
  border-width: 0px !important;
}
.disable-seperator .match-top {
  border-bottom: 0px !important;
}
.disable-seperator .match-bottom {
  border-top: 0px !important;
}
.disable-seperator .team:first-child {
  margin-bottom: 0px;
}
/* Dark Theme */
.theme-dark {
  background: #0e1217;
  border-color: #040607;
}
.theme-dark .match-lines .line {
  background: #36404e;
}
.theme-dark .team {
  background: #182026;
  border-color: #232c36;
  color: #6b798c;
}
.theme-dark .winner-top .match-top,
.theme-dark .winner-bottom .match-bottom {
  background: #232c36;
  color: #e3e8ef;
  border-color: #36404e;
  z-index: 1;
}
.theme-dark .winner-top .match-top .score,
.theme-dark .winner-bottom .match-bottom .score {
  color: #03d9ce;
}
.theme-dark .match .seed {
  font-size: 12px;
  min-width: 10px;
}
.theme-dark .match .score {
  font-size: 14px;
}



.flex-container {
	display: flex;
	align-items: flex-start;
	align-content: center;
	justify-content: space-around;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
	position: relative;
}

@media print 
{ 	
	.flex-container {
		display: table;
	}
	
	.flex-container>div {
		display: inline-block;
		page-break-inside:avoid;
		break-inside: avoid;
		-webkit-region-break-inside: avoid;
		position: relative;
		vertical-align: top;
	}
}
@media screen 
{ 
	/*.flex-container {
		display: flex;
		align-items: flex-start;
		align-content: center;
		justify-content: space-around;
		flex-direction: row;
		flex-wrap: wrap;
		width: 100%;
	}*/
}

.flex-container>div {
	/*flex-grow: 1;*/
	margin: 6px;
}
.flex-container>div>table {
	/*page-break-inside:avoid;
	break-inside: avoid;
	-webkit-region-break-inside: avoid;
	position: relative;*/
	width: 240px;
}

@supports not (-webkit-touch-callout: none) {
	.picks-user {
		/*font-family: Arial, Helvetica, sans-serif;*/
		font-size: 14px;
		text-align: left;
		writing-mode: vertical-rl;
		text-orientation: sideways;
		-webkit-writing-mode: vertical-rl;
		-webkit-text-orientation: sideways;
		font-weight: bold;
	}

	.picks-user div {
		transform: rotate(180deg);
	}
}

@supports (-webkit-touch-callout: none) {
	.picks-user {
		font-size: 14px;
		text-align: left;
		font-weight: bold;
		min-width: 16px;
	}

	.picks-user div {
		transform: rotate(180deg);
		writing-mode: vertical-rl;
		text-orientation: sideways;
		-webkit-writing-mode: vertical-rl;
		-webkit-text-orientation: sideways;
	}
}

.picks-check {
	font-size: 16px;
}

tr.user-list {
	/*page-break-inside:avoid;
	break-inside: avoid;*/
	height: 280px;
}

.user-list {
	white-space: nowrap;
}

table.export
{
	border-collapse: collapse;
}


table.export td, table.export th
{
	border-style: solid;
	border-color: black;
	border-width: 1px;
	font-family:Arial;
	font-size: 11pt;
}

table.export td.team-logo
{
	border-right: none;
}

table.export td.team-name
{
	border-left: none;
	border-bottom:  none;
}

table.export td.team-mascot
{
	border-left: none;
	border-top:  none;
	border-right: none;
	font-family: Arial;
	font-size: 9pt;
}

table.export td.team-conf
{
	border-left: none;
	border-top:  none;
	font-family: Arial;
	font-size: 9pt;
}

table.export thead td.team-logo
{
	border-top:  none;
}

table.export thead td.team-name
{
	text-align: center;
	vertical-align: bottom;
}

table.export thead td.team-mascot
{
	vertical-align: top;
	font-weight: bold;
}

table.export thead td.team-conf
{
	vertical-align: top;
	text-align: right;
	font-weight: bold;
}

table thead tr.sticky-row td, table thead tr.sticky-row td {
	vertical-align: middle;
}

table thead tr.sticky-row hr {
    margin-block-end: 0.3em;
    margin-block-start: 0.3em;
}

table.bowls-table {
	height: 100%;	
	border: 2px outset #808080;
}

table.bowls-table th, table.bowls-table td {
	padding: 2px;
	border: 1px inset #808080;
}

.valign-middle > div {
	height: 50%; 
	width: 100%; 
	display: flex; 
	align-items: center;
}

.align-center div {
	width: 100%; 
	text-align: center;
}

.alt-row {
	background-color: #CCE7FF;
}

.cfp1-row {
	background-color: #FFCCCC;
}

.cfp1-row.alt-row {
	background-color: #DF9F9F;
}

.cfp2-row {
	background-color: #FFFFCC;
}

.cfp2-row.alt-row {
	background-color: #D9D98C;
}

.cfp3-row {
	background-color: #CCFFCC;
}

.cfp3-row.alt-row {
	background-color: #8CD98C;
}

.cfp4-row {
	background-color: #E6CCFF;
}

.cfp4-row.alt-row {
	background-color: #E6CCFF;	/* #C09FDF */
}

.cancelled-row {
	background-color: #AAAAAA;
}

.cancelled-row.alt-row {
	background-color: #D4D4D4;
}

.win-bg {
	background-color: #66FF99;
}
.cfp_help li {
	margin-bottom: 8px;
}

div.cfp_picks {
	display: flex;
	flex-direction: row; 
	justify-content: flex-start; 
	align-items: center;
}

div.cfp_picks div.cfp_img {
	display: flex; 
	justify-content: center; 
	align-items: center; 
	height: 18px; 
	width: 18px;
}

div.cfp_picks.cfp_elim {
    position: relative;
}

div.cfp_picks.cfp_elim::before, div.cfp_picks.cfp_elim::after {
    content: '';
    width: 100%;
    position: absolute;
    right: 0;
    top: 50%;
}
div.cfp_picks.cfp_elim::before {
    border-bottom: 2px solid red;
    -webkit-transform: skewY(-10deg);
    transform: skewY(-10deg);
}
div.cfp_picks.cfp_elim::after {
    border-bottom: 2px solid red;
    -webkit-transform: skewY(10deg);
    transform: skewY(10deg);
}

.cfp_strike {
	text-decoration: line-through;
}

div.cfp_img.cfp_elim {
    position: relative;
}

div.cfp_img.cfp_elim::before, div.cfp_img.cfp_elim::after {
    content: '';
    width: 100%;
    position: absolute;
    right: 0;
    top: 50%;
}
div.cfp_img.cfp_elim::before {
    border-bottom: 3px solid black;
    -webkit-transform: skewY(-45deg);
    transform: skewY(-45deg);
}
div.cfp_img.cfp_elim::after {
    border-bottom: 3px solid black;
    -webkit-transform: skewY(45deg);
    transform: skewY(45deg);
}
/* Picks by game */
/*td div.cfp_img.cfp_elim {
	width: 20px;	
	height: 20px;
}
td div.cfp_img.cfp_elim img {
	margin: auto;
	display: block;
}*/