/* Social Icons im Astra Header ausblenden */
.ast-header-social-wrap,
.ast-builder-social-element {
    display: none !important;
}

/* Footer volle Breite */
.site-footer,
.site-footer .ast-builder-grid-row-container,
.site-below-footer-wrap {
    width: 100% !important;
    max-width: none !important;
}

.site-footer .ast-builder-grid-row-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.site-below-footer-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
#page,
.site,
.ast-page-builder-template .site-content {
    max-width: none !important;
    width: 100% !important;
}

/* Astra Header beim Scrollen oben halten */
@media (min-width: 922px) {

    #ast-desktop-header {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 99999;
    }

    body {
        padding-top: 65px;
    }

    .admin-bar #ast-desktop-header {
        top: 32px;
    }
}
/* Logo normal */
#ast-desktop-header .custom-logo {
    width: 100px !important;
    height: auto !important;
    transition: width 0.3s ease !important;
}

/* Logo beim Scrollen */
#ast-desktop-header.logo-small .custom-logo {
    width: 65px !important;

    /* Logo nach oben */
    position: relative !important;
    top: -18px !important;
}

/* Logo-Container normal */
#ast-desktop-header .site-branding {
    width: 100px;
    height: 100px;
    transition: width 0.3s ease, height 0.3s ease;
}

/* Logo-Container beim Scrollen */
#ast-desktop-header.logo-small .site-branding {
    width: 65px !important;
    height: 65px !important;
}
/* Typografie */
h2 {
    text-transform: none !important;
}
h3 {
    text-transform: none !important;
}
h4 {
    text-transform: none !important;
}
h5 {
    text-transform: none !important;
}
h6 {
    text-transform: none !important;
}

/* Menue - Hintergrundfarbe Untermenü */
.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu:last-child > .menu-item > .menu-link, .ast-header-break-point .main-navigation ul .menu-item .menu-link {
    background: #1e2024;
}
.ast-desktop .ast-builder-menu-1 .menu-item .sub-menu:last-child > .menu-item > .menu-link:hover,
.ast-header-break-point .main-navigation ul .menu-item .menu-link:hover {
    background: #990000;
}
.ast-builder-menu-1 .sub-menu, .ast-builder-menu-1 .inline-on-mobile .sub-menu {
    border-top-width: 0px;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-left-width: 0px;
}
/* Astra Mobile + Tablet Menü */
@media (max-width: 921px) {

    /* Normale Menüeinträge */
    #ast-mobile-site-navigation .menu-link {
        color: #ffffff !important;
        background-color: #1e2024;
    }

    /* Aktuell geöffnete Seite */
    #ast-mobile-site-navigation .current-menu-item > .menu-link,
    #ast-mobile-site-navigation .current_page_item > .menu-link {
        background-color: #990000 !important;
        color: #ffffff !important;
    }

    /* Hover */
    #ast-mobile-site-navigation .menu-link:hover {
        background-color: #990000 !important;
        color: #ffffff !important;
    }

    /* Pfeil bei Untermenüs */
    #ast-mobile-site-navigation .ast-menu-toggle {
        color: #ffffff !important;
    }
}

/* Logo auch auf Tablet so klein wie auf Mobile */
@media (min-width: 545px) and (max-width: 921px) {
    #ast-mobile-header .custom-logo-link img {
        width: 50px !important;
        max-width: 50px !important;
        height: auto !important;
				position: relative;
        top: -20px;
    }
.ast-mobile-header-content .ast-builder-layout-element:not(.ast-builder-menu):not(.ast-header-divider-element), .ast-mobile-popup-content .ast-builder-layout-element:not(.ast-builder-menu):not(.ast-header-divider-element) {
    padding: 0px 0px;
}
}


/* ToTop weiter nach oben */
.ast-scroll-to-top-right {
    bottom: 50px;
}