.form-item-travel-purpose p {
  margin-bottom: 0;
}

.select-profiles-link {
  position: absolute;
  top: 20px;
  display: block;
  font-size: 16px;
  line-height: normal;
  color: #090274;
  text-decoration: unset;
}

[dir="ltr"] .select-profiles-link {
  right: 20px;
}

[dir="rtl"] .select-profiles-link {
  left: 20px;
}

.travel-purpose-wrapper .form-boolean-group {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 49rem) {
  .travel-purpose-wrapper .form-boolean-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

.travel-purpose-wrapper .form-boolean-group .form-type-boolean {
  width: 100%;
}

.hi-start .form-item,
.hi-details .form-item {
  width: 100%;
  margin: 0;
}

.hi-start .field__label,
.hi-details .field__label {
  position: relative;
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  margin: 0 0 8px 0;
  color: #000;
}

.hi-start .fieldset__legend,
.hi-details .fieldset__legend {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 8px 0;
  margin-block-start: 0;
  padding: 0;
  background: transparent;
}

.hi-start .fieldset__legend .fieldset__label,
.hi-start .fieldset__legend .form-item__label,
.hi-start .fieldset__legend .fieldset__label,
.hi-details .fieldset__legend .fieldset__label,
.hi-details .fieldset__legend .form-item__label,
.hi-details .fieldset__legend .fieldset__label {
  padding: 0;
  margin: 0 !important;
}

.hi-start .fieldset__legend.fieldset__legend--invisible,
.hi-details .fieldset__legend.fieldset__legend--invisible {
  display: none;
}

.hi-start .fieldset,
.hi-details .fieldset {
  border: unset;
  padding: 0;
  margin: 0;
}

.hi-start .fieldset+fieldset,
.hi-details .fieldset+fieldset {
  margin-top: 20px;
}

.hi-start .fieldset__wrapper,
.hi-details .fieldset__wrapper {
  padding: 0;
}

.hi-start .form-item__label,
.hi-start .fieldset__label,
.hi-details .form-item__label,
.hi-details .fieldset__label {
  position: relative;
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  margin: 0 0 8px 0;
  color: #000;
}

.hi-start .form-item__label.form-required::after,
.hi-start .fieldset__label.form-required::after,
.hi-details .form-item__label.form-required::after,
.hi-details .fieldset__label.form-required::after {
  display: inline-block;
  position: absolute;
  width: 6px;
  height: 6px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg height='16' width='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m0 7.562 1.114-3.438c2.565.906 4.43 1.688 5.59 2.35-.306-2.921-.467-4.93-.484-6.027h3.511c-.05 1.597-.234 3.6-.558 6.003 1.664-.838 3.566-1.613 5.714-2.325l1.113 3.437c-2.05.678-4.06 1.131-6.028 1.356.984.856 2.372 2.381 4.166 4.575l-2.906 2.059c-.935-1.274-2.041-3.009-3.316-5.206-1.194 2.275-2.244 4.013-3.147 5.206l-2.856-2.059c1.872-2.307 3.211-3.832 4.017-4.575-2.081-.402-4.058-.856-5.93-1.356' fill='%23E30613'/%3E%3C/svg%3E%0A") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 6px;
}

.hi-start .form-item__label.option,
.hi-start .fieldset__label.option,
.hi-details .form-item__label.option,
.hi-details .fieldset__label.option {
  display: inline-block;
  font-weight: 400;
  font-size: 14px;
  line-height: 27px;
}

.hi-start .form-item__label.option a,
.hi-start .fieldset__label.option a,
.hi-details .form-item__label.option a,
.hi-details .fieldset__label.option a {
  text-decoration: unset;
  font-weight: 700;
  text-decoration: unset;
  color: #090274;
}

.hi-start .form-item__label.option a:hover,
.hi-start .fieldset__label.option a:hover,
.hi-details .form-item__label.option a:hover,
.hi-details .fieldset__label.option a:hover {
  color: #08034d;
}

.hi-start .error:is([type="date"],
  [type="datetime-local"],
  [type="email"],
  [type="file"],
  [type="month"],
  [type="number"],
  [type="password"],
  [type="search"],
  [type="tel"],
  [type="text"],
  [type="time"],
  [type="url"],
  [type="week"],
  textarea),
.hi-details .error:is([type="date"],
  [type="datetime-local"],
  [type="email"],
  [type="file"],
  [type="month"],
  [type="number"],
  [type="password"],
  [type="search"],
  [type="tel"],
  [type="text"],
  [type="time"],
  [type="url"],
  [type="week"],
  textarea) {
  border: 1px solid #e30613;
}

.hi-start [type="date"],
.hi-start [type="datetime-local"],
.hi-start [type="email"],
.hi-start [type="file"],
.hi-start [type="month"],
.hi-start [type="number"],
.hi-start [type="password"],
.hi-start [type="search"],
.hi-start [type="tel"],
.hi-start [type="text"],
.hi-start [type="time"],
.hi-start [type="url"],
.hi-start [type="week"],
.hi-start textarea,
.hi-details [type="date"],
.hi-details [type="datetime-local"],
.hi-details [type="email"],
.hi-details [type="file"],
.hi-details [type="month"],
.hi-details [type="number"],
.hi-details [type="password"],
.hi-details [type="search"],
.hi-details [type="tel"],
.hi-details [type="text"],
.hi-details [type="time"],
.hi-details [type="url"],
.hi-details [type="week"],
.hi-details textarea {
  width: 100%;
}

.hi-start .form-boolean-group .form-item__label,
.hi-details .form-boolean-group .form-item__label {
  font-size: 16px;
  line-height: normal;
  margin: 0 !important;
  color: #000;
}

.hi-start .form-boolean-group .form-item,
.hi-details .form-boolean-group .form-item {
  width: fit-content;
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #ccc;
  gap: 8px;
}

.hi-start .form-boolean-group input[type="radio"],
.hi-details .form-boolean-group input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  border: 1px solid #ccc !important;
  background-color: #fff;
  appearance: none;
  margin: 0;
  cursor: pointer;
  flex: 0 0 auto;
  vertical-align: unset;
}

.hi-start .form-boolean-group input[type="radio"]:checked,
.hi-details .form-boolean-group input[type="radio"]:checked {
  position: relative;
  width: 16px !important;
  height: 16px !important;
  background-color: #fff;
  background-image: none;
  background-size: 8px;
}

.hi-start .form-boolean-group input[type="radio"]:checked::after,
.hi-details .form-boolean-group input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #090274;
}

