/* 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: #C3C3C3 url('images/background-gradient-large.png') repeat-x 0 0;
}
body #main {
	min-height: 600px;  /* TODO: Ensure that this does not cut off long pages (look at overflow property) */
	text-align: center;
}
#banner {
	width: 960px;
	padding: 0;
	margin: 0;
	height: 16px;
	margin-left: auto;
	margin-right: auto;
	text-align: right;
}
#banner a {
	display: block;
	float: right;
	margin: 0;
	padding: 0;
	height: 16px;
	width: 84px;
	color: #000;
	font-size: 10px;
	text-align: center;
	text-decoration: none;
	margin-left: 8px;
	background: url('images/background-banner-cart.png') top left repeat;
}
#banner a.cartLink {
	width: 112px;
}
#banner a img {
	margin: 0;
	padding: 0;
	padding-right: 4px;
}
#main {
	min-height: 600px;  /* TODO: Ensure that this does not cut off long pages (look at overflow property) */
	text-align: center;
}
#header {
	width: 960px;
	height: 90px;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
}
#header td {
	vertical-align: bottom;
}
#header .homeLogo {
	padding-bottom: 14px;
}
#header .actions {
	width: auto;
	text-align: right;
	padding-bottom: 8px;
}
#header .logos {
	text-align: right;
	width: 136px;
	padding-bottom: 8px;
}
/* navigation containers */
#navigationContainer {
	position: relative;
	z-index: 100;
	/* background has transparent edges, let them overlap the elements above and below the navigation container */
	background: transparent url('images/background-navigation.png') repeat-x top;
	height: 46px;
	margin: -3px 0;
}
#navigationContainer ul#navigation {
	margin: 0 auto;
	padding: 3px 0;
	width: 960px;
	line-height: 42px;
	height: 40px;
	text-align: left;
}

/* dropdown menu container, used for background and drop shadows */
#navigationContainer ul#navigation > li > div {
	background-color: #F3F3F4;
	box-shadow: -3px 3px 5px rgba(35, 31, 32, 0.75);
	padding: 14px 16px 14px 0; /* take into account the margins on the ul elements */
}

/* hide the dropdown menus until the main links are moused over */
#navigationContainer ul#navigation > li > div {
	display: none;
}
#navigationContainer ul#navigation > li:hover > div {
	display: block;
}

/* main menu items */
#navigationContainer ul#navigation > li {
	float: left;
}
#navigationContainer ul#navigation li {
	height: 100%;
	list-style-type: none;
}

/* width of main menu items and dropdown menus */
#navigationContainer ul#navigation > li {
	width: 143px;
	padding-left: 28px;
}
#navigationContainer ul#navigation > li > div {
	width: 154px;
}

/* main menu and sub menu links*/
#navigationContainer ul#navigation li a {
	display: block;
	white-space: nowrap;
	text-decoration: none;
}
/* navigation text */
#navigationContainer ul#navigation li,
#navigationContainer ul#navigation li a {
	color: #FFF;
}
/* main menu hover state icon */
#navigationContainer ul#navigation > li > a:hover:after {
	background: url("images/menu_down_arrow.png") no-repeat right center;
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	content: "";
}
/* main menu and sub menu link hover state */
#navigationContainer ul#navigation a:hover {
	color: #bbbbbb;
}
#navigationContainer ul#navigation li ul a:hover {
	color: #383838;
}

/* drop down menu lists */
#navigationContainer ul#navigation li ul {
	padding: 0;
}
#navigationContainer ul#navigation li ul li {
	margin: 2px 0;
	height: 16px;
	line-height: 16px;
}


/*
 * background gradients for drop down menu items
 */
