@charset "utf-8";
body  {
	font: 100% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
	background-color: #002200;
}

#container {
	width: 1000px;  /* using 20px less than a full 1024px width allows for browser chrome and avoids a horizontal scroll bar */
	background: #FFFFFF;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	border: 1px solid #000000;
	text-align: left; /* this overrides the text-align: center on the body element. */
} 
#header {
	padding: 0 10px 0 20px;  
	background-image: url(../images/headerStripe.png);
	background-repeat: repeat-x;
} 

#header img.dragon {
	float: right;
	margin-top: 15px;
	margin-right: 5px;
}

#navbar {
	height: 36px;
	border-top: solid 1px #fff;
}

#sidebar {
	margin: 0px 5px 0px 0px;
	float: right; /* since this element is floated, a width must be given */
	width: 475px; /* the actual width of this div, in standards-compliant browsers, or standards mode in Internet Explorer will include the padding and border in addition to the width */
	background: #fff; /* the background color will be displayed for the length of the content in the column, but no further */
	padding: 5px 10px;
	font-size: 0.75em;
	
}

#sidebar p, p.top {
	margin-right: 130px;
	text-align:justify;
}

#sidebar p.top {
	margin-top: 0px;
}

#sidebar img.nf, img.nc {
	float: right;
	border: none;
	clear: right;
	margin-bottom: 15px;
}

#sidebar2 {
	width: 240px;
	float: right;
	margin-right: 10px;
	margin-top: 45px;
}

#sidebar2 p {
	font-size: 0.70em;
}

#sidebar2 h2 {
	color: #4B5F32;
	font-weight:bold;
	font-size: 0.9em;
	margin-top: 2px;
	background-color: #fff;
	padding: 2px;
	border: 1px solid #4B5F32;
	
	-moz-border-radius: 6px;  /* Firefox */
	-webkit-border-radius: 6px; /* Safari and Chrome */
	-khtml-border-radius: 6px; /*Linux browsers*/
	border-radius: 6px;  /* css3 */
}

#sidebar2 .wbaSelectors, .relatedPages, .previousWinners, .information {
	border: 2px solid #CC0000;
	padding: 5px;
	margin: 0 auto 15px auto;
	background-color: #DFE8D2;	
	
	-moz-border-radius: 11px;  /* Firefox */
	-webkit-border-radius: 11px; /* Safari and Chrome */
	-khtml-border-radius: 11px; /*Linux browsers*/
	border-radius: 11px;  /* css3 */
}

#sidebar2 table.u25placings, table.rinkResults {
	border: solid 1px #000000;
	border-collapse: collapse;
	width: 98%;
	font-size: 0.75em;	
	padding: 4px;
	margin-left: 2px;
	margin-bottom: 2px;
	background-color: #fff;
}

#sidebar2 table.rinkResults {
	font-size: 0.65em;
}

#sidebar2 .photosTH {
	float: left;
	width: 110px;
	background-color: #fff;
	padding: 5px;
}

#sidebar2 .photosTH img {
	border: solid 1px #000;
	background-color: #fff;
	padding: 4px;
}

#homeContent { 
	margin: 0 450px 0 0; /* this is setup for the homepage only */
	padding: 0;
}

#homeContent #whatsNew {
	width: 450px;
	margin: 10px 0px 0px 10px;
	padding: 0;
}

#homeContent #whatsNew h2 {
	color: #fff;
	font-size: 1em;
	padding: 5px 10px;
	background-image: url(../images/whatsNewBKG.png);
	background-repeat: repeat-x;
	margin: 0;
	border: 1px solid #000;
}

#homeContent #whatsNew ul {
	list-style:none;
	margin: 0;
	padding: 0;
}

#homeContent #whatsNew li {
	padding: 15px 10px;
	border: 1px solid #000;
	background-image: url(../images/whatsNewBKG.png);
	background-repeat: repeat-x;
	color: #FFFFFF;
}

#homeContent #whatsNew li.subitem {
	border-top: none;
}

#homeContent #whatsNew a {
	color: #fff;
}

#homeContent #whatsNew img {
	float: right;
	padding-top: 1px;
	padding-right: 1px;
}

#homeContent img.bowler {
	margin-left: 10px;
	margin-top: 10px;
}

#mainContent { 
	margin: 0 275px 0 0; /* narrower sidebar for the rest of the pages */
	padding: 0; 
}

#mainContent h1, #mainContent h2, #homeContent h1, #homeContent h2 {
	color: #4B5F32;
	font-size: 1em;
	margin-left: 20px;
	margin-top: 20px;
}

#mainContent h2 {
	font-size: 0.9em;
}

#mainContent h3 {
	font-size: 12px;
	color: #4B5F32;
}


#mainContent p {
	font-size: 0.75em;
	margin-left: 20px;
}

#mainContent .officers, #mainContent .officers2 {
	margin-left: 20px;
	margin-bottom: 20px;
	width: 260px;
	float: left;
	padding: 5px;
	border: 1px solid #000;
	font-size: 0.75em;
}

#mainContent .officers2 {
	margin-right: 100px;
	float: right;
}

#mainContent table.countyChamps, table.awtrophy, table.natmp, table.wteamcomps {
	width: 550px;
	margin-left: 20px;
	margin-bottom: 20px;
	border: 1px solid #000;
	font-size: 0.75em;
	border-collapse:collapse;
}

