/*
Company:	Affordable 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
Common Text Styles - Styles for text
Default Headings - headings like h1, h2, etc
Default Lists - unordered and ordered lists
Nav - navigation bar
Forms - html forms
Default Links - links
Misc - anything that doesn't fit elsewhere
*/

/* @group HTML, Body */
html {
	background-color: #efeded;
}
body {
	font-family: Verdana, Arial, sans-serif;
}
html, body {
	height: 100%;
}
/* @end */

/* @group Layout */
/* Footer Stick */
#container {
	position: relative;
	min-height: 100%;
	height: 100%;
	voice-family: "\"}\"";
	voice-family: inherit;
	height: auto;
}
html>body #container {
	height: auto;
}
#content {
	padding-bottom: 80px;
}
#ft-wrap {
	position: absolute;
	bottom: 0;
	width: 100%;
	background: #efeded url(../images/bg-bd-bottom.jpg) 0 0 repeat-x;
	padding-top: 53px;
}

/* Head */
#hd {
	background: #bdbcbc url(../images/bg-hd.jpg) top left repeat-x;
	border-bottom: 1px solid #9f9f9f;
}

#hd-inner {
	width: 953px;
	padding: 45px 0 35px 0;
	margin: 0 auto;
}

/* Logo */
.logo {
	float: left;
	height: 25px;
}

.logo a:link, .logo a:visited {
	display: block;
	margin: 0 0 0 16px;
	width: 410px;
	height: 25px;
	text-indent: -9999px;
	background: url(../images/bg-logo.jpg) top left no-repeat;
	
}

/* Body */
#bd {
	
	padding: 28px 0 62px 0;
	border-top: 1px solid #FFF;
}

#bd-inner {
	width: 953px;
	margin: 0 auto;
}

/* Footer */
#ft {
	background-color: #4aa6ee;
	border-top: 1px solid #e5f2fd;
	font-size: 85%;
	padding: 37px 0;
}

#ft-inner {
	width: 953px;
	margin: 0 auto;
}

/* Footer Links */
#ft ul {
	margin: 0;
	text-align: center;
}

#ft ul li {
	display: inline;
	list-style: none;
	font-weight: bold;
	text-transform: uppercase;
	color: #efeded;
	background: url(../images/bg-ft-li.gif) center right no-repeat;
	padding: 0 0 0 12px;
}

#ft ul li.last {background: none;}

#ft ul li a:link, #ft ul li a:visited {
	color: #efeded;
	margin: 0 12px 0 0;
}

#ft ul li a:hover {color: #0d5b98;}
/* @end */

/* @group Modules */
/* Welcome Splash Graphic */
.welcome-splash img {
	display: block;
	margin: 0 auto;
}

/* Product Container */
.product-container {
	padding: 0 0 0 19px;
	margin: 0 0 14px 0;
}

/* Product Box Styles */
.product-row {
	padding: 0 0 19px 0;
}

.product {
	width: 448px;
	float: left;
	margin: 0 19px 0 0;
	background: url(../images/bg-product-top.gif) top left no-repeat;
}

.product-inner {
	background: url(../images/bg-product-bottom.gif)  bottom left no-repeat;
	padding: 22px 0 18px 1px;
	position: relative;
}

/* Auto Clear Product Contents and Product Rows */
.product-inner:after,.product-row:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.product-inner, .product-row {display: inline-block;}

/* Hides from IE-mac \*/
* html .product-inner, * html .product-row {height: 1%;}
.product-inner, .product-row {display: block;}
/* End hide from IE-mac */



/* Product Image Container */
.img-container {
	width: 240px;
	height: 181px;
	float: left;
	border-right: 1px solid #efeded;
}

.img-container img {
	margin: 0 auto;
	text-align: center;
	display: block;
}

/* Product Description */
.description {
	float: left;
	padding: 24px 0 0 15px;
}

.customize-buy {
	display: block;
	width: 152px;
	height: 32px;
	background: url(../images/btn-customize-buy.gif) top left no-repeat;
	text-indent: -9999px;
}

