/* .mutli-step-form__wrapper {
    max-width: 1260px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 100px 20px;
    text-align: center;
  } */

.mutli-step-form__question__wrapper {
  /* max-width:630px; */
  position: relative;
}
.mutli-step-form__step {
  display: flex;
  gap: 50px;
}
.mutli-step-form__step_left,
.mutli-step-form__step_right {
  width: 50%;
}

.mutli-step-form__step .hs-form .hs-form-field>legend {
    font-family: Gotham Book !important;
    font-size: 12px !important;
    margin-bottom: 15px;
    font-weight: 400;
    color: #000000;
}

/* .mutli-step-form__wrapper input[type='checkbox'],
  .mutli-step-form__wrapper input[type='radio'] {
    height: 18px;
    left: 0;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    top: 0;
    width: 18px;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  } */
.multi-step-form__question-wrapper__answer {
  display: flex;
  flex-direction: row;
  gap: 14px;
  position: relative;
}
.mutli-step-form__answers textarea {
  width: 100%;
  min-height: 160px;
  margin-bottom: 38px;
  padding: 5px;
}
.multi-step-form__question-wrapper__answer_radio,
.multi-step-form__question-wrapper__answer_checkbox {
    position: relative;
    display: flex;
    background: #f2f2f2;
 
    padding: 5px 10px;
    margin-bottom: 10px;
    flex-direction: column;
}
.multi-step-form__question-wrapper label {
    cursor: pointer;
    padding-left: 28px;
    position: relative;
}

.mutli-step-form__question__wrapper input[type=checkbox], .mutli-step-form__question__wrapper input[type=radio] {
    height: 100% !important;
    left: 0;
    margin: 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    top: 0;
    min-height: 35px;
    width: 100%;
    z-index: 2;
}

.mutli-step-form__question__wrapper input[type=checkbox], .mutli-step-form__question__wrapper .input_with_other input[type=radio] {
  max-height: 22px !important
}

