/*
Other root defenitions
 --svp-yellow: #FDBE16;
  --svp-yellow-light: #FFD566;
  --svp-primary: #0079C1;
  --svp-blue: #375caa;
  --svp-yellow-hover: #FFD566;
  --svp-text-color: #062134;
  --mesl-blue3: #06B1CC;
  --mesl-red: #B42025;
  --mesl-seablue-light:#82D8D3;
*/

:root {
  --MESL-Blue1: #014f82;
  --MESL-Seablue: #61c6c0;
  --MESL-Blue2-light: #84c7f7;
  --MESL-Graphite: #062134;
}

html {
  height: 100%;
}

html.calculator_html {
  overflow-x: hidden;
}

body.meslmic-calculator-page {
  font-size: 16px;
  font-weight: 400;
  height: 100%;
  padding-bottom: 74px;
}

body.meslmic-calculator-page #page {
  /* height: 100%; */
}

/* Calculator Headers */
.site_header.form_calculator_header {
  height: auto;
}

.site_header.calculator_header .head_main,
.site_header.form_calculator_header .head_main {
  border-bottom: 2px solid var(--svp-primary);
  padding: 24px 0 12px 0;
  background-color: #f4f4f5;
}

.site_header.calculator_header .header_wrapper {
  justify-content: center;
}

.site_header.form_calculator_header .head_main {
  padding: 12px 20px 12px 20px;
  height: auto;
}

header.site_header.form_calculator_header .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site_header.form_calculator_header .header_wrapper {
  align-items: center;
}

.site_header.form_calculator_header .site_logo {
  padding: 0;
}

.calc_info_icon {
  display: block;
  width: 36px;
  height: 36px;
  background: url(../img/calc-info-icon.svg) no-repeat;
}

/* Progress bar */
.progress_bar_container {
  display: flex;
  justify-content: center;
  padding-bottom: 12px;
}

.progress_bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.progress_bar:after {
  content: '';
  position: absolute;
  height: 2px;
  width: calc(100% - 10px);
  margin: auto;
  top: 5px;
  background-color: var(--MESL-Blue1);
  z-index: 0;
}

.progress_bar .calc_progress_step {
  width: calc(100% / 8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.progress_bar .calc_progress_step .progress_indicator {
  background-color: #f4f4f5;
  position: relative;
  display: inline-flex;
  height: 10px;
  width: 100%;
  border-radius: 50vh;
  border: 2px solid var(--MESL-Blue1);
  z-index: 2;
}

.progress_bar .calc_progress_step.active .progress_indicator {
  background-color: var(--MESL-Blue1);
}

.progress_bar .calc_progress_step .progress_label {
  display: block;
  font-size: 14px;
  color: #000;
}

.progress_bar .calc_progress_step.is_navigable {
  cursor: pointer;
}

.progress_bar .calc_progress_step.is_navigable .progress_indicator {
  transition: background-color 0.2s ease-in-out;
}

.progress_bar .calc_progress_step.is_navigable:hover .progress_indicator {
  background-color: var(--MESL-Blue1);
}

.calc_heading {
  font-family: 'futura-pt-bold', sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 28px;
  width: 100%;
}

.calculator_main {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  font-family: 'Open Sans';
}

.calculator_main .internal_banner {
  clip-path: none;
  -webkit-clip-path: none;
  margin-bottom: 0;
  width: 100%;
  height: 28vh;
  position: relative;
}

.calculator_main .internal_banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: unset;
  max-height: unset;
}

.start_section {
  padding: 30px 0 50px 0;
}

.main_description_container {
  margin-bottom: 16px;
}

.svp_button_primary.calc_btn {
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 4px;
  background: var(--MESL-Blue1);
  font-family: 'Open Sans';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1);
  min-width: 320px;
}

.svp_button_primary.calc_btn i.arrow-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  background: url('../img/btn-arrow.svg') no-repeat;
  margin-left: 2px;
}

.how_section {
  position: relative;
  padding: 60px 0px 60px;
  overflow: hidden;
  background: var(--svp-yellow) !important;
  -webkit-clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 calc(100% - 30px));
  clip-path: polygon(0 0, 100% 30px, 100% 100%, 0 calc(100% - 30px));
  margin-top: -16px;
  z-index: 2;
}

