:root {
  --link-color: #2c6ecb;
}

.cust-btn {
  border-radius: 10px;
  background: #30383f;
  padding: 13px 24px;
  min-width: 0;
  min-height: 0;
  font-weight: bold;
  max-height: 43px;
  background: var(--btn-bg-color);
  color: var(--btn-text-color);
}

.cust-input {
  border-radius: 5px;
  border: 1px solid #cbcbcb;
  padding: 10px;
}

.cust-input:active,
.cust-input:focus {
  border: 1px solid #cbcbcb;
  outline: none;
  box-shadow: none;
}

.cust-input::-webkit-inner-spin-button {
  opacity: 0 !important;
}

.cust-input:hover::-webkit-inner-spin-button,
.cust-input:focus::-webkit-inner-spin-button {
  opacity: 1 !important;
}

/* Firefox */
.cust-input[type="number"] {
  -moz-appearance: textfield;
}

.cust-input[type="number"]:hover,
.cust-input[type="number"]:focus {
  -moz-appearance: auto;
}

.cust-btn-light {
  background: #ededed;
  color: black;
}

.cust-btn-alert {
  background: #ffdbdb;
  color: red;
}

.cust-btn::after,
.cust-btn:not([disabled]):hover::after {
  box-shadow: none;
}

.disable-dd {
  color: gray;
  pointer-events: none;
}

.cust-img {
  overflow: hidden;
  height: 125px;
  min-width: 125px;
  object-fit: contain;
  border-radius: 15px;
  margin: 10px;
  border: 1px solid #cbcbcb;
}

.img-placeholder {
  overflow: hidden;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #cbcbcb;
}

.wrap-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
}



