/*
Styles for Scott Gillies - Storm Guard Roofing
Author: Bruce Hiles, Designwise
Date: November 2009
*/

/* Normalization */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, code, cite, del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
	font-size: 62.5%;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
:focus {
	outline: 0;
}


/* layout */

body {
	background: url(../images/pg_bkgnd.jpg) repeat-x;
	font-family: "Lucida Grande", Lucida Sans Unicode, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Georgia, serif;
}

#header {
	position: relative;
	width: 960px;
	height: 180px;
	margin: 0 auto;
	background: url(../images/header_bkgnd.jpg) no-repeat;
}
#header h1.branding {
	position: absolute;
	top: 8px;
	left: 302px;
	height: 172px;
	width: 370px;
	background: url(../images/sg_logo.png) no-repeat;
	text-indent: -9999px;
	z-index: 10;
}
#primary_nav {
	position: absolute;
	top: 156px;
	height: 24px;
	width: 960px;
	background-color: black;
	z-index: 20;
} 
#main_content_hp {
	position: relative;
	height: auto;
	width: 960px;
	min-height: 480px;
	margin: 0 auto;
	background: url(../images/mc_bkgnd.jpg) no-repeat;
}
#main_content {
	position: relative;
	height: auto;
	min-height: 480px;
	width: 960px;
	margin: 0 auto;
	background: url(../images/mc_bkgnd_sec.jpg) no-repeat;
}
#main_image {
	position: absolute;
	top: 10px;
	left: 0;
	height: 313px;
	width: 960px;
	z-index: 15;
}
div.shadow {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 24px;
	background: url(../images/drop_shadow.png) repeat-y;
	z-index: 20;
}
div.shadow_footer {
	position: absolute;
	top: 0;
	left: 0;
	height: 11px;
	width: 24px;
	background: url(../images/drop_shadow.png) repeat-y;
	z-index: 20;
}
div.sidebars {
	position: absolute;
	top: 32px;
	width: 200px;
	min-height: 400px;
}
#left_sidebar {
	border-right: 1px dotted rgb(150,150,150);
	left: 0;
	z-index: 10;
}
#right_sidebar {
	border-left: 1px dotted rgb(150,150,150);
	right: 0;
}
#right_sidebar img {
	margin-top: 20px;
}
div.columns {
	position: absolute;
	width: 320px;
	top: 310px;
}
#left_column {
	left: 0;
	text-align: right;
	border-right: 1px dotted rgb(150,150,150);
}
#mid_column {
	left: 320px;
	border-right: 1px dotted rgb(150,150,150);
}
#right_column {
	left: 640px;
	text-align: right;
}
#footer {
	position: relative;
	width: 960px;
	height: 48px;
	margin: 0 auto;
	background: url(../images/footer_bkgnd.png) no-repeat;
}
#footer_nav {
	position: absolute;
	top: 30px;
	left: 16px;
	width: 464px;
}
#footer_tel {
	position: absolute;
	top: 30px;
	right: 16px;
	width: 464px;
}

/* text styles */

#main_content h2 {
	padding: 32px 280px 0 225px;
	font-size: 1.5em;
}
#main_content h4 {
	padding: 20px 280px 0 225px;
	font-size: 1.1em;
	line-height: 1.8;
	font-style: italic;
	color: rgb(120,120,120);
}
#main_content p {
	padding: 12px 280px 0 225px;
	font-size: 1.1em;
	line-height: 1.8;
}
#main_content_hp h3 {
	padding: 0 32px 0 32px;
	font-size: 1.2em;
}
#main_content_hp p {
	padding: 12px 32px 0 32px;
	font-size: 1.1em;
	line-height: 1.8;
}
#right_sidebar h3 {
	margin: 0 24px 0 16px;
	font-size: 1.1em;
	line-height: 1.8;
	font-style: italic;
	color: rgb(80,80,80);
	border-bottom: 1px dotted rgb(150,150,150);
}
#right_sidebar p {
	padding: 16px 24px 0 16px;
	font-size: 1.1em;
	line-height: 1.8;
	font-weight: bold;
	color: rgb(51,153,204);
}
#footer_tel p {
	text-align: right;
	font-size: 1em;
	font-weight: bold;
}
#footer_tel span {
	font-size: 1.1em;
}