[dir="ltr"] .hi-start .form-boolean-group input[type="radio"]:checked::after,
[dir="ltr"] .hi-details .form-boolean-group input[type="radio"]:checked::after {
  left: 50%;
  transform: translate(-50%, -50%);
}

[dir="rtl"] .hi-start .form-boolean-group input[type="radio"]:checked::after,
[dir="rtl"] .hi-details .form-boolean-group input[type="radio"]:checked::after {
  right: 50%;
  transform: translate(50%, -50%);
}

.hi-start .form-boolean-group input[type="radio"]:focus,
.hi-details .form-boolean-group input[type="radio"]:focus {
  outline: unset;
  box-shadow: unset;
}

.hi-start .fieldset__wrapper--group,
.hi-details .fieldset__wrapper--group {
  border: unset !important;
  border-radius: unset !important;
}

.hi-start .wizard-layout-footer,
.hi-start .form-actions,
.hi-start .insurances-details-actions,
.hi-details .wizard-layout-footer,
.hi-details .form-actions,
.hi-details .insurances-details-actions {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0 0 0;
  border-top: 1px solid #ccc;
  border-radius: 0;
  margin-block: 0;
  background-color: #fff;
  margin-top: 20px;
  gap: 20px;
}

@media (min-width: 30.25rem) {

  .hi-start .wizard-layout-footer,
  .hi-start .form-actions,
  .hi-start .insurances-details-actions,
  .hi-details .wizard-layout-footer,
  .hi-details .form-actions,
  .hi-details .insurances-details-actions {
    justify-content: flex-end;
  }
}

.hi-start .wizard-layout-footer .fieldset__wrapper,
.hi-start .form-actions .fieldset__wrapper,
.hi-start .insurances-details-actions .fieldset__wrapper,
.hi-details .wizard-layout-footer .fieldset__wrapper,
.hi-details .form-actions .fieldset__wrapper,
.hi-details .insurances-details-actions .fieldset__wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
}

.hi-start .wizard-layout-footer .health-insurance-policy-period-notice--first,
.hi-details .wizard-layout-footer .health-insurance-policy-period-notice--first,
.wizard-layout-footer .health-insurance-policy-period-notice--first {
  flex: 0 0 100%;
  width: 100%;
}

.hi-start .wizard-layout-footer .health-insurance-policy-period-warning,
.hi-details .wizard-layout-footer .health-insurance-policy-period-warning,
.wizard-layout-footer .health-insurance-policy-period-warning {
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 18px 24px;
  text-align: center;
  background-color: #fff8e1;
  border: 2px solid #f0a500;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(240, 165, 0, 0.28);
}

.hi-start .wizard-layout-footer .health-insurance-policy-period-warning::before,
.hi-details .wizard-layout-footer .health-insurance-policy-period-warning::before,
.wizard-layout-footer .health-insurance-policy-period-warning::before {
  content: "⚠";
  display: block;
  margin-bottom: 10px;
  color: #c77700;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
}

.hi-start .wizard-layout-footer .health-insurance-policy-period-warning__text,
.hi-details .wizard-layout-footer .health-insurance-policy-period-warning__text,
.wizard-layout-footer .health-insurance-policy-period-warning__text {
  margin: 0 auto;
  max-width: 52rem;
  color: #4a3800;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.55;
}

.hi-start .wizard-layout-footer .wizard-layout-footer-actions,
.hi-details .wizard-layout-footer .wizard-layout-footer-actions,
.wizard-layout-footer .wizard-layout-footer-actions {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 100%;
  width: 100%;
  gap: 20px;
}

@media (min-width: 30.25rem) {

  .hi-start .wizard-layout-footer .wizard-layout-footer-actions,
  .hi-details .wizard-layout-footer .wizard-layout-footer-actions,
  .wizard-layout-footer .wizard-layout-footer-actions {
    justify-content: flex-end;
  }
}

@media (min-width: 30.25rem) {

  .hi-start .wizard-layout-footer .fieldset__wrapper,
  .hi-start .form-actions .fieldset__wrapper,
  .hi-start .insurances-details-actions .fieldset__wrapper,
  .hi-details .wizard-layout-footer .fieldset__wrapper,
  .hi-details .form-actions .fieldset__wrapper,
  .hi-details .insurances-details-actions .fieldset__wrapper {
    justify-content: flex-end;
  }
}

.hi-start .wizard-layout-footer .button,
.hi-start .form-actions .button,
.hi-start .insurances-details-actions .button,
.hi-details .wizard-layout-footer .button,
.hi-details .form-actions .button,
.hi-details .insurances-details-actions .button {
  margin-block: unset;
}

.hi-start .wizard-layout-footer .cancel-button,
.hi-start .wizard-layout-footer .ief-popup-cancel,
.hi-start .wizard-layout-footer .back-button,
.hi-start .form-actions .cancel-button,
.hi-start .form-actions .ief-popup-cancel,
.hi-start .form-actions .back-button,
.hi-start .insurances-details-actions .cancel-button,
.hi-start .insurances-details-actions .ief-popup-cancel,
.hi-start .insurances-details-actions .back-button,
.hi-details .wizard-layout-footer .cancel-button,
.hi-details .wizard-layout-footer .ief-popup-cancel,
.hi-details .wizard-layout-footer .back-button,
.hi-details .form-actions .cancel-button,
.hi-details .form-actions .ief-popup-cancel,
.hi-details .form-actions .back-button,
.hi-details .insurances-details-actions .cancel-button,
.hi-details .insurances-details-actions .ief-popup-cancel,
.hi-details .insurances-details-actions .back-button {
  display: block;
  width: fit-content;
  cursor: pointer;
  appearance: none;
  -webkit-font-smoothing: antialiased;
  background-color: transparent;
  color: #090274;
  border: 1px solid #090274;
  padding: 12px 32px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  margin: 0;
}

