/*
Company:	Corey Haim 08
File:		main.css - This contains all the main styles for the website.

All the styles are separted into the following groups:
Global Browser Reset - this is handled by the reset-fonts.css file from YUI
HTML, Body - for the html and body tags
Layout - styles that define the layout of the site
Modules - styles for content modules
Nav - navigation bar
Default Headings - headings like h1, h2, etc
Common Text Styles - Styles for text
Default Lists - unordered and ordered lists
Forms - html forms
Default Links - links
Misc - anything that doesn't fit elsewhere
*/

/* @group HTML, Body */
html {
	background-color: #000;
}
body {
	font-family: Verdana, Arial, sans-serif; 
}
/* @end */

/* @group Layout */
div#wrap {
	width: 832px;
	height: 1317px;
	background: url(../images/page-bkg.jpg) no-repeat 0 0;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	margin-bottom: 20px;
	border-top: 4px solid #bf3c07;
}
/* Head */
div#hd {
	overflow: hidden;
}

/* Body */
div#bd {
	width: 610px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 100px;
	height: 797px;
}

/* Footer */
div#ft {
	width: 832px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 0 20px 0;
}
div#ft p {
	font-size: 85%;
	color: #322f2f;
	text-align: center;
	margin: 0 0 5px 0;
}
div#ft ul {
	margin: 0;
	padding: 0;
	text-align: center;
}
div#ft ul li {
	display: inline;
	font-size: 85%;
}
div#ft ul li a {
	padding: 0 5px;
}
div#ft ul li a:link, div#ft ul li a:visited {
	color: #5d5a5a;
	text-decoration: underline;
}
div#ft ul li a:hover {
    color: #f45818;
	text-decoration: underline;
}
/* @end */

/* @group Modules */
/* Logo */
div#logo {
	width: 525px;
	height: 44px;
	background: url(../images/coreyhaim-logo.jpg) no-repeat 0 0;
	text-indent: -9000px;
	margin: 20px auto 0 auto;
}
div#logo a {
	display: block;
	height: 100%;
}

div#tagline {
	width: 100%;
	float: left;
	display: inline;
}
div#home-pic {
	float: left;
	display: inline;
}

/* News Block */
div#news-block {
	margin: 76px auto 0 auto;
	width: 776px;
}

/* Content */
div.content {
	clear: both;
	padding: 15px 20px 15px 0;
	width: 490px;
	height: 270px;
	overflow: auto;
	overflow: scroll-y;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 7px;
}
/* @end */

/* @group Nav */
div#nav {
	height: 114px;
}
body.inside div#nav {
	height: 80px;
}
div#nav ul {
	margin: 0 0 0 45px;
	padding: 0;
}
div#nav ul li {
	float: left;
	display: inline;
}
div#nav ul li a {
	display: block;
	padding: 10px;
	background-color: #b0afa6;
	margin-right: 1px;
	text-transform: uppercase;
	font-size: 116%;
}
div#nav ul li a:link, div#nav ul li a:visited {
	text-decoration: none;
	color: #827874;
}
div#nav ul li.drop a span {
	background: url(../images/drop-arrow.gif) no-repeat 100% 6px;
	padding-right: 15px;
}
div#nav ul li:hover a, div#nav ul li.sfhover a, div#nav ul li a.active {
	background: url(../images/nav-hover.gif) repeat 0 0;
}
div#nav ul li:hover a:link, div#nav ul li:hover a:visited, div#nav ul li.sfhover a:link, div#nav ul li.sfhover a:visited, div#nav ul li a.active:link, div#nav ul li a.active:visited {
	color: #c2b9b0;
}
div#nav ul li:hover a span, div#nav ul li.sfhover a span, div#nav ul li a.active span {
	background-position: 100% -89px;
}

/* Nav Drop Down */
div#nav ul ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	background-color: #b0afa6;
	width: 147px;
}
div#nav ul li ul { /* second-level lists */
	position: absolute;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
div#nav ul li ul li {
	background-image: none;
	height: 22px;
	float: none;
}
div#nav ul li ul li a {
	text-align: left;
	line-height: 22px;
	padding: 10px;
	margin: 0;
	display: block;
	font-weight: normal;
	white-space: nowrap;
	background-image: none!important;
	border-top: 1px solid #e1dad7;
}
div#nav ul li ul li a:link, div#nav ul li ul li a:visited {
	color: #857c77!important;
}
div#nav ul li:hover ul, div#nav ul li.sfhover ul {
	left: auto;
}
div#nav ul li ul li a:hover {
	color: #cb5b2d!important;
}
/* @end */

/* @group Default Headings */
h1 { }
h2 { }
h3 { }
h4 { }
h5 { }
h6 { }
/* @end */

/* @group Common Text Styles */
div.content p {
	font-size: 93%;
	color: #554c47;
	line-height: 150%;
}
div.content a {
	font-weight: bold;
}
/* @end */

/* @group Default Lists */
	
/* @end */

/* @group Forms */
	
/* @end */

/* @group Default Links - link visited hover active */
a:link, a:visited {
	color: #e03606;
	text-decoration: underline;
}
a:hover {
	color: #bb2f07;
	text-decoration: underline;
}
a.dark:link, a.dark:visited {
	color: #a3310b;
}
/* @end */

/* @group Misc */
.clear {
	clear: both;
}
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* @end */