/* CSS Document */
/* Author Sean Gilbert, Pilotage Creative Group */


body {
margin: 0;
padding: 0;
font:80%'Lucida Grande',Verdana, Helvetica, sans-serif;
}
#threeColLayout {
background:#095AA6 url(images/bg.gif) repeat fixed;
}
#twoColLayout {
background:#095AA6 url(images/bg.gif) repeat fixed;
}
#oneColLayout {
background:#095AA6 url(images/bg.gif) repeat fixed;
}

/* main wrapper that holds it all centrally */

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

.top-text {
	min-width: 800px;
	text-align:right;
	margin: 0;
	padding: 5px 10px 5px 5px;
	color:#666;
	font-size:90%;
	background:#D4E6F7;
}
.tagline {
	float:left;
	top:20px;
	width:500px;
	min-width:350px;
	text-align:right;
	margin:20px 0 0 0;
	padding:0;
	color:#CC3333;
	font-family:"Times New Roman", Times, serif;
	font-size:2em;
	font-style:italic;
	line-height: 0.75em;
}
.small-tag {
	color: #333;
	font-size: 62%;
	font-style:normal;
}
#header {
width: 800px;
height: 170px;
background:#D4E6F7 url(images/header.gif);
background-repeat:no-repeat;
}

#header img {
float:left;
padding:0;
margin:0;
border:none;
}

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

#primaryContent h2, #secondaryContent h2, #sideContent h2 {
margin: 0 10px 0 10px;
padding: 2px;
font-size: 130%;
color:#CC3333;
background: #D4E6F7;
}

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

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

.default h3 {
background: #FFF;
}
.summary h3 {
background: #F762E0;
}
.h_title h3 {
font-size:90%;
background: #FFF;
}
.primary_text h3 {
font-size: 110%;
color: #CC3333;
}
.profile h3 {
background: #0A8FA5;
}
.centered {
	text-align:center;
}
.gallery li {
	list-style:none;
	margin: 10px 0;
}

/* now the three main columns, named in order of importance and display when styles switched off */

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

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

#threeColLayout #primaryContent {
float:left;
width:295px;
margin: 0 0 20px 195px;
}

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

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

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

#twoColLayout #sideContent {
display: none;
}

/* side content */

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

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

/* cbSide controls non-rounded boxes in the thinner left column, known as sideContent */

.cbSide {
width:165px;
margin: 5px 0 0 10px;
padding: 10px 0 5px 0;
background: #FFF;
}
.cbSide p {
margin: 0;
padding: 0 5px 2px 5px;
font-size: 90%;
color: #666;
}

/* side "ticks" */

/* 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. */

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

.cbSide li a:link {
color:#333;
font-size: 80%;
line-height:150%;
text-decoration:none;
display:block;
width:154px;
border-bottom: 1px solid #EDEAEB;
background: #FFF url(images/ticks.gif);
}

.cbSide li a:active {
color:#333;
font-size: 80%;
line-height:150%;
text-decoration:none;
display:block;
width:154px;
border-bottom: 1px solid #EDEAEB;
background: #FFF url(images/ticks.gif);
}

.cbSide li a:hover {
color:#990000;
font-size: 80%;
line-height:150%;
display:block;
width:154px;
border-bottom: 1px solid #EDEAEB;
background: #FFF url(images/ticks.gif) 0px -20px;
text-decoration:none;
}

.cbSide li a:visited {
color: #999;
font-size: 80%;
text-decoration:none;
line-height:150%;
display:block;
width:154px;
border-bottom: 1px solid #EDEAEB;
background: #FFF url(images/ticks.gif);
background-position: 0 -40px;
}

/* 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;
}

/* horizontal drop-down menu */

#menu {
	float:left;
	width: 800px;
	background:#141413 url(images/nav-img.gif) repeat-x top;
	float: left;
}

#menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 7em;
	float: left;
}

#menu .solo {
	color: #FFF;
	border:none;
	background:none;
	padding: 0;
	margin:0;
}
#menu .solo h2 {
	font: bold 10px 'Lucida Grande',Verdana, Helvetica, sans-serif;
	display:block;
	height:inherit;
	margin:0;
	padding: 20px 3px 10px 5px;
}

#menu a, #menu h2 {
	font: bold 10px 'Lucida Grande',Verdana, Helvetica, sans-serif;
	display: block;
	border-width: 1px;
	border-style: solid;
	border-color: #ccc #000 #333 #888;
	margin: 0;
	padding: 20px 3px 10px 5px;
}

#menu h2 {
	color: #fff;
}

#menu a {
	color: #FFF;
	background:#666;
	text-decoration: none;
}

#menu a:hover {
	color: #FFF;
	background: #095AA6 url(images/nav-img-over.gif) repeat-x top;
}
#menu li {
	position: relative;
	z-index:500;
}
#menu ul ul ul {
	position: absolute;
	top: 0;
	left: 100%;
}
#menu ul ul {
	position: absolute;
	z-index:500;
	width: 150px;
}
#menu ul ul a {
	padding: 10px 5px 10px 5px;
	margin: 0;
}
div#menu ul ul {
	display: none;
}
div#menu ul li:hover ul
{display: block;}
div#menu ul ul,
div#menu ul li:hover ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul li:hover ul,
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}
body {
behavior: url(csshover.htc);
}

/* 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: 25px 0 0 0;
padding: 5px 0 5px 0;
background:#D4E6F7;
}

/* 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 10px 5px;
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 12px;
	height:14px;
	}
.bb div {
	height:14px;
	width:12px;
	position:relative;
	left:-12px;
	background:url(images/box.png) no-repeat 0 100% !important;
	background:url(images/box.gif) no-repeat 0 100%;
	}

/* Insert the left border */
.i1 {
	padding: 0 0 0 12px;
	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 12px 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;
	}
/* CSS for the box ends here */



/* erm, the footer */

#footer{
	color:#333;
	clear:both;
	width: 800px;
	height: 85px;
	background: transparent url(images/footer.gif);
	padding: 0px;
}
#footer p {
margin: 10px 10px 0 10px;
padding: 50px 4px 4px 0;
}

#footer a:link, #footer a:visited {
color: #333;
}
#footer a:hover {
color: #000;
background: #D7D493;
}

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

.spacer {
clear: both;
}

/* 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: 0 10px 2px 0;
border: 2px solid #C5BDBD;
}
object {
float:left;
margin: 0 10px 2px 0;
}

.img_rt {
float: right;
margin: 0 0 2px 10px;
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 {
float:left;
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;
}

/* drop shadow effect for the gallery thumbnails. Sadly this requires a div to be wrapped around the image markup, which is a shame */

.img-wrapper {
margin: 20px 20px 0 0;
background: url(images/shadow.gif) no-repeat bottom right;
float:left;
line-height:0;
}
 
.img-wrapper img {
float:none;
margin:0;
background:#fff;
padding:4px;
border:1px solid #C5BDBD;
position:relative;
left:-5px;
top:-5px;
}

/* used to ensure all our floated thumbnails stay the right width away from the left side of the box */

.thumbnails {
margin: 0 0 20px 10px;
}

/* form styling - not much though kids */

form {
margin: 0;
padding: 0;
font-size: 80%;
}

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: 110%;
font-weight: bold;
margin: 10px 0 2px 0px;
padding: 2px;
background: #095AA6;
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:#FFF;
	font-size: 10px;
}
*/