.hi-start .wizard-layout-footer .cancel-button:hover,
.hi-start .wizard-layout-footer .cancel-button:focus,
.hi-start .wizard-layout-footer .ief-popup-cancel:hover,
.hi-start .wizard-layout-footer .ief-popup-cancel:focus,
.hi-start .wizard-layout-footer .back-button:hover,
.hi-start .wizard-layout-footer .back-button:focus,
.hi-start .form-actions .cancel-button:hover,
.hi-start .form-actions .cancel-button:focus,
.hi-start .form-actions .ief-popup-cancel:hover,
.hi-start .form-actions .ief-popup-cancel:focus,
.hi-start .form-actions .back-button:hover,
.hi-start .form-actions .back-button:focus,
.hi-start .insurances-details-actions .cancel-button:hover,
.hi-start .insurances-details-actions .cancel-button:focus,
.hi-start .insurances-details-actions .ief-popup-cancel:hover,
.hi-start .insurances-details-actions .ief-popup-cancel:focus,
.hi-start .insurances-details-actions .back-button:hover,
.hi-start .insurances-details-actions .back-button:focus,
.hi-details .wizard-layout-footer .cancel-button:hover,
.hi-details .wizard-layout-footer .cancel-button:focus,
.hi-details .wizard-layout-footer .ief-popup-cancel:hover,
.hi-details .wizard-layout-footer .ief-popup-cancel:focus,
.hi-details .wizard-layout-footer .back-button:hover,
.hi-details .wizard-layout-footer .back-button:focus,
.hi-details .form-actions .cancel-button:hover,
.hi-details .form-actions .cancel-button:focus,
.hi-details .form-actions .ief-popup-cancel:hover,
.hi-details .form-actions .ief-popup-cancel:focus,
.hi-details .form-actions .back-button:hover,
.hi-details .form-actions .back-button:focus,
.hi-details .insurances-details-actions .cancel-button:hover,
.hi-details .insurances-details-actions .cancel-button:focus,
.hi-details .insurances-details-actions .ief-popup-cancel:hover,
.hi-details .insurances-details-actions .ief-popup-cancel:focus,
.hi-details .insurances-details-actions .back-button:hover,
.hi-details .insurances-details-actions .back-button:focus {
  background-color: #08034d;
  border-color: #08034d;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hi-start .wizard-layout-footer .button--primary,
.hi-start .wizard-layout-footer .next-button,
.hi-start .wizard-layout-footer .submit-button,
.hi-start .wizard-layout-footer .add-to-cart,
.hi-start .wizard-layout-footer .checkout-button,
.hi-start .form-actions .button--primary,
.hi-start .form-actions .next-button,
.hi-start .form-actions .submit-button,
.hi-start .form-actions .add-to-cart,
.hi-start .form-actions .checkout-button,
.hi-start .insurances-details-actions .button--primary,
.hi-start .insurances-details-actions .next-button,
.hi-start .insurances-details-actions .submit-button,
.hi-start .insurances-details-actions .add-to-cart,
.hi-start .insurances-details-actions .checkout-button,
.hi-details .wizard-layout-footer .button--primary,
.hi-details .wizard-layout-footer .next-button,
.hi-details .wizard-layout-footer .submit-button,
.hi-details .wizard-layout-footer .add-to-cart,
.hi-details .wizard-layout-footer .checkout-button,
.hi-details .form-actions .button--primary,
.hi-details .form-actions .next-button,
.hi-details .form-actions .submit-button,
.hi-details .form-actions .add-to-cart,
.hi-details .form-actions .checkout-button,
.hi-details .insurances-details-actions .button--primary,
.hi-details .insurances-details-actions .next-button,
.hi-details .insurances-details-actions .submit-button,
.hi-details .insurances-details-actions .add-to-cart,
.hi-details .insurances-details-actions .checkout-button {
  display: block;
  width: fit-content;
  height: auto;
  cursor: pointer;
  appearance: none;
  -webkit-font-smoothing: antialiased;
  background-color: #090274;
  color: #fff;
  border: 1px solid #090274;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  margin: 0;
  border-radius: 0;
}

.hi-start .wizard-layout-footer .button--primary:hover,
.hi-start .wizard-layout-footer .button--primary:focus,
.hi-start .wizard-layout-footer .next-button:hover,
.hi-start .wizard-layout-footer .next-button:focus,
.hi-start .wizard-layout-footer .submit-button:hover,
.hi-start .wizard-layout-footer .submit-button:focus,
.hi-start .wizard-layout-footer .add-to-cart:hover,
.hi-start .wizard-layout-footer .add-to-cart:focus,
.hi-start .wizard-layout-footer .checkout-button:hover,
.hi-start .wizard-layout-footer .checkout-button:focus,
.hi-start .form-actions .button--primary:hover,
.hi-start .form-actions .button--primary:focus,
.hi-start .form-actions .next-button:hover,
.hi-start .form-actions .next-button:focus,
.hi-start .form-actions .submit-button:hover,
.hi-start .form-actions .submit-button:focus,
.hi-start .form-actions .add-to-cart:hover,
.hi-start .form-actions .add-to-cart:focus,
.hi-start .form-actions .checkout-button:hover,
.hi-start .form-actions .checkout-button:focus,
.hi-start .insurances-details-actions .button--primary:hover,
.hi-start .insurances-details-actions .button--primary:focus,
.hi-start .insurances-details-actions .next-button:hover,
.hi-start .insurances-details-actions .next-button:focus,
.hi-start .insurances-details-actions .submit-button:hover,
.hi-start .insurances-details-actions .submit-button:focus,
.hi-start .insurances-details-actions .add-to-cart:hover,
.hi-start .insurances-details-actions .add-to-cart:focus,
.hi-start .insurances-details-actions .checkout-button:hover,
.hi-start .insurances-details-actions .checkout-button:focus,
.hi-details .wizard-layout-footer .button--primary:hover,
.hi-details .wizard-layout-footer .button--primary:focus,
.hi-details .wizard-layout-footer .next-button:hover,
.hi-details .wizard-layout-footer .next-button:focus,
.hi-details .wizard-layout-footer .submit-button:hover,
.hi-details .wizard-layout-footer .submit-button:focus,
.hi-details .wizard-layout-footer .add-to-cart:hover,
.hi-details .wizard-layout-footer .add-to-cart:focus,
.hi-details .wizard-layout-footer .checkout-button:hover,
.hi-details .wizard-layout-footer .checkout-button:focus,
.hi-details .form-actions .button--primary:hover,
.hi-details .form-actions .button--primary:focus,
.hi-details .form-actions .next-button:hover,
.hi-details .form-actions .next-button:focus,
.hi-details .form-actions .submit-button:hover,
.hi-details .form-actions .submit-button:focus,
.hi-details .form-actions .add-to-cart:hover,
.hi-details .form-actions .add-to-cart:focus,
.hi-details .form-actions .checkout-button:hover,
.hi-details .form-actions .checkout-button:focus,
.hi-details .insurances-details-actions .button--primary:hover,
.hi-details .insurances-details-actions .button--primary:focus,
.hi-details .insurances-details-actions .next-button:hover,
.hi-details .insurances-details-actions .next-button:focus,
.hi-details .insurances-details-actions .submit-button:hover,
.hi-details .insurances-details-actions .submit-button:focus,
.hi-details .insurances-details-actions .add-to-cart:hover,
.hi-details .insurances-details-actions .add-to-cart:focus,
.hi-details .insurances-details-actions .checkout-button:hover,
.hi-details .insurances-details-actions .checkout-button:focus {
  background-color: #08034d;
  border-color: #08034d;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

@media (min-width: 49rem) {

  .hi-start .insurances-details-actions,
  .hi-details .insurances-details-actions {
    justify-content: space-between;
  }
}

.hi-start #health-insurance-persons-ajax-wrapper table,
.hi-details #health-insurance-persons-ajax-wrapper table {
  width: 100%;
}

.hi-start #health-insurance-persons-ajax-wrapper tbody tr,
.hi-details #health-insurance-persons-ajax-wrapper tbody tr {
  padding: 20px;
  background-color: #e9ebec;
}

