body {
  font-family: "Unbounded", sans-serif !important;
}

.slider .flex .items {
  /* overflow: hidden; */
  scrollbar-width: none;
  /* padding-right: 335px; */
}

.faq-wrapper h3 {
  font-size: 44px;
  font-weight: 700;
  text-align: center;
  color: #0a1c57;
  margin-bottom: 38px;
}

.arrows img {
  position: relative !important;
}

.accordion-header p {
  font-size: 16px;
  font-weight: 700;
  color: #0a1c57;
  display: flex;
  align-items: center;
  width: 100%;
  cursor: pointer;
}

.accordion-header p svg {
  margin-left: auto;
  height: 22px;
  width: 22px;
  min-width: 22px;
}

.accordion-header p svg:nth-child(2) {
  display: none;
}

.accordion-body .content {
  font-size: 16px;
  line-height: 32px;
}

.accordion-card {
  margin-bottom: 32px;
}

.accordion-body {
  max-height: 0px;
  overflow: hidden;
}

.accordion-card.active .accordion-body {
  max-height: 450px;
}

.accordion-card.active .accordion-header p {
  color: rgba(245, 155, 31, 1);
  margin-bottom: 20px;
}

.accordion-card.active .accordion-header p svg:nth-child(2) {
  display: block;
}

.accordion-card.active .accordion-header p svg:nth-child(1) {
  display: none;
}

.accordion {
  max-width: 800px;
  margin: 52px auto;
}

.form-container .form-buttons-container .form-next-button {
  background-color: #f59b1f;
  height: 56px;
  width: 250px;
}

.form-group-checkbox .form-checkbox-label > label::before {
  top: 3px;
  border: 2px solid #0a1c57 !important;
}

.form-group-checkbox .form-checkbox-label > label:hover::before,
.form-group-checkbox
  > input[type="checkbox"]:hover
  + .form-checkbox-label
  > label::before {
  background-color: #12d281;
}

.form-group-checkbox
  > input[type="checkbox"]:checked
  + .form-checkbox-label
  > label::before {
  border-color: #12d281 !important;
  background-color: #12d281;
  color: #0a1c57;
}

.form-group-checkbox.has-error .form-checkbox-label > label::before {
  border-color: #d04545 !important;
}

.show_consent_modal {
  color: #0a1c57;
  text-decoration: underline;
}
.show_consent_modal:hover {
  color: #12d281;
  text-decoration: underline;
}
.form-container .form-fields-container .form-row {
  gap: 32px;
}

.form-container .form-fields-container .form-row .form-control {
  margin-bottom: 32px;
  background-color: #fff !important;
}

.form-group-date select.form-control {
  box-shadow: 0 0 0px 1000px #fff inset !important;
}

.form-container .form-check {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
}

.form-container .form-row .form-radio-group > label {
  position: relative;
  left: 0;
  top: auto;
  margin-bottom: 24px;
  font-size: 20px;
  color: #0a1c57;
  font-weight: 700;
}

.form-container .form-check label {
  position: relative !important;
  margin-bottom: 0;
  color: #0a1c57 !important;
  top: auto !important;
  left: auto !important;
  pointer-events: all !important;
  cursor: pointer !important;
}

.form-container #form-date-step-3 select {
  margin-bottom: 0 !important;
}

[for="LeadForm-neto_income"],
[for="LeadForm-employment_start_date"],
[for="LeadForm-monthly_expenses"],
[for="LeadForm-remuneration_deadline"] {
  top: -11px !important;
}

.field-LeadForm-occupation .form-radio-group .form-check {
  display: inline-flex;
  min-width: 45%;
}

#form-selector-step-4.field-LeadForm-car_owner .form-radio-group,
#form-selector-step-3 .form-radio-group {
  display: flex;
  margin-bottom: 24px;
  gap: 16px;
  align-items: center;
}

#form-selector-step-4.field-LeadForm-car_owner .control-label,
#form-selector-step-3 .form-radio-group .control-label {
  margin-bottom: 0;
}

#form-selector-step-4.field-LeadForm-car_owner .form-check,
#form-selector-step-3 .form-radio-group .form-check {
  margin-top: 0;
}

label {
  display: block;
  color: #0a1c57;
  font-weight: 400;
  font-size: 16px;
}

.form-group {
  position: relative;
}

.form-group:not(.form-group-checkbox) label {
  position: absolute;
  color: #0a1c57;
  top: 17px;
  left: 20px;
  font-size: 16px;
  font-weight: 400;
  padding: 0 4px;
  pointer-events: none;
  background: #fff;
}

.field-LeadForm-google-recaptcha {
  display: none;
}

