/* Formulare */

.form-actions {
    padding: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: none;
}

/* p.errorcontainer {
    padding-top: 5px;
    margin-top: 15px;
    margin-bottom: 0px;
} */

/* label.error {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #fff !important;
    padding: 0px 10px !important;
    background-color: #e4003a !important;
    border-radius: 0px !important;
    display: block !important;
    max-width: none !important;
    margin: 0px !important;
    width: fit-content !important;
} */

/* p.errorcontainer:after {
    display: none;
    width: 0;
    height: 0;
    display: block;
    margin-left: 0px;
    border: none !important;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    content: "";
    margin-bottom: 0px;
} */

.visforms-form .uk-light a {
    text-decoration: underline;
}

.visforms-form .uk-light a:hover, .visforms-form .uk-light a:focus, .visforms-form .uk-light a:active {
    text-decoration: none;
}

.control-group {
    margin-bottom: 20px;
}

.kontakt .uk-alert h3 {
    display: none !important;
}

/* Navbar */

.tm-header, .uk-navbar-container, .uk-navbar-item, .uk-logo, .uk-logo>img, .uk-sticky, .uk-sticky-fixed, .uk-navbar-transparent {
    transition: all .5s;
}

.uk-navbar-container {
    height: auto;
}

.uk-navbar-sticky {
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, .1);
    height: auto;
}

.uk-navbar-sticky .uk-navbar-item {
    min-height: 60px;
}

.uk-logo>img {
    box-shadow: 0px 0px 50px rgba(0, 0, 0, .05);
    position: relative;
    z-index: 1;
}

.tm-header-mobile .uk-logo>img {
    width: 100px;
}

@media(min-width:960px) {
    .uk-navbar-sticky .uk-logo>img {
        box-shadow: 0px 0px 20px rgba(0, 0, 0, .1);
        width: 100px;
    }
    .uk-navbar-sticky .uk-logo {
        height: 60px;
    }
}

@media(max-width:960px) {
    .uk-navbar {
        height: 75px;
    }
}

@media(max-width:1200px) {
    .uk-navbar-center:not(:only-child) {
        left: 60%;
    }
}

/* Font */

@media(max-width:960px) {
    .uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, h1, h2, h3, h4, h5, h6 {
        font-size: 1rem;
    }
    .uk-text-lead, .uk-text-lead>p {
        font-size: 1rem;
    }
    p {
        font-size: 0.8rem;
    }
}

/* Scrollbar */

@media (max-width: 960px) {
    body::-webkit-scrollbar {
        width: 0 !important
    }
}

@media (min-width: 960px) {
    body::-webkit-scrollbar {
        width: 0.6em;
        background-color: #ffffff;
    }
    body::-webkit-scrollbar-thumb {
        background-color: #2d2e33;
        border-radius: 0px;
    }
}

/* update 20210621 */

/* .visforms .form-horizontal .controls {
    margin-left: 0px;
}

.visforms .form-horizontal .control-label {
    float: none;
    width: auto;
}

.visforms .form-horizontal .form-actions {
    padding-left: 0px;
} */

/* Update j6 */

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