.hi-start .persons-wrap,
.hi-details .persons-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 49rem) {

  .hi-start .persons-wrap,
  .hi-details .persons-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 63rem) and (max-width: 75rem) {

  .hi-start .persons-wrap,
  .hi-details .persons-wrap {
    grid-template-columns: 1fr;
  }
}

.hi-start .single-person-wrap,
.hi-details .single-person-wrap {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
  background-color: #e9ebec;
  padding: 20px;
}

@media (min-width: 49rem) {

  .hi-start .single-person-wrap,
  .hi-details .single-person-wrap {
    flex: 1;
  }
}

.hi-start .single-person-wrap .form-wrapper,
.hi-details .single-person-wrap .form-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  flex: 100%;
}

@media (min-width: 30.25rem) {

  .hi-start .single-person-wrap .form-wrapper,
  .hi-details .single-person-wrap .form-wrapper {
    flex: 1 0 auto;
  }
}

@media (min-width: 49rem) {

  .hi-start .single-person-wrap .form-wrapper,
  .hi-details .single-person-wrap .form-wrapper {
    flex: 1;
  }
}

@media (min-width: 49rem) {

  .hi-start .single-person-wrap .form-wrapper .field--name-field-last-name,
  .hi-start .single-person-wrap .form-wrapper .field--name-field-first-name,
  .hi-start .single-person-wrap .form-wrapper .field--name-field-birth-date,
  .hi-start .single-person-wrap .form-wrapper .form-submit,
  .hi-details .single-person-wrap .form-wrapper .field--name-field-last-name,
  .hi-details .single-person-wrap .form-wrapper .field--name-field-first-name,
  .hi-details .single-person-wrap .form-wrapper .field--name-field-birth-date,
  .hi-details .single-person-wrap .form-wrapper .form-submit {
    flex: 1;
  }
}

.hi-start .single-person-wrap .field--name-field-birth-date,
.hi-details .single-person-wrap .field--name-field-birth-date {
  display: block;
  width: 100%;
}

