/* FONTS */

@font-face {
  font-family: "HelveticaNow";
  src: url("../fonts/HelveticaNowText-Light.woff2") format("woff2"),
    url("../fonts/HelveticaNowText-Light.woff") format("woff"),
    url("../fonts/HelveticaNowText-Light.ttf") format("truetype");
  font-weight: 300;
  text-rendering: optimizeLegibility;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNow";
  src: url("../fonts/HelveticaNowText-Regular.woff2") format("woff2"),
    url("../fonts/HelveticaNowText-Regular.woff") format("woff"),
    url("../fonts/HelveticaNowText-Regular.ttf") format("truetype");
  font-weight: 400;
  text-rendering: optimizeLegibility;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNow";
  src: url("../fonts/HelveticaNowText-Medium.woff2") format("woff2"),
    url("../fonts/HelveticaNowText-Medium.woff") format("woff"),
    url("../fonts/HelveticaNowText-Medium.ttf") format("truetype");
  font-weight: 500;
  text-rendering: optimizeLegibility;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNow";
  src: url("../fonts/HelveticaNowText-Bold.woff2") format("woff2"),
    url("../fonts/HelveticaNowText-Bold.woff") format("woff"),
    url("../fonts/HelveticaNowText-Bold.ttf") format("truetype");
  font-weight: 700;
  text-rendering: optimizeLegibility;
  font-display: swap;
}

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

/* LINKS WITH ARROW */

.uk-button-text {
  padding-right: 0px;
  padding-left: 100px;
  transition: all 0.2s ease-out; 
  position: relative;
}

.uk-button-text::before {
  content: "";
  background-image: url(/images/icons/arrow_right.svg);
  left: 0;
  width: 90px;
  transition: all 0.2s ease-out;
  position: absolute;
  height: 30px;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center right;
}

.uk-section-primary:not(.uk-preserve-color) .uk-button-text::before {
  background-image: url('/images/icons/arrow_right_light.svg');
}

.uk-button-text:focus,
.uk-button-text:active,
.uk-button-text:hover {
  padding-left: 130px;
}

.uk-button-text:active::before,
.uk-button-text:focus::before,
.uk-button-text:hover::before {
  background-image: url('/images/icons/arrow_right.svg');
  background-position: calc(100% - 5px) 50%;
  width: 120px;
}

.uk-section-primary:not(.uk-preserve-color) .uk-button-text:active::before,
.uk-section-primary:not(.uk-preserve-color) .uk-button-text:focus::before,
.uk-section-primary:not(.uk-preserve-color) .uk-button-text:hover::before {
  background-image: url('/images/icons/arrow_right_light.svg');
}
/* Back Button */

.back-button > a {
  text-transform: lowercase;
}

.back-button > .uk-button-text::before {
  transform: rotate(180deg);
}

.back-button > .uk-button-text:focus,
.back-button > .uk-button-text:active,
.back-button > .uk-button-text:hover {
  padding-left: 70px;
  padding-right: 30px;
}

.back-button > .uk-button-text:active::before,
.back-button > .uk-button-text:focus::before,
.back-button > .uk-button-text:hover::before {
  width: 60px;
}

/* 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;
}
.visforms .uk-text-center {
  text-align: start !important;
}
@media (max-width: 639px) {
  /* 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 */
}
