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

/*
	Defaults
	--------------------------------------------------
*/
ol.product-list,
ol.product-list ul,
ol.per-page,
ul.webshop-categories {
	margin: 0;
	padding: 0;
	list-style: none;
}

div.article {
	overflow: visible;
}

div.article_1 {
	border-bottom: 0;
}

/*
	Breadcrumbs
	--------------------------------------------------
*/
div.webshop-breadcrumbs {
	display: none;
}

/*
	Webshop search
	--------------------------------------------------
*/
div.webshop-product-search {
	position: relative;
	top: 1.5em;
	background: #fff;
}

div#content form#webshop-product-search,
div#content form#webshop-product-search-sidebar {
	position: relative;
	top: -1.5em;
	height: 100%;
	width: 560px;
}

form#webshop-product-search fieldset,
form#webshop-product-search-sidebar fieldset {
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
}

form#webshop-product-search div.fieldinput,
form#webshop-product-search-sidebar div.fieldinput {
	margin: 0;
	padding: 0;
}

form#webshop-product-search label,
form#webshop-product-search-sidebar label {
	position: absolute;
	left: -999em;
}

div#content form#webshop-product-search input,
div#content form#webshop-product-search-sidebar input {
	width: 518px;
	padding: 5px 35px 5px 5px;
	border: 1px solid #ccc;
	background: #fff;
}

form#webshop-product-search button,
form#webshop-product-search-sidebar button {
	position: absolute;
	right: 0;
	top: 0;
	display: block;
	width: 25px;
	height: 25px;
	padding: 0;
	text-indent: -999em;
	border: 0;
	background: transparent url(../img/webshop-sprite.png) no-repeat  -160px -88px;
}

/* Differences between normal search form and search form in sidebar */
div#sidebarright form#webshop-product-search {
	width: 230px;
	top: 0;
}

div#sidebarright form#webshop-product-search input {
	width: 188px;
}

div.sidebar div.webshop-product-search {
	top: 0;
}

/*
	Per page navigation
	--------------------------------------------------
*/
ol.per-page {
	list-style: none;
	margin: 0;
	padding: 0 0 30px 0;
}

ol.per-page li {
	float: left;
}

ol.per-page a {
	padding: 0 10px;
	text-decoration: underline;
}

ol.per-page a.current,
ol.per-page a:hover {
	color: black;
	text-decoration: none;
}

/*
	Webshop category tree
	--------------------------------------------------
*/
/* First level */
div.webshop-category-tree {
	padding-left: 15px;
}

div.webshop-category-tree ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

div.webshop-category-tree li {
	height: 100%;
	border-bottom: 1px solid #eae9e4;
}

div.webshop-category-tree li.last {
	border-bottom: 0;
}

div.webshop-category-tree li a {
	display: block;
	padding: 2px 0 2px 10px;
	background: transparent url(../img/arrows.png) no-repeat 0 -35px;
	text-decoration: none;
}

div.webshop-category-tree li.active a {
	background-position: 0 -86px;
}

div.webshop-category-tree li.has-children.active a {
	background-position: 0 10px;
}

/* Second level */
div.webshop-category-tree ul ul {
	padding: 5px 0;
	margin-bottom: 10px;
	background-color: #eee;
}

div.webshop-category-tree li li {
	border-bottom: 0;
}

div.webshop-category-tree li.active li a {
	padding: 0 10px;
	background-image: none;
}

div.webshop-category-tree li.active li.active {
	margin: 0 0 0 5px;
}

div.webshop-category-tree li.active li.active a {
	padding-left: 16px;
	background: transparent url(../img/arrows.png) no-repeat 6px -89px;
}

div.webshop-category-tree li.active li.has-children.active a {
	background: transparent url(../img/arrows.png) no-repeat 6px 8px;
}

/* Third level */
div.webshop-category-tree ul ul ul {
	margin: 0 0 5px 0;
}

div.webshop-category-tree li.active li.has-children.active li a {
	background-image: none;
}

div.webshop-category-tree li.active li.active li {
	margin: 0;
}

/* Show&Hide Behavior */
div.webshop-category-tree ul ul,
div.webshop-category-tree li.active ul ul,
div.webshop-category-tree li.active ul ul ul {
	display: none;
}

div.webshop-category-tree li.active ul,
div.webshop-category-tree li.active li.active ul,
div.webshop-category-tree li.active li.active li.active ul {
	display: block;
}

/*
	Webshop categories
	--------------------------------------------------
*/
ul.webshop-categories {
	margin: 0;
}

ul.webshop-categories li {
	position: relative;
	float: left;
	width: 185px;
	margin: 0 15px 20px 0;
	border-bottom: 1px solid #fff;
}

