/* basic css */

html {
	height: 100%;
	margin-bottom: .01em;
}

body {
	margin: 20px 0 0 40px;
	padding: 0 0 25px;
	color: #666;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 13px;
	background: #fff url(../images/bw/bw_home.gif) fixed no-repeat 30px 95%;
}

#sil {
	position: fixed;
	bottom: 20px;
	left: 20px;
}

/*#home { background-image: none;}*/

#membership { background-image: url(../images/bw/bw_membership.gif);}
#tennis { background-image: url(../images/bw/bw_tennis.gif);}
#squash { background-image: url(../images/bw/bw_squash.gif);}
#coaching { background-image: url(../images/bw/bw_coaching.gif);}
#gym{ background-image: url(../images/bw/bw_gym.gif);}
#social{ background-image: url(../images/bw/bw_social.gif);}
#contact{ background-image: url(../images/bw/bw_contact.gif);}

h1{
	font-size: 25px;
	text-transform: uppercase;
	font-weight: normal;
	color: #B92804;
}

h2{
	font-size: 14px;
	font-weight: normal;
	margin: 2em 0 1.25em;
	padding: 0;
	/*border: 1px solid red;*/
}

h3, h4{
	margin: 1.5em 0 0;
	font-weight: normal;
	color: #333;
}

h5, h6{

}

#content h2 {
	margin: 1.25em 0 0.5em;
	font-size: 18px;
	letter-spacing: 1px;
	font-weight: bold;
}

#content h3 {
	margin: 1.5em 0 0.5em;
	font-size: 16px;
	text-transform: capitalize;
}

p {
	line-height: 19px;
	margin: 0.75em 0;
	padding: 0;
	/*border-left: 1px solid red;
	border-right: 1px solid red;
	border-bottom: 1px solid red;
	border-top: 1px solid red;*/
}

p.intro {
	margin-top: 1em;
	font-size: 18px;
	line-height: 23px;
}

hr {
	clear: right;
	border: none 0; 
	border-bottom: 1px solid #666;
	width: 100%;
	height: 1px;
	/*next couple of rules are needed to make IE play nice*/
	line-height: 0;
	font-size: 1px;
	padding: 0;
	margin: 0;
/*	margin: 20px auto 20px 0; */	
}

th {
	text-align: left;
}

td {
	padding: 2px 0;
	border-bottom: 1px dashed #ccc;
/*	xfont-size: 12px;*/
}

a {
	color: #B92804;
	outline: none;
}

a:hover {
	text-decoration: none; 
	color: #A0A7C0;
	outline: none;
}

a:active {
	outline: none;
}

a.pdf {
	padding: 2px 0 2px 23px; /*top and bott padding to display logo correctly in table cells*/
	background: url(../images/smallpdf.gif) no-repeat 0 0px;
}

a.ext {
	padding: 2px 0 2px 23px; /*top and bott padding to display logo correctly in table cells*/
	background: url(../images/smallworldlink.gif) no-repeat 0 0px;
}

ul, ol {
	margin: 23px;
	padding: 0;
}

li {
	padding-bottom: 0.5em;
}

img {
	border: 0;
}

address {
	margin: 10px 0;
	font-style: normal;
	line-height: 1.5em;
}

input {
	outline: none;
}

a.pdf {
	padding: 2px 0 2px 23px; /*top and bott padding to display logo correctly in table cells*/
	background: url(../images/smallpdf.gif) no-repeat 0 0px;
}

img.style1{				/*For normal left-aligned content images*/
	float: left;
	margin: 4px 20px 5px 0px;
	padding: 3px;
	background-color: #fff;
	border: 1px solid #ddd;
}

img.style2{				/*For normal right-aligned content images*/
	float: right;
	margin: 4px 10px 5px 20px;
	padding: 3px;
	background-color: #fff;
	border: 1px solid #ddd;
}

img.style3{				/*For full width images*/
	float: left;
	margin: 4px 0 15px 0;
	padding: 3px;
	background-color: #fff;
	border: 1px solid #ddd;
}

.access {
	display: none;
}




/*global styles*/


#container {
	position: relative; /*allow relative contained elements*/
	width: 740px;
	padding: 0;
}

#pageHeader {
	position: relative;
	height: 40px;
	background-color: #6E6D72;
}

#pageHeader h1 {
	margin: 0;
	padding: 10px;
}

#calltoaction {
	position: absolute;
	top: 2px;
	right: 13px;
	background: url(../images/bg/calltoaction.gif) no-repeat 0 0;
	height: 20px;
	width: 207px;
	text-indent: -10000px;
}

/*Primary Navigation*/

#nav1 {
	padding: 14px 0 0 0;
	margin: 0;
	list-style-type: none;
	
}

#nav1 li{
	display: block;
	float: left;
	margin: 0 0 19px 0;
	padding: 0;
	list-style: none;
	border-right: 1px solid #666;
	border-bottom: 1px solid #666;
}

li#navContact {
	border-right: 1px solid #fff;
}

#nav1 li a {
	display: block;
	height: 21px;
	width: 91.25px;
	float: left;
	margin: 0;
	padding: 0;
	background-repeat: no-repeat;
	background-position: 0 0;
	color: #666;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
}

#nav1 a:hover{ color: #B92804 }

#home #navHome a, 
#membership #navMember a, 
#tennis #navTennis a, 
#squash #navSquash a, 
#coaching #navCoach a, 
#gym #navGym a, 
#social #navSocial a,
#ourcompany #navCompany a,
#contact #navContact a { 
	color: #B92804 ; 
}

