@charset "UTF-8";
*,
*::before,
*::after {
  box-sizing: border-box;
}

:where(body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote, dl, dd) {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:where(img, video, canvas, svg) {
  display: block;
  max-width: 100%;
}

:where(button) {
  all: unset;
  cursor: pointer;
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit;
}

:where(ul, ol) {
  list-style: none;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

:root {
  --fallback: Verdana, Arial, sans-serif;
  --mainFont: 'PT Sans', var(--fallback);
  --headline: 'Pontano Sans', var(--fallback);
  --mainColor: #61181E;
  --mainColorRGB: 0, 99, 200;
  --mainColorLight: rgb(137.8842975207, 34.1157024793, 42.6446280992);
  --mainColorDark: rgb(35.673553719, 8.826446281, 11.0330578512);
  --secondColor: #D71133;
  --secondColorLight: rgb(238.3663793103, 44.6336206897, 77.900862069);
  --secondColorDark: rgb(144.1056034483, 11.3943965517, 34.1831896552);
  --fontColor: #000000;
  --headlineColor: #821D26;
  --backgroundColor: #f1f1f1;
  --backgroundColorRGB: 241, 241, 241;
  --backgroundColorDark: rgb(164.5, 164.5, 164.5);
  --warningColor: #b10000;
  --formBorderColor: #b6b6b6;
  --hrColor: #692629;
  --contrastColor: #000;
  --contrastColorRGB: 0, 0, 0;
  --contrastColorLight: rgb(25.5, 25.5, 25.5);
  --contrastColorInverted: #fff;
  --contrastColorInvertedRGB: 255, 255, 255;
  --contrastColorDark: rgb(229.5, 229.5, 229.5);
  --baseFontSize: 13px;
  --baseLineheight: 170%;
  --h1FontSize: clamp(1.125rem, 1.0277777778rem + 0.2222222222vw, 1.25rem);
  --h2FontSize: clamp(1.125rem, 1.0277777778rem + 0.2222222222vw, 1.25rem);
  --h3FontSize: clamp(1.0625rem, 1.0138888889rem + 0.1111111111vw, 1.125rem);
  --h4FontSize: clamp(1rem, 1rem + 0vw, 1rem);
  --h5FontSize: clamp(0.9375rem, 0.9375rem + 0vw, 0.9375rem);
  --h6FontSize: clamp(0.875rem, 0.875rem + 0vw, 0.875rem);
  --headlineLineheight: 120%;
  --headerHeight: 105px;
  --stickyHeaderHeight: 51px;
  --stickyHeaderHeightMobile: 50px;
  --spaceBetweenDefault: 20px;
  --spaceBetweenSlim: 10px;
  --spaceBetweenWide: clamp(1.875rem, -0.5555555556rem + 5.5555555556vw, 5rem);
  --defaultFrameSpace: clamp(1.5625rem, 1.3194444444rem + 0.5555555556vw, 1.875rem);
  --recursiveFrameSpace: 10px;
  --baseTransition: all .3s ease-in-out;
  --baseWidth: 92%;
  --reducedWidth: 960px;
  --maxWidth: 1200px;
  --maxWidthBig: 1500px;
  --pageLimit: 1920px;
}

/* pt-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/pt-sans-v18-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* pt-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "PT Sans";
  font-style: italic;
  font-weight: 400;
  src: url("../fonts/pt-sans-v18-latin-italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* pt-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/pt-sans-v18-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* pt-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "PT Sans";
  font-style: italic;
  font-weight: 700;
  src: url("../fonts/pt-sans-v18-latin-700italic.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* pontano-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Pontano Sans";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/pontano-sans-v19-latin-300.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* pontano-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Pontano Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/pontano-sans-v19-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* pontano-sans-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Pontano Sans";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/pontano-sans-v19-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* pontano-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Pontano Sans";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/pontano-sans-v19-latin-600.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* pontano-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Pontano Sans";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/pontano-sans-v19-latin-700.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* apply a natural box layout model to all elements, but allowing components to change */
html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  -webkit-tap-highlight-color: rgba(var(--contrastColorInvertedRGB), 0);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-size: var(--baseFontSize);
  font-weight: normal;
  font-family: var(--mainFont);
  color: var(--fontColor);
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  background: var(--contrastColorInverted);
  line-height: var(--baseLineheight);
  overflow-wrap: break-word;
}
body::before {
  content: "";
  display: block;
  width: 100vw;
  height: 100vh;
  background: rgba(var(--contrastColorRGB), 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
body:has(.background-image) {
  position: relative;
}
body:has(.background-image) .background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
}
body:has(.background-image) .background-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
body.nav-open {
  overflow: hidden;
}
body.nav-open::before {
  opacity: 1;
}
body .main .gridrow {
  align-items: start;
}
body .cont {
  background: rgba(var(--contrastColorInvertedRGB), 0.9);
  border-bottom: 2px solid var(--mainColor);
}
body > .logo-wrapper {
  position: relative;
  z-index: 1;
  max-width: var(--reducedWidth);
  width: var(--baseWidth);
  margin-inline: auto;
  margin-block: clamp(0.625rem, -0.3472222222rem + 2.2222222222vw, 1.875rem);
}
body > .logo-wrapper .logo {
  transition: var(--baseTransition);
  background: url("../Images/logo.svg") no-repeat 0/contain;
  max-width: 690px;
  width: 100%;
  height: clamp(3.125rem, -0.8611111111rem + 9.1111111111vw, 8.25rem);
  margin-left: 0;
  margin-right: auto;
}
body > .logo-wrapper .logo a {
  display: block;
  width: 100%;
  height: 100%;
}
body > .logo-wrapper .logo a[href*="//"]::after {
  content: none;
}
body > .logo-wrapper .logo span {
  display: none;
}

::-moz-selection {
  background: var(--mainColor);
  text-shadow: none;
  color: var(--contrastColorInverted);
}
:is(.frame-bg--ci, .foot, .px-rightsidebar) ::-moz-selection {
  background: var(--secondColor);
  color: var(--contrastColorInvertedRGB);
}

::-moz-selection {
  background: var(--mainColor);
  text-shadow: none;
  color: var(--contrastColorInverted);
}

::selection {
  background: var(--mainColor);
  text-shadow: none;
  color: var(--contrastColorInverted);
}
:is(.frame-bg--ci, .foot, .px-rightsidebar) ::-moz-selection {
  background: var(--secondColor);
  color: var(--contrastColorInvertedRGB);
}
:is(.frame-bg--ci, .foot, .px-rightsidebar) ::selection {
  background: var(--secondColor);
  color: var(--contrastColorInvertedRGB);
}

hr {
  display: block;
  height: 1px;
  background: var(--hrColor);
  margin: 1em 0;
  border: none;
}

img:not(.is_svg),
video {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
}

.is_svg {
  display: inline-block;
  min-height: 1px;
  min-width: 1px;
  max-width: none;
}

figure {
  margin: 0;
}

.browsehappy {
  margin: 0;
  padding: 0.4em 0;
  background: var(--warningColor);
  font-size: 13px;
  color: var(--contrastColorInverted);
  text-align: center;
}
.browsehappy a {
  color: var(--contrastColorInverted) !important;
}

a:not([class]) {
  color: var(--secondColor);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
@media all and (hover: hover) {
  a:not([class]):hover {
    color: var(--mainColor);
  }
}
a:not([class]):focus-visible {
  color: var(--mainColor);
}
:is(.frame-bg--ci, .foot, .px-rightsidebar) a:not([class]) {
  color: var(--contrastColorInverted);
}
@media all and (hover: hover) {
  :is(.frame-bg--ci, .foot, .px-rightsidebar) a:not([class]):hover {
    color: rgba(var(--contrastColorInvertedRGB), 0.7);
  }
}
:is(.frame-bg--ci, .foot, .px-rightsidebar) a:not([class]):focus-visible {
  color: rgba(var(--contrastColorInvertedRGB), 0.7);
}

a[href*="//"] {
  position: relative;
}
a[href*="//"]::after {
  content: "";
  display: inline-block;
  position: relative;
  top: 0;
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: currentColor;
  -webkit-mask: url("../Images/external-link.svg") no-repeat center left/100% auto;
          mask: url("../Images/external-link.svg") no-repeat center left/100% auto;
  margin-left: 5px;
  transition: var(--baseTransition);
}

figure a[href*="//"]::after {
  content: none;
}

.anchor {
  display: block;
  height: 0;
  position: relative;
  top: calc((var(--stickyHeaderHeight) + 20px) * -1);
}
@media all and (max-width: 1200px) {
  .anchor {
    top: calc((var(--stickyHeaderHeightMobile) + 20px) * -1);
  }
}

#subhead {
  position: relative;
}

.cont ul {
  margin: 5px 0px 10px 15px;
}
.cont ul li {
  padding: 3px 0px 3px 15px;
  position: relative;
}
.cont ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--contrastColor);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 12px;
}
.cont ul li ul li {
  padding: 5px 10px 5px 20px;
}
.cont ul li ul li::before {
  background: var(--mainColorLight);
}
:is(.frame-bg--ci) .cont ul li ul li::before {
  filter: brightness(0) invert(1);
}
.cont :is(.frame-bg--ci, .foot, .px-rightsidebar) ul li::before {
  filter: brightness(0) invert(1);
}

.cont ol {
  margin: 10px 0;
  counter-reset: item;
}
.cont ol > li {
  padding: 5px 0 5px 1.7em;
  counter-increment: item;
  position: relative;
}
.cont ol > li::before {
  content: counter(item) ".";
  display: inline-block;
  position: absolute;
  top: 5px;
  left: 0;
  font-weight: bold;
}

