/*!
Theme Name:   Enersys
Theme URI:    	https://github.com/stuartduff/storefront-child-theme
Author:       	Stuart Duff
Author URI:     http://stuartduff.com
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	1.0.4
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
*/
/*
 * Add your own custom css below this text.
 */

 .customer-search__results {
  position: absolute;
  top: 44px;
  left: auto;
  margin: 0;
  list-style: none;
  width: 100%;
  z-index: 9;
  right: 1px;
  width: 280px;
  box-shadow: 0px 5px 12px #0000000f;
  max-height: 1px;
  transform: scaleY(0);
  /* transition: transform 300ms linear; */
  transform-origin: top center;
}

.customer-search__results.is-active {
  max-height: unset;
  transform: scaleY(1);
  top: 100%;
  width: 100%;
  left: 0;
}

.customer-search {
  position: relative;
  margin-top: 20px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.customer-search__result {
  background: #f2f2f2;
  color: #333333;
  padding: 1em;
  /* outline: 1px solid #383838; */
  cursor: pointer;
  transition: all 300ms ease;
  text-align: left;
  padding: 5px 10px;
  font-size: 14px;
  border-bottom: 1px solid #00000033;
}

.customer-search__result:hover {
  background: #cc1818;
  color: white;
}

.customer-search input {
  width: 100%;
  background-color: #f2f2f2 !important;
}

.quoting-tool__step {
  opacity: 0;
  visibility: hidden;
  /* transition: opacity, transform 300ms ease; */
  height: auto;
  z-index: 0;
  transform: scale(0);
  max-height: 1px;
  transform-origin: top;
}

.quoting-tool__step.is-active {
  opacity: 1;
  visibility: visible;
  max-height: unset;
  z-index: 1;
  transform: scale(1);
}

.quoting-tool__step table.dataTable.no-footer {
  visibility: hidden !important;
}

.quoting-tool__step.is-active table.dataTable.no-footer {
  visibility: visible !important;
}

.quoting-tool-field--hidden {
  display: none;
}

body.page-id-106 #content {
  overflow: hidden;
}

