/** CSS for online shop **/

/* Products */
div.product img {
	float: left;
	width: 180px;
	padding-right: 10px;
	margin-top: 4px;
	border:none;
}
div.product h1, div.category h1 {
	fo3nt-size: 14pt;
	margin-bottom: 0;
}
div.product h2 {
	margin-top: 0;
	margin-bottom: 1em;
	font-size: 12pt;
	font-weight: normal;
}
div.category h2 {
	margin: 0;
	font-size: 12pt;
	font-weight: normal;
}
div.category h3 {
	margin: 0;
	font-size: 10pt;
	text-align: center;
	padding: 0 3px;
}
/* Product details */
div.product dt {
	float: left;
	clear: both;
	
}
div.product div.info {
	margin-top: 1em;
	float: left;
}
div.product div.info div strong {
	display: block;
	float: left;
	width: 140px;
}
div.product div.options {
	float: right;	
}
div.product div.options div.price {
	font-size: 16pt;
	text-align: right;
	margin-bottom: 6px;
}
div.product div.options a {
	color: #ffffff;
	display: block;
	width: 120px;
	height: 25px;
	display: block;
	text-align: center;
	font-size: 11pt;
	font-weight: bold;
	float: left;
	margin-left: 6px;
	text-decoration: none;
	padding-top:5px;
	background-image: url("/images/buttons/button.png");
	background-repeat: no-repeat;
	background-position: 0 0;
}
div.product div.options a.buy {
	background-position: 0 0;
}
div.product div.options a.borrow {
	background-position: 0 0;
}
div.product div.options a:hover {
	background-position: 0 -30px;
	text-decoration: none;	
}
div.product div.description {
	margin-top:10px;
}
/* Category page - subcategory list */
ul.subcategories {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ul.subcategories li {
	float: left;
	display: block;
	background-image: url("/images/buttons/subcategoryRight.png");
	background-position: top right;
	background-repeat: no-repeat;
	width: 249px;	
	height: 30px;
	margin: 6px;
	overflow: hidden;
}
ul.subcategories li:hover {
	background-position: bottom right;	
}
ul.subcategories a {
	display: block;
	background-image: url("/images/buttons/subcategoryLeft.png");
	background-position: top left;
	background-repeat: no-repeat;
	height: 30px;
	line-height: 30px;
	padding: 0 6px;
	text-align: left;
	color: #0737f1;
}
ul.subcategories a:hover {
	background-position: bottom left;
	text-decoration: none;	
	color: #ffffff;
}

/* Category page - product list */
ul.products {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
ul.products li {
	float: left;
	display: block;
	width: 200px;	
	height: 260px;
	overflow: hidden;	
	background-color: white;
	margin: 15px 25px 15px 0;
}
ul.products span.productImage {
	text-align: center;
	display: block;
	/*height: 190px;*/
	padding-bottom:10px;
}
ul.products span.productImage img {
	border: 0;
	width: 135px;
	padding: 0;
}
ul.products span.noProductImage {
	width: 186px;	
	height: 150px;
	line-height: 150px;
	padding: 0;
	text-align: center;
	color: #a0a0a0;
	font-size: 14pt;
	display: block;
}
ul.products a {
	text-decoration: none;	
	display:block;
}
div.category ul.products li h3 {
/*	text-align: center;*/
}
div.category ul.products li h3 a {
	color: #000000;
}
ul.products li.product {
	height:300px;
}
ul.products li.product div.price {
	text-align:center;
	color:#3671B5;
	font-weight:bold;
}

/* Basket/Checkout table */
table.ecommerce {
	border-collapse: collapse;	
	background-color: #ffffff;
	border: 1px #3671B5 solid;
	width: 100%;
}
table.ecommerceSmall {
	width: auto;
	margin: 0 auto;
}
table.ecommerce thead th {
	background-color: #3671B5;
	color: #ffffff;
	white-space: nowrap;
	padding: 1px 3px;
}
table.ecommerceSmall th {
	text-align: right;	
	vertical-align: top;
/*	background-color: #3671B5;
	color: #ffffff;*/
	white-space: nowrap;
	padding: 1px 3px;
	font-weight: normal;
}
table.ecommerceSmall tr.required th {
	font-weight: bold;
}
table.ecommerce tr.heading th {
	background-color: #3671B5;
	color: #ffffff;
	text-align: left;
	font-size: 11pt;
	font-weight: bold;	
}
table.ecommerce tr.last th, table.ecommerce tr.last td {
	padding-bottom:	1em;
}
table.ecommerce thead td {
	padding: 0 3px;
	vertical-align: top;
}
table.ecommerce tfoot th {
	text-align: right;
}
table.ecommerce td.price {
	text-align: right;	
}
table.ecommerce td.type {
	font-weight: bold;	
}
table.ecommerce td.quantity {
	text-align: right;	
}
table.ecommerce td.quantity input.integer {
	width: 32px;
	border: 1px #3671B5 solid;	
}
table.ecommerceSmall td input {
	width: 160px;
	border: 1px #3671B5 solid;	
	background-color: #dff2ff;
}
table.ecommerce td input.shortnumber {
	width: 42px;	
}
table.ecommerce td input.checkbox {
	width: auto;	
}
table.ecommerce td select {
	border: 1px #3671B5 solid;	
}
table.ecommerce td div.note {
	font-style: italic;
	font-size: 9pt;
}
#useDeliveryLabel {
	margin-top: 1ex;
}
table.ecommerce td.remove a {
	background-image: url("/images/remove.gif");
	background-repeat: no-repeat;
	background-position: left center;
	display: block;
	width: 16px;
	height: 100%;
	text-indent: -9999px;
}
table.ecommerce tfoot tr.subtotal td.price {
	border-top: 1px #000000 solid;
}
table.ecommerce tfoot tr.total td.price {
	font-weight: bold;
	border-top: 3px #000000 double;
}
table.ecommerce tbody td {
	padding: 1px 3px;
	vertical-align: top;
}

/* Checkout/general button */
a.button {
	display: block;
	width: 120px;
	height: 30px;
	background-image: url("/images/buttons/button.png");
	background-repeat: no-repeat;
	background-position: 0 0;
	line-height: 30px;
	display: block;
/*	text-indent: 6px;*/
	color:#ffffff;
	font-size: 11pt;
	font-weight: bold;
	margin: 6px auto;
	text-align: center;
	text-decoration: none;
}
a.button:hover {
	background-position: 0 -30px;
	text-decoration: none;	
	color: #ffffff;
}
a.disabledButton, a.disabledButton:hover {
	background-position: 0 -60px;
	cursor: wait;
	color: #555555;
}
a.basketButton {
	background-image: url("/images/buttons/button.png");
}
a.checkoutButton {
	background-image: url("/images/buttons/button.png");
}

/* download info box */
div.downloadInfo {
	margin-top: 1em;	
}

/* Empty basket */
#basketLinks {
	text-align: right;

}

