/* @override http://localhost:8888/iyp12/css/main.css */

/*
Company:	IYP
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: #f2f2f2 url(../images/bg-page.gif);
}
body {
	background: #f2f2f2 url(../images/bg-page.gif);
	font-family: Verdana, Arial, sans-serif;
	padding: 0 0 15px 0;
}
/* @end */

/* @group Layout */
/* Head */
div#hd {
	width: 1008px;
	margin: 0 auto;
	padding: 14px 0 0 0;
	position: relative;
	z-index: 50;
}

/* Logo */
div.logo {
	margin: 0 0 20px 0;
	padding: 0 0 0 25px;
	height: 54px;
	width: 215px;
}

div.logo img {
	display: block;
	width: 215px;
	height: 54px;
}

/* Body */
div#bd {
	width: 1008px;
	margin: 0 auto;
	position: relative;
	z-index: 40;
}

/* Footer */
div#ft {
	width: 1008px;
	margin: 0 auto;
	padding: 21px 0 0 0;
}

div#ft ul {
	margin: 0 0 10px 0;
}

div#ft ul li {
	float: left;
	list-style: none;
	font-size: 85%;
	font-weight: bold;
	color: #656565;
	background: url(../images/bg-ft.gif) center right no-repeat;
	padding: 0 8px 0 0;
	margin: 0 7px 0 0;
}

div#ft ul li.last {
	background: none;
	padding-right: 0;
	margin-right: 0;
}

div#ft ul li a:link, div#ft ul li a:visited {
	color: #656565;
}

div#ft ul li a:hover {
	color: #000;
}

div#ft p {
	color: #696969;
	font-size: 77%;
}

/* @end */

/* @group Modules */
/* Main Area */
div.main-area {
	background-color: #FFF;
	border: 1px solid #dcdcdc;
	padding: 28px 38px 28px 38px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px; /* future proofing */
	-khtml-border-radius: 2px; /* for old Konqueror browsers */
}

div.main-area div.main-sale img,
div.main-area-sub-boxes div.sub-box img {
	display: block;
}

/* Main Area - Main Sale */
div.main-area div.main-sale {
	margin: 0 0 34px 0;
}

/* Main Area - Sub Boxes */
div.main-area-sub-boxes div.sub-box {
	float: left;
	width: 288px;
	margin: 0 33px 0 0;
}

div.main-area-sub-boxes div.last {
	margin: 0;
}

/* Sign Up Area */
div.sign-up-area {
	padding: 18px 0 18px 39px;
}

/* Sign Up For Savings */
div.sign-up-for-savings {
	float: left;
}

div.sign-up-for-savings a:link, div.sign-up-for-savings a:visited {
	display: block;
	width: 141px;
	height: 34px;
	text-indent: -9999px;
	background: url(../images/bg-sign-up-for-savings.png) top left no-repeat;
}

div.sign-up-for-savings a:hover {
	background-position: 0 -34px;
}

/* Info Links */
div.info-links {
	float: right;
	padding: 10px 0 0 0;
}

div.info-links ul {
	margin: 0;
}

div.info-links ul li {
	list-style: none;
	float: left;
	font-size: 85%;
	font-weight: bold;
	background: url(../images/bg-info-links.gif) center right no-repeat;
	color: #4c4c4c;
	padding: 0 12px 0 0;
	margin: 0 10px 0 0;
}

div.info-links ul li.last {
	background: none;
	padding-right: 0;
	margin-right: 0;
}

div.info-links ul li a:link, div.info-links ul li a:visited {
	color: #818181;
}

div.info-links ul li a:hover {
	color: #4c4c4c;
}

/* Sub Area */
div.sub-area {
	background: url(../images/bg-sub-area.gif) top left repeat-y;
	padding: 0 0 25px 0;
}

/* Sub Area Column One */
div.sub-area-col-one {
	width: 360px;
	float: left;
	background-color: #b21903;
}

div.sub-area img.heading-img {
	display: block;
	margin: 0 0 10px 0;
}

div.sub-area-col-one div.inner {
	padding: 25px 0 0 38px;
}

/* Sub Area Column One List Columns */
div.sub-area-col-one div.lists ul {
	width: 147px;
	float: left;
	margin: 0;
}

div.sub-area-col-one div.lists ul li {
	list-style: none;
	padding: 4px 0;
}

