/*********** Chesham Moor Swim & Gym - stylesheet stuff ***********/

/* reset */

* {
	margin: 0;
	padding: 0;
}

/*Set initial font styles*/

body {
	text-align: left;
	font-family: Arial, Helvetica, Geneva, sans-serif;
	font-size: 75.01%;
	line-height: 1em;
}

/*set font size for all divs, this overrides some body rules*/

div {
	font-size: 1em;
}

/*if img is inside "a" it would have borders, we don't want that*/

img {
	border: 0;
}

/*default link styles*/

/* set all links to have underline and bluish color */

a, a:link a:active {
	text-decoration: underline;
	background-color: inherit;
	color: #0070b1;
}
a:visited {
	text-decoration: underline;
	background-color: inherit;
	color: #0070b1;
}

/* remove underline on hover and change color */

a:hover {
	text-decoration: underline;
	background-color: inherit;
	color: #b1009e;
}

/*****************basic layout *****************/

body {
	margin: 0;
	padding: 0;
	color: #333;
	background: #fff url(http://www.cheshammoorfitness.org.uk/images/layout/body-bg.png) repeat-x 0 0;
}

div#pagewrapper {
        width: 960px;
	margin: 0 auto;
	background-color: #fefefe;
	color: black;
        padding: 0px;
}

div#header {
	height: 103px;
	margin: 0;
	padding: 0;
	background: #16b5ec url(http://www.cheshammoorfitness.org.uk/images/layout/header-bg.png) repeat-x 0 0;
}

div#header h1 a {
	display: block;
	height: 95px;
        width: 180px;
	text-indent: -999em;
	text-decoration: none;	
        background: #16b5ec url(http://www.cheshammoorfitness.org.uk/images/layout/swim-gym-logo.png) no-repeat 0 0;
}

div#header h1 {
	margin: 0;
	padding: 0;
	line-height: 0;
	font-size: 0;
        background: #16b5ec url(http://www.cheshammoorfitness.org.uk/images/layout/swim-gym-logo.png) no-repeat 0 0;
}

div#breadcrumbs {
	padding: .5em 0em 1em 250px;
	font-size: 95%;
	margin: 0;
border-bottom: 1px dotted #ddd;
color: #777;
}

div#breadcrumbs.nocrumbs { display: none;}

div#breadcrumbs span.lastitem {
	font-weight: bold;
}

div#search {
	float: right;
	width: 27em;
	text-align: right;
	padding: 0.5em 0 0.2em 0;
	margin: -140px 1em 0 1em;
}


div#search label {display: none;}

input.search-button {
	border: none;
	height: 22px;
	width: 61px;
	margin-left: 5px;
	padding: 0px 2px 2px 0px;
	cursor: pointer;
	background: url(http://www.cheshammoorfitness.org.uk/images/layout/search-button.png) no-repeat center center;
        color: #fff;
}


div#content {
	margin: 0.5em auto 2em 0;
	padding: 0px;
}

div#sidebar {
	float: left;
	width: 230px;
	display: inline;
	margin: 0px 0px 20px;
	padding: 0px;
}

div#main {
	margin-left: 250px; 
        margin-right: 15px;  
	/* padding: 10px 20px 10px 10px; */
}

div#main.homeMain {
	width: 960px;
	padding: 0;
        margin: 0;
	clear:both;
}

div#main.main596 {
	width: 596px;
	margin-left: 250px; 
        margin-right: 15px;  
	/* padding: 10px 20px 10px 10px; */
}

div#contentleftcol {width: 430px; float: left; display: inline;}
div#contentrightcol {width: 240px; float: right; display: inline;}

div#sliderWrapper {
	width: 940px;
        padding: 0 15px;
        margin: 0;
        height: 354px;
	background: url(http://www.cheshammoorfitness.org.uk/images/layout/slider-bg.png) no-repeat center center;
}

div#sliderText{
	width: 305px;
        padding: 50px 0 0 0;
        margin: 0 0 0 20px;
        height: 320px;
        color: #f6f6f6;
float: left;
display: inline;
font-size: 116.66%;
}