/* Forgotten password */
#forgottenPassword {
	margin-top: 1em;
	display: none;
}

/* Errors */
div.errors {
	text-align: left;
	border: 1px #c67109 solid;
	background-color: #f4da5c;
	width: 300px;
	margin: 8px auto;
	padding: 0;
	display: none;
}
div.errors h3 {
	text-align: left;
	margin: 0;
	padding: 2px;
	font-size: 11pt;
	color: #622100;
	background-color: #d99823;
	background-image: url("/images/error.png");
	text-indent: 16px;
	background-position: left center;
	background-repeat: no-repeat;
}
div.errors h3 a {
	display: block;
	width: 16px;
	float: right;
	text-indent: -9999px;
	background-image: url("/images/close.png");
	background-position: left center;
	background-repeat: no-repeat;
}
div.errors h3 span {
	display: none;
}
div.errors div {
	padding: 3px;	
}
table.ecommerce tr.error th, #checkoutChoice label.error {
	color: #ff0000;
	font-weight: bold;
}
table.ecommerce tr.error td input, #checkoutChoice input.error {
	border: 2px #ff0000 solid;
	background-color: #ffcfc5;
}


/* Notices */
div.notice {
	border: 1px #00aa00 solid;
	background-color: #ddffdd;
	background-image: url("/images/tick.png");
	background-position: 4px 4px;
	background-repeat: no-repeat;
	padding-left: 20px;
	width: 280px;
	font-weight: bold;
}
.administration div.notice {
	background-image: none;	
}
div.notice h3, div.notice div.errorNote {
	display: none;	
}



/* Checkout choice page */
#checkoutChoice {
	margin: 0 auto;
	width: 660px;
}
#checkoutChoice div.box {
	background-color: #dff2ff;
	border: 1px #3671B5 solid;
	
}
#checkoutChoice h2 {
	margin:0;
	background-color: #3671B5;
	color: #ffffff;
	padding: 3px;
}
#checkoutChoice h3 {
	margin-top:1em;
}
#new {
	float: left;
	width: 290px;
	text-align: right;
	margin-left: 10px;
	margin-right: 10px;
}
#existing, #forgottenPassword {
	float: left;
	width: 290px;
	text-align: left;
	margin-left: 10px;	
	margin-right: 10px;
	margin-top: 0;
}
#forgottenPassword a.button {
	float: left;
	margin-left: 6px;
	margin-right: 6px;
}
#checkoutChoice h3 {
	text-align: left;
}
#checkoutChoice label {
	display: block;
	font-weight: bold;
	margin-top: 10px;
	color: #000000;
}
#checkoutChoice input {
	border: 1px #3671B5 solid;
	width: 160px;
	padding: 2px;
}

/* Security info */
p.securityInfo {
	display: none;
}
div.sslSeal {
	padding: 8px 0 8px 8px;
	float: right;	
}

/* Auth frame */
#authFrameContainer {
	position: relative;
	background-image: url("/images/ajaxLoader.gif");
	background-position: center 4em;
	background-repeat: no-repeat;
}
#authFrame {
	width: 100%;
	height: 800px;  /* was 500 */
	overflow: auto;
}
#3dForm {
	display: none;
}
.showWhen3d {
	display: none;
}

/* File downloads */
table.ecommerceSmall div.lastFile {
	margin-bottom: 1ex;
}

