/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.3.6
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

.header-top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tribe-events-list-widget .tribe-events-list-widget-events {
    padding: 0 !important;
    margin-left: 0 !important;
}

.author-page-img {
    object-fit: cover !important;
    width: 150px !important;
    height: 150px !important;
}

.tax-pa_autorinnen-autoren .category-filtering {
    display: none;
}

.instagram-image-container img {
    left: 0;
}

/* Aspect ratio for product catalog images */
.product:not(.product-category) .box-image img {
    margin: auto;
    width: 100%;
    object-fit: contain;
    object-position: 0 100%;
}

.product:not(.product-category) .box-image,
.product:not(.product-category) .box-image img {
    height: 200px;
}

/* Events */

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    padding-top: 15px;
}

.tribe-events-event-image {
    text-align: left !important;
}

.tribe-events-event-image img {
    max-height: 400px !important;
    width: auto !important;
}

.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn {
    background-color: #446084 !important;
    border-radius: 0 !important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-c-search__button {
    margin-left: 20px;
}

.tribe-events .tribe-events-c-ical__link {
    border-color: #446084 !important;
    color: #446084 !important;
    border-radius: 0 !important;
}

.tribe-events .tribe-events-c-ical__link:hover {
    color: #fff !important;
    box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.2) !important;
}

.tribe-events .tribe-events-c-ical__link:before {
    background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M6 1v10m5-5H1' fill='none' fill-rule='evenodd' stroke='#446084' stroke-linecap='square' stroke-width='1.5'/></svg>");
}

.tribe-events .tribe-events-c-ical__link:hover {
    background-color: #446084 !important;
    color: white !important;
}

.tribe-events-c-nav__list-item {
    margin: 0 !important;
}

.tribe-common-c-btn-icon.tribe-common-c-btn-icon--caret-right.tribe-events-c-top-bar__nav-link.tribe-events-c-top-bar__nav-link--next {
    min-height: auto !important;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/

}

/* Product Page */

.sticky-add-to-cart .quantity {
    margin-bottom: 5px;
}

div.shop_attributes {
    display: flex;
    flex-wrap: wrap;
}

div.shop_attributes .woocommerce-product-attributes-item {
    display: flex;
    width: 100%;
}

div.shop_attributes .woocommerce-product-attributes-item:nth-child(even) {
    background-color: #f7f7f7;
}

div.shop_attributes .woocommerce-product-attributes-item__label,
div.shop_attributes .woocommerce-product-attributes-item__value {
    width: 50%;
    flex-grow: 1;
    padding: .5em;
    font-size: .9em;
}

div.shop_attributes .woocommerce-product-attributes-item__label {
    text-transform: uppercase;
    font-weight: bold;
}

div.shop_attributes .woocommerce-product-attributes-item__value p {
    margin: 0;
}

@media only screen and (min-width: 50em) {
    div.shop_attributes .woocommerce-product-attributes-item {
        width: 49%;
        margin-left: 1%;
    }

    div.shop_attributes .woocommerce-product-attributes-item:nth-child(odd) {
        width: 50%;
        margin-left: 0;
    }

    div.shop_attributes .woocommerce-product-attributes-item:nth-child(even) {
        background-color: transparent;
    }

    div.shop_attributes .woocommerce-product-attributes-item:nth-child(4n + 3),
    div.shop_attributes .woocommerce-product-attributes-item:nth-child(4n + 4) {
        background-color: #f7f7f7;
    }
}

/**
 * Search
 */

.guaven_woos_suggestion {
    box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.15);
}

.guaven_woos_suggestion ul {
    padding: 0 !important;
}

.guaven_woos_suggestion_list {
    margin-bottom: 0;
    min-height: auto;
    border-bottom: 1px solid #ececec;
}

.guaven_woos_suggestion_list:hover {
    background-color: whitesmoke;
}

.guaven_woos_suggestion_list > a {
    display: block;
    padding: 5px;
}

.guaven_woos_suggestion_list .guaven_woos_div {
    float: initial;
    padding: 0;
    display: inline-block;
}

.guaven_woos_suggestion_list .guaven_woos_div .guaven_woos_img {
    position: initial;
    vertical-align: middle;
}

.guaven_woos_suggestion_list .guaven_woos_titlediv {
    font-size: 14px;
    font-weight: bold;
    color: black;
    display: inline-block;
    margin-left: 10px;
    padding-left: 0;
    vertical-align: middle;
}

.guaven_woos_suggestion_list .woocommerce-price-suffix {
    font-weight: normal;
}

.guaven_woos_suggestion_list .woocommerce-Price-amount {
    font-size: 110%;
    font-weight: normal;
}

/** Calendar **/
.tribe-tickets__rsvp-attendance {
    display: none !important;
}