/* ==========================================================

	Project: Grocery Outlet
	Author: Piehead Productions
	Master stylesheet

========================================================== */

/* global reset - helps reduce browser inconsistencies
-----------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* base foundation
-----------------------------------------------------------*/

body {
	font: 12px/1.5 Arial, Helvetica, "Lucida Grande", Tahoma, Verdana, sans-serif;
	background: #fff;
	color: #000;
}

/* header
-----------------------------------------------------------*/

#header_wrapper {
	width: 100%;
}
#header {
	margin: 0 auto;
	padding-top: 85px;
	width: 902px;
	height: 33px;
	position: relative;
}

/* different header backgrounds */
.header_fruit {
	background: url(../images/header_fruit.jpg) top center no-repeat;
}

/* logo */
a#logo, a#logo:visited, a#logo:hover {
	width: 203px;
	height: 139px;
	background: url(../images/logo.png) top left no-repeat;
	display: block;
	text-indent: -99999px;
	overflow: hidden;
	position: absolute;
	top: 10px;
	left: 18px;
}

/* find a store form */
#find_a_store {
	width: 297px;
	position: absolute;
	top: 40px;
	right: 22px;
}
#find_a_store input {
	margin: 1px 0 0 0;
	padding-top: 6px;
	width: 185px;
	height: 15px;
	font-size: 11px !important;
	float: left;
	display: block;
}
#find_a_store button {
	float: right;
}

/* sub navigation */
#sub_nav {
	margin: 0;
	width: 268px;
	height: 23px;
	list-style: none;
	text-align: center;
	font-size: 11px;
	background: url(../images/navigation_sub_back.png) top left no-repeat;
	position: absolute;
	top: 42px;
	right: 352px;
}
#sub_nav li {
	line-height: 23px;
	display: inline;
}
#sub_nav li a, #sub_nav li a:visited {
	color: #000;
}
#sub_nav li a:hover {
	color: #7c7c7c;
}

/* main navigation */
#main_nav {
	margin: 0;
	height: 33px;
	list-style: none;
	background: url(../images/navigation_main_bar.jpg) top left repeat-x;
}
#main_nav ul {
	margin: 0;
	width: 468px;
	height: 33px;
	list-style: none;
	float: right;
}
#main_nav ul li {
	margin: 0;
	height: 33px;
	float: left;
}
#main_nav ul li a, #main_nav ul li a:visited {
	width: 156px;
	height: 33px;
	display: block;
	background: url(../images/navigation_main_buttons.jpg) top left no-repeat;
	text-indent: -99999px;
	overflow: hidden;
}
#main_nav ul li#link_one a { background-position: top left; }
#main_nav ul li#link_one a:hover { background-position: bottom left; }
#main_nav ul li#link_two a { background-position: top center; }
#main_nav ul li#link_two a:hover { background-position: bottom center; }
#main_nav ul li#link_three a { background-position: top right; }
#main_nav ul li#link_three a:hover { background-position: bottom right; }

/* content
-----------------------------------------------------------*/

#content_wrapper {
	margin: 0 auto;
	width: 902px;
	background: url(../images/background_content_middle.jpg) top center repeat-y;
}
#content {
	width: 902px;
	background: url(../images/background_content_top.jpg) top center no-repeat;
}
#page {
	width: 902px;
	min-height: 635px;
	background: url(../images/background_content_bottom.jpg) bottom center no-repeat;
}
#page .left_col {
	padding: 35px 0 25px 25px;
	width: 560px;
	float: left;
}
#page .right_col {
	padding: 25px 0;
	width: 305px;
	float: right;
}

/* flash homepage marketing message and image */
#homepage_marketing {
	position: relative;
	right: 7px;
	float: left;
}

/* flash receipt */
#receipt {
	margin: 0 0 3px 0;
}

/* newsletter sign up */
#newsletter {
	padding: 42px 20px 0 20px;
	width: 240px;
	height: 169px;
	font-size: 11px;
	text-align: center;
	background: url(../images/newsletter_back.jpg) top left no-repeat;
}
#newsletter p {
	margin: 0;
	padding: 5px 0;
	font-size: 11px;
}
#newsletter label {
	padding-right: 20px;
	text-align: right;
	display: block;
}
#newsletter input {
	margin-left: 7px;
	width: 150px;
}
#newsletter button {
	margin-top: 5px;
	font-size: 10px;
}

/* bargain hunting */
#bargain_hunting {
	margin: 5px 0 0 0;
	padding: 45px 30px 0 30px;
	width: 219px;
	height: 94px;
	font-size: 11px;
	background: url(../images/bargain_hunting_back.jpg) top left no-repeat;
}
#bargain_hunting blockquote {
	padding-bottom: 7px;
	color: #fff;
}
#bargain_hunting cite {
	color: #fff;
	float: right;
}
#bargain_hunting a.shiny {
	margin-top: 3px;
	line-height: 14px;
	float: left;
}

