@media (min-width:960px) {

    .left-container .uk-first-column>h1,
    .left-container .vgz-teaser {
        margin-left: calc(20%);
    }

    .left-container .vgzBox p:first-child {
        margin-top: 0;
    }

    .left-container .text-section {
        width: 80%;
    }

    .vgz-title-placeholder {
        height: 51px;
    }
}

h4 {
    font-style: italic;
}

em {
    color: inherit;
}

.vk-event {
    display: flex;
}

.vk-event_title {
    flex: 2;
}

.vk-event_date-time {
    flex: 1;
}

.vk-event_date-time div {
    text-align: right;
}

.vk-event:not(:last-child) {
    padding-bottom: 12px;
    border-bottom: 2px solid #4D680F;
    margin-bottom: 10px;
}

.vk-event:hover {
    color: #AFAA1B;
    cursor: pointer;
}

.vk-event.active {
    color: #AFAA1B;
}

.vk-event_details {
    display: none;
}

.vk-event_details.active {
    display: block;
}

.imgmap-titles {
    position: absolute;
    right: 0;
    top: 21em;
    width: 13em;
}

@media screen and (min-width:960px) {
    .left-container .vgz-content {
        margin-left: calc(20%);
    }

    .vgz-child_nav-mobile {
        display: none;
    }
}

@media screen and (max-width:959px) {
    .left-container .vgz-content {
        padding-left: 30px;
        padding-right: 30px;
    }

    .vgz-child_nav {
        display: none;
    }

    .vgz-child_nav-mobile {
        position: relative;
    }

    .vgz-child_nav-mobile.vgz-top {
        margin-right: 230px;
        top: -35px;
    }

    .uk-button-default:hover,
    .uk-button-default:focus {
        position: relative;
        z-index: 985;
    }

    .uk-slideshow+.vgz-child_nav-mobile {
        top: -20px
    }

    .vgz-mobile-parent>a::after {
        position: relative;
        top: -33px;
    }

    .uk-section-small {
        padding-bottom: 0;
    }

    .uk-container {
        padding-left: 30px;
    }

    .vgz-content p:last-child {
        margin-bottom: 0;
    }

    .vgz-content .vgzBox {
        padding-bottom: 1em;
    }
}

.vgzFormField {
    padding-bottom: 5px;
}

.vgzFormField .uk-radio {
    background-color: transparent;
    border-color: #AFAA1B;
}

.vgzFormField .uk-radio:checked {
    background-color: #465F0E;
}

.vgzFormField .uk-checkbox:checked:focus,
.vgzFormField .uk-radio:checked:focus {
    background-color: #668818;
}

.uk-text-danger textarea,
.uk-text-danger input[type="text"] {
    color: #e6865c;
}

.vgz-teaser a,
.vgz-content a {
    text-decoration: underline;
    text-decoration-style: solid;
}

.vgzBox {
    color: #FAF8E7;
    background-color: #465F0E;
    padding: 1em 1em 0.1em 1em;
    margin-bottom: 1em;
}

.vgzBox a {
    color: #FAF8E7;
}

.vgzBox.vgzAlarm {
    background-color: #F0430A;
}

.vgz-teaser {
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.2;
}

.vgz-content {
    font-size: inherit;
    /*    
    font-size: 0.8rem;
    line-height: 1;
*/
}

.intern .uk-navbar-toggle,
#tm-mobile>.intern .uk-close {
    color: #FFFFFF;
    background-color: #4D680F;
}

.intern .uk-navbar-toggle:hover,
#tm-mobile>.intern .uk-close:hover {
    color: #9C9E0F;
}

.btnRowRight {
    z-index: 10;
}

/* overwrites custom.css */
.btnRow.btnRowRight {
    position: fixed;
    top: 380px;
    right: 0px
}

.uk-grid-small>.uk-grid-margin.el-item {
    margin-top: 10px;
}

.vgz-icon {
    text-align: right;
    background-repeat: no-repeat;
    background-position: 0 50%;
}

.vgz-icon-temp {
    background-image: url(../img/icons/icon-temp.svg);
}

.vgz-icon-wetter {
    background-image: url(../img/icons/icon-wetter.svg);
}

h2.vgz-toggle-container-button {
    margin-bottom: 0;
}

.vgz-toggle-container-button {
    cursor: pointer;
    position: relative;
    padding: 1rem 28px 1rem 0;
    transition: all 80ms cubic-bezier(0.42, 0, 0.58, 1);
}

.vgz-toggle-container-button:hover {
    color: #AFAA1B;
}

.vgz-toggle-container-area {
    display: none;
}

.vgz-toggle-container-button::before,
.vgz-toggle-container-button::after {
    background-color: #4D680F;
    content: '';
    height: 2px;
    position: absolute;
    right: 10px;
    top: 50%;
    transition: all 0.3s;
    width: 15px;
}

.vgz-toggle-container-button::after {
    transform: rotate(90deg);
}

.vgz-toggle-container-button--open::after {
    transform: rotate(180deg);
}

.vgz-home-img {
    display: none;
}

.vgz-nav-parent {
    position: relative;
}

.vgz-nav-parent.uk-container {
    width: 100%;
    max-width: 90%;
}

.vgz-search-results {
    position: fixed;
    display: block;
    max-width: 85%;
    height: 70%;
    top: 3.3em;
    left: 5%;
    right: 5%;
    bottom: 0;
    background-color: #FFF;
    padding: 3em 4em;
    opacity: 0.95;
    overflow-y: scroll;
    z-index: 20;
}

.vgz-search-results .vgz-result-item-title {
    font-weight: bold;
    font-size: larger;
    margin-bottom: 0.2em;
}

.vgz-search-results .vgz-result-item-title>a {
    text-decoration: underline;
}

.vgz-search-results .vgz-search-result-item {
    margin-bottom: 2em;
}

.vgz-search-results .vgz-search-result-item p {
    margin: 0;
}

.vgz-search-results .vgz-search-result-item strong {
    font-style: italic;
}

.vgz-result-asset {
    font-style: italic;
    text-decoration: underline;
}

.vgz-mobile-search {
    position: relative;
    top: -3.3em;
    right: 1em;
    z-index: 20;
}

.vgz-mobile-search vgz-search {
    right: initial;
}

vgz-search {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    min-width: 3em;
    padding-left: 2em;
}

.vgz-image-title {
    margin-bottom: 0.2em;
}

.vgz-image-subtitle {
    font-size: 0.9em;
    font-style: italic;
    margin-top: 0;
}

.vgz-galery-title {
    margin-left: calc(10%);
    margin-top: 2em;
    margin-bottom: 2em;
}

/* Style for VGZ image gallery */
.vgz-gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    padding: 0em 1em 1em 1em;
    margin-left: calc(9%);
    margin-right: calc(20%);
}

.vgz-gallery-container .gallery-item {
    flex: 1 1 calc(25% - 16px);
    min-width: 200px;
    max-width: 450px;
    margin: 0;
}

.vgz-gallery-container .image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 520 / 387;
}

.vgz-gallery-container .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vgz-gallery-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vgz-gallery-container .image-wrapper:hover .overlay {
    opacity: 0.7;
}

.vgz-gallery-container .title-link {
    color: white;
    text-decoration: none;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 4px;
    transition: background 0.2s;
}