/* 
========================================================================================================================
Title: 			Screen Media Stylesheet
Author URI: 	www.smallsilences.com.au
Description: 	Sets standard layout styles for entire site
Updated: 		10.04.2008
========================================================================================================================
-----------------
COLOURS
-----------------
Bright blue:		#0D9AE1
Dark blue:			#074E7A
--
Pale green:			#919DA5
Mid green:			#62747F
Dark green:			#3B515F
Darkest green:		#26343E
--
Pale grey:			#ebebeb
Mid grey:			#d2d2d2
Dark grey:			#999999
Darkest grey:		#333333
--
Red:				#CC0000
-----------------
CONTENTS
-----------------
1. reset
2. general html tags
3. structure and layout
4. assorted classes
5. hacks
======================================================================================================================== */

/* 
========================================================================================================================
1. RESET
======================================================================================================================== */
html, body, form, fieldset { margin: 0; padding: 0; font: 100%/120% Arial, Helvetica, sans-serif; }
h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address { margin: 1em 0; padding: 0; }
li, dd, blockquote { margin-left: 1.2em; }
a, button, label { cursor: pointer; }
input, select, textarea, th, td { font-size: 100%; }
fieldset { border: none; }

/* 
========================================================================================================================
2. GENERAL HTML TAGS
======================================================================================================================== */

* { 
}
html {
	height: 100%;
}
body {
	margin: 0;
	padding: 0 0 1px 0; 					/* bottom padding to force a scrollbar to prevent shifting on shorter pages */
	height: 100%;
	background: #26343E;
	color: #FFFFFF;
	font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
	font-size: 74%;							/* Font sizing in ems beyond this point. if you want to change anything, just change this. Default 76%. 62.5% makes 1em=10px */
	line-height: 2em; 					/* General line-height and also acts as IE 6 Peekaboo bug hack */
	text-align: center;						/* Win IE 5 horizontal center hack apply - set to left on main container if needed */
}

/*
---------------------------------------------------------------------------------------------
LINKS
--------------------------------------------------------------------------------------------- */
a {
	color: #0D9AE1;
	text-decoration: none;
}
a:hover {
	color: #FFFFFF;
	background-color: #0D9AE1;
}
a:visited {
}
a:active {
}
a:focus {
}

/*
---------------------------------------------------------------------------------------------
HEADINGS
--------------------------------------------------------------------------------------------- */
h1, h2, h3 {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: #074E7A;
}
h1 {
	font-size: 1.4em;
	font-weight: normal;
	margin: 0 0 1em 0;
	padding: 0;
}
h2 {
	font-size: 1.2em;
	font-weight: normal;
	margin: 1em 0;
	padding: 0;
}
h3 {
	font-size: 1.0em;
	font-weight: bold;
	margin: 1em 0 0.2em 0;
	padding: 0;
}
h4, h5, h6 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.0em;
	color: #62747F;
	margin: 1em 0 0.2em 0;
	padding: 0;
}

/*
---------------------------------------------------------------------------------------------
TEXT FORMATTING
--------------------------------------------------------------------------------------------- */
p {
	margin: 0 0 1em 0;
}
strong{
}
em{
}
b{
}
i{
}

/*
---------------------------------------------------------------------------------------------
LISTS
--------------------------------------------------------------------------------------------- */
ol{
}
ul{
}
ol li{
}
ul li{
}
ul ul, ul ol, ol ul, ol ol {
	margin: 0; /* handle nested lists */
}
dl {
}
dt {
}
dd {
}

/*
---------------------------------------------------------------------------------------------
QUOTES
--------------------------------------------------------------------------------------------- */
blockquote {
	display: block;
	font-style: italic;
	border-left: 5px solid #919DA5;
	margin-left: 0;
	padding: 8px 15px;
	background: #ebebeb;
}
blockquote p {
}
cite {
}
blockquote cite {
}
q {
}

/*
---------------------------------------------------------------------------------------------
CODE
--------------------------------------------------------------------------------------------- */
pre, code, samp, kbd {
	font-size: 1.2em;
}

/*
---------------------------------------------------------------------------------------------
IMAGES
--------------------------------------------------------------------------------------------- */
img {
	border: none;
	vertical-align: middle;
}
a img {
	border: none;
}
img.align-left {
	float: left;
	margin: 0 1em 0.5em 0;
}
img.align-right {
	float: right;
	margin: 0 0 0.5em 1em;
}

