* {
	touch-action: manipulation;
}

.disabled {
	color:#aaa;
/*		background: none repeat scroll 0 0 burlyWood;*/
	cursor: default !important;
}

.thegame {
  padding: 4px 6px;
  width: 60%;
  text-align: center;
}

input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button 
{
	-webkit-appearance: none;
	margin: 0; 
}

/* #### Mobile Phones Portrait or Landscape #### */
@media screen and (max-device-width: 800px){
	.thegame
	{
		font-size: 1.25rem;
	}
}

.mainheading {
  padding: 4px 6px;
  width: 400px;
  font-size: 2.3rem;
  text-align: center;
}

.subheading {
  padding: 10px 6px;
  width: 400px;
  text-align: center;
  font-style: italic;
  font-size: 1.17rem;
}

.wideBox {
  clear: both;
  text-align: center;
  margin-bottom: 10px;
  padding: 10px;
  background: #ebedf2;
  border: 1px solid #333;
  /*line-height: 80%;*/
}

.box {
  margin: 10px auto;
  overflow: hidden;
  text-align: center;
  padding: 5px;
  background: #ebedf2;
  border: 1px solid #333;
}

.displayinfo
{
	border:solid 2pt #D33;
	background:rgb(231, 253, 250);
	margin:10px auto;
	font-style: italic;
	color:#036;	
	width:80%;
	display: table;
	padding:10px 10px;
	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
} 

.altdisplayinfo {
	background:#ffd;
	margin:10px auto;
	font-style: italic;
	color:#036;	
	display: table;
	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
	text-align:left;
	max-width:60%;
	padding:0px 10px;
	border:2pt #369 solid;
}
		
.displayit 
{
	border:solid 2pt #369;
	background:#FFD;
	margin:10px 30px;
	font-size:0.95rem;
/* 			width:80%; */
	display: table;
	padding:0px 10px;
	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
} 

.quotebox {
  margin: 10px 15%;
  overflow: hidden;
  text-align: left;
  padding: 5px;
  background: #ebedf2;
  border: 1px solid #333;
}

