/* {{{ Product Images */

.store-product-icon img.store-border-on,
.store-product-tile img.store-border-on,
#product_images img.store-border-on,
#product_secondary_images img.store-border-off {
	padding: 4px;
	border: 1px solid #b7ac86;
	display: block;
}

.store-product-icon img.store-border-off,
.store-product-tile img.store-border-off,
#product_image img.store-border-off {
	display: block;
	padding: 5px;
}

.store-product-icon a:hover img.store-border-on,
.store-product-icon a:active img.store-border-on,
.store-product-tile a:hover img.store-border-on,
.store-product-tile a:active img.store-border-on,
#product_images a:hover img.store-border-on,
#product_images a:active img.store-border-on {
	border-color: #8f8874;
	background: #f8f7f0;
}

/* }}} */
/* {{{ Product List */

ul.store-product-list {
	list-style-type: none;
	margin: 12px 0;
	padding: 0;
	clear: both;
}

li.store-product-icon,
li.product-icon {
	list-style-type: none;
	width: 180px;
	height: 245px;
	text-align: center;
	margin: 0;
	padding: 0;
	float: left;
}

li.store-product-icon a,
li.product-icon a {
	display: block;
}

li.store-product-icon span,
li.product-icon span {
	display: block;
	margin: 0 10px;
}

li.store-product-icon span.view-pricing-details {
	font-size: 85%;
	font-weight: bold;
	color: #0e850e;
	margin-top: 5px;
}

li.store-product-icon span.product-image-wrapper,
li.product-icon span.product-image-wrapper {
	display: block;
	padding: 0;
}

li.product-icon span.items,
li.store-product-icon span.items,
li.store-product-tile div.items {
	font-size: 85%;
	font-weight: bold;
	color: #797260;
	text-decoration: none;
}

li.product-icon span.product-title,
li.store-product-icon span.product-title {
	font-size: 116%;
}

li.product-icon .product-new,
li.store-product-icon .product-new {
	background-color: #782015;
	color: #fff;
	font-size: 11px;
	margin: 3px 0 0;
	padding: 3px 6px;
	text-decoration: none;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
	display: inline-block;
	vertical-align: middle;
}

li.store-product-tile img,
li.store-product-icon img,
li.product-icon img {
	display: block;
	margin: 0 auto 2px auto;
}

li.store-product-tile a,
li.store-product-icon a,
li.product-icon a {
	text-decoration: none;
}

li.store-product-tile a span,
li.store-product-icon a span,
li.product-icon a span {
	text-decoration: underline;
}

li.store-product-tile {
	padding: 10px 0;
}

li.store-product-tile span.store-product-tile-title {
	font-size: 116%;
	font-weight: normal;
}

li.store-product-tile .product-new {
	background-color: #782015;
	color: #fff;
	font-size: 11px;
	margin: -2px 0 0 5px;
	padding: 3px 6px;
	text-decoration: none;
	text-shadow: 1px 1px rgba(0, 0, 0, 0.5);
	display: inline-block;
	vertical-align: middle;
}

li.store-product-tile span.tile-image-wrapper img {
	margin: 0 10px 10px 0;
	float: left;
	display: block;
}

li.store-product-tile p {
	margin: 0 0 0 160px;
}

/* }}} */
/* {{{ Items */

table.items-view {
	width: 100%;
	margin: 20px 0 0 0;
}

.items-view select {
	font-size: 85%;
}


.items-view tbody tr td,
.items-view tbody tr th,
.items-view tfoot tr td,
.items-view tfoot tr th {
	padding: 0.3em 0.7em;
}

.items-view tbody tr.item-table-view-divider td {
	text-align: right;
	padding: 0;
}

.items-view tbody tr {
	background: none;
}

.items-view tbody tr th {
	background: #dfd5c3;
	color: #4f493b;
	font-weight: normal;
	padding-bottom: 0.2em;
}

.items-view thead tr th,
.items-view thead td {
	height: 1px;
	border: 0;
	font-size: 1px;
	color: #efebe0;
}

