

@media print
{
	div.background, table.pieces, div.nav
	{
		display: none;
	}

	.contacts-page div.box
	{
		float: none;
		width: auto;
	}

	div.box
	{
		border: 1px solid #555555;
	}

	.bury-map-page div.box, .bury-map-page .instructions, .game-page div.box
	{
		display: none;
	}

	.expanded
	{
		display: block;
	}

	a:link, a:visited, a:active, a:hover
	{
		color: inherit;
		text-decoration: none;
	}
}

@media screen
{
	.expanded
	{
		display: none;
	}

	.content a
	{
		color: #6699FF;
		text-decoration: underline;
	}
}

html, body, table, img, button, iframe, ul, li
{
	margin: 0;
	padding: 0;
	border: 0;
}

em
{
	font-weight: bold;
	font-style: normal;
}

table
{
	text-align:left;
}

span.box
{
	border: inset 1px;
	background-color: #ffffff;
	padding-left: 2px;
}

.form td, .form th
{
	vertical-align: top;
	padding: 0;
	margin: 0;
}

.form th
{
	padding-top: 4px;
}

label.short
{
	white-space: nowrap;
}

.form td.help
{
	padding-left: 0.5em;
}

.form td p
{
	margin-top: 4px;
}

.script-only
{
	display: none;
}

.pieces
{
	height: 120px;
	background: url(/images/pieces) no-repeat 0px 0px;
}

div.background
{
	position: absolute;
	background: url(/images/board) no-repeat top right;
}

div.body
{
	background: url(/images/board) no-repeat top right;
}

td.banner
{
	padding: 10px;
}

#search
{
	margin: 10px;
}

#search a
{
	text-decoration: underline;
}

input.inset
{
	border: 1px solid inset;
}

body
{
	position: relative;
	font-family: arial, helvetica, sans-serif, MS Sans Serif;
	font-size: 0.9em;
        color: #000000;
	background: #ffffff;
}

.shadow
{
	position: relative;
	background-color: #336699;
}

.shadow-content
{
	position: relative;
	top: -5px;
	left: -5px;
	background-color: #6699ff;
}

form
{
	padding: 0;
	margin: 0;
}

#logon
{
	background-color: #6699ff;
	padding: 4px;
	margin: 0;
	padding: 2px 4px;
}

.button
{
	background: #daddff url(/images/button) repeat-x center bottom;
	border-bottom: 1px outset #A7A6AA;
	border-right: 1px outset #A7A6AA;
	border-top: 1px outset #EBE9ED;
	border-left: 1px outset #EBE9ED;
	cursor: hand;
}

.button:hover
{
	border-color: #FFD147;
}

.logon .button
{
	font-size: 1em;
	margin-right: 0.5em;
}

.logon input.box
{
	border: 1px inset;
	width: 10em;
	margin-left: 0.5em;
}

.logon span
{
	vertical-align: middle;
	white-space: nowrap;
}

.logon th
{
	white-space: nowrap;
}

.signed-in
{
	padding-top: 2px;
	padding-bottom: 2px;
}

div.dynamic-error
{
	display: none;
	color: #ff0000;
}

div.server-error
{
	display: block;
	color: #ff0000;
}

table.county-result
{
	width: 1em;
}

table.county-result th
{
	padding-right: 1em;
}

table.county-result .help
{
	white-space: nowrap;
}

table.county-result .button
{
	margin: 1em;
}

table.current-county-results
{
	float: left;
	margin: 0 1em 1em 0;
}

.generated-form div.error
{
	border: 1px solid black;
	color: #ff0000;
	padding: 0 1em;
	margin-top: 1em;
}

.confirmation
{
	color: #00cc00;
}

.generated-form div.message
{
	border: 1px solid black;
	color: #00ff00;
	padding: 0 1em;
	margin-top: 1em;
}

.small td, .small th
{
	font-size: 80%;
}

img.banner
{
	border: 0;
	margin: 0;
	padding: 0;
	float: left;
}

div.logo-container
{
	position: relative;
	top: 0;
	left: 0;
}

div.logo
{
	position: absolute;
	top: -55px;
	left: 0;
	width: 95px;
	height: 104px;
	background: url(/images/tile) center;
}

.logo img
{
	position: relative;
	left: 25px;
	top: 35px;
}

div.break
{
	clear: both;
	margin: 0.2em;
}

div.menu
{
	text-align: center;
}

span.menu
{
	display: inline;
	float: left;
	border: 1px solid;
	border-top-color: #4475B8;
	border-left-color: #4475B8;
	border-bottom-color: #265488;
	border-right-color: #265488;
	white-space: nowrap;
	margin: 1px;
	background-color: #336699;
	font-size: 1em;
}

.nav table
{
	table-layout: fixed;
	background-color: #336699;
}

.nav td.search
{
	width: 10em;
}

.search .textbox
{
	width: 9em;
}

.search .button
{
	font-size: 95%;
}

div.nav
{
	margin: 0;
	padding: 0;
}

ul { margin-left:20px; }       /* kill default 50px left padding and set 20px */
li { margin-bottom:1em; }          /* set default inter-item vertical spacing */

.nav ul
{
	margin: 5px 0px 4px 0px;
	padding: 0px;
	border: 0px;
	list-style-type: none;
}

.nav li
{
	border: 0px;
	display: inline;
}

.nav a
{
	margin: 0px;
	padding: 0px 9px 0px 9px;
	font-weight: bold;
}

