/* Ueberarbeitete Fassung 01.12.2026, verlustfrei: .eventgrid-uni entfernt (nirgends verwendet), gemeinsame Status-Eigenschaften zusammengefasst, Schlussregeln einsortiert, background-clip ergaenzt. Farben und !important unveraendert. */
/* ========================================
   WOOCOMMERCE ANPASSUNGEN
   ======================================== */

/* Continue Shopping Button */
.jupiterx-continue-shopping {
    float: left !important;
}

/* Produkt-Tabs */
.woocommerce div.product .raven-product-data-tabs h2 {
    display: none;
}

/* Widget Listen */
.woocommerce ul.cart_list li,
.woocommerce ul.product_list_widget li {
    font-size: 0.8em;
}

/* Mini Cart Buttons */
.woocommerce div.widget_shopping_cart_content .woocommerce-mini-cart__buttons a:not(.checkout) {
    border: none;
    background-color: #004a80;
    color: #fff;
}

/* Tabellen Padding */
.woocommerce table.shop_table td,
.woocommerce table.shop_table th,
.woocommerce-page table.shop_table td,
.woocommerce-page table.shop_table th {
    padding: 0.5rem 1rem;
}

.woocommerce div.widget_shopping_cart_content .total {
    padding: 20px;
}

/* Coupon Input */
.woocommerce-cart:not(.raven-cart-wiget-cart-page) table.cart td.actions .coupon .input-text {
    padding: 10px 15px;
    border-radius: 50px;
    margin: 30px 10px 0 0;
    width: 140px;
}

/* Line Items */
.woocommerce-table__line-item .product-name ul {
    display: none;
}

.woocommerce div.widget_shopping_cart_content .cart_list li a.remove {
    font-size: 0 !important;
}

/* Order Again */
p.order-again {
    display: none;
}

/* Pay Button */
.woocommerce-button.button.pay {
    background-color: red !important;
    color: white !important;
    border-color: red !important;
    padding: 5px 10px !important;
    margin-right: 10px;
    font-size: 13px !important;
}

.woocommerce-button.button.pay:hover {
    background-color: #917329 !important;
}

/* My Account Widget */
.elementor-widget-raven-my-account .woocommerce address {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 30px;
}

.elementor-widget-raven-my-account .woocommerce a,
.elementor-widget-raven-my-account .woocommerce .shop_table {
    font-size: 13px;
}

/* Form Labels & Fields */
.woocommerce form .form-row label,
.woocommerce-page form .form-row label {
    display: inline;
}

#billing_company_field,
#billing_alt_company_field {
    display: none !important;
}

/* ========================================
   EVENTS MANAGER ANPASSUNGEN
   ======================================== */

/* Event Items */
#em-wrapper .em-events-list .em-item,
.em.em-list .em-item {
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 30px 30px 30px 20px;
    margin: 0 0 -15px;
}

#em-wrapper .em-events-list .em-item {
    padding-left: 10px;
}

.em.em-list .em-item:first-child {
    padding-top: 30px;
}

/* Event Images */
.em.em-item .em-item-image img,
.em.em-list .em-item .em-item-image img {
    width: 100%;
    border: 0;
}

/* Event Grid */
.em.em-list.em-grid > div.em-item {
    background-color: #ffffff;
    border: none;
    border-radius: 10px;
}

.em.em-list.em-grid > div.em-item .em-item-info .em-item-title a {
    color: #004a80 !important;
    font-weight: 400 !important;
    font-size: 0.9em !important;
    line-height: 0.9 !important;
}

.em.em-list.em-grid > div.em-item .em-item-info {
    border-top: 0;
    padding-top: 10px;
}

/* Event Meta & Description */
.em.em-list .em-item .em-item-info .em-item-meta,
.em.em-list-widget .em-item {
    margin: 20px 0;
}

.em.em-list .em-item .em-item-info .em-item-desc {
    font-size: 15px !important;
    margin: 10px 0 !important;
    color: #967217 !important;
    max-width: 550px !important;
}

