/*
## webshop.css - Contains style for product/webshop module
*/

/**
## start framework overrides, not common styles. delete this when implementing a site ##
**/
#shoppingCart {
  float: right;
}

#rightColumn #shoppingCart {
  float: none;
}

/**
## end framework overrides, not commmin styles. delete this when implementing a site ##
**/

/** TODO: Make this a common style (layout.css) */
#description {
  padding: 20px 0;
}

.productDesc {
  line-height: 1.5em;
}

#description .text {
  font-size: 125%;
}

#rightColumn #shoppingCart .total {
  text-transform: capitalize;
}

/**
## start common product style ##
**/
#content .product {
  border-bottom: 1px solid #eee;
}

#content .product.first {
  border-top: 1px solid #eee;
  border-bottom: none;
}

#content .product .image {
  border-style: solid;
  border-color: #eee;
}

#content .product .productno {
  color: #999;
}

#content .product .price,
#basketList .price {
  font-size: 150%;
  color: #1F6DBD;
}

#content .product form {
  width: auto;
}

#content .product form .amount,
#basketList .amount {
  float: left;
  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 .productImage {
  float: left;
  display: inline;
}

#content .product.list h2 {
  padding-left: 110px;
}

#content .product.list .description {
  padding-left: 110px;
}

#content .product.list .productno {
  display: none;
}

#content .product.list .shortDescription {
  width: 65%;
  padding-top: 25px;
}

#content .detailed {
  padding: 20px 0;
  border-top: none !important;
}

#content .detailed .description {
  font-size: 133%;
  line-height: 1.3em;
}

#content .product.list .price {
  float: right;
  padding-right: 20px;
  display: inline;
}

#content .product.list form {
  float: right;
  white-space: nowrap;
}
/**
## end product list style ##
**/

/**
## start product detail style ##
**/
#content .product.detailed .image {
  border-width: 3px;
  margin: 0 15px 15px 0;
  float: left;
}

#content .product.detailed .price {
  margin-bottom: 12px;
}

#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 .removeItem,
#basketList .amount {
  display: block;
  margin: 0 auto;
}

#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 {
  height: 13.5em;
  float: left;
  width: 48%;
  margin-right: 2%;
}

#forgotPasswordContainer {
  clear: both;
  padding-top: 10px;
}

#existingCustomer form fieldset {
  border: 0 none;
  padding: 0;
}

#existingCustomer form label,
#forgotPasswordForm label {
  margin: 0 0 0.8em 0;
  clear: both;
}

#existingCustomer form label span,
#forgotPasswordForm label span {
  width: 100px;
  float: left;
  text-transform: capitalize;
}

#forgotPasswordForm label span {
  text-transform: none!important;
}

#existingCustomer form input.username,
#existingCustomer form input.password,
#forgotPasswordForm input#email {
  width: 150px;
}

#existingCustomer form input.submit {
  float: right;
  margin-top: 10px;
}

#existingCustomer .getPassword {
  float: right;
}

#newCustomer {
  height: 13.5em;
  float: right;
  width: 49%;
}

#newCustomer form input.submit {
  float: right;
  margin-top: 10px;
}
/**
## end signin style ##
**/

/**
## start checkout style ##
**/
#content #checkout fieldset,
#content #register fieldset {
  border: 0;
  padding: 0;
}

#content #register #userInfo {
  padding-bottom: 20px;
}

#content #register label.button {
  width: 85px;
}

#deliverTo {
  margin-bottom: 20px;
}

#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%;
  margin-bottom: 20px;
}

#paymentMethod label ,
#deliverMethod label {
  margin-right: 10px;
}

#paymentInfo,
#deliveryInfo {
  padding: 4px;
  margin-top: 1em;
  border: 1px dashed #f0f0f0;
}

#basketSummary {
  clear: both;
  margin-bottom: 20px;
}
/**
## 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;
  padding-bottom: 10px;
}

#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 th.headName {
  width: 60%;
}

#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;
}

.webshopOrderThankyou {
  margin-top: 30px;
}

#rightColumn #cardBanners {
  clear: both;
  padding: 0;
  list-style: none;
}

#rightColumn #cardBanners a {
  display: block;
}

#rightColumn #cardBanners img {
  margin: 0 auto;
}

#rightColumn #cardBanners li {
  text-align: center;
  padding: 5px 0;
}

/**
## end receipt style ##
**/
