/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain: Avada
*/

/* base styles */
del,
del .amount {text-decoration: line-through; }

/* manipulate plugin: woo_discount_rules frontend display */
.woo_discount_rules_variant_table,
table.woocommerce-cart-form__contents .variation-Typ {display: none !important;}
.woo_discount_rules_table.woo_discount_rules_table_patched thead tr {font-weight: bold; background: #e00; color: white; text-transform: uppercase;}
.woo_discount_rules_table.woo_discount_rules_table_patched tbody:nth-child(odd) tr {background: #f2f2f2;}
.woo_discount_rules_table.woo_discount_rules_table_patched tbody .dicountprice {font-weight: bold; color: #e00;}

/* new feature: "Add Stück" */
.m20190916 .input-text.qty.text {position: relative;overflow: visible; border-top: 1px solid #eae8e8}
.m20190916 .quantity.buttons_added {position: relative;overflow: visible; padding-top: 20px;}
.m20190916 .quantity.buttons_added:before {content: "Stück"; height: 20px; overflow: hiden; position: absolute; top: 0px; width: 100%; text-align: center; font-size: 75%; background-color: #fbfaf9;}


/* WC changes */
.woocommerce .woocommerce-invalid-required-field {padding: 0.5em; outline: 4px solid rgba(200,0,0,.3); border: 1px solid rgba(200,0,0,0.6); background: rgba(200,0,0,.02);}
.woocommerce .woocommerce-invalid:after {color: rgba(200,0,0,1) !important;}
.woocommerce .woocommerce_template_single_price_calculated {width: 100%; display: block; padding: 1em 0 0;}
.woocommerce.woo_discount_rules .summary-container .price,
.woocommerce.woo_discount_rules .summary-container .legal-price-info,
.woocommerce.woo_discount_rules .summary-container .product-border {display: none;}
.woocommerce .product .onsale {position: relative; top: 0; left: 0; width: 100%; height: 15px; border-radius: 0; background: rgba(255,193,7,0.77); line-height: 14px; text-transform: uppercase; font-size: 10px; color: black; text-align: center;}
.woocommerce .product .onsale:before,
.woocommerce .product .onsale:after {padding: 0;}
.woocommerce.single-product .avada-product-images-global .onsale {display: none;}
.woocommerce .products li.product.sale {border-color: rgba(255,193,7,0.77)}
.woocommerce-cart .woocommerce-content-box,
.woocommerce-checkout .woocommerce-content-box,
.woocommerce-checkout #customer_details .col-1, 
.woocommerce-checkout #customer_details .col-2 {border: 0 !important; padding: 0 !important;}
.woocommerce-checkout .shop_table {background: transparent;}
.woocommerce table.variations .label {min-width: 5em;}
.woocommerce table.variations select {width: 100%;}

@media (max-width: 639px) {
	.woocommerce table.variations,
	.woocommerce table.variations tbody,
	.woocommerce table.variations tr,
	.woocommerce table.variations td {display: flex;}
	.woocommerce table.variations tbody,
	.woocommerce table.variations tr { flex-direction: column;}
}

@media (min-width: 1200px) {
	.woocommerce .product {max-width: 1000px; margin: auto;}
	}
@media (max-width: 768px) {
	.woocommerce .full-width-override {margin: -30px;}
	}


/* new feature: "Sticky menu" */
body {padding-bottom: 50px;}
footer ul#menu-stickymenu {position: fixed; bottom: 0; left: 0; width: 100%; background: black; padding: 0; margin: 0; z-index: 99; text-align: center; box-shadow: 0 0 20px rgba(0,0,0,0.4);}
footer ul#menu-stickymenu li {display: inline-block;}
footer ul#menu-stickymenu li a {padding: 10px; font-size: 85%; text-transform: uppercase}
.fusion-menu-cart-item a:hover {background-color: inherit !important;}
.fusion-menu-cart-items {    width: 200px !important;}	 	

/* FORMS: theme overrides */
#comment-input input, .avada-select .select2-container .select2-choice, .avada-select .select2-container .select2-choice .select2-arrow, .avada-select .select2-container .select2-choice2 .select2-arrow, .chzn-container .chzn-drop, .chzn-container-single .chzn-single, .fusion-body .avada-select-parent select, .fusion-login-box .fusion-login-form input[type=password], .fusion-login-box .fusion-login-form input[type=text], .input-text:not(textarea), .main-nav-search-form input, .post-password-form label input[type=password], .search-page-search-form input, .searchform .fusion-search-form-content .fusion-search-button input[type=submit], .searchform .fusion-search-form-content .fusion-search-field input, .searchform .search-table .search-field input, .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--single .select2-selection__arrow, input.s, input[type=email], input[type=number], input[type=password], input[type=text], select {height: 40px !important;}
.wdr_cart_strikeout del span {text-decoration: line-through;}