#navigationContainer ul#navigation li ul li {
	background: url("images/accordion_gradients.png");
}
/* default background gradient */
#navigationContainer ul#navigation li ul li { background-position: 0 -16px; } /* grey */
/* glominerals background gradients */
#navigationContainer ul#navigation ul.glominerals li:first-child { background-position: 0 0; } /* dark grey */
#navigationContainer ul#navigation ul.glominerals li { background-position: 0 -16px; } /* grey */
/* glotherapeutics background gradients */
#navigationContainer ul#navigation ul.glotherapeutics li:first-child { background-position: 0 -48px; } /* blue */
#navigationContainer ul#navigation ul.glotherapeutics li { background-position: 0 -64px; } /* light blue */

/*
 * Brand header and sub item text indenting and widths
 */
/* default text indent */
#navigationContainer ul#navigation li ul li a,
#navigationContainer ul#navigation ul.glominerals li:first-child,
#navigationContainer ul#navigation ul.glotherapeutics li:first-child {
	padding-left: 9px;
}
/* glominerals and glotherapeutics header width */
#navigationContainer ul#navigation ul.glominerals li:first-child,
#navigationContainer ul#navigation ul.glotherapeutics li:first-child {
	margin-right: 16px;
}
/* glominerals and glotherapeutics sub item text indent */
#navigationContainer ul#navigation ul.glominerals li a,
#navigationContainer ul#navigation ul.glotherapeutics li a{
	padding-left: 16px;
}
/* main content styles */
#content {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
#subfeatures {
	margin: 12px auto 1px auto;
}
#subfeatures td {
	vertical-align: top;
	padding-right: 5px;
}
#subfeatures td.last {
	padding-right: 0;
}
#subfeatures .media, #subfeatures .product {
	margin: 0;
	width: 316px;
	height: 145px;
	background: url('images/background-sub-feature.png') repeat-x top left;
}
#subfeatures .product {
	padding: 12px;
	width: 292px;
}
#subfeatures .product .subfeatureImageContainer {
	float: left;
	height: 100%;
}
#subfeatures .product img.subfeatureImage {
	margin-right: 10px;
	width: 100px;
	height: 85px;
	float: left;
}
#subfeatures .product h2 {
	margin: 8px 0 10px 0;
}
#subfeatures .subfeatureImage {
	text-align: left;
	position: relative;
	z-index: 60;
}
#subfeatures .featureFlag {
	position: relative;
	top: 0;
	left: -106px;
	z-index: 90;
	float: left;
	margin-right: -106px;
}
#footer {
	clear: both;
	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: 960px;
}
.lhsLayout td, .rhsLayout td {
	vertical-align: top;
}
.rhsLayout td p {
	margin-right: 20px;
}
.lhsLayout .image, .rhsLayout .image {
	vertical-align: bottom;
	text-align: right;
	width: 370px;
}

/* Browse Styles */
.productHeader {
	margin-top: 30px;
	margin-bottom: 8px;
}

.browse {
	width: 932px;
	margin-top: 17px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}
.browse td {
	padding: 0;
	vertical-align: top;
	text-align: left;
}
.browse .productMenu {
	width: 250px;
}
.browse .productImageMain {
	position: relative;
	text-align: center;
	min-width: 350px;
	min-height: 350px;
	max-width: 350px;
	max-height: 350px;
	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;
}
.productRelated {
	position: relative;
	width: 100px;
	margin: 4px;
	float: left;
	text-align: center;
}
.productRelated img.productImage {
	width: 100px;
	height: 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;
}
.browse .featureFlag {
	position: relative;
	float: left;
	top: -350px;
	left: 0;
}
.productRelated .featureFlag {
	position: relative;
	top: -100px;
	left: 0;
}
.productRelated .featureFlag +br + a {
	position: relative;
	top: 0;
	left: 0;
}