.multi-step-form__calculator-wrapper label, .mutli-step-form__question__wrapper label {
    cursor: pointer;
    padding-left: 28px;
    position: relative;
    margin-bottom: 0;
}
.mutli-step-form__wrapper .multi-step-form__question-wrapper__answer label {
  cursor: pointer;

  position: relative;
  color: #36b0c9;
  border: 1px solid #36b0c9;
  text-align: center;
  padding: 30px 20px;
  width: 100%;
  transition: all 0.3s;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.mutli-step-form__wrapper
  .multi-step-form__question-wrapper__answer
  label
  span {
  height: 100%;
  display: flex;
  align-items: center;
}
.mutli-step-form__wrapper .multi-step-form__question-wrapper__answer label img {
  height: 40px;
  margin: 0 auto 20px;
  transition: all 0.3s;
}

.mutli-step-form__wrapper input[type=radio]+label > span {
  display: block;
  position: relative;
}

.mutli-step-form__wrapper input[type=checkbox]+label:before {
      background-image: url(https://6586508.fs1.hubspotusercontent-na1.net/hubfs/6586508/icons/checkbox_unchecked.svg);
      background-size: 18px 18px;
      content: "";
      height: 18px;
      left: 0;
      position: absolute;
      top: 2px;
      transition: background-image .15s ease-in-out;
      width: 100%;
      height: 100%;
      background-repeat: no-repeat;
}

.mutli-step-form__wrapper input[type=radio]+label > span:before {
  background-image: url(https://6586508.fs1.hubspotusercontent-na1.net/hubfs/6586508/icons/checkbox_unchecked.svg);
  background-size: 18px 18px;
  content: "";
  height: 18px;
  left: -26px;
  position: absolute;
  top: 2px;
  transition: background-image .15s ease-in-out;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
}  

.mutli-step-form__wrapper input[type=radio]+label > span:before{
  background-image: url(https://6586508.fs1.hubspotusercontent-na1.net/hubfs/6586508/icons/radio_unchecked.svg);
}

.mutli-step-form__wrapper .radio-label span p:first-of-type {
  margin-top: 6px !important;
}

.mutli-step-form__wrapper  input[type=checkbox]:checked+label:before {
  background-image: url(https://6586508.fs1.hubspotusercontent-na1.net/hubfs/6586508/icons/checkbox_checked.svg)
}

.mutli-step-form__wrapper input[type=radio]:checked+label >span:before {
  background-image: url(https://6586508.fs1.hubspotusercontent-na1.net/hubfs/6586508/icons/radio_checked.svg)
}

/* .mutli-step-form__wrapper .multi-step-form__question-wrapper__answer input[type='radio']:checked + label {
    background: #009158;
    color: #fff;
  }
  .mutli-step-form__wrapper input[type='radio']:checked + label img {
    filter: brightness(9);
  }
  .multi-step-form__question-wrapper__answer:hover label {
    background: #dbefd6;
  } */
.mutli-step-form__question {
  margin-bottom: 38px;
}
/* .mutli-step-form__answers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 15px;
    margin-bottom: 50px;
  } */

.mutli-step-form__form {
  max-width: 600px;
  margin: auto;
}
a.disabled {
  opacity: 0.5 !important;
  pointer-events: none !important;
}
.mutli-step-form__buttons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center;
  margin-top: 38px;
}
.mutli-step-form__form .mutli-step-form__buttons {
    margin-top: -48px;
}
.mutli-step-form__form fieldset {
  max-width: 100% !important;
}
.mutli-step-form__form fieldset.form-columns-1 .hs-input {
  width: 100% !important;
}
.hidden {
  display: none;
}
a.form-button {
  background: #BEF184;
  color: #333;
  text-transform: uppercase;
  font-weight: 700;
  padding: 14px 40px;
  border: 1px solid #BEF184;
  border-radius: 8px;
  font-size: 0.8rem;
  opacity: 0.9;
  transition: all 0.3s;
  height: 46px;
}

a.form-button:hover {
  color: #333;
  opacity: 1;
}

a.form-button.button_next {
  padding: 13px 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, #aced62 0%, #aced62 50%, #bef184 50%, #bef184 100%);
  background-size: 210% 100%;
  background-position: 99% 0;
  border: 1px solid #bef184;
  position: relative;
  transition: all .3s;
  color: #333;
  text-transform: uppercase !important;
  font-family: Gotham !important;
  font-weight: 700;
}

a.form-button.button_next:hover {
  background-position: 0 0;
  border: 1px solid #aced62;
  color: #333;
}

a.form-button.button_previous {
  padding: 13px 28px;
  border-radius: 999px;
  background: #fff;
  color: #3eb1c8;
  border: 1px solid #3eb1c8;
  font-family: Gotham !important;
  font-weight: 700;
}

a.form-button.button_previous:hover {
  background: #3eb1c8;
  color: #ffffff;
}

.mutli-step-form__wrapper form input[type=submit]{
    width: auto;
    margin-left: 160px;
    transform: translateY(-3px);
    height: 46px;
}
.input_with_other input[type='text'] {
  margin-bottom: 0px;
    opacity: 0;
    display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s;
  border: none;
  outline: 1px solid #EBEDED;
}
.input_with_other input:checked+label+input[type=text] {
    margin: 10px 10px 10px 25px;
  border: none;
  padding:5px;
  max-height: 100px;;
    opacity: 1;
}
.progress-bar-container {
    width: calc(50% - 25px);
    background-color: #EBEDED;
    margin: 0 0 20px 0;
}
.progress-bar {
    height: 10px;
    background-color: #BEF184;
    width: 0%;
    transition: all .8s;
    position: relative;
}
.has_percentage_inidcator .progress-bar{
   height: 20px;
}
/* .mutli-step-form__form .hs-form .hs-form-field > label span{
    display: block;
} */
.mutli-step-form__form .hs-form .hs-form-field > label{
    position: relative;
    color: black
}
.progress_indicator_wrapper{
    display: flex;
    gap: 50px;
}
.progress-percentage-indicator{
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0px, -50%);
    color: #fff;
}
@media screen and (max-width: 767px) {
    .progress-bar-container {
        width: 100%;
        margin-bottom: 10px;
    }
    .mutli-step-form__step{
        flex-direction: column-reverse;
    }
    .mutli-step-form__step_right{
        width: 100%;;
    }
    .mutli-step-form__step_left{
        display: none;
    }
    .progress_indicator_wrapper{
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;;
    }
}

{# MODAL STYLING #}

body:has(.modal-open) {
  overflow: clip;
}

.image-popup {
  cursor: pointer;
}

.modal-open {
  position: relative;
}

.multi-step-modal {
  display: none;
  overflow-y: scroll;
  position: fixed;
  z-index: 31;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.modal-open .multi-step-modal {
  display: block;
}

.multi-step-modal-overlay {
  position: fixed;
  cursor: pointer;
  top: 0;
  left: 0;
  background: black;
  opacity: 0.5;
  width: 100%;
  height: 100%;
}

.multi-step-modal__inner {
  position: relative;
  cursor: initial;
  z-index: 50;
  background: white;
  max-width: 60%;
  margin: 0 auto;
  margin-top: 5%;
  margin-bottom: 10%;
  padding: 20px;
}

.multi-step-modal-close {
  position: fixed;
  cursor: pointer;
  z-index: 32;
  top: 6%;
  right: 13%;
  width: 40px;
  height: 40px;
}

.multi-step-modal-close::after {
  content: "";
  position: relative;
  display: block;
  background: white;
  height: 3px;
  width: 31px;
  transform: rotate(45deg);
}

.multi-step-modal-close::before {
  content: "";
  position: relative;
  top: 3px;
  display: block;
  background: white;
  height: 3px;
  width: 31px;
  transform: rotate(-45deg);
}