/*progressbar*/
#progressbar {
  margin: 30px 0;
  overflow: hidden;
  /*CSS counters to number the steps*/
  counter-reset: step;
}
#progressbar li {
  list-style-type: none;
  color: #000;
  text-transform: uppercase;
  font-size: 9px;
  width: 33.33%;
  float: left;
  position: relative;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
}
#progressbar li:before {
  content: counter(step);
  counter-increment: step;
  width: 40px;
  line-height: 40px;
  display: block;
  font-size: 10px;
  color: #333;
  background: white;
  border-radius: 100%;
  margin: 0 auto 15px auto;
  border: 1px solid #333;
  font-size: 16px;
}
/*progressbar connectors*/
#progressbar li:after {
  content: '';
  width: 100%;
  height: 2px;
  background: #333;
  position: absolute;
  left: -50%;
  top: 19px;
  z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
  /*connector not needed before the first step*/
  content: none;
}
/*marking is-active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.is-active:before,
#progressbar li.is-active:after {
  background: red;
  color: white;
}

.quoting-tool__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  margin: 0;
}

div#quotingTool {
    position: relative;
    padding-bottom: 100px;
}

div#quotingTool .woocommerce-notices-wrapper {
  display: none !important;
}

.quoting-tool__footer .action-button {
  margin-right: 15px;
}

.quoting-tool__footer input.submit.action-button {
  background-color: #2c2d33;
  border-color: #2c2d33;
  color: #ffffff;
}

.quoting-tool__footer input.submit.action-button:hover {
  background-color: #333333;
  border-color: #333333;
}

body.page-id-106 #payment .place-order {
  display: none;
}

#site-header-cart,
header .site-search {
  display: none;
}

footer .site-info {
  display: none;
}

.storefront-primary-navigation .col-full {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.woocommerce-active .site-header .site-branding {
  width: auto;
  margin: 0 100px 0 0;
  float: none;
}

.site-header .site-branding img {
  width: 120px;
  padding: 0px;
  max-width: none;
  height: 100px;
}

.site-branding {
  display: none !important;
}

.storefront-primary-navigation .site-branding {
  display: block !important;
}

#quotingTool
  .wc-product-table
  .cart
  .single_add_to_cart_button
  + a.added_to_cart {
  display: none !important;
}

.selected-customer {
  width: 100%;
  display: block;
  margin-top: 35px;
  text-align: left;
  border: 1px solid #ccc;
  padding: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 300ms ease;
  min-height: 282px;
}

.selected-customer .step__title {
    background: #f2f2f2;
    font-size: 16px;
    padding: 10px;
    max-width: 100%;
    text-align: center;
}

.selected-customer p {
    margin: 12px 10px;
}

.selected-customer.is-active {
  visibility: visible;
  opacity: 1;
}

body.page #wpadminbar {
  display: none;
}

body.page header#masthead {
  display: none;
}

body.page .storefront-breadcrumb {
  display: none;
}

body.page footer#colophon {
  display: none;
}

a.post-edit-link {
  display: none;
}

#adminHeader {
  display: none;
}

.quoting-tool__step.step--1 {
  max-width: 50%;
  margin: 50px auto 0;
  text-align: center;
}

.quoting-tool__step.step--1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    flex-wrap: wrap;
    align-items: center;
}

.quoting-tool__step.step--1 h2.step__title {
    width: 100%;
}

th.col-buy.col-add-to-cart.sorting_disabled {
  color: #f8f8f8;
}

form[name='checkout'] #customer_details .col-1 {
  display: none;
}

form.checkout.woocommerce-checkout {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

div#wc_checkout_add_ons {
    margin: 30px 0 0;
    order: 5;
}

form.checkout.woocommerce-checkout
  ul.wc_payment_methods.payment_methods.methods {
  display: none;
}

form.checkout.woocommerce-checkout .form-row.place-order {
  margin-top: 0 !important;
}

form.checkout.woocommerce-checkout
  .form-row.place-order
  .woocommerce-terms-and-conditions-wrapper {
  display: none;
}

h2.step__title {
  display: none;
  text-align: center;
  font-size: 28px;
  margin: 5px 0 30px !important;
}

h2.step__title.is-active {
  display: block;
}

.step--1 h2.step__title {
  display: none !important;
}

form.checkout.woocommerce-checkout h3#order_review_heading {
  display: none;
}

table.shop_table.woocommerce-checkout-review-order-table {
  margin-top: 30px;
  margin-bottom: 0 !important;
}

div#field_2_3 {
  display: none;
}

.wc-product-table-controls .wc-product-table-select-filters .select2-container,
.wc-product-table-controls .wc-product-table-select-filters select {
  width: 200px !important;
}

span.discount-percentage {
  color: red;
  font-size: 14px;
  margin-left: 10px;
}

.wc-product-table-select-filters .wc-product-table-reset {
  display: none;
}

.isoosi-product-table-reset {
  margin-left: 10px;
}

.isoosi-product-table-reset,
.isoosi-product-table-reset:hover {
  color: #c60c30;
  background: transparent;
  font-weight: 400;
  padding: 0;
}

.isoosi-product-table-reset::before {
  font-family: icomoon !important;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  background: 0 0;
  vertical-align: baseline !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '';
  font-size: 0.85em;
  margin-right: 6px;
  text-decoration: none;
  color: #c60c30;
}

input.isoosi_custom_price {
  height: 32px;
  width: 64px !important;
  margin-bottom: 5px;
}

div#wc_checkout_add_ons label {
  font-weight: bold;
  margin: 5px 0px;
}

#order_review > #message_fields {
  display: none;
}

#order_review > #message_fields:first-child {
  display: inline-block;
}

div#addCustomFee {
  margin: 15px auto 0;
  display: block;
  width: 240px;
  margin: 0 auto 15px;
}
div#addCustomDiscount {
    display: block;
    width: 240px;
    margin: 15px auto;
}
.add_custom_line_item {
  margin: 15px 0 0;
  max-width: 320px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

div#message_fields {
    text-align: center;
    margin-top: 30px;
}

span.woocommerce-input-wrapper.add_custom_line_item--price input {
    text-align: center;
    padding-right: 0;
}

span.woocommerce-input-wrapper.add_custom_line_item--type {
    display: none;
}

span.woocommerce-input-wrapper.add_custom_line_item--description {
    width: 50%;
    margin-right: 2%;
}

span.woocommerce-input-wrapper.add_custom_line_item--price {
    width: 20%;
    margin-right: 5%;
    position: relative;
}


.add_custom_line_item label {
    width: 100%;
    margin-bottom: 10px;
}

.add_custom_line_item--delete.fa {
  color: #333;
}

.add_custom_line_item--delete {
  padding: 9px 0 9px 12px;
  cursor: pointer;
  transition: all 300ms ease;
}

.add_custom_line_item--delete:hover .fa {
  color: red;
}

li.woocommerce-order-overview__payment-method.method {
  /* display: none; */
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details > p {
  display: none;
}