.roundbox
{
	box-shadow: 1px 1px 3px #000;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

.leftbox { 
	width: 30%; padding: 10px; float: left; 
}

.rightbox { 
	width: 30%; padding: 10px; float: right;
}

.clear { 
	clear: both;
}

.link {
	cursor: pointer;
}

.simplelink {
	text-decoration:none;
}

.simplelink:visited {
	color:inherit;
}

.simplelink:hover {
	text-decoration:underline;
	color:inherit;
}

.yellowlink {
	text-decoration:none;
	color: #EEA;
}

.yellowlink:link {
	text-decoration:none;
	color: #EEA;
}

.yellowlink:visited {
/* 	color: #aaa; */
	color: #EEA;
}

.yellowlink:hover {
	text-decoration:underline;
/* 	color:inherit; */
	color: #EEA;
}

.whitelink {
	text-decoration:none;
	color: #eee;
}

.whitelink:link {
	text-decoration:none;
	color: #eee;
}

.whitelink:visited {
	color: #eee;
}

.whitelink:hover {
	text-decoration:underline;
	color: #eee;
}

.bluelink {
	text-decoration:none;
	color: #36D;
}

.bluelink:visited {
	color: #36D;
}

.bluelink:hover {
	text-decoration:underline;
	color:inherit;
}

.bluelinknovisited {
	text-decoration:none;
	color: #36D;
}

.bluelinknovisited:visited {
	color: #36D;
}

.bluelinknovisited:hover {
	text-decoration:underline;
	color:inherit;
}

.bluelink2 {
	text-decoration:none;
	color: #33D !important;
}

.bluelink2:visited {
	color: #33D;
}

.bluelink2:hover {
	text-decoration:underline;
	color:inherit;
}

.automargin {
	display: inline-block;
	margin: 0 auto;
}

.centre {
	display:block;
	text-align:center;
}

.centre-inline {
	display:inline-block;
	text-align:center;
}

.emph {
	font-style: italic;
}

.normal {
	font-style: normal;
}

.bold {
	font-weight: 900;
}

.defaultfontsize {
	font-size: 1.0rem;
}

.big {
	font-size: 1.2rem;
}

.large {
	font-size: 1.5rem;
}

.huge {
	font-size: 2.0rem;
}

.small {
	font-size: 0.8rem;
}

.tiny {
	font-size: 0.7rem;
}

.drop {
	position: relative;
	top: .1em;
}

.raise {
	position: relative;
	top: -.1em;
}

.redtext {
	color: #d33;
}

.greentext {
	color: #3d3;
}

.bluetext {
	color: #33d;
}

.darkbluetext {
	color: #036;
}

.orangetext {
	color: #f70;
}

.firetext {
	color: #b22;
}

.yellowtext {
	color: #EE8;
}

.brightyellowtext {
	color: #FF8;
}

.whitetext {
	color: #FFF;
}

.blacktext {
	color: #000;
}
		
.greytext 
{ 
	color: #555; 
}

.grey 
{
	color: #444;
}

.tick 
{
	color: #3a3;
	font-family: Arial Unicode MS, Lucida Grande;
}

.tick::after
{
/* 	content: '\02009\02714'; */
	content: '\02714';
}

.cross 
{
	color: #d33;
	font-family: Arial Unicode MS, Lucida Grande
}

.cross::after
{
/* 	content: '\02009\02718'; */
	content: '\02718';
}

.nobreak
{
	white-space:nowrap;
}

.shadow
{
	text-shadow:0 0.5px 0.5px rgba(0,0,0,.3);
}

.basictable 
{
	width: 80%; 
	margin: 10px auto;
	border-collapse: collapse; 
}

.basictable th
{
	padding:2px;
	border:1px #666 solid;
	background-color:#eee;
	font-style:italic;
	display: table-cell;
}

.basictable td
{
	padding:2px;
	border:1px #ccc solid;
	display: table-cell;
}

.alternatingtable {
	width: 80%; 
	margin: 10px auto;
	border-collapse: collapse; 
}
.alternatingtable th { 
	padding: 7px; 
	border: #4e95f4 1px solid;
	display: table-cell;
	background: #036;
	color: #ddd;
}
.alternatingtable td { 
	padding: 7px; 
	display: table-cell;
	border: #4e95f4 1px solid;
}
/* provide some minimal visual accomodation for IE8 and below */
.alternatingtable tr {
	background: #b8d1f3;
}
/*  Define the background color for all the ODD background rows  */
.alternatingtable tr:nth-child(odd) { 
	background: #b8d1f3;
}
/*  Define the background color for all the EVEN background rows  */
.alternatingtable tr:nth-child(even) {
	background: #dae5f4;
}

.alternatingtablelight {
	width: 80%; 
	margin: 10px auto;
	border-collapse: collapse; 
}
.alternatingtablelight th { 
	padding: 7px; 
	border: #4e95f4 1px solid;
	display: table-cell;
	background: #036;
	color: #ddd;
}
.alternatingtablelight td { 
	padding: 7px; 
	display: table-cell;
	border: #4e95f4 1px solid;
}
/*  Define the background color for all the ODD background rows  */
.alternatingtablelight tr:nth-child(odd) { 
	background: #dfdfdf;
}
/*  Define the background color for all the EVEN background rows  */
.alternatingtablelight tr:nth-child(even) {
	background: #efefef;
}

.noselect {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.highlightfocus
{
     outline: thick solid #b3d4fc;
}

.waiting * 
{
    cursor: progress;
}

.disableelements 
{
	pointer-events: none;
	transition: all 0.5s ease-in-out;
	opacity: 0.3;
}

.hideelements 
{
	pointer-events: none;
	transition: all 0.5s ease-in-out;
	opacity: 0.0;
}

.showelements 
{
	transition: all 0.5s ease-in-out;
	opacity: 1.0;
}

.flash
{
  -moz-animation: flash 0.5s ease-out;
  -moz-animation-iteration-count: 1;

  -webkit-animation: flash 0.5s ease-out;
  -webkit-animation-iteration-count: 1;

  -ms-animation: flash 0.5s ease-out;
  -ms-animation-iteration-count: 1;
}

.flash5
{
  -moz-animation: flash 0.5s ease-out;
  -moz-animation-iteration-count: 5;

  -webkit-animation: flash 0.5s ease-out;
  -webkit-animation-iteration-count: 5;

  -ms-animation: flash 0.5s ease-out;
  -ms-animation-iteration-count: 5;
}

@-webkit-keyframes flash {
	0% { background-color:none;}
	5% { background-color:#f44;}        
	100% {background-color:none;}
}

@-moz-keyframes flash {
	0% { background-color:none;}
	5% { background-color:#f44;}        
	100% {background-color:none;}
}

@-ms-keyframes flash {
	0% { background-color:none;}
	5% { background-color:#f44;}        
	100% {background-color:none;}
}

.longpress {
    -webkit-animation: 1s longpress;
            animation: 1s longpress;
}

@-webkit-keyframes longpress {
    0%, 20% { background: red; }
    100% { background: yellow; }
}

@keyframes longpress {
    0%, 20% { background: red; }
    100% { background: yellow; }
}

.select-style {
    padding: 0;
    margin: 0;
    border: 2px solid #399;
    width: 120px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff !important;
    display: inline-table;
    vertical-align: middle;
    background: url("data:image/png;base64,R0lGODlhDwAUAIABAAAAAP///yH5BAEAAAEALAAAAAAPABQAAAIXjI+py+0Po5wH2HsXzmw//lHiSJZmUAAAOw==") no-repeat 90% 50%;
}

.select-style select {
    padding: 5px 8px;
    width: 130%;
    border: none;
    box-shadow: none;
    background-color: transparent;
    background-image: none;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

.select-style select:focus {
    outline: none;
}

.twocolumnlist
{
	columns:2;
	-moz-columns:2;
	-webkit-columns:2;
	list-style-type:disc;
	list-style-position:inside;
}

.threecolumnlist
{
	columns:3;
	-moz-columns:3;
	-webkit-columns:3;
	list-style-type:disc;
	list-style-position:inside;
}

.threecolumnlist li
{
	display:block;
	text-align:center;
}

.floatinglist li
{
	border: 1px solid #036;
	display: inline-block;
	vertical-align: top;
	padding: 5px 10px;
	margin-top: 5px;
/*  min-height: 220px;  */
/* 	min-width: 200px; */
	background: #f0ffff;
/* 	width: 200px; */
}

.floatinglist 
{
	columns:200px;
	-moz-columns:200px;
	-webkit-columns:200px;
 /* 	list-style-type:none; */
	margin-right: 40px;
}

.gridlist li
{
	border: 1px solid #036;
	display: inline-block;
	vertical-align: top;
	text-align: center;
	padding: 5px 10px;
	margin: 5px;
	min-height: 180px; 
	width: 200px;
	background: #f0ffff;
}

.gridlist 
{
	text-align: left;
	margin: 0 auto;
}

@media screen and (max-device-width: 600px){
	.floatinglist 
	{
		columns:1;
		-moz-columns:1;
		-webkit-columns:1;
		list-style-type:none;
	}

	.gridlist li
	{
		width: 70%;
	}
}

.floatinglistnoborder li
{
    display: table-cell;
	vertical-align: top;
	padding: 5px 10px;
	margin-top: 5px;
	text-align: center;
/* 	background: #f0ffff; */
}

.floatinglistnoborder 
{
	width:90%;
	display: table;
	columns:150px;
	-moz-columns:150px;
	-webkit-columns:150px;
}

@media screen and (max-device-width: 600px){
	.floatinglistnoborder 
	{
		columns:1;
		-moz-columns:1;
		-webkit-columns:1;
		list-style-type:none;
	}
}

.simpletable {
	width: 80%; 
	margin: 10px auto;
	border-collapse: collapse; 
}
.simpletable th { 
	padding: 2px; 
	border: #036 1px solid;
	display: table-cell;
	background: #ffe;
}
.simpletable td { 
	padding: 2px; 
	display: table-cell;
	border: #036 1px solid;
}
/* provide some minimal visual accomodation for IE8 and below */
.simpletable tr {
	background: #eff;
}

.roundoutline
{
	border:solid 2pt #aaa;
	background:#ffe;
	margin:25px 25px;
	padding:5px 5px;
	-webkit-border-radius: 1em;
	-moz-border-radius: 1em;
	border-radius: 1em;
} 

.progressbardiv
{
	width:80%;
	height:20px;
	text-align:left;
	border:#833 2pt solid;
	display:inline-block;
	background:#bbb;
	margin:20px auto;
}

.progressbarinner
{
	height:100%;
	width:0%;
	background:red;
	display:inline-block;
}
		
button.red-button
{
   background:radial-gradient(#FF0000,#660000) !important;
   color:white !important;
   border-color:#660000 !important;
}

button.red-button:hover
{ 
	background:radial-gradient(rgba(190,0,0,0.7),rgba(90,0,0,0.7)) !important;
	color:white !important;
	border-color:#660000 !important;
}

button.red-button:active
{
	background:radial-gradient(rgb(190,0,0),rgb(90,0,0)) !important;
	color:white !important;
	border-color:#660000;
}

@media screen and (max-device-width: 700px){
	.displayinfo { font-size: 15pt; }
	.altdisplayinfo { font-size: 15pt; }
	.displayit { font-size: 15pt; }
	.defaultfontsize { font-size: 2rem; }
	.quotebox { font-size: 15pt; }
}
