/*
## layout.css - Contains style for page layout
*/

input.button {
  padding: 4px;
}

#productgroupImage {
  margin-bottom: 20px;
}

/******************
## COMMON STYLES ##
******************/
#content h1.title,
#content .article h1 {
  color: #993366;
}

#content h2.title {
  padding: 5px 10px;
}

h4.boxTitle {
  padding: 0 20px;
  margin-bottom: 0;
  font-size: 125%;
  font-weight: bold;
}

#content .text,#content content {
  font-size: 125%;
}

div.message {
  padding: 15px 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  background-color: #ffffcb;
}

#content div.message p.error,
#content div.message p.feedback {
  margin-bottom: 0;
}

div.message .error {
  color: #f00;
}

/*******************
## PRODUCT STYLES ##
*******************/
/**
## start common webshop style ##
**/
/** TODO: Move this to COMMON STYLE, as it affects the whole website **/
#content .infoBox {
  border: 1px solid #ccc;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 20px;
}

#content .infoBox h2.title {
  margin: -15px -11px 10px;
}

/** TODO: this in not longer a override, make this work properly **/
#content form div.submit {
  float: right;
}

/** TODO: Change this to #checkout label and put in checkout common styles? **/
#paymentMethod label,
#deliverMethod label {
  margin-right: 10px;
}
/**
## end common webshop style ##
**/

/**
## start common product style ##
**/
#content .product {
  border-bottom: 1px dotted #a5a5a5;
}

#content .product.first {
  border-top: 1px dotted #a5a5a5;
}

#content .product .image {
  float: left;
  margin-right: 15px;
  border-style: solid;
  border-color: #eee;
}

#content .product .productno {
  color: #999;
}

#content .product .price {
  font-size: 150%;
}

#content .product .oldPrice {
  text-decoration: line-through;
}

#content .product form {
  width: auto;
}

#content .product form .amount,
#basketList .amount {
  width: 28px;
  margin-right: 10px;
  padding: 5px 0;
  text-align: center;
}
/**
## end common product style ##
**/

/**
## start product list style ##
**/
#content .product.list {
  position: relative;
  padding: 15px 0;
}

#content .product.list .image {
  border-width: 1px;
}

#content .product.list .image:hover {
  border-color: #ccc;
}

#content .product.list h2 {
/*  position: absolute;
  top: 0.2em;
  left: 16.5%; */
  margin-bottom: 0;
}

#content .product.list p {
  margin-bottom: 0;
}

#content .product.list .productno {
  display: none;
}

#content .product.list .shortDescription {
  width: 65%;
  padding-top: 5px;
  margin-top: 10px;
}

#content .product.list .stock {
  font-size: 83%;
  color: #999;
}

#content .product.list .price {
  position: absolute;
  top: 0.8em;
  left: 66%;
}

#content .product.list .oldPrice {
  position: absolute;
  top: 3em;
  left: 66%;
  text-decoration: line-through;
}

#content .product.list form {
  position: absolute;
  top: 0.8em;
  left: 83%;
  margin-bottom: 0;
}
/**
## end product list style ##
**/

/**
## start product category list style ##
**/
.productCategory #content .product.list {
  border-top: 1px dotted #a5a5a5;
  border-bottom: 0 none;
  position: static
}

.productCategory #content .product.list.odd {
  float: left;
  width: 50%;
}

.productCategory #content .product.list.even {
  float: right;
  width: 50%;
}

.productCategory #content .product.list .image {
  float: right;
  margin-bottom: 0.8em;
}
.productCategory #content .product.list h2 {
  position: static;
}

.productCategory #content .product.list .shortDescription {
  padding-top: 0;
  width: auto;
}

.productCategory #content .product.list .price {
  position: static;
  clear: right;
  float: left;
  width: 70%;
}

.productCategory #content .product.list .oldPrice {
  position: static;
  margin-top: 10px;
}

.productCategory #content .product.list form {
  position: static;
  float: right;
  width: 30%
}
/**
## end product category list style ##
**/

/**
## start product detail style ##
**/
#content .product.detailed {
  border: 0 none;
}

#content .product.detailed h1 {
  margin-left: -18px;
  margin-right: -18px;
}