/* navigation */

#primary_nav ul {
	position: absolute;
	list-style: none;
	width: 576px;
	left: 192px;
}
#primary_nav ul.hp {
	position: absolute;
	list-style: none;
	width: 480px;
	left: 240px;
}
#primary_nav ul li {
	font-size: 1em;
	height: 24px;
	width: 96px;
	background-image: url(../images/btn_bkgnd_off-trans.png);
	float: left;
	text-align: center;
}
#primary_nav ul li:hover {
	background-image: url(../images/btn_bkgnd_on-trans.png);
	height: 34px;
}
#primary_nav ul li a.current {
	background-image: url(../images/btn_bkgnd_on-trans.png);
	height: 28px;
}
#primary_nav ul li.current.last {
	background-image: url(../images/btn_bkgnd_on_last-trans.png);
	height: 34px;
}
#primary_nav ul li.last {
	font-size: 1em;
	height: 24px;
	width: 96px;
	background-image: url(../images/btn_bkgnd_off_last-trans.png);
	float: left;
}
#primary_nav ul li.last:hover {
	background-image: url(../images/btn_bkgnd_on_last-trans.png);
	height: 34px;
}
#primary_nav ul li a {
	display: block;
	height: 24px;
	width: 96px;
	padding-top: 6px;
}

ul#sub_nav {
	position: absolute;
	top: 0;
	left: 20px;
	width: 160px;
}
ul#sub_nav li {
	position: relative;
	font-size: 1.1em;
	height: 24px;
	width: 160px;
	margin-bottom: 8px;
	border-bottom: 1px dotted rgb(150,150,150);
}
ul#sub_nav li a {
	display: block;
	height: 24px;
	width: 160px;
	padding-top: 10px;
}

#footer_nav ul li {
	font-size: 1em;
	float: left;
	height: 24px;
	text-align: center;
}
#footer_nav ul li a:after {
	content: "|";
	margin: 0 6px 0 6px;
}
#footer_nav ul li.last a:after {
	content: "";
	margin: 0 6px 0 6px;
}

/* links */

a {
	text-decoration: none;
	font-weight: bold;
}

a:link {
	color: rgb(55,68,138);
}
a.lm:after {
	content: url(../images/red_arrow-trans.png);
	margin-left: 3px;
	vertical-align: -2px;
}
a:visited {
	color: rgb(55,68,138);
}
a:hover {
	color: rgb(0,0,0);
}
a:active {
	color: red;
}

#primary_nav ul li a:link {
	color: rgb(180,180,180);
}
#primary_nav ul li a:visited {
	color: rgb(180,180,180);
}
#primary_nav ul li a:hover {
	color: rgb(255,255,255);
}
#primary_nav ul li a:active {
	color: red;
}

ul#sub_nav li a:link {
	color: rgb(55,68,138);
}
ul#sub_nav li a:visited {
	color: rgb(55,68,138);
}
ul#sub_nav li a:hover {
	color: rgb(0,0,0);
}
ul#sub_nav li a:hover:after {
	content: url(../images/red_arrow-trans.png);
	position: absolute;
	top: 9px;
	left: 148px;
}
ul#sub_nav li a.current:after {
	content: url(../images/red_arrow-trans.png);
	position: absolute;
	top: 9px;
	left: 148px;
}
ul#sub_nav li a:active {
	color: red;
}
ul#sub_nav li a:active:after {
	content: url(../images/red_arrow-trans.png);
	position: absolute;
	top: 9px;
	left: 148px;
}
