/*
Company:	IYP 09
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: url(../images/page-bkg.gif) repeat-x 0 0 #691407;
}
body {
	font-family: Verdana, arial, sans-serif;
}
/* @end */

/* @group Layout */
/* Head */
div#hd-spacer {
	height: 5px;
	overflow: hidden;
}
div#hd {
	width: 845px;
	margin-left: auto;
	margin-right: auto;
	background: url(../images/hd-bkg.gif) no-repeat 0 0 #fff;
	padding: 8px 0 0 0;
	border-left: 1px solid #903022;
	border-right: 1px solid #903022;
}

/* Body */
div#bd {
	width: 845px;
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
	padding: 10px 0 60px 0;
	border: 1px solid #903022;
	border-top: none;
}

/* Footer */
div#ft {
	width: 845px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	color: #fff;
	padding: 20px 0;
}
div#ft p {
	font-size: 85%;
}
div#ft p a:link, div#ft p a:visited {
	color: #fff;
	text-decoration: none;
}
div#ft p a:hover {
	color: #ef5d20;
	text-decoration: underline;
}
/* @end */

/* @group Modules */
/* Logo */
div#logo {
	width: 825px;
	height: 96px;
	background: url(../images/iyp-logo.gif) no-repeat 0 0;
	text-indent: -9000px;
	margin-left: auto;
	margin-right: auto;
}
div#logo a {
	display: block;
	height: 100%;
}

/* Home Links */
div.photo-gift-ideas {
	width: 690px;
	margin-left: auto;
	margin-right: auto;
}
div.photo-gift-ideas ul {
	margin: 0;
	padding: 0 0 0 15px;
	width: 138px;
	border-left: 1px solid #e3e3e3;
	float: left;
	display: inline;
}
div.photo-gift-ideas ul li {
	list-style: none;
	padding: 3px 0;
}
div.photo-gift-ideas ul li a {
	font-weight: bold;
}
div.photo-gift-ideas ul li a:link, div.photo-gift-ideas ul li a:visited {
	color: #5c5858;
	text-decoration: underline;
}
div.photo-gift-ideas ul li a:hover {
	color: #e93515;
	text-decoration: underline;
}
div.photo-gift-ideas h1 {
	margin: 0 0 15px 0;
}
div.photo-gift-ideas h1 a:link, div.photo-gift-ideas h1 a:visited {
	color: #29c2f5;
	text-decoration: none;
}
div.photo-gift-ideas h1 a:hover {
	text-decoration: underline;
}

/* Tagline */
div#tagline {
	width: 825px;
	height: 87px;
	background: url(../images/tagline.gif) no-repeat 0 0;
	margin-left: auto;
	margin-right: auto;
	text-indent: -9000px;
}

/* Feature */
div.feature {
	text-align: center;
	margin: 0 0 11px 0;
}

/* Callouts */
div.callouts {
	padding: 0 0 20px 4px;
}
div.callouts img {
	margin: 0 6px;
	float: left;
	display: inline;
}

/* Main */
body.inside div.main {
	padding: 10px 200px 10px 80px;
}
body.allproducts div.main {
	padding: 10px 60px 10px 60px;
}

/* Spacer */
div.spacer {
	padding: 0 0 30px 0;
}

/* All Products */
div.productBox {
	border: 1px solid #c0bebe;
	text-align: center;
	width: 210px;
	margin: 0 14px 20px 14px;
	float: left;
	display: inline;
}
div.allprod-pad {
	padding: 0 15px;
}
/* @end */

