/* Based on style7.css practice sheet */

/*Blue border on left with navigation on left */

/*Problem with floating Nav Bar and br clear=all means that you can get a break after nav bar. Made nav bar absolute position instead but this means footer won't work on short pages*/

/*Don't care about short pages so commented out some of the properties put in just for that*/

/*As nav bar is absolute can use h2 clear left to separate paras instead of using ><br clear="all" />. Before this would have moved the first para down*/

/* white line appears on 'about us' after going to bottom of page */
/* seems to be to do with using h2 with clear left so having to take this out and put the br's back in - doh!*/

/*Back to br and all looks OK :0) */ 

/*dates don't scale in firefox - but this is same on live site - no can do*/

/* hyphens don't show up - apart from one on about us page!!!! same on live - just cut and pasted that one everywhere - don't know what was wrong b4*/

/* Footer top set at 38 instead of 35 so that Forum entry in nav bar is visible in IE 6 as I can't get the ul to squash together in IE 6 */


		body {
			font: 80% arial, helvetica, sans-serif;
			margin: 0;
		}
		a:link, a:visited {
			color: #00c;
		}
		a:hover, a:active {
			color: red;
		}
		#header {
			background: #28b url(images/sunset1.jpg) no-repeat center right;
			height: 11em;
		}
		#header p.phonenumber {
			color: #eee;
			text-align: left;
			line-height: 2em;
			margin-left: 20px; 
			margin-right: 0px;
		}
		.logo {
			float: left;
			border: 0;
			height: 11em;
			width: 14em;
		}
		h1 {
			color: #ccc;
			padding: 0.4em 0 0 8em;
			/*margin-bottom: 0;  don't think req'd now we use header for coloured background*/
			margin-top: 0; /* needed for Firefox */
		}
		h2 {
			clear: left;
		} 
		h3 {
			clear: left;
		} 
		table {
			border-style: solid;
			border-color: silver;
			border-width: thin;
		}
		tr {
			border-style: solid;
			border-color: silver;
			border-width: thin;
		}
		td {
			border-style: solid;
			border-color: silver;
			border-width: thin;
		}
		#navigation {
			position: absolute;
			left: 0;
			top: 11em;
			width: 14em;
			height: 50em; /*commented out so br clear=all can be used with floating nav bar - but now nav bar is absolute*/
		        background: #28b; /*only needed for short pages. had a problem in IE when removed and using h2 to separate paras but ok using br. But decided to put back as like to have a longer bar on left*/
		      /*margin-bottom: 1em;    needed for Firefox to move footer down a bit on short pages - don't think it helps now nav is absolute */
		}
		
		#navigation ul {
			margin: 1em 0 1em 0;
			list-style: none;
			padding: 0; /* required for Firefox to position list */
		}
		
		#navigation ul a {
			color: white;
			text-decoration: none;
			display: block;
			background: #17a;
			padding: 0.2em 0.5em;
			margin: 0 3em 1px 3em;
		}
		#navigation a:visited {
			color: #ccc;
		}
		#navigation a:hover {
			background: #069;
    }
		#navigation p.conform {
			color: #eee;
			text-align: center;
			line-height: 2em;
		}
		
		#content {
			padding: 1em 1em 2em 3em;
			border-left: 14em solid #28b;
			/*margin-bottom: 1em;  needed when footer p margin set 0*/	
		}
		#content img.embed {
			float: left;
			margin: 0 2em 1em 0;
			height: 11em;

		}
		#content .standaloneimage {
			margin-top: 2em;
			text-align: center;
		}
		#content dl {
			margin-left: 5em;
		}
		#content dt {
			font-size: 1em;
			font-weight: bold;
			line-height: 1.2em;
			margin: 1em 0 0 0;
		}

		#content dd {
			font-size: 1.1em;
			font-weight: normal;
			line-height: 1.2em;
			margin: 0 0 0 1em;
		}	
		#gallery {
			margin-top: 3em;
			text-align: center;
		}
		#gallery img {
			margin-bottom: 2em;
			height: 11em;
		}	
		#footer {
			position: absolute;
			left: 0;
			top: 60em;
			width: 14em;
			height: 12em; 
		        background: #28b; 
		}		        
		#footer p.conform {
			color: #eee;
			text-align: center;
			line-height: 2em;
		}
		#footer p.conform a:link, #footer p.conform a:visited {
			color: #fff;
		}
		#footer p.conform a:hover, #footer p.conform a:active {
			color: #000;
		}
		#secondnav {
			margin-top: 9em;
 		}
		#secondnav ul {
			list-style: none;
			margin: 0;
		}	
 		#secondnav ul li {
			display: inline;
			padding: 0 1em;
		}	
		#adminnav {
			margin-top: 0em;
 		}
		#adminnav ul {
			list-style: none;
			margin: 0;
		}	
 		#adminnav ul li {
			display: inline;
			padding: 0 1em;
		}	
		

/* -------- Dates ---------- */

div.date-separator
{
	float: left;
	margin: 0 10px 0 0;
}

div.date
{
	display: block;
	float: left;
	width: 40px;
	height: 49px;
	margin: 0 10px 10px 0;
	background: transparent url(images/calendar.jpg) top left no-repeat;
	text-align: center;
	font-family: sans-serif;
}

div.date span
{
	display: block;
}

div.date span.day
{
	font-size: 20px;
	line-height: 18px;
	letter-spacing: 0px;
	color: #c00;
	font-weight: bold;
	font-family: "Times New Roman", Times, serif;
}

div.date span.month
{
	text-transform: uppercase;
	margin-top: 4px;
	font-weight: bold;
	font-size: 11px;
	line-height: 13px;
	color: #222;
	letter-spacing: 1px;
}

div.date span.year
{
	letter-spacing: -1px;
	font-size: 11px;
	line-height: 16px;
	font-weight: bold;
	text-transform: uppercase;
	color: #fff;
}