/* STANDARD STYLES */
body {
	background: #fff;
	padding: 0;
	margin: 0;
}
table {
	border: 0;
	border-collapse: collapse;
}
th {
	text-align: left;
}
th, td {
	vertical-align: baseline;
	padding: 0;
}
img {
	border: 0;
}
form {
	display: inline;
}

/* SITE STYLES */

body {
	background-color: #fff;
}
body.feature {
	background-color: #d8d8d8;
}
body #main {
	min-height: 600px;  /* TODO: Ensure that this does not cut off long pages (look at overflow property) */
	text-align: center;
	background: url('images/background-gradient-large.jpg') repeat-x;
}
body.feature #main {
	background: url('images/background-gradient.jpg') repeat-x;
}
#banner {
	font-size: 0;
	line-height: 0;
	text-align: center;
	background-color: #000;
}
#bannerLogin {
	margin-left: auto;
	margin-right: auto;
	padding: 8px 0 8px 0;
	width: 960px;
	text-align: right;
}
#main {
	min-height: 600px;  /* TODO: Ensure that this does not cut off long pages (look at overflow property) */
	text-align: center;
	background: url('images/background-gradient.jpg') repeat-x;
}
#header {
	width: 960px;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}
#header .actions {
	width: auto;
	text-align: right;
	vertical-align: bottom;
	padding-bottom: 8px;
}
#content {
	width: 940px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
#subfeatures {
	margin: 1px;
	margin-left: auto;
	margin-right: auto;
}
#subfeatures td {
	vertical-align: top;
	padding-right: 5px;
}
#subfeatures td.last {
	padding-right: 0;
}
#subfeatures .top {
	font-size: 0;
	line-height: 0;
	height: 8px;
	background: #fff;
	margin-bottom: 1px;
}
#subfeatures .media, #subfeatures .product {
	margin: 0;
	width: 316px;
	height: 145px;
	background: url('images/background-sub-feature.jpg') repeat-x;
}
#subfeatures .product {
	padding: 12px;
	width: 292px;
}
#subfeatures .subfeatureImage {
	text-align: left;
}
#footer {
	margin-top: 40px;
	text-align: center;
}
#footer img {
	position: relative;
	top: 4px;
}

/* MAIN LAYOUT STYLES */

/* table styles for form layouts */
.layout {
	margin-top: 20px;
}
.layout td, .layout th {
	padding: 4px 0;
	color: #757575;
}
.layout th {
	font-weight: normal;
	width: 200px;
}

/* table styles for page layouts with image on left or right */
.lhsLayout, .rhsLayout {
	width: 100%;
}
.lhsLayout td, .rhsLayout td {
	vertical-align: top;
}
.rhsLayout td p {
	margin-right: 20px;
}
.lhsLayout .image, .rhsLayout .image {
	vertical-align: bottom;
	text-align: center;
	width: 370px;
}

