@font-face {
    font-family: 'molengo';
    src: url('/wp-content/themes/astra-child/fonts/molengo-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --red-color: #A12C1E;
}

/* Navigation horizontal */
.elementor-widget-text-editor ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

body {
    padding-bottom: 3rem;
    box-sizing: border-box !important;
}

body,
header>div,
.ast-primary-header-bar,
footer>div {
    background-color: #000 !important;
}

/*  Header  */
.ast-primary-header-bar {
    border: 0;
}

.ast-builder-grid-row {
    display: flex;
    flex-direction: column;
}


body,
p,
.elementor-element,
.elementor-widget-text-editor {
    color: white !important;
    font-family: 'molengo' !important;
}

footer,
.ast-site-title-wrap {
    display: none !important;
}

/*  Alles unter Menü    */
#content {
    padding-top: 2rem;
    color: white !important;
}

h1,
h2,
h3,
h4 {
    color: #fff !important;
    font-family: 'molengo' !important;
}

div {
    font-family: 'molengo' !important;
}

/* Links */
a {
    color: #ccc;
}

a:hover {
    color: #fff;
}

.main-header-menu>.menu-item {
    line-height: 2rem !important;
}

@media (max-width: 922px) {
    .main-header-menu>.menu-item {
        line-height: 3rem !important;
    }
}

.site-header-section {
    height: auto !important;
}

/*  Logo    */
div.site-header-primary-section-left {
    margin-bottom: 1.5rem;
}

/* kurzinfo - Startseite */
div.kurzinfo {
    margin-top: 2.5rem;
}

/* Menue-Unterstreichung */
.ast-flex-grow-1 .menu-item a {
    position: relative;
    padding-bottom: 8px !important;
    border-bottom: none !important;
    color: white !important;
    margin: 0 10px !important;
}

.ast-flex-grow-1 .menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--red-color);
    transition: height 0.3s ease;
}

.ast-flex-grow-1 .menu-item a[aria-current="page"]::after {
    background: white;
}


.ast-flex-grow-1 .menu-item a:hover::after {
    height: 5px;
}

.ast-header-break-point .ast-primary-header-bar {
    border: 0 !important;
    margin-bottom: 1.5rem;
}

/*  Mobile Navi     */
.ast-mobile-header-wrap .ast-mobile-header-content,
.ast-desktop-header-content {
    background: transparent !important;
}

.ast-builder-menu-mobile .main-navigation .main-header-menu,
.ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link,
.ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
    background-color: rgba(40, 40, 40, 1) !important;
}

nav {
    ul[aria-expanded="true"] {
        li {
            padding: 0.5rem !important;

            &.current-menu-item a {
                background: rgba(60, 60, 60, 1) !important;
            }
        }
    }
}


/* Mobile Navigation - aktiver Menüpunkt */
.ast-builder-menu-mobile .menu-item.current-menu-item > a {
    position: relative;
}

.ast-builder-menu-mobile .menu-item.current-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
}



div.kurzinfo {
    text-align: center !important;

    h1 {
        font-size: 1.2rem !important;
        font-weight: 200 !important;
    }
}

#kurstermine:has(.keine-kurstermine) {
    display: none;
}


#ausstellungen {

    table,
    th,
    td {
        border: 0 !important;
    }

    th,
    td {
        color: #fff !important;
    }
}

#ausstellungen td:first-child {
    min-width: 200px !important;
}

#presse {
    padding-bottom: 5rem;

    .e-n-accordion-item-title-text {
        color: #fff !important;
    }

    svg {
        fill: rgba(255, 255, 255, 0.6) !important;
    }

    .elementor-element,
    summary {
        border: none !important;
    }

    .elementor-element {
        text-align: left !important;
    }
}

#kuenstlerin {
    div:has(>#fotocollage) {
        padding-left:0 !important;
    }
}

div.ast-scroll-top-icon {
    background-color: #A12C1E !important;
}

.fg-thumb img {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover !important;
}

.hidden {
    display: none !important;
}

/*  Kurstermine     */
ul.terminliste {
    margin-left: 20px !important;
}

form {
    label {
        color: white !important;
        font-size: 1rem !important;
    }

    input[aria-required="true"],
    select[aria-required="true"] {
        border-bottom: 4px solid var(--red-color) !important;
    }
}


#kurstermine {
    margin-top: 3rem;
    color: white !important;
}

#kurstermine {
    p {
        margin: 1rem 0rem !important;
        color: white;
    }

    h2 {
        margin-bottom: 0;
    }

    ul.terminliste {
        margin-top: 0;
    }

    form {

        input,
        select {
            padding: 0.5rem !important;
        }

    }
}

.gruen {
    color: #25B225;
}

.gruen_hell {
    color: #66FF33;
}

.rot {
    color: red;
}

.rot_hell {
    color: #FFB3B3;
}

.gelb {
    color: yellow;
}

.blau {
    color: blue;
}

.blau_hell {
    color: #66FFFF;
}

.lila {
    color: #CC99FF;
}

.orange {
    color: orange;
}

.orange_hell {
    color: #FFCC66;
}

@media (max-width: 420px) {

    /* Galerie */
    .fg-thumb img {
        width: 150px !important;
        height: 150px !important;
    }

    #ausstellungen td:first-child {
        min-width: 40vw !important;
        max-width: 40vw !important;
    }
}

@media (max-width: 769px) {

    /* Body und Accordion-Title extra ansprechen */
    body,
    p,
    .e-n-accordion-item-title-text {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 1170px) {

    div#page {
        padding-left: 5%;
        padding-right: 5%;
    }
}