/**************************************
master.css - primary site stylesheet
**************************************/
BODY {
	color: #000;
	background: #fff;
	font-family: arial, verdana, sans-serif;
	font-size: 100%; /* 16px */
	line-height: 1.125em; /* 16px × 1.125 = 18px */
	padding-top: 0;
	margin-top: 0; 
}
TD, TH {
	vertical-align: top;
}
P, H1, H2, H3, H4, H5, H6 {
	padding: 0;
	margin: 1.25em 0;
}
H1 {
	margin: 0 0 .25em 0;
}
OL, UL {
	padding: 0;
	margin: 1.25em 0 1.25em 2em;
}
LI, FORM {
	padding: 0;
	margin: 0;
}
INPUT, SELECT {
	font-family: arial, verdana, sans-serif;
	font-size: 1em; /* 12px */
	font-weight: bold;
	border: 1px solid #ccc;
}
IMG {
	border: 0;
}
A {
	color: #000;
}
#container {
	font-size: 0.75em; /* 16px x 0.75 = 12px */
	min-width: 760px;
	max-width: 1000px;
	margin: 0 auto;
}
#container A {
	text-decoration: none;
}
#container P.highlight, P.highlight A {
	color: #ea4498;
	font-weight: bold;
	text-decoration: none;
	margin-bottom: 0;
}
#container P.highlight A:hover {
	text-decoration: underline;
}
#datepublished {
	display: none;
}
/**************************************
corners
**************************************/
.tl, .tr, .bl, .br {
	font-size: 1px;
	background-image: url(/images/cyclecolchester/corners-rounded-bg.png);
	background-repeat: no-repeat;
	width: 10px;
	height: 10px;
	line-height: 1px;
	display: block;
	position: absolute;
}
.tl {
	background-position: 0 0;
	top: 0;
	left: 0;
}
.tr {
	background-position: 100% 0;
	top: 0;
	right: 0;
}
.bl {
	background-position: 0 100%;
	bottom: 0;	
	left: 0;
}
.br {
	background-position: 100% 100%;
	bottom: 0;	
	right: 0;
}
/**************************************
pageheader
**************************************/
#pageheader {
	overflow: hidden;
}
#pageheader #logo {
	float: left;
}
FORM#register {
	margin-top: .5em;
	float: right;
	clear: right;
}
FORM#search {
	margin-top: 2em;
	float: right;
}
FORM#register INPUT {
	color: #fff;
	background: #791e7d url(/images/cyclecolchester/button-arrow.png) no-repeat 100% -19px;
	border: 1px solid #791e7d;
	text-align: left;
	width: 183px;
	padding: 1px 2px;
	margin: 0;
}
FORM#search INPUT {
	width: 158px;
	padding: 1px 2px;
}
FORM#search INPUT.arrow {
	background: url(/images/cyclecolchester/button-arrow.png) no-repeat;
	text-indent: -9999px;
	border: 0;
	width: 19px;
	height: 19px;
	padding: 0;
	margin-left: -3px;
	vertical-align: top;
	overflow: hidden;
}
/**************************************
topnav
**************************************/
#topnav {
	background: #c2d82e;
	margin-bottom: 1.5em;
	overflow: hidden;
	position: relative;
}
#topnav UL {
	width: 100%;
	margin: 0;
	list-style: none outside none;
}
#topnav UL:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
#topnav LI {
	float: left;
	padding: .75em 0;
}
#topnav A {
	color: #fff;
	font-weight: bold;
	border-right: 1px solid #791e7d;
	padding: 0 10px;
	line-height: 1em;
	display: block;
}
#topnav A:hover {
	text-decoration: underline;
}
#topnav A.first {
	padding-left: 15px;
}
#topnav A.last {
	border-right: 0;
}
#topnav LI.on {
	background-color: #ea4498;
	margin-left: -1px;
	margin-right: 1px;
}
#topnav LI.on A {
	border-color: #ea4498;
	padding: 0 9px 0 11px;
}
#topnav LI.on A.first {
	padding: 0 9px 0 16px;
}
/**************************************
main
**************************************/
#main {
	width: 100%;
	margin-bottom: 1.5em;
	overflow: auto;
}
/* HOMEPAGE */
#homepage #main H2 {
	font-size: 1em;
	color: #fff;
	background: #791e7d;
	height: 1.5em;
	padding: .25em .75em;
	position: relative;
}
/**************************************
content
**************************************/
#content {
	width: 78%;
	float: right;
}
#content A {
	text-decoration: underline;
}
#content H1 {
	color: #ea4498;
	font-size: 2em;
	font-family: Tahoma, Geneva, sans-serif;
	font-weight: normal;
	border-bottom: 1px solid #c2d82e;
	padding-bottom: .25em;
	line-height: 1.125em; /* 24px × 1.125 = 27px */
}
#content H2 {
	font-size: 1.25em;  /* 12px × 1.25 = 15px */
	color: #ea4498;
}
.artintrobg {
	font-size: 1em;
	font-weight: bold;
	color: #000;
	height: 1.5em;
	padding: .25em .75em;
	position: relative;
}