/*
---------------------------------------------------------------------------------------------
HR
--------------------------------------------------------------------------------------------- */
hr {
	border: none;
	height: 1px;
	border-top: 1px dotted #d2d2d2;
	clear: both;
}
/* Start Holly Hack (incl. first-child for IE7) \*/
* html hr { border-top: 1px solid #ebebeb; }
*:first-child+html hr { border-top: 1px dotted #d2d2d2; }
/* End Holly Hack */

/*
---------------------------------------------------------------------------------------------
TABLES
--------------------------------------------------------------------------------------------- */
table {
	width: 100%;
	margin: 1em 0;
	padding: 0;
	border-collapse: collapse;
	border: none;
	font-size: 1em;
	text-align: left;
}
caption {
	font-style: italic;
}
thead {
}
tbody {
}
tfoot {
}
tr {
}
th{
	padding: 0.5em;
	vertical-align: top;
	text-align: left;
	background-color: #ebebeb;
	border: 1px solid #d2d2d2;
}
td{
	padding: 0.5em;
	vertical-align: top;
	border: 1px solid #d2d2d2;
}
td p, td h1, td h2, td h3, td h4, td h5, td h6, td ul, td ol, td dl,
th p, th h1, th h2, th h3, th h4, th h5, th h6, th ul, th ol, th dl {
	margin-top: 0;
}

/*
---------------------------------------------------------------------------------------------
FORMS
--------------------------------------------------------------------------------------------- */
input, select, textarea, button {
	font-size: 1em;
}
form {
}
fieldset {
	position: relative;
	display: block;
	padding: 0;
	margin: 1em 0;
	border-top: 1px solid #d2d2d2;
}
legend {
	position: relative;
	margin: 0;
	padding: 3px 7px;
	font-weight: normal;
	background: #ebebeb;
	border: 1px solid #d2d2d2;
	color: #074E7A;
}
/* Start Holly Hack - IE overlaps fieldset bg color behind legend \*/
* html fieldset { margin: 1.7em 0; }
* html legend { position: relative; top: -1.4em; } 
*:first-child+html fieldset { margin: 1.7em 0; }
*:first-child+html legend { position: relative; top: -1.4em; } /* note these include IE7, as it retains the fieldset bg bug */
/* End Holly Hack */
label {
	display: block;
	text-align: left;
	cursor: pointer;
	color: #074E7A;
}
input, textarea, select {
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
	border: 1px solid #d2d2d2;
	padding: 3px 5px;
}
select {
}
optgroup {
}
option {
}
button, input.button, input.submit {
	font-family: Arial, Helvetica, sans-serif;
	padding: 3px 7px;
	color: #0D9AE1;
	background: #FFFFFF url(../images/interface/button_bg.gif) 0 0 repeat-x;
	border: 1px solid #d2d2d2;
	cursor: pointer;
}
button:hover, input.button:hover, input.submit:hover {
	border: 1px solid #0D9AE1;
}

/* Contact forms */
form.contact-form {
}
form.contact-form label {
	display: block;
	width: 90px;
	float: left;
	padding-right: 15px;
	text-align: left;
}
form.contact-form p {
	border-bottom: 1px solid #d2d2d2;
	padding: 8px 0;
	margin: 0;
}
.instructions {
	font-size: 0.8em;
	font-style: italic;
	color: #074E7A;
}


/* 
========================================================================================================================
STRUCTURE & LAYOUT
======================================================================================================================== */
/* 		
Label to mark the structural elements for screen readers - Needs to display, but not be visible or affect layout under normal circumstances.
*/
.structural-label {
	width:0px;
	height:0px;
	margin:0px;
	padding:0px;
	line-height: 0px;
	overflow: hidden;
	visibility:hidden;
}

/*
---------------------------------------------------------------------------------------------
CONTAINER MAIN
--------------------------------------------------------------------------------------------- */
#container {
	position: relative;
	margin: 20px auto 0 auto;
	padding: 0 10px 0 10px;
	width: 740px;
	background: #FFFFFF;
	color: #62747F;
	border: 2px solid #1A272F;
	text-align: left;					/* Win IE 5 horizontal center hack reset */
}
/* Start Holly Hack \*/
* html #container { width: 764px; w\idth: 740px; }
/* End Holly Hack */

/*
---------------------------------------------------------------------------------------------
SKIP LINKS
--------------------------------------------------------------------------------------------- */
#skip {
	height: 0;
	position: absolute;
	top: -900px;
}

/*
---------------------------------------------------------------------------------------------
MASTHEAD 
--------------------------------------------------------------------------------------------- */
#masthead {
	position: relative;
	display: block;
}
#masthead h2 {
	margin: 0;
}
#masthead h2 a img {
}


