:root {
  --a11y-focus-color: #ffbf47;
}

html[data-a11y-text-scale="100"] {
  font-size: 100%;
}

html[data-a11y-text-scale="125"] {
  font-size: 125% !important;
}

html[data-a11y-text-scale="150"] {
  font-size: 150% !important;
}

html[data-a11y-text-scale="200"] {
  font-size: 200% !important;
}

html[data-a11y-text-scale="200"] .elementor :is(
  .e-con,
  .e-con-inner,
  .elementor-widget,
  .elementor-widget-container
) {
  max-width: 100%;
  min-width: 0;
}

html[data-a11y-text-scale="200"] .elementor :is(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  a,
  li
) {
  hyphens: auto;
  overflow-wrap: anywhere;
}

html[data-a11y-text-scale="200"] [data-up-contact-section] {
  overflow-x: clip;
}

html[data-a11y-text-scale="200"] [data-up-contact-section] :is(
  .e-con-inner,
  .ultima-contact-card,
  .ultima-contact-copy,
  .ultima-contact-form-column,
  .ultima-contact-app,
  .ultima-contact-form,
  .ultima-contact-grid,
  .ultima-contact-field
) {
  flex-basis: 100% !important;
  margin-inline: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

html[data-a11y-text-scale="200"] [data-up-contact-section] .ultima-contact-card,
html[data-a11y-text-scale="200"] [data-up-contact-section] .ultima-contact-grid {
  grid-template-columns: minmax(0, 1fr) !important;
}

html[data-a11y-text-scale="200"] .elementor :is(
  .e-n-tabs,
  .e-n-tabs-heading,
  .e-n-tab-title,
  .e-n-tab-title-text
) {
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
}

html[data-a11y-text-scale="200"] .elementor .e-n-tabs-heading {
  flex-wrap: wrap !important;
}

html[data-a11y-text-scale="200"] .elementor .e-n-tab-title {
  flex-wrap: wrap !important;
  height: auto !important;
}

html[data-a11y-text-scale="200"] .elementor .e-n-tab-title-text {
  display: block !important;
  flex: 1 1 100% !important;
  overflow-wrap: anywhere !important;
  width: 100% !important;
  word-break: break-word !important;
}

html:not([data-a11y-text-scale="100"]) .swiper,
html:not([data-a11y-text-scale="100"]) .elementor-swiper,
html:not([data-a11y-text-scale="100"]) .e-widget-swiper {
  contain: paint;
  max-width: 100% !important;
  overflow: hidden !important;
}

.skip-link[data-a11y-skip-link] {
  background: #fff !important;
  border: 3px solid #003f83 !important;
  border-radius: 6px !important;
  box-shadow: 0 6px 20px rgba(0, 29, 65, 0.28) !important;
  clip: auto !important;
  clip-path: none !important;
  color: #003f83 !important;
  display: block !important;
  font-family: "Segoe UI", Tahoma, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  height: auto !important;
  left: 16px !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  opacity: 0;
  overflow: visible !important;
  padding: 12px 16px !important;
  pointer-events: none;
  position: fixed !important;
  text-decoration: underline !important;
  top: 12px !important;
  transform: translateY(-150%);
  transition: transform 120ms ease, opacity 120ms ease;
  white-space: nowrap !important;
  width: auto !important;
  z-index: 2147483647 !important;
}

.skip-link[data-a11y-skip-link]:focus {
  opacity: 1;
  outline: 3px solid var(--a11y-focus-color) !important;
  outline-offset: 2px !important;
  pointer-events: auto;
  transform: translateY(0);
}

[id="main-content"]:focus,
[role="main"][tabindex="-1"]:focus {
  outline: none;
}

.a11y-layer,
.a11y-layer * {
  box-sizing: border-box;
}

.a11y-layer {
  bottom: max(18px, env(safe-area-inset-bottom));
  color: #082f61;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  left: max(18px, env(safe-area-inset-left));
  line-height: 1.4;
  position: fixed;
  z-index: 2147483000;
}

.a11y-trigger {
  align-items: center;
  background: #06478f;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 7px 22px rgba(0, 38, 83, 0.3);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: 700 15px/1.2 "Segoe UI", Tahoma, sans-serif;
  gap: 9px;
  justify-content: center;
  min-height: 48px;
  padding: 10px 17px;
  transform: none;
}

.a11y-trigger svg {
  fill: none;
  flex: 0 0 auto;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
  width: 24px;
}

.a11y-trigger:hover {
  background: #00376f;
}

.a11y-trigger:focus-visible,
.a11y-panel button:focus-visible {
  outline: 3px solid var(--a11y-focus-color) !important;
  outline-offset: 3px !important;
}

.a11y-panel[hidden] {
  display: none !important;
}

.a11y-panel {
  background: #fff;
  border: 2px solid #0d4f91;
  border-radius: 14px;
  bottom: 62px;
  box-shadow: 0 18px 55px rgba(0, 29, 65, 0.3);
  color: #082f61;
  max-height: min(680px, calc(100vh - 110px));
  overflow-y: auto;
  padding: 20px;
  position: absolute;
  width: min(390px, calc(100vw - 36px));
}

.a11y-panel-header {
  align-items: flex-start;
  border-bottom: 1px solid #d6e1ee;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.a11y-panel h2,
.a11y-panel h3 {
  color: #082f61;
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-style: normal;
  text-transform: none;
}

.a11y-panel h2 {
  font-size: 22px;
  font-weight: 750;
  line-height: 1.2;
  margin: 2px 0 0;
}

.a11y-panel h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 10px;
}

.a11y-close {
  align-items: center;
  background: transparent;
  border: 1px solid #b9cbe0;
  border-radius: 50%;
  color: #082f61;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  height: 44px;
  justify-content: center;
  padding: 9px;
  width: 44px;
}

.a11y-close:hover {
  background: #edf5fc;
}

.a11y-close svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  width: 22px;
}

