html{counter-reset: board-num 0;}

h2:first-child{
	border-top:3px ridge #FD0;
	margin-top:5px;
}

table.tour, table.tour td, table.tour th{
	border-style:solid;
	border-color:#001;
	border-collapse:collapse;
	margin:0 auto;
}

table.tour{
	border-width:3px;
	margin-top:1em;
}

table.tour td, table.tour th{
	height:2em;
	width:2em;
	text-align:center;
	padding:5px;
	border-width:1px;
}

table.tour td{
	background:#DFBB7F;
	color:#300;
	font-family:monospace;
}

table.tour td.corner, table.tour th{
	background:#040;
	color:#FD0;
}

#Tour_3X4_solutions{text-align:center;}

#Tour_3x4 table{
	display:inline-table;
	margin:0px auto 20px;
	
}

#Tour_3x4 caption{font-family:inherit;}

table.tour tr.colnums, table.tour tbody{font-size:8pt;}

table.tour thead th, table.tour thead td{border-bottom-width:2px;}

table.tour tfoot tr:first-child th, table.tour tfoot tr:first-child td{border-top-width:2px;}

table.tour th:first-child, table.tour td.corner:first-child{border-right-width:2px;}

table.tour tbody td+ th, table.tour th + td.corner{border-left-width:2px;}

table.tour tfoot td.buttons{min-width:10em;}

#TourDesc{width:7em;}

th.tour_desc{text-align:center;}

/*  JS-Specific Styling */

table.tour td.marked{
	background:#020;
	font-weight:normal;
	color:#FD0;
	font-family:monospace;
}

table.tour td.curr{
	font-family:monospace;
	background:#FD0;
	font-weight:bold;
	font-style:italic;
	color:#040;
}

table.tour tfoot td.buttons{background:#040;}

table.tour td.buttons button{
	background:#040;
	color:#FD0;
	border-color:#010;
	margin:0px 7px;
	font-weight:bold;
}

table.tour td.buttons button:disabled{
	background:#010;
	color:#FD0;
	border-color:#010;
	border-style:solid;
	font-weight:normal;
}