/* general */
.mmInputError  {
  border-color: #dc3545 !important; 
}
.prodAvailNA {
  color: #dc3545;
}
.prodAvailLtd {
  color: #6428ac;
}
.prodAvailAvail {
  color: #007bff;
}
.newSiteLink {
  margin-left: 6px;
}

/* Layout */

.bootstrap-scope .et_pb_row {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1140px;
}

/* Headings */

.bootstrap-scope h1,
.bootstrap-scope h2,
.bootstrap-scope h3,
.bootstrap-scope h4,
.bootstrap-scope h5,
.bootstrap-scope h6 {
  padding-bottom: 0;
}

/* Buttons */

.bootstrap-scope .btn.btn-secondary,
.bootstrap-scope .btn-secondary:hover {
  border-color: #979797;
}

.bootstrap-scope .btn.btn-primary {
  border-color: transparent;
}

/* Breadcrumbs (MOVE TO VARIABLE OVERRIDES)*/

.bootstrap-scope .breadcrumb {
  padding-left: 0 !important;
  padding-right: 0 !important;
  background-color: transparent !important;
}

/* Tables */

.bootstrap-scope #suggestTable h3 {
  padding: 0;
}

.bootstrap-scope #suggestTable .suggest2newQuantity {
  white-space: nowrap;
}

.bootstrap-scope #suggestTable tr td {
  vertical-align: middle;
}

/* Validation */

.bootstrap-scope .table td.error-required {
  box-shadow: inset 0 0 0px 2px rgb(255,0,0);
  font-weight: bold;
}

.bootstrap-scope .error {
  font-family: inherit;
  font-weight: 500;
  color: #dc3545;
}

/* Alerts */

.bootstrap-scope .alert a,
.bootstrap-scope .alert .btn-link {
  text-decoration: underline;
}

.bootstrap-scope .alert .btn-link {
  vertical-align: initial;
}

.bootstrap-scope #alert_modal {
  z-index: 1051;
}

.bootstrap-scope .alert-combine-items {
  border: 1px solid #adb5bd;
}

/* Modals */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: #000;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: .5;
}

.modal-open #main-header,
.modal-open #top-header {
  z-index: 1039;
}

/* Item Details */

.bootstrap-scope .item-details-img > div > img {
  width: 100%;
}

.bootstrap-scope .item-details-img .additionalImageThumb {
  margin: 0 5px 5px 0;
}

.bootstrap-scope .item-details p {
  padding: 0;
}

#add_to_cart_button_wrapper .btn {
  margin: .25rem;
}

.bootstrap-scope .item-interested-in .row img {
  width: 100%;
}

/* Cart Summary */

.bootstrap-scope #cart-summary-accordion .table {
  table-layout: auto;
}

.bootstrap-scope #cart-summary-accordion tr.cart-summary-headers th {
  padding-top: .5rem;
  padding-bottom: .5rem;
  font-weight: 600;
}

.bootstrap-scope #cart-summary-accordion .cart-summary-category {
  text-transform: uppercase;
  letter-spacing: .5px;
}

.bootstrap-scope #cart-summary-accordion #shipCostMainOuter > p {
  padding-left: 1rem;
  padding-right: 1rem;
}

.bootstrap-scope #cart-summary-accordion #shipCostMainOuter #shipCostTable {
  margin-bottom: 0;
}

.bootstrap-scope .cart-summary-item.item-state-danger td {
  background-color: #f8d7da !important;
}

.bootstrap-scope .cart-summary-item > th,
.bootstrap-scope .cart-summary-item > td {
  vertical-align: middle;
}

.bootstrap-scope .cart-summary-item a {
  font-weight: normal;
}

.bootstrap-scope .cart-summary-item .img-item-sku {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
}

.bootstrap-scope .cart-summary-item.item-state-info input.cartInputText,
.bootstrap-scope .cart-summary-item.item-state-info select.form-control {
  border-color: #0c5460;
  box-shadow: inset 0 0 0 1px #0c5460;
}

.bootstrap-scope .cart-summary-item.item-state-warning input.cartInputText,
.bootstrap-scope .cart-summary-item.item-state-warning select.form-control {
  border-color: #856404;
  box-shadow: inset 0 0 0 1px #856404;
}

.bootstrap-scope .cart-summary-item.item-state-danger input.cartInputText,
.bootstrap-scope .cart-summary-item.item-state-danger select.form-control {
  border-color: #721c24;
  box-shadow: inset 0 0 0 1px #721c24;
}

/* Login */

.login-btn-wrapper .btn {
  margin: 0 .5em .5em 0;
}