/* news and announcements */
#news_announcements {
	float: left;
}
#news_announcements h1 {
	padding-top: 25px;
	margin: 0 0 7px 0;
}
#news_announcements ul {
	margin-left: 0;
	list-style: none;
}
#news_announcements ul li a.arrow {
	position: relative;
	top: 3px;
}

/* news clip */
.news_clip {
	margin: 15px 0 0 0;
	width: 303px;
	border-right: 1px solid #9ba394;
	position: relative;
	right: 6px;
	float: left;
}
.news_clip img {
	padding-right: 18px;
	float: left;
}
.news_clip ul {
	width: 137px;
	margin: 0;
	list-style: none;
	font-size: 11px;
	line-height: 14px;
	float: left;
}
.news_clip ul li {
	padding: 5px 0;
}

/* gift card program */
.gift_card {
	margin: 15px 0 0 0;
	width: 244px;
	float: right;
}
.gift_card p {
	margin: 0;
	padding: 5px 0;
	width: 120px;
	font-size: 11px;
	line-height: 14px;
	float: left;
	clear: left;
}
.gift_card p a.shiny {
	float: left;
}

/* footer
-----------------------------------------------------------*/

#footer {
	margin: 0 auto;
	padding: 10px 0 20px 0;
	width: 902px;
	text-align: center;
}
#footer ul {
	margin: 0 0 5px 0;
	color: #7a7a7a;
	list-style: none;
}
#footer ul li a {
	color: #7a7a7a;
}
#footer ul li {
	display: inline;
}
#footer p {
	color: #666;
}

/* commonly used class selectors
-----------------------------------------------------------*/

/* shiny links */
a.shiny, a.shiny:visited {
	color: #000;
	text-decoration: none;
	background: url(../images/button_shiny.png) bottom left no-repeat;
}
a.shiny:hover {
	color: #7c7c7c;
	text-decoration: none;
}
a.shiny span {
	margin: 0 0 5px 4px;
	padding: 5px 10px 5px 10px;
	line-height: 14px;
	font-size: 11px;
	border-top: 1px solid #bcba9f;
	border-right: 1px solid #bcba9f;
	display: block;
}

/* shiny buttons */
button.shiny {
	padding: 0;
	width: auto;
	border: none;
	text-align: center;
	background: none;
	cursor: pointer;
	overflow: visible;
	position: relative !important;
}
button.shiny span {
	padding-left: 4px;
	padding-bottom: 5px;
	display: block;	
	text-decoration: none;
	cursor: pointer;
}
button.shiny em {
	padding: 0 14px 0 12px;
	font-style: normal;
	font-weight: normal;
	font-size: 11px;
	line-height: 24px;
	white-space: nowrap;
	display: block;
}
button.shiny::-moz-focus-inner {
    padding: 0;
    border: none;
}
button.shiny span {
	background: url(../images/button_shiny.png) bottom left no-repeat;
}
button.shiny em {
	border-top: 1px solid #bcba9f;
	border-right: 1px solid #bcba9f;
}
button.shiny em:hover {
	color: #7f7f7f;
}

/* forms */
input.text, textarea.text {
	padding: 4px;
	background: url(../images/form_input_shadow.gif) top right no-repeat;
	border: 0;
}

/* bulletless unorderd lists */
ul.bulletless {
	margin-left: 0;
	list-style: none;
}

/* links with red arrow */
a.arrow, a.arrow:visited, a.arrow:hover {
	padding-left: 10px;
	background: url(../images/icons_red_arrow.gif) center left no-repeat;
}

/* basic alignments */
.left {
	float: left !important;
}
.right {
	float: right !important;
}
.clear_left {
	clear: left;
}
.clear_right {
	clear: right;
}
.clear_both {
	clear: both;
}
.center {
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: center !important;
}

/* clearfix */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix {display: inline-block;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}

/* commonly used elements
-----------------------------------------------------------*/

p, ul, ol, dl {
	margin-bottom: 15px;
	font-size: 12px;
}
span, strong, em {
	font-size: 12px;
}
ul {
	margin-left: 15px;
	list-style: disc;
}
ol {
	margin-left: 15px;
	list-style: decimal;
}
strong {
	font-weight: bold;
	color: #181818;
}
h1, h2, h3, h4 {
  	margin-bottom: 15px;
	font-weight: normal;
	color: #505050;
}
h1 {
	margin-top: 30px;
	font-size: 40px;
}
h2 {
	margin-top: 30px;
	margin-bottom: 18px;
	font-size: 30px;
}
h3 {
	font-size: 20px;
}
h4 {
	font-size: 18px;
}
h5 {
	font-size: 12px;
	color: #1e1e1e;
}
a, a:visited {
	color: #b71234;
	text-decoration: underline;
}
a:hover {
	color: #7c7c7c;
	text-decoration: underline;
}