/*
Theme Name: Elfie

WooCommerce styles override
*/
/**
 * WooCommerce color variables
 */
/**
 * Imports
 */
/**
 * Shop tables
 */
/**
 * Shop tables
 */
table.shop_table_responsive thead {
  display: none;
}
table.shop_table_responsive tbody th {
  display: none;
}
table.shop_table_responsive tr td {
  display: block;
  text-align: right;
  clear: both;
}
table.shop_table_responsive tr td:before {
  content: attr(data-title) ": ";
  float: left;
}
table.shop_table_responsive tr td.product-remove a {
  text-align: left;
}
table.shop_table_responsive tr td.product-remove:before {
  display: none;
}
table.shop_table_responsive tr td.actions:before, table.shop_table_responsive tr td.download-actions:before {
  display: none;
}
table.shop_table_responsive tr td.download-actions .button {
  display: block;
  text-align: center;
}

@media screen and (min-width: 48em) {
  table.shop_table_responsive thead {
    display: table-header-group;
  }
  table.shop_table_responsive tbody th {
    display: table-cell;
  }
  table.shop_table_responsive tr th, table.shop_table_responsive tr td {
    text-align: left;
  }
  table.shop_table_responsive tr td {
    display: table-cell;
  }
  table.shop_table_responsive tr td:before {
    display: none;
  }
}
/**
 * Products
 */
/**
 * Products
 */
.products {
  margin: 0;
  padding: 0;
}
.products ul.row {
  list-style: none;
  padding: 0;
}
.products .added_to_cart {
  margin-left: 15px;
}
.products li.product {
  list-style: none;
  position: relative;
  margin-bottom: 40px;
}
.products li.product .woocommerce-loop-product__title {
  font-size: 20px;
  font-size: 1.25rem;
  padding-left: 30px;
  padding-right: 30px;
}
.products li.product .price {
  padding-left: 30px;
  float: left;
}
.products li.product .star-rating {
  margin-left: 30px;
  margin-top: -5px;
  margin-bottom: 10px;
}
.products li.product img {
  display: block;
  width: 100%;
}
.products li.product .button {
  padding: 0 30px 0 0;
  background: transparent;
  float: right;
  min-height: auto;
  color: #000;
  text-decoration: underline;
  letter-spacing: 1px;
  text-transform: none;
  line-height: 1.72;
  font-size: 16px;
  font-size: 1rem;
}
.products li.product .button:hover {
  color: #fe7b7b;
}