#content .product.detailed .gallery {
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
}

#content .product.detailed .image {
  border-width: 3px;
  float: none;
}

#content .product.detailed .item {
  float: left;
  margin-top: 5px;
  margin-right: 5px;
}

#content .product.detailed .variants {
  border-collapse: collapse;
  margin-bottom: 10px;
}

#content table.variants label.variant {
  margin-right: 10px;
}

#content table.variants select.variant {
  width: auto;
  margin-bottom: 0;
  margin-right: 15px;
}

#content .product.detailed .shortDescription,
#content .product.detailed .description {
  clear: left;
}
/**
## end product detail style ##
**/

/**
## start shopping basket style ##
**/
#basketList,
#checkoutActions {
  width: 100%;
}
#basketList th {
  text-align: left;
  text-transform: capitalize;
}

#basketList th.headRemove {
  width: 8%;
}

#basketList th.headImage {
  width: 9%;
}

#basketList th.headName {
  width: 57%;
}

#basketList th.headAmount {
  width: 10%;
}

#basketList th.headPrice {
  width: 16%;
}

#basketList td {
  padding: 10px 0;
  border-top: 1px dashed #f0f0f0;
}

#basketList td.productName {
  vertical-align: top;
}

#basketList .removeItem,
#basketList .amount {
  display: block;
  margin: 0 auto;
}

#basketList h2 {
  margin-bottom: 0;
}

#basketList table.variants td {
  border: 0 none;
  padding: 0;
}

#basketList dl {
  text-align: right;
}

#basketList dl dt {
  color: #999;
}

#basketList dl dd {
  font-size: 150%;
}

#basketList .basketActions td,
#checkoutActions td {
  padding: 10px;
}

#basketList .basketActions td {
  background-color: #eee;
}

#checkoutActions td.checkout {
  text-align: right;
}
/**
## end shopping basket style ##
**/

/**
## start signin style ##
**/
#existingCustomer .infoBox,
#newCustomer .infoBox {
  height: 13.5em;
}
#existingCustomer {
  float: left;
  width: 49%;
  margin-right: 2%;
}

#content #existingCustomer form fieldset {
  border: 0 none;
  padding: 0;
}

#existingCustomer form label {
  float: left;
  width: 37%;
  margin: 0 0 0.8em 0;
}

#existingCustomer form label.error {
  float: none;
  width: auto;
  margin: 0;
  display: block;
  font-size: 92%;
}

#existingCustomer form input.username,
#existingCustomer form input.email,
#existingCustomer form input.password {
  width: 60%;
  margin: 0 0 0.8em 0;
}

#existingCustomer form input.submit {
  float: right;
  margin-top: 10px;
}

#existingCustomer .getPassword {
  float: right;
}

#newCustomer {
  float: right;
  width: 49%;
}

#newCustomer form input.submit {
  float: right;
  margin-top: 10px;
}
/**
## end signin style ##
**/

/**
## start register style ##
**/
#content #userForm fieldset {
  border: 0 none;
  padding: 0;
}

#content form.twoColumn label.block,
#content form.twoColumn label .block {
  float: left;
  width: 30%;
  margin-right: 0;
}

#content form.twoColumn input.default {
  width: 40%;
  margin-right: 0;
  margin-bottom: 8px;
}

#content form.twoColumn input.checkbox {
  margin-right: 15em;
}

#messageBubble {
  position: absolute;
  width: 155px;
  padding-left: 5px;
  background: url(tipArrow.gif) 0 5px no-repeat;
  font-size: 92%;
}

#messageBubble .content {
  border: 1px solid #ccc;
  padding: 5px;
  background-color: #ffffcb;
}

/**
## end register style ##
**/

/**
## start checkout style ##
**/
#content #checkout fieldset {
  border: 0 none;
  padding: 0;
}

#deliverTo ul {
  margin-bottom: 0;
  padding-left: 0;
}

#deliverTo ul li {
  list-style-type: none;
}

#deliverTo .deliveryAddress {
  float: left;
  width: 50%;
}

#deliverTo .paymentAddress {
  float: right;
  width: 50%;
}

#orderSummary {
  float: right;
  width: 26%;
}