/*
---------------------------------------------------------------------------------------------
NAVIGATION 
--------------------------------------------------------------------------------------------- */
#navigation {
	position: absolute;
	top: 45px;
	right: 10px;
	margin: 0;
	padding: 0;
	height: 35px;
	margin-left: 260px;
	font-size: 1.1em;
}
#navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#navigation ul li {
	display: block;
	float: left;
	margin: 0;
	padding: 0;
}
#navigation ul li a {
	display: block;
	float: left;
	height: 35px;
	line-height: 35px;
	padding: 0 13px;
	border-left: 0px solid #DDD;
	text-decoration: none;
	color: #074E7A;
}
#navigation ul li a:hover, #navigation ul li a:active {
	color: #0D9AE1;
	background-color: #FFFFFF;
}

/* Set current navigation highlight state based on body id */
body#section-home #navigation #home,
body#section-about #navigation #about,
body#section-portfolio #navigation #portfolio,
body#section-contact #navigation #contact
{
	color: #0D9AE1;
}

/*
---------------------------------------------------------------------------------------------
CONTENT 
--------------------------------------------------------------------------------------------- */
#content-container {
	margin-bottom: 10px;
	background: #FFFFFF url(../images/interface/bg_content_bottom.gif) bottom left repeat-x;
}
#header {
	padding: 0 20px;
	height: 50px;
	background: #26343E url(../images/interface/bg_header.jpg) top right repeat-x;
	border-bottom: 1px solid #FFFFFF;
}
#header h1 {
	margin: 0;
	padding: 0;
	color: #FFFFFF;
	line-height: 50px;
}
#content-primary {
	float: right;
	width: 450px;
	padding: 20px 20px 20px 10px;
}
/* Start Holly Hack \*/
* html #content-primary { width: 480px; w\idth: 450px; }
/* End Holly Hack */

#content-secondary {
	float: left;
	width: 220px;
	padding: 20px 0 10px 20px;
}
/* Start Holly Hack \*/
* html #content-secondary { width: 240px; w\idth: 220px; }
/* End Holly Hack */

/* Content formatting */
.intro {
	font-size: 1.1em;
	font-weight: normal;
	color: #074E7A;
}
#content-primary img, #content-secondary img {
	border: 1px solid #FFFFFF;
}
#content-primary a:hover img, #content-secondary a:hover img {
	border: 1px solid #0D9AE1;
}
#content-primary img.no-border, #content-secondary img.no-border {
	border: none;
}

/* HOME PAGE */
#section-home #header {
	padding: 0;
	height: 326px;
	border-top: 1px solid white;
}
#section-home #header #home-slideshow {
	margin-top: 25px;
	border-top: 1px solid #FFFFFF;
}

/* PORTFOLIO PAGE */
#section-portfolio #content-primary {
	width: auto;
	float: none;
	padding: 20px 20px 0 20px;
}
#section-portfolio #content-secondary {
	width: auto;
	float: none;
	padding: 0 20px 10px 20px;
}
ul#portfolio-menu {
	list-style: none;
	margin: 0 -20px 0 0;
	padding: 0;
	float: left;
}
ul#portfolio-menu li {
	margin: 0 20px 10px 0;
	padding: 0;
	width: 220px;
	float: left;
	text-align: center;
	font-size: 1.1em;
}

/*
---------------------------------------------------------------------------------------------
FOOTER 
--------------------------------------------------------------------------------------------- */
#footer {
	width: 760px;
	margin: 0 auto;
	padding: 5px 0;
	background: #26343E;
	color: #62747F;
	font-size: 0.9em;
	line-height: 1em;
}
#footer .copyright {
	float: left;
	margin: 0;
	padding: 0;
}
#footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#footer ul li {
	float: left;
	margin: 0 0 0 1em;
	padding: 0 0 0 1em;
	border-left: 1px solid #3B515F;
}
#footer a {
	color: #919DA5;
	text-decoration: none;
}
#footer a:hover, #footer a:active {
	text-decoration: underline;
	background-color: transparent;
}
#footer a.credit {
	display: block;
	float: right;
	width: 65px;
	height: 11px;
	text-indent: -9000px;
	background: transparent url(../images/interface/ftr_altier.gif) top left no-repeat;
}

/* 
========================================================================================================================
4. ASSORTED CLASSES
======================================================================================================================== */

.hide {
	display:none;
}
.show {
	display:block;
}
.float-left {
	float: left;
}
.float-right {
	float: right;
}
.float-none {
	float: none;
}
.align-left {
	text-align: left;
}
.align-center {
	text-align: center;
}
.align-right {
	text-align: right;
}
.clear {
	clear: both;
}

/* 
========================================================================================================================
5. HACKS, FIXES & WORKAROUNDS
======================================================================================================================== */

/*
---------------------------------------------------------------------------------------------
CLEARFIX - Cross-browser clearing method
--------------------------------------------------------------------------------------------- */
.clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix {display: inline-block;}
/* Start Holly Hack \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End Holly Hack */

