/**********************
 ** Basic structure. **
 **********************/
body {
	background-color: rgb(216, 216, 204);
	text-align: center;
	color: rgb(121, 122, 125);
	font-family: Arial;
}
#page {
	width: 1000px;
	text-align: left;
	margin: 0px auto 30px auto;
	position: relative;
}
#header, #menu, #content, #page {
	background-color: white;
}
#header {
	height: 207px;
	position: relative;
}
#content {
	width: 554px;
}
#right-content {
	width: 200px;
	padding-left: 23px;
}
#footer {
	font-size: .8em;
	text-align: center;
	border-top: solid #797a7d 3px;
	margin-top: 10px;
	line-height: 2.66em;
	background-color: white;
	color: #797a7d;
}
div.red-button div.grey-button {
	text-align: right;
}

input.red-button {
	width: 88px;
	height: 23px;
	border: 0;
	background-color: transparent;
	background-image: url('/images/design/red_button.jpg');
	background-repeat: no-repeat;
	cursor: pointer;
	text-transform: uppercase;
	color: white;
	padding-left: 3px;
	font-size: .9em;
}

input.red-button:hover {
	filter: alpha(opacity=80);
	-moz-opacity: .8;
	opacity: .8;
}

input.grey-button {
	width: 88px;
	height: 23px;
	border: 0;
	background-color: transparent;
	background-image: url('/images/design/red_button.jpg');
	text-transform: uppercase;
	color: white;
	padding-left: 3px;
	font-size: .9em;
}

img.top-right-cornor {
	position: absolute;
	top: -1px;
	right: -1px;
}
img.top-left-cornor {
	position: absolute;
	top: -1px;
	left: -1px;
}
img.bottom-right-cornor {
	position: absolute;
	bottom: -1px;
	right: -1px;
}
img.bottom-left-cornor {
	position: absolute;
	bottom: -1px;
	left: -1px;
}

/************
 ** HEADER **
 ************/
div.info-link {
	position: absolute;
	left: 800px;
	top: 60px;
	height: 108px;
	width: 106px;
	cursor: pointer;
	z-index: 99;
}

div.logo-link {
	position: absolute;
	top: 65px;
	left: 0px;
	height: 83px;
	width: 303px;
	cursor: pointer;
}

div.search {
	position: absolute;
	top: 156px;
	left: 608px;
	height: 40px;
	width: 170px;
}
div.search div.text-field {
	position: relative;
	float: right;
	width: 121px;
	height: 18px;
	border: solid #d1d2d4 1px;
}
div.search div.text-field input {
	border: 0;
	width: 112px;
	height: 1.33em;
	padding: 0 0 0 5px;
	margin: 0;
	font-family: Arial;
	color: #797a7d;
	position: absolute;
	top: 1px;
	left: 2px;
}
div.search input.red-button {
	width: 43px;
	height: 19px;
	background-image: url('/images/design/search_button.jpg');
	padding-left: 0px;
	margin-bottom: 10px;
}
div.payment-info {
	position: absolute;
	right: 22px;
	top: 156px;
	height: 36px;
	width: 102px;
	font-family: Arial;
	color: #797a7d;
	font-size: .77em;
}

/**********
 ** MENU **
 **********/
#menu {
	width: 208px;
	padding-left: 15px;
}
#menu div.menu.root {
	background-image: url('/images/design/menu_background.jpg');
	background-repeat: no-repeat;
	line-height: 28px;
	margin-bottom: 10px;
	text-transform: uppercase;
	color: white;
	position: relative;
}
#menu div.menu.root img {
	position: absolute;
	left: 10px;
	top: 0px;
}
#menu div.menu.root div {
	cursor: pointer;
	height: 28px;
	padding-left: 43px;
	width: 144px;
}
#menu div.menu.root div a {
	color: white;
}
#menu div.menu.sub div {
	cursor: pointer;
	height: 28px;
	padding-left: 43px;
	width: 144px;
	text-transform: uppercase;
	font-size: 11px;
}