div.sub-area-col-one ul li a:link, div.sub-area-col-one ul li a:visited {
	color: #FFF;
}

div.sub-area-col-one ul li a:hover {
	color: #370802;
}

/* Sub Area Column Two */
div.sub-area-col-two {
	width: 646px;
	float: left;
	background-color: #151515;
}

div.sub-area-col-two div.inner {
	padding: 25px 0 0 77px;
}

/* Sub Area Column Two List Columns */
div.sub-area-col-two div.lists ul {
	width: 170px;
	float: left;
	margin: 0;
}

div.sub-area-col-two div.lists ul li {
	list-style: none;
	padding: 4px 0;
}

div.sub-area-col-two ul li a:link, div.sub-area-col-two ul li a:visited {
	color: #b3b2b2;
}

div.sub-area-col-two ul li a:hover {
	color: #FFF;
}

/* Main */
div.main {
	background-color: #FFF;
	border: 1px solid #dcdcdc;
	padding: 28px 300px 28px 38px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px; /* future proofing */
	-khtml-border-radius: 2px; /* for old Konqueror browsers */
	font-family: Verdana, Arial, sans-serif;
}
div.all-products-main {
	padding-right: 28px!important;
}

/* All Products */
div.all-products a:link, div.all-products a:visited {
	text-decoration: underline;
}
div.all-products div.productBox {
	border: 1px solid #cacbcb;
	width: 210px;
	height: 240px;
	background-color: #fff;
	text-align: center;
	margin-right: 20px;
	margin-bottom: 25px;
	float: left;
	display: inline;
}
div.all-products div.productBox p {
	margin: 0;
}

/* Product Buttons */
ul.product-buttons {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.product-buttons li {
	list-style: none;
	margin-right: 10px;
	float: left;
	display: inline;
}
ul.product-buttons li a {
	display: block;
	padding: 5px 13px;
	background-color: #383838;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	font-weight: bold;
}
ul.product-buttons li a:link, ul.product-buttons li a:visited {
	color: #fff;
	text-decoration: none;
}
ul.product-buttons li a:hover, ul.product-buttons li a.current {
	background-color: #ef2604;
}
/* @end */

/* @group Common Text Styles */
div.main p {
	line-height: 150%;
	margin-bottom: 2em;
}
div.main address, div.main blockquote {
	margin-bottom: 2em;
}
/* @end */

/* @group Default Headings */
div.main h1 {
	font-size: 182%;
	font-weight: normal;
}
div.main h2, div.main h3 {
	color: #ef2604;
	font-size: 108%;
	margin-bottom: 1.5em;
}
div.main h4, div.main h5, div.main h6 {
	margin-bottom: 1em;
}
div.main h5, div.main h6 {
	font-weight: normal;
}
/* @end */

/* @group Default Lists */
div.main li {
	margin-bottom: .25em;
	line-height: 150%;
}
div.main ul {
	margin-bottom: 2em;
}
div.main ol {
	margin-left: 30px;
	margin-bottom: 2em;
}
div.main dl {
	margin-bottom: 2em;
}
div.main dt {
	margin-bottom: .5em;
}
div.main dd {
	margin-bottom: 1em;
}
/* @end */

/* @group Nav */
/* Top Navigation */
div.top-nav {
	background: url(../images/bg-top-nav.gif) bottom left repeat-x;
	padding: 0 0 0 38px;
}

div.top-nav ul {
	margin: 0;
	padding: 12px 0 12px 0;
}

div.top-nav ul li {
	float: left;
	list-style: none;
	background: url(../images/bg-top-nav-li.gif) center right no-repeat;
	padding: 0 12px 3px 0;
	margin: 0 11px 0 0;
}

div.top-nav ul li.last {
	background: none;
	padding-right: 0;
	margin: 0;
}

div.top-nav ul li a:link, div.top-nav ul li a:visited {
	display: block;
	color: #959595;
}

div.top-nav ul li a:hover {
	color: #eeeeee;
}

/* @end */

/* @group Forms */
	
/* @end */

/* @group Default Links - link visited hover active */
a:link, a:visited {
	color: #ef2604;
	text-decoration: none;
}
a:hover {
	
}
div.main a:hover {
	color: #b21903;
	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 */
