body {
	font-family: 'Roboto', sans-serif;
	font-size: 14pt;
}

div.content {
    position: relative;
    width: min(1200px, 95vw);
}

a {
    text-decoration: none;
}

a.subtlelink {
    color: gray;
    border-radius: 2px;
    padding: 5px;
    background-color: #e8e8e8;
    font-size: 10pt;
}

div.heading {
	position: relative;
    width: 100%;
	clear: both;
	border-bottom: 2px groove gray;
}

div.tourneytitle {
	left: 0px;
	padding: 10px;
	font-size: 20pt;
}

div.tourneyinfo {
	font-size: 12pt;
	color: gray;
	margin-left: 10px;
	margin-bottom: 10px;
}

div.tourneylastupdated {
	font-size: 10pt;
	color: gray;
	margin-left: 10px;
	margin-bottom: 10px;
}

div.organiserlinkcontainer {
    position: absolute;
    top: 0;
    right: 0;
    text-align: right;
}

div.banner {
    width: 100%;
	text-align: center;
	background-color: #880000;
	color: white;
	padding: 10px;
	font-size: 14pt;
}

div.footer {
	margin-top: 20px;
}

#maindatacontainer {
	position: relative;
    width: 100%;
}

#rightcolumn {
	position: absolute;
	left: 50%;
	top: 0px;
	width: 50%;
	margin-bottom: 20px;
}

div.newsfeedheading {
	font-size: 14pt;
	color: gray;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	margin-left: 0.3em;
}

div.videprintertimestamp {
	border-top: 1px solid #888888;
	padding-top: 0.2em;
}

span.videprintertimestamptext {
	font-size: 12pt;
	color: gray;
	margin-left: 0.3em;
}

div.videprinterentry {
	/*border-bottom: 1px solid #cccccc;*/
	padding-top: 0.2em;
	padding-bottom: 0.2em;
}

div.videprinterentrynews {
	border-left: 3px solid orange;
	padding-left: 1em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	margin-top: 2px;
	background-color: #ffffcc;
}

@keyframes videprinterentrygamenew {
	from { background-color: #88ccff; }
	to { background-color: #fff; }
}

@keyframes videprinterentrynewsnew {
	from { background-color: orange; }
	to { background-color: #ffc; }
}

span.vpentrypart {
	margin-left: 0.3em;
	margin-right: 0.3em;
}

span.videprinterroundandtable {
	color: gray;
}

span.videprintercorrection {
	color: gray;
}

span.videprinterplayername {
}

span.videprinterscore {
	/* This element already has spaces either side of it */
	margin-left: 0.15em;
	margin-right: 0.15em;
}

div.videprinterentrysuperseded {
	color: gray;
	text-decoration: line-through;
}

div.blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1;
    background: rgba(255, 255, 255, 0%);
    backdrop-filter: blur(5px);
}

#leftcolumn {
	position: absolute;
	left: 0%;
	top: 0px;
	margin-bottom: 20px;
	width: 48%;
	border-left: 1px solid silver;
}

#tablecontent {
	padding-left: 15px;
}

table.gametable {
	border-collapse: collapse;
	margin-top: 1em;
}

table.gametable th {
    padding-top: 1ex;
}

table.gametable td {
}

table.gametable tr.played {
	background-color: white;
	border-bottom: 2px solid transparent;
}

table.gametable tr.played:hover {
	background-color: #eef;
	border-bottom: 2px solid transparent;
}

table.gametable tr.unplayed {
	background-color: #e8e8e8;
	border-bottom: 2px solid transparent;
}

table.gametable tr.unplayed:hover {
	background-color: #eef;
	border-bottom: 2px solid transparent;
}

table.gametable tr.gametablelastrowingroup td {
	border-bottom: 2px solid silver;
}

table.gametable td.gametablescore {
	text-align: center;
	min-width: 4em;
	padding-left: 0.5em;
	padding-right: 0.5em;
}

