#theme-logo {
    z-index: 100;
    width: 20vw;
    max-width: 250px;
    min-width: 142px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    margin-left: auto;
    margin-right: var(--nav-icon-padding-X);
}

header#header {
    pointer-events: none;
}

body:not(.home) #header {
    background-image: var(--wpr-bg-a0aa1d56-5969-4be0-898d-867ff7d91dc4);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
    margin-bottom: calc(var(--margin-bottom-row) / 1.7);
}

body:not(.home) #header::after {
    background-image: var(--wpr-bg-41b48975-f152-4c4d-a99a-06fa0fc0436d);
    width: 100vw;
    height: calc(100vw /22.73684210526316);
    display: block;
    content: '';
    margin-top: var(--nav-icon-padding-Y);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}

.home #header {
    position: absolute;
    width: 100%;
    z-index: 9999;
}

.header-wrapper.not-home {
    padding-bottom: 0;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--nav-icon-padding-Y) 0;
}

/*----------------- HEADER ICONS -------------*/
#header-icon-wrapper {
    position: relative;
    left: calc(var(--nav-icon-width) + var(--nav-icon-padding-X) + 3vw);
    display: flex;
    align-items: center;
    gap: 5.6vw;
}

#header-icons {
    z-index: 100;
    display: flex;
    pointer-events: all;
    gap: 8px;
}

#menu-wrapper #header-icons {
    position: absolute;
    right: var(--nav-icon-padding-X);
    top: calc((var(--nav-icon-height) / 2) + var(--nav-icon-padding-Y));
}

#header-icons img {
    height: 18px !important;
    display: block;
    width: auto;
}

#header-icon-wrapper>#header-icons .icon:nth-child(3),
#header-icon-wrapper>#header-icons .icon:nth-child(4) {
    display: none;
}

.icon {
    display: flex;
    text-align: center;
    transition: all 0.3s ease 0s;
    height: 49px;
    width: 49px;
    border: 1px solid #fff;
    border-radius: 50%;
}

.icon a {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#anfrage-btn {
    pointer-events: all;
}

#anfrage-btn a {
    font-family: var(--mainfont);
    letter-spacing: 0 !important;
    font-weight: 600;
    font-size: var(--btn-font-size);
    padding: 1.07em 2.2rem;
    background-color: var(--ast-global-color-0);
    transition: all .5s cubic-bezier(.46, .03, .52, .96) 0s;
    color: #fff;
    border-radius: 13em;
}

/**------------------------ SLIDESHOW -------------------------*/

#slider-wrapper.postthumb {
    max-width: 1170px;
    margin: 0 auto;
}


/*---------------- WPML SPRACHENSWITCH -------------*/

.wpml-ls-legacy-list-horizontal a {
    padding-top: 13px !important;
    line-height: 1;
    color: #fff;
    font-family: var(--mainfont);
    font-weight: bold;
    font-size: 19px;
}

.wpml-ls-legacy-list-horizontal {
    border: 0;
    padding: 0;
}

.schatten {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}


/*---------------- GTRANSLATE -------------*/

html:lang(auto) .icon a[title="German"],
html:lang(en) .icon a[title="English"],
html:lang(de-DE) .icon a[title="German"],
html:lang(de) .icon a[title="German"] {
    display: none;
    opacity: 0;
}

.gtranslate_wrapper {
    width: 100%;
    height: 100%;
}

a.glink {
    font-size: 0;
}

a.glink:after {
    height: 19px;
    width: 19px;
    background-image: var(--wpr-bg-7d1160c9-2e4d-4307-aa85-9e1503a2092d);
    content: '';
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


/*----------------- HEADERBILD -------------*/

#slider-wrapper.postthumb.desktop {
    max-height: 580px;
    overflow: hidden;
    position: relative;
}

#slider-wrapper.postthumb.mobile {
    max-height: 580px;
    overflow: hidden;
    line-height: 0;
    position: relative;
}

#slider-wrapper.postthumb.desktop img {
    width: 100%;
    height: auto;
}

#slider-wrapper.postthumb.mobile img {
    width: 100%;
    height: auto;
}

#slider-wrapper.postthumb::before {
    display: block;
    position: absolute;
    background: -moz-linear-gradient(top, rgba(7, 1, 1, 0.3) 0%, rgba(7, 1, 1, 0.3) 1%, rgba(0, 0, 0, 0) 100%);
    background: -webkit-linear-gradient(top, rgba(7, 1, 1, 0.3) 0%, rgba(7, 1, 1, 0.3) 1%, rgba(0, 0, 0, 0) 100%);
    background: linear-gradient(to bottom, rgba(7, 1, 1, 0.3) 0%, rgba(7, 1, 1, 0.3) 1%, rgba(0, 0, 0, 0) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#4d070101', endColorstr='#00000000', GradientType=0);
    height: 100%;
    width: 100%;
    content: '';
}

#slider-wrapper.postthumb.desktop img.fallback {
    margin-top: -10vw;
}

@media (min-width: 1920px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1500px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1200px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1024px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 990px) {
    body:not(.home) #header {
        background-image: var(--wpr-bg-3435e030-fbca-4ee1-a70a-a6559bd2861c);
        background-repeat: no-repeat;
        background-size: 100%;
        background-position: top center;
        margin-bottom: var(--margin-bottom-row);
    }

    #header-icon-wrapper {
        position: fixed;
        bottom: 0;
        left: unset;
        width: 100%;
        justify-content: center;
        z-index: 999;
        background-image: url(/wp-content/themes/astra-impuls-child/img/grafik-mobile-bar);
        background-size: cover;
        padding: 1.2rem 5vw;
    }

    #header-icon-wrapper>#header-icons .icon:nth-child(3),
    #header-icon-wrapper>#header-icons .icon:nth-child(4) {
        display: flex;
    }

    .shiftnav-toggle-button,
    .shiftnav-toggle-button:hover {
        display: flex;
    }
}

@media (max-width: 768px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 576px) {
    .icon {
        height: 39px;
        width: 39px;
    }

    #header-icons img {
        height: 17px !important;
    }

    a.glink:after {
        height: 16px;
        width: 16px;
    }

}

@media (max-width: 420px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 320px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}