/*
## webshop.css - Contains style for product/webshop module
*/

/** TODO: Make this a common style (layout.css) */
#descripion .text {
  font-size: 125%;
}

/**
## start common webshop style ##
**/
#content .infoBox {
  border: 2px solid #ebeaef;
  padding: 10px;
  margin-bottom: 15px;
}

#content .infoBox h1.title,
#content .infoBox h2.title {
  border-bottom: 1px solid #ebeaef;
  margin: -10px;
  padding: 0 10px;
  margin-bottom: 12px;
}

#content #checkout fieldset {
  border: 0 none;
  padding: 0;
}

#content form div.submit {
  float: right;
}

#webshopFooter .element {
  padding: 0.5em 0;
}

#webshopFooter a {
  float: right;
}

#webshopFooter img {
  display: inline;
}

/** TODO: Change this to #checkout label and put in checkout common styles? **/
#paymentMethod label,
#deliverMethod label {
  margin-right: 15px;
}
/**
## end common webshop style ##
**/

/**
## start common product style ##
**/
#content .product {
  border-bottom: 1px solid #eee;
}

#content .product.first {
  border-top: 1px solid #eee;
}

/*
#content .product .image {
  float: left;
  margin-right: 15px;
  border-style: solid;
  border-color: #eee;
}
*/

#content .product .productno {
  color: #999;
}

#content .product .price,
#basketList .price {
  font-size: 150%;
  color: #f67a06;
}

#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: 5px 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%;
}
*/

#content .product.list .productno {
  display: none;
}

/*
#content .product.list .shortDescription {
  width: 65%;
  padding-top: 25px;
}
*/

#content .product.list .price {
  position: absolute;
  top: 0.2em;
  left: 68%;
}

#content .product.list form {
  position: absolute;
  top: 0.2em;
  left: 87%;
  margin-bottom: 0;
}
/**
## end product list style ##
**/

/**
## start product category list style ##
**/
.productCategory #content .product.list {
  border-top: 1px solid #eee;
  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 form {
  position: static;
  float: right;
  width: 30%
}
/**
## end product category list style ##
**/


/**
## start product detail style ##
**/
/*
#content .product.detailed .image {
  border-width: 3px;
  margin-bottom: 15px;
}
*/
#content .product.detailed .price {
  margin-bottom: 12px;
}

#content .product.detailed .variants {
  border-collapse: collapse;
}

#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 .smallPrice {
  color: #bbb;
}

#basketList .basketActions td,
#checkoutActions td {
  padding: 10px;
}

#basketList .basketActions td {
  background-color: #eee;
}

#basketList .basketActions td.profiled {
  font-size: 150%;
}

#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%;
}

#existingCustomer form fieldset {
  border: 0 none;
  padding: 0;
}

#existingCustomer form label {
  float: left;
  width: 30%;
  margin: 0 0 0.8em 0;
}

#existingCustomer form label.error {
  float: none;
  width: auto;
  margin: 0;
  display: block;
}

#existingCustomer form input.username,
#existingCustomer form input.password {
  width: 66%;
  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 #register fieldset {
  border: 0 none;
  padding: 0;
}

#content form.twoColumn label.block,
#content form.twoColumn label .block {
  float: left;
  width: 30%;
}

#content form.twoColumn input.default {
  width: 40%;
  margin-right: 0;
  margin-bottom: 8px;
}

#content form.twoColumn input.checkbox {
  margin-right: 15em;
}

/**
## end register style ##
**/

/**
## start checkout style ##
**/
#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.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%;
}

#paymentInfo,
#deliveryInfo {
  padding: 4px;
  margin-top: 1em;
  border: 1px dashed #f0f0f0;
}

#basketSummary {
  clear: left;
}
/**
## end checkout style ##
**/

/**
## start receipt style ##
**/
#webshopOrder h1 .first {
  float: left;
  width: 50%;
}

#webshopOrder h1 .last {
  float: right;
  width: 50%;
  text-align: right;
}

#webshopOrder .receipt {
  width: 100%;
  border-collapse: collapse;
}

#webshopOrder .receipt .separator {
  border-bottom: 1px solid #ebeaef;
}

#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;
}
/**
## end receipt style ##
**/