.a11y-control-group {
  margin-bottom: 17px;
}

.a11y-size-options {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.a11y-size-button {
  background: #f4f8fc;
  border: 2px solid #9eb7d2;
  border-radius: 8px;
  color: #082f61;
  cursor: pointer;
  font: 700 14px/1 "Segoe UI", Tahoma, sans-serif;
  min-height: 44px;
  padding: 8px 4px;
}

.a11y-size-button:hover {
  background: #e6f1fb;
}

.a11y-size-button[aria-pressed="true"] {
  background: #06478f;
  border-color: #06478f;
  color: #fff;
}

.a11y-option-list {
  border-bottom: 1px solid #d6e1ee;
  border-top: 1px solid #d6e1ee;
  margin-bottom: 17px;
}

.a11y-panel button.a11y-option {
  align-items: center;
  appearance: none;
  background: transparent !important;
  border: 0;
  border-bottom: 1px solid #e2e9f1;
  color: #082f61 !important;
  cursor: pointer;
  display: flex;
  font: 600 15px/1.35 "Segoe UI", Tahoma, sans-serif;
  gap: 12px;
  min-height: 48px;
  padding: 9px 2px;
  text-align: left;
  width: 100%;
}

.a11y-panel button.a11y-option:last-child {
  border-bottom: 0;
}

.a11y-panel button.a11y-option:hover,
.a11y-panel button.a11y-option:focus-visible {
  background: #e6f1fb !important;
  color: #06478f !important;
}

.a11y-panel button.a11y-option[aria-pressed="true"] {
  background: #0b579f !important;
  color: #fff !important;
}

.a11y-panel button.a11y-option[aria-pressed="true"]:hover,
.a11y-panel button.a11y-option[aria-pressed="true"]:focus-visible {
  background: #06478f !important;
  color: #fff !important;
}

.a11y-panel button.a11y-option > span:last-child {
  color: inherit !important;
}

.a11y-option-indicator {
  background: #fff;
  border: 2px solid #718ead;
  border-radius: 999px;
  flex: 0 0 auto;
  height: 24px;
  position: relative;
  transition: background-color 120ms ease;
  width: 42px;
}

.a11y-option-indicator::after {
  background: #718ead;
  border-radius: 50%;
  content: "";
  height: 14px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: left 120ms ease, background-color 120ms ease;
  width: 14px;
}

.a11y-option[aria-pressed="true"] .a11y-option-indicator {
  background: #06478f;
  border-color: #06478f;
}

.a11y-option[aria-pressed="true"] .a11y-option-indicator::after {
  background: #fff;
  left: 21px;
}

.a11y-reset {
  background: #fff;
  border: 2px solid #06478f;
  border-radius: 8px;
  color: #06478f;
  cursor: pointer;
  font: 700 15px/1.25 "Segoe UI", Tahoma, sans-serif;
  min-height: 46px;
  padding: 10px 14px;
  width: 100%;
}

.a11y-reset:hover {
  background: #edf5fc;
}

.a11y-status {
  color: #31506f;
  font-size: 13px;
  line-height: 1.35;
  margin: 11px 0 0;
  min-height: 18px;
}

html[data-a11y-font="true"] body,
html[data-a11y-font="true"] :is(h1, h2, h3, h4, h5, h6, p, li, a, label, button, input, textarea, select, td, th) {
  font-family: Verdana, "Segoe UI", sans-serif !important;
}

html[data-a11y-spacing="true"] :is([role="main"], main, footer)
  :is(h1, h2, h3, h4, h5, h6, p, li, a, label, button, input, textarea, select, td, th) {
  letter-spacing: 0.12em !important;
  line-height: 1.5 !important;
  word-spacing: 0.16em !important;
}

html[data-a11y-spacing="true"] :is([role="main"], main, footer) p {
  margin-bottom: 2em !important;
}

html[data-a11y-links="true"] a[href]:not(.elementor-button):not(.a11y-trigger) {
  text-decoration: underline !important;
  text-decoration-thickness: 0.12em !important;
  text-underline-offset: 0.18em !important;
}

html[data-a11y-motion="true"] *,
html[data-a11y-motion="true"] *::before,
html[data-a11y-motion="true"] *::after {
  animation-delay: 0s !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-delay: 0s !important;
  transition-duration: 0.001ms !important;
}

html[data-a11y-contrast="true"] {
  color-scheme: dark;
}

html[data-a11y-contrast="true"] body,
html[data-a11y-contrast="true"] :is(main, [role="main"], section, article, footer),
html[data-a11y-contrast="true"] .elementor:not(.a11y-layer),
html[data-a11y-contrast="true"] .elementor-element:not(.elementor-widget-image) {
  background-color: #000 !important;
  background-image: none !important;
  border-color: #fff !important;
  color: #fff !important;
}

html[data-a11y-contrast="true"] :is(h1, h2, h3, h4, h5, h6, p, li, label, legend, td, th, figcaption, blockquote) {
  color: #fff !important;
  text-shadow: none !important;
}

html[data-a11y-contrast="true"] a[href]:not(.a11y-trigger),
html[data-a11y-contrast="true"] a[href]:not(.a11y-trigger):visited {
  color: #ffe66b !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

html[data-a11y-contrast="true"] :is(button, input, textarea, select):not(.a11y-trigger):not(.a11y-close):not(.a11y-option):not(.a11y-size-button):not(.a11y-reset) {
  background: #000 !important;
  border: 2px solid #fff !important;
  color: #fff !important;
}

html[data-a11y-contrast="true"] :is(
  .withdrawal-card,
  .withdrawal-form,
  .withdrawal-declaration,
  .withdrawal-status,
  .ultima-contact-card,
  .ultima-contact-app,
  .ultima-contact-form,
  .ultima-contact-help,
  .ultima-contact-privacy,
  .ultima-contact-status
) {
  background: #000 !important;
  border-color: #fff !important;
  color: #fff !important;
}

html[data-a11y-contrast="true"] :is(
  .withdrawal-card,
  .withdrawal-declaration,
  .ultima-contact-card,
  .ultima-contact-help,
  .ultima-contact-privacy
) :is(h1, h2, h3, p, label, span) {
  color: #fff !important;
}

html[data-a11y-contrast="true"] :is(.withdrawal-required, .ultima-contact-required) {
  color: #ffe66b !important;
}

html[data-a11y-contrast="true"] :is(button, input, textarea, select, a):focus-visible {
  outline: 3px solid #ffe66b !important;
  outline-offset: 3px !important;
}

html[data-a11y-contrast="true"] .static-sfp-header,
html[data-a11y-contrast="true"] .static-sfp-header .static-sfp-header-shell,
html[data-a11y-contrast="true"] .static-sfp-header .static-sfp-header-content {
  background: #000 !important;
  color: #fff !important;
}

html[data-a11y-contrast="true"] .static-sfp-header .static-sfp-header-brand,
html[data-a11y-contrast="true"] .static-sfp-header .static-sfp-header-brand .e-con,
html[data-a11y-contrast="true"] .static-sfp-header .static-sfp-header-brand .elementor-widget-container {
  background: #fff !important;
}

html[data-a11y-contrast="true"] .static-sfp-header :is(.elementor-item, .elementor-icon, .elementor-icon-box-title, .elementor-icon-box-title a) {
  color: #fff !important;
}

html[data-a11y-contrast="true"] .static-language-toggle {
  background: #000 !important;
  border-color: #fff !important;
  color: #fff !important;
}

html[data-a11y-contrast="true"] .static-language-menu,
html[data-a11y-contrast="true"] .static-language-menu a {
  background: #000 !important;
  color: #ffe66b !important;
}

html[data-a11y-contrast="true"] .a11y-layer,
html[data-a11y-contrast="true"] .a11y-panel,
html[data-a11y-contrast="true"] .a11y-panel * {
  color-scheme: light;
}

html[data-a11y-contrast="true"] .a11y-panel {
  background: #fff !important;
  border-color: #082f61 !important;
  color: #082f61 !important;
}

html[data-a11y-contrast="true"] .a11y-panel :is(h2, h3, p, .a11y-option),
html[data-a11y-contrast="true"] .a11y-panel .a11y-option span {
  color: #082f61 !important;
}

html[data-a11y-contrast="true"] .a11y-panel .a11y-option {
  background: transparent !important;
}

html[data-a11y-contrast="true"] .a11y-panel button.a11y-option[aria-pressed="true"] {
  background: #0b579f !important;
  color: #fff !important;
}

html[data-a11y-contrast="true"] .a11y-panel button.a11y-option[aria-pressed="true"] > span {
  color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: 0.001ms !important;
  }
}

@media (forced-colors: active) {
  .a11y-trigger,
  .a11y-panel,
  .a11y-panel button,
  .skip-link[data-a11y-skip-link] {
    forced-color-adjust: auto;
  }
}

@media (max-width: 520px) {
  .a11y-layer {
    bottom: max(12px, env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
  }

  .a11y-trigger {
    height: 50px;
    padding: 10px;
    width: 50px;
  }

  .a11y-trigger span {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .a11y-panel {
    bottom: 62px;
    max-height: calc(100vh - 90px);
    padding: 16px;
    width: calc(100vw - 24px);
  }
}