#menu div.menu.subsub div {
	cursor: pointer;
	height: 28px;
	padding-left: 63px;
	text-transform: uppercase;
	font-size: 11px;
}

#menu div.menu.sub div a, div.menu.subsub div a {
	color: black;
}

/*******************
 ** RIGHT SECTION **
 *******************/
div.box {
	width: 173px;
	margin-bottom: 15px;
}

div.box div.header {
	text-transform: uppercase;
	color: white;
	padding-left: 45px;
	width: 128px;
	height: 25px;
	line-height: 25px;
}

div.box.cart div.header {
	background-image: url('/images/design/cart_header.jpg');
}
div.box.facebook div.header {
	background-image: url('/images/design/facebook_header.jpg');
}

div.box td.content {
	border: solid #d1d2d4 1px;
}

div.box div.content {
	position: relative;
	padding: 5px;
}

div.text-content {
	border: solid #d1d2d4 1px;
	padding: 10px;
	position: relative;
	width: 532px;
}

div.box.cart td.content {
	background-image: url('/images/design/cart_background.gif');
	background-repeat: no-repeat;
	background-position: bottom right;
}
div.box.cart td.content div.products {
	min-height: 60px;
	height: auto !important;
	height: 60px;
}
div.box.cart td.content div.total {
	color: #ae208e;
}

div.box.newsletter div.header {
	background-image: url('/images/design/newsletter_header.jpg');
}

div.box.newsletter h1 {
	margin-top: 4px;
	margin-bottom: 0;
}

div.box.contact div.header {
	background-image: url('/images/design/contact_header.jpg');
}

/***************
 ** FRONTPAGE **
 ***************/
div.frontpage-box {
	width: 551px;
	border: solid #d1d2d4 1px;
	position: relative;
}

div.frontpage-box.right {
	float: right;
	display: none;
}

/**************
 ** PRODUCTS **
 **************/
div.sort-products {
	float: right;
	cursor: pointer;
}

div.products-category {
	clear: both;
	width: 539px;
	border: 1px solid #d1d2d4;
	margin-top: 7px;
	margin-bottom: 7px;
	position: relative;
	padding: 6px;
}

td.products-product-image {
	height: 200px;
	text-align: center;
	border-bottom: 1px solid rgb(209, 210, 212);
}

td.products-product-image img {
	vertical-align: middle;
	max-width: 131px;
	max-height: 196px;
	width: expression(this.height/this.width < 1.50 && this.width > 131 ? '131px' : true);
	height: expression(this.height/this.width >= 1.50 && this.height > 196 ? '196px' : true);
}

td.products-product-header {
	height: 20px;
}

products-product-discount {
	height: 20px;
}

td.products-product-description {
	width: 350px;
	vertical-align: top;
}

td.products-product-info {
	text-transform: uppercase;
	height: 35px;
	vertical-align: top;
	padding-left: 6px;
	padding-right: 6px;
	text-align: center;
}

td.products-product-info2 {
	height: 13px;
	vertical-align: top;
	padding-left: 6px;
	padding-right: 6px;
	border-bottom: 1px solid rgb(209, 210, 212);
}

div.products-product {
	border: 1px solid #d1d2d4;
	float: left;
	margin-left: 7px;
	margin-bottom: 7px;
	width: 131px;
	height: 261px;
	position: relative;
	cursor: pointer;
	padding-top: 6px;
	padding-bottom: 6px;
}

div.products-product a {
	text-decoration: none;
}

div.products-product-stock {
	text-align: right;
	padding-bottom: 2px;
}

div.products-product-image {
	border: solid #d1d2d4 1px;
	margin-right: 15px;
}
div.products-product-image-front {
	width: 100px;
	height: 130px;
	line-height: 130px;
}
div.products-product-image-front img {
	vertical-align: middle;
	max-width: 100px;
	width: expression(this.height/this.width < 1.3 && this.width > 100 ? '100px' : true);
	max-height: 130px;
	height: expression(this.height/this.width >= 1.3 && this.height > 130 ? '130px' : true);
}

