/*
 * =============================
 * @author: 		Peter Slagter
 * @module: 	mod_webshop
 * @about: 		Front-end CSS for shoppingcart
 * =============================
 */

/*
 Defaults
 --------------------------------------------------
 */
th.sr {
	text-indent: -999em;
}

a img {
	border: 0;
}

/* Buttons */
a.button {
	display: block;
	height: 16px;
	width: 16px;
	float: left;
	text-indent: -999em;
}

a.button-delete {
	background: transparent url(../img/shopping-cart-sprite.png) no-repeat -16px -58px;
}

/*
 The shopping cart
 --------------------------------------------------
 */
table.shoppingcart {
	width: 100%;
	margin: 0 0 2em 0;
	border-collapse: collapse;
}

table.shoppingcart td, table.shoppingcart th {
	padding: 8px 10px;
	vertical-align: top;
}

table.shoppingcart .scr {
	text-indent: -999em;
}

/* Dimensions */
th.description {
	width: 260px;
}

/* Caption */
table.shoppingcart caption {
	margin: 0;
	background-color: #fff;
	color: #F59700;
	text-align: left;
	text-indent: 10px;
	font-size: 16px;
	font-weight: bold;
}

/* Rows */
table.shoppingcart tr td {
	border-top: 1px solid #D5D5CB;
}

table.shoppingcart tr.even td {
	background-color: #fff;
}

table.shoppingcart tr.first td, table.shoppingcart tr.totals td {
	border-top: 0;
}

/* Product description */
td.product-description span {
	display: block;
	color: #444;
}

/* Product amount */
input.product-quantity {
	width: 5ex;
}

/* Total price */
tr.totals td, tr.totals th {
	font-size: 14px;
}

table.shoppingcart tr.total-price td, table.shoppingcart tr.total-price th {
	padding-top: 0;
	font-size: 18px;
	border-top: 1px solid #D5D5CB;
}

tr.total-price th span {
	display: block;
	font-size: 9px;
}

/*
 Form has pages
 --------------------------------------------------
 */
/* form with pages */
form.has-pages {
	background-color: #F0F0EF;
}

form.has-pages fieldset {
	background-color: #FAFAFA;
}

/* form with pages: legend */
form.has-pages legend {
	color: #000;
	font-size: 14px;
}

/* form with pages: breadcrumbs */
form.has-pages ul.form-bc {
	background: transparent url(../img/shopping-cart-sprite.png) repeat-x left top;
}

form.has-pages ul.form-bc li {
	color: #000;
	background: transparent url(../img/shopping-cart-sprite.png) no-repeat right -30px;
}

form.has-pages ul.form-bc li.current-page span {
	color: #444;
}

/* form with pages: processed page */
form.has-pages ul.form-bc li.processed-page {
	padding-right: 10px;
}

form.has-pages ul.form-bc li.processed-page span {
	padding-right: 20px;
	background: transparent url(../img/shopping-cart-sprite.png) no-repeat 90px -50px;
}

div.clear-shopping-cart {
	float: left;
	width: auto;
	padding-left: 10px;
}

div.submit {
	clear: none;
}

a.webshop-back-to-shop {
	display: hidden;
}
