/*
Company:	4 Photo Gifts
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: #f9f7ee;
}
body {
	font-family: Verdana, Arial, sans-serif;
}
/* @end */

/* @group Layout */
/* Head */
div#hd {
	width: 788px;
	margin-left: auto;
	margin-right: auto;
}

/* Body */
div#bd {
	width: 788px;
	margin-left: auto;
	margin-right: auto;
}

/* Footer */
div#ft {
	width: 788px;
	height: 27px;
	margin-left: auto;
	margin-right: auto;
	background: url(../images/ft-bkg.gif) no-repeat 0 0;
	margin-bottom: 30px;
	margin-top: 20px;
}
div#ft p.copyright {
	font-size: 85%;
	color: #787979;
	margin: 0 40px 0 0;
	line-height: 27px;
	float: right;
	display: inline;
}
div#ft ul {
	margin: 0;
	padding: 0 0 0 15px;
	float: left;
	display: inline;
}
div#ft ul li {
	list-style: none;
	float: left;
	display: inline;
}
div#ft ul li a {
	display: block;
	line-height: 27px;
	font-size: 85%;
	padding: 0 5px;
	float: left;
	display: inline;
}
div#ft ul li a:link, div#ft ul li a:visited {
	color: #787979;
	text-decoration: underline;
}
div#ft ul li a:hover {
	color: #333;
}
/* @end */

/* @group Modules */
/* Green Bar */
div#green-bar {
	background-color: #007d06;
	height: 6px;
	width: 100%;
	overflow: hidden;
	margin-bottom: 30px;
}

/* Logo */
img#logo {
	margin: 0 0 15px 30px;
}

/* Feature */
div#feature {
	background: url(../images/feature-bkg.gif) no-repeat 0 0;
	width: 787px;
	height: 131px;
}
div#feature div.left-col {
	width: 400px;
	margin: 45px 0 0 30px;
	float: left;
	display: inline;
}
div#feature div.left-col p {
	font-size: 93%;
	color: #969798;
	padding: 4px 0 0 0;
}
div#feature img.login-btn {
	margin: 30px 30px 0 0;
	float: right;
	display: inline;
}

/* Main */
div.main {
	width: 345px;
	margin-left: 20px;
	padding-top: 30px;
	float: left;
	display: inline;
}
div.main p.intro {
	margin-bottom: 50px!important;
}

/* Sidebar */
div.sidebar {
	width: 353px;
	background: url(../images/sidebar-bkg.jpg) no-repeat 0 0;
	float: right;
	display: inline;
}
div.sidebar p {
	margin: 300px 0 40px 30px;
}
/* @end */

/* @group Nav */
ul#nav {
	margin: 10px 0;
	padding: 0;
	width: 787px;
	height: 35px;
	background: url(../images/nav.gif) no-repeat 0 0;
}
ul#nav li {
	list-style: none;
	float: left;
	display: inline;
}
ul#nav li a {
	display: block;
	height: 35px;
	background: url(../images/nav.gif) no-repeat 0 0;
	text-indent: -9000px;
	float: left;
	display: inline;
}
ul#nav li#n-affiliate a {
	width: 171px;
	background-position: 0 0;
}
ul#nav li#n-benefits a {
	width: 82px;
	background-position: -171px 0;
}
ul#nav li#n-login a {
	width: 180px;
	background-position: -253px 0;
}
ul#nav li#n-all a {
	width: 137px;
	background-position: -433px 0;
}
ul#nav li#n-contact a {
	width: 101px;
	background-position: -570px 0;
}

ul#nav li#n-affiliate a:hover {
	background-position: 0 -35px;
}
ul#nav li#n-benefits a:hover {
	width: 82px;
	background-position: -171px -35px;
}
ul#nav li#n-login a:hover {
	width: 180px;
	background-position: -253px -35px;
}
ul#nav li#n-all a:hover {
	width: 137px;
	background-position: -433px -35px;
}
ul#nav li#n-contact a:hover {
	width: 101px;
	background-position: -570px -35px;
}
/* @end */

/* @group Default Headings */
img.head {
	margin: 0 0 10px 0;
}
/* @end */

/* @group Common Text Styles */
div#bd p, div#bd ul, div#bd ol {
	font-size: 85%;
	line-height: 150%;
	color: #3f4041;
	margin-bottom: 20px;
}
div#bd .large {
	font-size: 93%!important;
}
div#bd li.large {
	font-size: 108%!important;
}
/* @end */

/* @group Default Lists */
div.main ul {
	margin: 0 0 15px 10px;
}
div.main ul li {
	background: url(../images/bullet.gif) no-repeat 0 8px;
	padding-left: 10px;
	list-style: none;
}
/* @end */

/* @group Forms */
	
/* @end */

/* @group Default Links - link visited hover active */
a:link, a:visited {
	color: #008006;
	text-decoration: underline;
}
a:hover {
	color: #095204;
}
/* @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 */