* {
	padding:0;
	margin:0;
}

body {
	font: 90%/130% Arial, Verdana, sans-serif;
	color: #111;
	\\background:#c3c3c3 url(/gfx/background.png) 54.6% 0 repeat-y;
	background:#c3c3c3 url(/gfx/background.png) repeat-y fixed 50% 0;
	border: 0;
	text-align:center;
	\\margin-left: 38px;
	\\margin-left: 25%;
	\\margin-right: 25%;
}

#mainContainer {

	\\margin:  auto ;
	border: 0;
	padding-left: 2px;
	margin-left: auto;
	margin-right: auto;
	text-align:left;
	width: 770px;
	
}
@media screen { #mainContainer {
	width:770px;
	
}}

h2   {
	font-size: 1.5em;
	margin-bottom:1em;
}

h3 {
	font-size: 1.1em;
	font-weight: bold;
	margin-bottom:0.5em;
}
legend {
	display: none;
}
h4   {
	font-size: 1.0em;
	margin-bottom:0.5em;
}

p {
	margin: 0 0 1em 0;
}

img  {
	border:0px;
}

fieldset
{
	border: none;
}

.textarea label {
	font-family: Arial, Verdana, sans-serif;
	font-size: 1em;
	display: block;
}
ul {
	margin: 0 0 1em 4em;
	list-style-image: url(/gfx/bullet.png);
}
a, h3 a:hover, h4 a:hover {
	color: #06c;	
	text-decoration: none;
}

a:hover {
	color: #147;
	text-decoration: underline;
}

h3, h3 a, h3 a:hover, h3 a:visited {
	text-decoration: none;
}

a:visited {
	color: #b85b5a;
}

.highlight {
	background:#ff0;
}

/* Header Bar */
@media screen {
	#header {
		width:100%;
		
	}
	#header h1 {
		padding:5px 0;
		line-height:85px;
		height:95px;
		width:645px;
		float:left;
		clear:left;
		position:relative;
		overflow:hidden;
	}
	#header h1 span {
		width:100%;
		height:100%;
		position:absolute;
		top:0;
		left:0;
		background: url(/gfx/header.jpg) no-repeat;
	}
	#header2{
		width: 645px;
		float:left;
	}
	#logo {
		width:125px;
		height:120px;
		float:left;
		background:url(/gfx/logo.jpg) no-repeat;
	}
	#shadow {
		width:100%;
		height:12px;
		/*background:url(/gfx/shadow.png) repeat-x; */
		clear:both;
	}
}
/* Nav Bar Start */
@media screen {
	#nav {
		clear: left;
		background: #eee url(/gfx/menu.gif) repeat-x;
		line-height:25px;
		width:645px;
		float:left;
		margin-top: -10px;
	}
	#nav ul {
		padding:0;
		margin:0;
		list-style:none;
	}
	
	#nav li {
		float: left;
	}
	
	#nav ul li a {
		display: block;
		padding: 0 20px;
		color: #000;
		text-decoration: none;
		font-weight: bold;
		font-size: 0.85em;
		white-space:nowrap;
		line-height:20px;
	}
}
#nav .on {
	color: #f00;
}

/* Nav Bar End */
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

#content {
	line-height: 1.5em;
	float: left;
	width: 560px;
	margin: 0px 20px 0px 20px;
}
#footer {
	clear: both;
	margin:30px 250px 0 250px;
	border-top: 1px dashed #0441B3;
	font-size:0.7em;
}
#sidebarContainer {
	font-size: 0.8em;
	float: right;
	width: 145px;
	
}
#sidebarContainer ul {
	list-style-image: none;
	list-style-type: none;
	padding:0;
	margin:0;
	padding-bottom:5px;
}
#sidebarContainer ul li:before {
	content: "\00BB \0020";
}
#sidebarContainer ul li {
	padding: 0 0 0 3px;
}