.modal-cont {
  width: 400px;
  min-height: 500px;
  border-radius: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.matrix-second-option {
  width: 80px;
  display: inline-block;
  text-align: center;
}

.discounts-tooltip {
  width: 200px;
  height: 90px;
  background: white;
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 1px 1px 10px #d5d5d5;
  border-radius: 4px;
  font-size: small;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.variant-inp-row-cont {
  justify-content: start;
  /* width: 100%; */
  height: 327px;
  overflow: auto;
}

.variant-inp-row {
  padding: 5px;
  height: auto;
  display: flex;
}

.variant-inp-row input {
  max-height: 28px;
}

.variant-inp-row:nth-child(even) {
  background: #f8f8f8;
}

.variant-inp-row img {
  overflow: hidden;
  width: 50px;
  object-fit: cover;
}

.variant-inp-row>div:nth-of-type(1) {
  width: 140px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.variant-inp-row>div:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.org-member-type-select {
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.go-to-member-orders {
  color: var(--link-color);
  text-decoration: underline;
}

.pay-terms-cont {
  width: 100%;
  margin-bottom: 50px;
}

.pointer {
  cursor: pointer;
}

.tx-bold {
  font-weight: bold;
}

.overlay-cont {
  width: 100vw;
  height: 100vh;
  opacity: 0;
  background: rgba(0, 0, 0, 0.445);
  z-index: 99;
  position: fixed;
  top: 0;
  left: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.overlay-cont.display,
.discounts-tooltip.display {
  visibility: visible;
  opacity: 1;
}

.org-member-type-select.active {
  padding: 2px 15px;
  background: #ededed;
  border-radius: 5px;
}

.qty-inp-cont {
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.qty-inp-cont input {
  width: 60px !important;
}

.variant-price-cont {
  text-align: center;
}

.tag {
  background: #e5e5e5;
  padding: 1px 6px;
  border-radius: 4px;
}

.accent-bg {
  background: #fcfcfc;
}

.light-font {
  color: #8c98a1;
}

.input-error {
  border-color: red;
}

.discounted-cart-value {
  font-size: large;
  font-weight: bold;
  color: black;
}

.paymentTermsCont {
  display: flex;
  gap: 20px;
  margin-right: auto;
}

.paymentTerm {
  border-radius: 20px;
  color: black;
  background: white;
  border: 2px solid;
}

.paymentTerm.active {
  border-radius: 20px;
  color: white;
  background: black;
}

.paymentTerm:after {
  box-shadow: none;
}

.paymentTerm:hover::after {
  box-shadow: none !important;
}

.paymentTerm:active::after {
  box-shadow: none !important;
}

@media (max-width: 780px) {
  .cust-img {
    height: 100px;
    min-width: 90px;
    width: 90px;
  }
}

.custom-section-wrapper {
  overflow-x: auto;
  padding: 0 5px;
}

.drop-arrow {
  position: relative;
  padding-right: 26px;
  text-align: start;
}

.drop-arrow:after {
  content: ">";
  /* for overiding the button:after inset */
  inset: unset;
  margin-left: 3px;
  position: absolute;
  transform: rotate(90deg) scaleY(1.2);
  font-weight: bold;
  right: 10px;
  color: gray;
}

.members-checkbox {
  pointer-events: auto;
}

.right-tick {
  position: relative;
  padding: 10px 20px;
  cursor: pointer;
  margin: 2px;
  border-radius: 4px;
}

.right-tick:not(:first-of-type) {
  margin-top: -15px;
}

.right-tick::after {
  content: "?";
  position: absolute;
  right: 15px;
  display: none;
}

.right-tick:hover {
  background-color: #e1e0e0;
}

.right-tick:hover::after {
  display: inline-block;
}

input.checkbox {
  appearance: none;
  -webkit-appearance: none;
  height: 15px;
  width: 15px;
  border: 1px solid;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

input.checkbox::after {
  content: "";
  margin: 2px;
  width: 60%;
  height: 60%;
  border-radius: 2px;
  background: black;
  visibility: hidden;
}

input.checkbox:hover {
  background-color: #d5d5d5;
}

input.checkbox:checked:after {
  visibility: unset;
}

.disable-pointer {
  pointer-events: none;
}

.btn-loading {
  pointer-events: none;
  opacity: 0.5;
}

.btn-loading::before {
  content: "";
  width: 30px;
  height: 30px;

  border: 2px solid #f3f3f3;
  border-top: 3px solid #f25a41;
  border-radius: 100%;

  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;

  animation: spin 1s infinite linear;
}

table, th, td {
  border: 1px solid;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* bulk buy product row*/
.product_form{
  display: flex;
  flex-direction: column;
}

.option-label{
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: 700;
}

.variant-form{
  margin-top:100px;
}

select.product-option {
  display: block;
  margin-bottom: 10px;
  padding: 5px;
}

button {
  padding: 10px 20px;
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #666;
}

.mobile-text{
  display: flex;
}
.row{
  display: table-row;
}

@media only screen and (max-width: 780px){

.row{
  display: table-row;
}

.mobile-text{
  display: none;
}
}

/* custom signup form*/
.field {
  position: relative;
  margin-bottom: 20px;
}

textarea {
  appearance: none;
  border: none;
  outline: none;
  resize: none;
  padding: 0;
  margin: 0;
  font: inherit;
  overflow: hidden;
}

textarea:focus {
  appearance: none;
  border: none !important;
  outline: none !important;
  resize: none !important;
  padding: 0;
  margin: 0;
  font: inherit;
  overflow: hidden;
}

.field input,
.field textarea {
  width: 450px;
  padding: 15px;
}

.field label {
  position: absolute;
  left: 10px;
  top: 15px;
  transition: 0.2s ease-in-out;
  pointer-events: none;
  font-size: 16px;
  color: #aaa;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: -1px;
  font-size: 10px;
  color: #333;
}



@media(max-width: 767px) {
  .field input {
    width: 80vw;
  }

  .field textarea {
    width: 100%;
  }

  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  input[type=number] {
    -moz-appearance: textfield;
  }
}

/*signup form body*/
.field {
  position: relative;
  margin-bottom: 20px;
}

textarea {
  appearance: none;
  border: none;
  outline: none;
  resize: none;
  padding: 0;
  margin: 0;
  font: inherit;
  overflow: hidden;
}

textarea:focus {
  appearance: none;
  border: none !important;
  outline: none !important;
  resize: none !important;
  padding: 0;
  margin: 0;
  font: inherit;
  overflow: hidden;
}

.field input,
.field textarea {
  width: 450px;
  padding: 15px;
}

.field label {
  position: absolute;
  left: 10px;
  top: 15px;
  transition: 0.2s ease-in-out;
  pointer-events: none;
  font-size: 16px;
  color: #aaa;
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: -1px;
  font-size: 10px;
  color: #333;
}



@media(max-width: 767px) {
  .field input {
    width: 80vw;
  }

  .field textarea {
    width: 100%;
  }

  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }
  input[type=number] {
    -moz-appearance: textfield;
  }
}

@media (max-width: 750px) {
  #form-subheading{
    margin: 20px !important;
    font-size: 20px !important;
  }

}

@media (max-width: 500px) {
  #form-subheading{
     width: 90% !important;
    font-size: 15px !important;
    padding: 0 !important;
  }
  
  #form-heading{
    font-size: 25px !important;
  }

  #field-box{
    width: 100% !important;
  }

  #login-text{
    font-size: 20px !important;
  }

  #create_customer{
    display: flex;
    align-items: center;
    width: 100%;
  }
  
}