.woocommerce-order ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details ~ p {
  display: none !important;
}

table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot tr:nth-child(2) {
  /* display: none; */
}

.customer-search label {
    font-weight: bold;
    width: 100%;
    text-align: center;
    line-height: 40px;
}

.site-main h1.entry-title {
  text-align: center;
}

.wc-product-table-wrapper .added_to_cart {
  display: none !important;
}

p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
  display: none;
}

.page-template-template-fullwidth-php #order_review_heading, .page-template-template-fullwidth-php #order_review {
  width: 700px;
}

#order_review th.product-name {
  width: 60% !important;
}

#payment .place-order {
  width: 50%;
  margin: 0 auto;
}

table:not( .has-background ) th {
  background: #F3E2E2;
}

th.col-buy.col-add-to-cart.sorting_disabled {
  color: #6d6d6d;
}

tr.cart_item td.product-name a.remove {
  position: absolute;
  right: 20px;
  top: 25%;
}

tr.cart_item td.product-name {
  position: relative;
}




form[name='checkout'] #customer_details .woocommerce-additional-fields {
  display: block !important;
}

form[name='checkout'] #customer_details {
  order: 10;
  margin: 10px 0 0;
}

form[name='checkout'] #customer_details .woocommerce-additional-fields h3 {
  display: none;
}

#clearDiscountAddOn {
  margin-left: 10px;
}

#clearDiscountAddOn,
#clearDiscountAddOn:hover {
  color: #c60c30;
  background: transparent;
  font-weight: 400;
  padding: 0;
}

#clearDiscountAddOn::before {
  font-family: icomoon !important;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  background: 0 0;
  vertical-align: baseline !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: '';
  font-size: 0.85em;
  margin-right: 6px;
  text-decoration: none;
  color: #c60c30;
}

#clearDiscountAddOn {
  visibility: hidden;
  opacity: 0;
  transition: opacity 100ms ease;
}

#clearDiscountAddOn.is-active {
  visibility: visible;
  opacity: 1;
}

.selected-customer .value {
  display: block;
}

span.custom-line-item--changeType {
    position: absolute;
    top: 9px;
    left: 10px;
}

span.custom-line-item--changeType span {
    display: none;
    font-weight: 600;
    font-size: 16px;
}

span.custom-line-item--changeType span.is-active {
    display: block;
}

.add_custom_line_item--save {
    padding: 6px 12px;
    cursor: pointer;
    transition: all 300ms ease;
    margin-right: 8px;
}

.quoting-tool__step .wc-product-table-wrapper > .select2-container {
  top: 38px !important;
}

input[name="product_ids[]"] {
  display: none;
}

.multi-cart-check {
  display: none;
}

.add-to-cart-wrapper.purchasable.multi-cart {
  padding-right: 0;
}

.wc-product-table-above input.button.btn,
.wc-product-table-below input.button.btn,
.wc-product-table-above .wc-product-table-multi-form {
    display: none;
}

th.col-buy.col-add-to-cart.sorting_disabled {
  color: transparent;
}









.qt-cart-subtotal {
  display: flex;
  flex-direction: column;
}

.qt-cart-subtotal__row {
  display: flex;
}

.qt-cart-subtotal__row .label {
  display: flex;
  width: 560px;
  min-width: 560px;
  max-width: 560px;
  background: #f2e2e1;
  padding: 16px 22px;
  font-weight: 600;
}

.qt-cart-subtotal__row .value {
  padding: 16px 22px;
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

.qt-cart-subtotal__row bdi {
  font-weight: 600;
}

td.col-buy.col-add-to-cart {
  width: 40%;
}

td.col-short-description {
  width: 40%;
}

body.page-id-106 {
  overflow: hidden;
}

div#secondary {display: none;}