/* If On Sale */
#bd .product-container .sale .sale-banner {
	display: block;
	width: 131px;
	height: 111px;
	background: url(../images/bg-sale-banner.png) top left no-repeat;
	position: absolute;
	top: -1px;
	left: -3px;
	cursor: pointer;
}

#bd .product-container .sale h3 {color: #bb0202;}
#bd .product-container .sale h3 a:link, #bd .product-container .sale h3 a:visited {color: #bb0202;}

#bd .product-container .sale p.price-was {
	display: block;
	color: #7c7b7b;
	font-size: 93%;
	margin: 0;
	padding: 10px 0 0 0;
}

/* If Not On Sale */
p.price-was {display: none;}
.sale-banner {display: none;}

/* Pagination */
div.top {padding: 18px 0;}

.pagination ul {
	margin: 0;
	padding: 0 36px 0 0;
	text-align: center;
	font-weight: bold;
	text-transform: uppercase;
}

.pagination ul li {
	display: inline;
	list-style: none;
}

.pagination ul li a:link, .pagination ul li a:visited {text-decoration: none;}
.pagination ul li a span {text-decoration: underline;}
.pagination ul .prev {padding: 0 17px 0 0;}
.pagination ul .prev a:link, .pagination ul .prev a:visited {color: #797979;}
.pagination ul .next a:link, .pagination ul .next a:visited {color: #2e93e1;}

/* Main */
div.main {
	width: 658px;
	margin-left: 20px;
	color: #636364;
	padding: 30px 0 0 0;
}
div.main-wide {
	color: #636364;
	padding: 30px 20px 0 20px;
}
/* @end */


/* @group Common Text Styles */
.main p, .main-wide p {
	font-size: 93%;
	line-height: 150%;
}

.main p.sub-nav, .main-wide p.sub-nav {
	font-size: 100%;
	font-weight: bold;
}
/* @end */

/* @group Default Headings */
.product h2 {
	margin: 0 0 3px 0;
	color: #797979;
	font-family: "Myriad Pro", "Trebuchet MS", Arial, sans-serif;
	font-size: 123.1%;
	text-transform: uppercase;
	padding: 0 0 0 7px;
}

.product h2 a:link, .product h2 a:visited {
	color: #797979;
	text-decoration: none;
}

.product h2 a:hover {text-decoration: underline;}

.product h3 {
	margin: 0;
	color: #a5a5a5;
	font-family: "Myriad Pro", "Trebuchet MS", Arial, sans-serif;
	font-size: 153.9%;
	text-transform: uppercase;
	padding: 0 0 8px 7px;
	border-bottom: 1px solid #efeded;
	margin: 0 0 23px;
}

.product h3 a:link, .product h3 a:visited {
	color: #a5a5a5;
	text-decoration: none;
}

.product h3 a:hover {text-decoration: underline;}

.main h1, .main-wide h1 {
	font-size: 108%;
	color: #636364;
	margin: 0 0 20px 0;
}
/* @end */

/* @group Default Lists */
	
/* @end */

/* @group Nav */
#nav {
	float: right;
	padding: 3px 0 0 0;
	width: 493px;
}

#nav ul {
	margin: 0;
	float: right;
	padding: 0 46px 0 0;
}

#nav ul li {
	list-style: none;
	padding: 0 4px;
	float: left;
}

#nav ul li a:link, #nav ul li a:visited {
	display: block;
	text-decoration: none;
	color: #5b5b5b;
	font-size: 85%;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1em;
}

#nav ul li a span {
	padding: 7px 10px;
	display: block;
}

#nav ul li a:hover, #nav ul li a.active {background: url(../images/bg-nav-left.jpg) top left no-repeat;}
#nav ul li a:hover span, #nav ul li a.active span {background: url(../images/bg-nav-right.jpg) top right no-repeat;}
	
/* @end */

/* @group Forms */
	
/* @end */

/* @group Default Links - link visited hover active */
a:link, a:visited {
	color: #1477c4;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
/* @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 */