.em.em-item.em-item-single .em-item-meta {
    gap: 0 !important;
}

/* Search Bar */
.advanced-mode-modal .em-search-form .em-search-main-bar {
    background-color: #ffffff;
    border: none !important;
    border-radius: 10px;
    padding: 20px !important;
    box-shadow: 0 0 10px 0 rgba(102, 102, 102, 0.2);
}

/* Search Submit */
.em-search-form .em-search-main-bar > .em-search-submit,
.em-search-main-bar .em-search-submit .em-search-submit {
    color: #ffffff;
    border: none;
}

.em.em-search-advanced.em-modal footer button.button {
    padding: 8px !important;
    color: #fff;
    border: 0;
    font-size: 0.9em !important;
}

/* Event Booking Form */
.em.em-event-booking-form h3.em-booking-section-title {
    display: none;
}

.em.em-event-booking-form .em-button.em-booking-submit {
    color: #ffffff;
    border: 0 !important;
}

.em.em-event-booking-form .em-tickets tr td:first-child {
    padding-left: 0;
}

.em.em-event-booking-form .em-booking-section {
    padding: 0;
}

.em.em-event-booking-form .em-booking-form {
    border: 0;
}

.em.em-event-booking-form .em-tickets {
    margin: 0;
    width: 100% !important;
}

.em.em-event-booking-form .em-tickets tr td {
    font-size: 0.9rem;
    padding: 5px 10px;
}

.em.em-event-booking-form .em-tickets .em-bookings-ticket-table-spaces {
    width: 5%;
    font-size: 0.8rem;
    font-weight: 300 !important;
    color: brown;
}

.em.em-event-booking-form .em-booking-form .input-user-field,
.em.em-event-booking-form .em-booking-form .input-group,
.em.em-event-booking-form .em-booking-form .input-type {
    font-size: 0.8rem;
}

.em.em-event-booking-form .em-booking-section.em-booking-form-buttons {
    z-index: 50 !important;
}

.em-booking-form-details {
    padding-top: 20px !important;
}

.em button.input.em-event-add-to-calendar {
    padding-left: 0 !important;
}

.em button:hover.input.em-event-add-to-calendar {
    background-color: #fff !important;
}

/* WooCommerce Integration */
.em-wc-cart-datetime {
    font-style: normal;
    padding-left: 95px;
}

.em-wc-attendees {
    display: none;
}

/* Icons */
.em .em-icon {
    color: var(--e-global-color-secondary) !important;
}

.em-item-image-wrapper {
    position: relative;
}

/* ========================================
   VERANSTALTUNGSSTATUS BADGES
   ======================================== */

.veranstaltungsstatus,
.eventgrid-home {
    color: white;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    align-items: center;
    justify-content: center;
}

.veranstaltungsstatus {
    position: relative;
    margin: auto 0 auto 30px;
    float: right;
    padding: 5px 10px;
    width: 90px;
    display: flex;
    text-align: center;
    z-index: 1000;
}

.eventgrid-home {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 6px 14px;
    z-index: 10;
    display: inline-flex;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.eventgrid-uni {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 5px 10px;
    width: 90px;
    border-radius: 20px;
    color: white;
    font-weight: 500;
    font-size: 0.8em;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
}

/* Status Farben */
.veranstaltungsstatus.status-verfuegbar,
.eventgrid-home.status-verfuegbar,
.eventgrid-uni.status-verfuegbar {
    background-color: green;
}

.veranstaltungsstatus.status-ausgebucht,
.eventgrid-home.status-ausgebucht,
.eventgrid-uni.status-ausgebucht {
    background-color: red;
}

.veranstaltungsstatus.status-abgesagt,
.eventgrid-home.status-abgesagt,
.eventgrid-uni.status-abgesagt {
    background-color: black;
}

/* ========================================
   ALLGEMEINE ELEMENTE
   ======================================== */

/* Form Controls */
.form-control {
    box-shadow: none;
}

.required {
    text-decoration: none !important;
}

/* Readonly Inputs */
input[readonly] {
    background-color: #f0f0f0 !important;
    border-color: #f0f0f0 !important;
    color: #C4C2C2 !important;
}

input[readonly]:focus {
    outline: none;
    border-color: #f0f0f0 !important;
    box-shadow: none;
}

/* Submit Button */
#wp-submit.button {
    width: 100%;
    padding: 0.55rem 0.7rem;
    color: #fff;
    background: #1c497c;
    border: 0;
    border-radius: 20px;
    transition: all 0.15s ease-in-out;
}

