/*
Theme Name: Enfold Child
Version: 1.0
Template: enfold
*/

/* Essential Grid navigation skin: Werbezeit styling. */
.simple-light .esg-filter-wrapper.dropdownstyle > .esg-selected-filterbutton,
.simple-light input.eg-search-input,
.simple-light .esg-filterbutton,
.simple-light .esg-navigationbutton,
.simple-light .esg-sortbutton,
.simple-light .esg-cartbutton a,
.simple-light .esg-filter-wrapper.eg-search-wrapper .eg-search-clean,
.simple-light .esg-filter-wrapper.eg-search-wrapper .eg-search-submit {
    min-height: 42px !important;
    margin: 0 8px 10px 0 !important;
    padding: 0 18px !important;
    border: 1px solid #111 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #111 !important;
    font-family: "Serenity", "serenity", sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 40px !important;
    letter-spacing: .6px !important;
    text-transform: none !important;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

.simple-light .esg-filterbutton:hover,
.simple-light .esg-filterbutton.hovered,
.simple-light .esg-navigationbutton:hover,
.simple-light .esg-navigationbutton.hovered,
.simple-light .esg-sortbutton:hover,
.simple-light .esg-sortbutton.hovered,
.simple-light .esg-filter-wrapper.dropdownstyle > .esg-selected-filterbutton:hover,
.simple-light .esg-filter-wrapper.dropdownstyle > .esg-selected-filterbutton.hovered,
.simple-light .esg-filter-wrapper.eg-search-wrapper .eg-search-clean:hover,
.simple-light .esg-filter-wrapper.eg-search-wrapper .eg-search-submit:hover {
    border-color: #111 !important;
    background: #fff !important;
    box-shadow: 6px 6px 0 #111 !important;
    color: #111 !important;
    transform: translate(-2px, -2px);
}

.simple-light .esg-filterbutton.selected,
.simple-light .esg-filterbutton.selected:hover,
.simple-light .esg-filterbutton.selected.hovered {
    border-color: #111 !important;
    background: #111 !important;
    box-shadow: 6px 6px 0 #b7b7b7 !important;
    color: #fff !important;
}

.simple-light .esg-filterbutton:focus-visible,
.simple-light .esg-navigationbutton:focus-visible,
.simple-light .esg-sortbutton:focus-visible,
.simple-light input.eg-search-input:focus-visible {
    outline: 2px solid #111 !important;
    outline-offset: 4px;
}

.simple-light .esg-navigationbutton *,
.simple-light .esg-navigationbutton:hover *,
.simple-light .esg-navigationbutton.hovered * {
    color: inherit !important;
}

/* Keep carousel arrows visible even when Essential Grid's icon font fails. */
.simple-light .esg-navigationbutton.esg-left,
.simple-light .esg-navigationbutton.esg-right {
    position: relative !important;
    width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.simple-light .esg-navigationbutton.esg-left > .eg-icon-left-open,
.simple-light .esg-navigationbutton.esg-right > .eg-icon-right-open {
    position: absolute !important;
    top: calc(50% + .5px) !important;
    left: 50% !important;
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    color: #111 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
}

.simple-light .esg-navigationbutton.esg-left > .eg-icon-left-open {
    margin-left: 2px !important;
}

.simple-light .esg-navigationbutton.esg-right > .eg-icon-right-open {
    margin-left: -2px !important;
}

.simple-light .esg-navigationbutton.esg-left > .eg-icon-left-open::before,
.simple-light .esg-navigationbutton.esg-right > .eg-icon-right-open::before {
    content: "" !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.simple-light .esg-navigationbutton.esg-left > .eg-icon-left-open::before {
    border-top: 3px solid currentColor !important;
    border-left: 3px solid currentColor !important;
    transform: rotate(-45deg) !important;
}

.simple-light .esg-navigationbutton.esg-right > .eg-icon-right-open::before {
    border-top: 3px solid currentColor !important;
    border-right: 3px solid currentColor !important;
    transform: rotate(45deg) !important;
}

.simple-light .esg-filter-checked {
    color: currentColor !important;
    background: currentColor !important;
}

.simple-light .esg-dropdown-wrapper {
    border: 1px solid #111 !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 6px 6px 0 #111 !important;
}

.simple-light .esg-dropdown-wrapper .esg-filterbutton {
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    line-height: 32px !important;
    transform: none !important;
}

@media only screen and (max-width: 767px) {
    .simple-light .esg-filter-wrapper.dropdownstyle > .esg-selected-filterbutton,
    .simple-light input.eg-search-input,
    .simple-light .esg-filterbutton,
    .simple-light .esg-navigationbutton,
    .simple-light .esg-sortbutton,
    .simple-light .esg-cartbutton a {
        min-height: 38px !important;
        padding: 0 14px !important;
        font-size: 14px !important;
        line-height: 36px !important;
        letter-spacing: .4px !important;
    }

    .simple-light .esg-navigationbutton.esg-left,
    .simple-light .esg-navigationbutton.esg-right {
        width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;
    }
}

/* Kundenrezensionen: portrait card layout for smartphones. */
@media only screen and (max-width: 767px) {
    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-slideshow-inner {
        height: clamp(540px, 155vw, 620px) !important;
        padding-bottom: 0 !important;
    }

    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-slideshow-slide,
    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-slide-wrap {
        height: 100% !important;
    }

    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-slide-wrap {
        display: grid !important;
        grid-template-rows: 48% 52% !important;
        overflow: hidden !important;
        background: #111 !important;
    }

    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-slide-wrap > img {
        grid-row: 1 !important;
        align-self: stretch !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        object-fit: cover !important;
        object-position: 78% center !important;
    }

    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-caption {
        position: static !important;
        grid-row: 2 !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 20px 20px 44px !important;
        box-sizing: border-box !important;
        background: #111 !important;
        text-align: left !important;
    }

    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-inner-caption {
        display: block !important;
        width: 100% !important;
    }

    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-caption-title {
        margin: 0 0 12px !important;
        padding: 0 !important;
        color: #fff !important;
        font-size: clamp(17px, 4.8vw, 20px) !important;
        font-weight: 400 !important;
        line-height: 1.25 !important;
        letter-spacing: .01em !important;
        text-align: left !important;
    }

    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-caption-content,
    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-caption-content p {
        margin: 0 !important;
        padding: 0 !important;
        color: #fff !important;
        font-size: clamp(13px, 3.6vw, 15px) !important;
        line-height: 1.45 !important;
        letter-spacing: .01em !important;
        text-align: left !important;
    }

    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-slideshow-arrows a {
        top: 24% !important;
        margin-top: 0 !important;
        transform: translateY(-50%) !important;
    }

    html.responsive #top #wrap_all .avia-slideshow[class*="av-mt8ma0fv"] .avia-slideshow-dots {
        bottom: 12px !important;
    }
}