.onsale {
  position: absolute;
  background: #000;
  color: #fff;
  right: 15px;
  padding: 10px;
  line-height: 1;
  font-size: 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.results-order {
  margin-bottom: 45px;
}
.results-order .woocommerce-result-count {
  float: left;
  margin: 10px 0 0;
}
.results-order .woocommerce-ordering {
  float: right;
}

.woocommerce-products-header__title {
  text-align: center;
  margin: 30px 0;
}

/**
 * Single product
 */
/**
 * Single Product
 */
.single-product .onsale {
  left: 15px;
  right: auto;
  z-index: 11;
}
.single-product .woocommerce-product-gallery__wrapper {
  margin: 0;
}
.single-product .related li {
  padding-left: 15px;
  padding-right: 15px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 33.333333%;
          flex: 0 0 33.333333%;
  max-width: 33.333333%;
}
.single-product .site-main > .product > * {
  margin-bottom: 45px;
}
.single-product .site-main > .product > *:last-child {
  margin-bottom: 0;
}
.single-product section > h2 {
  font-size: 16px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.single-product .entry-summary p {
  margin-bottom: 25px;
}
.single-product div.product {
  content: "";
  display: table;
  table-layout: fixed;
  position: relative;
}
.single-product div.product .quantity {
  display: inline-block;
}
.single-product div.product .quantity input[type="number"] {
  max-width: 80px;
}
.single-product div.product .product_meta {
  font-size: 14px;
  font-size: 0.875rem;
  color: #969696;
}
.single-product div.product .product_meta > span {
  display: block;
  margin-bottom: 10px;
}
.single-product div.product .product_meta > span:last-of-type {
  margin-bottom: 0;
}
.single-product div.product .woocommerce-variation-price,
.single-product div.product p.price {
  font-size: 22px;
  font-size: 1.375rem;
}
.single-product div.product .single_variation > * {
  margin-bottom: 15px;
}
.single-product div.product .cart {
  margin-bottom: 25px;
}
.single-product div.product .woocommerce-product-gallery {
  position: relative;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  position: absolute;
  top: 1em;
  right: 1em;
  display: block;
  z-index: 99;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
  content: "";
  display: table;
  table-layout: fixed;
  margin: 0 -5px;
  padding: 0;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
  list-style: none;
  cursor: pointer;
  float: left;
  padding: 5px;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
  opacity: .5;
  vertical-align: top;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
  opacity: 1;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
  opacity: 1;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
  width: 25%;
  margin-bottom: 0;
  line-height: 1;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
  margin-right: 0;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) {
  clear: both;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
  width: 25%;
  margin-bottom: 0;
  line-height: 1;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
  margin-right: 0;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) {
  clear: both;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
  width: 25%;
  margin-bottom: 0;
  line-height: 1;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
  margin-right: 0;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
  clear: both;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
  width: 25%;
  margin-bottom: 0;
  line-height: 1;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
  margin-right: 0;
}
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
  clear: both;
}

.stock:empty:before {
  display: none;
}
.stock.in-stock {
  color: #0f834d;
}
.stock.out-of-stock {
  color: #e2401c;
}

.woocommerce-product-attributes th {
  width: 20%;
}

.woocommerce-grouped-product-list-item__label a {
  color: #000;
  text-decoration: underline;
}

.reset_variations {
  margin-left: 15px;
  color: #969696;
  text-decoration: underline;
}

/**
 * Checkout
 */
.woocommerce-cart .content-area,
.woocommerce-checkout .content-area {
  max-width: 100%;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 100%;
          flex: 0 0 100%;
}

/**
 * Checkout
 */
@media screen and (min-width: 768px) {
  .col2-set .form-row-first {
    float: left;
    margin-right: 3.8%;
  }
  .col2-set .form-row-last {
    float: right;
    margin-right: 0;
  }
  .col2-set .form-row-first,
  .col2-set .form-row-last {
    width: 48.1%;
  }

  #customer_details .col-1,
  #customer_details .col-2 {
    max-width: 50%;
    float: left;
  }
  #customer_details input[type="text"],
  #customer_details .input-text {
    width: 100%;
  }

  #order_review_heading,
  #customer_details h3 {
    font-size: 16px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .woocommerce-form-coupon-toggle .woocommerce-info {
    display: block;
    background-color: #f2f2f2;
    clear: both;
    padding: 8px 25px;
  }
  .woocommerce-form-coupon-toggle .woocommerce-info a {
    margin-left: 15px;
    color: #000;
    text-decoration: underline;
    font-style: italic;
  }

  #customer_details {
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 45px;
    overflow: hidden;
  }

  .woocommerce-form-coupon {
    background: #f7f7f7;
    padding: 15px 25px;
  }
  .woocommerce-form-coupon .form-row {
    display: inline-block;
  }

  #ship-to-different-address-checkbox {
    min-height: auto;
    vertical-align: middle;
  }

  .payment_methods {
    padding: 0;
  }
  .payment_methods .woocommerce-info {
    padding: 8px 25px;
  }

  .woocommerce-shipping-methods {
    list-style: none;
    padding-left: 0;
  }

  .woocommerce-privacy-policy-text p:last-of-type {
    margin-bottom: 25px;
  }
}
/**
 * General WooCommerce components
 */
/**
 * Header cart
 */
.site-header-cart {
  position: relative;
  margin: 0;
  padding: 0;
  content: "";
  display: table;
  table-layout: fixed;
}
.site-header-cart .cart-contents {
  text-decoration: none;
}
.site-header-cart .widget_shopping_cart {
  display: none;
}
.site-header-cart .product_list_widget {
  margin: 0;
  padding: 0;
}

/**
 * Star rating
 */
.star-rating {
  overflow: hidden;
  position: relative;
  height: 1.618em;
  line-height: 1.618;
  font-size: 1em;
  width: 5.3em;
  font-family: 'star';
  font-weight: 400;
}
.star-rating:before {
  content: "\53\53\53\53\53";
  opacity: .25;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
}
.star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}
.star-rating span:before {
  content: "\53\53\53\53\53";
  top: 0;
  position: absolute;
  left: 0;
  color: #fe7b7b;
}

