/**
 * @author:	Geert Romijn geertATprocurios.nl
 * @UI: 	webshopApp standard
 * @module: mod_webshop2
 * @about: 	webshop-frontend.css - Main webshop2 file to add layout to its output
 */

/**
 * Adjust inherited grid & layout settings
 */

#webshop-product-search label,
#webshop-product-search-sidebar label,
.webshop-back-link {
	position: absolute;
	top: -999em;
	left: -999em;
}

h2, h3 {
	margin-bottom: .2em;
	line-height: 1.3em;
}

.pbuic-ferr-score-number {
	visibility: hidden;
}

/**
 * Defaults & layout of re-usable classes throughout the webshop
 */

/** Remove the default layout of list elements */
.product-list,
.product-list ul,
.related-product-list,
.per-page,
.webshop-categories,
.webshop-category-tree ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

/** Layout of webshop items (eg. categories, products) */
.webshop-categories li,
.product-list li,
.wpdt-summary,
.related-product-list li {
	zoom: 1; /** IE layout fix */
	overflow: hidden; /** Image must stay within borders */
}

.product-list li li {
	border: 0;
	background: none;
}

/** Product images */
.product-image-container,
.image-container {
	float: left;
	margin: 0 15px 0 0;
}

.product-image-container {
	position: relative;
	width: 280px;
	z-index: 2; /** place image over favorites star */
	clear: left;
}

/** Link element of products is layed out to make the whole item clickable */
.link-to-product,
.link-to-category {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-indent: -999em;
}

/** Product prices */

.product-price-wrapper {
	float: left;
	display: block;
	height: 32px;
	margin-bottom: .5em;
	background: transparent url(../img/add-to-cart-sprite.png) repeat-x right -32px;
}

.product-price {
	display: block;
	height: 21px;
	padding: 6px 10px 5px 20px;
	font-size: 11px;
	font-weight: bold;
	color: #fff;
	background: transparent url(../img/add-to-cart-sprite.png) no-repeat 0 0;
}

.ie6 .product-price {
	float: left;
}

.related-product-list .product-price {
    color: #000;
}

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

/** Product details (in product lists and product details page) */
.product-details-list {
	position: relative;
	display: inline-block;
	white-space: nowrap;
	font-size: .9em;
	color: #777;
}

.product-details-list dt {
	float: left;
	width: 80px;
	margin-right: 10px;
	font-size: 11px;
	font-weight: bold;
	color: #014587;
}

.product-details-list dd {
	font-size: 11px;
	font-weight: normal;
	color: #000;
}

/**
 *     Buttons
 */