.form-control:focus {
  border-color: #0a1c57;
}


.form-group input:focus + .control-label,
.form-group input:not(:placeholder-shown) + .control-label,
.form-control::focus ~ .control-label,
.form-control:focus ~ .control-label,
.form-control:not(:placeholder-shown) ~ .control-label {
  top: -10px;
  background: #fff;
  z-index: 2;
}

.form-previous-button .form-previous-button-content img {
  display: none;
}

body
  .form-container
  .form-buttons-container
  .form-previous-button
  .form-previous-button-content
  .text {
  color: #0a1c57;
  font-family: Unbounded;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0.02em;
  text-align: left;
}

body .form-container .form-buttons-container .form-previous-button {
  border: 2px solid #0a1c57;
  background: transparent;
  height: 56px;
  width: 167px;
}

body
  .form-container
  .form-buttons-container
  .form-previous-button
  .form-previous-button-content
  .text,
body
  .form-container
  .form-buttons-container
  .form-next-button
  .form-next-button-content
  .text {
  color: #0a1c57;
  font-family: Unbounded;
  font-size: 16px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0.02em;
  width: auto;
  height: auto;
}

body .form-container .form-buttons-container .form-previous-button {
  visibility: visible !important;
}

body
  .form-container
  .form-buttons-container
  .form-next-button
  .form-next-button-content
  .icon {
  display: none;
}

body .form-container .form-buttons-container {
  justify-content: flex-end;
  gap: 16px;
  margin-top: 0;
  margin-bottom: 4px;
}

body  .form-container {
  margin-bottom: 40px !important;
}

.form-group .help-block {
  position: relative;
  top: -22px;
}

body .pages-section .multi-form-container {
  padding-top: 0px !important;
  padding-bottom: 30px;
}

.sidebar-menu-container .sidebar-menu .sidebar-step__number:after {
  display: none;
}

.sidebar-menu-container .sidebar-menu .sidebar-step__number .step__number {
  color: #0a1c57;
  border: 2px solid #0a1c57;
  background-color: transparent;
}

.fixed-price {
  z-index: 12;
}

body.page-template-tpl-form,
body.page-template-tpl-form *,
body.page-template-page-register,
body.page-template-page-register * {
  font-family: "Unbounded", sans-serif !important;
}

.form-container .form-fields-container {
  margin-bottom: 0px;
}

.sidebar-menu-container {
  max-width: 800px;
  padding-bottom: 0;
}

.sidebar-menu-container .sidebar-menu .sidebar-step__number {
  display: none;
}

.form-container .form-buttons-container,
.form-container .form-fields-container .form-row,
.form-container,
.form-container .form-fields-container,
.step-content-page {
  max-width: 800px;
}

#form-checkbox-step-1.field-LeadForm-select_all_policies p {
  font-weight: 900;
}

.field-LeadForm-agree_terms_and_policy .form-checkbox-label > label > p,
.field-LeadForm-agree_to_receive_news_update .form-checkbox-label > label > p,
.field-LeadForm-data_proccessing_policy .form-checkbox-label > label > p {
  color: #0a1c57;
}

body {
  background-color: #fff !important;
}

form .calculator {
  background-color: transparent;
}

.form .field-LeadForm-personal_code:nth-child(2) {
  display: none;
}

#form-step-1 .form-row:nth-child(4) {
  display: none;
}

.slider .flex .items .item .person img {
  border-radius: 50%;
}

body .sidebar-menu-container {
  display: none !important;
}

.mobile-top-menu {
  display: block;
}

footer .row::before {
  display: none;
  margin-left: 0;
  margin-right: 0;
}

.mobile-top-menu
  .mobile-step-container
  .mobile-step-wrapper
  .step1-title
  .title-text,
body
  .mobile-top-menu
  .mobile-step-container
  .mobile-step-wrapper
  .step1-title
  .title-text,
.mobile-step-wrapper p {
  color: #0a1c57 !important;
  text-align: left !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  display: flex !important;
  line-height: 34px !important;
  justify-content: space-between;
  font-family: "Unbounded", sans-serif !important;
}

.mobile-step-wrapper p span {
  margin-left: auto;
  font-size: 14px;
  font-weight: 400;
}

.infos .info-list div {
  max-width: 335px;
}

.header-price .price {
  display: none;
}

body .mobile-top-menu .mobile-step-container {
  max-width: 800px;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
}

.mobile-top-menu .mobile-step-wrapper {
  width: 100%;
}

.form-fields-container.form-fields-container {
  margin-top: 30px;
}

.form-row .field-LeadForm-birth_date .help-block,
.form-row .form-group-radio .help-block {
  top: 0;
}

