.calc-container {
  padding-bottom: 105px;
}

.calc-container * {
  transition: all 0.1s ease-in;
}

.calc-container .hidden {
  display: none;
  opacity: 0;
}

.exclude-question {
  display: none !important;
}

span.error {
  color: #FF0000;
  font-size: 14px;
  display: block;
  margin-top: 7px;
  line-height: 1;
  text-align: left;
}


/* Add this attribute to the element that needs a tooltip */
[data-tooltip] {
  position: relative;
  z-index: 2;
  cursor: pointer;
}

/* Hide the tooltip content by default */
[data-tooltip]:before,
[data-tooltip]:after {
  visibility: hidden;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
  opacity: 0;
  pointer-events: none;
}

/* Position tooltip above the element */
[data-tooltip]:before {
  position: absolute;
  bottom: 150%;
  left: 50%;
  margin-bottom: 5px;
  margin-left: -80px;
  padding: 7px;
  width: 160px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  background-color: #000;
  background-color: hsla(0, 0%, 20%, 0.9);
  color: #fff;
  content: attr(data-tooltip);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
}

/* Triangle hack to make tooltip look like a speech bubble */
[data-tooltip]:after {
  position: absolute;
  bottom: 150%;
  right: 0;
  margin-left: -5px;
  width: 0;
  border-top: 5px solid #000;
  border-top: 5px solid hsla(0, 0%, 20%, 0.9);
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: " ";
  font-size: 0;
  line-height: 0;
}

/* Show tooltip content on hover */
[data-tooltip]:hover:before,
[data-tooltip]:hover:after {
  visibility: visible;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}


.mortgageType-refinance { 
  display: none;  
}

.progress-bar {
  background: #fff;
  margin-bottom: 55px;
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 100;
}
.progress-bar .current-progress {
  background: #80c9b5;
  height: 10px;
  width: 1%;
}

.calc-form {
  display: flex;
  margin: 0 10%;
}

.calc-left,
.calc-right {
  flex: 1;
}

/* LEFT */
.calc-left {
  padding-right: 5%;
}
.left-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 35px;
}
.calc-left .steps {
  color: #80c9b5;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  margin-bottom: 15px;
}
.calc-left h1 {
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: 50px !important;
  line-height: 100% !important;
  margin: 0 !important;
}

.borrowing-power {
  margin-top: calc(100vh - 620px);
  margin-right: 10%;
  background: #fff;
  border-top: #80c9b5 8px solid;
  padding: 25px 30px;
}

.borrowing-power-mobile {
  margin:0;
  padding: 18px;
  position: fixed;
  bottom: 0;
  box-sizing: border-box;
  width: 100%;
  z-index: 99;
  background: #ECFAF7;
  box-shadow: 0px -10px 50px rgba(0, 46, 51, 0.1);
}

.borrowing-power-inner {
  background: #fff;
  border-top: #80c9b5 8px solid;
  padding: 15px;
  box-sizing: border-box;
  display: flex;

}


.borrowing-power h2, .borrowing-power-mobile h2  {
  font-style: normal !important;
  font-weight: 500 !important;
  font-size: 18px !important;
  line-height: 140% !important;
  letter-spacing: 0 !important;
  margin: 0 0 10px 0 !important;
}
.borrowing-power h3, .borrowing-power-mobile h3  {
  font-style: normal !important;
  font-weight: 600 !important;
  font-size: 36px !important;
  line-height: 120% !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
}

.tips {
  margin-top: 20px;
  margin-right: 10%;
  border: #80c9b5 1px solid;
  padding: 20px 26px 20px 76px;
  color: #002e33;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 140%;
  background: url(/wp-content/plugins/lendeasy-calc/assets/img/icon-tips.png)
    center left 20px no-repeat;
}
.tips p strong {
  font-weight: 600;
}

.debugwindow {
  margin-top: 20px;
  margin-right: 10%;
  border: #80c9b5 1px solid;
  padding: 20px 26px 20px 26px;
  color: #002e33;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 140%;
}

/* RIGHT */

.calc-right {
  margin-top: 36px;
  flex: 1.4;
}

.next-question {
  opacity: 0.4;
  pointer-events: none;
}

.future-question {
  opacity: 0.1;
  pointer-events: none;
}

.calc-right select:focus,
.calc-right input:focus {
  outline: none;
}

.q-wrapper {
  position: relative;
  margin-bottom: 100px;
}

.q-heading {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 120%;
  letter-spacing: -0.03em;
  color: #002e33;
  display: block;
  margin-bottom: 40px;
}

.input-wrapper {
  display: flex;
}

.question-1 .input-wrapper {
  border: #002e33 1px solid;
  border-top-right-radius: 45px;
  border-bottom-left-radius: 45px;
}