.how_section:before {
  content: '';
  background: url(../../../images/quick-links-bg.svg) no-repeat top left;
  display: inline-block;
  position: absolute;
  width: 100px;
  height: 70px;
  background-size: 100% auto;
  top: 0px;
  left: 0;
}

.how_section .calc_heading {
  margin-bottom: 20px;
}

.how_content > p {
  margin-bottom: 20px;
}

.how_content ul {
  padding: 0 20px;
}

.how_content ul li {
  list-style: disc;
}

.how_content ul li::marker {
  font-size: 12px;
}

.faq_section {
  padding: 40px 0;
}

.faq_question {
  border-bottom: 2px solid #e4e4e4;
}

.faq_question_title {
  position: relative;
  text-align: left;
  display: block;
  background: none;
  border-radius: unset;
  color: #000;
  font-family: 'futura-pt-bold', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 28px;
  cursor: pointer;
  padding: 16px 16px 16px 0;
}

.faq_question_title:after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  background: url(../img/footer_plus_black.svg) no-repeat center;
  height: 100%;
  width: 16px;
}

.faq_question_title.ui-accordion-header-active:after {
  background: url(../img/minus-black.svg) no-repeat center;
}

.faq_question:last-child {
  border-bottom: none;
}

.faq_question_answer {
  padding: 0 0 16px 0;
}

/* All steps */

#mesl_calculator_form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.calculator_inner {
  display: flex;
  align-content: center;
  align-items: center;
  height: 100%;
}

#form_inner {
  width: 100%;
  height: 100%;
}

.calc_step {
  width: 100%;
  padding-top: 60px;
}

.form-step.step-inner {
  width: 100%;
  padding-bottom: 70px;
}

.form-step .calc_btn {
  width: 100%;
  display: flex;

  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1);
}

.form-step .calc_btn_primary {
  background-color: var(--MESL-Blue1);
  border: 2px solid var(--MESL-Blue1);
  color: #fff;
}

.form-step .calc_btn_secondary {
  background-color: #fff;
  border: 2px solid #006db6;
  color: var(--MESL-Blue1);
}

.calculator_main select {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  padding: 0 16px;
  margin: 0 -16px;
  cursor: pointer;
}

.calculator_main .custom_select {
  width: 100%;
}

.calculator_main .custom_select .select_inner_wrapper {
  position: relative;
  width: 100%;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #999;
  height: auto;
  font-size: 16px;
  color: #000;
  padding: 8px 16px;
  background-color: #fff;
}

.calculator_main
  .custom_select
  .select_inner_wrapper:has(.select2-container--open) {
  -webkit-border-radius: 8px;
  -webkit-border-bottom-right-radius: 0;
  -webkit-border-bottom-left-radius: 0;
  -moz-border-radius: 8px;
  -moz-border-radius-bottomright: 0;
  -moz-border-radius-bottomleft: 0;
  border-radius: 8px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.calculator_main .select2-container.select2-container--open {
  z-index: 9999;
}

.calculator_main
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  border: none;
  background: url('../img/select-arrow.svg') no-repeat;
  background-position: center;
  width: 42px;
  padding-left: 12px;
  height: 100%;
  border-left: 1px solid #979797;
}

.calculator_main
  .has_currency_select
  .select2-container
  .select2-selection--single
  .select2-selection__rendered {
  display: inline;
  border-radius: 32px;
  background: #e6f2f9;
  border: none;
  padding: 0 9px;
  margin-left: 12px;
}

/* 
.calculator_main .custom_select .select_inner_wrapper .select_arrow{
  position: absolute;
  top:8px;
  right:0;
  width:46px;
  height:calc(100% - 16px);
  background-image: url('../img/select-arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
  padding-left: 12px;
  border-left: 1px solid #979797;
} */

.calculator_main .select2-container--open .select2-dropdown {
  top: calc(100% + 8px);
  width: calc(100% + 2px) !important;
  left: -18px;
}

.calculator_main
  .has_currency_select
  .select2-container--open
  .select2-dropdown {
  width: auto !important;
  margin-left: 0;
  left: 0;
}

.calculator_main
  .has_currency_select
  .custom_select
  .select_inner_wrapper
  .select_arrow {
  border-left: none;
}
.calculator_main .select2-container--default .select2-selection--single {
  border: none;
}

