
body {
	background: #000 url(../img/background.jpg) top center no-repeat;
	color: #A9BED0;
}

h1 {
	color: #fff;
	margin-top: 0;
	letter-spacing: -1px;
	font-size: 2.4em;
}

h2 { color: #D3D9EE; }

a, a:visited {
	color: #ff6;
	text-decoration: none;
	background: #021D2B;
}

a:hover { color: #fff; }

#container {
	width: 760px;
	margin: 0 auto;
	padding-bottom: 25px;
}

#header {
	position: relative;
	padding-top: 10px;
	overflow: hidden;
}

#header h1 { margin: 0; }

#logo {
	float: left;
	display: inline;
}

#logo a {
	display: block;
	overflow: hidden;
	text-indent: -999em;
	background: url(../img/diveco.png) 0 0 no-repeat;
	width: 485px;
	height: 117px;
	margin-bottom: 18px;
}

#intro {
	width: 220px;
	height: 97px;
	background: url(../img/intro-bg.png) no-repeat;
	float: right;
	display: inline;
	margin-top: 25px;
	color: #fff;
}

#intro p {
	font-size: 1.5em;
	padding: 14px 10px 0 10px;
	text-align: center;
	line-height: 1.5;
}

#emergency {
	float: right;
	display: inline;
	margin: 0;
	height: 34px;
	width: 220px;
	background: url(../img/emergency.png) 0 0 no-repeat;
	overflow: hidden;
	text-indent: -999em;
}

#main { padding-top: 35px; }
#main.home { padding-top: 0; }

#content {
	width: 600px;
	float: left;
	display: inline;
	padding: 8px 0 35px 0;
}

.home #content {
	width: auto;
	padding-bottom: 5px;
}

.no-nav #content {
	width: 400px;
	margin-left: 10px;
}

.three-column #content {
	width: 370px;
}

#content li { margin-bottom: 0; }
	
#sidebar {
	float: right;
	display: inline;
	width: 220px;
	padding: 8px 0 15px 0;
}

.no-nav #sidebar {
	width: 320px;
}

img.border {
	display: block;
	padding: 4px;
	border: 1px solid #002E44;
	background: #021D2B;
}

a.bullet, a.bullet:visited {	
	padding-left: 12px;
	background: #021D2B url(../img/arrow-small.png) 3px no-repeat;
}

.image-set, .image-set li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.image-set {
	overflow: hidden;
	margin: 1em 0 1.5em 0;
}

.image-set li {
	float: left;
	display: inline;
	padding-bottom: 20px;
	width: 175px;
}

.image-set li.left {
	clear: both;
	margin-right: 20px;
}

.image-set li a {
	display: block;
	position: relative;
}

.image-set p {
	font-size: 1em;
	margin: 5px 0 0 0;
}

.image-set .zoom {
	position: absolute;
	top: 7px;
	left: 7px;
	width: 18px;
	height: 18px;
	background: url(../img/magnify.png) 0 0 no-repeat;
	overflow: hidden;
	text-indent: -999em;
}

.logo-set {
	background: #fff;
	padding: 1px;
	margin: 2em 0;
	text-align: center;
}

.logo-set img {
	display: inline;
	margin: 10px;
}


/* NAVIGATION */

#nav {
	margin: 0;
	clear: both;
}

#nav ul, #nav li { margin: 0; padding: 0; list-style: none; }
	
#nav ul, #nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#nav li, #nav li a {
	float: left;
	display: inline;
}

#nav li a {
	height: 45px;
	background: url(../img/nav.png) 0 0 no-repeat;
	text-indent: -999em;
	overflow: hidden;
}

#nav #nav-about 		{ width: 127px; }
#nav #nav-services 		{ width: 83px; 	background-position: -127px 0; }
#nav #nav-equipment 	{ width: 104px; background-position: -210px 0; }
#nav #nav-gallery 		{ width: 133px; background-position: -314px 0; }
#nav #nav-contact 		{ width: 83px; 	background-position: -447px 0; }

#nav #nav-about:hover 		{ background-position: 0 -45px; }
#nav #nav-services:hover 	{ background-position: -127px -45px }
#nav #nav-equipment:hover 	{ background-position: -210px -45px }
#nav #nav-gallery:hover 	{ background-position: -314px -45px }
#nav #nav-contact:hover 	{ background-position: -447px -45px }