/** same styling as buttons in webshop-shopping-cart.css */
button,
div.submit button,
#ws-rc-button-write-review {
	padding: 4px 8px;
	border: 1px solid;
	border-color: #fff #ccc #aaa;
	text-decoration: none;
	font: bold 12px/20px Arial;
	color: #444;
	background: #ddd;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#dddddd), to(#c5c5c5));
	background-image: -webkit-linear-gradient(top, #dddddd, #c5c5c5);
	background-image: -moz-linear-gradient(top, #dddddd, #c5c5c5);
	background-image: -o-linear-gradient(top, #dddddd, #c5c5c5);
	background-image: linear-gradient(to bottom, #dddddd, #c5c5c5);
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.5);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
	-moz-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;
	text-shadow: none;
	vertical-align: baseline;
	filter: none;
}

button:hover,
div.submit button:hover,
#ws-rc-button-write-review:hover {
	color: #000;
	background: #ddd;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#dddddd), to(#cccccc));
	background-image: -webkit-linear-gradient(top, #dddddd, #cccccc);
	background-image: -moz-linear-gradient(top, #dddddd, #cccccc);
	background-image: -o-linear-gradient(top, #dddddd, #cccccc);
	background-image: linear-gradient(to bottom, #dddddd, #cccccc);
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.5);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 0 1px rgba(0, 0, 0, 0.5);
	filter: none;
}

#webshop-product-search button:hover {
	box-shadow: none;
}

/** Add to shopping cart button */
.add-to-shopping-cart {
	position: relative;
	float: left;
	display: block;
	height: 32px;
	margin-left: 5px;
	outline: 0 none;
	vertical-align: baseline; /** is browser default */
	/*overflow: hidden;*/
	background: transparent url(../img/add-to-cart-sprite.png) no-repeat 0 -64px;
}

.add-to-shopping-cart input {
	position: absolute;
	top: 4px;
	left: 52px;
	width: 1.5em;
	height: 14px;
	font: normal 12px/14px Verdana, Geneva, Helvetica, sans-serif;
	text-align: center;
}

.add-to-shopping-cart input:focus {
	border-color: transparent;
}

.add-to-shopping-cart a {
	display: block;
	width: 200px;
	height: 32px;
	text-indent: -999em;
}

.add-to-shopping-cart img {
	position: absolute;
	top: 5px;
	left: 200px;
}

/** Product favorites (mark & unmark product from favorites) */

a.product-remove-from-favorites {
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 17px;
	height: 17px;
	text-indent: -999em;
	text-decoration: none;
	background: url(../img/favorite.png) no-repeat 0 0;
	-webkit-transition: width, text-indent 0.3s cubic-bezier(.1,0,0,1);
	-moz-transition: width, text-indent 0.3s cubic-bezier(.1,0,0,1);
	-o-transition: width, text-indent 0.3s cubic-bezier(.1,0,0,1);
	transition: width, text-indent 0.3s cubic-bezier(.1,0,0,1);
	overflow: hidden;
}

.product-list .product-add-to-favorites {
	display: none;
}

.product-remove-from-favorites:hover {
	z-index: 3;
	width: auto;
	margin-top: -1px;
	margin-left: -1px;
	padding: 0 5px 0 21px;
	border: 1px solid #000;
	text-indent: 0;
	font: bold 12px/16px Helvetica, Arial, sans-serif;
	color: #fff;
	background-color: #353535;
	background-position: 0 -21px;
}

/**
 * .webshop-breadcrumbs
 */

.webshop-breadcrumbs {
	display: none;
}

/**
 * 	.webshop-categories
 */

.webshop-categories {
	overflow: hidden;
}

.webshop-categories h3 {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

.webshop-categories li {
	float: left;
	width: 160px;
	margin: 0 17px 20px 0;
	padding-bottom: 23px;
	background: transparent url(../img/bg-category.png) no-repeat bottom left;
}

.webshop-categories a {
	text-decoration: none;
}

.webshop-categories li img {
	float: left;
	margin: 5px 1em 0 0;
}

.category-introduction p {
	margin-bottom: 0;
}

/**
 * 	.webshop-products & .product-list
 */

.webshop-products {
	margin-top: 2em;
}

/** Category introduction */
.webshop-category-introduction {
	display: none;
}

.webshop-category-introduction img {
	float: left;
	margin-right: 1em;
}

/** Product lists */
.product-list li {
	position: relative;
	clear: left;
	padding: 0 0 10px 0;
	background: transparent url(../../../img/bg-seperator.png) repeat-x bottom left;
}

.product-list li.last {
	padding-bottom: 0;
	background: transparent;
}

.product-list h3 {
	float: left;
	width: 280px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.product-list h3 a {
	color: #000;
	text-decoration: none;
}

.product-list .product-information {
	margin: 0 25px 0 300px;
}

ul.product-actions {
	float: left;
}

.ie6 .product-actions,
.ie7 .product-actions {
	position: relative;
	height: 32px;
}

.product-actions li,
.product-actions li:hover {
	position: static;
	clear: right;
	min-height: 0px;
	margin: 0;
	padding: 0;
	border: 0;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.ie6 .product-actions li,
.ie7 .product-actions li {
	position: absolute;
	top: 0;
	left: 0;
}

.show-product-details {
	position: absolute;
	top: -999em;
	left: -999em;
}

.product-introduction {
	display: block;
	clear: right;
}

.product-introduction p {
	margin-bottom: 25px;
}

/** Rent this instrument */
.rent-instrument {
	display: block;
	height: 32px;
	margin-bottom: 3px;
	padding-left: 36px;
	line-height: 29px;
	background: transparent url(../img/rent-bg.png) no-repeat 0 0;
}

.rent-instrument span {
	padding-right: 13px;
	background: transparent url(../img/webshop-arrow-sprite.png) no-repeat right -9px;
}

/*
	Product information dialog (onhover)
	--------------------------------------------------
*/
.product-information-dialog {
	position: absolute;
	z-index: 99;
	padding: 15px;
	border: 1px solid #ccc;
	color: #000;
	background: #fff;
	-moz-box-shadow: 0 5px 10px rgba(0,0,0,0.3), 0 10px 30px rgba(0,0,0,0.5);
	-webkit-box-shadow: 0 5px 10px rgba(0,0,0,0.3), 0 10px 30px rgba(0,0,0,0.5);
	box-shadow: 0 5px 10px rgba(0,0,0,0.3), 0 10px 30px rgba(0,0,0,0.5);
}

.product-information-dialog h3 {
	margin-bottom: 1em;
	border-bottom: 1px solid #ccc;
}

.product-information-dialog img.product-image {
	float: left;
	margin-right: 1em;
}

.product-information-dialog .product-details {
	float: left;
	margin-top: 1em;
}

.product-information-dialog dt,
.product-information-dialog dd {
	float: left;
}

.product-information-dialog dt {
	clear: left;
	margin-right: 1em;
}

.product-close-dialog {
	position: absolute;
	top: 15px;
	right: 10px;
}

/**
 * 	Product detail page
 */

/** Product details elements */
#webshop-product-details {
	float: left;
	padding-bottom: 9px;
	background: transparent url(../../../img/bg-seperator.png) repeat-x left bottom;;
}

.webshop-product-details h2, h3 {
	font-size: 18px;
}

.product-specs h3 {
	margin-bottom: 15px;
}

.wpd-left {
	float: left;
	width: 580px;
	margin: 0 130px 0 0;
}

.ie6 .wpd-left {
	display: inline;
}

.product-details {
	position: relative;
	overflow: hidden;
}

.ie6 .product-details {
	zoom: 1;
}

.product-details .image-container {
	float: none;
	display: block;
	width: 580px;
	margin: 0;
}

.wpdt-summary {
	position: relative;
}

.ie6 .wpdt-summary {
	float: left;
}

.wpdt-summary .product-add-to-favorites {
	display: none;
}

.product-details .product-details-list {
	display: block;
	overflow: hidden;
	margin: .5em 0 2em;
}

.wpd-bottom {
	clear: both;
	margin-top: 1em;
}

/** Image gallery */
.product-details .wpd-imgages-gallery {
	float: left;
	width: 100px;
	margin: 0 0 0 -110px;
}

.product-details .wpd-imgages-gallery li {
	margin: 0 0 20px 0;
}

/** Product specs */
.product-specs {
	float: left;
	width: 100%;
}

/**
 * .webshop-product-search
 */

.webshop-product-search form {
	position: relative;
	width: 710px;
	height: 50px;
	background: transparent url(../img/bg-webshop-search.png) no-repeat 0 0;
}

.webshop-product-search fieldset {
	margin-bottom: 0;
}

.webshop-product-search h3 {
	margin-top: 1em;
}

#webshop-product-search input,
#webshop-product-search-sidebar input {
	position: absolute;
	top: 12px;
	left: 13px;
	width: 470px;
	padding: 4px 6px 5px;
	height: 17px;
	border: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	box-shadow: none;
	font: normal 12px/1.5em Verdana, Geneva, Helvetica, sans-serif;
	color: #999;
	background: transparent;
}

#webshop-product-search input {
	min-width: 21em;
}

#webshop-product-search input:focus {
	color: #000;
}

#webshop-product-search button {
	position: absolute;
	top: 10px;
	left: 497px;
	width: 32px;
	height: 30px;
	padding: 0 8px;
	overflow: hidden;
	border: 0;
	text-indent: -999em;
	background: transparent;
}

#webshop-product-search button,
#webshop-product-search-sidebar button {
	font: bold 12px/1.5em Helvetica, Arial, sans-serif;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.webshop-product-search ol.product-list {
	margin-top: 1em;
}

/**
 *     Searchbox in sidebar
 */

#webshop-product-search-sidebar button {
	padding: 4px;
}

