
/*
    product grid with 2 columns for mobile clients
*/
/*
@media (max-width: 544px) {
  .woocommerce ul.products[class*="columns-"] li.product {
    width: 100%;
    max-width: 48%!important;
  }
}
*/

/*
    Default PWD Warning message to hide the following WP Default Pwd Nag Message
 */
.woocommerce-info[data-msg="pwd_missing"] + .woocommerce-info {
    display: none;
}

/*
    Subscription Switch - Abowechsel Produktauswahl
*/
form.cart.grouped_form button.single_add_to_cart_button.button,
table.woocommerce-grouped-product-list.group_table td.woocommerce-grouped-product-list-item__quantity {
    display: none;
}

table.woocommerce-grouped-product-list.group_table > tbody > tr > td {
    padding-left: 0px!important;
}

table.woocommerce-grouped-product-list.group_table .legal-price-info {
    display: none;
}

/*
    VAT in Product Loop (do center))
*/
.product p.wc-gzd-additional-info {
  width: 100%;
  text-align: center;
}

.wc-gzd-additional-info {
    display: block;
}
    
body.single-product .wc-gzd-additional-info {
    margin-left: 10px;
    display: inline-block;
}


.wc-gzd-additional-info-loop.tax-info {
    font-size: var(--m45-text-muted-font-size);
    margin-top: 15px;
    color: #aaa!important;
}
/*
    Pagination - align center
*/
.llms-pagination ul.page-numbers, .woocommerce nav.woocommerce-pagination ul.page-numbers, .woocommerce-pagination ul.page-numbers {
    justify-content: left;
}

/*
    Headlings
*/

.woocommerce-products-header {
    border-bottom: 1px solid #ddd;
    margin-bottom: 30px;
}

@media (max-width: 799px) {
    .woocommerce-products-header .page-title {
        font-size: 1.6em;
    }
}

/*
    WooCommerce "My Account" - Nav Items
*/

/*
    Icon for Nav Item "BuddyBoss Login Settings"
*/
.woocommerce .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--bb-export a::before {
  content: "\E889";
}

/*
    Icon for Nav Item "Data Export"
*/
.woocommerce .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--bb-edit-account a::before {
  content: "\ee27";
}

/*
    Icon for Nav Item "Social Login" (SSO))
*/
.woocommerce .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--bb-sso a::before {
  content: "\eec8";
}

/*
    Icon for Nav Item "Notifications" 
*/
.woocommerce .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--bb-notifications a::before {
  content: "\e86d";
}


/*
    Icon for Nav Item "Gift Cards"
*/
.woocommerce .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--gift-cards a::before {
  content: "\E865";
}

/*
    WooCommerce Comments | Reviews | Tickets - Forms
*/
#content div.product #reviews .comment-form label,
#content div.product #tickets .comment-form label {    
    font-size: 14px;
}

#content div.product #review_form_wrapper {
    margin-top: 50px;
}

#content div.product #ticket-label-options-wrapper {
    margin-bottom: 15px;
}

#content div.product .vdx-ticket-comments {
    margin-bottom: 40px;
}



/*
    WooCommerce "My Account" - Forms
*/
form#settings-form {
    
    input {
        width: 100%;
    }
}

form#account-data-export-form {
    margin-top: 15px;
}
/*
    WooCommerce "My Account" - Dashboard Intro Text entfernen
*/
.wc-MyAccount-sub-heading p {
    display: none;
}

/*
    Shop - Product Loop
*/
a.button.product_type_simple:not(:hover),
a.button.add_to_cart_button:not(:hover) {
    background-color: #045050!important;
    color: #c2d3cd!important;
}


li.product:has(a.button.add_to_cart_button:hover) {
    border: 2px #f47386 solid;
}

/*
    Checkout
*/
body.woocommerce-checkout.woocommerce-page.woocommerce-gzd-checkout  {

    .wc-gzd-cart-item-thumbnail {
        display: none;
    }
}

/*
   Search Block (Sidebar)
*/
div#secondary input.search, input[name="bbp_search"], 
div#secondary input[type="search"] 
{
    /* background-position: right 10px center; */
}

div#secondary h3.wp-block-heading {
    font-size: 16px!important;
}

.vdx-wc-product-search-block .wp-block-search__inside-wrapper  {

    border: none!important;
}

/*
   Search Results ( e.g. see BuddyBoss Search -> WC Products)
*/
.bp-search-results-list .bp-search-item .item-title {
    font-size: 16px;
    font-weight: 600;
}

/**
    Remove a bug where some loop items (product tiles) do not have margin-right set properly
**/
li.product.type-product.virtual,
.woocommerce ul.products li.last, 
.woocommerce-page ul.products li.last {
    margin-right: 3.8%;
}    


/** 
    Ordering
**/

.woocommerce .woocommerce-result-count {
    /*margin-top: -20px;*/
}

.woocommerce .woocommerce-ordering {
    /*
    margin-bottom: 6px;
    margin-top: -25px;
    */
}

.woocommerce .woocommerce-ordering select.orderby {
    width: 260px;
    color: #606060;
    border: none!important;
}

/**
    Title
**/

.woocommerce-products-header .woocommerce-products-header__title.page-title {
    padding-bottom: 15px;
}