#sidebarContainer #mrContainer, #sidebarContainer #adContainer {
    background: url(/gfx/sidebar-top.png) no-repeat top left;
    padding-top: 9px;
}

#sidebarContainer #mrContainer label {
	position: absolute;
	left: -999em;
}

#sidebarContainer #loginContainer {
	background: url(/gfx/sidebar-top.png) no-repeat top left;
  padding-top: 9px;
  margin-top: 2em;
}

#mrContainer #mrContent, #loginContainer #loginContent, #adContainer #adContent {
	padding:5px;
	background: #eee url(/gfx/sidebar-bottom.png) no-repeat bottom left;
}

#sidebarContainer form {
	padding: 0.2em 0 0.5em 0;
}

#sidebarContainer input {
	width:125px;
}

#adContainer {
	margin:1em 0;
}

#mrContainer #search-go, #loginContainer #login-go {
	font-size: 1.0em;
	background: none;
	border: 0;
	cursor: pointer;
}

/* Match Reports */
#prevmr {
	margin-top: -1.5em;
	margin-bottom: 0.7em;
	float: left;
}
#nextmr {
	margin-top: -1.5em;
	margin-bottom: 0.7em;
	float: right;
}
.matchreport {
	margin: 0 0 2em 0.5em;
	clear: both;
}
.matchreport h2 {
	margin-bottom:0;
}
.matchreport p {
	margin-left:1em;
}

.matchreport .date {
	font-size: 0.8em;
	color: #999;
	display: block;
	margin-bottom:1em;
	margin-top:-0.8em;
}
.matchreport .readmore {
	font-size: 0.9em;
	display: block;
	margin-top:-0.5em;
}
.matchreport .readmore:after {
	content: " \00BB";
}
.matchreport img {
	display: block;
	padding-left:1em;
	margin:0 auto 1em auto;
}
.matchreport table {
	margin-left: 1em;
}

#juniors #content img { margin:5px; padding:5px; border:1px #c3c3c3 solid; }

#links #content ul {list-style:none none; margin:0;}
#links #content ul li {clear: left; margin: 10px 0;}
#links #content ul li img { float:left; margin: 0 5px;}
#links #content ul li h3 { line-height:1; padding:0; margin:0;}
#links #content ul li p { margin-left:130px;}

#contact #emailform { width: 25em; }

#badmintonrules #content dt {
	clear:both;
	float:left;
	width:100%;
}
#badmintonrules #content dd {
	margin-left:4em;
	margin-bottom:0.5em;
}

#badmintonrules #content img {
	display:block;
	margin:0 auto;
}
#badmintonrules #content ol {
	list-style-position:inside;
}

#badmintonrules #content #definitions dt {
	width:8em;
}
#badmintonrules #content #definitions dd {
	margin-left:9em;
}

#badmintonrules #content div {
	clear:both;
}
#badmintonrules #content .printable {
	text-align:right;
}

#badmintonrules #content #index{
	list-style-image:none;
	list-style:none;
	margin-left:0;
	float:left;
}

#constitution ol ol {
	list-style:lower-alpha;/502
	margin-bottom:0.5em;
}

@media handheld { body {
	font-size:100%;
	background-image:none;
	background-color:transparent;
}}
@media handheld { #content {
	margin: 5px;
}}
@media handheld { #footer {
	margin: 5px;
}}
@media handheld { #logo {
		display:none;
}}
@media handheld { #shadow {
		display:none;
}}
@media handheld { #header h1 span {
		display:none;
}}
@media handheld { #header h1 {
		padding:0.2em;
}}
@media handheld { #nav {
		height:1em;
		line-height:normal;
		clear:none;
		float:none;
		background-color:transparent;
		background-image:none;
}}
@media handheld { #nav ul {
		list-style: none;
		margin:5px;
}}
@media handheld { #nav ul li a {
		padding:0;
}}
@media handheld { ul {
		margin:0 0 1em 2em;
}}

.tracker {position:absolute;}