#webshop-product-search-sidebar .inner-button {
	display: block;
	width: 18px;
	height: 15px;
	text-indent: -999em;
	background: transparent url(../img/webshop-sprite.png) no-repeat 100% 0;
}


/**
 * Webshop (products) navigation
 */

.webshop-products-nav,
.per-page {
	text-align: center;
}

.webshop-products-nav.top {
	display: none;
}

.pages {
	display: none;
}

.webshop-products-nav ol {
	margin: 1em 0;
	padding: 0;
	border: 0;
	font: 12px/17px Arial, Helvetica, sans-serif;
	background-image: none;
	list-style: none;
}

.webshop-products-nav li,
.per-page li {
	display: inline;
	width: auto;
	margin: 0 5px 0 0;
	padding: 0;
	border: 0;
	background-image: none;
}

.webshop-products-nav a,
.per-page a {
	display: inline-block;
	min-width: 20px;
	padding: 2px 3px;
	margin: 0;
	text-align: center;
	border: 1px solid #eee;
	border-color: rgba(0,0,0,0.1);
	color: #333;
	text-decoration: none;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	background-color: #eee;
	background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#eee)); /** for webkit browsers */
	background: -moz-linear-gradient(top, #f8f8f8, #eee); /** for firefox 3.6+ */
	border-color: #dfdfdf;
}

/** Hover state */
.webshop-products-nav a:hover,
.per-page a:hover {
	color: #000;
	border-color: rgba(0,0,0,0.3);
	-webkit-box-shadow: 0 0 2px 0 rgba(0,0,0,0.2);
	-moz-box-shadow: 0 0 2px 0 rgba(0,0,0,0.2);
	box-shadow: 0 0 2px 0 rgba(0,0,0,0.2);
}

/** Active state */
.webshop-products-nav .current a,
.per-page .current,
.webshop-products-nav .current a:hover,
.per-page .current:hover {
	border-color: #eee;
	font-weight: bold;
	color: #000;
	background: #fff;
	cursor: default;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

/**
 * 	Webshop menu (.webshop-category-tree)
 */

.webshop-category-tree li {
	font-size: 11px;
	font-weight: bold;
	border: none;
}

.webshop-category-tree li a {
	background: transparent url(../../../img/bg-seperator-dark-small.png) repeat-x left bottom;
}

.webshop-category-tree .last a {
	padding-bottom: 0;
	background-image: none;
}

.webshop-category-tree .active a {
	padding-bottom: 10px;
	color: #80a2c3;
	background: transparent;
}

.webshop-category-tree a {
	display: block;
	padding: 0 0 16px 0;
	line-height: 11px;
	text-decoration: none;
	color: #fff;
}

.webshop-category-tree .active li a,
.webshop-category-tree .active .active li a,
.webshop-category-tree .active .active .active li a {
	color: #fff;
}

/** Second level */
.webshop-category-tree ul ul {
	display: none;
	margin-bottom: 0;
	padding: 0;
}

.webshop-category-tree .active ul ul {
	display: none;
	font-size: .9em;
}

.webshop-category-tree .active ul,
.webshop-category-tree .active .active ul {
	display: block;
	margin-bottom: 8px;
}

.webshop-category-tree .active li,
.webshop-category-tree .active.has-children li {
	padding-left: 12px;
	border: 0;
	font-weight: normal;
}

.webshop-category-tree .active li a {
	display: inline;
	padding: 0 13px 0 0;
	background: transparent url(../img/webshop-arrow-sprite.png) no-repeat right 6px;
}

.webshop-category-tree .active .active a {
	color: #80a2c3;
	font-weight: bold;
	background: transparent url(../img/webshop-arrow-sprite.png) no-repeat right -9px;
}

.webshop-category-tree li li li li {
	font-size: 1em;
}

.webshop-category-tree li li a {
	padding: 1px 0;
}