.form-container
  .form-buttons-container
  .form-previous-button
  .form-previous-button-content
  .text {
  color: #0a1c57 !important;
  font-weight: 700 !important;
}

.form-container .form-check input[type="radio"] {
  appearance: none; /* Remove default radio appearance */
  -webkit-appearance: none; /* For Safari */
  min-width: 24px;
  height: 24px;
  min-width: 24px; /* explicitly set min-width */
  min-height: 24px; /* explicitly set min-height */
  border: 2px solid #0a1c57;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  outline: none;
  background-color: white;
  flex-shrink: 0;
  box-sizing: border-box;
}

.form-container .form-check input[type="radio"]:checked::before {
  content: "";
  width: 14px;
  height: 14px;
  background-color: #12d281;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.slider .flex .items .item .person img {
  height: 55px;
}

@media (min-width: 920px) {
  .slider .flex .slider-container {
    min-width: calc(100dvw - ((100dvw - 1187px) / 2) - 395px);
  }

  .slider .flex .items .item {
    width: auto;
    min-width: initial;
    max-width: none;
  }

  .slider .flex .items {
    gap: 0;
  }
}

@media (max-width: 1440px) and (min-width: 920px) {
  .slider .flex .items .item p {
    margin-bottom: 0;
    font-size: 13px;
  }

  .slider .flex .items .item .person p {
    font-size: 12px;
  }

  .slider .flex .items .item {
    height: 580px;
    gap: 24px;
  }
}

@media (max-width: 920px) {
  .form-container .form-check {
    flex-wrap: nowrap;
  }
  
  .form-container .form-check input[type="radio"] {
    flex-shrink: 0 !important;
  }

  body .form-container .form-buttons-container {
    justify-content: flex-start;
    gap: 16px;
    flex-direction: column-reverse;
    margin-top: 0;
    height: 110px;
    margin-bottom: 4px;
  }

  form.form-fields-container.form-fields-container {
    /* max-height: 47dvh; */
    /* overflow: auto; */
    margin: 0px;
    padding-top: 10px;
  }

  #HSM_space {
    display: none;
  }

  .slider .flex .items {
    padding-left: 0;
    overflow: visible;
  }

  body .slider .flex .slider-container {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .slider .flex .items {
    gap: 0;
  }

  body .slider .flex .items .item {
    min-width: 100%;
    max-width: 100%;
  }

  .field-LeadForm-occupation .form-radio-group .form-check {
    width: 100%;
  }

  .form-group#form-date-step-3 {
    margin-bottom: 24px !important;
  }

  #form-selector-step-4.field-LeadForm-car_owner .form-radio-group,
  #form-selector-step-3 .form-radio-group {
    flex-wrap: wrap;
  }

  #form-selector-step-4.field-LeadForm-car_owner
    .form-radio-group
    .control-label,
  #form-selector-step-3 .form-radio-group .control-label {
    width: 100%;
  }

  .mobile-step-wrapper p span {
    display: block;
    margin-top: 16px;
  }

  .mobile-top-menu
    .mobile-step-container
    .mobile-step-wrapper
    .step1-title
    .title-text,
  body
    .mobile-top-menu
    .mobile-step-container
    .mobile-step-wrapper
    .step1-title
    .title-text,
  .mobile-step-wrapper p {
    display: block !important;
  }

  .header-price .price {
    display: block;
  }

  .header-price {
    display: flex;
    justify-content: space-between;
    color: transparent;
    text-decoration: none;
    align-items: center;
  }

  .header-price .price p {
    color: #9fa3ba;
    font-size: 10px;
    margin-bottom: -3px;
    line-height: 20px;
    text-align: right;
  }

  .header-price .price span {
    color: #0a1c57;
    font-size: 18px;
    font-weight: 700;
    line-height: 27px;
    text-align: right;
  }

  .page-template-page-register footer,
  .page-template-tpl-form footer {
    display: none !important;
  }

  .mobile-top-menu {
    padding-top: 0 !important;
  }

  .sidebar-menu-container .sidebar-menu .sidebar-step__number .step__number {
    width: 24px;
    height: 24px;
  }
  .form-container .form-fields-container .form-row .form-control {
    height: 48px;
    margin-bottom: 16px;
  }

  .form-container .form-fields-container .form-row {
    gap: 8px;
  }

  .form-group:not(.form-group-checkbox) label {
    top: 14px;
    font-size: 14px;
    left: 16px;
  }

  .form-group .help-block {
    top: -7px;
  }

  .faq-wrapper h3 {
    font-size: 25px;
    line-height: 32px;
  }
}

.form-group:not(.form-group-radio) label {
  top: -11px !important;
}