.items-view td.product-group {
	font-size: 131%;
	font-family: TeXGyreTermesRegular, georgia, serif;
	font-weight: normal;
	padding-left: 0;
}

.items-view td.item-image {
	width: 115px;
	padding: 0;
	vertical-align: top;
}

.items-view td.item-image img {
	background: #fff;
	border: 1px solid #b7ac86;
	padding: 3px;
	margin-right: 5px;
}

.items-view td.item-image a:hover img,
.items-view td.item-image a:active img {
	border-color: #8f8874;
	background: #f8f7f0;
}

.items-view td.item-image .swat-image-preview-title {
	display: block;
	text-align: center;
	font-size: 85%;
	margin: 2px 5px 0 0;
	color: #8D876D;
}

.items-view td.item-image a {
	text-decoration: none;
}

.items-view td.item-image a:hover .swat-image-preview-title {
	text-decoration: underline;
	color: #006;
}

.items-view tbody td.item-sku {
	font-weight: bold;
	background: #dfd5c3;
	padding-right: 0.3em;
	font-size: 108%;
	white-space: nowrap;
}

.items-view tbody td.item-title {
	background: transparent url(../images/elements/item-sku-corner.png) top left no-repeat;
	padding-left: 35px;
	width: 100%;
}

.items-view .description-column {
	width: 100%;
}

.items-view tbody th.description-column,
.items-view tbody th.price-column,
.items-view tbody th.total-column,
.items-view tbody th.status-column,
.items-view tbody th.remove-column,
.items-view tbody th.move-column,
.items-view tbody th.note-column,
.items-view tbody th.unit-column,
.items-view tbody th.quantity-column {
	border-top: 1px solid #dfd5c3;
	background: #dfd5c3;
}

.items-view tbody td.description-column,
.items-view tbody td.price-column,
.items-view tbody td.total-column,
.items-view tbody td.status-column,
.items-view tbody td.remove-column,
.items-view tbody td.move-column,
.items-view tbody td.note-column,
.items-view tbody td.unit-column,
.items-view tbody td.quantity-column {
	border-top: 1px solid #dfd5c3;
	background: #efe5d3;
}

.items-view tbody td.status-column {
	white-space: nowrap;
}

.items-view tbody th.unit-column {
	padding: 0.3em 0.7em 0.2em 0;
}

.items-view tbody td.unit-column {
	padding: 0.3em 0.7em 0.3em 0;
}

.items-view tbody .finish-column,
.items-view tbody .fitting-column {
	white-space: nowrap;
}

.items-view .quantity-column {
	width: 5em;
	text-align: right;
}

.items-view .quantity-column input {
	width: 3em;
}

.items-view tbody .note-column {
	font-size: 85%;
	color: #8d876d;
	padding-bottom: 0.5em;
}

.items-view tbody tr td.item-image-group {
	padding: 0;
	line-height: 1;
}

.items-view td.swat-money-cell-renderer {
	font-size: 108%;
	font-weight: bold;
}

.items-view td.swat-money-cell-renderer .original-price,
.items-view td.swat-money-cell-renderer .store-cart-discount {
	font-weight: normal;
}

.items-view tfoot tr td {
	text-align: right;
}

.items-view .remove-column input,
.items-view .move-column input {
	font-size: 85%;
}

.items-view td.details-column {
	background: #EFE5D3;
	border-top: 1px solid #DFD5C3;
}

.items-view td.details-column .item-details {
	position: relative;
	min-height: 3.5em;
	padding-right: 100px;
}

* html .items-view td.details-column .item-details {
	height: 3.5em;
}

.items-view td.details-column .item-quantity {
	position: absolute;
	right: 0px;
	bottom: 0px;
}

.items-view td.details-column .item-button {
	width: 113px;
	height: 38px;
	font-size: 85%;
	position: absolute;
	right: 31px;
	bottom: -8px;
	z-index: 3;
	background: url(../images/elements/inline-add-to-cart.png) no-repeat;
	text-align: center;
}