.nav a:link, .nav a:visited, .nav a:active, .nav a:hover
{
	color: white;
	text-decoration: none;
}

ul.links
{
	list-style-type: none;
	margin-left: 1em;
}

ul.reports
{
	list-style-type: none;
	margin-left: 1em;
}

ul.reports li
{
	font-size: 80%;
}

div.content
{
	position: relative;
	margin: 10px;
}

div.links ul
{
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

h1, h2
{
	margin: 0.5em 0;
	padding: 0;
}

p
{
	margin: 1em 0;
	padding: 0;
}

.content h1
{
	font-size: 150%;
	color: #006699;
}

.content h2
{
	font-size: 135%;
}

.content h3
{
	font-size: 120%;
}

div.box
{
	position: relative;
	top: 0;
	left: 0;
	width: 250px;
	margin-left: 0.5em;
	margin-bottom: 0.5em;
}

div.shadow-content
{
	padding: 0.5em 0em;
}

.box h1
{
	font-size: 110%;
	border-bottom: 1px solid white;
	padding: 0;
	margin: 1em 0.8em;
	color: white;
}

.box p
{
	padding: 0;
	margin: 1em 1em 1em 1em;
}

.shadow-content a, .wizard a
{
	color: black;
}

.float
{
	float: right;
}

.half
{
	width: 50%;
}

div.round
{
	float: left;
	margin-right: 2em;
}

div.town-v-gown-box div.box
{
	margin-bottom: 25em;
}

div.box form
{
	display: inline;
}

div.box .first
{
	margin-top: 0;
}

div.box .last
{
	margin-bottom: 0;
}

.box ul
{
	list-style-type: none;
	list-style: none outside;
	padding-left: 0em;
}

.box li
{
	margin: 1px 1em 1px 0;
	padding: 0;
}

.box li p
{
	margin: 0.5em 0;
}

.published
{
	font-style: italic;
}

.footer
{
	clear: both;
	color: gray;
	font-size: 80%;
	font-style: italic;
}

.slogan
{
	font-style: italic;
}

.contacts td
{
	padding-left: 0.5em;
	padding-right: 0.5em;
	vertical-align: top;
}

table.archive
{
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

table.archive td
{
	text-align: center;
}


table.card-file
{
	border: 1px solid black;
}

table.card-file.th
{
	text-align: left;
	font-weight: normal;
}

table.results
{
	border: 1px solid black;
	margin-top: 1em;
}

table.results td
{
	background-color: #eeeedd;
}


table.card-file td.heading
{
	padding-right: 2em;
}

table.results td.heading
{
	font-weight: bold;
	text-align: center;
}

table.results td.name
{
	padding-left: 1em;
	padding-right: 1em;
}

td.score
{
	text-align: center;
	width: 2em;
}

td.games
{
	text-align: center;
	width: 2em;
}

.grade
{
	text-align: right;
}

.search-results ol
{
	margin-left: 0;
	padding-left: 1em;
}

.search-results li
{
	margin-left: 1em;
	padding-left: 0;
	padding-right: 0;
	list-style-position: outside;
}

.citation .found
{
	font-weight: bold;
}

.map
{
	float: left;
	width: 460px;
	text-align: center;
	margin-right: 1em;
}

.map-list td
{
	padding-top: 0;
	margin-top: 0;
}

.map-list p
{
	margin-top: 0;
}

.map-list .marker
{
	vertical-align: top;
}

.published-date
{
	font-size: 0.7em;
	font-style: italic;
}

.W, .w
{
	background-color: #eeeeee;
}

.B, .b
{
	background-color: #aaaaaa;
}

.board
{
	text-align: center;
	vertical-align: middle;
	font-size: 0.7em;
}

div.wizard
{
	margin-left: 5em;
	margin-right: 5em;
	background-color: #daddff;
}

div.wizard div.heading
{
	padding: 0.2em 1em;
	background-color: #6699ff;
}

div.wizard div.instructions
{
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom: 0.5em;
}

div.wizard div.heading .step
{
	vertical-align: middle;
	white-space: nowrap;
}

div.wizard div.heading .title
{
	vertical-align: middle;
	width: 90%;
	text-align: left;
}

div.wizard div.heading .restart
{
	text-align: right;
	vertical-align: middle;
	white-space: nowrap;
}

.form select
{
	margin-top: 2px;
}

div.faq td
{
	vertical-align: top;
}

div.faq .question
{
	background-color: #daddff;
}

div.highlight
{
	width: 75%;
	background-color: white;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding: 0.5em;
}

.registration-code
{
	font-family: Courier New;
}

.highlight .registration-code
{
	font-size: 1.25em;
	white-space: nowrap;
}

p.separator
{
	font-size: 2em;
	text-align: center;
	margin: 0;
	padding: 0;
	color: #aaaaaa;
}

.county-instructions
{
	float: left;
}

.calendar .date, .calendar .event
{
	white-space: nowrap;
	padding-right: 1em;
}

.left-player, .right-player
{
	white-space: nowrap;
}

.left-player
{
	text-align: right;
}

.schedule th
{
	padding-right: 1em;
	width: 33%;
}

td.round
{
	text-align: center;
}

.swiss-summary th
{
	text-align: left;
}

.swiss-summary th, .swiss-summary td
{
	padding: 0 0.5em;
}

.swiss-summary .position
{
	padding: 0;
	text-align: center;
}

.no-wrap
{
	white-space: nowrap;
}

.fill
{
	width: 90%;
}

.honours-page .image
{
	text-align: center;
}
