/*-----------------------------------------------------------------------------

	Main index page stylesheet (screen_index.css)

	version: 	1.2
	date:			22nd August 2006
	site: 		reefnet.co.uk
	author:		ReefNet
	
	=TODO
	=FIX
	=BUG

	External   	: External stylesheet imports
	General		: Overall rules, bug-fixes etc
	Typography 	: Text fonts and sizes
	Colours		: Foreground / background colours
	Layout		: Sizes, Margin, Padding, floats etc
	Navigation  : Links, nav lists
	Images		: Background images, replacements, headers, bullets, lists

-----------------------------------------------------------------------------*/

/* =External
-------------------------------------------------------------------*/

/* =General
-------------------------------------------------------------------*/

* {
	margin: 0;
	padding: 0;
}

/* =FIX : clear float-containing elements *without* using non-struc markup */

.replace {
	text-indent: -3000px;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* Hides from IE-mac \*/

* html .clearfix {
	height: 1%;
}/* End hide from IE-mac */

/* =Typography
-------------------------------------------------------------------*/

body {
	font: 76% / 1.4em arial, sans-serif;
	font-weight: normal;
	margin-top: 8px;
}

.box h2 {
	font-size: 115%;
	font-weight: bold;
	letter-spacing: 0.1em;
}

#sub form input {
	font-size: 90%;
}

#first p, #second p {
	font-size: 120%;
}

#sub blockquote {
	font-size: 150%;
	line-height: 1.4em;
	font-weight: bold;
	font-style: italic;
}

#sub blockquote p.source {
	font-size: 65%;
	font-style: normal;
	font-weight: bold;
	line-height: 1em;
	text-align: right;
	margin: 4px 0 0 0;
}

#sub h3.breaking {
	width: 200px;
	padding: 30px 0 0 35px;
	text-align: left;
	color: #7F9DB9;
	font-size: 130%;

}

#sub p.breaking {
	width: 200px;
	padding: 5px 0 0 35px;
	text-align: left;
	color: #246276;
}

#sub p.breaking a {
	text-decoration: none;
	color: #246276;
}

#sub p.breaking a:hover {
	text-decoration: underline;
	color: #7F9DB9;
}

/* =Colours
-------------------------------------------------------------------*/

body {
	background-color: #fff;
	color: #333;
}

#sub form input#button {
	background:#7F9DB9;
	color:#fff;
}

#sub form input#button:hover {
	color: #7f9DB9;
	background-color: #B3C6D3;
}

#first p, #second p {
	color: #fff;
}

#sub blockquote {
	color: #CFDFE8;
}

#sub blockquote p.source {
	color: #7F9DB9;
}

/* =Layout
-------------------------------------------------------------------*/

#sub form {
	text-align: right;
}

#sub form fieldset {
	border: none;
}

#sub form label {
	font-size: 90%;
	color: #fff;
	text-transform: lowercase;
	padding-right: 5px;
	font-weight: bold;
}

#sub form input#button {
	width: 70px;
	border: 1px solid #7F9DB9;
	position: absolute;
	right: 7px;
	font-size: 110%;
	bottom: 0px;
}

#page_wrapper {
	width: 770px;
	margin: 0 auto;
}

#header {
	width: 100%;
	margin: 0 auto;
}

#header h1 {
	height: 199px;
}

#sub {
	position: relative;
	float: right;
	width: 252px;
	height: 539px;
}

#main {
	padding-left: 4px;
	float: left;
	width: 510px;
}

#footer {
	height: 89px;
	margin-bottom: 10px;
}

#first {
	height: 337px;
	width: 508px;
	margin-top: 2px;
}

#first p {
	padding-top: 228px;
	width: 285px;
	padding-left:15px;
	text-align: justify;
}

#second {
	height: 187px;
	width: 508px;
	margin-top: 2px;
}

#second p {
	width: 250px;
	text-align: justify;
	padding-left: 25px;
	padding-top: 6px;
}

#sub blockquote {
	margin-top: 75px;
	width: 200px;
	padding: 15px 0 0 35px;
	text-align: left;
}

#sub blockquote p.source {
	text-align: left;
}

#sub form {
	position: absolute;
	bottom: 60px;
	right: 5px;
	height: 120px;
}

#sub form h3 {
	text-align: left;
	color: #fff;
	font-weight: bold;
	font-size: 100%;
	padding-left: 8.5em;
	padding-top: 5px;
}

#sub form fieldset {
	padding: 15px 15px 0 0;
	line-height: 2em;
}

#sub address {
	position: absolute;
	bottom: 10px;
	left: 15px;
	background: #A3BACB url(/_struct/wave_bullet.gif) no-repeat bottom left;
	padding: 0 0 0 30px;
	border-bottom: 3px solid #7F9DB9;
	color: #fff;
	font-style: normal;
	font-size: 100%;
	font-weight: bold;
}

#sub address a {
	text-decoration: none;
	color: #fff;
	background-color: #7F9DB9;
	padding: 2px 5px 2px 26px;
	font-size: 110%;
	margin-left: 10px;
}

#sub address a:hover {
	color: #CFDFE8;
}

/* =Navigation & Links
-------------------------------------------------------------------*/

#main ul {
	position: relative;
	list-style: none;
	margin-top: -23px;
	z-index: 1;
}

#main ul li {
	display: inline;
	margin-right: 14px;
}

#main ul li a {
	color: #00495F;
	padding: 0 2px;
	text-decoration: none;
	font-weight: bold;
	letter-spacing: 1px;
}

#main ul li a:hover, #main ul li.here a {
	border-bottom: 4px solid #CFDFE8;
}

/* =Images
-------------------------------------------------------------------*/

#sub form {
	background: url(/_struct/login_form_bg_nohead.gif) no-repeat top right;
}

/*#sub blockquote {
	background: url(/_struct/quote_tl.gif) no-repeat top left;
}

#sub blockquote p.source {
	background: url(/_struct/quote_br.gif) no-repeat bottom right;
}*/

#sub img {
	border: none;
}

#first {
	background: #4F6886 url(/_struct/main_bg_top.jpg) no-repeat top;
}

#second {
	background: #4F6886 url(/_struct/main_bg_bot.jpg) no-repeat top;
}

#header h1 {
	position: relative;
	background: #fff url(/_struct/header_logo.gif) no-repeat top;
	z-index:0;
}


#footer {
	background: url(/_struct/footer_bg_notext.gif) no-repeat bottom;
}

#footer p {
	color: #246276;
	font-weight: normal;
	font-size: 105%;
	width: 740px;
	margin: 0 auto;
	padding-top: 29px;
	position: relative;
}

#footer span.org {
	padding-left: 25px;
	padding-right: 10px;
	font-size: 110%;
	font-weight: bold;
}

#footer span.street-address {
	padding-left: 25px;
	padding-right: 2px;
}

#footer span.locality {
	padding: 0 2px;
}

#footer span.region {
	padding: 0 2px;
}

#footer span.postal-code {
	padding-left: 2px;
	padding-right: 33px;
}

#footer span.tel {
	padding-left: 2px;
}

#footer span.copyright {
	font-size: 85%;
	padding-left: 25px;
	position: relative;
	top: -20px;
}

#sub {
	background: #B3C6D3 url(/_struct/sub_bg.gif) no-repeat bottom;
}