:root {
  --color-text: #000;
  --color-link: #000;
  --color-muted: #ccc;
  --color-primary: #000;
  --color-secondary: #000;
}

/* Navbar Desktop Logo */
.uk-sticky.uk-sticky-fixed .uk-logo,
.uk-sticky.uk-sticky-fixed .uk-logo *,
.tm-header-mobile .uk-navbar-item,
.tm-header-mobile .uk-navbar-nav > li > a,
.tm-header-mobile .uk-navbar-toggle {
  transition: all 0.2s;
}
.tm-header .uk-sticky.uk-sticky-fixed:not(.uk-sticky-below) .uk-logo {
  width: 500px;
}
.tm-header .uk-sticky.uk-sticky-fixed:not(.uk-sticky-below) .uk-logo img {
  height: 80px;
  object-position: top;
}
.tm-header .uk-sticky.uk-sticky-fixed .uk-logo {
  width: 300px;
}
.tm-header .uk-sticky.uk-sticky-fixed .uk-logo img {
  height: 25px;
  object-position: top;
}

.tm-header-mobile .uk-navbar-item,
.tm-header-mobile .uk-navbar-nav > li > a,
.tm-header-mobile .uk-navbar-toggle {
  min-height: 70px;
}
.tm-header-mobile .uk-sticky-below .uk-navbar-item,
.tm-header-mobile .uk-sticky-below .uk-navbar-nav > li > a,
.tm-header-mobile .uk-sticky-below .uk-navbar-toggle {
  min-height: 50px;
}
.tm-header-mobile .uk-sticky.uk-sticky-fixed:not(.uk-sticky-below) .uk-logo {
  width: 200px;
}
.tm-header-mobile
  .uk-sticky.uk-sticky-fixed:not(.uk-sticky-below)
  .uk-logo
  img {
  height: 32px;
  object-position: top;
}
.tm-header-mobile .uk-sticky.uk-sticky-fixed .uk-logo {
  width: 150px;
}
.tm-header-mobile .uk-sticky.uk-sticky-fixed .uk-logo img {
  height: 13px;
  object-position: top;
}
/* Visforms */
.visforms .uk-margin-medium-top {
  margin-top: 0 !important;
}
.visforms .field6 .uk-margin-small-top {
  margin-top: 0 !important;
}
.visforms .uk-flex-center {
  justify-content: flex-start;
}
.visforms fieldset > div > div {
  position: relative;
}
.visforms .errorcontainer {
  position: absolute;
  top: 12px;
  right: 0;
  background: red;
  padding: 0 15px;
  line-height: 1;
}
.visforms .field5 .errorcontainer,
.visforms .field17 .errorcontainer {
  top: -18px;
}
.visforms .errorcontainer * {
  color: white !important;
  font-size: 11px;
  line-height: 1.9;
}
#system-message-container {
  position: fixed;
  width: 80%;
  max-width: 1200px;
  min-width: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;
}
#system-message-container joomla-alert {
  border-radius: 0;
  border: none;
  background: var(--color-primary);
  color: white !important;
  padding: 35px 25px;
}
#system-message-container joomla-alert .joomla-alert--close {
  color: white !important;
  opacity: 1;
  font-weight: 300;
  font-size: 30px;
  line-height: 10px;
}

@media (max-width: 959px) {
  .slider-1 a .uk-position-cover,
  .slider-1 a .uk-position-center,
  .slider-1 a .uk-position-center * {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    text-align: left;
    font-size: 4vw;
  }
  .slider-1 a .uk-position-center .uk-button-text::before {
    content: none;
  }
  .slider-1 a .uk-position-center .uk-overlay {
    padding: 0;
    padding-top: 10px;
  }
  .slider-1 a .uk-position-center .uk-overlay > div {
    display: none !important;
    margin: 0;
  }
}
@media (max-width: 639px) {
  .slider-1 a .uk-position-cover,
  .slider-1 a .uk-position-center,
  .slider-1 a .uk-position-center * {
    font-size: 4.8vw;
  }
  /* Text */
  html,
  .uk-button {
    font-size: 14px;
  }
  .uk-text-small {
    font-size: 12px;
  }
  h1,
  .uk-h1 {
    font-size: 30px;
  }
  h2,
  .uk-h2 {
    font-size: 26px;
  }
  h3,
  .uk-h3,
  .uk-accordion-title {
    font-size: 22px;
  }
  h4,
  .uk-h4,
  .uk-text-large {
    font-size: 18px;
  }
  /* Spacing */
}

/* Lenis CSS */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}