@keyframes gametablescorenew {
	from { background-color: #88ccff; }
	to { background-color: transparent; }
}

table.gametable td.gametablescoreunplayed {
	color: gray;
}

table.gametable td.gametableleftplayer {
	text-align: right;
	padding-left: 1em;
}

table.gametable td.gametablerightplayer {
	text-align: left;
	padding-right: 1em;
}

table.gametable tr td.gametablenumber {
	text-align: center;
	min-width: 2em;
	border-bottom: 2px solid silver;
	background-color: white;
	font-size: 16pt;
	color: black;
}

table.gametable th {
	border-bottom: 2px solid silver;
}


table.standingstable {
	border-collapse: collapse;
	margin-top: 1em;
}

table.standingstable th {
	padding-left: 0.5em;
	padding-right: 0.5em;
	border-bottom: 2px solid white;
	font-weight: normal;
	background-color: #dddddd;
}

table.standingstable th.standingsdivision {
	font-weight: bold;
	text-align: left;
}

table.standingstable tr.standingsrow {
	background-color: #ffee88;
}

table.standingstable tr.standingsrow:hover {
	background-color: #e0d070;
}

table.standingstable td {
	text-align: left;
	padding-left: 0.5em;
	padding-right: 0.5em;
	border-bottom: 2px solid white;
}

table.standingstable th.standingsnumber {
	text-align: right;
}

table.standingstable td.standingsnumber {
	text-align: right;
    font-variant-numeric: tabular-nums;
}

table.standingstable tr.standingsrowfinals {
	background-color: #aaffaa;
}

table.standingstable tr.standingsrowfinals:hover {
	background-color: #88ff88;
}

table.standingstable tr.standingsrowqualified {
	background-color: #88ff88;
}

table.standingstable tr.standingsrowqualified:hover {
	background-color: #66dd66;
}

table.standingstable tr.standingsrowwithdrawn {
	background-color: silver;
}

table.standingstable tr.standingsrowwithdrawn:hover {
	background-color: #aaaaaa;
}

table.standingstable td.standingsfinals {
	text-align: center;
	font-weight: bold;
}

table.standingstable td.standingswins {
	font-weight: bold;
}

table.standingstable td.standingspoints {
	font-weight: bold;
}

button {
	font-family: 'Roboto', sans-serif;
	font-size: 14pt;
}

#standingsbutton {
	display: inline-block;
	/*float: left;*/
}

div.tableselector {
	text-align: left;
	margin: 10px;
	clear: both;
}

div.selector {
	text-align: left;
	margin-left: 10px;
}

#gamesselector {
	display: inline-block;
}

#gamesselector button {
}

button.selector {
	padding: 10px 10px 10px 10px;
	margin: 5px;
	background-color: #ffdd55;
	color: black;
	cursor: pointer;
}

button.viewselector {
	padding: 10px 20px 10px 20px;
}

button.selectorpressed {
	background-color: black;
	color: white;
	border: 2px inset silver;
	cursor: default;
}

#tablecontent {
	clear: both;
}

a.playerlink {
    color: black;
}

a.playerlink:hover {
    color: blue;
}

div.videprinterentrysuperseded a.playerlink {
    color: gray;
}

button.rightcolumnclose {
    position: absolute;
    z-index: 2;
    right: 0%;
    top: 0%;
    margin-top: 1px;
    margin-right: 1px;
    font-size: 24pt;
    width: 50px;
    height: 50px;
    background: #dddddd;
    cursor: pointer;
}

div.rightcolumnplayergames {
    position: absolute;
    z-index: 2;
    top: 5px;
    left: 0px;
    padding: 15px;
    width: 100%;
    box-shadow: 4px 4px 12px black;
    background-color: #fffdd0;
}

div.playergamesheadingbar {
    position: relative;
    width: 100%;
    font-size: 16pt;
    min-height: 50px;
    line-height: 50px;
    color: black;
}

.playeroutcomeindicator {
    padding: 2px 3px 2px 3px;
    width: 1.2em;
    text-align: center;
}

.playeroutcomeindicatorwin {
    background-color: hsl(120deg, 100%, 35%);
    color: white;
}

.playeroutcomeindicatordraw {
    background-color: hsl(60deg, 100%, 50%);
    color: black;
}

.playeroutcomeindicatorloss {
    background-color: hsl(0deg, 100%, 35%);
    color: white;
}

table.gametable th.gametablenumbercolumn {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

td.playeroutcome {
    text-align: center;
}

td.playercumulativegamesplayed {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

td.playercumulativewins {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

td.playercumulativepoints {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

.gametablenumbercolumn {
    text-align: right;
}
