/*
Theme Name: Twenty Twenty Child
Theme URL: http://wpamanuke.com/
Description: Twenty Twenty Child Theme
Author: WPAmaNuke
Author URL: http://wpamanuke.com/
Template: twentytwenty
Version: 1.0.0
Text Domain: twentytwenty-child
*/ 

span.wpcf7-not-valid-tip {
    text-align: left;
}
/*admin css*/
a {
    text-decoration: dotted;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
}
ul, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
body {
	background: #ffffff;
    overflow-x: hidden;
    font-family: 'Source Sans Pro', sans-serif !important;
    color: #5b5a59;
    font-size: 18px;
    line-height: 21px;
    font-weight: 300;
}

.menu-item a {
    color: #1f1f1f !important;
    padding: 5px 0px;
    transition: all 0.3s ease 0s;
    position: relative;
    z-index: 1;
    -webkit-transition: all 300ms ease-in-out 0s;
    -moz-transition: all 300ms ease-in-out 0s;
    transition: 0.4s all ease-in-out;
    padding: 10px 14px;
    font-weight: 500;
    font-size: 19px;
    letter-spacing: 0.3px;
}
header .menu-item a:hover {
    background: #def7ff;
    border-radius: 5px;
}

/*banner*/
.banner-sec {
    margin-top: 92px;
}
.banner-sec .bann-content-div .main-title {
    text-transform: uppercase;
    margin-bottom: 17px;
    margin-top: 13px;
    font-family: 'Cinzel', serif;
    font-weight: 400;
}
	
/*footer*/
.copyright-sec {
    border-top: 1px solid #ffffff;
    margin-top: 24px;
    padding-top: 12px;
    font-size: 12px;
}
footer {
    padding: 40px 0px 12px;
    background: url(../images/footer-bg.png);
    color: #fff;
}

.copyright-sec p {
    margin-bottom: 0;
    font-family: 'Source Sans Pro', sans-serif !important;
}
.widget-title {
    font-size: 21px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 12px !important;
    text-transform: uppercase;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 100 !important;
    letter-spacing: 0.5px;
}
.footer-menus h3 {
    font-size: 19px;
    font-weight: 300;
    color: #fff;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 300;
}

.footer .menu-item {
    margin-bottom: 0 !important;
    line-height: 26px;
}
.footer .menu-item a {
    color: #ffffff !important;
    font-size: 18px;
    padding: 0;
    font-weight: 200;
}
.footer .menu-item a:hover {
    color: #ccc6c6 !important;
    text-decoration: none;
}
.widget_nav_menu {
    border-right: 1px solid #fff;
    height: 100%;
    margin-left: 43px !important;
}
li#nav_menu-2 {
    margin-left: 0 !important;
}
.widget:first-child {
    margin-top: 0;
    margin-left: 0;
}
//Hide Price Range for WooCommerce Variable Products
add_filter( 'woocommerce_variable_sale_price_html', 
'lw_variable_product_price', 10, 2 );
add_filter( 'woocommerce_variable_price_html', 
'lw_variable_product_price', 10, 2 );

function lw_variable_product_price( $v_price, $v_product ) {

// Product Price
$prod_prices = array( $v_product->get_variation_price( 'min', true ), 
                            $v_product->get_variation_price( 'max', true ) );
$prod_price = $prod_prices[0]!==$prod_prices[1] ? sprintf(__('From: %1$s', 'woocommerce'), 
                       wc_price( $prod_prices[0] ) ) : wc_price( $prod_prices[0] );

// Regular Price
$regular_prices = array( $v_product->get_variation_regular_price( 'min', true ), 
                          $v_product->get_variation_regular_price( 'max', true ) );
sort( $regular_prices );
$regular_price = $regular_prices[0]!==$regular_prices[1] ? sprintf(__('From: %1$s','woocommerce')
                      , wc_price( $regular_prices[0] ) ) : wc_price( $regular_prices[0] );

if ( $prod_price !== $regular_price ) {
$prod_price = '<del>'.$regular_price.$v_product->get_price_suffix() . '</del> <ins>' . 
                       $prod_price . $v_product->get_price_suffix() . '</ins>';
}
return $prod_price;
}
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );