/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       Maximilian Franz
 Author URI:   www.maximilian-franz.de
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/*
 * PNP Header
 */

.wd-switch-logo .wd-sticky-logo {
    animation: none;
}

.whb-main-header:hover .wd-switch-logo .wd-main-logo,
body:not(.home) .whb-main-header .wd-switch-logo .wd-main-logo {
    display:none;
}

.whb-sticked .whb-main-header,
.whb-main-header:hover,
.whb-color-light:not(.whb-with-bg) {
    background-color: #ffffff;
}

.whb-sticked .wd-nav[class*=wd-style-]>li>a,
.whb-main-header:hover .wd-nav[class*=wd-style-]>li>a,
.whb-sticked .wd-tools-element>a,
.whb-main-header:hover .wd-tools-element>a,
.whb-sticked .wd-nav[class*=wd-style-]>li.menu-item-has-children>a:after,
.whb-sticked .wd-nav[class*=wd-style-]>li.wd-has-children>a:after,
.whb-main-header:hover .wd-nav[class*=wd-style-]>li.menu-item-has-children>a:after,
.whb-main-header:hover .wd-nav[class*=wd-style-]>li.wd-has-children>a:after,
body:not(.home) .whb-sticked .wd-nav[class*=wd-style-]>li>a,
body:not(.home) .whb-main-header .wd-nav[class*=wd-style-]>li>a,
body:not(.home) .whb-sticked .wd-tools-element>a,
body:not(.home) .whb-main-header .wd-tools-element>a,
body:not(.home) .whb-sticked .wd-nav[class*=wd-style-]>li.menu-item-has-children>a:after,
body:not(.home) .whb-sticked .wd-nav[class*=wd-style-]>li.wd-has-children>a:after,
body:not(.home) .whb-main-header .wd-nav[class*=wd-style-]>li.menu-item-has-children>a:after,
body:not(.home) .whb-main-header .wd-nav[class*=wd-style-]>li.wd-has-children>a:after {
    color:#111111;
}

.whb-main-header:hover .wd-switch-logo .wd-sticky-logo,
body:not(.home) .whb-main-header .wd-switch-logo .wd-sticky-logo {
    display:block;
    
}

/*
 * PNP Startseite
 */

body:not(.home) .main-page-wrapper {
    /*margin:0 0 100px 0;*/
    padding-top: 100px;
}

/*
 * PNP Footer
 */

/*
 * Woodmart Product Grid
 */

.wd-hover-tiled .product-element-bottom {
    padding: 20px 0 !important;
}

.product-grid-item .price .amount {
    font-weight:400;
}

.product-grid-item .price,
.title-line-two .product-grid-item .wd-entities-title {
    text-align:left;
    margin-top:20px;
}

.labels-rectangular .product-label,
.product-label.new {
    margin-left: 20px;
    margin-top: 4px;
    background-color: #a9e4e1;
}

/*
 * Woodmart Product Detail Page
 */

div.quantity {
    display:block;
}

.thumbs-position-bottom_column .product-image-wrap {
    margin-bottom: 40px;
}

/*
 * PNP Warenkorb Cart
 */

.pnp-divider {
    height: 1px;
    width: 100%;
    background: #444;
    margin-bottom: 40px;
}

.coupon {
    margin-bottom: 40px;
}

.cart_totals .cart-totals-inner {
    border: 0;
    padding: 0;
}

.product-subtotal {
    text-align: right;
}

ul.variation {
    margin-top: 20px;
}

ul.variation li {
    margin: 0;
}

input[type=email], input[type=search], input[type=number], input[type=url], input[type=tel], input[type=text], input[type=password], input[type=date], select, textarea {
    border: 1px solid #444;
}

.cart_item:not(:last-child) {
    margin-bottom: 40px;
}

.pnp-total,
.pnp-taxes,
.pnp-fees,
.pnp-shipping,
.pnp-shipping-calculator,
.pnp-coupon,
.pnp-subtotal {
    text-align: right;
}

.checkout-button {
    max-width: 250px;
    right: 15px;
    position: absolute;
    margin-top: 40px;
}

.table-header .product-price {
    text-align: center;
}

div.quantity input[type=button] {
    width: 25%;
    border: 1px solid #444;
}

div.quantity input[type=number] {
    width: 50%;
    border-top: 1px solid #444;
    border-bottom: 1px solid #444;
}

.remove {
    width: 100%;
    text-align: center;
    display: block;
    margin-top: 10px;
    font-size: 12px;
}

.product-price .amount {
    font-weight: 400;
    text-align: center;
    width: 100%;
    display: block;
}

.product-thumbnail img {
    max-width: 75%;
}

/*
 * Styles Desktop Only
 */

.cart-table-section .table-header {
    margin-bottom: 10px;
}

/*
 * Styles Desktop Only
 */

@media only screen and (min-width: 1024px) {

    /*
     * PNP Warenkorb Cart
     */
    .page-id-9 .main-page-wrapper .container {
        max-width:1200px;
    }

    .cart {
        padding: 0;
    }

    .cart.woocommerce-cart-form__contents {
        margin-bottom: 40px;
    }

    #coupon_code {
        width: 75%;
    }

    #coupon-code-button {
        width: 25%;
        background: #111;
        color: #fff;
        margin-left: -5px;
    }

}

/* Disable "Werbemittel" link in Affiliate Dashboard */
.aff-wrap li.pure-menu-item:nth-child(4) {
    display: none;
}