/* Some bits from Classless.css v1.0
*/
:root, html[data-theme='light'] {
	--rem: 12pt;
	--width: 50rem;
	--font-p: 1em/1.7 'Open Sans', 'DejaVu Sans', FreeSans, Helvetica, sans-serif;
	--font-h: .9em/1.5 'Open Sans', 'DejaVu Sans', FreeSans, Helvetica, sans-serif;
	/* foreground   | background color */
	--cfg: #433;
	--cbg: #fefbf4;
	--cdark: #888;
	--clight: #f5f6f7;
	--cmed: #d1d1d1;
	--clink: rgb(4, 16, 119);
	--cemph: #088;
	/* and for CASPA */
	--win:   #bcfdbc;
	--loss:   #fbaaaa;
	--bye: #f9f98d;
	--draw:  #a8a8fc;;
	--scheduled: #E1E1E1;
}


/* 2. Reset –––––––––––––––––––––––––––––––––––––––––––– */

/* reset block elements  */
* {
	box-sizing: border-box;
	border-spacing: 0;
	margin: 0;
	padding: 0;
}

header, footer, figure, table, video, details, blockquote,
ul, ol, dl, fieldset, pre, pre>code, caption {
	display: block;
	margin: 0.5rem 0rem 1rem;
	width: 100%;
	overflow: auto hidden;
	text-align: left;
}

video, summary, input, select {
	outline: none;
}

/* reset clickable things  (FF Bug: select:hover prevents usage) */
a, button, select, summary {
	color: var(--clink);
	cursor: pointer;
}


/* 3. Base Style ––––––––––––––––––––––––––––––––––––––– */
html {
	font-size: var(--rem);
	background: var(--cbg);
}

body {
	position: relative;
	margin: auto;
	max-width: var(--width);
	font: var(--font-p);
	color: var(--cfg);
	padding: 3.0rem 0.6rem 0;
	overflow-x: hidden;
}

body>footer {
	margin: 10rem 0rem 0rem;
	font-size: 90%;
}

p {
	margin: .6em 0;
}

/* links */
a[href] {
	text-decoration: underline solid var(--cmed);
	text-underline-position: under;
}

a[href^="#"] {
	text-decoration: none;
}

a:hover, button:not([disabled]):hover, summary:hover {
	filter: brightness(92%);
	color: var(--cemph);
	border-color: var(--cemph);
}

/* headings */
h1, h2, h3, h4, h5 {
	margin: 1.5em 0 .5rem;
	font: var(--font-h);
	line-height: 1.2em;
	clear: both;
}

h1+h2, h2+h3, h3+h4, h4+h5 {
	margin-top: .5em;
	padding-top: 0;
}

/* non-clashing headings */

h1 {
	font-size: 1.5em;
	font-weight: 300;
}

h2 {
	font-size: 1.0em;
	font-weight: 300;
	font-variant: small-caps;
}

h3 {
	font-size: 0.8em;
	font-weight: 400;
}

h4 {
	font-size: 0.5em;
	font-weight: 700;
}

/* figures */
img, svg {
	max-width: 100%;
	vertical-align: text-top;
	object-fit: cover;
}

p>img:not(:only-child) {
	float: left;
	margin: 0 0 .5em .5em;
}

.rat img {
 height: 180px;
}

figure > img { display: inline-block; width: auto; }
figure > img:only-of-type, figure > svg:only-of-type { max-width: 100%; display: block; margin: 0 auto 0.4em; }
figcaption, caption { font: var(--font-h); color: var(--cdark); width: 100%; }
figcaption > *:first-child, caption > *:first-child { display: inline-block; margin: 0; }
figure > *:not(:last-child) { margin-bottom: 0.4rem; }

/* 5. Bootstrap-compatible classes  */

/* grid */
.row { display: flex; margin:  0.5rem -0.6rem; align-items: stretch; }
.row [class*="col"] { padding: 0  0.6rem; }
.row .col   { flex: 1 1 100%; }
.row .col-2 { flex: 0 0 16.66%; max-width: 16.66%;}
.row .col-3 { flex: 0 0 25%; max-width: 25%;}
.row .col-4 { flex: 0 0 33.33%; max-width: 33.33%; }
.row .col-5 { flex: 0 0 41.66%; max-width: 41.66%; }
.row .col-6 { flex: 0 0 50%; max-width: 50%; }
@media (max-width: 40rem) { .row { flex-direction: column; } }

/* From the old caspa.css  */

