/*
 * =============================
 * @author: 	Peter Slagter
 * @module: 	mod_webshop
 * @about: 		Main CSS-file for the basic webshop frontend CSS
 * =============================
 */

/*
	Defaults
	--------------------------------------------------
*/
ol.product-list,
ol.per-page,
ul.webshop-categories,
div.webshop-category-tree ul,
ul.product-actions,
ul.related-product-list {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
}

h3,h4,h5,h6 {
	font-style: normal;
}

div.webshop-category-introduction,
div.webshop-breadcrumbs {
	display: none;
}

/*
	Page navigation
	--------------------------------------------------
*/
ol.per-page li {
	float: left;
}

/*
	Webshop categories
	--------------------------------------------------
*/
ul.webshop-categories li {
	width: 45%;
	height: 130px;
	margin: 0 2% 2% 0;
	float: left;
	background: #f6f6f6;
	border: 2px solid #eee;
	text-align: center;
	line-height: 1;
}

ul.webshop-categories li:hover {
	background-color: #eee;
	border-color: #bbb;
}

ul.webshop-categories li h3 {
	font-weight: bold;
	font-size: 14px;
}

ul.webshop-categories li a {
	display: block;
	padding: .3em 0;
	color: #df9623;
	text-decoration: none;
}

/*
	Webshop products
	--------------------------------------------------
*/
ol.product-list li {
	position: relative;
	overflow: hidden;
	clear: both;
	margin-bottom: 2em;
}

ol.product-list ul li {
	position: static;
	clear: none;
	margin: 0;
	padding: 0;
	overflow: visible;
}

a.show-product-details,
a.product-add-to-favorites {
	position: absolute;
	left: -999em;
}

img.product-image {
	float: left;
	border: 1px solid #272e61;
}

/* Product information */
div.product-information {
	margin-left: 125px;
}

div.product-top div.product-information {
	margin-left: 312px;
}

div.product-information h3 {
	font-size: 14px;
}

div.product-information a {
	color: #df9623;
	text-decoration: none;
}

div.product-description {
	margin-bottom: 2em;
}

/* Product meta */
div.product-meta {
	position: absolute;
	right: 0;
	bottom: 0;
}

/* Product price */
span.product-price {
	float: right;
	font-size: 14px;
	font-weight: bold;
	color: #303a90;
}

/* Product actions */
ul.product-actions {
	float: right;
	width: 155px;
	overflow: visible;
}

span.add-to-shopping-cart input {
	float: left;
	width: 35px;
	padding: 1px;
	font-size: 11px;
	margin: 4px 5px 0 0;
}

span.add-to-shopping-cart a {
	position: relative;
	float: left;
	display: block;
	width: 96px;
	height: 18px;
	margin: 0 5px 0 0;
	background: transparent url(../img/webshop-sprite.png) no-repeat right 8px;
	text-indent: -999em;
}

span.add-to-shopping-cart a img {
	position: absolute;
	left: -65px;
	top: 4px;
	display: block;
}

/*
	Webshop product detail page
	--------------------------------------------------
*/
div.product-top {
	margin: 0 0 3em 0;
	float: left;
	position: relative;
	overflow: hidden;
}

div.product-bottom {
	overflow: hidden;
	clear: left;
}

div.product-bottom h3 {
	font-size: 14px;
	color: #df9623;
}

/* Related products */
ul.related-product-list img.product-image {
	float: none;
}

ul.related-product-list li {
	float: left;
	margin: 0 5px 20px 0;
	width: 115px;
}

ul.related-product-list h4 {
	font-style: normal;
}

ul.related-product-list span.product-price {
	position: absolute;
	left: -999em;
}

/*
	Webshop category tree
	--------------------------------------------------
*/
div.webshop-category-tree li {
	background: url(../img/webshop-sprite.png) repeat-x 0 100%;
}

div.webshop-category-tree li:hover,
div.webshop-category-tree li.active {
	background-position: -245px 100%;
}

div.webshop-category-tree li a {
	display: block;
	padding: 0px 9px 9px 9px;
	text-decoration: none;
}

div.webshop-category-tree li a:hover,
div.webshop-category-tree li.active a {
	color: #f59700;
}

/*
	Webshop shopping cart
	--------------------------------------------------
*/
/* Webshop shopping cart snippet */
div#webshop-shopping-cart-snippet span.total-price {
	display: block;
}

div#webshop-shopping-cart-snippet a {
	display: block;
	margin-top: 1em;
}