/**
Theme Name: Astra Child
Author: Brainstorm Force/gn2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/



.ast-desktop .ast-menu-hover-style-underline .sub-menu .menu-link:before,
.ast-desktop .ast-menu-hover-style-overline .sub-menu .menu-link:before,
#astra-footer-menu .menu-item > a:before {
    content: "";
    position: absolute;
    width: 100%;
    right: 50%;
    background-color: transparent;
    transform: scale(0, 0) translate(-50%, 0);
    transition: transform .3s ease-in-out, color .0s ease-in-out;
}
.ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link:before,
.ast-desktop .ast-menu-hover-style-overline > .menu-item > .menu-link:before,
.ast-desktop .ast-menu-hover-style-underline .sub-menu .menu-link:before,
.ast-desktop .ast-menu-hover-style-overline .sub-menu .menu-link:before,
#astra-footer-menu .menu-item > a:before {
    height: 2px;
}
.ast-desktop .ast-menu-hover-style-underline .sub-menu > .menu-item:hover > .menu-link:before,
.ast-desktop .ast-menu-hover-style-overline .sub-menu > .menu-item:hover > .menu-link:before,
#astra-footer-menu .menu-item:hover > a:before {
    width: calc(100% - 1.2em);
    background-color: currentColor;
    transform: scale(1, 1) translate(50%, 0);
}
.ast-desktop .ast-menu-hover-style-overline .sub-menu > .menu-item > .menu-link:before,
#astra-footer-menu .menu-item:hover > a:before {
    top: 0;
}
#astra-footer-menu > .menu-item > .menu-link {
    position: relative;
}
#astra-footer-menu .menu-item > a {
    font-weight: bold;
}

.ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0;
    margin-bottom: 0;
}
#main .entry-content {
    padding-bottom: 30px;
}
#main .entry-header:not(.ast-no-title) {
    margin-top: 30px;
}


/* war für Hintergrundbild
body.ast-plain-container {
    background: #EEF4E9;
}
.site-content {
    background-color: rgba(255,255,255,0.45);
}
.site-content .ast-container {
    background-color: #fff;
}
*/
.ast-below-header-bar .ast-container {
    padding-left: 0;
    padding-right: 0;
}
footer .ast-builder-footer-grid-columns,
.site-content .ast-container {
    padding-left: 30px;
    padding-right: 30px;
}
@media (min-width: 769px) {
    .footer-nav-wrap .astra-footer-horizontal-menu li:first-child a {
        padding-left: 0.5em;
    }
    .footer-nav-wrap .astra-footer-horizontal-menu li:last-child a {
        padding-right: 0.5em;
    }
}

.entry-content :where(h1,h2,h3,h4,h5,h6) {
    margin-top: 0.8em;
    margin-bottom: 0.5em;
}

blockquote {
    border: none !important;
    background-color: var(--ast-global-color-5);
}

@media (min-width: 1201px) {
    .ast-separate-container .entry-content[data-ast-blocks-layout] > .alignwide,
    .ast-plain-container .entry-content[data-ast-blocks-layout] > .alignwide {
        margin-left: -30px;
        margin-right: -30px;
    }
}
@media (max-width: 1200px) {
    .ast-separate-container .entry-content > .alignfull, .ast-separate-container .entry-content[data-ast-blocks-layout] > .alignwide, .ast-plain-container .entry-content[data-ast-blocks-layout] > .alignwide, .ast-plain-container .entry-content .alignfull {
        margin-left: -30px;
        margin-right: -30px;
    }
}

@media (max-width:1023px) {
    .a11y-toolbar /*wp accessibilty*/ {
        top: auto;
        bottom: 9vh;
    }
    .a11y-toolbar ul li button {
        padding: 15px 6px;
    }
}