#orderSummary dl {
  padding: 0 0.4em;
  line-height: 1.6em;
}

#orderSummary dt {
  float: left;
  width: 50%;
}

#orderSummary dd {
  float: right;
  width: 50%;
  text-align: right;
}

#orderSummary dd.total,
#orderSummary dt.total {
  font-weight: bold;
}

#paymentMethod,
#deliverMethod {
  float: left;
  width: 65%;
}

#payInfoBox,
#deliverInfoBox {
  padding: 4px;
  margin-top: 1em;
  border: 1px dashed #f0f0f0;
}

#basketSummary {
  clear: left;
}

#content #completeButton {
  background-color: #3d9b35;
  height: 45px;
  border: 2px solid #ccc;
  color: #fff;
  padding: 0 6px;
  cursor: pointer;
}
/**
## end checkout style ##
**/

/**
## start receipt style ##
**/
#webshopOrder h1 .first {
  float: left;
  width: 60%;
}

#webshopOrder h1 .last {
  float: right;
  width: 40%;
  text-align: right;
}

#webshopOrder .receipt {
  width: 100%;
  border-collapse: collapse;
}

#webshopOrder .receipt .separator {
  border-bottom: 1px solid #ebeaef;
}

#webshopOrder .receipt .odd {
  width: 50%;
}

#webshopOrder .receipt .even {
  width: 50%;
}

#webshopOrder .payer,
#webshopOrder .shipper,
#webshopOrder .orderDetails,
#webshopOrder .receiptSummary {
  margin-bottom: 1em;
}

#webshopOrder .orderDetails,
#webshopOrder .receiptSummary {
  margin-top: 1em;
}

#webshopOrder #basketList {
  margin-top: 2em;
}

#webshopOrder #basketList td.position {
  padding-right: 10px;
  padding-left: 10px;
}

#webshopOrder #basketList td.productId {
  text-align: center;
}

#webshopOrder #basketList td.productAmount {
  text-align: center;
}

#webshopOrder #basketList .last td {
  border-bottom: 1px dashed #f0f0f0;
}

#webshopOrder #basketList .summaryLines td {
  border: 0 none;
  padding: 2px 0;
}

#webshopOrder #basketList .summaryLines td.total {
  border-top: 1px solid #ebeaef;
  border-bottom: 1px double #ebeaef;
  font-weight: bold;
}

#webshopOrder #basketList .priceCell {
  text-align: right;
}

#webshopOrder .receiptArticle {
  margin-top: 60px;
  padding-top: 5px;
  border-top: 1px solid #ebeaef;
}

#content #orderTools {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#orderTools li {
  float: left;
}

#orderTools li a {
  margin-left: 20px;
}

#orderTools li.print {
  background: url(print.gif) left top no-repeat;
}

/**
## end receipt style ##
**/

/**
## start account style ##
**/
#userInfo table,
#billingInfo table,
#deliveryInfo table {
  border-collapse: collapse;
  width: 100%;
}

#userInfo table td.label,
#billingInfo table td.label,
#deliveryInfo table td.label {
  width: 25%;
}

#userInfo table td,
#billingInfo table td,
#deliveryInfo table td {
  padding: 5px;
}
/**
## end account style ##
**/

/*************************
## SUMMARY|ARTICLE LIST ##
*************************/

#content .article h1 {
  margin-left: -18px;
  margin-right: -18px;
}

#content .summary {
  margin-bottom: 10px;
  border-bottom: 1px dotted #a5a5a5;
}

#content .summary h1{
  font-size: 150%;
  font-weight: normal;
}

/* reset font size of .text in summary view */
#content .summary .text {
  font-size: 100%;
}

#content .summary img {
  float: left;
  margin: 0 10px 10px 0;
}

#content .article {
  padding: 0 18px;
}

/*****************
## ACCOUNT EDIT ##
*****************/

#shipToInfo {
  margin-top: 10px;
  clear: left;
}


/*******************
## WEBSHOP FOOTER ##
*******************/

#webshopFooter {
  padding: 18px;
}

#webshopFooter .footerIcons {
  float: right;
}

#webshopFooter .footerIcons a {
  border: 1px solid #6a6464;
  margin-right: 2px;
  float: right;
}