.calculator_main
  .select2-container
  .select2-selection--single
  .select2-selection__rendered {
  padding: 0;
}

.calculator_main
  .has_currency_select
  .select2-container
  .select2-selection--single
  .select2-selection__rendered {
  padding: 0 12px;
}

.calculator_main
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
}

.calculator_main
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  width: 30px;
}

.title_wrapper {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

@-webkit-keyframes rotate-forever {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes rotate-forever {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotate-forever {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.calc_btn.loading-spinner:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  opacity: 0.3;
  -webkit-animation-duration: 0.75s;
  -moz-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: rotate-forever;
  -moz-animation-name: rotate-forever;
  animation-name: rotate-forever;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
  animation-timing-function: linear;
  height: 30px;
  width: 30px;
  border: 8px solid #ffffff;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
}

#backBtn.loading-spinner:before {
  border: 8px solid var(--svp-text-color);
  border-right-color: transparent;
}

.modal-content {
  display: flex;
  padding: 25px 40px 40px 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1);
}

.modal-header {
  padding: 0;
  border: none;
  justify-content: flex-start;
  width:100%;
}

.modal-body {
  width: 100%;
  display: flex;
  padding: 0;
  flex-direction: column;
  gap: 20px;
}

.modal-body .button-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-body .button-wrapper button {
  font-family: 'Open Sans';
  font-size: 16px;
  line-height: 28px;
  font-weight: 700;
}

.mesl_button_secondary {
  background-color: #fff;
  border: 2px solid #006db6;
  color: var(--MESL-Blue1);
  width: 100%;
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 4px;
  font-weight: 700;
}

/* Step 01 */
#form-step-01 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#form-step-01 .form-step {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.btn_container {
  margin: 30px 0;
  width: 100%;
}

button[data-type='urban'] {
  margin-bottom: 10px;
}

button[data-type='urban'] .icon {
  display: inline-flex;
  width: 24px;
  height: 19.2px;
  background: url('../img/urban-icon.svg') no-repeat;
}

button[data-type='rural'] .icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  background: url('../img/rural-icon.svg') no-repeat;
}

.calculator-footer[data-step='1'] #nextBtn {
  opacity: 0;
  visibility: hidden;
  z-index: -1;
}

/* Step 02 */
#form-step-02 .calc_heading {
  margin-bottom: 8px;
}

.calc_subtitle {
  line-height: 28px;
}

.persons-inputs {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 15px;
  grid-row-gap: 15px;
  margin: 16px 0;
}

.person-input {
  display: flex;
  width: 100%;
  padding: 16px 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  aspect-ratio: 80/91;
}

.person-input.adult-input {
  background-color: var(--MESL-Seablue);
}

.person-input.children-input {
  background-color: var(--MESL-Blue2-light);
}

.person-input.older-adult-input {
  background-color: var(--svp-yellow);
}

.person-input.disabled {
  background-color: #f4f4f5 !important;
}

.person-input.adult-input .image-container {
  width: 75%;
  margin: auto;
}

.person-input.children-input .image-container {
  width: 58.8%;
  margin: auto;
}

.person-input.older-adult-input .image-container {
  width: 79.4%;
  margin: auto;
}

.person-input.disabled .image-container img {
  opacity: 25%;
}

.person-input .image-container img {
  width: 100%;
}

.person-input .title {
  color: var(--MESL-Graphite);
  font-family: 'futura-pt-bold', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

.person-input.disabled .title {
  color: #bbb;
}

.counter {
  width: 100%;
  display: flex;
  align-items: center;
}

.counter-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background-color: var(--MESL-Blue1);
  flex: 0 0 42px;
  position: relative;
}

.person-input.disabled .counter-btn {
  background-color: #bbb;
  pointer-events: none;
}

.counter-btn.minus {
  background-image: url('../img/minus.svg');
  background-repeat: no-repeat;
  background-position: center;
}

.counter-btn.plus {
  background-image: url('../img/plus.svg');
  background-repeat: no-repeat;
  background-position: center;
}

.person-counter[type='number'] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
  text-align: center;
  width: calc(100% - 42px);
  height: 100%;
  background-color: #fff;
  margin: 0 -21px 0 -21px;
  border: none;
  font-size: 16px;
  line-height: 28px;
  font-weight: 700;
}

