/* the appropriate background class will be applied based on class attached to the body */

body {
margin: 0;
padding: 0;
font:70% 'Lucida Grande',Verdana, Helvetica, sans-serif;
}

#twoColLayout {
background: #efefef;
}

/* default links */

a:link {
background-color: transparent;
text-decoration: underline;
color: #666;
}
a:hover {
background-color: #ccc;
text-decoration: underline;
color: #990;
}
a:visited {
background-color: transparent;
text-decoration: underline;
color: #666
}



/* headers here */

h1 {
margin: 0;
padding: 30px;
font-size: 150%;
color: #FF0000;
text-indent: -9000px;
}

h2 {
	margin: 0 10px 0 10px;
	padding: 2px;
	font-size: 130%;
	color: #ffffff;
	background: #ff0000;
}

/* and then these h3 statements, unique to whichever section has been attached above, will give the headers the appropriate background color */

h3 {
text-transform: uppercase;
display: inline;
font-size: 92%;
margin: 10px 5px 0 5px;
padding: 2px;
}

.default h3 {
background: #ffffff;
}

h4 {
text-transform: uppercase;
display: inline;
font-size: 120%;
margin: 10px 5px 0 90px;
padding: 2px;
}

/* main wrapper that holds it all centrally */

#wrapper {
width:750px;
margin:0 auto;
background-color: #ffffff;
padding: 0 10px 10px 10px;
}

/* default masthead holding the banner and mainNav */

#header {
width: 750px;
height: 170px;
background:url(images/header2.gif);
}


#primaryContent {
float:left;
width:750px;
display:inline;
margin: 0 0 20px 0;
}

/* note here that specifying twoColLayout in the body will activate the following div instead of the default primaryContent */

#twoColLayout #primaryContent {
width:555px;
float:left;
margin: 0 0 20px 195px;
}

/* just incase twoColLayout is specified in body, and secondaryContent is left in, we turn it off - not ideal, but it works */

#twoColLayout #secondaryContent {
display: none;
}

#secondaryContent{
float:left;
width:270px;
margin: 0 0 20px 15px;
}

#sideContent{
float:left;
width:180px;
margin: 0 0 20px -750px;
}

/* just incase oneColLayout is specified in body, and these are left in, we turn them off - not ideal, but it works */

#oneColLayout #secondaryContent, #oneColLayout #sideContent {
display: none;
}

/* twoColContent - used to span two right-hand columns - ONLY LEAVE THIS IN IF I DISCUSS IT - box used only if no selector */

#twoColContent{
width:555px;
float:left;
margin: 0 0 20px 195px;
}


/* box is the shaded area that holds a rounded corner box or flat box, fitting the given width of the column it is in. Usually combined with another class to control inner elements, eg box default */

.box {
margin: 15px 0 0 0;
padding: 5px 0 5px 0;
}

/* Styling of the boxes if there is no JavaScript support */

.cbb {
margin: 0 10px 0 10px;
background: #FFF;
padding: 5px 0 5px 0;
line-height: 170%;
}

/* paragraph styles for any main boxes */
.cbb p, .cb p {
margin: 0;
padding: 0 5px 5px 50px;
color: #333;
}

/* Insert the custom corners and borders for browsers with sufficient JavaScript support */

.cb {
margin: 0.5em 0;
line-height: 170%;
	}

/* Rules for the top corners and border */
.bt {
	background:url(images/box.png) no-repeat 100% 0  !important;
	background:url(images/box.gif) no-repeat 100% 0;
	margin:0 0 0 18px;
	height:27px;
	}
.bt div {
	height:27px;
	width:18px;
	position:relative;
	left:-18px;
	background:url(images/box.png) no-repeat 0 0  !important;
	background:url(images/box.gif) no-repeat 0 0;
	}

/* Rules for the bottom corners and border */
.bb {
	background:url(images/box.png) no-repeat 100% 100%  !important;
	background:url(images/box.gif) no-repeat 100% 100%;
	margin:0 0 0 18px;
	height:27px;
	}
.bb div {
	height:27px;
	width:18px;
	position:relative;
	left:-18px;
	background:url(images/box.png) no-repeat 0 100%  !important;
	background:url(images/box.gif) no-repeat 0 100%; 
	font-size:0px;
	line-height:0px;
	}

/* Insert the left border */
.i1 {
	padding: 0 0 0 14px;
	background:url(images/borders.png) repeat-y 0 0  !important;
	background:url(images/borders.gif) repeat-y 0 0; 
	}
/* Insert the right border */
.i2 {
	padding: 0 14px 0 0;
	background:url(images/borders.png) repeat-y 100% 0  !important;
	background:url(images/borders.gif) repeat-y 100% 0; 
	}

/* Wrapper for the content. Use it to set the background colour and insert some padding between the borders and the content. */
.i3 {
	background:#fff;
	border: 1px solid #fff;
	border-width:1px 0;
	padding:0 5px;
	}

	/* Make the content wrapper auto clearing so it will contain floats (see http://positioniseverything.net/easyclearing.html). */