ul.webshop-categories a {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	text-decoration: none;
	font-size: 21px;
}

ul.webshop-categories h3 {
	margin-top: 125px;
}

ul.webshop-categories h3 a {
	position: static;
}

ul.webshop-categories a img {
	display: block;
	margin: 0;
	border: 0;
}

div.webshop-category-introduction {
	margin: 0 0 2em 0;
	padding: 10px 10px 0;
	overflow: hidden;
	border: 0;
	background: #a3ca83;
}

div.webshop-category-introduction img {
	float: left;
	margin: 0 0 10px 0;
	border: 1px solid #E75C00;
}

div.category-description {
	margin-left: 0;
}

ul.webshop-categories div.webshop-category-introduction,
ul.webshop-categories div.category-description {
	margin: 0;
	padding: 0;
	background: transparent;
}

/*
	Webshop product list
	--------------------------------------------------
*/
ol.product-list li {
	position: relative;
	margin-bottom: 2em;
	padding-bottom: 1em;
	border-bottom: 1px solid #eae9e4;
}

ol.product-list li img {
	float: left;
	margin-right: 15px;
}

div.meta-information {
	margin: 0 40px 0 150px;
}

div.meta-information h3 a {
	font-weight: bold;
	text-decoration: none;
}

div.product-information dl {
	margin-bottom: 1em;
}

div.product-information dt,
div.product-information dd {
	margin: 0;
	padding: 0;
}

div.product-information dt {
	float: left;
}

div.product-information dd {
	margin: 0 0 0 15em;
}

span.product-price {
	font-size: 21px;
}

span.product-price span.regular {
	font-size: 12px;
	text-decoration: line-through;
}

span.product-price span.action {
	color: #b40023;
}

/* Product actions */
ul.product-actions {
	float: right;
}

ol.product-list ul li {
	position: static;
	padding: 0;
	margin: 0 0 5px 0;
	border: 0;
	height: auto;
}

ul.product-actions li a {
	display: block;
	height: 18px;
	width: 18px;
	margin-left: 5px;
	overflow: hidden;
	text-indent: -999em;
	background: transparent url(../img/webshop-sprite.png) no-repeat -4px 0;
}

ul.product-actions li a.product-add-to-favorites,
ul.product-actions li a.product-remove-from-favorites {
	position: relative;
	z-index: 1;
}

ul.product-actions li a.product-add-to-favorites:hover,
ul.product-actions li a.product-remove-from-favorites {
	background-position: -23px 0;
}

ul.product-actions li a.product-remove-from-favorites:hover {
	background-position: -43px 0;
}

ul.product-actions li a.show-product-details {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: url(../img/blank.gif);
}

/* Add to shopping cart */
span.add-to-shopping-cart {
	display: block;
	height: 23px;
	width: 179px;
	position: absolute;
	bottom: 15px;
	right: 0;
	background: transparent url(../img/webshop-sprite.png) no-repeat 0 -37px;
}

span.add-to-shopping-cart:hover {
	background-position: 0 -65px;
}

ul.product-actions li span.add-to-shopping-cart input,
span.add-to-shopping-cart input {
	float: left;
	width: 23px;
	height: 14px;
	padding: 1px;
	margin: 4px 0 0 5px;
	border: 0;
	font-size: 10px;
	text-align: center;
}

ul.product-actions li span.add-to-shopping-cart a,
span.add-to-shopping-cart a {
	height: 21px;
	width: 140px;
	position: relative;
	display: block;
	float: left;
	margin-top: 1px;
	overflow: visible;
	background: transparent;
}

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

/*
	Product detailpage
	--------------------------------------------------
*/
p.webshop-back-link {
	display: block;
}

p.webshop-back-link a {
	float: right;
	padding-left: 24px;
	font-size: 11px;
	background: url(../img/webshop-sprite.png) no-repeat -163px 1px;
}

div.product-details a {
	display: block;
}

img.product-image {
	float: right;
}

a.product-print {
	width: 120px;
	margin-bottom: 5px;
	padding-left: 23px;
	background: url(../img/webshop-sprite.png) no-repeat -137px -17px;
}

div.product-information {
	width: 335px;
}

div.order-block span {
	display: block;
}

div.order-block span.add-to-shopping-cart {
	position: static;
}

a.product-add-to-favorites {
	margin-bottom: 1em;
}

div.order-block span.add-to-shopping-cart a {
	text-indent: -999em;
}

/* Related products */
ul.related-product-list {
	list-style: none;
	margin: 1em 0 0 0;
	padding: 0;
}

ul.related-product-list li {
	float: left;
	margin: 0 10px 0 0;
	padding: 0 10px 0 0;
	border-right: 1px dotted #CCCCCC;
}