.person-counter[type='number']::-webkit-inner-spin-button,
.person-counter[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

/* Step 03 */
#form-step-03 .select_outer_wrapper {
  margin-bottom: 20px;
}

#form-step-03 .select_outer_wrapper:last-child {
  margin-bottom: 0;
}

.employment_status_wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.employment_status_wrapper > label,
.has_currency_select,
.child_age_wrapper > label,
.pension_wrapper > label {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon_wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 28px;
  width: calc(30% - 20px);
  flex-shrink: 0;
}

.employment_status_wrapper .select_inner_wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-shrink: 1;
}

.select_inner_wrapper .select2-container {
  width: 100% !important;
}

.has_currency_select .select_inner_wrapper {
  border-radius: 8px;
  border: 1px solid #999;
  display: flex;
  align-items: center;
  flex-direction: row;
}

/* .full_time_income .select_inner_wrapper .select2-container--default .select2-selection--single{
  border: none;
  border-radius: 0;
  padding:8px 0;
  background-color: transparent;
} */

.full_time_income.has_currency_select .select_outer_wrapper,
.full_time_income.has_currency_select .select_outer_wrapper > label {
  width: 100%;
  flex: 0 0 70%;
}

.has_currency_select .select_outer_wrapper {
  width: 100%;
  flex: 0 0 100%;
}

.select_inner_wrapper .currencyField,
.select_inner_wrapper:has(.numeric_select) .select2-container {
  width: 50% !important;
}

.select_inner_wrapper .currencyField {
  position: relative;
  max-width: 50%;
  margin-left: 0;
  padding-left: 16px;
  border: none;
  border-right: 1px solid #979797;
  background: url('../img/euro-sm.svg') no-repeat;
  background-position: left center;
}

.full_time_income
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border: none;
}