/* clear all the block objects that can appear after the inventory list */
table.addToCart {
	width: 360px;
	margin-top: 12px;
	clear: left;
}
table.addToCart td {
	width: 50%;
	height: 19px;
	padding-top: 4px;
	padding-bottom: 4px;
	vertical-align: middle;
}
table.addToCart td p {
	margin: 0;
}
table.addToCart td.cartWarning p {
	font-size: 10px;
}
table.addToCart td.cartInput input {
	width: 15%;
	height: 22px;
	padding: 0;
	border: none;
	background: #dbdbdb;
}
table.addToCart td.cartInput select {
	width: 73%;
/*	height: 22px;*/
	border: none;
	background: none;
}
table.addToCart td.cartInput {
	background: url('images/background-button-long.jpg') no-repeat left center;
}
table.addToCart td .buttonSmall, table.addToCart td .buttonLong {
	width: 100%;
}

/* 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;
}

/* look before after pages */

.rhsLayout .beforeAfter img {
	margin-bottom: 24px;
}

/* Expert tips page styles */
.expert {
	width: 100%;
	border-collapse: separate;
	border-spacing: 8px;
}
.expert td {
	width: 25%;
	height: 240px;
	border-right: 1px solid #424242;
	border-bottom: 1px solid #424242;
}
.expert td.last {
	padding-right: 0;
}
.expert td h3 + p {
	min-height: 40px;
}
.expert img {
	width: 100%
}
table.expert td .buttonSmall {
	width: 229px;
	text-align: left;
}

/* 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-right: 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 */
.list .links {
	margin-bottom: 10px;
}
table.press {
	width: 100%;
	border-collapse: separate;
	border-spacing: 8px;
}
table.press td {
	width: 25%;
	height: 368px;
	border-right: 1px solid #424242;
	border-bottom: 1px solid #424242;
	vertical-align: bottom;
}
table.press td p.pressImage {
	text-align: center;
	vertical-align: top;
	margin-top: 0;
}
table.press td div {
	height: 233px;
}
table.press td p.pressImage .thumbnailImage {
	max-height: 135px;
	min-height: 135px;
	max-width: 135px;
}
table.press td h3 + p {
	min-height: 94px;
}
table.press td .buttonSmall {
	width: 229px;
	text-align: left;
	vertical-align: bottom;
}
table.press td .links a {
	display: inline-block;
	width: 221px;
	height: 19px;
	padding-top: 2px;
	padding-left: 8px;
	margin-right: 8px;
	text-align: left;
	vertical-align: bottom;
	text-decoration: none;
	background: #fff url('images/background-button-long.jpg') no-repeat center right;
}

/* 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;
}
.cart .discount td {
	height: 48px;
}

/* MAIN VISUAL STYLES */
h1, h2, h3, h4, p, a, li, th, td, legend, input, select, option, optgroup, textarea {
	font-family: Verdana, sans-serif;
	font-size: 12px;
	color: #424446;
}
h1, h2, h3, p {
	margin-top: 1em;
	margin-bottom: .5em;
}
h1 {
	font-size: 22px;
	font-weight: normal;
	color: #787a7c;
}
h2 {
	font-size: 16px;
	color: #787a7c;
}
h3 {
	font-size: 14px;
	color: #787a7c;
}
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;
}
p.legalLargest {
	margin-left: 44px;
	margin-top: 4px;
	margin-bottom: 0px;
}
p.legalHuge {
	margin-left: 56px;
	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;
}

.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;
}
#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;
}
.button, .buttonSmall, .buttonLong, .buttonRemove {
	font: 12px Verdana, sans-serif, normal;
	color: #424242;
	height: 21px;
	padding-bottom: 3px;
	border: none;
	cursor: pointer;
	text-decoration: none;
}
.buttonSmall {
	width: 115px;
	margin-right: 8px;
	background: #fff url('images/background-button-long.jpg') no-repeat top right;
}
.button {
	width: 115px;
	margin-right: 8px;
	background: url('images/background-button-long.jpg') no-repeat top right;
}
.buttonLong {
	width: 143px;
	margin-right: 8px;
	background: url('images/background-button-long.jpg') no-repeat top right;
}
.buttonRemove {
	width: 22px;
	background: url('images/button-remove.gif') no-repeat 0 0px;
}
.buttonRemove {
	width: 22px;
	background: url('images/background-button-long.jpg') no-repeat -68px 0px;
}
#footer a {
	text-decoration: none;
}