.cont .ce-gallery .lightbox {
  position: relative;
  height: 100%;
  display: block;
}
.cont .ce-gallery .lightbox::before {
  content: "";
  background: rgba(var(--contrastColorRGB), 0.7) url("../Images/magnifier.svg") no-repeat center center;
  background-size: 36px 36px;
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: var(--baseTransition);
  z-index: 1;
}
@media all and (hover: hover) {
  .cont .ce-gallery .lightbox:hover::before {
    opacity: 1;
  }
}
.cont .ce-gallery .lightbox:focus-visible::before {
  opacity: 1;
}

.cont .ce-textpic .ce-gallery {
  margin-bottom: 0;
}
.cont .ce-textpic.ce-above .ce-gallery {
  margin-bottom: 10px;
}

.image:has(figcaption) {
  position: relative;
}
.image:has(figcaption) figcaption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(var(--contrastColorRGB), 0.7);
  color: var(--contrastColorInverted);
  font-size: 0.7em;
  padding: 5px 15px;
}

.sr-text {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
  white-space: nowrap !important;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

:where(h1, h2, h3, h4, h5, h6, .h3) {
  font-weight: normal;
  margin: 0;
  font-family: var(--headline);
  line-height: var(--headlineLineheight);
  color: var(--headlineColor);
  -webkit-hyphens: auto;
          hyphens: auto;
  hyphenate-limit-chars: auto 5;
  -webkit-hyphenate-limit-before: 5;
  -webkit-hyphenate-limit-after: 5;
  -webkit-hyphenate-limit-lines: 2;
}
:where(h1, h2, h3, h4, h5, h6, .h3) + :where(p, ul, ol) {
  margin-top: 1em;
}
:is(.frame-bg--ci, .foot, .px-rightsidebar) :where(h1, h2, h3, h4, h5, h6, .h3) {
  color: var(--contrastColorInverted);
}
@media all and (max-width: 450px) {
  :where(h1, h2, h3, h4, h5, h6, .h3) {
    -webkit-hyphens: auto;
            hyphens: auto;
    hyphenate-limit-chars: auto 5;
    -webkit-hyphenate-limit-before: 5;
    -webkit-hyphenate-limit-after: 5;
    -webkit-hyphenate-limit-lines: 2;
  }
}

h1 {
  font-size: var(--h1FontSize);
  text-transform: uppercase;
}
:is(#uid29) h1 {
  font-size: calc(var(--h1FontSize) * 0.7);
}

h2 {
  font-size: var(--h2FontSize);
}
:is(#uid29) h2 {
  font-size: calc(var(--h2FontSize) * 0.7);
}

h3, .h3 {
  font-size: var(--h3FontSize);
}
:is(#uid29) h3, :is(#uid29) .h3 {
  font-size: calc(var(--h3FontSize) * 0.7);
}

h4 {
  font-size: var(--h4FontSize);
}
:is(#uid29) h4 {
  font-size: calc(var(--h4FontSize) * 0.7);
}

h5 {
  font-size: var(--h5FontSize);
}
:is(#uid29) h5 {
  font-size: calc(var(--h5FontSize) * 0.7);
}

h6 {
  font-size: var(--h6FontSize);
}
:is(#uid29) h6 {
  font-size: calc(var(--h6FontSize) * 0.7);
}

p[class*=roofline] {
  font-weight: 700;
}

*[class*=headline] + *:not(.frame),
:is(h1, h2, h3, h4, h5, h6, .h3) + *:not(.frame) {
  margin-top: 1em;
}

i,
em {
  font-style: italic;
}

strong,
b {
  font-weight: 700;
}

:is(.frame-bg--ci, .foot, .px-rightsidebar) p {
  color: var(--contrastColorInverted);
}
p.text-align-justify {
  text-align: justify;
}
p + :is(p, ul, ol),
p + :is(h1, h2, h3, h4, h5, h6, .h3) {
  margin-top: 0.5em;
}

.button, .head .tabtocontent, input[type=submit],
button[type=submit] {
  display: inline-block;
  color: var(--contrastColorInverted);
  padding: clamp(0.625rem, 0.3819444444rem + 0.5555555556vw, 0.9375rem) clamp(0.9375rem, 0.4513888889rem + 1.1111111111vw, 1.5625rem);
  margin: 0;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
  font-weight: normal;
  line-height: 120%;
  background: var(--mainColor);
  border: 2px solid var(--mainColor);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, border-color 0.3s ease-in-out;
  cursor: pointer;
}
@media all and (hover: hover) {
  .button:hover, .head .tabtocontent:hover, input[type=submit]:hover,
  button[type=submit]:hover {
    background-color: var(--mainColorDark);
    border-color: var(--mainColorDark);
    color: var(--contrastColorInverted);
  }
}
.button:focus-visible, .head .tabtocontent:focus-visible, input[type=submit]:focus-visible,
button[type=submit]:focus-visible {
  background-color: var(--mainColorDark);
  border-color: var(--mainColorDark);
  color: var(--contrastColorInverted);
}
.button:not(:only-child), .head .tabtocontent:not(:only-child), input[type=submit]:not(:only-child),
button[type=submit]:not(:only-child) {
  margin: 0 1em 1em 0;
}
.text-center .button:not(:only-child), .text-center .head .tabtocontent:not(:only-child), .head .text-center .tabtocontent:not(:only-child), .text-center input[type=submit]:not(:only-child),
.text-center button[type=submit]:not(:only-child) {
  margin: 0 1em 1em;
}
:is(.frame-bg--ci, .foot, .px-rightsidebar) .button, :is(.frame-bg--ci, .foot, .px-rightsidebar) .head .tabtocontent, .head :is(.frame-bg--ci, .foot, .px-rightsidebar) .tabtocontent, :is(.frame-bg--ci, .foot, .px-rightsidebar) input[type=submit],
:is(.frame-bg--ci, .foot, .px-rightsidebar) button[type=submit] {
  background-color: var(--contrastColorInverted);
  border-color: var(--contrastColorInverted);
  color: var(--mainColor);
}
@media all and (hover: hover) {
  :is(.frame-bg--ci, .foot, .px-rightsidebar) .button:hover, :is(.frame-bg--ci, .foot, .px-rightsidebar) .head .tabtocontent:hover, .head :is(.frame-bg--ci, .foot, .px-rightsidebar) .tabtocontent:hover, :is(.frame-bg--ci, .foot, .px-rightsidebar) input[type=submit]:hover,
  :is(.frame-bg--ci, .foot, .px-rightsidebar) button[type=submit]:hover {
    background-color: var(--mainColorDark);
    border-color: var(--mainColorDark);
    color: var(--contrastColorInverted);
  }
}
:is(.frame-bg--ci, .foot, .px-rightsidebar) .button:focus-visible, :is(.frame-bg--ci, .foot, .px-rightsidebar) .head .tabtocontent:focus-visible, .head :is(.frame-bg--ci, .foot, .px-rightsidebar) .tabtocontent:focus-visible, :is(.frame-bg--ci, .foot, .px-rightsidebar) input[type=submit]:focus-visible,
:is(.frame-bg--ci, .foot, .px-rightsidebar) button[type=submit]:focus-visible {
  background-color: var(--mainColorDark);
  border-color: var(--mainColorDark);
  color: var(--contrastColorInverted);
}
.button--secondary {
  color: var(--mainColor);
  background: transparent;
  border: 2px solid var(--mainColor);
}
@media all and (hover: hover) {
  .button--secondary:hover {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
    color: var(--contrastColorInverted);
  }
}
.button--secondary:focus-visible {
  background-color: var(--mainColor);
  border-color: var(--mainColor);
  color: var(--contrastColorInverted);
}
:is(.frame-bg--ci, .foot, .px-rightsidebar) .button--secondary {
  background-color: transparent;
  border-color: var(--contrastColorInverted);
  color: var(--contrastColorInverted);
}
@media all and (hover: hover) {
  :is(.frame-bg--ci, .foot, .px-rightsidebar) .button--secondary:hover {
    background-color: var(--contrastColorInverted);
    color: var(--mainColor);
  }
}
:is(.frame-bg--ci, .foot, .px-rightsidebar) .button--secondary:focus-visible {
  background-color: var(--contrastColorInverted);
  color: var(--mainColor);
}

.pxicon {
  position: relative;
  display: inline-block;
  padding-left: 30px;
  color: var(--mainColor);
}
:is(.frame-bg--ci) .pxicon {
  color: var(--contrastColorInverted);
  transition: opacity 0.3s ease-in-out;
}
@media all and (hover: hover) {
  :is(.frame-bg--ci) .pxicon:hover {
    color: var(--contrastColorInverted);
    opacity: 0.7;
  }
}
:is(.frame-bg--ci) .pxicon:focus-visible {
  color: var(--contrastColorInverted);
  opacity: 0.7;
}
.pxicon::before {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  background: currentColor;
}
@media all and (hover: hover) {
  .pxicon:hover {
    color: var(--secondColor);
  }
}
.pxicon:focus-visible {
  color: var(--secondColor);
}
.pxicon--phone::before {
  -webkit-mask: url("../Images/phone.svg") no-repeat center/100% auto;
          mask: url("../Images/phone.svg") no-repeat center/100% auto;
}
.pxicon--mail::before {
  -webkit-mask: url("../Images/mail.svg") no-repeat center/100% auto;
          mask: url("../Images/mail.svg") no-repeat center/100% auto;
}

.pxmaskicon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pxmaskicon .image {
  display: block;
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask-size: 24px 24px;
          mask-size: 24px 24px;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}

.textcolor--primary {
  color: var(--mainColor) !important;
}
.textcolor--secondary {
  color: var(--secondColor) !important;
}

.textsize--large {
  font-size: 1.5em;
}
.textsize--small {
  font-size: 0.85em;
}

.uppercase {
  text-transform: uppercase;
}

.table_container {
  overflow: auto;
}

.cont table {
  width: 100%;
  margin: 10px 0px 5px;
}
.cont table tr th {
  text-align: left;
  font-weight: bold;
  font-size: 16px;
  color: var(--mainColor);
  padding: 10px 15px;
}
.cont table tr td {
  padding: 2px 10px 2px 0;
}
.cont table thead tr th {
  border-bottom: 1px solid var(--mainColor);
}
.cont table:not(.styledtable) tr th:first-child {
  padding-left: 0;
}
.cont table:not(.styledtable) tr td:first-child {
  padding-left: 0;
}
.cont table.table-flex tr {
  display: flex;
}
.cont table.styledtable tr th {
  color: var(--contrastColorInverted);
  background: var(--mainColor);
  border-right: 1px solid var(--contrastColorInverted);
}
.cont table.styledtable tr td {
  border-right: 1px solid var(--contrastColorInverted);
}
.cont table.styledtable tr td:last-child {
  border-right: none;
}
.cont table.styledtable tr:nth-child(even) {
  background-color: var(--backgroundColor);
}
.cont table.styledtable thead tr th {
  border-bottom: none;
}

@media all and (max-width: 768px) {
  .CookieDeclarationTable, .CookieDeclarationTable * {
    display: block;
  }
  .CookieDeclarationTable thead {
    display: none;
  }
  .CookieDeclarationTable tr td:first-child {
    font-weight: 700;
  }
}
.gridrow {
  display: grid;
  gap: var(--space);
  --space: var(--spaceBetweenDefault);
  grid-template-columns: minmax(0, 1fr);
}
.gridrow.col-spacing-wide {
  --space: var(--spaceBetweenWide);
}
.gridrow.col-spacing-slim {
  --space: var(--spaceBetweenSlim);
}
.gridrow.align-middle {
  align-items: center;
}
.gridrow.align-top {
  align-items: flex-start;
}
.gridrow.align-bottom {
  align-items: flex-end;
}

/*Boxen 2er%*/
@container (width >=450px) {
  .px-grid2cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*Boxen 3er%*/
@container (width >=768px) {
  .px-grid3cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/*Boxen 4er%*/
@container (width >=768px) {
  .px-grid4cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container (width >=1024px) {
  .px-grid4cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/*Boxen 5er%*/
@container (width >=768px) {
  .px-grid5cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@container (width >=1024px) {
  .px-grid5cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@container (width >=1200px) {
  .px-grid5cols {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/*Boxen 33%-66%*/
@container (width >=450px) {
  .px-grid3366 {
    grid-template-columns: calc(33.333% - 1 * var(--space) / 2) calc(66.666% - 1 * var(--space) / 2);
  }
}

/*Boxen 66%-33%*/
@container (width >=450px) {
  .px-grid6633 {
    grid-template-columns: calc(66.666% - 1 * var(--space) / 2) calc(33.333% - 1 * var(--space) / 2);
  }
}

/*Boxen 20%-80%*/
@container (width >=450px) {
  .px-grid2080 {
    grid-template-columns: calc(20% - 1 * var(--space) / 2) calc(80% - 1 * var(--space) / 2);
  }
}

/*Boxen 80%-20%*/
@container (width >=450px) {
  .px-grid8020 {
    grid-template-columns: calc(80% - 1 * var(--space) / 2) calc(20% - 1 * var(--space) / 2);
  }
}

@container (width >=640px) {
  .px-grid7228 {
    grid-template-columns: calc(72.666% - 1 * var(--space) / 2) calc(27.333% - 1 * var(--space) / 2);
  }
}

@container (width >=640px) {
  .px-grid2872 {
    grid-template-columns: calc(27.333% - 1 * var(--space) / 2) calc(72.666% - 1 * var(--space) / 2);
  }
}

@container (width >=450px) {
  .px-grid4060 {
    grid-template-columns: calc(40% - 1 * var(--space) / 2) calc(60% - 1 * var(--space) / 2);
  }
}

@container (width >=450px) {
  .px-grid6040 {
    grid-template-columns: calc(60% - 1 * var(--space) / 2) calc(40% - 1 * var(--space) / 2);
  }
}

body {
  position: relative;
  display: flex;
  min-height: 100vh;
  width: 100vw;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  flex-direction: column;
  margin: 0 auto;
  overflow-x: clip;
}
body main {
  position: relative;
  flex: 1 0 auto;
  container-type: inline-size;
  width: var(--baseWidth);
  max-width: var(--reducedWidth);
  margin-inline: auto;
}
body main > div.first-child:not(:where([class*=frame-bg].frame-layout-10,
[class*=frame-bg].frame-layout-20,
[class*=frame-space-before])) {
  padding-top: var(--defaultFrameSpace);
}
body main > div:last-child:not(:where([class*=frame-bg].frame-layout-10,
[class*=frame-bg].frame-layout-20,
[class*=frame-space-after])) {
  padding-bottom: var(--defaultFrameSpace);
}
body:has(> .logo-wrapper) main > div.first-child:not(:where([class*=frame-bg].frame-layout-10,
[class*=frame-bg].frame-layout-20,
[class*=frame-space-before])) {
  padding-top: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--formBorderColor);
  border-radius: 0;
  font-family: var(--mainFont);
  padding: 10px 15px;
}
input:focus,
select:focus,
textarea:focus {
  border: 1px solid var(--mainColor);
  outline: none;
}

input[type=submit] {
  width: auto;
  cursor: pointer;
  border: none;
  outline: none;
}
input[type=submit]:focus {
  border: none;
  outline: none;
}

select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  color: var(--fontColor);
  background: url("../Images/select.svg") no-repeat center right 15px/15px auto;
  padding-right: 45px;
}
select option {
  color: var(--fontColor);
}
select:valid {
  border-color: var(--mainColor);
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: none;
  height: 180px;
}

input[type=radio],
input[type=checkbox] {
  width: auto;
  margin-right: 5px;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  transition-delay: 2147483647s;
}

::-webkit-input-placeholder {
  color: var(--mainColorDark);
}

:-moz-placeholder {
  opacity: 1;
  color: var(--mainColorDark);
}

::-moz-placeholder {
  opacity: 1;
  color: var(--mainColorDark);
}

:-ms-input-placeholder {
  color: var(--mainColorDark);
}

:focus {
  outline: rgba(var(--contrastColorInvertedRGB), 0);
}

.checkbox input,
.radio input {
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: var(--contrastColorInverted);
  background-position: center;
  border: 1px solid var(--formBorderColor);
  transition: var(--baseTransition);
}
@media all and (hover: hover) {
  .checkbox input:hover,
  .radio input:hover {
    border-color: var(--mainColor);
  }
}
.checkbox input:focus-visible,
.radio input:focus-visible {
  border-color: var(--mainColor);
}
.checkbox input:checked,
.radio input:checked {
  background: var(--contrastColorInverted) url("../Images/check.svg") no-repeat center center/80% auto;
  border: 1px solid var(--mainColor);
}
.checkbox input[type=radio],
.radio input[type=radio] {
  border-radius: 100%;
}

.multiupload-files {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
}

.multiupload-file-block {
  border-radius: 10px;
  background-color: rgba(144, 163, 203, 0.2);
  margin: 5px;
  color: initial;
  display: flex;
  align-items: flex-start;
  padding: 7px;
}

.multiupload-file-block > span.name {
  padding-right: 10px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  display: inline-flex;
}

.multiupload-file-delete {
  display: flex;
  width: 24px;
  color: initial;
  background-color: rgba(110, 180, 255, 0);
  font-size: large;
  justify-content: center;
  margin-right: 3px;
  cursor: pointer;
}

.multiupload-file-delete:hover {
  background-color: rgba(144, 163, 203, 0.2);
  border-radius: 10px;
}

.multiupload-file-delete > span {
  transform: rotate(45deg);
}

.multiupload-image {
  display: flex;
  flex-direction: column;
}

.multiupload-image img {
  max-width: 250px;
  max-height: 250px;
  width: auto;
  height: auto;
}

.frame[class*=px] {
  container-type: inline-size;
}

.frame-bg--light {
  background: var(--backgroundColor);
}

.frame-bg--ci {
  background: var(--mainColor);
  color: var(--contrastColorInverted);
}
.frame-bg--ci table thead tr th {
  border-color: var(--contrastColorInverted);
}
.frame-bg--ci table tr th {
  color: var(--contrastColorInverted);
}
.frame-bg--ci table.styledtable tr th {
  background: var(--contrastColorInverted);
  color: var(--mainColor);
  border-color: var(--mainColorDark);
}
.frame-bg--ci table.styledtable tr td {
  border-color: var(--mainColorDark);
}
.frame-bg--ci table.styledtable tr:nth-child(even) {
  background-color: var(--mainColorDark);
}

/*Layouts -----------------------------------------*/
.cont > .frame {
  width: 100%;
}
.cont > .frame > .inner {
  width: var(--baseWidth);
  margin-inline: auto;
  max-width: var(--reducedWidth);
}
.cont > .frame.frame-layout-10 > .inner {
  max-width: none;
}
.cont > .frame.frame-layout-10.frame-bg--light {
  padding: 20px 0;
}
.cont > .frame.frame-layout-20 > .inner {
  max-width: var(--pageLimit);
}
.cont .frame-layout-30 > .inner {
  max-width: var(--reducedWidth);
}

.frame {
  padding: var(--defaultFrameSpace) 0;
}
.frame:where([class*=frame-space-before]) {
  margin-top: 0;
}
.frame:where([class*=frame-space-after]) {
  margin-bottom: 0;
}
.frame.frame:not([class*=frame-space-after]):has(+ [class*=frame-space-before]) {
  padding-bottom: 0;
}
.frame.frame:not([class*=frame-space-after]):has(+ [class*=frame-bg]) {
  padding-bottom: calc(var(--defaultFrameSpace) * 2);
}
.frame:is([class*=frame-bg]):has(+ .frame:not([class*=frame-space-before])) + .frame {
  padding-top: calc(var(--defaultFrameSpace) * 2);
}
.frame .frame {
  padding: var(--recursiveFrameSpace) 0;
}
.frame .frame .frame {
  padding: 0;
}
:is(.head, #subhead, .foot) .frame {
  padding-block: 0;
}
.frame-space-before-extra-small {
  padding-top: clamp(0.625rem, 0.625rem + 0vw, 0.625rem) !important;
}
.frame-space-after-extra-small {
  padding-bottom: clamp(0.625rem, 0.625rem + 0vw, 0.625rem) !important;
}
.frame-space-before-small {
  padding-top: clamp(1.25rem, 1.1527777778rem + 0.2222222222vw, 1.375rem) !important;
}
.frame-space-after-small {
  padding-bottom: clamp(1.25rem, 1.1527777778rem + 0.2222222222vw, 1.375rem) !important;
}
.frame-space-before-medium {
  padding-top: clamp(1.875rem, -0.0694444444rem + 4.4444444444vw, 4.375rem) !important;
}
.frame-space-after-medium {
  padding-bottom: clamp(1.875rem, -0.0694444444rem + 4.4444444444vw, 4.375rem) !important;
}
.frame-space-before-large {
  padding-top: clamp(2.5rem, -0.4166666667rem + 6.6666666667vw, 6.25rem) !important;
}
.frame-space-after-large {
  padding-bottom: clamp(2.5rem, -0.4166666667rem + 6.6666666667vw, 6.25rem) !important;
}
.frame-space-before-extra-large {
  padding-top: clamp(3.125rem, -4.1666666667rem + 16.6666666667vw, 12.5rem) !important;
}
.frame-space-after-extra-large {
  padding-bottom: clamp(3.125rem, -4.1666666667rem + 16.6666666667vw, 12.5rem) !important;
}
.frame-space-before-nospace {
  padding-top: 0 !important;
}
.frame-space-after-nospace {
  padding-bottom: 0 !important;
}
.frame-space:is([class*=frame-space-before]) {
  margin-top: 0;
}
.frame:is([class*=frame-space-after]):not([class*=frame-bg]):has(+ .frame:not([class*=frame-space-before])) + .frame {
  padding-top: 0;
}

/*
*********************
Responsive Design ONLY for the standard Elements of TYPO3
*********************
*/
@container (width < 1024px) {
  /*
  *********************
  Text & Bild – Optimiert für ein Bild in der Breite von 500px. Ggf. Media Query max-width anpassen!
  *********************
  */
  .ce-textpic.ce-intext {
    /*
    *********************
    Text & Bild / Text & Medien – Im Text rechts, Im Text links,
    Neben dem Text rechts, Neben dem Text links
    *********************
    */
  }
  .ce-textpic.ce-intext.ce-right .ce-gallery, .ce-textpic.ce-intext.ce-left .ce-gallery {
    float: unset;
    margin-left: 0;
    margin-bottom: 20px;
  }
  .ce-textpic.ce-intext.ce-right .ce-gallery .ce-column, .ce-textpic.ce-intext.ce-left .ce-gallery .ce-column {
    float: unset;
    width: 100%;
  }
  .ce-textpic.ce-intext.ce-right .ce-gallery .ce-column figure,
  .ce-textpic.ce-intext.ce-right .ce-gallery .ce-column .video, .ce-textpic.ce-intext.ce-left .ce-gallery .ce-column figure,
  .ce-textpic.ce-intext.ce-left .ce-gallery .ce-column .video {
    display: block;
    width: 100%;
  }
  .ce-textpic.ce-intext.ce-right .ce-gallery .ce-column figure img,
  .ce-textpic.ce-intext.ce-right .ce-gallery .ce-column figure video,
  .ce-textpic.ce-intext.ce-right .ce-gallery .ce-column .video img,
  .ce-textpic.ce-intext.ce-right .ce-gallery .ce-column .video video, .ce-textpic.ce-intext.ce-left .ce-gallery .ce-column figure img,
  .ce-textpic.ce-intext.ce-left .ce-gallery .ce-column figure video,
  .ce-textpic.ce-intext.ce-left .ce-gallery .ce-column .video img,
  .ce-textpic.ce-intext.ce-left .ce-gallery .ce-column .video video {
    width: 100%;
    height: auto;
  }
}
@container (width < 960px) {
  /*
  *********************
  Nur Bild – Optimiert für ein Bild in der Breite von 500px. Ggf. Media Query max-width anpassen!
  *********************
  */
  .ce-image .ce-gallery {
    margin-bottom: 0;
    float: none;
  }
  .ce-image .ce-gallery .ce-column {
    float: none;
  }
  .ce-image .ce-gallery .image {
    display: block;
    width: 100%;
  }
  .ce-image .ce-gallery .image img {
    width: 100%;
    height: auto;
  }
  /*
  *********************
  Dateilinks – Optimiert für ein Bild in der Breite von 500px. Ggf. Media Query max-width anpassen!
  *********************
  */
  .ce-uploads li::before {
    content: none !important;
  }
  .ce-uploads li {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .ce-uploads li a {
    display: block;
  }
  .ce-uploads li a img {
    display: block;
    float: unset;
    padding-right: 0;
    margin-bottom: 10px;
  }
  .ce-uploads li > div span {
    font-size: 14px;
  }
}
.breadcrumb {
  width: var(--baseWidth);
  max-width: var(--maxWidthBig);
  margin: var(--spaceBetweenDefault) auto;
}
.breadcrumb ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.breadcrumb ul li {
  padding: 0;
  font-size: 12px;
  color: var(--backgroundColorDark);
}
.breadcrumb ul li:first-child::before {
  content: none;
}
.breadcrumb ul li:not(:first-child)::before {
  content: "»";
  position: relative;
  top: initial;
  left: initial;
  background: transparent;
  margin-right: 10px;
}

.sidebar--right {
  align-self: stretch;
}

.px-rightsidebar {
  position: -webkit-sticky;
  position: sticky;
  top: var(--stickyHeaderHeight);
}
@container (width < 640px) {
  .px-rightsidebar {
    position: relative;
    top: 0;
  }
}
.px-rightsidebar-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(0.625rem, 0.1388888889rem + 1.1111111111vw, 1.25rem);
}
.px-rightsidebar-item {
  background: var(--mainColor);
  border-bottom: 1px solid var(--contrastColorInverted);
  padding: 20px;
  color: var(--contrastColorInverted);
}

.stickybuttons {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}
@media all and (max-width: 768px) {
  .stickybuttons {
    gap: 10px;
    top: auto;
    bottom: 30px;
  }
}
.stickybuttons-wrapper {
  display: flex;
  flex-direction: column;
  pointer-events: none;
}
@media all and (max-width: 640px) {
  .stickybuttons-wrapper {
    justify-content: flex-end;
  }
}
.stickybuttons li a {
  display: flex;
  align-items: stretch;
  max-width: calc(100vw - 10px);
  background: var(--mainColorLight);
  color: var(--contrastColorInverted);
  box-shadow: 0 2px 15px 0 rgba(var(--contrastColorRGB), 0.1);
  pointer-events: auto;
  transform: translateX(calc(100% - 40px));
  transition: var(--baseTransition);
}
@media all and (hover: hover) {
  .stickybuttons li a:hover, .stickybuttons li a:focus-visible {
    transform: translateX(0);
  }
}
.stickybuttons li a .image {
  background: var(--mainColor);
  min-width: 40px;
  min-height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stickybuttons li a .image img {
  display: block;
  width: 24px;
  height: 24px;
  -o-object-fit: contain;
     object-fit: contain;
}
.stickybuttons li a.pxmaskicon .image {
  background: var(--contrastColorInverted);
}
.stickybuttons li a .text {
  padding: 6px 15px;
  display: flex;
  align-items: center;
}

.head {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background: var(--mainColor);
  transition: var(--baseTransition);
  width: 100%;
  z-index: 99;
}
.head.is-sticky {
  box-shadow: 0 2px 15px 0 rgba(var(--contrastColorRGB), 0.1);
}
.head > .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: var(--baseWidth);
  max-width: var(--reducedWidth);
  margin-inline: auto;
  transition: var(--baseTransition);
}
.head .tabtocontent {
  position: absolute;
  top: 20px;
  left: 20px;
  opacity: 0;
  transform: translateY(-50%);
  transition: var(--baseTransition);
  pointer-events: none;
  z-index: 9999;
  margin: 0;
}
.head .tabtocontent:focus-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.head .nav {
  list-style: none;
  display: flex;
  align-items: center;
}
.head .nav li {
  position: relative;
}
.head .nav li a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: normal;
  transition: var(--baseTransition);
}
.head .nav li.act > a {
  color: var(--contrastColorInverted);
  background: var(--secondColor);
}
@media (min-width: calc(1200px + 1px)) {
  .head .nav > li > a {
    padding: 39px 20px 38px;
    color: var(--contrastColorInverted);
  }
  :is(.is-sticky) .head .nav > li > a {
    padding: 20px 20px 19px;
  }
  .head .nav > li#navitem-28 > a {
    display: inline-block;
    color: var(--contrastColorInverted);
    padding: clamp(0.625rem, 0.3819444444rem + 0.5555555556vw, 0.9375rem) clamp(0.9375rem, 0.4513888889rem + 1.1111111111vw, 1.5625rem);
    font-weight: normal;
    line-height: 120%;
    background: var(--mainColor);
    border: 2px solid var(--mainColor);
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  }
}
@media (min-width: calc(1200px + 1px)) and (hover: hover) {
  .head .nav > li#navitem-28 > a:hover {
    background-color: var(--mainColorDark);
    border-color: var(--mainColorDark);
  }
}
@media (min-width: calc(1200px + 1px)) {
  .head .nav > li#navitem-28 > a:focus-visible {
    background-color: var(--mainColorDark);
    border-color: var(--mainColorDark);
  }
  .head .nav > li#navitem-28.act > a {
    background: var(--mainColorDark);
    border-color: var(--mainColorDark);
  }
}
@media (min-width: calc(1200px + 1px)) and (hover: hover) {
  .head .nav > li:hover > a {
    color: var(--contrastColorInverted);
    background: var(--secondColor);
  }
  .head .nav > li:hover > .subnav {
    display: flex;
  }
}
@media (min-width: calc(1200px + 1px)) {
  .head .nav > li:focus-within > a {
    color: var(--contrastColorInverted);
    background: var(--secondColor);
  }
  .head .nav > li:focus-within > .subnav {
    display: flex;
  }
}
@media (min-width: calc(1200px + 1px)) and (hover: hover) {
  .head .nav > li:hover > a {
    color: var(--contrastColorInverted);
    background: var(--secondColor);
  }
}
@media (min-width: calc(1200px + 1px)) {
  .head .nav > li:has(:focus-visible) > a {
    color: var(--contrastColorInverted);
    background: var(--secondColor);
  }
  .head .nav > li .subnav {
    display: none;
    flex-direction: column;
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    background: var(--contrastColorInverted);
    box-shadow: 0 2px 15px 0 rgba(var(--contrastColorRGB), 0.1);
  }
  .head .nav > li .subnav li a {
    font-size: 13px;
    font-weight: 400;
    padding: 6px 20px;
    white-space: nowrap;
    text-transform: none;
    color: var(--contrastColor);
  }
}
@media (min-width: calc(1200px + 1px)) and (hover: hover) {
  .head .nav > li .subnav li:hover > a {
    background: transparent;
    color: var(--secondColor);
  }
}
@media (min-width: calc(1200px + 1px)) {
  .head .nav > li .subnav li:has(:focus-visible) > a {
    background: transparent;
    color: var(--secondColor);
  }
  .head .nav > li .subnav li:has(:focus-visible) > a {
    background: transparent;
    outline: 2px solid var(--mainColor);
    outline-offset: -2px;
  }
}
@media (min-width: calc(1200px + 1px)) and (hover: hover) {
  .head .nav > li .subnav li:hover > .subnav {
    display: flex;
  }
}
@media (min-width: calc(1200px + 1px)) {
  .head .nav > li .subnav li:focus-within > .subnav {
    display: flex;
  }
  .head .nav > li .subnav li.act > a {
    color: var(--secondColor);
    background: transparent;
  }
  .head .nav > li .subnav li > .subnav {
    left: 100%;
    padding-left: 5px;
    top: 0;
  }
  .head .nav > li .subnav:has(.sub_subnav) {
    flex-direction: row;
    padding: 4px 0;
  }
}
@media (min-width: calc(1200px + 1px)) and (hover: hover) {
  .head .nav > li .subnav:has(.sub_subnav) li:hover > .subnav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (min-width: calc(1200px + 1px)) {
  .head .nav > li .subnav:has(.sub_subnav) li:focus-within > .subnav {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.showSub,
.hamburger {
  display: none;
}

.hamburger {
  position: relative;
  height: 50px;
  width: 50px;
  cursor: pointer;
  transition: var(--baseTransition);
}
.hamburger-line {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 40px;
  height: 3px;
  background: var(--contrastColorInverted);
  transition: var(--baseTransition);
}
.hamburger-line:first-child {
  transform: translateX(-50%) translateY(calc(-1 * 7px - 3px));
}
.hamburger-line:last-child {
  transform: translateX(-50%) translateY(7px);
}
.hamburger.is-active .hamburger-line {
  width: 40px;
}
.hamburger.is-active .hamburger-line:first-child {
  transform: translateX(-50%) translateY(0) rotate(-45deg);
}
.hamburger.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active .hamburger-line:last-child {
  transform: translateX(-50%) translateY(0) rotate(45deg);
}

@media (min-width: calc(1200px + 1px)) {
  #main-nav {
    display: block !important;
  }
}
@media (max-width: 1200px) {
  .hamburger {
    display: block;
  }
  .head > .inner {
    position: static;
    flex-direction: row-reverse;
  }
  #main-nav {
    position: fixed;
    top: var(--stickyHeaderHeightMobile);
    left: 0;
    width: 100%;
    max-height: calc(100dvh - var(--stickyHeaderHeightMobile));
    overflow: scroll;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--baseTransition);
  }
  #main-nav.active {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
  }
  #main-nav .nav {
    flex-direction: column;
    gap: 0;
  }
  #main-nav .nav li {
    width: 100%;
  }
  #main-nav .nav li a {
    background: var(--contrastColorInverted);
    padding: 10px 20px;
    color: var(--mainColor);
    text-transform: none;
  }
  #main-nav .nav li:has(:focus-visible) > a {
    outline: 2px solid var(--mainColor);
    outline-offset: -2px;
  }
  #main-nav .nav li .subnav {
    display: none;
    padding: 0;
    box-shadow: none;
  }
  #main-nav .nav li .subnav li a {
    padding: 10px 20px 10px 40px;
    color: var(--mainColor);
  }
  #main-nav .nav li .subnav li:hover a {
    color: var(--secondColor);
  }
  #main-nav .nav li .subnav li:focus-visible a {
    outline: 2px solid var(--mainColor);
    outline-offset: -2px;
  }
  #main-nav .nav li .subnav li.act a {
    color: var(--secondColor);
  }
  #main-nav .nav li.hasSub.open .subnav {
    display: flex;
    flex-direction: column;
  }
  #main-nav .nav li .showSub {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    transition: var(--baseTransition);
  }
  #main-nav .nav li .showSub::after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-top: 5px dashed var(--mainColor);
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    transition: var(--baseTransition);
  }
  #main-nav .nav li .showSub.open::after {
    transform: rotate(180deg);
  }
  #main-nav .nav li .showSub:focus-visible {
    outline: 2px solid var(--mainColor);
    outline-offset: -3px;
  }
}
.px-hint {
  padding: 50px;
  background: var(--warningColor);
  color: var(--contrastColorInverted);
}

.px-imagewall .px-imagewall-inner {
  display: grid;
  gap: 10px;
}
.px-imagewall .px-imagewall-inner.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
@container (width < 640px) {
  .px-imagewall .px-imagewall-inner.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container (width < 320px) {
  .px-imagewall .px-imagewall-inner.cols-4 {
    grid-template-columns: repeat(1, 1fr);
  }
}
.px-imagewall .px-imagewall-inner.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
@container (width < 640px) {
  .px-imagewall .px-imagewall-inner.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container (width < 320px) {
  .px-imagewall .px-imagewall-inner.cols-3 {
    grid-template-columns: repeat(1, 1fr);
  }
}
.px-imagewall .px-imagewall-inner.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
@container (width < 320px) {
  .px-imagewall .px-imagewall-inner.cols-2 {
    grid-template-columns: repeat(1, 1fr);
  }
}
.px-imagewall .px-imagewall-inner.cols-1 {
  grid-template-columns: repeat(1, 1fr);
}
.px-imagewall .px-imagewall-inner .image {
  background: var(--backgroundColor);
  padding: 40px;
  text-align: center;
}

.px-textmedia {
  position: relative;
}
.px-textmedia-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
@container (width < 450px) {
  .px-textmedia-inner {
    flex-direction: column;
    gap: 20px;
  }
}
.px-textmedia-inner .col.media {
  width: 40%;
  position: relative;
  border: 2px solid var(--contrastColor);
}
@container (width < 450px) {
  .px-textmedia-inner .col.media {
    order: -1;
    width: 100%;
  }
}
.px-textmedia-inner .col.media > video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
}
.px-textmedia-inner .col.media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.px-textmedia-inner .col.text {
  width: 60%;
}
.px-textmedia-inner .col.text p {
  margin-bottom: 10px;
}
@container (width < 450px) {
  .px-textmedia-inner .col.text {
    width: 100%;
  }
}
.px-textmedia.twoimages .media {
  padding: 4% 0;
}
.px-textmedia.twoimages .media .image-small {
  position: absolute;
  bottom: 0;
  right: 0;
}
.px-textmedia.twoimages .media .image-small.align-right-top {
  top: 0;
  bottom: auto;
}
.px-textmedia.twoimages .media .image-small.align-left-top {
  bottom: auto;
  right: auto;
  top: 0;
  left: 0;
}
.px-textmedia.twoimages .media .image-small.align-left-bottom {
  right: auto;
  left: 0;
}
.px-textmedia.twoimages.mediaposition-right[class*=imagesmallposition-right] .media-inner {
  padding-right: 4%;
}
.px-textmedia.twoimages.mediaposition-right[class*=imagesmallposition-left] .media-inner {
  padding-left: 4%;
}
.px-textmedia.twoimages.mediaposition-left[class*=imagesmallposition-left] .media-inner {
  padding-left: 4%;
}
.px-textmedia.twoimages.mediaposition-left[class*=imagesmallposition-right] .media-inner {
  padding-right: 4%;
}

.px-iconlinks.textalign-left {
  text-align: left;
}
.px-iconlinks.textalign-center {
  text-align: center;
}
.px-iconlinks.textalign-right {
  text-align: right;
}
.px-iconlinks-inner {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@container (width >=450px) {
  .px-iconlinks-inner.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container (width >=450px) {
  .px-iconlinks-inner.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container (width >=768px) {
  .px-iconlinks-inner.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.px-iconlinks-link {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.625rem, 0.1388888889rem + 1.1111111111vw, 1.25rem);
  text-decoration: none;
  color: var(--secondColor);
  transition: var(--baseTransition);
  font-size: 16px;
}
.px-iconlinks-link:hover, .px-iconlinks-link:focus {
  color: var(--mainColorLight);
}
.px-iconlinks-link:hover .px-iconlinks-icon img, .px-iconlinks-link:focus .px-iconlinks-icon img {
  transform: translateX(4px);
}
.px-iconlinks-link.icon-left:hover .px-iconlinks-icon img, .px-iconlinks-link.icon-left:focus .px-iconlinks-icon img {
  transform: translateX(-4px);
}
.px-iconlinks-text {
  font-weight: 300;
}
.px-iconlinks-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.px-iconlinks-icon img {
  transition: var(--baseTransition);
  width: 50px;
  height: 50px;
}

.foot {
  background-color: var(--mainColor);
  color: var(--contrastColorInverted);
  padding: 8px 0;
  position: relative;
  font-size: 11px;
}
.foot > .inner {
  width: var(--baseWidth);
  max-width: var(--reducedWidth);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.foot > .inner .foot-inner--left,
.foot > .inner .foot-inner--right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.foot > .inner a {
  text-decoration: none;
  color: var(--contrastColorInverted);
}
@media all and (hover: hover) {
  .foot > .inner a:hover {
    text-decoration: underline;
  }
}
.foot > .inner a:focus-visible {
  text-decoration: underline;
}
.foot > .inner .footnav .nav {
  display: flex;
  flex-wrap: wrap;
}
.foot > .inner .footnav .nav li + li::before {
  content: ".";
  display: inline-block;
  margin: 0 2px;
}
.foot > .inner .hhc {
  padding-left: 10px;
  border-left: 1px solid var(--contrastColorInverted);
}
@media all and (max-width: 640px) {
  .foot > .inner .hhc {
    border-left: none;
    padding-left: 0;
  }
}
.foot > .inner .hhc::before {
  display: none;
}

.backtotop {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  display: block;
  transform: rotate(-90deg);
  border-radius: 100%;
  background: var(--contrastColorInverted);
  -webkit-mask: url("../Images/arrow.svg") no-repeat center center/15px auto;
          mask: url("../Images/arrow.svg") no-repeat center center/15px auto;
  transition: var(--baseTransition);
}
@media all and (hover: hover) {
  .backtotop:hover {
    background-color: var(--secondColor);
  }
}
.backtotop:focus-visible {
  background-color: var(--secondColor);
}
.backtotop span {
  display: none;
}
.backtotop.scroll {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 46px;
  height: 46px;
  cursor: pointer;
  display: block;
  background: transparent;
  border-radius: 50%;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: all 0.3s linear;
  -webkit-mask: none;
          mask: none;
  box-shadow: inset 0 0 0 2px var(--backgroundColorDark);
}
@media all and (max-width: 768px) {
  .backtotop.scroll {
    right: 15px;
    bottom: 15px;
    width: 25px;
    height: 25px;
  }
}
.backtotop.scroll svg path {
  fill: none;
  stroke: var(--mainColor);
  stroke-width: 4;
  transition: all 0.3s linear;
}
.backtotop.scroll::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
  background: var(--mainColor);
  -webkit-mask: url("../Images/arrow.svg") no-repeat center/12px auto;
          mask: url("../Images/arrow.svg") no-repeat center/12px auto;
}
.backtotop.scroll.dark {
  box-shadow: inset 0 0 0 2px rgba(var(--backgroundColorRGB), 0.5);
}
.backtotop.scroll.dark svg path {
  stroke: var(--contrastColorInverted);
}
.backtotop.scroll.dark::after {
  background: var(--contrastColorInverted);
}
.backtotop.scroll.active-progress {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.t3-form {
  display: flex;
  flex-direction: column;
  gap: var(--spaceBetweenDefault);
}
.t3-form > div:first-child {
  display: none;
}
.t3-form .row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spaceBetweenDefault);
}
.t3-form .row > * {
  flex-shrink: 0;
  max-width: 100%;
}
.t3-form .form-group {
  position: relative;
}
.t3-form .form-group:has(.error) input,
.t3-form .form-group:has(.error) textarea,
.t3-form .form-group:has(.error) select {
  border-color: var(--warningColor);
}
.t3-form .form-group:has(.error) label {
  color: var(--warningColor);
}

.col-xxl {
  flex: 1 0 0%;
}

.col-xxl-auto {
  flex: 1 1 auto;
}

.col-xxl-1 {
  flex: 1 1 220px;
}

.col-xxl-2 {
  flex: 2 1 220px;
}

.col-xxl-3 {
  flex: 3 1 220px;
}

.col-xxl-4 {
  flex: 4 1 220px;
}

.col-xxl-5 {
  flex: 5 1 220px;
}

.col-xxl-6 {
  flex: 6 1 220px;
}

.col-xxl-7 {
  flex: 7 1 220px;
}

.col-xxl-8 {
  flex: 8 1 220px;
}

.col-xxl-9 {
  flex: 9 1 220px;
}

.col-xxl-10 {
  flex: 10 1 220px;
}

.col-xxl-11 {
  flex: 11 1 220px;
}

.col-xxl-12 {
  flex: 12 1 220px;
}

.flatpickr-calendar {
  background: transparent;
  opacity: 0;
  display: none;
  text-align: center;
  visibility: hidden;
  padding: 0;
  animation: none;
  direction: ltr;
  border: 0;
  font-size: 14px;
  line-height: 24px;
  border-radius: 5px;
  position: absolute;
  width: 307.875px;
  box-sizing: border-box;
  touch-action: manipulation;
  background: #fff;
  box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6, 0 -1px 0 #e6e6e6, 0 3px 13px rgba(0, 0, 0, 0.08);
}

.flatpickr-calendar.open, .flatpickr-calendar.inline {
  opacity: 1;
  max-height: 640px;
  visibility: visible;
}

.flatpickr-calendar.open {
  display: inline-block;
  z-index: 99999;
}

.flatpickr-calendar.animate.open {
  animation: fpFadeInDown 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.flatpickr-calendar.inline {
  display: block;
  position: relative;
  top: 2px;
}

.flatpickr-calendar.static {
  position: absolute;
  top: calc(100% + 2px);
}

.flatpickr-calendar.static.open {
  z-index: 999;
  display: block;
}

.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7) {
  box-shadow: none !important;
}

.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1) {
  box-shadow: -2px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}

.flatpickr-calendar .hasWeeks .dayContainer, .flatpickr-calendar .hasTime .dayContainer {
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.flatpickr-calendar .hasWeeks .dayContainer {
  border-left: 0;
}

.flatpickr-calendar.hasTime .flatpickr-time {
  height: 40px;
  border-top: 1px solid #e6e6e6;
}

.flatpickr-calendar.noCalendar.hasTime .flatpickr-time {
  height: auto;
}

.flatpickr-calendar:before, .flatpickr-calendar:after {
  position: absolute;
  display: block;
  pointer-events: none;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  left: 22px;
}

.flatpickr-calendar.rightMost:before, .flatpickr-calendar.arrowRight:before, .flatpickr-calendar.rightMost:after, .flatpickr-calendar.arrowRight:after {
  left: auto;
  right: 22px;
}

.flatpickr-calendar.arrowCenter:before, .flatpickr-calendar.arrowCenter:after {
  left: 50%;
  right: 50%;
}

.flatpickr-calendar:before {
  border-width: 5px;
  margin: 0 -5px;
}

.flatpickr-calendar:after {
  border-width: 4px;
  margin: 0 -4px;
}

.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after {
  bottom: 100%;
}

.flatpickr-calendar.arrowTop:before {
  border-bottom-color: #e6e6e6;
}

.flatpickr-calendar.arrowTop:after {
  border-bottom-color: #fff;
}

.flatpickr-calendar.arrowBottom:before, .flatpickr-calendar.arrowBottom:after {
  top: 100%;
}

.flatpickr-calendar.arrowBottom:before {
  border-top-color: #e6e6e6;
}

.flatpickr-calendar.arrowBottom:after {
  border-top-color: #fff;
}

.flatpickr-calendar:focus {
  outline: 0;
}

.flatpickr-wrapper {
  position: relative;
  display: inline-block;
}

.flatpickr-months {
  display: flex;
}

.flatpickr-months .flatpickr-month {
  background: transparent;
  color: rgba(0, 0, 0, 0.9);
  fill: rgba(0, 0, 0, 0.9);
  height: 34px;
  line-height: 1;
  text-align: center;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  overflow: hidden;
  flex: 1;
}

.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  text-decoration: none;
  cursor: pointer;
  position: absolute;
  top: 0;
  height: 34px;
  padding: 10px;
  z-index: 3;
  color: rgba(0, 0, 0, 0.9);
  fill: rgba(0, 0, 0, 0.9);
}

.flatpickr-months .flatpickr-prev-month.flatpickr-disabled, .flatpickr-months .flatpickr-next-month.flatpickr-disabled {
  display: none;
}

.flatpickr-months .flatpickr-prev-month i, .flatpickr-months .flatpickr-next-month i {
  position: relative;
}

.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month, .flatpickr-months .flatpickr-next-month.flatpickr-prev-month { /*
/*rtl:begin:ignore*/
  left: 0;
} /*
/*rtl:begin:ignore*/
/*
      /*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month.flatpickr-next-month, .flatpickr-months .flatpickr-next-month.flatpickr-next-month { /*
/*rtl:begin:ignore*/
  right: 0;
} /*
/*rtl:begin:ignore*/
/*
      /*rtl:end:ignore*/
.flatpickr-months .flatpickr-prev-month:hover, .flatpickr-months .flatpickr-next-month:hover {
  color: #959ea9;
}

.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg {
  fill: #f64747;
}

.flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg {
  width: 14px;
  height: 14px;
}

.flatpickr-months .flatpickr-prev-month svg path, .flatpickr-months .flatpickr-next-month svg path {
  transition: fill 0.1s;
  fill: inherit;
}

.numInputWrapper {
  position: relative;
  height: auto;
}

.numInputWrapper input, .numInputWrapper span {
  display: inline-block;
}

.numInputWrapper input {
  width: 100%;
}

.numInputWrapper input::-ms-clear {
  display: none;
}

.numInputWrapper input::-webkit-outer-spin-button, .numInputWrapper input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.numInputWrapper span {
  position: absolute;
  right: 0;
  width: 14px;
  padding: 0 4px 0 2px;
  height: 50%;
  line-height: 50%;
  opacity: 0;
  cursor: pointer;
  border: 1px solid rgba(57, 57, 57, 0.15);
  box-sizing: border-box;
}

.numInputWrapper span:hover {
  background: rgba(0, 0, 0, 0.1);
}

.numInputWrapper span:active {
  background: rgba(0, 0, 0, 0.2);
}

.numInputWrapper span:after {
  display: block;
  content: "";
  position: absolute;
}

.numInputWrapper span.arrowUp {
  top: 0;
  border-bottom: 0;
}

.numInputWrapper span.arrowUp:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid rgba(57, 57, 57, 0.6);
  top: 26%;
}

.numInputWrapper span.arrowDown {
  top: 50%;
}

.numInputWrapper span.arrowDown:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(57, 57, 57, 0.6);
  top: 40%;
}

.numInputWrapper span svg {
  width: inherit;
  height: auto;
}

.numInputWrapper span svg path {
  fill: rgba(0, 0, 0, 0.5);
}

.numInputWrapper:hover {
  background: rgba(0, 0, 0, 0.05);
}

.numInputWrapper:hover span {
  opacity: 1;
}

.flatpickr-current-month {
  font-size: 135%;
  line-height: inherit;
  font-weight: 300;
  color: inherit;
  position: absolute;
  width: 75%;
  left: 12.5%;
  padding: 7.48px 0 0 0;
  line-height: 1;
  height: 34px;
  display: inline-block;
  text-align: center;
  transform: translate3d(0, 0, 0);
}

.flatpickr-current-month span.cur-month {
  font-family: inherit;
  font-weight: 700;
  color: inherit;
  display: inline-block;
  margin-left: 0.5ch;
  padding: 0;
}

.flatpickr-current-month span.cur-month:hover {
  background: rgba(0, 0, 0, 0.05);
}

.flatpickr-current-month .numInputWrapper {
  width: 6ch;
  width: 7ch\0 ;
  display: inline-block;
}

.flatpickr-current-month .numInputWrapper span.arrowUp:after {
  border-bottom-color: rgba(0, 0, 0, 0.9);
}

.flatpickr-current-month .numInputWrapper span.arrowDown:after {
  border-top-color: rgba(0, 0, 0, 0.9);
}

.flatpickr-current-month input.cur-year {
  background: transparent;
  box-sizing: border-box;
  color: inherit;
  cursor: text;
  padding: 0 0 0 0.5ch;
  margin: 0;
  display: inline-block;
  font-size: inherit;
  font-family: inherit;
  font-weight: 300;
  line-height: inherit;
  height: auto;
  border: 0;
  border-radius: 0;
  vertical-align: initial;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.flatpickr-current-month input.cur-year:focus {
  outline: 0;
}

.flatpickr-current-month input.cur-year[disabled], .flatpickr-current-month input.cur-year[disabled]:hover {
  font-size: 100%;
  color: rgba(0, 0, 0, 0.5);
  background: transparent;
  pointer-events: none;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  appearance: menulist;
  background: transparent;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  font-weight: 300;
  height: auto;
  line-height: inherit;
  margin: -1px 0 0 0;
  outline: none;
  padding: 0 0 0 0.5ch;
  position: relative;
  vertical-align: initial;
  -webkit-box-sizing: border-box;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  width: auto;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:focus, .flatpickr-current-month .flatpickr-monthDropdown-months:active {
  outline: none;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
  background: rgba(0, 0, 0, 0.05);
}

.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
  background-color: transparent;
  outline: none;
  padding: 0;
}

.flatpickr-weekdays {
  background: transparent;
  text-align: center;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  height: 28px;
}

.flatpickr-weekdays .flatpickr-weekdaycontainer {
  display: flex;
  flex: 1;
}

span.flatpickr-weekday {
  cursor: default;
  font-size: 90%;
  background: transparent;
  color: rgba(0, 0, 0, 0.54);
  line-height: 1;
  margin: 0;
  text-align: center;
  display: block;
  flex: 1;
  font-weight: bolder;
}

.dayContainer, .flatpickr-weeks {
  padding: 1px 0 0 0;
}

.flatpickr-days {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  width: 307.875px;
}

.flatpickr-days:focus {
  outline: 0;
}

.dayContainer {
  padding: 0;
  outline: 0;
  text-align: left;
  width: 307.875px;
  min-width: 307.875px;
  max-width: 307.875px;
  box-sizing: border-box;
  display: inline-block;
  display: flex;
  flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  justify-content: space-around;
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

.dayContainer + .dayContainer {
  box-shadow: -1px 0 0 #e6e6e6;
}

.flatpickr-day {
  background: none;
  border: 1px solid transparent;
  border-radius: 150px;
  box-sizing: border-box;
  color: #393939;
  cursor: pointer;
  font-weight: 400;
  width: 14.2857143%;
  flex-basis: 14.2857143%;
  max-width: 39px;
  height: 39px;
  line-height: 39px;
  margin: 0;
  display: inline-block;
  position: relative;
  justify-content: center;
  text-align: center;
}

.flatpickr-day.inRange, .flatpickr-day.prevMonthDay.inRange, .flatpickr-day.nextMonthDay.inRange, .flatpickr-day.today.inRange, .flatpickr-day.prevMonthDay.today.inRange, .flatpickr-day.nextMonthDay.today.inRange, .flatpickr-day:hover, .flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover, .flatpickr-day:focus, .flatpickr-day.prevMonthDay:focus, .flatpickr-day.nextMonthDay:focus {
  cursor: pointer;
  outline: 0;
  background: #e6e6e6;
  border-color: #e6e6e6;
}

.flatpickr-day.today {
  border-color: #959ea9;
}

.flatpickr-day.today:hover, .flatpickr-day.today:focus {
  border-color: #959ea9;
  background: #959ea9;
  color: #fff;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
  background: #569ff7;
  box-shadow: none;
  color: #fff;
  border-color: #569ff7;
}

.flatpickr-day.selected.startRange, .flatpickr-day.startRange.startRange, .flatpickr-day.endRange.startRange {
  border-radius: 50px 0 0 50px;
}

.flatpickr-day.selected.endRange, .flatpickr-day.startRange.endRange, .flatpickr-day.endRange.endRange {
  border-radius: 0 50px 50px 0;
}

.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)), .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
  box-shadow: -10px 0 0 #569ff7;
}

.flatpickr-day.selected.startRange.endRange, .flatpickr-day.startRange.startRange.endRange, .flatpickr-day.endRange.startRange.endRange {
  border-radius: 50px;
}

.flatpickr-day.inRange {
  border-radius: 0;
  box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}

.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay, .flatpickr-day.notAllowed, .flatpickr-day.notAllowed.prevMonthDay, .flatpickr-day.notAllowed.nextMonthDay {
  color: rgba(57, 57, 57, 0.3);
  background: transparent;
  border-color: transparent;
  cursor: default;
}

.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover {
  cursor: not-allowed;
  color: rgba(57, 57, 57, 0.1);
}

.flatpickr-day.week.selected {
  border-radius: 0;
  box-shadow: -5px 0 0 #569ff7, 5px 0 0 #569ff7;
}

.flatpickr-day.hidden {
  visibility: hidden;
}

.rangeMode .flatpickr-day {
  margin-top: 1px;
}

.flatpickr-weekwrapper {
  float: left;
}

.flatpickr-weekwrapper .flatpickr-weeks {
  padding: 0 12px;
  box-shadow: 1px 0 0 #e6e6e6;
}

.flatpickr-weekwrapper .flatpickr-weekday {
  float: none;
  width: 100%;
  line-height: 28px;
}

