/* custom for website */

td.win,th.win { background-color: coral }

tr.rank1:not(.played0) { background-color: rgba(255, 215, 0, 0.7) !important }
tr.rank2:not(.played0) { background-color: rgba(255, 215, 0, 0.4) !important }
tr.rank3:not(.played0) { background-color: rgba(255, 215, 0, 0.2) !important }

/* highlight match winning teams, home or away */
td.rwin1, td.rwin2 { font-weight: bold }

/* td.rdra1, td.rdra2 { background-color: rgba(220, 220, 220, 0.3) } */   /* draw */
td.rvoi1, td.rvoi2 { background-color: rgba(200, 0, 0, 0.5)}   /* void */
/* td.r1, td.r2 { background-color: rgba(0, 200, 0, 0.2)} */  /* no result */

tr.hilite { background-color: #bbf !important; }
tr.awaywin { background-color: "#fee" !important; }
tr.amended { background-color: #efe !important; }
tr.marked { background-color: #fbb !important; }
tr.grouptotal { background-color: rgb(215, 241, 243) !important; }
tr.chosen { background-color: #afa !important; }
tr.error { background-color: #dc3545 !important; }
tr.tbc { background-color: lightgray !important; }

/* override the odd/even rows */
.sbdiv.table-striped > tbody > tr:nth-of-type(even) { color: #333 !important }
.sbdiv.table-striped > tbody > tr:nth-of-type(odd) { color: #222 !important }
.sbdiv.table-striped { border-color: #bbb !important }

.matchresult.table-bordered > :not(caption) > * > * { border-width: 0 }
/*.matchresult.table-bordered > thead > tr > th { padding: 0.5rem 0.2rem !important } */

/*  background color shemes for divisions
    ref: https://www.schemecolor.com/pastel-color-tones.php 
*/

.sbdiv1 { background-color: rgb(182, 194, 206)}
.sbdiv2 { background-color: rgb(152, 181, 236) }
.sbdiv3 { background-color: rgb(236, 236, 220) }
.sbdiv4 { background-color: rgb(236, 181, 152) }

table.sbdiv1 tbody tr.chosen { background-color: rgb(152, 181, 236) !important }
table.sbdiv2 tbody tr.chosen { background-color: cornflowerblue !important }
table.sbdiv3 tbody tr.chosen { background-color: cornflowerblue !important }
table.sbdiv4 tbody tr.chosen { background-color: lightgrey !important }

#page-menu-wrap {
    background-color: cornflowerblue !important
}