.hi-start .single-person-wrap .remove-person,
.hi-details .single-person-wrap .remove-person {
  display: block;
  transition: all 0.5s ease-in-out;
  font-size: 0 !important;
  width: 44px;
  height: 44px;
  border: 1px solid #090274;
  background-color: #090274;
  background-image: url(../images/trash.svg);
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

@media (min-width: 30.25rem) {

  .hi-start .single-person-wrap .remove-person,
  .hi-details .single-person-wrap .remove-person {
    margin: 30px 0 0 0;
  }
}

/* Mobile: birth date + remove on one row; actions full width. */
@media (max-width: 48.9375rem) {

  .hi-start .single-person-wrap,
  .hi-details .single-person-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 12px;
    padding: 16px;
    align-items: end;
    box-sizing: border-box;
  }

  .hi-start .single-person-wrap > .form-wrapper,
  .hi-details .single-person-wrap > .form-wrapper {
    grid-column: 1;
    flex: none;
    width: 100%;
    min-width: 0;
    gap: 12px;
  }

  .hi-start .single-person-wrap > .remove-person,
  .hi-details .single-person-wrap > .remove-person {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    margin: 0 !important;
    flex-shrink: 0;
  }

  .hi-start .single-person-wrap .field--name-field-birth-date,
  .hi-details .single-person-wrap .field--name-field-birth-date {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hi-start .single-person-wrap .js-form-type-bootstrap-datepicker.form-item,
  .hi-details .single-person-wrap .js-form-type-bootstrap-datepicker.form-item {
    width: 100%;
    margin-bottom: 0;
  }

  .hi-start .insured-persons-table .fieldset__wrapper,
  .hi-details .insured-persons-table .fieldset__wrapper {
    width: 100%;
  }

  .hi-start .insured-persons-table .new-person-btn,
  .hi-details .insured-persons-table .new-person-btn {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin: 16px 0 0;
    box-sizing: border-box;
  }

  .hi-start .insured-persons-table .add-person,
  .hi-details .insured-persons-table .add-person {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .hi-start .insured-persons-table .select-profiles-link,
  .hi-details .insured-persons-table .select-profiles-link {
    position: static;
    display: block;
    width: 100%;
    text-align: center;
    margin: 0;
    right: auto;
    left: auto;
    top: auto;
  }
}

.hi-start .single-person-wrap:only-child .remove-person,
.hi-details .single-person-wrap:only-child .remove-person {
  opacity: 0.5;
}

.hi-start .insured-persons-table,
.hi-details .insured-persons-table {
  position: relative;
  margin-top: 20px;
  padding-top: 20px;
  border-radius: 0;
  border-top: 1px solid #ccc;
}

.hi-start .insured-persons-table .new-person-btn,
.hi-details .insured-persons-table .new-person-btn {
  width: fit-content;
  margin: 20px 0 0 0;
}

.hi-start .insured-persons-table .add-person,
.hi-details .insured-persons-table .add-person {
  display: block;
  width: fit-content;
  height: auto;
  cursor: pointer;
  appearance: none;
  -webkit-font-smoothing: antialiased;
  background-color: #090274;
  color: #fff;
  border: 1px solid #090274;
  padding: 12px 16px;
  border-radius: 0;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  margin: 0;
}

.hi-start .insured-persons-table .add-person:hover,
.hi-start .insured-persons-table .add-person:focus,
.hi-details .insured-persons-table .add-person:hover,
.hi-details .insured-persons-table .add-person:focus {
  background-color: #08034d;
  border-color: #08034d;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hi-start .insured-persons-table .select-profiles-link,
.hi-details .insured-persons-table .select-profiles-link {
  top: 17px;
}

@media (max-width: 29.25rem) {

  .hi-start .insured-persons-table .fieldset__legend,
  .hi-details .insured-persons-table .fieldset__legend {
    padding-bottom: 30px;
  }

  .hi-start .insured-persons-table .select-profiles-link,
  .hi-details .insured-persons-table .select-profiles-link {
    top: 46px;
  }

  [dir="ltr"] .hi-start .insured-persons-table .select-profiles-link,
  [dir="ltr"] .hi-details .insured-persons-table .select-profiles-link {
    right: unset;
  }

  [dir="rtl"] .hi-start .insured-persons-table .select-profiles-link,
  [dir="rtl"] .hi-details .insured-persons-table .select-profiles-link {
    left: unset;
  }
}

.hi-start .form-item-travel-purpose p,
.hi-details .form-item-travel-purpose p {
  margin-bottom: 0;
}

.hi-start .select-profiles-link,
.hi-details .select-profiles-link {
  position: absolute;
  top: 20px;
  display: block;
  font-size: 16px;
  line-height: normal;
  color: #090274;
  text-decoration: unset;
}

[dir="ltr"] .hi-start .select-profiles-link,
[dir="ltr"] .hi-details .select-profiles-link {
  right: 20px;
}

[dir="rtl"] .hi-start .select-profiles-link,
[dir="rtl"] .hi-details .select-profiles-link {
  left: 20px;
}

.hi-start .js-form-type-date.form-item,
.hi-start .js-form-type-bootstrap-datepicker.form-item,
.hi-details .js-form-type-date.form-item,
.hi-details .js-form-type-bootstrap-datepicker.form-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "label"
    "field"
    "error"
    "description";
  align-items: stretch;
}

.hi-start .js-form-type-bootstrap-datepicker.form-item > label,
.hi-details .js-form-type-bootstrap-datepicker.form-item > label {
  grid-area: label;
}

.hi-start .js-form-type-bootstrap-datepicker.form-item > input,
.hi-start .js-form-type-bootstrap-datepicker.form-item > [data-provide="datepicker"],
.hi-details .js-form-type-bootstrap-datepicker.form-item > input,
.hi-details .js-form-type-bootstrap-datepicker.form-item > [data-provide="datepicker"] {
  grid-area: field;
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hi-start .js-form-type-bootstrap-datepicker.form-item > .bd-calendar-icon.button,
.hi-details .js-form-type-bootstrap-datepicker.form-item > .bd-calendar-icon.button {
  /* Same grid cell as the input — stays inside on the right with or without errors. */
  grid-area: field;
  grid-column: 1;
  grid-row: 2;
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  justify-self: end;
  align-self: center;
  transform: none !important;
  margin: 0 8px 0 0 !important;
  z-index: 2;
}

[dir="rtl"] .hi-start .js-form-type-bootstrap-datepicker.form-item > .bd-calendar-icon.button,
[dir="rtl"] .hi-details .js-form-type-bootstrap-datepicker.form-item > .bd-calendar-icon.button {
  justify-self: start;
  margin: 0 0 0 8px !important;
}

.hi-start .js-form-type-bootstrap-datepicker.form-item > .form-item--error-message,
.hi-details .js-form-type-bootstrap-datepicker.form-item > .form-item--error-message {
  grid-area: error;
  grid-column: 1;
  grid-row: 3;
  width: 100%;
  margin-top: 0.5rem;
  line-height: 1.35;
}

.hi-start .js-form-type-bootstrap-datepicker.form-item > .description,
.hi-start .js-form-type-bootstrap-datepicker.form-item > .form-item__description,
.hi-details .js-form-type-bootstrap-datepicker.form-item > .description,
.hi-details .js-form-type-bootstrap-datepicker.form-item > .form-item__description {
  grid-area: description;
  grid-column: 1;
  grid-row: 4;
}

.hi-details .js-form-type-bootstrap-datepicker.form-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.hi-details .js-form-type-bootstrap-datepicker.form-disabled input {
  background-color: #ccc;
}

.hi-start input[type="date"]:disabled,
.hi-details input[type="date"]:disabled {
  background-image: url(../images/calendar_bl.svg);
  background-repeat: no-repeat;
  background-size: 16px;
}

[dir="ltr"] .hi-start input[type="date"]:disabled,
[dir="ltr"] .hi-details input[type="date"]:disabled {
  background-position: calc(100% - 16px) center;
}

[dir="rtl"] .hi-start input[type="date"]:disabled,
[dir="rtl"] .hi-details input[type="date"]:disabled {
  background-position: calc(100% - (100% - 16px)) center;
}

.hi-start [data-provide="datepicker"],
.hi-details [data-provide="datepicker"] {
  width: 100%;
  height: auto;
  min-height: unset;
  font-size: 16px;
  line-height: normal;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #000;
  margin: 0;
  appearance: none;
  border-radius: 0;
}

[dir="ltr"] .hi-start [data-provide="datepicker"],
[dir="ltr"] .hi-details [data-provide="datepicker"] {
  padding: 12px 32px 12px 16px !important;
}

[dir="rtl"] .hi-start [data-provide="datepicker"],
[dir="rtl"] .hi-details [data-provide="datepicker"] {
  padding: 12px 16px 12px 32px !important;
}

.hi-start [data-provide="datepicker"]:hover,
.hi-start [data-provide="datepicker"]:focus,
.hi-details [data-provide="datepicker"]:hover,
.hi-details [data-provide="datepicker"]:focus {
  background-color: #fff !important;
}

.hi-start [data-provide="datepicker"]:hover::placeholder,
.hi-start [data-provide="datepicker"]:focus::placeholder,
.hi-details [data-provide="datepicker"]:hover::placeholder,
.hi-details [data-provide="datepicker"]:focus::placeholder {
  color: #ccc;
}

.hi-start [data-provide="datepicker"]:hover:focus,
.hi-start [data-provide="datepicker"]:focus:focus,
.hi-details [data-provide="datepicker"]:hover:focus,
.hi-details [data-provide="datepicker"]:focus:focus {
  border: 1px solid #ccc;
  outline: none;
  box-shadow: unset;
}

.hi-start .bd-calendar-icon.button,
.hi-details .bd-calendar-icon.button {
  width: 24px;
  height: 24px;
  display: block;
  padding: 2px !important;
  box-sizing: content-box;
  background-color: #090274;
  border: 1px solid #090274;
  background-image: url(../images/calendar_op.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  border-radius: 0;
  z-index: 2;
}

.hi-start .bd-calendar-icon.button:hover,
.hi-details .bd-calendar-icon.button:hover {
  background-color: #090274;
  border: 1px solid #090274;
  background-image: url(../images/calendar_op.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

.hi-start .insurance-resend-entity .wizard-layout-footer,
.hi-details .insurance-resend-entity .wizard-layout-footer {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.hi-start .insurance-resend-entity .form-actions,
.hi-details .insurance-resend-entity .form-actions {
  width: 100%;
}

.hi-start .insurance-resend-entity strong,
.hi-details .insurance-resend-entity strong {
  display: block;
  margin-top: 20px;
}

.hi-start .js-form-type-checkbox,
.hi-details .js-form-type-checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hi-start .js-form-type-checkbox .form-item__label.option,
.hi-details .js-form-type-checkbox .form-item__label.option {
  margin: 0 !important;
  flex-basis: calc(90% - 12px);
}

.hi-start input[type="checkbox"],
.hi-details input[type="checkbox"] {
  width: 20px !important;
  height: 20px;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 8px;
  border-radius: 2px;
  appearance: none;
  cursor: pointer;
}

.hi-start input[type="checkbox"]:focus,
.hi-details input[type="checkbox"]:focus {
  outline: unset !important;
  border: 1px solid #090274;
}

.hi-start input[type="checkbox"]:hover,
.hi-details input[type="checkbox"]:hover {
  border: 1px solid #090274;
}

.hi-start input[type="checkbox"]:checked,
.hi-details input[type="checkbox"]:checked {
  border: 1px solid #090274;
  background-color: #090274;
  background-image: url(../images/check.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
}

.hi-start {
  max-width: 750px;
  margin: 0 auto;
}

.hi-start .main-form-fields {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
}

.hi-start .insurance-amount-wrapper .fieldset__wrapper,
.hi-start .travel-period-wrapper {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 20px;
}

.hi-start .insurance-amount-wrapper .fieldset__wrapper .form-item,
.hi-start .travel-period-wrapper .form-item {
  flex: 100%;
}

@media (min-width: 49rem) {

  .hi-start .insurance-amount-wrapper .fieldset__wrapper .form-item,
  .hi-start .travel-period-wrapper .form-item {
    flex: 1;
  }
}

.js-form-type-select {
  position: relative;
}

#hi-insurance-details-wrapper .select2-container--default {
  position: relative;
}

#hi-insurance-details-wrapper .select2-container--default .select2-selection {
  height: auto;
  min-height: unset;
  font-size: 16px;
  line-height: normal;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 0;
  color: #000;
  margin: 0;
}

#hi-insurance-details-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
  white-space: normal;
  line-height: normal;
  color: rgba(0, 0, 0, 0.75);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

[dir="ltr"] #hi-insurance-details-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 20px 0 0;
}

[dir="rtl"] #hi-insurance-details-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 0 0 20px;
}

#hi-insurance-details-wrapper .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

[dir="ltr"] #hi-insurance-details-wrapper .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0 16px 0 0;
}

[dir="rtl"] #hi-insurance-details-wrapper .select2-container--default .select2-selection--multiple .select2-selection__rendered {
  padding: 0 0 0 16px;
}

#hi-insurance-details-wrapper .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__clear {
  position: absolute;
  font-weight: 700;
  margin: 0;
  line-height: normal;
}

[dir="ltr"] #hi-insurance-details-wrapper .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__clear {
  right: 0;
}

