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

/* Patterns */
.pattern-top {
  width: calc(100% - 84px);
  height: 20px;
  background-image: url(/images/pattern-top.svg);
  margin: auto;
  background-size: contain;
  background-repeat: repeat-x;
}
.pattern-bottom {
  width: calc(100% - 84px);
  height: 20px;
  background-image: url(/images/pattern-bottom.svg);
  margin: auto;
  background-size: contain;
  background-repeat: repeat-x;
}
.pattern-left {
  width: 20px;
  height: calc(100% + 20px);
  background-image: url(/images/pattern-left.svg);
  background-size: contain;
  background-repeat: repeat-y;
  display: inline-block;
  margin-left: 32px;
  position: relative;
  top: -10px;
}
.pattern-right {
  width: 20px;
  height: calc(100% + 20px);
  background-image: url(/images/pattern-right.svg);
  background-size: contain;
  background-repeat: repeat-y;
  display: inline-block;
  margin-right: 31px;
  position: relative;
  top: -10px;
}
.main-section {
  min-height: calc(100vh - 120px);
}
@media (max-width: 639px) {
  .uk-section-small {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .main-section {
    min-height: calc(100vh - 80px);
  }

  .pattern-top {
    width: calc(100% - 56px);
    height: 16px;
  }
  .pattern-bottom {
    width: calc(100% - 56px);
    height: 16px;
  }
  .pattern-left {
    width: 16px;
    height: calc(100% + 20px);
    margin-left: 20px;
    top: -8px;
  }
  .pattern-right {
    width: 16px;
    height: calc(100% + 20px);
    margin-right: 20px;
    top: -8px;
  }
  .main-section img {
    padding: 0 20px;
  }
}

/* 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: 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 */
}