/* Error message styles */

.error, .errors, .error th, .error td, .error tr {
	color: #993333;
}
/* slideshow styles */
#featureSlideshowContainer, #featureSlideshow, #featureSlideshow div {
	position: relative;
	width: 960px;
	height: 376px;
	overflow: hidden;
	z-index: 10;
}
#featureSlideshow div {
	text-align: center;
}
#featureSlideshow img {
	max-width: 960px;
	min-height: 376px;
}
#featureSlideshowPrev, #featureSlideshowNext {
	position: absolute;
	top: 175px;
	z-index: 50;
	width: 26px;
	height: 32px;
}
#featureSlideshowPrev {
	background-image: url('images/slideshow_left.png');
	left: 0;
}
#featureSlideshowNext {
	background-image: url('images/slideshow_right.png');
	right: 0;
}
#featureTextSlideshowContainer {
	position: relative;
	margin: 0;
	padding: 0;
	top: -376px;
	left: 94px;
	width: 272px;
	height: 376px;
	z-index: 80;
	background-color: rgba(255,255,255,0.8);
}

.featureText h2 {
	margin-top: 0;
	padding-top: 87px;
	font-size: 26px;
	font-weight: normal;
}
.featureText h2, .featureText p {
	margin-left: 20px;
	margin-right: 20px;
}
.featureText + #subfeatures {
	margin-top: -376px;
}
.featureText a {
	font-size: 15px;
	text-decoration: none;
}
.featureText a:before {
	content: '\02C3\00a0';
}

/* INDIVIDUAL PAGE STYLES */
#content div.skincare {
	width: 100%;
}
#content div.skincare img {
	float: right;
	clear: right;
}

/* PRODUCT ACCORDION STYLES */

/* container */
.productList {
	width: 188px;
	background-color: #f3f3f4;
	padding: 5px;
}

/* text formatting */
.productList a, .productList h2 {
	font: 10px Verdana;
	outline: none;
}
.productList a {
	text-decoration: none;
}

/* common header styles */
.productList .brand > h2, .productList .categories > h2, .productList .categories .productGroups > h2 {
	height: 16px;
	padding: 0;
	margin: 2px;
	background-image: url('images/accordion_gradients.png');
}

/* brand header */
.productList .brand  > h2 {
	color: #fff;
	width: 151px;
	padding-left: 9px;
}

/* category header */
.productList .categories > h2 {
	width: 156px;
	padding-left: 18px;
}
.productList .categories > h2 a {
	color: #fff;
}

/* product group header */
.productList .categories .productGroups > h2 {
	width: 170px;
	padding-left: 18px;
	background: none;
}
.productList .categories .productGroups > h2.ui-state-active {
	background-image: url('images/accordion_gradients.png');
}
.productList .categories .productGroups > h2.ui-state-active a {
	display: block;
	width: 100%;
	background: url('images/accordion_down_arrow.png') no-repeat right;
}
/* product */
.productList .categories .productGroups .products a {
	width: 160px;
	padding-left: 28px;
	background-position:  0 -32px;
}

/* background gradient offsets */
.productList .brand.glominerals > h2 { background-position: 0 0; }
.productList .brand.glominerals .categories > h2 { background-position: 0 -16px; }
.productList .brand.glominerals .categories .productGroups > h2.ui-state-active { background-position:  0 -32px; }
.productList .brand.glotherapeutics > h2 { background-position: 0 -48px; }
.productList .brand.glotherapeutics .categories > h2 { background-position: 0 -64px; }
.productList .brand.glotherapeutics .categories .productGroups > h2.ui-state-active { background-position:  0 -80px; }