[dir="rtl"] #hi-insurance-details-wrapper .select2-container--default .select2-selection--multiple .select2-selection__rendered .select2-selection__clear {
  left: 0;
}

#hi-insurance-details-wrapper .select2-container--default .select2-selection__arrow {
  width: 20px;
  height: 20px;
  background-size: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: url(../images/chevron-down_bl.svg) no-repeat center;
}

[dir="ltr"] #hi-insurance-details-wrapper .select2-container--default .select2-selection__arrow {
  right: 14px;
}

[dir="rtl"] #hi-insurance-details-wrapper .select2-container--default .select2-selection__arrow {
  left: 14px;
}

#hi-insurance-details-wrapper .select2-container--default .select2-selection__arrow b {
  border: 0;
}

.select2-dropdown {
  border-color: #ccc;
  border-radius: 0;
}

.select-profiles .add-second-person,
.select-profiles .add-vehicle {
  display: block;
  width: fit-content;
  height: auto;
  cursor: pointer;
  appearance: none;
  -webkit-font-smoothing: antialiased;
  background-color: #090274;
  color: #fff;
  border: 1px solid #090274;
  padding: 12px 16px;
  padding-inline: 0;
  padding-block: 0;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  margin: 0;
}

.select-profiles .add-second-person:hover,
.select-profiles .add-second-person:focus,
.select-profiles .add-vehicle:hover,
.select-profiles .add-vehicle:focus {
  background-color: #08034d;
  border-color: #08034d;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.select-profiles .title {
  font-size: 16px;
  line-height: normal;
  color: rgba(0, 0, 0, 0.75);
  margin: 0 0 8px 0;
}

.select-profiles .disabled-message {
  font-size: 14px;
  line-height: normal;
  color: #000;
  margin: 0 0 20px 0;
}

.select-profiles .form-disabled {
  opacity: 0.4;
}