/* Text Editor */
.elementor-text-editor p {
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}

/* Elementor Button */
.elementor-16097 .elementor-element.elementor-element-fc4c675 a.button:not(.view),
.elementor-16097 .elementor-element.elementor-element-fc4c675 button.button {
    font-size: 16px;
}

/* Post Meta */
.jupiterx-post-meta-comments {
    display: none;
}

/* WPWH */
.wpwh-accordion-content {
    margin-top: 20px;
}

.wpwh-login {
    display: none;
}

/* Farbverlauf */
.farbverlauf {
    background: linear-gradient(rgba(151, 124, 54, 1) 0%, rgba(151, 124, 54, 1) 39%, rgba(168, 162, 147, 1) 48%, rgba(151, 124, 54, 1) 57%, rgba(151, 124, 54, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ========================================
   NAVIGATION & MENÜ
   ======================================== */

.raven-nav-menu > li.dgi-button > a.raven-menu-item,
.raven-nav-menu a.raven-menu-item.dgi-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    padding: 10px 25px !important;
    margin: auto 0 !important;
    border-radius: 999px !important;
    background-color: #004A80 !important;
    color: #fff !important;
    text-transform: none !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    transition: background-color 0.3s ease;
}

.raven-nav-menu > li.dgi-button:hover > a.raven-menu-item,
.raven-nav-menu a.raven-menu-item.dgi-button:hover {
    background-color: #957515 !important;
}

/* ========================================
   HERO BACKGROUNDS
   ======================================== */

.hero-cover {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
}

.hero-fill {
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: right center !important;
}

/* ========================================
   FORMULARE UND DOWNLOADS
   ======================================== */

/* JetFormBuilder: Auswahlfelder (align-items und gap wirken nur bei display flex) */
.jet-form-builder__field-wrap.checkradio-wrap span {
    display: block;
    align-items: center;
    gap: 8px;
}

/* Download Manager: Spalten umkehren (ACHTUNG: gilt global auf allen Breiten, Zweck pruefen) */
.w3eden .row {
    display: flex;
    flex-wrap: nowrap !important;
    margin-right: -15px;
    margin-left: -15px;
    flex-direction: column-reverse !important;
}

/* ========================================
   MEDIA QUERIES
   ======================================== */

@media only screen and (max-width: 767px) {
    /* DGI Button Mobile */
    .raven-nav-menu > li.dgi-button > a.raven-menu-item,
    .raven-nav-menu a.raven-menu-item.dgi-button {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 15px !important;
        padding: 14px 0 !important;
        border-radius: 8px !important;
        font-size: 16px !important;
    }
}

@media only screen and (max-width: 600px) {
    /* Search Bar Mobile */
    .advanced-mode-modal .em-search-form .em-search-main-bar {
        flex-wrap: wrap !important;
    }

    .em .em-search-advanced .em-search-main.em-search-main-bar > .em-search-field input,
    .em.em-search .em-search-main.em-search-main-bar > .em-search-field input,
    .em.em-search-advanced .em-search-main.em-search-main-bar > .em-search-field input {
        padding: 7px 0 !important;
    }

    .em.em-search .em-search-main.em-search-main-bar > .em-search-field {
        border-right: 0 !important;
    }
}