.child_age_wrapper .select_inner_wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.employment_container,
.child_age_container {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.child_age_container,
.older_adults_container {
  padding-top: 36px;
}

/* Step 04 */

.housing_type .currency_input_wrapper {
  display: flex;
  flex-direction: column;
}

.currency_input_inner_wrapper {
  position: relative;
  width: 100%;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid #999;
  height: auto;
  font-size: 16px;
  color: #000;
  padding: 8px 16px;
  background-color: #fff;
}

.select_inner_wrapper .currency_input_inner_wrapper .currencyField {
  max-width: 100%;
  width: 100% !important;
  border: none;
}

#additional_expenses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

/* Step 05 */
.results-bar {
  position: relative;
  display: flex;
  width: 100%;
  background-color: var(--MESL-Blue1);
  border-bottom: 4px solid var(--MESL-Seablue);
  color: #fff;
  font-weight: 400;
}

.results-bar:before,
.results-bar:after {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  overflow: hidden;
  height: calc(100% + 4px);
  background-color: var(--MESL-Blue1);
  border-bottom: 4px solid var(--MESL-Seablue);
}

.results-bar:before {
  left: -100%;
}
.results-bar:after {
  right: -100%;
}

.results-bar .results-bar-inner {
  display: flex;
  width: 100%;
  justify-content: space-evenly;
  flex-wrap: wrap;
  padding: 20px 0;
}

.results-bar-inner > li {
  padding: 8px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 33.33%;
}

.results-bar-inner > li .text {
  text-align: center;
  font-size: 16px;
  line-height: normal;
  letter-spacing: 1px;
}

.results-bar-inner > li:not(:first-child):before {
  content: '';
  position: absolute;
  height: 60%;
  width: 1px;
  left: 0;
  background-color: var(--MESL-Graphite);
}

.household-members .icons {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.step5-icon {
  display: inline-flex;
  width: 15px;
  height: 25px;
  background-repeat: no-repeat;
}

.step5-icon.adult-icon,
.step5-icon.older-adult-icon {
  background-image: url('../img/person1-icon.svg');
}

.step5-icon.adult-icon:nth-child(2),
.step5-icon.older-adult-icon:nth-child(2) {
  background-image: url('../img/person2-icon.svg');
}

.step5-icon.child-icon {
  width: 11px;
  height: 17px;
}

.step5-icon.child-icon:nth-child(odd) {
  background-image: url('../img/child1-icon.svg');
}

.step5-icon.child-icon:nth-child(even) {
  background-image: url('../img/child2-icon.svg');
}

.household-type .house-icon {
  display: inline-flex;
  width: 24px;
  height: 19px;
  background-repeat: no-repeat;
}

.household-type .urban-icon {
  background-image: url(../img/urban-icon.svg);
}

.household-type .rural-icon {
  background-image: url(../img/rural-icon-w.svg);
}

.results-bar .results-dropdown {
  display: none;
}

.results-all {
  position: relative;
  cursor: pointer;
}

.results-all .text {
  position: relative;
  display: flex;
  gap: 16px;
  align-items: center;
}

.results-all .text:after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 6px 0 6px;
  border-color: #fff transparent transparent transparent;
  transition: all 0.3s ease-in-out;
}

.results-all.open .text:after {
  transform: rotate(180deg);
}

.results-dropdown {
  width: 100%;
}

.results-dropdown .result-block {
  padding: 22px 16px;
  border-bottom: 1px solid var(--MESL-Graphite);
}

.results-dropdown .result-block .result-heading {
  font-weight: 700;
  font-size: 18px;
  line-height: normal;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.results-dropdown .result-block .result-value {
  display: block;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  letter-spacing: 1px;
  margin-bottom: 3px;
}

.results-dropdown .result-block:first-child {
  border-top: 1px solid var(--MESL-Graphite);
}

.results-dropdown .result-block:last-child {
  border-bottom: none;
}

.income-expend {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  color: #000;
  padding: 16px 0;
}

.income-expend .income-val {
  font-family: 'futura-pt-bold', sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 26px;
}

.income-expend .euro-icon {
  width: 48px;
  height: 43px;
  display: inline-flex;
  background-repeat: no-repeat;
  background-position: center;
}

.income-expend .house-income > ul,
.income-expend .house-expend > ul {
  border-bottom: 4px solid var(--MESL-Seablue, #61c6c0);
}

.income-expend .house-income .euro-icon {
  background-image: url('../img/euro-income.svg');
}

.income-expend .house-expend .euro-icon {
  background-image: url('../img/euro-income.svg');
}

.income-expend .house-expend .expend-heading .euro-icon {
  background-image: url('../img/euro-expend.svg');
}

.income-expend .accordion-heading {
  padding: 12px 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  justify-content: space-between;
}

.income-expend .accordion-heading-inner {
  display: flex;
  gap: 12px;
}

.income-expend .pre-heading {
  width: 100%;
  display: block;
  margin-bottom: 3px;
}

.accordion-heading {
  position: relative;
}

.accordion-heading:after {
  content: '';
  display: inline-block;
  width: 64px;
  height: 64px;
  background-image: url('../img/accordion-plus-blue.svg');
  background-repeat: no-repeat;
  transition: all 0.2s ease-in-out;
}

.accordion-heading.open:after {
  background-image: url('../img/accordion-minus-blue.svg');
}

.expend-heading.accordion-heading:after {
  background-image: url('../img/accordion-plus-blk.svg');
}

.accordion-heading.open:after {
  background-image: url('../img/accordion-minus-blk.svg');
}

.accordion-dropdown {
  padding: 0 12px 12px 12px;
  display: none;
}

.accordion-dropdown > li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid #bbb;
  font-size: 16px;
}

.accordion-dropdown > li.income-highlight {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
}

.accordion-dropdown > li.has-minus .currency-symbol {
  margin-left: 3px;
}

.accordion-dropdown .income-type-value {
  font-weight: 700;
}

.accordion-dropdown .currency-symbol {
  margin-right: 3px;
}

.accordion-dropdown .result-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  /*background: url('../img/icon-apple.svg'); */
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
}

.accordion-dropdown .icon-food {
  background-image: url('../img/icon-food.svg');
}

.accordion-dropdown .icon-clothing {
  background-image: url('../img/icon-clothing.svg');
}

.accordion-dropdown .icon-care {
  background-image: url('../img/icon-care.svg');
}

.accordion-dropdown .icon-health {
  background-image: url('../img/icon-health.svg');
}

.accordion-dropdown .icon-goods {
  background-image: url('../img/icon-goods.svg');
}

.accordion-dropdown .icon-services {
  background-image: url('../img/icon-services.svg');
}

.accordion-dropdown .icon-comms {
  background-image: url('../img/icon-comms.svg');
}

.accordion-dropdown .icon-social {
  background-image: url('../img/icon-social.svg');
}

.accordion-dropdown .icon-education {
  background-image: url('../img/icon-education.svg');
}

.accordion-dropdown .icon-transport {
  background-image: url('../img/icon-transport.svg');
}

.accordion-dropdown .icon-energy {
  background-image: url('../img/icon-energy.svg');
}

.accordion-dropdown .icon-personal {
  background-image: url('../img/icon-personal.svg');
}

.accordion-dropdown .icon-childcare {
  background-image: url('../img/icon-childcare.svg');
}

.accordion-dropdown .icon-insurance {
  background-image: url('../img/icon-insurance.svg');
}

.accordion-dropdown .icon-savings {
  background-image: url('../img/icon-savings.svg');
}

.accordion-dropdown .icon-housing {
  background-image: url('../img/icon-housing.svg');
}

.house-expend .income-type-heading {
  display: flex;
  flex-direction: column;
}

.house-expend .expend-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.house-expend .expend-value {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.house-expend .income-type-heading > span:first-child,
.house-expend .expend-value .income-type-value {
  font-family: 'futura-pt-bold', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.download-start {
  display: flex;
  gap: 10px;
  padding: 24px 0;
  justify-content: center;
}

.mesl_button_primary {
  background-color: var(--MESL-Blue1);
  color: #fff;
  font-family: 'futura-pt', sans-serif;
  font-size: 20px;
  font-weight: 450;
}

#downloadReport,
#startAgain {
  display: flex;
  align-items: center;
  flex: 0 0 50%;
  text-align: center;
  justify-content: center;
}

#downloadReport .dl-icon,
#startAgain .st-icon {
  display: inline-flex;
  background-repeat: no-repeat;
}
#downloadReport .dl-icon {
  background-image: url('../img/download-icon.svg');
  width: 32px;
  height: 32px;
}