.i3:after {
	content:"."; 
	display:block; 
	height:0; 
	clear:both; 
	visibility:hidden;
}
.i3 {display:inline-block;}
.i3 {display:block;}
/* CSS for the box ends here */

/* date and posted control the small text info in article blurbs */

.date {
font-size: 85%;
font-weight: bold;
color: #666;
}

.posted {
display: block;
margin: -5px 0 0 50px;
padding: 0 0 10px 0;
font-weight: bold;
color: #666;
}

.postedUnderline {
display: block;
margin: 0 5px 5px 50px;
padding: 0 0 5px 0;
font-weight: bold;
color: #666;
border-bottom: 1px solid #999;
}

address {
margin-left: 50px;
}

/* erm, the footer */

#footer{
	clear:both;
width: 750px;
height: 5px;
padding: 0px;
}
#footer p {
margin: 10px 10px 0 0;
padding: 50px 4px 4px 0;
font-weight: bold;
}

/* image control. First we define stuff common to ALL images on the page. It is then up to other styles to override these. By default, all images will have a 2px border, and bottom and right margins of 5px. They will all float left. */

img {
float: left;
margin: 0px 0 2px 5px;
border: 2px solid #C5BDBD;
}

/* For any images in the default boxes - the pencil icons - I don't want the 2px border. So I set border to 0 */

.default img {
border: 0;
}

/* For these larger images, I don't want them to float, for that causes the h3 above to be pushed to the right. I also declare a top margin to space the header and image apart, and also increase the border width slightly.  We also set it to display:block so that if body id is twoColLayout, the image will force the header and other bits to wrap around it */

.mainImage {
display: block;
float: none;
margin-top: 4px;
border: 3px solid #C5BDBD;
}

 
.img-wrapper img {
float:none;
margin:0;
background:#fff;
padding:4px;
border:1px solid #C5BDBD;
position:relative;
left:-5px;
top:-5px;
}


/* spacer used immediately after the floated gallery thumbnails to ensure the box expands to hold them all */

.spacer {
clear: both;
}

/* CSS for the ticked off links. Note, I am not ordering things in the LVHA way, as I prefer the visited tick to work above the arrow once visited. */

ul {
list-style-type: none;
margin-top: 0px;
margin-left: 0;
margin-bottom: 0;
padding: 3px;
}

li a:link {
color:#333;
line-height:150%;
text-decoration:none;
display:block;
width:154px;
border-bottom: 1px solid #EDEAEB;
}

li a:active {
color:#333;
line-height:150%;
text-decoration:none;
display:block;
width:154px;
border-bottom: 1px solid #EDEAEB;
}

li a:hover {
color:#990000;
display:block;
line-height:150%;
width:154px;
border-bottom: 1px solid #EDEAEB;
text-decoration:none;
}

li a:visited {
color: #535353;
text-decoration:none;
line-height:150%;
display:block;
width:154px;
border-bottom: 1px solid #EDEAEB;
}

.list ul {
list-style-type:circle;
margin-top: 0px;
margin-left: 90px;
margin-bottom: 0;
padding: 3px;
}

.list img {
float:right;
}

/* form styling - not much though kids */

form {
	margin: 0;
	font-size: 80%;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 5px;
	padding-left: 50px;
}

fieldset {
width: 146px;
border: 0;
margin: 0 0 10px 0;
padding: 5px;
}

.default fieldset {
width: auto;
border: 0;
margin: 10px 0 10px 50px;
padding: 0;
}

legend {
text-transform: uppercase;
font-size: 150%;
font-weight: bold;
margin: 10px 0 2px 0px;
padding: 2px;
background: #D72E2E;
color: #FFF;
}

.default legend {
display: none;
}

label {
display: none;
}

.default label {
display: block;
font-weight: bold;
}

input {
margin-top:0;
padding: 2px;
border: 0;
background: #D7E7E9;
color: #333;
}

textarea {
margin-top:0;
padding: 2px;
border: 0;
background: #D7E7E9;
color: #333;
}

.default input {
display: block;
}

input.submit {
	border: 0;
	margin-bottom: -6px;
padding: 2px;
	background: transparent;
	font-size: 10px;
}

 #mainNav
{
margin: 75px 0 0 5px;
padding: 0;
width: 750px;
height: 15px;
font-weight: bold;
font-size: 90%;
}

#mainNav ul
{
list-style: none;
margin: 0;
padding: 0;
border: none;
}

#mainNav li
{
display: block;
margin: 0;
padding: 0;
float: left;
width: auto;
}

#mainNav a
{
color: #000;
display: inline;
width: auto;
text-decoration: none;
margin: 0;
padding: 0 10px;
border-right: 1px solid #999;
}

/* Required IE fixes
================================================*/
/* Serve gif images to IE/Win pre version 7 */
* html .i1,
* html .i2 {background-image:url(images/borders.gif);}
* html .bt,
* html .bt div,
* html .bb,
* html .bb div {background-image:url(images/box.gif);}
/* Set a height to fix up some rendering issues. */
* html .i1,
* html .i3 {height:1px;}

/* Give the absolutely positioned box a width (including IE 7)*/
.one {width:70%;}