.select-profiles.ui-dialog {
  box-shadow: 0px 4px 19px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.select-profiles.ui-dialog.ui-widget {
  padding: 16px;
  min-width: 300px;
}

.select-profiles.ui-dialog.ui-widget.ui-widget-content {
  border: unset;
}

@media (min-width: 30.25rem) {
  .select-profiles.ui-dialog.ui-widget {
    min-width: 450px;
  }
}

@media (min-width: 49rem) {
  .select-profiles.ui-dialog.ui-widget {
    min-width: 700px;
    padding: 20px;
  }
}

@media (min-width: 63rem) {
  .select-profiles.ui-dialog.ui-widget {
    min-width: 900px;
  }
}

[dir="ltr"] .select-profiles.ui-dialog.ui-widget .ui-dialog-content {
  padding: 0 16px 0 0;
}

[dir="rtl"] .select-profiles.ui-dialog.ui-widget .ui-dialog-content {
  padding: 0 0 0 16px;
}

.select-profiles.ui-dialog .ui-dialog-titlebar {
  background: transparent;
  border: unset;
  padding: 0 0 20px 0;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.select-profiles.ui-dialog .ui-dialog-titlebar .ui-dialog-title,
.select-profiles.ui-dialog .ui-dialog-titlebar .ui-dialog-title em {
  font-size: 20px;
  line-height: normal;
  margin: 0;
  color: #000;
}

.select-profiles.ui-dialog .ui-dialog-titlebar-close {
  padding: 0;
  border: unset;
  background-color: transparent;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(../images/modal_close.svg);
  background-position: center;
  background-repeat: no-repeat;
}

.select-profiles.ui-dialog .ui-dialog-buttonpane {
  padding: 0;
  margin: 0;
  border: 0;
}

.select-profiles.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset.form-actions {
  margin: 0;
  padding: 0;
  border: 0;
}

.select-profiles.ui-dialog .ui-dialog-buttonpane .button {
  margin: 0;
}

.select-profiles.ui-dialog .ui-dialog-buttonpane .button.is-disabled {
  opacity: 0.5;
}

.hi-select-persons .fieldset__legend {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 8px 0;
  margin-block-start: 0;
  padding: 0;
  background: transparent;
}

.hi-select-persons .fieldset__legend .fieldset__label,
.hi-select-persons .fieldset__legend .form-item__label,
.hi-select-persons .fieldset__legend .fieldset__label {
  padding: 0;
  margin: 0 !important;
}

.hi-select-persons .fieldset__legend.fieldset__legend--invisible {
  display: none;
}

.hi-select-persons .fieldset__label {
  position: relative;
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  margin: 0 0 8px 0;
  color: #000;
}

.hi-select-persons .fieldset {
  border: unset;
  padding: 0;
  margin: 0;
}

.hi-select-persons .fieldset+fieldset {
  margin-top: 20px;
}

.hi-select-persons .fieldset__wrapper {
  padding: 0;
}

.hi-select-persons .existing-profiles--wrap .fieldset__description,
.hi-select-persons .existing-profiles--wrap .title {
  font-size: 16px;
  line-height: normal;
  color: rgba(0, 0, 0, 0.75);
  margin: 0 0 20px 0;
}

.hi-select-persons .existing-profiles--wrap .form-boolean-group {
  display: grid;
  gap: 20px;
}

@media (min-width: 30.25rem) {
  .hi-select-persons .existing-profiles--wrap .form-boolean-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hi-select-persons .existing-profiles--wrap .form-boolean-group .form-item {
  width: 100%;
  justify-content: flex-start;
  margin: 0;
}

[dir="ltr"] .hi-select-persons .existing-profiles--wrap .form-boolean-group .form-item {
  text-align: left;
}

[dir="rtl"] .hi-select-persons .existing-profiles--wrap .form-boolean-group .form-item {
  text-align: right;
}

.hi-select-persons input[type="checkbox"] {
  width: 20px !important;
  height: 20px;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 8px;
  border-radius: 2px;
  appearance: none;
  cursor: pointer;
}

.hi-select-persons input[type="checkbox"]:focus {
  outline: unset !important;
  border: 1px solid #090274;
}

.hi-select-persons input[type="checkbox"]:hover {
  border: 1px solid #090274;
}

.hi-select-persons input[type="checkbox"]:checked {
  border: 1px solid #090274;
  background-color: #090274;
  background-image: url(../images/check.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
}

.hi-select-persons .wizard-layout-footer,
.hi-select-persons .form-actions,
.hi-select-persons .insurances-details-actions {
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0 0 0;
  border-top: 1px solid #ccc;
  border-radius: 0;
  margin-block: 0;
  background-color: #fff;
  margin-top: 20px;
  gap: 20px;
}

@media (min-width: 30.25rem) {

  .hi-select-persons .wizard-layout-footer,
  .hi-select-persons .form-actions,
  .hi-select-persons .insurances-details-actions {
    justify-content: flex-end;
  }
}

.hi-select-persons .wizard-layout-footer .fieldset__wrapper,
.hi-select-persons .form-actions .fieldset__wrapper,
.hi-select-persons .insurances-details-actions .fieldset__wrapper {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
}

@media (min-width: 30.25rem) {

  .hi-select-persons .wizard-layout-footer .fieldset__wrapper,
  .hi-select-persons .form-actions .fieldset__wrapper,
  .hi-select-persons .insurances-details-actions .fieldset__wrapper {
    justify-content: flex-end;
  }
}

.hi-select-persons .wizard-layout-footer .button,
.hi-select-persons .form-actions .button,
.hi-select-persons .insurances-details-actions .button {
  margin-block: unset;
}

.hi-select-persons .wizard-layout-footer .cancel-button,
.hi-select-persons .form-actions .cancel-button,
.hi-select-persons .insurances-details-actions .cancel-button {
  display: block;
  width: fit-content;
  cursor: pointer;
  appearance: none;
  -webkit-font-smoothing: antialiased;
  background-color: transparent;
  color: #090274;
  border: 1px solid #090274;
  padding: 12px 32px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  margin: 0;
  border-radius: 0;
}

.hi-select-persons .wizard-layout-footer .cancel-button:hover,
.hi-select-persons .wizard-layout-footer .cancel-button:focus,
.hi-select-persons .form-actions .cancel-button:hover,
.hi-select-persons .form-actions .cancel-button:focus,
.hi-select-persons .insurances-details-actions .cancel-button:hover,
.hi-select-persons .insurances-details-actions .cancel-button:focus {
  background-color: #08034d;
  border-color: #08034d;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hi-select-persons .wizard-layout-footer .submit-button,
.hi-select-persons .form-actions .submit-button,
.hi-select-persons .insurances-details-actions .submit-button {
  display: block;
  width: fit-content;
  height: auto;
  cursor: pointer;
  appearance: none;
  -webkit-font-smoothing: antialiased;
  background-color: #090274;
  color: #fff;
  border: 1px solid #090274;
  padding: 12px 16px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
  margin: 0;
  border-radius: 0;
}

.hi-select-persons .wizard-layout-footer .submit-button:hover,
.hi-select-persons .wizard-layout-footer .submit-button:focus,
.hi-select-persons .form-actions .submit-button:hover,
.hi-select-persons .form-actions .submit-button:focus,
.hi-select-persons .insurances-details-actions .submit-button:hover,
.hi-select-persons .insurances-details-actions .submit-button:focus {
  background-color: #08034d;
  border-color: #08034d;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hi-select-persons .fieldset__wrapper--group {
  border: unset !important;
  border-radius: unset !important;
}

.hi-select-persons .form-boolean-group .form-item {
  width: fit-content;
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #ccc;
  gap: 8px;
}

.hi-details {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
  max-width: 750px;
  margin: 0 auto;
}

.hi-details .wizard-details-price-wrapper,
.hi-details .wizard-details-main {
  border: 1px solid #ccc;
  padding: 20px;
}

.hi-details .wizard-details-main {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
}

.profile-wrapper [class*="details__summary"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 16px;
  line-height: normal;
  color: #000;
  padding: 16px 16px 16px 34px;
  background-color: #e9ebec;
  padding: 20px;
  border-radius: 0;
}

.profile-wrapper [class*="details__summary"] .summary {
  width: 20px;
  height: 20px;
  background: url(../images/plus.svg) center no-repeat;
  transition: all 0.3s ease-in-out;
}

.profile-wrapper[open] [class*="details__summary"] .summary {
  background: url(../images/minus.svg) center no-repeat;
  transition: all 0.3s ease-in-out;
}

.profile-wrapper .details-wrapper {
  padding: 20px;
  margin: 0;
}

.profile-wrapper .details-wrapper .form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-wrapper .details-wrapper .form-wrapper .form-wrapper {
  display: block;
}

@media (max-width: 48rem) {
  .profile-wrapper .details-wrapper .form-wrapper .form-wrapper {
    flex: 100%;
  }
}

.profile-wrapper .details-wrapper .form-wrapper .field-group-html-element {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

@media (min-width: 49rem) {
  .profile-wrapper .details-wrapper .form-wrapper .field-group-html-element .form-wrapper {
    flex: 1;
  }
}

.profile-wrapper .details-wrapper .field--type-address .form-wrapper .form-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
  flex: 100%;
}

.profile-wrapper .details-wrapper .field--type-address .address-container-inline {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 100%;
  gap: 20px;
  margin-bottom: 20px;
}

.profile-wrapper .details-wrapper .field--type-address .address-container-inline .form-item {
  flex: 100%;
}

@media (min-width: 49rem) {
  .profile-wrapper .details-wrapper .field--type-address .address-container-inline .form-item {
    flex: 1;
    margin: 0;
  }
}

.profile-wrapper .details-wrapper .field--type-address .address-container-inline .form-item+.form-item {
  margin-bottom: 20px;
}

@media (min-width: 49rem) {
  .profile-wrapper .details-wrapper .field--type-address .address-container-inline .form-item+.form-item {
    margin-bottom: 0;
  }

  [dir="ltr"] .profile-wrapper .details-wrapper .field--type-address .address-container-inline .form-item+.form-item {
    margin-left: 20px;
  }

  [dir="rtl"] .profile-wrapper .details-wrapper .field--type-address .address-container-inline .form-item+.form-item {
    margin-right: 20px;
  }
}

.profile-wrapper .person-generic-info,
.profile-wrapper .person-identifiers {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}

@media (min-width: 49rem) {

  .profile-wrapper .person-generic-info .form-wrapper,
  .profile-wrapper .person-identifiers .form-wrapper {
    flex: 1;
  }

  .profile-wrapper .person-generic-info .form-wrapper .form-wrapper,
  .profile-wrapper .person-identifiers .form-wrapper .form-wrapper {
    flex: 100%;
  }
}

.profile-wrapper .field--name-field-birth-date {
  display: block;
  width: 100%;
}

.profile-wrapper .fp-calendar-icon {
  bottom: 12px !important;
}


.sticky_details .error:not(.health-insurance-no-offers) {
  color: #e30613;
  font-size: 14px;
  line-height: normal;
  margin: 0;
}

.sticky_details .health-insurance-no-offers {
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
  margin: 16px 0 0;
  padding: 18px 20px;
  background-color: #fff5f5;
  border: 2px solid #e30613;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(227, 6, 19, 0.18);
}

.sticky_details .health-insurance-no-offers__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='none' stroke='%23e30613' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.sticky_details .health-insurance-no-offers__text {
  margin: 0;
  color: #8a0f16;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.5;
}

.hi-details .wizard-layout-footer .button.is-disabled,
.hi-details .wizard-layout-footer .form-submit.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sticky_details .form-boolean-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 49rem) {
  .sticky_details .form-boolean-group {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sticky_details .form-boolean-group .form-item__label {
  font-size: 16px;
  line-height: normal;
  margin: 0 !important;
  color: #000;
}

.sticky_details .form-boolean-group .form-item {
  width: fit-content;
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #ccc;
  gap: 8px;
}

.sticky_details .form-boolean-group input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  border: 1px solid #ccc !important;
  background-color: #fff;
  appearance: none;
  margin: 0;
  cursor: pointer;
  flex: 0 0 auto;
  vertical-align: unset;
}

.sticky_details .form-boolean-group input[type="radio"]:checked {
  position: relative;
  width: 16px !important;
  height: 16px !important;
  border: 1px solid #090274 !important;
  background-color: #fff;
  background-image: none;
  background-size: 8px;
}

.sticky_details .form-boolean-group input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #090274;
}

[dir="ltr"] .sticky_details .form-boolean-group input[type="radio"]:checked::after {
  left: 50%;
  transform: translate(-50%, -50%);
}

[dir="rtl"] .sticky_details .form-boolean-group input[type="radio"]:checked::after {
  right: 50%;
  transform: translate(50%, -50%);
}

.sticky_details .form-boolean-group input[type="radio"]:focus {
  outline: unset;
  box-shadow: unset;
}

.sticky_details .form-boolean-group input[type="radio"] .term-name {
  margin-top: 10px;
}

.sticky_details .form-boolean-group input[type="radio"] .term-name b {
  font-weight: 700;
}

@media (max-width: 768px) {
  .hi-start .new-person-btn .add-person.add-person {
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
  }

  .hi-start .new-person-btn .select-profiles-link {
    position: static;
    margin-top: 0;
    font-size: 14px;
    width: 100%;
    text-align: center;
  }

  .hi-start .persons-wrap,
  .hi-details .persons-wrap {
    gap: 12px;
  }
}

.hi-start .form-actions.form-actions {
  margin-top: 1.5rem;
}

.hi-start .main-form-fields .travel-period-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.hi-start .main-form-fields .travel-period-wrapper .form-item-number-of-days {
  grid-column: 1/3;
}

@media (max-width: 768px) {
  .hi-start .main-form-fields .travel-period-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hi-start .main-form-fields .travel-period-wrapper .form-item-number-of-days {
    grid-column: auto;
  }
}

.hi-details .profile-wrapper.azuro_theme-details .azuro_theme-details__summary {
  position: relative;
  padding-right: 3rem !important;
}

.hi-details .profile-wrapper.azuro_theme-details .azuro_theme-details__summary .summary {
  position: absolute;
  right: 1.5rem;
  top: 1.75rem;
}

@media (max-width: 783px) {
  .hi-details .profile-wrapper.azuro_theme-details .address-container-inline {
    margin-bottom: 0 !important;
  }

  .hi-details .profile-wrapper.azuro_theme-details .address-container-inline .form-item {
    margin-right: 0;
  }
}

@media (max-width: 450px) {
  .hi-details .profile-wrapper.azuro_theme-details .azuro_theme-details__wrapper .check-idnp-wrapper {
    position: initial;
    width: 100%;
    margin: 0 !important;
  }

  .hi-details .profile-wrapper.azuro_theme-details .azuro_theme-details__wrapper .check-idnp-wrapper input {
    width: 100%;
  }
}

.hi-summary .wizard-details-main .fieldset__label {
  font-weight: 600;
}