/* @group Nav */
div#nav {
	width: 825px;
	height: 56px;
	background: url(../images/nav-bkg.gif) repeat-x 0 0;
	margin-left: auto;
	margin-right: auto;
}
div#nav ul {
	margin: 0;
	padding: 0 0 0 206px;
}
div#nav ul li {
	float: left;
	display: inline;
}
div#nav ul li a {
	display: block;
	width: 103px;
	height: 56px;
	background: url(../images/nav.gif) no-repeat 0 0;
	text-indent: -9000px;
}
div#nav ul li#n-home a {
	width: 104px;
	background-position: 0 0;
}
div#nav ul li#n-shop-now a {
	background-position: -104px 0;
}
div#nav ul li#n-products a {
	background-position: -207px 0;
}
div#nav ul li#n-specials a {
	background-position: -310px 0;
}
div#nav ul li#n-sign-up a {
	background-position: -413px 0;
}
div#nav ul li#n-resellers a {
	background-position: -516px 0;
}

div#nav ul li#n-home a.active, div#nav ul li#n-home:hover a, div#nav ul li#n-home.sfhover a {
	width: 104px;
	background-position: 0 -56px;
}
div#nav ul li#n-shop-now a.active, div#nav ul li#n-shop-now:hover a, div#nav ul li#n-shop-now.sfhover a {
	background-position: -104px -56px;
}
div#nav ul li#n-products a.active, div#nav ul li#n-products:hover a, div#nav ul li#n-products.sfhover a {
	background-position: -207px -56px;
}
div#nav ul li#n-specials a.active, div#nav ul li#n-specials:hover a, div#nav ul li#n-specials.sfhover a {
	background-position: -310px -56px;
}
div#nav ul li#n-sign-up a.active, div#nav ul li#n-sign-up:hover a, div#nav ul li#n-sign-up.sfhover a {
	background-position: -413px -56px;
}
div#nav ul li#n-resellers a.active, div#nav ul li#n-resellers:hover a, div#nav ul li#n-resellers.sfhover a {
	background-position: -516px -56px;
}

/* Nav Drop Down */
div#nav ul ul {
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	background-color: #706e6e;
}
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 */
	padding-top: 5px;
	padding-bottom: 5px;
}
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: 0 20px 0 15px;
	margin: 0;
	font-size: 93%;
	display: block;
	font-weight: bold;
	white-space: nowrap;
	background-image: none!important;
	height: auto;
	text-indent: 0;
}
div#nav ul li ul li a:link, div#nav ul li ul li a:visited {
	color: #fff;
	text-decoration: none;
}
div#nav ul li:hover ul, div#nav ul li.sfhover ul {
	left: auto;
}
div#nav ul li ul li a:hover {
	color: #2f2f2f;
}
/* @end */

/* @group Default Headings */
div.main h1 {
	color: #767070; 
	font-weight: bold;
	font-size: 215%;
	margin: 0 0 20px 0;
}
div.main h2 {
	color: #3d3838;
	font-weight: bold;
	font-size: 100%;
	margin: 0 0 10px 0;
}
div.main h3 {
	color: #e23114;
	font-weight: bold;
	font-size: 100%;
	margin: 0 0 5px 0;
}
/* @end */

/* @group Common Text Styles */
div.main p {
	color: #3d3838;
	line-height: 140%;
}
/* @end */

/* @group Default Lists */
	
/* @end */

/* @group Forms */
div.error {
	margin-left: 42px;
	margin-right: 42px;
}
.error {
	color: #fd1b14;
}
form#app-form {
	width: 340px;
	margin: 10px 0 10px 42px;
}
label span {
	color: #fd1b14;
}
div.row, div.submit-row {
	clear: left;
	margin: 0;
	padding: 10px 0 0 0;
}
div.submit-row {
	text-align: right;
	color: #fd1b14;
	padding-right: 25px;
}
div.row label {
	float: left;
	width: 150px;
	margin: 0;
	display: inline;
}
div.row input, div.row textarea {
	font-size: 100%;
	font-family: Arial, sans-serif;
}
.txt {
	width: 200px;
	border: 1px solid #ccc;
	padding: 2px;
}
/* @end */

/* @group Default Links - link visited hover active */
a:link, a:visited {
	color: #e93515;
	text-decoration: underline;	
}
a:hover {
	color: #b02707;
	text-decoration: underline;
}
/* @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 */