:root {
  --box-shadow: 0px 8px 40px rgba(155, 155, 155, 0.25);
  --gradient-purple-pink: linear-gradient(90deg, #380594 0%, #eb5af6 100%);
  --gradient-grape-aqua: linear-gradient(90deg, #6529f6 0%, #42fbfe 100%);
  --viewportWidth: calc(100vw - var(--scrollbarWidth));
  --component-spacing: 80px;
  --navigation-height: 97px;
}
@media (min-width: 768px) {
  :root {
    --component-spacing: 95px;
  }
}
@media (min-width: 1024px) {
  :root {
    --component-spacing: 130px;
    --navigation-height: 164px;
  }
}
@media (min-width: 1280px) {
  :root {
    --navigation-height: 153px;
  }
}

.block-calculator {
  background: var(--Gradient, linear-gradient(0deg, #ad6dab -1.84%, #3a2783 102.11%));
}
.block-calculator .site-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 920px;
  display: flex;
  justify-content: center;
}
.block-calculator[step="0"] .buttons-prev-next {
  display: none;
}
.block-calculator[step="0"] .progression-bar {
  display: none;
}
.block-calculator[step="1"] .buttons-prev-next {
  justify-content: flex-end;
}
.block-calculator[step="1"] .buttons-prev-next .button[type=previous] {
  display: none;
}
.block-calculator[step="5"] .buttons-prev-next .button[type=next] {
  display: none;
}
.block-calculator .calculator-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}
.block-calculator .calculator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 4%;
  left: 0;
  width: 100%;
  flex-wrap: wrap;
}
.block-calculator .calculator-logo {
  filter: brightness(0) invert(1);
  order: 1;
}
.block-calculator .calculator-logo img {
  display: block;
}
.block-calculator .progression-bar {
  display: flex;
  align-items: center;
  order: 3;
  width: 100%;
  margin-top: 12px;
}
.block-calculator .progression-bar__bar {
  width: 188px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  position: relative;
}
.block-calculator .progression-bar__bar::after {
  content: "";
  width: var(--percentage);
  height: 5px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
}
.block-calculator .progression-bar__text {
  font-size: 16px;
  color: white;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  line-height: 1.8;
  margin-left: 20px;
}
.block-calculator .calculator-header,
.block-calculator .buttons-prev-next {
  padding-inline: 24px;
}
.block-calculator .sections {
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
  color: white;
}
.block-calculator .sections section {
  opacity: 0;
  transform: translateY(0);
  transition: all 0.5s ease-in-out;
  position: absolute;
  pointer-events: none;
  width: 100%;
  max-height: 60%;
  overflow: auto;
}
.block-calculator .sections section > * {
  max-width: 82.22%;
  margin-inline: auto;
}
.block-calculator .sections section .title {
  font-size: 32px;
  line-height: 1.5;
  word-spacing: -0.6px;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  margin-bottom: 24px;
}
.block-calculator .sections section .title__big {
  line-height: 1.3;
}
.block-calculator .sections section .title__small {
  font-size: 24px;
}
.block-calculator .sections section .subtitle {
  margin-top: -20px;
  margin-bottom: 16px;
  font-style: italic;
  font-size: 20px;
  color: white;
}
.block-calculator .sections section p {
  font-family: "Catamaran", sans-serif;
  line-height: 2.2;
  font-size: 17px;
  margin-top: 0;
  margin-bottom: 32px;
}
.block-calculator .sections section p strong {
  font-size: 1.2em;
  color: #eb5af6;
}
.block-calculator .sections section .button {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 15px;
  padding: 10px 22px;
}
.block-calculator .sections section .button::before {
  display: none;
}
.block-calculator .sections section .button.white {
  border: 1px solid white;
  background-color: white;
}
.block-calculator .sections section .button:hover {
  border: 1px solid #6529f6;
  background-color: #6529f6;
}
.block-calculator .sections section .button.selected {
  background-color: #eb5af6;
  color: white;
  border: 1px solid #eb5af6;
}
.block-calculator .sections section .button.selected:hover {
  border: 1px solid #eb5af6;
}
.block-calculator .sections section .button:not(:last-of-type) {
  margin-right: 12px;
}
.block-calculator .sections section .col-text .button {
  border: 2px solid white;
  background-color: transparent;
  color: white;
  padding: 16px 80px;
}
.block-calculator .sections section .col-text .button:hover {
  border-color: white;
  background-color: transparent;
  color: white;
}
.block-calculator .sections section .col-form {
  background-color: white;
  border-radius: 12px;
  padding: 32px 20px;
  height: fit-content;
  margin-top: 40px;
  color: black;
}
.block-calculator .sections section .col-form h3 {
  color: black;
  margin-bottom: 24px;
}
.block-calculator .sections section .col-form .gform_wrapper.gravity-theme form {
  color: #333333;
}
.block-calculator .sections section .col-form .gform_wrapper.gravity-theme form input {
  font-size: 14px;
  font-weight: 500;
  font-family: "Quicksand", sans-serif;
  padding: 12px;
  margin: 0;
  border: none;
}
.block-calculator .sections section .col-form .gform_wrapper.gravity-theme form input[type=submit] {
  font-size: 17px;
  font-weight: 700px;
}
.block-calculator .sections section .col-form .gform_wrapper.gravity-theme form .address_city {
  min-width: 100%;
}
.block-calculator .sections section .col-form .gform_wrapper.gravity-theme form .gfield--type-radio * {
  font-size: 14px;
  line-height: 1.5;
}
.block-calculator .sections section .col-form .gform_wrapper.gravity-theme form .gfield--type-radio input {
  height: 12px;
}
.block-calculator .sections section .col-form .gform_wrapper.gravity-theme form .gfield--type-radio .gfield_description {
  padding-top: 6px;
}
.block-calculator .sections section .col-form .gform_wrapper.gravity-theme form .gform-body {
  margin-bottom: 16px;
}
.block-calculator .sections section .col-form .gform_wrapper.gravity-theme form .gform-footer {
  padding: 0;
}
.block-calculator .sections section input:-webkit-autofill,
.block-calculator .sections section input:-webkit-autofill:hover,
.block-calculator .sections section input:-webkit-autofill:focus,
.block-calculator .sections section textarea:-webkit-autofill,
.block-calculator .sections section textarea:-webkit-autofill:hover,
.block-calculator .sections section textarea:-webkit-autofill:focus,
.block-calculator .sections section select:-webkit-autofill,
.block-calculator .sections section select:-webkit-autofill:hover,
.block-calculator .sections section select:-webkit-autofill:focus {
  transition: background-color 5000s ease-in-out 0s;
}
.block-calculator .sections section input {
  font-weight: 600;
  height: 50px;
}
.block-calculator .sections section .input-name {
  display: inline-block;
  padding: 0 !important;
  width: fit-content;
  max-width: 96%;
  background: unset;
  border-bottom: 1px solid white;
  border-radius: 0;
  color: #eb5af6;
  font-size: 32px !important;
}
.block-calculator .sections section .input-name:-webkit-autofill, .block-calculator .sections section .input-name:-webkit-autofill:hover, .block-calculator .sections section .input-name:-webkit-autofill:focus {
  -webkit-text-fill-color: #eb5af6;
}
.block-calculator .sections section .input-name::placeholder {
  color: white;
  font-size: 32px;
  opacity: 0.5;
}
.block-calculator .sections section .kwh-wrapper {
  position: relative;
  width: fit-content;
}
.block-calculator .sections section .kwh-wrapper .input-kwh {
  max-width: 190px;
  padding: 8px 55px 8px 20px !important;
  font-size: 15px !important;
  line-height: 2.2;
  font-weight: 700;
  color: #eb5af6;
}
.block-calculator .sections section .kwh-wrapper .kwh-text {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #333333;
  font-size: 15px;
}
.block-calculator .sections section.enter-active, .block-calculator .sections section.leave-active {
  transition: all 0.5s ease-in-out;
}
.block-calculator .sections section.enter {
  transform: translateY(40vh); /* Beginpositie bij binnenkomst */
  opacity: 0;
}
.block-calculator .sections section.enter-reverse {
  transform: translateY(-40vh); /* Beginpositie bij binnenkomst (previous) */
  opacity: 0;
}
.block-calculator .sections section.enter-to {
  transform: translateY(0); /* Eindpositie bij binnenkomst */
  opacity: 1;
  pointer-events: all;
}
.block-calculator .sections section.leave {
  transform: translateY(0); /* Beginpositie bij verlaten */
  opacity: 1;
}
.block-calculator .sections section.leave-to {
  transform: translateY(-40vh); /* Eindpositie bij verlaten */
  opacity: 0;
  pointer-events: none;
}
.block-calculator .sections section.leave-to-reverse {
  transform: translateY(40vh); /* Eindpositie bij verlaten naar beneden (previous) */
  opacity: 0;
  pointer-events: none;
}
.block-calculator .button {
  outline: unset;
  border: unset;
  cursor: pointer;
  min-width: unset;
  margin: 0;
}
.block-calculator .button.white {
  color: #333333;
}
.block-calculator .button.white:hover {
  color: white;
}
.block-calculator .buttons-prev-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  bottom: 4%;
  width: 100%;
}
.block-calculator .buttons-prev-next .button[type=previous]::before {
  display: none;
}
@media (min-width: 480px) {
  .block-calculator .calculator-header {
    justify-content: flex-end;
    flex-wrap: nowrap;
  }
  .block-calculator .calculator-logo {
    margin-right: auto;
  }
  .block-calculator .progression-bar {
    width: unset;
    margin-top: unset;
  }
  .block-calculator .calculator-logo,
  .block-calculator .progression-bar {
    order: unset;
  }
}
@media (min-width: 768px) {
  .block-calculator .calculator-header,
  .block-calculator .sections section,
  .block-calculator .buttons-prev-next {
    padding-inline: 4%;
  }
  .block-calculator .progression-bar__bar {
    width: 248px;
  }
  .block-calculator .sections {
    justify-content: center;
  }
  .block-calculator .sections section {
    max-height: 70%;
  }
  .block-calculator .sections section[step="0"] {
    text-align: center;
  }
  .block-calculator .sections section[step="0"] > * {
    max-width: 720px;
  }
  .block-calculator .sections section[step="0"] .title {
    font-size: 48px;
  }
  .block-calculator .sections section[step="0"] .title__small {
    font-size: 36px;
  }
  .block-calculator .sections section[step="1"] > * {
    max-width: 650px;
  }
  .block-calculator .sections section[step="2"] > * {
    max-width: 764px;
  }
  .block-calculator .sections section[step="3"] > * {
    max-width: 650px;
  }
  .block-calculator .sections section[step="4"] > * {
    max-width: 600px;
  }
  .block-calculator .sections section[step="5"] > * {
    max-width: 605px;
  }
  .block-calculator .sections section .title {
    font-size: 40px;
  }
  .block-calculator .sections section .button {
    font-size: 17px;
    padding: 12px 32px;
  }
  .block-calculator .sections section .input-name {
    font-size: 40px !important;
    width: 350px;
  }
  .block-calculator .sections section .input-name::placeholder {
    font-size: 40px;
  }
}
@media (min-width: 1280px) {
  .block-calculator .sections section[step="5"] > * {
    max-width: 1100px;
  }
  .block-calculator .sections section[step="5"] .two-col {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    column-gap: 16px;
  }
  .block-calculator .sections section[step="5"] .two-col .col-text {
    grid-column: span 4;
    padding-top: 20px;
  }
  .block-calculator .sections section[step="5"] .two-col .col-text p {
    font-size: 17px;
  }
  .block-calculator .sections section[step="5"] .two-col .col-form {
    grid-column: 6/-1;
    margin-top: 0;
  }
}
@media (min-width: 1921px) {
  .block-calculator .calculator-logo img {
    width: 190px;
  }
  .block-calculator .sections section {
    max-height: 80%;
  }
  .block-calculator .sections section[step="1"] > * {
    max-width: 650px;
  }
  .block-calculator .sections section[step="2"] > * {
    max-width: 810px;
  }
  .block-calculator .sections section[step="3"] > * {
    max-width: 810px;
  }
  .block-calculator .sections section[step="4"] > * {
    max-width: 810px;
  }
  .block-calculator .sections section .title {
    font-size: 60px;
  }
  .block-calculator .sections section .button {
    font-size: 18px;
    padding: 16px 36px;
  }
  .block-calculator .sections section .input-name {
    font-size: 60px !important;
    width: 520px;
  }
  .block-calculator .sections section .input-name::placeholder {
    font-size: 60px;
  }
  .block-calculator .sections section .kwh-wrapper .input-kwh {
    padding: 12px 60px 12px 24px !important;
    font-size: 24px !important;
  }
  .block-calculator .sections section .kwh-wrapper .kwh-text {
    font-size: 20px;
  }
  .block-calculator .sections section p {
    font-size: 20px;
  }
}