html,
body {
  margin: 0;
  padding: 0;
}

.loan-consolidation .form-heading {
  font-family: var(--e-global-typography-primary-font-family), Sans-serif;
  font-weight: 300;
  font-size: 33px;
  line-height: 40px;
  color: #308db5;
  text-align: center;
}

.loan-consolidation .elementor-field-group-step_2 .form-sub-heading {
  font-weight: 300;
  font-size: 28px;
  margin: 10px auto 20px auto;
  color: #333333;
  text-align: center;
}

.loan-consolidation .range {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.loan-consolidation .range label {
  font-weight: 300;
  font-size: 33px;
  color: #333;
}

.e-form__buttons button {
  background: linear-gradient(
    to right top,
    #ff7f00,
    #ff7000,
    #ff6100,
    #ff4e00,
    #ff3700
  );
  display: flex;
  gap: 10px;
}

.elementor-field-group-step_2 {
  flex-direction: column;
  align-items: center;
}

.elementor-field-group-step_2 .e-form__buttons .elementor-button-icon {
  display: flex;
}

.has-error {
  border: 1px solid red !important;
}

.elementor-field-group-step_1 .e-form__buttons button::after {
  content: url("http://localhost/lowerexpense/wp-content/uploads/2025/02/right-arrow-svg.svg");
  position: relative;
  top: 4px;
  height: 25px;
}

.elementor-field-group-acceptance {
  margin-top: 12px;
  margin-bottom: 25px !important;
}

.elementor-field-group-acceptance label {
  font-size: 12px !important;
  line-height: normal !important;
  margin-top: 20px;
  text-align: left;
}

.loan-consolidation .e-form__buttons .elementor-field-type-previous {
  display: none;
}

.loan-consolidation .elementor-field-group-debt_amt {
  display: none;
}

/* Slider */

input[type="range"] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type="range"]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type="range"]::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent;
  border-color: transparent;
  color: transparent;
}

/* styling thumb */

/* Special styling for WebKit/Blink */
input[type="range"]::-webkit-slider-thumb,
input[type="range"]::-webkit-slider-thumb:hover {
  -webkit-appearance: none;
  border: 8px solid #095e82;
  height: 40px;
  width: 40px;
  border-radius: 20px;
  background: #03c04a;
  background: #ffffff;

  cursor: pointer;
  margin-top: -14px; /* You need to specify a margin in Chrome, but in Firefox and IE it is automatic */
  /* box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; */
}

input[type="range"]::-webkit-slider-thumb:hover {
  background: #03c04a;
  background: #ffffff;
  background: #095e82;
  background: #388eb3;
}

/* All the same stuff for Firefox */
input[type="range"]::-moz-range-thumb,
input[type="range"]::-moz-range-thumb {
  /* box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
  border: 8px solid #095e82;
  height: 25px;
  width: 25px;
  border-radius: 25px;
  background: #03c04a;
  background: #ffffff;

  cursor: pointer;
}

input[type="range"]::-moz-range-thumb:hover {
  background: #03c04a;
  background: #ffffff;
  background: #388eb3;
}

/* All the same stuff for IE */
input[type="range"]::-ms-thumb,
input[type="range"]::-ms-thumb:hover {
  /* box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; */
  border: 8px solid #095e82;
  height: 21px;
  width: 21px;
  border-radius: 20px;
  background: #ffffff;
  cursor: pointer;
  margin-top: 3px;
  cursor: pointer;
}

input[type="range"]::-ms-thumb:hover {
  background: #03c04a;
  background: #ffffff;
  background: #388eb3;
}

input[type="range"]::-ms-track {
  width: 100%;
  height: 14px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 10px 0;
  color: transparent;
}

input[type="range"]::-ms-fill-lower {
  background: #308db5;
  border: 0px solid #010101;
  border-radius: 10px;
  /* box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; */
}
input[type="range"]:focus::-ms-fill-lower {
  background: #308db5;
  background: #03c04a;
}
input[type="range"]::-ms-fill-upper {
  background: #308db5;
  border: 0px solid #010101;
  border-radius: 10px;
  /* box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; */
}
input[type="range"]:focus::-ms-fill-upper {
  background: #308db5;
}

/* Styling the track */

input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 18px;
  cursor: pointer;
  /* box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; */
  background: #308db5;
  border-radius: 10px;
  border: 4px solid #308db5;
}

input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #308db5;
}

input[type="range"]::-moz-range-track {
  width: 100%;
  height: 14px;
  cursor: pointer;
  /* box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; */
  background: #308db5;
  border-radius: 10px;
  border: 2px solid #308db5;
}

input[type="range"]::-moz-range-progress {
  background-color: #03c04a;
  height: 14px;
  border-radius: 10px;
  border: 2px solid #03c04a;
}

/* everythig else */

#slider_d {
  display: block;
  position: relative;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  margin: 50px 0px;
}

#your_debt_amount {
  display: block;
  width: 100px;
  height: 20px;
  position: absolute;
  top: -44px;
  color: #333333;
  text-align: left;
  font-size: 24px;
}

#debt-min,
#debt-max {
  display: block;
  width: 100%;
  height: 20px;
  position: absolute;
  top: 28px;
  color: #333333;
  text-align: left;
  font-size: 18px;
}

#debt-max {
  text-align: right;
}

@media only screen and (max-width: 767px) {
  #slider_d {
    display: block;
    position: relative;
    margin-top: 50px;
    width: 100%;
  }

  .loan-consolidation .form-heading {
    font-size: 24px;
    line-height: 30px;
  }

  .loan-consolidation .range label {
    font-size: 24px;
    font-weight: 700;
  }

  .loan-consolidation .elementor-field-group-step_2 .form-sub-heading {
    font-size: 16px;
    font-weight: bold;
    line-height: normal;
  }
}