.artintrobg A {
	color: #000;
}
/* HOMEPAGE */
#homepage #content {
	width: 72%;
}
#homepage #content H1 {
	font-size: 1em;
	background: url(/images/cyclecolchester/homepage-h1-bg.png) no-repeat;
	border: 0;
	width: 375px;
	height: 30px;
	padding: 0;
	margin: 0 1.5em;
	text-indent: -9999px;
	overflow: hidden;
}
#homepage #content H2 {
	width: 50%;
}
#homepage #content H2,
#homepage #content P {
	margin-right: 1.5em;
	margin-left: 1.5em;
}
P.cycling_answers A {
  font-weight: bold;
  color: #EA4498;
}
/* HOLDING PAGE */
#holdingpage #content {
	width: auto;
	float: none;
}
#holdingpage #content H1 {
	color: #ea4498;
	font-size: 2em;
	font-family: Tahoma, Geneva, sans-serif;
	font-weight: normal;
	border: 0;
	padding: 0;
	margin-bottom: 1em;
	line-height: 1.125em; /* 24px × 1.125 = 27px */
	text-align: center;
}
/**************************************
breadcrumb
**************************************/
#breadcrumb {
	color: #ea4498;
	font-weight: bold;
	margin-bottom: 2em;
}
#breadcrumb A {
	color: #791e7d;
	text-decoration: none;
}
#breadcrumb A:hover {
	text-decoration: underline;
}
/**************************************
large images
**************************************/
#images {
	width: 100%;
	overflow: hidden;
}
#imageleft, #imageright {
	width: 49%;
	height: 300px;
	position: relative;
}
#imageleft {
	background: url(/images/cyclecolchester/imageleft_default.jpg) no-repeat 50% 0;
	float: left;
}
#imageright {
	background: url(/images/cyclecolchester/imageright_default.jpg) no-repeat 50% 0;
	float: right;
}
#images DIV DIV.text {
	color: #fff;
	text-align: center;
	width: 100%;
	height: 6em;
	position: absolute;
	bottom: 0;
	z-index: 5;
}
#images DIV DIV.text A {
	color: #fff;
	font-size: 1.833em; /* 12px x 1.833 = 22px */
	line-height: 1.182em; /* 22px x 1.182 = 26px */
	text-decoration: none;
	display: block;
	padding: .5em;
}
#images DIV DIV.text A:hover {
	text-decoration: underline;
}
#images DIV DIV.mask {
	background: #000;
	width: 100%;
	height: 6em;
	opacity: 0.5;
	position: absolute;
	bottom: 0;
}
/* HOLDING PAGE */
#holdingpage #images {
	width: 90%;
	margin: 0 auto;
}
/**************************************
leftcol + lhlinks
**************************************/
#leftcol {
	width: 20%;
	padding-top: 0.35em;
	float: left;
}
#lhlinks {
	background: #c2d82e;
	font-weight: bold;
	padding-bottom: 1em;
	position: relative;
}
#lhlinks H2 {
	color: #fff;
	font-size: 1em;
	background: #ea4498;
	padding: .5em 1em;
	margin: 0;
}
/* 1st level */
#lhlinks UL {
	list-style-type: none;
	margin: 1em;
}
#lhlinks UL LI {
	border-bottom: 1px solid #791e7d;
	padding: .25em;
}
#lhlinks A {
	color: #791e7d;
	text-decoration: none;
	display: block;
}
#lhlinks A:hover{
	text-decoration: underline;
}
#lhlinks UL LI.menuitemon,
#lhlinks UL LI.menuitemon2 {
	background: #fff;
	padding: 0;
}
#lhlinks UL LI.menuitemon A,
#lhlinks UL LI.menuitemon2 A {
	color: #fff;
	background: #ea4498;
	padding: .25em .5em;
}
/* 2nd level */
#lhlinks UL UL {
	list-style-type: disc;
	margin: 0 1.5em;
}
#lhlinks UL UL LI {
	color: #791e7d;
	border: 0;
	padding: 0;
}
#lhlinks UL UL LI.sectionon {
	color: #ea4498;
}
#lhlinks UL LI.menuitemon UL LI A {
	color: #791e7d;
	background: #fff;
	padding: 0;
}
#lhlinks UL LI.menuitemon UL LI.sectionon A {
	color: #ea4498;
	background: #fff;
	padding: 0;
}
/* HOMEPAGE */
#homepage #leftcol {
	width: 26%;
}
#homepage #leftcol P {
	margin-right: 1.5em;
	margin-left: 1.5em;
}
#school, #work, #fun {
	background: url(/images/cyclecolchester/leftcol-links-bg.png) no-repeat;
	width: 198px;
	height: 30px;
	margin-top: .5em;
	display: block;
	text-indent: -9999px;
	overflow: hidden;
}
#leftcol #school {
	background-position: 0 0;
	margin-top: 0;
}
#leftcol #school:hover {
	background-position: 0 -90px;
}
#leftcol #work {
	background-position: 0 -30px;
}
#leftcol #work:hover {
	background-position: 0 -120px;
}
#leftcol #fun {
	background-position: 0 -60px;
	margin-bottom: 3em;
}
#leftcol #fun:hover {
	background-position: 0 -150px;
}
#leftcol #weather A {
	background: url(/images/cyclecolchester/weather.png) no-repeat 0 0;
	padding-left: 50px;
	min-height: 4em;
	margin-top: 2em;
	display: block;
}
/**************************************
footer
**************************************/
#footer {
	color: #fff;
	font-size: 0.917em; /* 12px x 0.917 = 11px */
	background: #9c9c9c;
	height: 5em;
	line-height: 5em;
	padding: 0 2.5em;
	position: relative;
}
#footer A {
	color: #fff;
	padding: .25em;
}
#footer A:hover {
	text-decoration: underline;
}
#footer A#arfs {
	float: right;
}
#footer A#privacy {
	margin: 0;
	border: 0;
}
/**************************************
data table
**************************************/
DIV.table-wrapper-outer {
	overflow: hidden;
}
DIV.table-wrapper-inner .tl,
DIV.table-wrapper-inner .tr,
DIV.table-wrapper-inner .bl,
DIV.table-wrapper-inner .br {
	background-image: url(/images/cyclecolchester/corners-rounded-table-bg.png);
}
DIV.table-wrapper-inner {
	width: 100%;
	display: inline-block;
	position: relative;
}
TABLE.datatable {
	border-style: solid;
	border-color: #ea4498;
	border-width: 1px 0 0 1px;
  border-collapse: separate !important;
}
TABLE.datatable TH {
	color: #791e7d;
	border-style: solid;
	border-color: #ea4498;
	border-width: 0 1px 1px 0;
	background-color: #c2d82e;
	padding: .5em;
	text-align: left;
}
TABLE.datatable TH.plaintext { /* for default text in a <th> */
	font-weight: normal;
	text-align: left;	
}
TABLE.datatable TD {
	border-style: solid;
	border-color: #ea4498;
	border-width: 0 1px 1px 0;
	padding: .5em;
	text-align: left;
}
TABLE.datatable TD TD,
TABLE.datatable TD TH { /* to stop nested tables being too padded */
	padding: 0;
	border: 0;
}
TABLE.datatable CAPTION {
	color: #fff;
	border-style: solid;
	border-color: #ea4498;
	font-weight: bold;
	padding: .5em;
	text-align: left;
	border-width: 1px 1px 0 1px;
	background-color: #ea4498;
}
TABLE.datatable INPUT,
TABLE.datatable TEXTAREA {
	width: 95%;
}
/**************************************
TABLE, IMAGE AND PARAGRAPH TEXT ALIGNMENT
**************************************/ 
TABLE.left, P.left, IMG.left, DIV.left { /* align table or <p>-wrapped image/image to the left */
	float: left;
	margin: 0 1em 1em 0;
}
TABLE.right, P.right, IMG.right, DIV.right { /* align table or <p>-wrapped image/image to the right */
	float: right;
	margin: 0 0 1em 1em;
}
TABLE.center, DIV.center { /* align table to the centre */
	margin: 0 auto;
}
P.center { /* align <p>-wrapped image to the left */
	text-align: center;
}
P.textcenter, SPAN.textcenter /* align paragraph text to the centre */ { /* align paragraph text to the centre */
	text-align: center;
	display: block;
}
P.textleft, SPAN.textleft { /* align paragraph text to the left */
	text-align: left;
	display: block;
}
P.textright, SPAN.textright { /* align paragraph text to the right */
	text-align: right;
	display: block;
}
P.textjustify, SPAN.textjustify { /* 'justify' align paragraph text */
	text-align: justify;
	display: block;
}
/**************************************
CALENDAR OF EVENTS
**************************************/
.calendar {
	width: 250px;
}
.calendar TH {
	background-color: #c2d82e;
	color: #781e7d;
	font-style: normal;
	font-weight: bold;
	padding: 0.2em;
	vertical-align: top;
	text-align: left;
}
.calendar TD {
	vertical-align: top;
	text-align: left;
	background-color: #ecebe7;
}
.calendarkey {
	margin-top: 4em;
}
.calendarkey TD {
	width: 25px;
}
.calendarkey TH {
	border-bottom: 1px solid #000;
	padding-bottom: 0.5em;
	color: #000;
	font-weight: bold;
	font-size: 1.2em;
	font-style: normal;
}
.calendarkey TD.label {
	width: 80px;
}
.calendar TD.normalday, .calendarkey TD.normalday {
	background-color: #fff;
	color: #000;
	border: 2px solid #ecebe7;
}
.calendar TD.pastevent, .calendarkey TD.pastevent  {
	background-color: #9c9c9c;
	color: #fff;
}
.calendar TD.futureevent, .calendarkey TD.futureevent  {
	background-color: #ea4498;
	color: #000;
}
.calendar TD.currentday-event , .calendarkey TD.currentday-event {
	background-color: #ea4498;
	color: #fff;
	border: 2px solid #781e7d;
}
.calendar TD.currentday-noevent , .calendarkey TD.currentday-noevent {
	background-color: #fff;
	color: #000;
	border: 2px solid #781e7d;
}

/**************************************
Homepage Facebook
**************************************/
h2.homepageStrapLine {
	float: left; 
	width: 50%;
}

div.homepageFacebookFan {
	float: right; 
	width: 40%;
}
div.addThisButton {
	width: 100%;
	clear: both;
}