#startAgain {
  background-color: transparent;
  box-shadow: none;
  font-size: 16px;
  color: var(--MESL-Blue1);
  font-weight: 700;
}

#startAgain .st-icon {
  background-image: url('../img/restart-icon.svg');
  width: 25px;
  height: 24px;
}

.more-info {
  display: flex;
  gap: 20px;
  padding-top: 20px;
}

.more-info .more-info-box {
  padding: 20px;
  background-color: #f4f4f5;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 28px;
}

.more-info .more-info-box h2,
.more-info .more-info-box h3,
.more-info .more-info-box h4,
.more-info .more-info-box h5 {
  font-family: 'futura-pt-bold', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}

/* Calculator Footer */
.calculator-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--svp-yellow);
  z-index: 9997;
}

.calculator-footer .footer-inner {
  display: flex;
  padding: 12px 0;
  justify-content: space-between;
  align-items: center;
}

.calc_btn {
  font-weight: 700;
  line-height: 28px;
  position: relative;
}

.calc_btn.next_btn {
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 700;
  background-color: var(--MESL-Blue1);
  color: #fff;
  cursor: pointer;
}

.calc_btn.next_btn.disabled,
.calc_btn.next_btn:disabled {
  background-color: #bbb;
  color: #808285;
}

.calc_btn.next_btn.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.calc_btn.back_btn {
  color: var(--svp-text-color);
  display: flex;
  align-items: center;
  gap: 4px;
}

.calc_btn.back_btn .icon {
  display: inline-flex;
  width: 12px;
  height: 12px;
  background: url('../img/back-arrow.svg') no-repeat;
}

.housing_type {
  padding: 20px 0;
}

.pristine-error {
  color: #bf0f0f;
  font-size: 14px;
  padding: 0 10px;
  border: 1px solid #bf0f0f;
  margin-top: 2px;
  border-radius: 4px;
  display: inline-flex;
  margin-bottom: 10px;
}

.calculator-footer[data-step='5'] {
  display: none;
  opacity: 0;
  visibility: hidden;
}

.results-navigation {
  position: relative;
  background-color: var(--svp-yellow);
}

.results-navigation[data-step='5'] {
  padding: 12px 0;
}

.results-navigation[data-step='5'] .calc_btn.back_btn {
  display: inline-flex;
}

.results-navigation:before,
.results-navigation:after {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: var(--svp-yellow);
}

