/* 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: url('images/background.jpg') repeat
}
#header, #login, #navigation, #content, #footer {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
}
#header {
	height: 150px;
	background: url('images/background-header.jpg') no-repeat;
}
#login {
	height: 28px;
	background-color: #3e261a;
}
#navigation {
	border-bottom: 1px solid #fff;
}
#content td {
	vertical-align: top;
}
#contentNavigation {
	background-color: #ac8872;
}
#contentModule {
	background-color: #fff;
}
#footer {
	height: 20px;
	border-top: 1px solid #fff;
	background: url('images/background-footer.jpg') repeat-x;
}
#footer td {
	padding-top: 3px;
	text-align: center;
	color: #fff;
	font-size: 10px;
}
#footer td a {
	color: #fff;
	text-decoration: none;
}

/* MAIN LAYOUT STYLES */
#header table {
	height: 150px;
}
#header td {
	vertical-align: middle;
}
#header .mineralLogo {
	padding-left: 180px;
	padding-right: 130px;
}
#header .logo {
	padding-right: 20px;
}
#login td {
	padding-top: 2px;
	text-align: right;
	vertical-align: middle;
}
#login .profile {
	width: 100px;
	text-align: center;
}
#login a {
	color: #9f938d;
	font-weight: bold;
	text-decoration: none;
}
#login span a {
	margin-right: 0px;
	font-size: 11px;
}
#navigation td {
	padding-bottom: 4px;
	text-align: center;
	border-right: 1px solid #fff;
	background: url('images/background-navigation.jpg') repeat-x;
}
#navigation .last {
	border: none;
}
#navigation td a {
	display: block;
	height: 20px;
	padding-top: 6px;
	color: #fff;
	text-decoration: none;
}
#navigation td.shopLink {
	width: 120px;
	text-align: left;
	padding-left: 16px;
}
#navigation td.shopLink a {
	color: #e1c4a6;
}
#contentNavigation {
	width: 136px;
}
#contentNavigation ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
#contentNavigation ul li {
	background: url('images/background-content-navigation.jpg') no-repeat;
	border-bottom: 1px solid #fff;
}
#contentNavigation ul li a {
	display: block;
	height: 24px;
	width: 120px;
	padding-top: 6px;
	padding-left: 16px;
	color: #fff;
	text-decoration: none;
}
/* product category and search styles */
#contentModule table {
	margin-left: 2px;
	margin-right: 2px;
}
#contentModule h1, #contentModule h2, #contentModule h3, #contentModule p, #contentModule .cart, #contentModule .layout {
	margin-left: 24px;
	margin-right: 24px;
}
#contentModule .productItem {
	width: 186px;
	height: 220px;
}
#contentModule .productItem .productImage {
	position: relative;
	margin: 0px 4px;
	text-align: center;
	border: 1px solid #3d2817;
}
#contentModule .productItem .productImage a {
	display: block;
	width: 180px;
	height: 180px;
}
#contentModule .productItem .productImage img {
	position: absolute;
	top: 0;
	left: 0;
}
#contentModule .productItem .productName, #contentModule .productItem .productPrice {
	margin: 0;
	margin: 2px 4px;
}
#contentModule .productItem .productName a, #contentModule .productItem .productPrice a {
	text-decoration: none;
}
#contentModule .productItem .productName a {
	color: #3e261a;
}
#contentModule .productItem p.productPrice  {
	margin-top: 0;
}
#contentNavigation .search p {
	margin: 30px 0 2px 16px;
	color: #fff;
}
#contentNavigation .search {
	margin-left: 1px;
}

/* product display styles */
#contentModule .productView {
	width: 100%;
	margin: 8px;
	vertical-align: top;
}
#contentModule .productView .productDetails {
	width: 388px;
}
#contentModule .productView .productImage {
	height: 370px;
	width: 370px;
	border: 1px solid #3d2817;
	position: relative;
}
#contentModule .productView img.product {
	position: absolute;
	left: 0;
	top: 0;

}
#contentModule .productView img.new {
	position: absolute;
	left: 0;
	top: 0;
}
#contentModule h4 {
	margin-left: 8px;
}
#contentModule .productIngredients {
	margin: 20px 8px;
	border: 1px solid #95a7b5;
}