#header{
  background: #226644 url(auslogo.gif) no-repeat center right;
  color: #fff;
  margin: 0 0 0 0;
  height: 120px;
  padding: 3px;
    }
 
	#header a{
		color: #fff;
		}

		
  
.right {
	float: right;
}

.left {
	float: left;
}

#playerresults {
	margin: 0 0 0 0;
}

#playerresults img {
	float: left;
	padding: 5px;
}

#playerresults .NSW {
	background: url(nswmap.gif) no-repeat center left;
	margin: 0 0 0 200px;
	padding: 0 0 0 80px;
}

#playerresults .VIC {
	background: url(vicmap.gif) no-repeat center left;
	margin: 0 0 0 200px;
	padding: 0 0 0 80px;
}

#playerresults .SA {
	background: url(samap.gif) no-repeat center left;
	margin: 0 0 0 200px;
	padding: 0 0 0 80px;
}

#playerresults .QLD {
	background: url(qldmap.gif) no-repeat center left;
	margin: 0 0 0 200px;
	padding: 0 0 0 80px;
}

#playerresults .WA {
	background: url(wamap.gif) no-repeat center left;
	margin: 0 0 0 200px;
	padding: 0 0 0 80px;
}

#playerresults .TAS {
	background: url(tasmap.gif) no-repeat center left;
	margin: 0 0 0 200px;
	padding: 0 0 0 80px;
}

#playerresults .ACT {
	background: url(actmap.gif) no-repeat center left;
	margin: 0 0 0 200px;
	padding: 0 0 0 80px;
}

#playerresults .NZ {
	background: url(kiwi.gif) no-repeat center left;
	margin: 0 0 0 185px;
	padding: 0 0 0 60px;
}

#playerresults .AUS {
	background: url(roo.gif) no-repeat center left;
	margin: 0 0 0 185px;
	padding: 0 0 0 60px;
}

/* tables from Classless.css */
td, th {
	padding: 0.3em 0.2em;
	text-align: left;
	border-bottom: 0.1rem solid var(--cmed);
	white-space: nowrap;
	font-size: 95%;
}

thead th[colspan] {
	padding: 0.3em 0.2em;
	text-align: center;
}

thead tr:not(:only-child) td {
	padding: .2em 0.8em;
}

thead+tbody tr:first-child td {
	border-top: 0.1rem solid var(--cdark);
}

/* td:first-child, th:first-child {
	text-align: left;
}
 */
table img {
	display: block;
}


/* Tables
--ASPA Styles for win etc------------------------------------ */
.results tr {
	background-color: rgb(248, 241, 232);
}
table tr.important {
	font-weight: bold;
}

table tr.white {
	background: #FFFFFF;
}

table tr.win {
	background: var(--win);
}

table tr.bye {
	background: var(--bye);
}

table tr.loss {
	background: var(--loss);
}

table tr.draw {
	background: var(--draw);
}
table tr.scheduled {
	background: var(--scheduled);
}


table tr.teamdraw {
	background: url(teamdraw.gif);
}

table tr.legend {
	font-size: .8em;
}

table td.legendwin {
	background: var(--win);
	text-align: left;
}

table td.legendbye {
	background: var(--bye);
	text-align: left;
}

table td.legendscheduled {
	background: var(--scheduled);
	text-align: left;
}

table td.legendloss {
	background: var(--loss);
	text-align: left;
}

table td.legenddraw {
	background: var(--draw);
	text-align: left;
}

table td.NSW, table tr.NSW {
	background: #D2D2FF;
}

table td.VIC, table tr.VIC {
	background: #C4FFBC
}

table td.SA, table tr.SA {
	background: #FFC4C4;
}

table td.QLD, table tr.QLD {
	background: #FFFF99;
}

table td.WA, table tr.WA {
	background: #F8C89C;
}

table td.TAS, table tr.TAS {
	background: #C0FAE7;
}

table td.ACT, table tr.ACT {
	background: #E3B6FF;
}

table td.AUS, table tr.AUS {
	background: #FFFF99;
}

table td.NZ, table tr.NZ {
	background: #CCCCCC;
}

table tr.USA {
	background: aquamarine;
}

table tr.JAP {
	background: goldenrod;
}

table tr.CAN {
	background: coral;
}

table tr.PHI {
	background: lightsalmon;
}

table tr.SNG {
	background: palevioletred;
}

table tr.SRI {
	background: peru;
}

table tr.MAL {
	background: skyblue;
}

table tr.THA {
	background: yellow;
}

table tr.HK {
	background: aqua;
}

table tr.INT {
	background: ghostwhite;
}