/* Payment */

#paypalContinueForm .payment-method-icon {
  width: 100px;
}

@media (max-width: 991px) {
  .bootstrap-scope #add_to_cart_modal .modal-dialog {
    max-width: 680px;
  }
  
  .bootstrap-scope #add_to_cart_modal .modal-body {
    padding: 1rem 1rem 0;
  }

  .bootstrap-scope #add_to_cart_modal .modal-footer {
    padding: 0 1rem 1rem;
  }
  
  .bootstrap-scope #show_avail table {
    table-layout: fixed;
  }

  .bootstrap-scope #show_avail tr {
    display: flex;
    flex-wrap: wrap;
  }
  
  .bootstrap-scope #show_avail tr td {
    padding: 10px 0;
    flex: 0 0 20%;
  }
}

@media (max-width: 767px) {
  .bootstrap-scope #cart-summary-accordion h5  {
    font-size: 1rem;
  }

  .bootstrap-scope #cart-summary-accordion #shipCostTable,
  .bootstrap-scope #cart-summary-accordion #shipCostTable tbody > tr > td {
    border-left: none !important;
    border-right: none !important;
  }
  
  .bootstrap-scope #cart-summary-accordion #shipCostTable tbody > tr {
    display: flex;
    flex-direction: column;
  }
  
  .bootstrap-scope #cart-summary-accordion .table {
    table-layout: auto;
  }
  
  .bootstrap-scope #cart-summary-accordion .table thead {
    display: none;
  }

  .bootstrap-scope .cart-summary-item {
    display: flex;
    flex-wrap: wrap;
  }

  .bootstrap-scope .cart-summary-item > td .label,
  .bootstrap-scope #order-review-table .label {
    margin-bottom: .5em;
    display: block;
    width: auto;
    font-style: normal;
    line-height: 1;
  }
  
  .bootstrap-scope #order-review-table .label {
    width: 100%;
  }
  
  .bootstrap-scope #order-review-table .label ~ span {
    padding: 0;
  }
  
  .bootstrap-scope #order-review-table tbody td {
    text-align: left;
  }

  .bootstrap-scope .cart-summary-item .label-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .bootstrap-scope #cart-summary-accordion .cart-summary-category {
    background-color: #f8f9fa !important;
  }
  
  .bootstrap-scope .cart-summary-item > td {
    display: flex;
  }
  
  .bootstrap-scope .cart-summary-item > td:first-child {
    flex: 1 0 80%;
  }

  .bootstrap-scope .cart-summary-item > td:nth-child(2) {
    display: flex;
    flex: 0 1 20%;
    justify-content: flex-end;
    align-items: center;
  }

  .bootstrap-scope .cart-summary-item > td:nth-child(5) {
    flex: 0 1 auto;
  }

  .bootstrap-scope .cart-summary-item > td:last-child {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
  }
  
  .bootstrap-scope .cart-summary-item > td:last-child > * {
    margin-left: 10px;
  }
  
  .bootstrap-scope .cart-summary-item .fa-calendar-alt,
  .bootstrap-scope .cart-summary-item .fa-trash-alt {
    font-size: 2em;
  }
}

@media (max-width: 640px) {
  .bootstrap-scope #shipCostTable {
    border: none;
  }

  .bootstrap-scope .mmSkuPriceTable thead tr,
  .bootstrap-scope #shipCostTable .shipCostHeader,
  .bootstrap-scope #order-review-table thead tr {
    display: none;
  }

  .bootstrap-scope #suggestTable tbody tr,
  .bootstrap-scope #suggestTable tbody td,
  .bootstrap-scope #shipCostTable tbody tr,
  .bootstrap-scope #shipCostTable tbody td {
    display: block;
  }

  .bootstrap-scope .mmSkuPriceTable tbody > tr,
  .bootstrap-scope .mmSkuPriceTable thead tr.pricing_table_dates_row {
    display: flex;
  }
  
  .bootstrap-scope .mmSkuPriceTable tbody > tr {
    flex-wrap: wrap;
  }
  
  .bootstrap-scope .mmSkuPriceTable tbody > tr > td {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  
  .bootstrap-scope .mmSkuPriceTable .pricing-table-sku,
  .bootstrap-scope .mmSkuPriceTable .pricing-table-desc {
    flex: 0 0 50%;
  }

  .bootstrap-scope .mmSkuPriceTable .pricing-table-desc {
    display: flex;
    align-items: flex-end;
  }

  .bootstrap-scope .mmSkuPriceTable .pricing-table-quantity {
    flex: 0 0 100%;
  }
  
  .bootstrap-scope .mmSkuPriceTable tbody td,
  .bootstrap-scope #order-review-table tbody td {
    text-align: left !important;
  }

  .bootstrap-scope .mmSkuPriceTable tbody > tr,
  .bootstrap-scope #shipCostTable tbody > tr {
    margin-top: 15px;
    border: 1px solid #adb5bd;
  }
  
  .bootstrap-scope .mmSkuPriceTable tbody > tr:first-child,
  .bootstrap-scope #suggestTable tbody > tr:first-child {
    margin: 0;
  }
  
  .bootstrap-scope .mmSkuPriceTable tbody .product_sku {
    font-weight: bold;
  }
  
  .bootstrap-scope #suggestTable .suggest2newDescription {
    font-weight: bold;
    border-top-width: 2px;
  }

  .bootstrap-scope #show_avail table {
    border: 1px solid #eee !important;
  }
  
  .bootstrap-scope #show_avail tr {
    margin: 0;
    border: none;
  }
}