.flatpickr-weekwrapper span.flatpickr-day, .flatpickr-weekwrapper span.flatpickr-day:hover {
  display: block;
  width: 100%;
  max-width: none;
  color: rgba(57, 57, 57, 0.3);
  background: transparent;
  cursor: default;
  border: none;
}

.flatpickr-innerContainer {
  display: block;
  display: flex;
  box-sizing: border-box;
  overflow: hidden;
}

.flatpickr-rContainer {
  display: inline-block;
  padding: 0;
  box-sizing: border-box;
}

.flatpickr-time {
  text-align: center;
  outline: 0;
  display: block;
  height: 0;
  line-height: 40px;
  max-height: 40px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
}

.flatpickr-time:after {
  content: "";
  display: table;
  clear: both;
}

.flatpickr-time .numInputWrapper {
  flex: 1;
  width: 40%;
  height: 40px;
  float: left;
}

.flatpickr-time .numInputWrapper span.arrowUp:after {
  border-bottom-color: #393939;
}

.flatpickr-time .numInputWrapper span.arrowDown:after {
  border-top-color: #393939;
}

.flatpickr-time.hasSeconds .numInputWrapper {
  width: 26%;
}

.flatpickr-time.time24hr .numInputWrapper {
  width: 49%;
}

.flatpickr-time input {
  background: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  text-align: center;
  margin: 0;
  padding: 0;
  height: inherit;
  line-height: inherit;
  color: #393939;
  font-size: 14px;
  position: relative;
  box-sizing: border-box;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.flatpickr-time input.flatpickr-hour {
  font-weight: bold;
}

.flatpickr-time input.flatpickr-minute, .flatpickr-time input.flatpickr-second {
  font-weight: 400;
}

.flatpickr-time input:focus {
  outline: 0;
  border: 0;
}

.flatpickr-time .flatpickr-time-separator, .flatpickr-time .flatpickr-am-pm {
  height: inherit;
  float: left;
  line-height: inherit;
  color: #393939;
  font-weight: bold;
  width: 2%;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  align-self: center;
}

.flatpickr-time .flatpickr-am-pm {
  outline: 0;
  width: 18%;
  cursor: pointer;
  text-align: center;
  font-weight: 400;
}

.flatpickr-time input:hover, .flatpickr-time .flatpickr-am-pm:hover, .flatpickr-time input:focus, .flatpickr-time .flatpickr-am-pm:focus {
  background: #eee;
}

.flatpickr-input[readonly] {
  cursor: pointer;
}
@keyframes fpFadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
input.datepicker {
  background-image: url("../Images/calendar.svg");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 18px 18px;
  padding-right: 45px;
}

input.timepicker {
  background-image: url("../Images/clock.svg");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 18px 18px;
  padding-right: 45px;
}

.flatpickr-calendar {
  border-radius: 0;
  box-shadow: 0 2px 15px 0 rgba(var(--contrastColorRGB), 0.1);
}

.flatpickr-monthDropdown-months {
  font-size: var(--baseFontSize);
}

.flatpickr-current-month {
  height: 45px;
}
.flatpickr-current-month input.cur-year {
  font-size: var(--baseFontSize);
  padding-left: 15px;
}
.flatpickr-current-month select.flatpickr-monthDropdown-months {
  font-size: var(--baseFontSize);
  width: 49%;
  padding: 5px 5px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: url("../Images/select.svg") no-repeat center right 12px/12px auto;
}
.flatpickr-current-month select.flatpickr-monthDropdown-months:hover {
  background: url("../Images/select.svg") no-repeat center right 12px/12px auto;
  background-color: rgba(0, 0, 0, 0.05);
}
.flatpickr-current-month .numInputWrapper {
  width: 49%;
  padding: 5px 5px;
}
.flatpickr-current-month .numInputWrapper input {
  font-size: var(--baseFontSize);
}

.numInputWrapper .numInput {
  -webkit-appearance: none !important;
     -moz-appearance: none !important;
          appearance: none !important;
}
.numInputWrapper span {
  border: none;
  width: 20px;
}
.numInputWrapper span:hover {
  background: transparent;
}
.numInputWrapper span.arrowUp::after {
  border: none;
  background: url("../Images/select.svg") center no-repeat;
  background-size: 9px 7px;
  left: 3px;
  top: 20%;
  display: block;
  transition: var(--baseTransition);
  width: 12px;
  height: 13px;
  transform: rotate(-180deg);
}
.numInputWrapper span.arrowUp:hover::after {
  opacity: 0.6;
}
.numInputWrapper span.arrowDown::after {
  border: none;
  background: url("../Images/select.svg") center no-repeat;
  background-size: 9px 7px;
  top: 0;
  display: block;
  transition: var(--baseTransition);
  width: 12px;
  height: 13px;
}
.numInputWrapper span.arrowDown:hover::after {
  opacity: 0.6;
}

.flatpickr-time .numInputWrapper span.arrowDown {
  right: 1px;
}

.flatpickr-months .flatpickr-month {
  height: 45px;
  color: var(--fontColor);
  fill: var(--fontColor);
}
.flatpickr-months .flatpickr-prev-month {
  height: 45px;
  display: flex;
  align-items: center;
}
.flatpickr-months .flatpickr-prev-month:hover {
  color: var(--secondColor);
}
.flatpickr-months .flatpickr-prev-month:hover svg {
  fill: var(--secondColor);
}
.flatpickr-months .flatpickr-next-month {
  height: 45px;
  display: flex;
  align-items: center;
}
.flatpickr-months .flatpickr-next-month:hover {
  color: var(--secondColor);
}
.flatpickr-months .flatpickr-next-month:hover svg {
  fill: var(--secondColor);
}

.flatpickr-day {
  font-size: var(--baseFontSize);
  color: var(--fontColor);
}
.flatpickr-day.today {
  border-color: var(--mainColor);
}
.flatpickr-day.today:hover, .flatpickr-day.today:focus {
  border-color: var(--secondColor);
  background: var(--secondColor);
  color: #fff;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
  background: var(--secondColor);
  box-shadow: none;
  color: #fff;
  border: 1px solid var(--secondColor);
}

.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
  box-shadow: -10px 0 0 var(--secondColor);
}

