/*WooCommerce CSS Overrides*/

/*Temp. "maintenance mode" modal for store -- remove on launch of new cart system*/
#store-maintenance-modal {
  z-index: 1011;
}

/*CA Prop. 65 warning modal (aka. bpa warning)*/
#prop65-warning-modal {
  z-index: 1011;
}
.reveal-modal-bg {
  z-index: 98
}

/*Header cart button*/
.header-cart-btn {
  float: right;
  margin-left: 18px;
  position: relative;
}
.header-cart-btn a {
  color: #4f4f4f;
  font-size: 24px;
  text-decoration: none;
}
.header-cart-btn a:hover {
  color: #4f4f4f;
  text-decoration: none;
}
.header-cart-btn .cart-item-count {
  background-color: #FB636A;
  color: #FFF;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-size: 10px;
  text-align: center;
  line-height: normal;
  position: absolute;
  top: 5px;
  right: -11px;
}

/*Slide out cart*/
#slidecart {
  display: block;
  z-index: 9999999;
  background-color: #FFF;
  position: fixed;
  top: 0;
  bottom: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  -webkit-transition: right .2s linear;
  -moz-transition: right .2s linear;
  -o-transition: right .2s linear;
  -ms-transition: right .2s linear;
  transition: right .2s linear;
  overflow-y: auto;
}
body.slidecart-open #slidecart {
  right: 0px;
  box-shadow: -3px 0px 15px rgba(0,0,0,0.2);
}
#slidecart-overlay {
  display: none;
  z-index: 9999988;
  opacity: 0.1;
  background-color: rgba(255,255,255,0.7);
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  -webkit-transition: visibility 0 linear 0.4s,opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -moz-transition: visibility 0 linear 0.4s,opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: visibility 0 linear 0.4s,opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
}
body.slidecart-open #slidecart-overlay {
  display: block;
  opacity: 1;
  visibility: visible;
}
.slidecart-close {
  position: absolute;
  top: 5px;
  left: 5px;
  cursor: pointer;
}
.slidecart-close span {
  color: #4f4f4f;
  font-size: 30px;
}
.slidecart-inner {
  padding: 30px 20px;
}
img.loading-animation {
  display: none;
  width: 15px;
  height: 15px;
  position: relative;
  left: 10px;
}
.slidecart-ajax .woocommerce .cart-collaterals {
  margin-top: 40px;
}
.slidecart-ajax .woocommerce table.shop_table {
  margin: 0;
  border: none;
}
.slidecart-ajax .woocommerce .cart_totals {
  float: none;
  width: 100%;
}
.slidecart-ajax .woocommerce .cart_totals h2 {
  display: none;
}
.slidecart-ajax .woocommerce .cart_totals tr.cart-subtotal {
  background: none;
  font-size: 20px;
}
.slidecart-ajax .woocommerce .cart_totals tr.cart-subtotal th {
  border-top: 1px solid rgba(0,0,0,.1) !important;
}
.slidecart-ajax .woocommerce .cart_totals tr.cart-subtotal td {
  text-align: right;
  font-weight: 700;
  border-top: 1px solid rgba(0,0,0,.1) !important;
}
.slidecart-ajax .woocommerce .cart_totals tr.shipping {
  display: none;
}
.slidecart-ajax .woocommerce .cart_totals tr.tax-rate {
  display: none;
}
.slidecart-ajax .woocommerce .cart_totals tr.order-total {
  display: none;
}
.slidecart-ajax .woocommerce .cart_totals tr.order-total td {
  text-align: right;
}
.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
  background-color: #FB636A;
}
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
  background-color: #E34650;
}
.slidecart-ajax .woocommerce .checkout-button {
  width: 100%;
  margin-top: 5px;
  padding: 18px !important;
  font-size: 18px !important;
}
.slidecart-ajax .woocommerce td.product-quantity div.quantity p, .slidecart-ajax .woocommerce td.product-quantity div.quantity span {
  display: none;
}
.woocommerce-cart table.cart .product-thumbnail {
  min-width: 50px;
}
.slidecart-ajax .woocommerce .product-remove {
  display: none;
}
.slidecart-ajax .woocommerce .product-subtotal {
  display: none;
}
/*Hide login button from slide out cart*/
.slidecart-ajax .woocommerce:nth-child(2) {
  display: none;
}

/*Checkout Page*/
body.woocommerce-checkout div.woocommerce-info, body.woocommerce-checkout p.create-account {
  display: none;
}
.woocommerce-checkout #payment {
  background: none;
}
.woocommerce-checkout #payment ul.payment_methods li img {
  margin: -2px 0 2px 0;
}
h3#order_review_heading {
  margin-top: 20px;
}
.woocommerce .method, .woocommerce .vessel {
  background: none;
}

/*For some reason some Woo product thumbnails are set in HTML to 1x1 pixels*/
/*This is a simple CSS fix to make them the required 150px x auto (w/h)*/
.woocommerce #content table.cart img, .woocommerce table.cart img, .woocommerce-page #content table.cart img, .woocommerce-page table.cart img {
  width: 50px;
  height: auto;
  max-width: 50px;
}

/*Remove standard WP sidebar on cart and checkout pages*/
body.woocommerce-checkout div#sidebar, body.woocommerce-cart div#sidebar {
  display: none;
}
/*Make "main-column" 100% now that sidebar is missing*/
body.woocommerce-checkout div.main-column, body.woocommerce-cart div.main-column {
  width: 100%;
}

/*Prod. custom attrs*/
span.prod-custom-attrs {
  display: inline-block;
  margin-top: 5px;
}
.woocommerce td.product-name dl.variation {
  margin: 2px 0 0 0;
}
.woocommerce td.product-name dl.variation dt {
  padding: 0;
}
.woocommerce td.product-name dl.variation dd {
  padding: 0;
  margin: 0;
}
.slidecart-ajax .woocommerce td.product-name dl.variation dd {
  margin: 3px 0 0 0;
}
.slidecart-ajax .woocommerce td.product-name dl.variation dd p {
  line-height: 1.125em;
}
.slidecart-ajax .woocommerce td.product-name dl.variation dd p:before {
  content: 'Size: ';
  font-weight: bold;
}
.slidecart-ajax .woocommerce td.product-name dl.variation dt {
  display: none;
}


/*Woo Mobile Tweaks*/
/*Foundation "small" breakpoint*/
@media (max-width: 639px) {
  #slidecart {
    width: 100%;
    right: -100%;
  }
  body.slidecart-open #slidecart {
    right: 0;
    box-shadow: none;
  }
  .header-cart-btn {
    left: -20px;
  }
}
/*Foundation "medium" breakpoint*/
@media (min-width: 640px) and (max-width: 1023px) {
  .header-cart-btn {
    left: -15px;
    top: 8px;
  }
}