.question-1 .input-wrapper select {
  width: 100%;
  background: transparent;
  color: #002e33;
  border: none;
  padding: 25px;

  font-family: "Gilroy";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;

  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: "";
}
.question-1 .input-wrapper select option {
  padding: 0;
}

.question-2 input,
.question-3 input,
.question-4 input,
.question-5 input,
.question-6 input {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.question-2 label,
.question-3 label,
.question-4 label,
.question-5 label,
.question-6 label {
  cursor: pointer;
  z-index: 90;

  display: flex;
  align-items: center;
  justify-content: center;

  border: #002e33 1px solid;
  color: #002e33;
  opacity: 0.5;

  height: 124px;
  border-top-right-radius: 45px;
  border-bottom-left-radius: 45px;
  text-align: center;
  width: 47%;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  padding: 0 20px;
}
label.first {
  margin-right: 5%;
}

.question-2 label:hover,
.question-3 label:hover,
.question-4 label:hover,
.question-5 label:hover,
.question-6 label:hover {
  opacity: 1;
}

.question-3 label {
  /* 3rds */
  width: 29.7%;
}

.question-2 input[type="radio"]:checked + label,
.question-3 input[type="radio"]:checked + label,
.question-4 input[type="radio"]:checked + label,
.question-5 input[type="radio"]:checked + label,
.question-6 input[type="radio"]:checked + label {
  background: #002e33;
  color: #fff;
  opacity: 1;
}

.question-7 .input-outer,
.question-8 .input-outer {
  display: flex;
}

.question-7 .input-wrapper,
.question-8 .input-wrapper {
  flex-flow: column;
}

.question-7 .input-wrapper.first,
.question-8 .input-wrapper.first {
  padding-right: 3%;
  flex: 1;
}
.question-7 .input-wrapper label,
.question-8 .input-wrapper label {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  color: #002e33;
}
.question-7 .currency-input,
.question-8 .currency-input {
  border-radius: 50px;
  margin-top: 8px;
  border: #002e33 1px solid;
  color: #002e33;
  /* opacity: 0.5; */
}
.question-7 input,
.question-8 input {
  height: 50px;
  line-height: 50px;
  padding: 8px 16px;
  background: transparent;
  border: none;
  width: calc(100% - 46px);
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  color: #002e33;
  font-family: "Gilroy";
  display: inline-block;
}
.question-7 .currency-input:before,
.question-8 .currency-input:before {
  content: "$";
  width: 30px;
  text-align: right;

  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  color: #002e33;
  font-family: "Gilroy";
  display: inline-block;
}

.question-7 .currency-input:hover,
.question-7 .currency-input.active,
.question-7 input:focus,
.question-7 input:active,
.question-7 input:not(:placeholder-shown),
.question-8 .currency-input:hover,
.question-8 .currency-input.active,
.question-8 input:focus,
.question-8 input:active,
.question-8 input:not(:placeholder-shown) {
  opacity: 1;
}

span.continue {
  height: 52px;
  display: inline-block;
  background: #80c9b5 url(/wp-content/plugins/lendeasy-calc/assets/img/icon-next-btn.png?r=1)
    center right 10px no-repeat;
  cursor: pointer;
  opacity: 0.8;
  margin-top: 28px;
  border-radius: 50px;
    padding: 0 39px 0 16px;
    line-height: 52px;
    font-size: 16px;
    font-weight: bold;

}
span.continue:hover {
  opacity: 1;
}

/* ============================================= */
.next-steps {
  padding: 50px;
  background: #fff;
  border-radius: 20px;
}

.next-steps .q-heading {
  font-style: normal;
  font-weight: 600;
  font-size: 36px;
  line-height: 120%;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.next-steps .q-subheading {
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 120%;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

.next-steps .q-legal {
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 140%;
  text-align: center;
  letter-spacing: -0.01em;
  display: block;
  margin-top: 30px;
  padding: 0 30px;
}
.next-steps .q-legal a {
  color: #80c9b5;
  text-decoration: underline;
}
.next-steps .q-legal a:hover {
  color: #002e33;
  text-decoration: underline;
}

/* ============================================= */

.question-9 .input-wrapper,
.question-10 .input-wrapper {
  display: flex;
  margin-bottom: 8px;
}
.question-9 .input-wrapper div,
.question-10 .input-wrapper div {
  flex: 1;
}
.question-9 .input-wrapper .label,
.question-10 .input-wrapper .label {
  align-self: center;
}

.question-9 label,
.question-10 label {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  color: #002e33;
  line-height: 50px;
}

.question-9 input,
.question-10 input {
  width: 100%;
}

.question span.info {
  background: url(/wp-content/plugins/lendeasy-calc/assets/img/icon-info.png)
    center center no-repeat;
  cursor: pointer;
  opacity: 0.8;
  width: 16px;
  height: 16px;
  display: inline-block;
}
.question span.info:hover { 
  opacity: 1;
}

label span.info {
  background: url(/wp-content/plugins/lendeasy-calc/assets/img/icon-info.png)
    center center no-repeat;
  cursor: pointer;
  opacity: 0.8;
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-left: 10px;
    margin-bottom: -2px;
}
label span.info:hover { 
  opacity: 1;
}

input[type="radio"]:checked + label span.info {
  background: url(/wp-content/uploads/2022/10/icon-info-white.png)
    center center no-repeat;
}




.subtotal {
  margin-top: 40px;
}
.subtotal p {
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  line-height: 50px;
  letter-spacing: -0.03em;
  color: #002e33;
  display: inline-block;
  width: calc(100% - 90px);
}
.subtotal .subtotal {
  color: #80c9b5;
  font-size: 36px;
}
.subtotal .continue {
  margin-top: 0;
  float: right;
}

.question-9 .currency-input,
.question-10 .currency-input {
  border-radius: 50px;
  border: #002e33 1px solid;
  color: #002e33;
  opacity: 0.5;
}

.question-9 input,
.question-10 input {
  height: 50px;
  line-height: 50px;
  padding: 8px 16px;
  background: transparent;
  border: none;
  width: calc(100% - 70px);
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  color: #002e33;
  font-family: "Gilroy";
  display: inline-block;
}

.question-9 .currency-input:before,
.question-10 .currency-input:before {
  content: "$";
  width: 30px;
  text-align: right;

  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  color: #002e33;
  font-family: "Gilroy";
  display: inline-block;
}

.question-9 .currency-input:hover,
.question-9 .currency-input.active,
.question-9 input:focus,
.question-9 input:active,
.question-9 input:not(:placeholder-shown),
.question-10 .currency-input:hover,
.question-10 .currency-input.active,
.question-10 input:focus,
.question-10 input:active,
.question-10 input:not(:placeholder-shown) {
  opacity: 1;
}

.currency-input input.active {
  opacity: 1;
}

.next-steps .elementor-field-type-text,
.next-steps .elementor-field-type-tel,
.next-steps .elementor-field-type-email {
  width: 47% !important;
  display: inline-block;
}
.next-steps .elementor-field-group-firstname,
.next-steps .elementor-field-group-phone {
  margin-right: 6%;
}

.next-steps .elementor-field-group {
  margin-bottom: 40px !important;
}
.next-steps .elementor-field-type-submit {
  margin-bottom: 0px !important;
}

.next-steps label {
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.01em;
  color: #002e33;
  margin-bottom: 6px;
  display: block;
}
.next-steps input {
  border: 1px solid #bdd1d0;
  border-radius: 50px;
  padding: 0 16px;
  line-height: 48px;
  font-family: "Gilroy";
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
}

.next-steps button {
  cursor: pointer;
  min-height: 70px;
}

.borrowing-power-mobile {
  display: none;
}



.thank-you {
  display: none;
}

.thank-you .thank-you-hero {
  float: left;
  width: 100%;
}
.thank-you .thank-you-hero img {
  float: left;
    width: 100%;
    height: auto;
}


.thank-you .thank-you-inner {
  float: left;
  width: 100%;
  background: #FFF;
  text-align: center;
  font-family: 'Gilroy';
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 140%;
  text-align: center;
  letter-spacing: -0.01em;
  color: #002E33;
  padding: 50px;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
}
.thank-you .thank-you-inner strong {
  display: block;  
  font-size: 21px;
  font-weight: 600;
}

.thank-you .thank-you-inner p {
  margin-bottom: 40px;
}

.thank-you .thank-you-inner .elementor-button-link {
  margin: 5px;
}

















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

	.calc-form {
      margin: 0;
  }
	
}

@media only screen and (max-width: 1000px) {
  .left-sticky {
      position: relative;
      top: 0;
  }
  .borrowing-power {
    margin-top:20px;
    margin-right: 0;
  }

  .calc-form {
      display: block;
      margin: 0;
  }

  .calc-left {
    padding-right: 0;
  }

  .question-7 .input-outer, .question-8 .input-outer {
    display: block;
  }

  .question-7 .input-wrapper.first, .question-8 .input-wrapper.first {
    padding-right: 0;
    margin-bottom: 15px;
  }

  .question-9 label, .question-10 label {
    line-height: 1;
  }



}




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

  .question-3 label {
    font-size: 14px;
  }


  .borrowing-power-inner h2 {
    font-size: 14px !important;
    font-size: 15px !important;
    line-height: 30px !important;
    margin: 0 10px 0 0 !important;.
    letter-spacing: -0.25px !important;
  }

  .borrowing-power-inner h3 {
    text-align: right;
    font-size: 24px !important;
    line-height: 30px !important;
    letter-spacing: -0.25px !important;
  }
  
}