/*
Theme Name:Child Theme for Divi
Theme URI: http://wordpress-style.net
Description: Child Theme For Divi
Author: Eduard Ungureanu
Author URI: http://wordpress-style.net
Template: Divi
Version: 1.0
*/

/* Start your custom CSS bellow this comment
============================================ */

.author-info {display: none;}

}

.woocommerce span.onsale {
background: none;
box-shadow: none;
}


.header-post-title-container {
border-bottom: 1px solid #EAEAEA;
padding: 20px 0;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.05) inset;
}

.woocommerce-breadcrumb {display:none}

.post-meta {display:none}

.product_meta {display:none}

.widgettitle {display:none}

.et_shop_image .et_overlay {display:none}

/*Remove Addition Information Tab Below
============================================ */

add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
 
function woo_remove_product_tabs( $tabs ) {
    global $product;
	
	if( $product->has_attributes() || $product->has_dimensions() || $product->has_weight() ) {
        unset( $tabs['additional_information'] );   
    }
    return $tabs;

#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img 
{
height: auto;
width: 40px;
}

#top-menu li.mega-menu > ul > li > a:first-child {
	padding-top: 0 !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.03);
	font-weight: bold; 
	font-size: 30px; 
}

/* Changes the style of the overall form */
#mc_embed_signup {
    background: #f8f8f8;
    color: #000000;
    padding: 20px;
        text-align: center;
}

/* Styles the header text above the inputs */
#mc_embed_signup h2 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #000000;
    text-align: center;
}

/* Adds extra space around the input boxes */
#mc_embed_signup .mc-field-group {
    padding: 10px 0;
}

/* Styles the input boxes */
#mc_embed_signup  input {
    width: 200px;
}

/* Styles the subscribe button */
#mc_embed_signup .button {
    background-color: #000000;
    color: #ffffff;
    margin: 0 auto;
}
/* Function for Contact forms limiting to two decimal places */
function setTwoNumberDecimal(event) {
    this.value = parseFloat(this.value).toFixed(2);
}