.results-navigation:before {
  left: -100%;
}

.results-navigation:after {
  right: -100%;
}

.limit-notification {
  font-size: 0.9em;
  margin-top: 5px;
  display: block;
  color: red;
}

.modal-dialog {
  max-width: 50%;
}

#helpModal button.close {
  border: none;
  outline: none;
  background: url(../img/close-icon.svg) center no-repeat;
  width: 25px;
  height: 25px;
  background-size: contain;
}

.results-text {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.results_text_1 {
  font-weight: 700;
}

.results_text_1,
.results_text_2,
.results_text_3,
.results_text_4 {
  display: block;
}

.results_text_amount {
  font-family: 'futura-pt-bold', sans-serif;
  display: block;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 48px;
}

.results_text_4 {
  font-family: 'futura-pt-bold', sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 600;
  line-height: 36px;
}

.results_text_amount_sm {
  font-family: 'Open Sans';
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
}

.results_text_6_amnt,
.results_text_7_amnt{
  font-weight: 700;
}

/* Media queries */
@media (max-width: 1199px) {
  .meslmic-calculator-page .internal_banner img {
    max-height: 50vh;
    min-height: unset;
  }
}

@media (max-width: 991px) {
  .calculator-footer {
    padding: 0 20px;
  }
}

@media (max-width: 620px) {
  body.meslmic-calculator-page{
    overflow-x: hidden;
  }

  .persons-inputs {
    grid-template-columns: repeat(2, 1fr);
  }

  .person-input {
    aspect-ratio: unset;
  }

  .counter-btn {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
  }

  .modal-dialog {
    max-width: 80%;
    margin: auto;
  }

  .employment_container,
  .child_age_container,
  .older_adults_container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }

  .child_age_container,
  .older_adults_container {
    padding: 20px 0;
  }

  .employment_status_wrapper > label,
  .has_currency_select,
  .child_age_wrapper > label,
  .pension_wrapper > label {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  #form-step-03 .select_outer_wrapper:last-child {
    margin-bottom: 20px;
  }

  .icon_wrapper {
    padding-top: 0;
    width: 100%;
  }

  .icon_wrapper:empty {
    display: none;
  }

  .calculator_html .select2-container {
    z-index: 9;
  }

  #additional_expenses {
    grid-template-columns: repeat(1, 1fr);
  }

  .select2-container--default .select2-results > .select2-results__options {
    scrollbar-width: thin;
    scrollbar-color: var(--MESL-Blue1) #f5f5f5;
    overflow-y: scroll;
  }

  /* For WebKit-based browsers (Chrome, Safari, iOS) */
  .select2-container--default
    .select2-results
    > .select2-results__options::-webkit-scrollbar {
    width: 8px;
  }

  .select2-container--default
    .select2-results
    > .select2-results__options::-webkit-scrollbar-thumb {
    background-color: var(--MESL-Blue1);
    border-radius: 10px;
  }

  .select2-container--default
    .select2-results
    > .select2-results__options::-webkit-scrollbar-track {
    background-color: #f5f5f5;
  }

  .select2-container--default .select2-results > .select2-results__options {
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
  }

  .download-start,
  .more-info {
    flex-direction: column;
  }

  .progress_bar .calc_progress_step{
    width: calc(100% / 6);
  }

  .house-expend .expend-title{
    align-items: flex-start;
  }

  .accordion-dropdown .result-icon{
    background-size: contain;
  }

}

@media (max-width: 375px) {
  .household-members .icons{
    flex-direction: column;
    align-items: center;
    gap:5px;
  }
}

@media print {
  body *:not(.printable):not(.printable *) {
    visibility: hidden;
    height: 0;
  }

  .printable,
  .printable *,
  .site_logo,
  .site_logo * {
    visibility: visible !important;
    height: auto;
    width: auto;
    overflow: visible;
    position: static;
    color: #000 !important;
  }

  .printable {
    position: relative;
    left: 0;
    top: 0;
    height: auto;
    width: 100%;
    overflow: visible;
  }

  .results-dropdown {
    display: block !important;
    width: 100%;
  }

  .accordion-dropdown {
    display: block !important;
  }

  .accordion-heading-inner > i,
  .accordion-dropdown .result-icon {
    display: none !important;
  }
}