p.stars a {
  position: relative;
  height: 1em;
  width: 1em;
  text-indent: -999em;
  display: inline-block;
  text-decoration: none;
  margin-right: 1px;
  font-weight: 400;
}
p.stars a:before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  line-height: 1;
  font-family: "star";
  content: "\53";
  color: #404040;
  text-indent: 0;
  opacity: .25;
}
p.stars a:hover ~ a:before {
  content: "\53";
  color: #404040;
  opacity: .25;
}
p.stars:hover a:before {
  content: "\53";
  color: #fe7b7b;
  opacity: 1;
}
p.stars.selected a.active:before {
  content: "\53";
  color: #fe7b7b;
  opacity: 1;
}
p.stars.selected a.active ~ a:before {
  content: "\53";
  color: #404040;
  opacity: .25;
}
p.stars.selected a:not(.active):before {
  content: "\53";
  color: royalblue;
  opacity: 1;
}

/**
 * Tabs
 */
.woocommerce-tabs h2 {
  font-size: 16px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.woocommerce-tabs ul.tabs {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  border-bottom: 1px solid #dddddd;
  margin-left: 3px;
  margin-bottom: -3px;
}
.woocommerce-tabs ul.tabs li {
  display: inline-block;
  margin: 0;
  position: relative;
  background: #fafafa;
  border: 1px solid #ddd;
  margin: 0 -3px;
  margin-bottom: -1px;
}
.woocommerce-tabs ul.tabs li.active {
  background: #fff;
  border-bottom-color: #fff;
}
.woocommerce-tabs ul.tabs li a {
  padding: 15px 22px;
  display: block;
  color: #000;
}
.woocommerce-tabs ul.tabs li a:focus, .woocommerce-tabs ul.tabs li a:active {
  outline: 0;
}
.woocommerce-tabs .panel h2:first-of-type {
  margin-bottom: 1em;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
  text-align: right;
}
.woocommerce-password-strength.strong {
  color: #0f834d;
}
.woocommerce-password-strength.short {
  color: #e2401c;
}
.woocommerce-password-strength.bad {
  color: #e2401c;
}
.woocommerce-password-strength.good {
  color: #3D9CD2;
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
  -webkit-box-shadow: inset 2px 0 0 #0f834d;
          box-shadow: inset 2px 0 0 #0f834d;
}
.form-row.woocommerce-invalid input.input-text {
  -webkit-box-shadow: inset 2px 0 0 #e2401c;
          box-shadow: inset 2px 0 0 #e2401c;
}

.required {
  color: red;
}

/**
 * Notices
 */
.woocommerce-notices-wrapper {
  margin-bottom: 45px;
}
.woocommerce-notices-wrapper a:not(.button) {
  margin-right: 15px;
  color: #000;
  font-weight: 600;
  border-bottom: 2px solid;
}
.woocommerce-notices-wrapper .button.wc-forward {
  display: inline-block;
  vertical-align: middle;
  margin-right: 15px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  content: "";
  display: table;
  table-layout: fixed;
  background-color: #f2f2f2;
  clear: both;
  padding: 8px 25px;
  width: 100%;
}

.woocommerce-info,
p.no-comments {
  background-color: #f2f2f2;
}

.woocommerce-noreviews {
  background-color: transparent;
  padding: 0;
}

.woocommerce-error {
  background-color: #e2401c;
}

.demo_store {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  margin: 0;
  padding: 1em;
  background-color: #3D9CD2;
  z-index: 9999;
}

/* Price */
.woocommerce .price {
  color: #969696;
}
.woocommerce .price del {
  margin-right: 5px;
  opacity: 0.5;
}
.woocommerce .price ins {
  background: transparent;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
  text-align: center;
  margin-bottom: 30px;
}
.woocommerce-breadcrumb a {
  color: #969696;
}

@media screen and (min-width: 48em) {
  /**
   * Header cart
   */
  .site-header-cart .widget_shopping_cart {
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 999999;
    left: -999em;
    display: block;
    -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
            box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  }
  .site-header-cart:hover .widget_shopping_cart, .site-header-cart.focus .widget_shopping_cart {
    left: 0;
    display: block;
  }
}
/* Reviews */
.woocommerce-Reviews ol {
  padding-left: 0;
}
.woocommerce-Reviews li {
  padding-left: 0;
}
.woocommerce-Reviews .comment_container img {
  float: left;
  margin-right: 15px;
}
.woocommerce-Reviews .comment_container .woocommerce-review__published-date {
  color: #969696;
  font-size: 14px;
  font-size: 0.875rem;
  font-style: italic;
}

.woocommerce-product-rating {
  margin-bottom: 30px;
  margin-top: -10px;
}
.woocommerce-product-rating .star-rating,
.woocommerce-product-rating .woocommerce-review-link {
  display: inline-block;
  vertical-align: middle;
}
.woocommerce-product-rating .woocommerce-review-link {
  color: #969696;
  font-size: 14px;
  font-size: 0.875rem;
  font-style: italic;
  margin-left: 10px;
  margin-top: 2px;
}

/* Cart page */
.woocommerce-cart .product-thumbnail {
  text-align: center;
}
.woocommerce-cart .product-thumbnail img {
  max-width: 100px;
}
.woocommerce-cart .product-name a {
  color: #000;
  text-decoration: underline;
}
.woocommerce-cart .product-remove {
  font-size: 22px;
  font-size: 1.375rem;
  text-align: center;
  font-weight: 600;
}
.woocommerce-cart .product-remove a {
  background-color: #eee;
  color: #000;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  text-align: center !important;
  display: inline-block;
  border: 1px solid #ebebeb !important;
}
.woocommerce-cart .product-remove a:hover {
  background-color: #f94b4b;
  color: #fff;
}
.woocommerce-cart .woocommerce-cart-form .actions .coupon {
  float: left;
}
.woocommerce-cart .woocommerce-cart-form .actions .coupon label {
  display: none;
}
.woocommerce-cart .woocommerce-cart-form .actions .button {
  float: none;
  background-color: #eee;
  border: 1px solid #ebebeb;
  color: #000;
  float: right;
}
.woocommerce-cart .woocommerce-cart-form .actions .button:disabled:hover {
  cursor: not-allowed;
}
.woocommerce-cart .woocommerce-cart-form .actions .button:disabled {
  opacity: 0.5;
}
.woocommerce-cart .cart-collaterals h2 {
  font-size: 16px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.woocommerce-cart .cart-collaterals .cart_totals {
  float: right;
  width: 50%;
}
.woocommerce-cart .cart-collaterals .woocommerce-shipping-methods {
  list-style: none;
  padding: 0;
}
.woocommerce-cart .cart-collaterals .woocommerce-shipping-methods li {
  padding-left: 0;
}
.woocommerce-cart .cart-collaterals .shipping-calculator-button {
  color: #969696;
}
.woocommerce-cart .cart-collaterals .checkout-button {
  display: block;
  width: 100%;
  text-align: center;
}

/**
 * WooCommerce widgets
 */
/**
 * WooCommerce Price Filter
 */
.widget_price_filter .price_slider {
  margin-bottom: 1.5em;
}
.widget_price_filter .price_slider_amount {
  text-align: right;
  line-height: 2.4em;
}
.widget_price_filter .price_slider_amount .button {
  float: left;
}
.widget_price_filter .ui-slider {
  position: relative;
  text-align: left;
}
.widget_price_filter .ui-slider .ui-slider-handle {
  position: absolute;
  z-index: 2;
  width: 1em;
  height: 1em;
  cursor: ew-resize;
  outline: none;
  background: royalblue;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin-top: -.25em;
  opacity: 1;
}
.widget_price_filter .ui-slider .ui-slider-handle:last-child {
  margin-left: -1em;
}
.widget_price_filter .ui-slider .ui-slider-handle:hover, .widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
  -webkit-box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}
.widget_price_filter .ui-slider .ui-slider-range {
  position: absolute;
  z-index: 1;
  display: block;
  border: 0;
  background: royalblue;
}
.widget_price_filter .price_slider_wrapper .ui-widget-content {
  background: rgba(0, 0, 0, 0.1);
}
.widget_price_filter .ui-slider-horizontal {
  height: .5em;
}
.widget_price_filter .ui-slider-horizontal .ui-slider-range {
  height: 100%;
}
