/* Variables */
body.loading {
  overflow: hidden;
  /* Prevent scrolling */
}
/* Styles */
#checkoutPage .top-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#checkoutPage .top-section .back-btn {
  display: inline-block;
  margin-bottom: .5rem;
  text-transform: uppercase;
}
#checkoutPage .top-section .required-info {
  color: #df162c;
}
#checkoutPage .loader {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
#checkoutPage .loader img {
  width: 100px;
}
#checkoutPage .overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 9998;
  display: none;
}
#checkoutPage .checkout-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}
#checkoutPage .checkout-loader img {
  width: 100px;
}
#checkoutPage .lgh-btn {
  padding: 10px 20px;
  background-color: #b0aa00;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}
#checkoutPage .lgh-btn:hover {
  background-color: #7d7900;
}
#checkoutPage .ui-datepicker {
  z-index: 10000 !important;
  /* Ensure the datepicker is above other elements */
}
#checkoutPage .checkout {
  padding: 30px 24px;
  background-color: #fafafa;
  border: 1px solid #000000;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 1rem;
  width: 100%;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .field-half {
  flex: 0 0 47%;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .field-wide {
  flex: 0 0 100%;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .input-text,
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group textarea,
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group select {
  width: 100%;
  resize: none;
  color: fieldtext;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .input-text::placeholder,
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group textarea::placeholder,
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group select::placeholder {
  color: #909090;
  opacity: .7;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .input-text.error,
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group textarea.error,
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group select.error {
  border-color: #df162c;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .input-text.error + .select2 .select2-selection__rendered,
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group textarea.error + .select2 .select2-selection__rendered,
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group select.error + .select2 .select2-selection__rendered {
  border-color: #df162c;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .input-text.valid + .select2 .select2-selection__rendered,
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group textarea.valid + .select2 .select2-selection__rendered,
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group select.valid + .select2 .select2-selection__rendered {
  border-color: #03a84e;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group abbr.required {
  color: #df162c;
  font-weight: 700;
  border: none;
  text-decoration: none;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .select2 {
  height: 52px;
  width: 100% !important;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .select2 .select2-selection--single {
  height: 52px;
  border: none;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .select2 .select2-selection__rendered {
  padding: .6rem 1.5rem;
  border: 2px solid #000;
  border-radius: 0;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .select2 .select2-selection__arrow {
  top: 13px;
  right: 17px;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .select2 .select2-selection__arrow b {
  border-color: #000000 transparent transparent transparent;
  border-width: 6px 6px 0 6px;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .addittional_fields {
  margin-top: 2rem;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order {
  background: #e9e6ed;
  border-radius: 5px;
  padding: 2rem;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms {
  margin-bottom: 0;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms .checkbox {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  margin-bottom: 0;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms .checkbox .input-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms .checkbox .input-checkbox:checked ~ .checkmark {
  background-color: #b0aa00;
  border-color: #b0aa00;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms .checkbox .input-checkbox:checked ~ .checkmark:after {
  display: block;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms .checkbox .terms_text {
  color: #000000;
  font-size: 1.2rem;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms .checkbox .terms_text a {
  color: #b0aa00;
  text-decoration: none;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms .checkbox .terms_text a:hover {
  color: #646000;
  text-decoration: underline;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms .checkbox .required {
  color: #b0aa00;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms .checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  background-color: #fafafa;
  border: 2px solid #000000;
  border-radius: 4px;
  transition: background-color 0.3s, border-color 0.3s;
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms .checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
#checkoutPage .checkout #quoteInquiryForm .form-fields .place_order .terms .checkbox .error + .checkmark {
  border-color: #df162c;
}
#checkoutPage .checkout #quoteInquiryForm .submit {
  text-align: right;
}
/* Responsive */
@media screen and (max-width: 991.98px) {
  #lgh main {
    margin-top: 6rem;
  }
}
@media screen and (max-width: 590px) {
  #checkoutPage .checkout {
    padding: 18px 15px;
  }
  #checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .field-half {
    flex: 0 0 100%;
  }
  #checkoutPage .checkout #quoteInquiryForm .form-fields .form-group .field-half.last {
    margin-top: 1rem;
  }
}