#mainContent table.countyChamps th, table.countyChamps td, table.wteamcomps td, table.wteamcomps th {
	border: 1px solid #000;
	padding: 5px;
} 

#mainContent table.countyChamps th, table.u25db th, table.awtrophy th, table.carruthers th, table.natmp th, table.calendar th, table.trialteam th, table.wteamcomps th {
	background-color: #DFE8D2;
}

#mainContent table.trialteam th.reds {
	background-color: #fff;
	color: #FF0000;
}
#mainContent table.trialteam th.blues {
	background-color: #fff;
	color: #0033CC;
}
#mainContent table.carruthers, table.u25db, table.calendar, table.trialteam {
	border: solid 1px #000000;
	border-collapse: collapse;
	width: 98%;
	font-size: 0.75em;	
	padding: 4px;
	margin-left: 20px;
}

#mainContent table.u25db {
	margin-top: 10px;
	margin-bottom: 10px;
}

#mainContent table.carruthers th, table.carruthers td, table.u25db th, table.u25db td, table.awtrophy td, table.awtrophy th, table.natmp td, table.natmp th, table.calendar td, table.calendar th, #sidebar2 table.u25placings td, table.rinkResults td, table.trialteam th, table.trialteam td {
	text-align: left;
	border: solid 1px #000000;
	padding: 4px;
}

#mainContent table.carruthers td.redcell {
	color: #FF0000;
}

#mainContent table.carruthers td.greencell, table.natmp td.greencell {
	color: #336600;
}

#mainContent table.carruthers td.score, table.countyChamps td.score {
	width: 5%;
	text-align: center;
}

#mainContent table.carruthers a.tooltipGreen {
	text-decoration:none;
	color: #336600;
}

#mainContent table.carruthers a.tooltipRed {
	text-decoration:none;
	color: #FF0000;
}

#mainContent .searchFunction img {
	float: left;
	margin-right: 10px;
	margin-left: 10px;
}
#mainContent .searchFunction label {
	padding-left: 5px;
	font-size: 14px;
	font-weight: bold;
}

#mainContent .searchresults {
	width: 230px;
	border: 1px solid #333333;
	margin-left: 20px;
}

#mainContent .clubdetails {
	float: right;
	width: 420px;
	border: 1px solid #333333;
	margin-right: 10px;
}

#mainContent img.badge {
	float: left;
	padding: 0 10px 5px 5px;
}

#mainContent h2.countyFlash {
	background-position:right;
	background-repeat:no-repeat;
	border: solid 1px #000;
	font-size: 14px;
	font-weight: bold;
	margin-left: 5px;
	margin-right: 5px;
	padding: 2px 0 2px 5px;
}

#mainContent h2.clubname {
	padding: 2px;
	border: solid 1px #000;
	margin-left: 5px;
	margin-right: 5px;
	background-color: #DFE8D2;
}

#mainContent .sponsors ul {
	margin-left: 20px;
}

#mainContent .sponsors li {
	list-style-type:none;
	font-size: 12px;
	padding: 10px 0;
}

#mainContent .development li {
	font-size: 0.75em;	
}

#mainContent .devImgs {
	border: solid 1px #000;
}

#mainContent .academyRGT {
	float: right;
	margin-right: 60px;	
	border: solid 1px #000;
}

#mainContent .academyLFT {
	float: left;
	margin-left: 60px;
	margin-top: 15px;
	border: solid 1px #000;	
}

#mainContent .galleryMain img {
	float: left;
	margin: 0 20px 20px 20px;
	border: solid 1px #000;
}

.gallerysub {
	width: 600px;
	margin: 20px 0 0 20px;
}

.albums {
	float: left;
	width: 110px;
	margin: 0 10px 10px 10px;
	background-color: #fff;
}

.thumbnail img {
	border: solid 1px #000;
	background-color: #fff;
	padding: 4px;
}

.albums p {
	font-size: 10px;
	text-align: center;
	margin: 0 20px 0 0;
	padding: 3px;
}

#mainContent .mainPhoto {
	width: 650px;
	margin: 0 auto;
}

#mainContent .mainPhoto img {
	display:block;
 	margin:auto;
	border: solid 1px #000;
	padding: 4px;
}

#mainContent p.caption {
	color: #666666;
	font-style:italic;
	text-align: center;
}

#mainContent #contactForm {
	margin-left: 20px;
	margin-top: 40px;
}

#mainContent #contactForm label {
	float: left;
	width: 190px;
	text-align: right;
	margin-right: 10px;
	font-weight: bold;
	clear: left;
	padding: 4px;
}

#mainContent #contactForm input#button, #contactForm .alignright {
	margin-left: 210px;
}

#mainContent .contactus {
	background-image: url(../images/bowler.jpg);
	background-repeat: no-repeat;
	background-position: right top;	
	width: 95%;
	border: dashed 1px #000;
	margin-left: 20px;
}

#mainContent .contactus p.blurb {
	margin-right: 150px;
}

#mainContent .contactus p.highlight {
	margin-right: 150px;
	color: #CC0000;
	font-weight: bold;
	font-size: 14px;
}

.captchaAlign {
	position: absolute;
}

#footer { 
	padding: 0 10px 0 20px; 
} 
#footer p {
	margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	text-align:center;
	color: #999999;
	font-size: 0.75em;
}

#footer a {
	color: #999999;
}
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

.clearleft {
	clear:left;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

.redtext {
	color: #FF0000;
}

hr.news {
	margin-left: 20px;
}
