/**
 * Main CSS file for site, defines all styles used on every page
 *
 * @copyright  2009 Deckchair UK Ltd www.deckchair.co.uk
 * @author     Simon Pollard
 * @version    v1.0
*/

/* 	
Style for all pages
-----------------------------------------------------------*/
* { padding: 0; margin: 0; }
* html a:hover {visibility:visible}
html {
	height: 100%;
	text-align: center;
}
body {
	height: 100%;
}
.wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -33px; /* the bottom margin is the negative value of the footer's height */
}
a img {
	border: none;
}
ul {
	margin-bottom: 15px;
}
li {
	margin-left: 20px;
	font-size: 12px;
	margin-bottom: 5px;
	list-style-image: url(../images/bulletpoint.gif);
}

/* 	
Style for header
-----------------------------------------------------------*/
div#sub-header {
	padding-top: 20px;
	height: 110px;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 940px;
	text-align: left;
}
a#logo {
	width: 240px;
	position: relative;
	display: block;
}
a#logo img {
	position: absolute;
	left: 0px;
	top: 0px;
}
img#header-discover {
	position: absolute;
	top: 40px;
	left: 275px;
}
img#header-images {
	position: absolute;
	top: 20px;
	right: 0px;
}
div#sub-header object {
	position: absolute;
	top: 20px;
	right: 195px;
}
div#main-nav {
	background-image: url(../images/main-nav-bg.gif);
	background-repeat: repeat-x;
	background-color: #5880c1;
}
div#sub-main-nav {
	height: 45px;
	margin-left: auto;
	margin-right: auto;
	width: 940px;
	text-align: left;
	position: relative;
}
div#sub-main-nav a {
	background-repeat: no-repeat;
	margin-right: 30px;
	height: 20px;
	padding-top: 3px;
	padding-bottom: 3px;
	padding-right: 8px;
	display: block;
	float: left;
	text-align: center;
}
div#main-nav-links a {
	padding-left: 8px;
	background-position: left 1px;
	background-repeat: no-repeat;
}
/* margin allows for background image when selected*/
div#main-nav-shadows a {
	padding-left: 5px;
	margin-left: 3px;
	background-position: right;
	background-repeat: no-repeat;
	display: inline;
}

div#main-nav-links {
	position: absolute;
	left: 6px;
	top: 9px;
	z-index: 2;
}
/* On hover mover white links across and down 1px via padding*/
div#main-nav-links a:hover {
	padding-left: 9px;
	padding-top: 4px;
	padding-bottom: 2px;
	padding-right: 7px;
}
div#main-nav-shadows {
	position: absolute;
	left: 7px;
	top: 10px;
	z-index: 1;
}
/* the . refers to the class of the body tag, set via PageHeader() */
.index a#main-nav-home, .about a#main-nav-about, .sandf a#main-nav-sandf, .what a#main-nav-what, .contact a#main-nav-contact, .opportunities a#main-nav-opportunities {
	background-image: url(../images/mainnav/left-edge.gif);
}
.index a#main-nav-shadow-home, .about a#main-nav-shadow-about, .sandf a#main-nav-shadow-sandf, .what a#main-nav-shadow-what, .contact a#main-nav-shadow-contact,  .opportunities a#main-nav-shadow-opportunities {
	background-image: url(../images/mainnav/right-edge.gif);
	background-color: #3a629d;
}

/* 	
Style for content
-----------------------------------------------------------*/
div#content {
}
div#sub-content {
	margin-bottom: 10px;
	margin-left: auto;
	margin-right: auto;
	width: 940px;
	text-align: left;
	padding-top: 20px;
}

/* 	
Style for left menu
-----------------------------------------------------------*/
div#left-menu {
	padding-top: 20px;
	width: 220px;
	margin-bottom: 20px;
}
div#left-menu a {
	display: block;
}

/* 	
Styles for footer
-----------------------------------------------------------*/
.push {
	height: 33px; /* .push must be the same height as .footer */
	clear: both;
}
div.footer {
	background-image: url(../images/footer-bg.gif);
	background-repeat: repeat-x;
	background-color: #5880c1;
}
div.sub-footer {
	padding-top: 10px;
	clear: both;
	height: 23px;
	margin-left: auto;
	margin-right: auto;
	width: 940px;
	position: relative;
	text-align: left;
}
div#footer-links {
	right: 0px;
	top: 10px;
	position: absolute;
}