div#sliderText a{
        color: #00b3ff;
}

div#sliderImage{
	width: 596px;
        padding: 0;
        margin:22px 0 0 0;
        height: 311px;
        color: #f6f6f6;
float: right;
display: inline;
}

div#main div#sliderImage ul li {margin: 0; padding: 0; list-style: none;}

div#content div#sliderImage li.simplesliderImage span.bottom h3{color: #fff; margin: 0: padding: 0; line-height: 0.5em; border: 0; font-height: 1.3em;}
li.simplesliderImage span.bottom {font-size: 140%; color: #fff;}
a.slidelink {color: #fff; text-decoration: none;}

div#sliderText h2.SliderTitle{
        color: #f6f6f6;
}

#homeBoxWrapper{
	padding-left:15px;
        border: 0px solid red;
}


div.homeBox {
       width: 225px;
       padding-right: 11px;
       float: left;
      display: inline;
       border: 0px solid red;
}

#homeBox3{
	margin:0px;
       padding-right: 11px;
}

#homeBox4{
	width:200px;
height: 490px;
	padding:0px 17px 0px 16px;
	margin:-16px 0px 0px 0px;
	background: url(http://www.cheshammoorfitness.org.uk/images/layout/infoBox.png) no-repeat 0 0;

}

div#content div.homeBox h2.infoBoxH2{
	padding-bottom:10px;
	padding-left:10px;
	padding-top:16px;
	/* height:43px; */
	border:0;
	margin-top:0;
	margin-bottom:5px;
	background: url(http://www.cheshammoorfitness.org.uk/images/layout/infobox-top-bg.png) no-repeat;
        color: #f6f6f6;
}


#infoBox{
	padding:0 10px 10px 10px;
	overflow:hidden;
color: black;
}

table#openHours{
margin-bottom: 5px;

}

table#openHours td{
border-bottom: 1px solid #fff;
padding: 5px 0px 5px 5px;
}

table.tablestyle1{
background-color: #e6e6e6;
border: 0px solid #ddd;

}

table.tablestyle1 td, table.tablestyle1 th{
padding: 2px 0px 2px 10px;
border: 1px solid #fff;

}


div#footer {
	padding: 0px;
	color: #f6f6f6;
	background: url(http://www.cheshammoorfitness.org.uk/images/layout/footer-bg.png) repeat-x 0 0;
        height:260px;
clear: left;
margin-top: 15px;
}

div#footer p {
	padding: 1.5em;
}


#keepInTouch{
	background:url(http://www.cheshammoorfitness.org.uk/images/layout/kit-bg.png) no-repeat 0px 40px;
	height:120px;

}

#keepInTouch h3#footerh3 {
	color: #333333;
	font-weight: normal;
	font-size: 1.6em;
	padding-top: 20px;
	padding-right: 0px;
	padding-bottom: 23px;
	padding-left: 15px;
	
}

#facebook{
	padding-left:40px;
	width:289px;
	float:left;
       display: inline;
}

#bookmarks{
	float:left;
        display: inline;
       border: 0px solid red;
	width:334px;
}


#mailingList{
	padding-left:2px;
	width:260px;
	float:left;
       display: inline;
       border: 0px solid red;
       color: #333;
       margin: 10px;
       text-align: center;
}

#footerText{
	height:80px;
	width:500px;
	float:left;
display: inline;
margin-top: 0px;
border: 0px solid red;
}


#footerLogo{
	height:105px;
	width:136px;
	float:right;
display: inline;
margin: 3px 18px 0 0;
border: 0px solid red;
padding: 0;
text-align: center;
}

#footerLogo img{
padding: 0;
margin: 0;
}

div#footerLogo p{
padding: 0;
margin: 0;
}

#footerText a, #footerLogo p a{
margin: 0;
padding: 0;
color: #00b3ff;
text-decoration: none;
}

#footerLogo p a:hover {
color: #f6f6f6;
border-bottom: 1px solid #ccc;
}


#privacy{
	padding-top:60px;
	padding-right:20px;
	text-align:right;
}
#copyright{

	padding-top:5px;
        width: 400px;