#contentModule .productCommonPrice {
	height: 29px;
	padding-top: 6px;
	background-color: #3e261a;
}
#contentModule .productCommonPrice .productInventoryPrice {
	float: left;
	margin-left: 24px;
	font-size: 17px;
	color: #fff;
}
#contentModule .productCommonPrice .productInventoryQuantity {
	float: right;
	margin-right: 24px;
}
#contentModule table.cart {
	margin-top: 8px;
}
#contentModule table.cart td {
	width: 23%;
	padding-top: 4px;
}
#contentModule table.cart .productDetails {
	width: 50%
}
#contentModule table.cart .currency {
	text-align: right;
}
#contentModule table.cart .subtotal td, #contentModule table.cart .postage td {
	padding-top: 8px;
	padding-bottom: 8px;
}
#contentModule table.cart h2, #contentModule table.cart h3 {
	margin: 0;
	font-weight: bold;
}
#contentModule table.cart .postage h2, #contentModule table.cart .postage h3, #contentModule table.cart .total h2, #contentModule table.cart .total h3 {
	margin: 8px 0;
}

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

/* MAIN VISUAL STYLES */
h1, h2, h3, h4, p, a, li, th, td, legend, input, select, option, optgroup, textarea {
	font-family: Arial, sans-serif;
	font-size: 12px;
	color: #808080;
}
h1 {
	color: #3e261a;
	font-size: 24px;
	font-weight: normal;
}
h2 {
	font-weight: normal;
}
h3 {

	font-weight: normal;
}
a, a:active, a:visited {
	color: #4d4d4d;
}
tr.tall th, tr.tall td {
	vertical-align: top;
}
input.tiny {
	width: 20px;
}
input.small {
	width: 40px;
}
input.medium {
	width: 80px;
}
input.text {
	width: 160px;
}
input.large {
	width: 320px;
}
textarea.large {
	width: 324px;
}
#login .login {
	height: 18px;
	width: 130px;
	padding: 2px;
	padding-left: 4px;
	color: #fff;
	border: none;
	background: url('images/input-login.gif') no-repeat 0 0;
}
.button {
	height: 18px;
	width: 46px;
	border: none;
	cursor: pointer;
	color: #c6c6c6;
	background: url('images/button.gif') no-repeat 0 0;
}
.button:hover {
	color: #fff;
}
.buttonRemove {
	height: 18px;
	width: 22px;
	border: none;
	cursor: pointer;
	color: #c6c6c6;
	background: url('images/button-small.gif') no-repeat 0 0;
}
.buttonRemove:hover {
	color: #fff;
}
.buttonLongGrey {
	height: 18px;
	width: 69px;
	border: none;
	cursor: pointer;
	color: #c6c6c6;
	background: url('images/button-long-grey.gif') no-repeat 0 0;
}
.buttonLongGrey:hover {
	color: #fff;
}
.buttonLarge {
	height: 18px;
	width: 74px;
	border: none;
	cursor: pointer;
	color: #c6c6c6;
	background: url('images/button-cart.gif') no-repeat 0 0;
}
.buttonLarge:hover {
	color: #fff;
}
#login .buttonLogin {
	height: 18px;
	width: 46px;
	border: none;
	cursor: pointer;
	color: #cfae99;
	background: url('images/button-login.gif') no-repeat 0 0;
}
#login .buttonLogin:hover {
	color: #fff;
}
#login .buttonLongBrown {
	display: block;
	font-weight: normal;
	padding-top: 3px;
	height: 19px;
	width: 69px;
	text-align: center;
	color: #cfae99;
	background: url('images/button-long-brown.gif') no-repeat 4px 0;
}
#login .buttonLongBrown:hover {
	color: #fff;
}
#contentNavigation .search .button {
	margin-left: 85px;
	margin-bottom: 40px;
	height: 18px;
	width: 46px;
	border: none;
	cursor: pointer;
	color: #cfae99;
	background: url('images/button-search.gif') no-repeat 0 0;
}
#contentNavigation .search .button:hover {
	color: #fff;
}
#contentNavigation .search input.search {
	height: 18px;
	width: 124px;
	padding: 2px;
	padding-left: 4px;
	color: #fff;
	border: none;
	background: url('images/input-search.gif') no-repeat 0 0;
}

/* Error message styles */
.error, .errors, .error th, .error td, .error tr {
	color: #993333;
}