div.products-product-description {
	font-family: Arial;
	color: #797a7d;
}

div.products-product-description td { 
	border: 0 !important;
}



div.products-product-read-more {
	padding-top: 10px;
}

div.products-product-read-more a {
	text-transform: uppercase;
}

span.products-product-price {
	color: black;
	font-weight: bold;
	white-space: nowrap;
	padding-right: 6px;
}

span.products-product-discount-price {
	color: #8a8c8f;
	font-weight: bold;
	text-decoration: line-through;
	white-space: nowrap;
	
}

div.products-product-price {
	color: black;
	font-weight: bold;
	font-size: 1.50em;
	white-space: nowrap;
}

div.products-product-discount-price {
	color: #8a8c8f;
	font-weight: bold;
	font-size: 1.50em;
	text-decoration: line-through;
	white-space: nowrap;
	text-align: right;
}


/*************
 ** PRODUCT **
 *************/
div.product {
	border: solid #d1d2d4 1px;
	padding: 20px;
	position: relative;
	width: 512px;
}

td.product-image {
	width: 238px;
	vertical-align: top;
}

div.product-image {
	border: solid #d1d2d4 1px;
	width: 223px;
	text-align: center;
}

div.product-image img {
	vertical-align: middle;
}

td.product-alternative-images {
	vertical-align: top;
	width: 272px;
	padding-left: 10px;
}

td.product-alternative-images h1 {
	margin-bottom: 0;
	text-align: left;
}

td.product-alternative-images div {
	border: solid #d1d2d4 1px;
	width: 65px;
	float: left;
	margin-right: 15px;
	text-align: center;
}

td.product-alternative-images div img {
	vertical-align: middle;
}

div.product-description {
	font-family: Arial;
	color: #797a7d;
}

td.product-info {
	text-align: right;
	vertical-align: bottom;
}

td.product-facts {
	vertical-align: bottom;
	padding-left: 10px;
}

td.product-facts h1 {
	margin-bottom: 0;
}

div.product-facts {
	font-family: Arial;
	color: #797a7d; 
}

/**************
 ** CHECKOUT **
 **************/
td.checkout-tab {
	width: 110px;
	height: 35px;
	border: 1px solid rgb(209, 210, 212);
	text-align: center;
	color: rgb(120, 122, 125);
	background-color: rgb(229, 230, 231);
	text-transform: uppercase;
	font-weight: bold;
}
td.checkout-tab.active {
	border-bottom: 0;
	color: #ae208e;
	background-color: transparent;
}
td.checkout-tabspace {
	width: 2px;
	border-bottom: 1px solid rgb(209, 210, 212);
}
td.checkout-content {
	border: 1px solid rgb(209, 210, 212);
	border-top: 0;
	padding: 21px;
}
div.checkout-buttons {
	margin-top: 40px;
}
div.checkout-cart-description {
	margin-top: 20px;
	line-height: 1.5em;
}
div.checkout-cart {
	margin-top: 40px;
}
div.checkout-cart th {
	color: #ae208e;
	text-transform: uppercase;
}
div.checkout-cart tr.total td {
	color: #ae208e;
	font-weight: bold;
	border-top: 1px solid black;
}
div.checkout-cart th, div.checkout-cart td {
	padding: .2em 1em .2em 0;
}
input.formsubmit {
	width: 88px;
	height: 23px;
	border: 0;
	background-color: transparent;
	background-image: url('/images/design/red_button.jpg');
	background-repeat: no-repeat;
	cursor: pointer;
	text-transform: uppercase;
	color: white;
	padding-left: 3px;
	font-size: .9em;
}
input.formsubmit:hover {
	filter: alpha(opacity=80);
	-moz-opacity: .8;
	opacity: .8;
}
input.cardnum { width: 140px; }
select.emonth { width: 40px; }
select.eyear { width: 55px; }