float: left; 
display: inline;
color: #777;
border: 0px solid red;
margin: 3px 0 0 5px;
}

div#copyright p{
	padding:0px;
	margin:0px;
}

#millco{ 
	padding-top:5px;
float: right; display: inline;
        width: 400px;
color: #777;
margin: 3px 5px 0 0;
border: 0px solid red;
text-align: right;
}


/* as we hid all hr for accessibility we create new hr with div class="hr" element */

div.hr {
	height: 1px;
	padding: 1em;
	border-bottom: 1px dotted black;
	margin: 1em;
}


div.left49 {
	width: 70%;
       display: none;
}
div.right49 {
	float: right;
	width: 29%;
	text-align: right;
       display: none;
}
/********************CONTENT STYLING*********************/
/* HEADINGS */
div#content h1 {
	font-size: 2em;
	line-height: 1em;
	margin: 0;
}
div#content h2 {
	color: #333;
	font-size: 1.6em;
	text-align: left;
        line-height: 1.5em;
	margin: 0 0 0.5em 0;

}

div#content div.homeBox h2{
	font-weight:normal;
	padding-bottom:5px;
	/* color:#0070b1; */
	border-bottom:3px solid #00b3ff;
	font-size: 1.5em;

}

div#content div.homeBox h2 a{
       text-decoration: none;

}


div#content h2 div.homeBox {font-size: 1.5em;}


div#content h3 {
	color: #333;
	font-size: 1.4em;
	line-height: 1.3em;
	margin: 0 0 0.5em 0;
        border-bottom: 1px solid #ccc;

}

div#content h3 a {
       text-decoration: none;
}

div#infoBox h3 {
        font-size: 1.1em;
        font-weight: bold;
	color: #000;
        background: #f6f6f6;
        padding: 1px 5px 2px 5px;
	margin: 0 0 0.2em 0;
        border-bottom: 0px solid #ccc;
}

div#sliderText h3 {
	color: #0070B1;
        border: 0;
}

p.infoBox {margin-left: 10px; margin-bottom: 8px;}

div#content h4 {
	color: #294B5F;
	font-size: 1.2em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
div#content h5 {
	color: #294B5F;
	font-size: 1.1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
h6 {
	color: #294B5F;
	font-size: 1em;
	line-height: 1.3em;
	margin: 0 0 0.25em 0;
}
/* END HEADINGS */
/* TEXT */
p {
/* default p font size, this is set different in some other divs */
	font-size: 1em;
/* some air around p elements */
	margin: 0 0 1.5em 0;
	line-height: 1.4em;
	padding: 0;
}
blockquote {
	border-left: 0px solid #ddd;
	margin-left: 20px;
}
strong, b {
/* explicit setting for these */
	font-weight: bold;
}
em, i {
/* explicit setting for these */
	font-style: italic;
}

/* Separating the divs on the template explanation page */
div.templatecode {
	margin: 0 0 2.5em;
}
/* END TEXT */
/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
	font-size: 1.0em;
	line-height: 1.4em;
	margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 10px;
   list-style-type: none;
   background: url(http://www.cheshammoorfitness.org.uk/images/layout/list-picon.png) no-repeat left 4px;
   padding-left: 16px;

}

/* END LISTS */

/* CONTACT FORM */

table.contactform {margin: 10px 0px 10px 0px; width: 240px;}

.contactform fieldset {padding: 10px 0 10px 0; background-color: transparent; border: 0;} 
.contactform fieldset legend {font-weight: bold; display: none;} 
.contactform div {width: 440px; padding: 0.25em 0 0.25em 0;} 
.contactform div label {display: block; width: 140px; text-align: right; float: left; margin-right: 8px; height: 22px; line-height: 22px;} 
.contactform div.required {color: #111;} 
.contactform div.required input, textarea {width: 230px;} 
.contactform div.submit { 
   margin: 0px 0px 10px 120px;
   padding: 10px 0px 10px 0px;
   width: 220px; 
text-align: right;

} 




/* END CONTACT FORM */