@media (max-width: 575px) {
  .bootstrap-scope .alert-combine-items {
    padding: 0 !important;
    border: none;
  }

  .bootstrap-scope .alert-combine-items p {
    display: none;
  }
  
  .bootstrap-scope .cart-summary-item > td:first-child {
    flex: 1 0 70%;
  }

  .bootstrap-scope .cart-summary-item > td:nth-child(2) {
    display: none;
  }
  
  .bootstrap-scope .cart-summary-item > td:nth-child(3) {
    display: flex;
    flex: 0 1 30%;
    justify-content: flex-end;
  }

  .bootstrap-scope #cart-summary-accordion .card-header,
  .bootstrap-scope #cart-summary-accordion .alert {
    padding: .75rem;
  }
  
  .bootstrap-scope #cart-summary-accordion .card-header h5 span {
    font-size: 12px;
  }
  
  .bootstrap-scope #cart-summary-accordion input#shipzip {
    width: 120px;
  }

  .login-btn-wrapper .btn {
    margin: 0 0 .5em;
    display: block;
    width: 100%;
  }
  
  .bootstrap-scope #show_avail tr td {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .bootstrap-scope #show_avail tr td {
    flex: 0 0 100%;
    font-size: 14px;
  }
}

@media (max-width: 375px) {
  #shipzipform .form-control,
  #shipzipform .btn {
    padding: .25rem .5rem;
    font-size: .75rem;
    line-height: 1.5;
  }

  #shipzipform .form-control {
    height: calc(1.5em + .5rem + 2px);      
  }
  
  .bootstrap-scope .mmSkuPriceTable tbody > tr > td {
    flex: 0 0 50%;
  }
}

.cart-summary-qty select.form-control, 
.cart-summary-qty input.form-control {
  width: min-content;
  min-width: 100%;
}

.cart-summary-qty .wwctrl {
  direction: rtl;
}

@media (min-width: 768px) {
  .bootstrap-scope .cart-summary-item .cart-summary-qty {
    padding-left: 2rem;
    width: 1%;
  }

  .bootstrap-scope .cart-summary-item .cart-summary-qty .lineSaveBtn {
    margin-right: -1.25rem;
  }
}

.bootstrap-scope .table thead th.pricing_table_dates {
  border-bottom: none;
}

.bootstrap-scope .alert-slim {
  padding: 0.5rem;
}

#pricingTOC a {
  margin-right: 2em;
  display: inline-block;
  background-color: gray;
  color: white;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid gray;
}
#pricingTOC a:hover {
  text-decoration: none;
  background-color: white;
  color: gray;
}

a.mmHeaderFix {   
  display: block; 
  position: relative; 
  visibility: hidden; 
  top: -200px;  
 }
 
.pickupEventDetails .pickupAddress {
   line-height: 1.3em;
   margin-top: 1em;
   margin-bottom: 1em;
 }

 @media (max-width: 640px) {
  #pricingTOC a {
    margin-right: 0;
    display: block;
    margin-bottom: 0.75em;
    text-align: center;
  }
 }
 
 ul.mmBullets {
   list-style: disc inside;
 }
 
 h5.pricingTableDateHeader {
   color: #7a232e;
   font-family: "Open Sans", Helvetica, Arial, Lucida, sans-serif;
    font-size: 14px;
    font-weight: bold;
 }
 #cart_sumbit .mm-cart-icon, #add_to_cart_modal .mm-cart-icon {
	font-family: ETmodules;
	font-weight: normal;
	margin-right: 4px;
 }

 .bootstrap-scope .d-flex.hiddenStrong {
	display: none !important;
}