span.flatpickr-weekday {
  font-size: var(--baseFontSize);
  color: var(--fontColor);
  font-weight: 400;
}
span.flatpickr-day {
  border: 1px solid #fff;
}
span.flatpickr-day.prevMonthDay, span.flatpickr-day.nextMonthDay {
  border: 1px solid #fff;
}
span.flatpickr-day.today:not(.selected), span.flatpickr-day.today.prevMonthDay:not(.selected), span.flatpickr-day.today.nextMonthDay:not(.selected) {
  border: 1px solid var(--secondColor);
}
span.flatpickr-day.today:not(.selected):hover, span.flatpickr-day.today.prevMonthDay:not(.selected):hover, span.flatpickr-day.today.nextMonthDay:not(.selected):hover {
  border: 1px solid var(--secondColor);
}
span.flatpickr-day.startRange, span.flatpickr-day.prevMonthDay.startRange, span.flatpickr-day.nextMonthDay.startRange, span.flatpickr-day.endRange, span.flatpickr-day.prevMonthDay.endRange, span.flatpickr-day.nextMonthDay.endRange {
  border-color: var(--secondColor);
}

/**
 * HPHDialog - CSS Styles
 * A modern lightbox based on the native <dialog> element
 */
/* =========================================
   Reset & Base
   ========================================= */
.hph-dialog {
  /* Reset dialog defaults */
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.hph-dialog[open] {
  /* Flexbox centering - only when open */
  display: flex;
  align-items: center;
  justify-content: center;
  /* Ensure it's on top */
  position: fixed;
  inset: 0;
  animation: hph-dialog-fade-in 0.3s ease-out;
}

.hph-dialog::backdrop {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hph-dialog[open]::backdrop {
  animation: hph-backdrop-fade-in 0.3s ease-out;
}

@keyframes hph-dialog-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes hph-backdrop-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* =========================================
   Content Wrapper
   ========================================= */
.hph-dialog__content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 50px;
  box-sizing: border-box;
}

.hph-dialog--gallery .hph-dialog__content-wrapper {
  padding: 60px 80px;
}

/* =========================================
   Content Container
   ========================================= */
.hph-dialog__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
}

/* =========================================
   Image Styles
   ========================================= */
.hph-dialog__image {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  cursor: grab;
}

.hph-dialog__image:active {
  cursor: grabbing;
}

.hph-dialog--zoomed .hph-dialog__image {
  cursor: move;
  max-width: none;
  max-height: none;
}

/* =========================================
   Video Styles
   ========================================= */
.hph-dialog__video {
  position: relative;
  width: 90vw;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: #000;
}

.hph-dialog__video iframe,
.hph-dialog__video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.hph-dialog__video--html5 video {
  position: relative;
  max-width: 100%;
  max-height: calc(100vh - 120px);
}

/* =========================================
   iFrame Styles
   ========================================= */
.hph-dialog__iframe {
  width: 90vw;
  height: 80vh;
  max-width: 1200px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.hph-dialog__iframe iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================
   Inline Content Styles
   ========================================= */
.hph-dialog__inline {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 80vh;
  overflow: auto;
}

/* =========================================
   Close Button
   ========================================= */
.hph-dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  color: #fff;
}

.hph-dialog__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.hph-dialog__close:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.hph-dialog__close:active {
  transform: scale(0.95);
}

.hph-dialog__close::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* =========================================
   Navigation Arrows
   ========================================= */
.hph-dialog__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, opacity 0.2s;
  color: #fff;
}

.hph-dialog__arrow:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.hph-dialog__arrow:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.hph-dialog__arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.hph-dialog__arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.hph-dialog__arrow--prev {
  left: 16px;
}

.hph-dialog__arrow--next {
  right: 16px;
}

.hph-dialog__arrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.hph-dialog__arrow--prev::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'/%3E%3C/svg%3E");
}

.hph-dialog__arrow--next::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
}

/* =========================================
   Counter
   ========================================= */
.hph-dialog__counter {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.5px;
}

/* =========================================
   Caption
   ========================================= */
.hph-dialog__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #fff;
  text-align: center;
}

.hph-dialog__caption-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hph-dialog__caption-description {
  font-size: 14px;
  opacity: 0.85;
}

/* =========================================
   Loader
   ========================================= */
.hph-dialog__loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 50;
}

.hph-dialog__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hph-spin 0.8s linear infinite;
}

@keyframes hph-spin {
  to {
    transform: rotate(360deg);
  }
}
/* Hide loader when not loading */
.hph-dialog:not(.hph-dialog--loading) .hph-dialog__loader {
  display: none;
}

/* =========================================
   States
   ========================================= */
/* Loading state - dim content */
.hph-dialog--loading .hph-dialog__content {
  opacity: 0.3;
}

/* Zoomed state - hide UI elements */
.hph-dialog--zoomed .hph-dialog__arrow,
.hph-dialog--zoomed .hph-dialog__counter,
.hph-dialog--zoomed .hph-dialog__caption {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
  .hph-dialog__content-wrapper {
    padding: 50px 10px;
  }
  .hph-dialog--gallery .hph-dialog__content-wrapper {
    padding: 50px 10px;
  }
  .hph-dialog__close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }
  .hph-dialog__arrow {
    width: 40px;
    height: 40px;
  }
  .hph-dialog__arrow--prev {
    left: 8px;
  }
  .hph-dialog__arrow--next {
    right: 8px;
  }
  .hph-dialog__counter {
    top: 12px;
    font-size: 12px;
    padding: 6px 12px;
  }
  .hph-dialog__caption {
    padding: 12px 16px;
  }
  .hph-dialog__caption-title {
    font-size: 14px;
  }
  .hph-dialog__caption-description {
    font-size: 12px;
  }
  .hph-dialog__iframe {
    width: 95vw;
    height: 70vh;
    border-radius: 4px;
  }
  .hph-dialog__inline {
    padding: 16px;
    border-radius: 4px;
  }
}
/* =========================================
   Reduced Motion
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  .hph-dialog[open],
  .hph-dialog[open]::backdrop {
    animation: none;
  }
  .hph-dialog__spinner {
    animation-duration: 1.5s;
  }
  .hph-dialog__close,
  .hph-dialog__arrow {
    transition: none;
  }
}
/* =========================================
   Print
   ========================================= */
@media print {
  .hph-dialog {
    display: none !important;
  }
}