#pagebody {
	clear: both;
	margin: 0 0 0 0;
}

/*page headings*/

#hdr {
	width: 740px;
	margin: 0;
	padding: 0;
	text-indent: -10000px;
}

#home #hdr {
	height: 113px;
	background: url(../images/hdr/h_welcome.gif) no-repeat 0 0;
}

#about #hdr {
	height: 10px;
	background: url(../images/hdr/h_about.gif) no-repeat 0 0;
}

#membership #hdr {
	height: 85px;
	background: url(../images/hdr/h_membership.gif) no-repeat 0 0;
}

#tennis #hdr {
	height: 158px;
	background: url(../images/hdr/h_tennis.gif) no-repeat 0 0;
}

#squash #hdr {
	height: 152px;
	background: url(../images/hdr/h_squash.gif) no-repeat 0 0;
}

#coaching #hdr {
	height: 113px;
	background: url(../images/hdr/h_coaching.gif) no-repeat 0 0;
}

#gym #hdr {
	height: 86px;
	background: url(../images/hdr/h_gym.gif) no-repeat 0 0;
}

#social #hdr {
	height: 76px;
	background: url(../images/hdr/h_social.gif) no-repeat 0 0;
}

#contact #hdr {
	height: 94px;
	background: url(../images/hdr/h_contact.gif) no-repeat 0 0;
}

/*sidebar panel*/

#panel {
	display: none;
	float: left;
	width: 257px;
	margin: 23px 0 0 0;
}

#panel h2 {
	background-repeat: no-repeat;
	background-position: 0 0;
	height: 62px;
	width: 227px;
	margin: 0;
	padding: 0;
	text-indent: -10000px;
}

#home #panel h2 {
	background-image: url(../images/bg/s_toheaton.gif);
}

#gym #panel h2 {
	background-image: url(../images/bg/s_gym.gif);
}

.busopps #panel h2 {
	background-image: url(../images/bg/s_busopps.gif);
}

/*body*/

#content{
	position: relative;
	display: inline-block; /*fix for text display bug in Win IE - but breaks display in Mac Safari! */
	margin: 0;
	padding: 0;
	width: 480px;
	float: right;
}

/*This overrides the Win IE creeping text bug fix on the Mac*/
/*\*/
html>body* #content { display:inherit; }
/**/

/*footer*/

#footer {
	clear: both;
	margin: 200px 0 20px;
}

#footer p {
	text-align: right;
	font-size: 10px;
}

#footer a {
	color: #ccc;
	text-decoration: none;
}

#footer a:hover {
	color: #B92804;
}



/*profile boxes*/

.panel {
	background-color: #f8f8f8;
	border: 1px solid #ccc;
	padding: 25px 25px 20px;
	margin: 15px 0 25px;
}

.panel .panel {
	position: relative;
	background-color: #fff;
}

.panel img {
	padding: 3px;
	border: 1px solid #bbb;
	background-color: #fff;
}

dl dt{
	clear: left;
	float: left;
	font-weight: bold;
	padding: 4px 10px 4px 0;
}

dl dd{
	padding: 4px 10px 4px 0;
}

.profile {
	font-size: 11px;
}

.profile .secident {
	margin: 0;
	padding: 5px 0 3px;
	font-size: 9px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

#content .panel h2 {
	margin: 0 0 15px;
	padding: 0;
	font-size: 16px;
	color: #B92804;
	font-weight: normal;
}

#content .panel h3 {
	margin: 10px 0 5px;
	padding: 0;
	font-size: 14px;
}

#gym #content .panel h2 {
	color: #666;
	font-size: 18px;
}

#gym #content .panel .panel h2 {
	color: #B92804;
	font-size: 16px;
}

.profile table {
	margin-right: 20px;
	float: left;
}

.panel table th, .panel table td{
	padding: 0 10px 2px 0;
	border: 0;
	vertical-align: top;
}

.panel ul {
	margin-bottom: 10px;
}

.profile ul {
	padding: 5px;
	margin: 0;
}

.profile ul li{
	padding: 0;
	margin: 0 0 0 10px;
}

.proftitle {
  font-size: 14px;
}

/*adpanels*/

.adpanel {
	border: 1px solid #ccc;
	font-size: 11px;
	padding-right: 10px;	
}

.specsavers {
  border: 1px solid #009D57;
}

.thevillage {
  border: 1px solid #B9B28C;
}

#stanley {
		padding: 30px 0 0 0;
		border: 1px solid #ccc;
}

#stanley img {
		padding: 0;
		float: none;
}

.adpanel img {
	float: left;
	padding: 5px 20px 0 10px;
}

.adpanel .adtitle {
	margin: 15px 0 0 0;
	padding: 0;
	font-size: 15px;
	font-weight: bold;
}

.specsavers .adtitle {
  color: #009D57;
}

.thevillage .adtitle {
  color: #B9B28C;
}

.adpanel p {
	margin: 5px 0 0 0;
}

.fineprint {
	font-size: 9px;
}

.clear {
	clear: both;
}


/*page specific stuff*/ 

/*image tweaks*/

#home #imgpres {
	margin-top: 14px;
}

/* contact page */

#map {
	width: 99%; 
	height: 300px;
	border: 1px solid #ccc;
	z-index: 1;
}

#map .bubble {
	margin: 0;
	padding: 0;
	width: 250px; /*fixed-width here also overcomes a bug in FF1.5*/
	font-size: 10px;
}

#map .bubble p{
	margin: 0;
	padding: 0;
}

#directions {
	margin-top: 20px;
}