#primary.content-area .product_title {
    hyphens: auto;
    word-wrap: break-word; /* Fallback für ältere Browser */
}


/**
    Single Product View Tabs
**/
.woocommerce-tabs ul.tabs li a span.vdx-wc-product-tab {
    display: inline-block;
    background-color: var(--bb-content-alternate-background-color);
    color: var(--bb-headings-color);
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 6px;
    min-width: 23px;
    line-height: 1.2;
    font-size: .9em;
    margin-left: 3px;  
    padding: 2px 7px;
}

.woocommerce-tabs ul.tabs li.active a span {
    color: var(--bb-headings-color)!important;
}


/**
    Orderby Button
**/

/** X-Small devices (portrait phones, less than 576px) **/
@media (max-width: 575.98px) {


}

/** Small devices (landscape phones, less than 768px) **/
@media (max-width: 1199.98px) { 

    /*
    .woocommerce .woocommerce-ordering, 
    .woocommerce-page .woocommerce-ordering {
        display: inline-block!important;
        width: 100%;
        float: none!important;
        margin-bottom: 10px;
    } 
    */
    
}
/**
@media (max-width: 767.98px) {
    
    #secondary .widget-area:not(.widget-area-secondary) {
        order: -1;
    }
    
    #secondary {
        display: block!important;
        order: -1;
    }
    .content-area {
        display: flex!important;
        flex-direction: column-reverse!important;
        
    }
}

**/

/**
    Lesson Plan
**/

body.single-product .phase-heading {
    font-weight: 600;
}

@media (max-width: 799px) {    
    body.single-product th:nth-of-type(2),
    body.single-product td:nth-of-type(2) {
        display: none;
    }
}

@media (min-width: 800px) {
    body.single-product .phase-teachingstyle {
        display: none;
    }
}

/*
    WooCommerce Sidebar
*/
/*
.woocommerce-page.archive #secondary .wc-widget-area-expandable {
    margin-top: 0px;
}
*/

/*
    WooCommerce Price
*/
#content .elementor-widget-container li.product .price {
    color: #272727;
    padding-bottom: 5px;
}

.woocommerce-page.archive #menu-shop-tabs.nav {
    margin-left: 0px;
    margin-bottom: 50px;
}
/* 
.m45-cancel-price,
.vdx-sidebar-cart .m45-promo-freebie :not(.m45-freebie-suffix)*/
.m45-wc-price-cancel {
    text-decoration: line-through!important;
} 

.m45-wc-price-suffix {
    /*display: block!important;*/
    /* color: var(--bb-primary-button-background-regular); */
}

/*
    Hide 0,- EUR Price when subscriber is logged in
*/
.m45-wc-price-wrapper.m45-is-subscriber.m45-price-isset-zero .woocommerce-Price-amount,
.m45-wc-price-wrapper.m45-is-subscriber.m45-price-isset-zero .woocommerce-price-suffix {
    display: none;
}

/*.m45-wc-price-wrapper.m45-is-subscriber:not(.m45-price-isset-zero):not(.m45-price-for-free) .woocommerce-price-suffix*/
.m45-wc-price-wrapper.m45-is-subscriber:not(.m45-price-isset-zero):not(.m45-price-for-free) .woocommerce-Price-amount
 {
    text-decoration: line-through;
}

.woocommerce-page.archive .m45-wc-price-wrapper .woocommerce-Price-amount {
    font-weight: bold;
}

.m45-wc-price-wrapper .tax-info.woocommerce-price-suffix {
    color: #aaa;
    padding-top: 5px;
    font-size: 12px;
}

.bp-nouveau.search.search-results .woocommerce-price-suffix,
.woocommerce-page:not(.archive) .m45-wc-price-wrapper .woocommerce-price-suffix {
    padding-left: 6px;
}

.woocommerce-page.archive .m45-wc-price-wrapper .woocommerce-price-suffix {
    display: block;
}

/*
.woocommerce-page.single-product ul.products li.product .price,
.woocommerce-page.archive ul.products li.product .price {
    color: var(--heading-color);
}
*/

.woocommerce-page.single-product ul.products li.product.sale .price,
.woocommerce-page.archive ul.products li.product.sale .price {
    color: var(--bb-primary-color);
}

.add-to-cart-block .list-group p {
    margin-bottom: 15px;
}

@media (min-width: 800px) {
    
    .dropdown-bildungsfeld-subject {
        display: none;
    }
    
    .add-to-cart-block {
        margin-top: -150px;
        background: white;
    }
    
   
}

 
@media (max-width: 799px) {
    

 
    #bildungsfeld_nav_mode button.nav-link,
    #nav_subjects_tab {
        display: none;
    }   
    
    /* left sidebar on top */
    .woocommerce-page.archive #secondary.wc-widget-area {
        order: -1;
    }
    
    body.single-product #secondary.wc-widget-area {
        order: 1;
    }
    
    /*.woocommerce-page.archive #secondary.wc-widget-area .wc-widget-area-expandable */
    body.single-product #secondary.wc-widget-area .wc-widget-area-expandable  {
        display: block;
    }
    
    .woocommerce-page.archive #menu-shop-tabs.nav {
        /* flex-direction: column !important; */
        display: none;
    }   
}