/* Browse Styles */
.browse {
	width: 932px;
	margin-top: 30px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
.browse td {
	padding: 0;
	vertical-align: top;
	text-align: left;
}
.browse .productMenu {
	width: 250px;
}
.browse .productList {
	padding: 0;
	margin: 0;
	list-style: none;
}
.browse .productList li {
	margin-bottom: 5px;
}
.browse .productImage {
	padding: 0 20px;
}
.browse .inventory {
	width: 362px;
}
.browse .inventory .productDetails {
	width: 180px;
	height: 20px;
	float: left;
	clear: none;
	border-bottom: 1px solid #dddddd;
	border-right: 1px solid #dddddd;
	padding-bottom: 2px;
	display: inline; /* Fix IE horizontal floating margins */
}
.browse .inventory .productDetails .inventoryText {
	display: block;
	float: left;
	clear: none;
	height: 16px;
	padding: 0;
	padding-right: 4px;
	padding-top: 2px;
	margin: 0;
}
.productGroup {
	margin-top: 16px;
	color: #424242;
}
.productRelated {
	width: 100px;
	margin: 4px;
	float: left;
	text-align: center;
}
.productRelated img {
	width: 100px;
}
.browse .inventory .odd {
	border-right: none;
}
.browse .inventory .productDetails .colorView {
	width: 18px;
	height: 18px;
	float: left;
	margin-top: 2px;
	margin-right: 5px;
	margin-left: 2px;
}
/* clear all the block objects that can appear after the inventory list */
.browse .ingredients, .browse .addToCart {
	margin: 0;
	padding-top: 6px;
	clear: left;
}
.browse .ingredients p, .browse .addToCart p {
	margin: 0;
	padding-top: 6px;
}

/* Get the looks page styles */
.getLook td {
	text-align: left;
	vertical-align: top;
}
.getLook .right td {
	text-align: left;
	padding-left: 60px;
}
.getLook table.instructions tr td {
	padding-bottom: 25px;
}

/* Expert tips page styles */
.expert td {
	width: 218px;
	height: 240px;
	padding-right: 24px;
}
.expert td.last {
	padding-right: 0;
}
.expert img {
	border: 2px solid #d8d8d8;
}

/* What other page styles */
.what {
	margin-top: 20px;
}
.what td, .what th {
	padding-bottom: 10px;
}
.what td {
	color: #757575;
}
.what .first {
	padding-right: 80px;
}
.what .layoutProduct td {
	vertical-align: top;
}

/* Store locator page styles */
.store-locator-content {
  width: 400px;
  float: left;
  display: inline;
	text-align: left;
}
.store-locator-content form {
  display: block;
  margin-top: 50px;
}
.store-locator-content label {
  font-weight: bold;
  margin-right: 8px;
}
.store-locator-content input.text {
  width: 120px;
  margin-right: 8px;
}
.store-locator-map {
  width: 500px;
  margin-left: 40px;
  float: left;
  display: inline;
}

/* list table styles */
.list {
	width: 100%;
}
.list .paginationBar {
	height: 22px;
	background: url('images/search-bar.gif') no-repeat 0 0;
}
.list thead tr th{
	vertical-align: middle;
	padding-bottom: 4px;
}
.list .paginationBar .results {
	vertical-align: middle;
	width: 378px;
	background-position: left;
}
.list .paginationBar .results p {
	margin: 0;
	padding: 0;
	padding-left: 10px;
	text-align: left;
	color: #fff;
}
.list tr.searchResult td {
	vertical-align: middle;
	border-top: 1px solid #424242;
}
.list th.first {
	padding-left: 10px
}
.list tr.searchResult td {
	padding-top: 15px;
	padding-bottom: 15px;
}
.list tr.searchResult .first {
	padding-left: 20px;
	border-left: 1px solid #424242;
}
.list tr.searchResult .last {
	border-right: 1px solid #424242;
}

/* Press Page Styles */
.thumbnailImage {
	max-height: 135px;
	max-width: 135px;
}
.list .links {
	margin-bottom: 10px;
}

/* Store cart page styles */
.cart {
	width: 100%;
}
.cart .subtotal td, .cart .postage td {
	padding-top: 8px;
	padding-bottom: 8px;
}
.cart h2, .cart h3 {
	margin-top: 0;
}
.cart .postage h2, .cart .postage h3, .cart .total h2, .cart .total h3 {
	margin: 8px 0;
}

/* MAIN VISUAL STYLES */
h1, h2, h3, h4, p, li, th, td, legend, input, select, option, optgroup, textarea {
	font-family: Verdana, sans-serif;
	font-size: 12px;
	color: #808080;
}
h1, h2, h3, p {
	margin-top: 1em;
	margin-bottom: 1em;
}
h2 {
	font-size: 16px;
	color: #4d4d4d;
}
h3 {
	font-size: 14px;
	color: #000000;
}
td h3, th h3 {
	margin-top: 4px;
	margin-bottom: 0;
}
hr {
	margin: 1em 0 1em 0;
	border: none;
	border-top: 1px solid #d8d8d8;
}
.getLook .right h1 {
	margin-top: 0;
	padding: 0;
	padding-left: 160px;
}
.feature h1 {
	margin-top: 0;
	margin-bottom: 20px;
}
p.legalSmall {
	margin-left: 6px;
	margin-top: 6px;
	margin-bottom: 4px;
}
p.legalLarge {
	margin-left: 20px;
	margin-top: 4px;
	margin-bottom: 0px;
}
p.legalLarger {
	margin-left: 32px;
	margin-top: 4px;
	margin-bottom: 0px;
}
#subfeatures p {
	font-size: 9pt;
}
a, a:active, a:visited, .productMenu a, .productRelated a, #subfeatures a, #footer a {
	color: #4d4d4d;
}
tr.tall th, tr.tall td {
	vertical-align: top;
}
.image {
	vertical-align: top;
	width: 80px;
}
.list .image {
	padding-right: 20px;
}
.getLook table.instructions a {
	text-decoration: none;
	font-weight: bold;
	color: #424242;
}
.plus {
	padding-left: 16px;
	background: url('images/button-plus.gif') no-repeat 0 2px;
}
.minus {
	padding-left: 16px;
	background: url('images/button-minus.gif') no-repeat 0 2px;
}
input.tiny {
	width: 20px;
}
input.small {
	width: 40px;
}
input.medium {
	width: 80px;
}
input.text {
	width: 160px;
}
input.large {
	width: 320px;
}
textarea.large {
	width: 324px;
}
#bannerLogin label, #bannerLogin input, #bannerLogin span {
	font: bold 9px Verdana, sans-serif;
	color: #969696;
	height: 15px;
}
#bannerLogin label {
	padding: 3px 4px 0 8px;
}
#bannerLogin input.text {
	margin: 0 !important;
	padding: 3px 2px 0 2px !important;
	width: 126px;
	border: none;
	background: url('images/background-banner-field.gif') no-repeat;
}
#bannerLogin input.button {
	margin-left: 8px;
	width: 49px;
	height: 19px;
	border: none;
	background: url('images/button-banner.gif') no-repeat 0 0;
	cursor: pointer;
}
#bannerLogin input.button:hover {
	background-position: 0 -24px;
}
#bannerLogin a {
	color: #ddd;
}
#header input.brochure {
	font: 10px Verdana, sans-serif;
	color: #424242;
	padding: 0 10px 3px 10px;
	width: 140px;
	height: 24px;
	border: none;
	background: url('images/button-brochure.gif') no-repeat 0 0;
	cursor: pointer;
}
#header input.brochure:hover {
	background-position: 0 -24px;
}
#header input.cart {
	font: 10px Verdana, sans-serif;
	color: #424242;
	padding: 3px 0 3px 15px;
	width: 88px;
	height: 24px;
	border: none;
	background: url('images/button-cart.gif') no-repeat 0 0;
	cursor: pointer;
}
#header input.cart:hover {
	background-position: 0 -24px;
}
.button, .buttonSmall, .buttonLong, .buttonRemove {
	font: 12px Verdana, sans-serif, normal;
	color: #424242;
	height: 24px;
	padding-bottom: 5px;
	border: none;
	cursor: pointer;
	text-decoration: none;
}
.button:hover, .buttonSmall:hover, .buttonLong:hover, .buttonRemove:hover {
	background-position: 0 -30px;
}
.buttonSmall {
	width: 115px;
	background: url('images/button.gif') no-repeat 0 0px;
}
.button {
	width: 115px;
	background: url('images/button.gif') no-repeat 0 0px;
}
.buttonLong {
	width: 143px;
	background: url('images/button-long.gif') no-repeat 0 0px;
}
.buttonRemove {
	width: 22px;
	background: url('images/button-remove.gif') no-repeat 0 0px;
}
#footer a {
	text-decoration: none;
}

/* Error message styles */

.error, .errors, .error th, .error td, .error tr {
	color: #993333;
}