#nav .selected #nav-about, 		#nav .selected #nav-about:hover		{ background-position: 0 -90px; }
#nav .selected #nav-services, 	#nav .selected #nav-services:hover 	{ background-position: -127px -90px }
#nav .selected #nav-equipment, 	#nav .selected #nav-equipment:hover { background-position: -210px -90px }
#nav .selected #nav-gallery, 	#nav .selected #nav-gallery:hover 	{ background-position: -314px -90px }
#nav .selected #nav-contact, 	#nav .selected #nav-contact:hover 	{ background-position: -447px -90px }


/* SIDENAV */

#sidenav {
	float: left;
	display: inline;
	width: 120px;
	margin-right: 30px;
}

#sidenav ul, #sidenav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#sidenav ul { border-top: 1px solid #002C41; }

#sidenav li {
	border-bottom: 1px solid #002C41;
	line-height: 1.2;
}

#sidenav li a {
	color: #ff0;
	background: url(../img/sidenav-arrow.png) 9px no-repeat;
	border: none;
	display: block;
	padding: 8px 0 10px 20px;
	font-size: 1.25em;
	letter-spacing: -1px;
	font-weight: bold;
	text-decoration: none;
}

#sidenav li a:hover {
	color: #fff;
	background-image: url(../img/sidenav-arrow-on.png);
}

#sidenav li.selected {
	background: url(../img/sidenav-bg.png) bottom repeat-x;
}

#sidenav li.selected a {
	color: #fff;
	background-image: url(../img/sidenav-arrow-on.png);
}


/* HOME */

#slideshow {
	width: 760px;
	height: 300px;
	background: url(../img/slideshow-bg.png) no-repeat;
	overflow: hidden;
}

#slideshow ul, #slideshow li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#slideshow ul { margin: 5px 0 0 5px; }

#home-content {
	margin: 25px 10px;
	padding: 2px 0;
	overflow: hidden;
	background: url(../img/divider.png) 370px repeat-y;
}

#home-content .left,
#home-content .right {
	float: left;
	display: inline;
	width: 350px;
	margin-right: 40px;
}

#home-content .left p {
	font-size: 1.8em;
	margin-bottom: 15px;
}

#home-content .left p.more {
	font-size: 1.3em;
	margin-bottom: 0;
}

#home-content a.bullet {
	float: right;
	display: inline;
	padding-right: 3px;
}

#home-content .left strong { color: #ff0; }

#home-content .right { margin-right: 0; }
#home-content .right p { font-size: 1.4em; }
#home-content .right strong { color: #fff; }

#home-content .left p.last,
#home-content .right p.last { margin-bottom: 0; }


/* GALLERY */

.projects, .projects li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.projects {
	margin-top: 2.5em;
}

.projects li {
	float: left;
	display: inline;
	width: 250px;
	margin-right: 45px;
	padding-bottom: 20px;
}

.projects li.left {
	clear: both;
}

.projects h3 {
	margin: 3px 0;
}

.projects li p {
	font-size: 1em;
	overflow: hidden;
}

.projects a.bullet {	
	float: left;
	display: inline;
	padding: 0 3px 0 12px;
}

#gallery-heading { overflow: hidden; }

#gallery-heading h1 {
	float: left;
	display: inline;
	width: 400px;
}

#gallery-heading p {
	float: right;
	display: inline;
	padding-top: 7px;
}

#gallery-heading a {	
	padding: 0 12px 0 3px;
	background: #021D2B url(../img/arrow-small.png) right no-repeat;
}

#gallery-image {
	display: block;
	padding: 4px;
	border: 1px solid #002E44;
	background: #021D2B;
	margin-bottom: 20px;
}

#gallery-info {
	margin: 0 36px;
}


/* SIDEBAR */

#side-slideshow {
	display: block;
	padding: 4px;
	border: 1px solid #002E44;
	background: #021D2B;
	margin-bottom: 10px;
}

#side-slideshow img { display: block; }

#side-slideshow ul, #side-slideshow li,
#sidebar .links, #sidebar .links li {
	list-style: none;
	margin: 0; padding: 0;
}

#sidebar .links li {
	display: block;
	margin-bottom: 10px;
	position: relative;
}

#sidebar .links li img {
	margin: 0 auto;
}

#sidebar p {
	font-size: 1.1em;
	color: #788795;
}

#sidebar p.caption {
	text-align: center;
	margin-bottom: 35px;
}


/* FOOTER */

#footer {
	clear: both;
	height: 30px;
	background: url(../img/footer.png) 0 0 no-repeat;
	color: #788499;
}

#footer a, #footer a:visited { color: #fff; text-decoration: none; background: none; }
#footer a:hover { color: #ff6; }

#footer p {
	float: left;
	display: inline;
	font-size: 1.1em;
	line-height: 28px;
	margin: 0 10px;
}

#footer p.credit {
	float: right;
}