/* IE 6 */
* html .items-view td.details-column .item-button {
	background: url(../images/elements/inline-add-to-cart-ie.png) no-repeat;
}

/* IE 7 */
*+html .items-view td.details-column .item-button {
	background: url(../images/elements/inline-add-to-cart-ie.png) no-repeat;
}

/* IE 8 */
.items-view td.details-column .item-button {
	background: url(../images/elements/inline-add-to-cart-ie.png) no-repeat\9;
}

.items-view td.details-column .item-button input {
	margin: 8px 8px 0 0;
	width: 80px;
	height: 22px;
}

/* needed to override the display: inline in swat-table-view.css */
div.swat-hidden {
	display: none;
}

.items-view td.details-column label,
.items-view td.details-column a {
	margin-right: 3px;
	font-size: 85%;
	color: #6B685B;
}

.items-view td.details-column .item-price {
	position: absolute;
	right: 0px;
	top: 0px;
}

.items-view td.details-column .item-price .store-price {
	font-size: 108%;
	font-weight: bold;
}

.items-view td.details-column .item-price .store-sale-discount {
	display: inline;
}

.items-view td.details-column .item-price .store-original-price {
	text-decoration: line-through;
	padding: 0 0.5em;
}

.items-view td.details-column .item-description,
.items-view td.details-column .item-note,
.items-view td.details-column .item-status,
.items-view td.details-column .item-finish,
.items-view td.details-column .item-fitting {
	margin: 4px 0;
	display: block;
}

.items-view tr.item-image-finishes td {
	background: #dfd5c3;
}

/* }}} */

.item-finish-image-preview {
	padding: 4px 0;
}

.item-finish-image-preview-title {
	font-weight: bold;
	float: left;
	position: relative;
	top: 3px;
}

.item-finish-image-preview-images {
	margin-left: 100px;
}

a.item-finish-image-preview-image,
span.item-finish-image-preview-image {
	vertical-align: middle;
	margin: 0 5px 0 0;
	display: inline-block;
	text-decoration: none;
	font-size: 9px;
	white-space: nowrap;
	color: #4d493c;
}

.item-finish-image-preview-image img {
	margin-right: 1px;
	vertical-align: middle;
	padding: 1px;
	border: 1px solid #888;
	background: #fff;
}

.item-finish-image-preview-image-selected img {
	border-color: #666;
	background: #eee8e8;
}

.item-finish-image-preview-image span {
	display: none;
}

.image-preview-finishes {
	text-align: left;
	position: absolute;
	padding: 12px 20px 10px 20px;
	left: 50%;
	margin: -271px;
	width: 500px;
	background: #000;
	background: rgba(0,0,0,0.75);
	border: 1px solid #333;
	-webkit-box-shadow: 0 1px 16px #000;
	-moz-box-shadow: 0 1px 16px #000;
	box-shadow: 0 1px 16px #000;
}

.image-preview-finishes .image-preview-finishes-title {
	text-align: center;
	font-weight: bold;
	margin-bottom: 12px;
	color: #ccc;
}

.image-preview-finishes a.item-finish-image-preview-image {
	padding: 3px;
	color: #ccc;
	font-size: 13px;
	width: 150px;
	margin: 0 5px 2px 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.image-preview-finishes a.item-finish-image-preview-image img {
	background: #ccc;
	border-color: #000;
}

.image-preview-finishes a.item-finish-image-preview-image span {
	display: inline;
	position: relative;
	top: 2px;
	padding: 2px 0 2px 4px;
}

.image-preview-finishes a.item-finish-image-preview-image-selected {
	background: #333;
}

.items-view td.details-column a.fittings-article-link,
.items-view td.details-column a.finish-article-link {
	margin-left: 5px;
}


.items-view td.details-column a.fittings-article-link img,
.items-view td.details-column a.finish-article-link img {
	vertical-align: top;
}
