/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
/* 20201207 - Calculators */

/*HD Foam*/
.pewc-group-wrap.first-group .pewc-product-extra-groups{display:flex; align-items:center; flex-wrap:wrap;}
.pewc-group-wrap.first-group .pewc-description, .pewc-field-label .required{display:none !important;}
.pewc-group-wrap.first-group .pewc-product-extra-groups li{flex-grow:1; flex-basis:0;}
.pewc-group-wrap.first-group .pewc-product-extra-groups li .pewc-item-field-wrapper{display:flex; align-items:center; padding-right:10px; position:relative;}
.pewc-group-wrap.first-group .pewc-product-extra-groups li.pewc-item-number .pewc-item-field-wrapper:after {  position: absolute;  top: 7px;  right: 3em;  content: 'cm';}
.pewc-group-wrap.first-group .pewc-product-extra-groups li label{margin:0 10px 0 0;}
.pewc-group-wrap.first-group .pewc-product-extra-groups li input{flex-grow:1;}

.pewc-group-calculation{display: none !important;}

@media screen and (max-width:480px){
	.pewc-group-wrap.first-group .pewc-product-extra-groups{padding: 0;}
	.pewc-group-wrap.first-group .pewc-product-extra-groups li{flex-basis:100%;}
	.pewc-group-wrap.first-group .pewc-product-extra-groups li .pewc-item-field-wrapper label{min-width:20%;}
}

/*Stockinette*/
.pewc-group-radio .pewc-field-label{font-weight:bold;}

/*Price per metre*/
.pewc-group-wrap.first-group .pewc-product-extra-groups li.pewc-item-number.pewc-field-17674 .pewc-item-field-wrapper:after {  content: 'm';}

/*Number fields*/
.pewc-product-extra-groups input[type=number]::-webkit-outer-spin-button, 
.pewc-product-extra-groups input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: inner-spin-button !important;
    opacity:1;
}
.pewc-total-field-wrapper p{margin-bottom:0.5em;}
#pewc-per-product-label, #pewc-per-product-total{display:none;}
#pewc-grand-total-label, #pewc-grand-total{font-weight:bold;}

.cart_item dl.variation dt, .cart_item dl.variation dd{padding:2px; line-height:1.2;}
.cart_item dl.variation dt{width:35%;}
.cart_item dl.variation dd{width:65%;}

#mini-cart .product_list_widget dl dt, #mini-cart .product_list_widget dl dd{font-weight:normal; font-size:10px;}

.includes_tax, .cart_totals .tax_label, .checkout .tax_label{display:block;}
.includes_tax .amount, .cart_totals .order-total .amount, .review-order.shop_table .order-total .amount{font-size:1em; line-height:1.2;}
.payment_methods .payment_method_paypal .about_paypal{display:none;}


/*Mini cart checkout button being chopped off on small screens - iPhone 6*/
#mini-cart .widget_shopping_cart .total{padding:10px;}
@media screen and (max-height:650px){
    #mini-cart .cart_list{max-height:250px;}
}

@media screen and (min-width:768px){
	.sticky-header .main-menu-wrap .menu-left{display: none;}
	.sticky-header #mini-cart .minicart-icon{color: #FFF;}
}

/* END 20201207 - Calculators */



p.demo_store{background-color:#28315c;}

#header .header-top .share-links>a {background: transparent !important;}
.share-links a {color: #e0e0e0 !important; font-weight: normal;}
.share-links a:hover {color: #FFF !important;}

#header .porto-view-switcher .narrow li.menu-item>a, #header .top-links .narrow li.menu-item>a {padding: 0 12px;line-height: 30px;}
.sticky-header #main-menu .mega-menu > li.menu-item.active > a{color:#28315c;}
.footer-main .col-lg-4:nth-child(2){padding-left:30px; padding-right:30px;}
.footer-main i, .contact-list i{display:inline-block; width:20px; margin-right:5px; text-align:center;}
.contact-list, .contact-list li{list-style:none; margin-left:0; padding-left:0;}
.products .rating-wrap, .product-details .star-rating{display:none !important;}
.wpcf7-form input[type=text], .wpcf7-form input[type=email], .wpcf7-form input[type=tel], .wpcf7-form select, .wpcf7-form textarea{width:100%;}
.wpcf7-form p{margin:0 0 5px  0;}
.home .no-breadcrumbs .main-content{padding-top:0;}
#payment_methods{float:right;}
.widget > div > ul li{padding:4px}

#home-banner{background-position: center;}
#home-banner h2, #home-banner h3{font-weight: bold; line-height: 1.2; margin-bottom: 10px;}
#home-banner h2{font-size: 20px;}
#home-banner h3{font-size: 18px;}
#home-banner h2 a:hover, #home-banner h3 a:hover{text-decoration: none;}

ul.products li.product-category .thumb-info-title{text-shadow: 2px 2px 4px #000;}

.yith_wapo_groups_container{margin-top: 0;}
.ywapo_group_container.form-row.form-row-wide h3{margin-top: 0;}
.woocommerce form .form-row .ywapo_input_container label{margin-right: 10px; font-weight: bold;}
.wapo_option_description{font-style: normal; opacity: 1; font-size: 90%; line-height: 1.3; margin-top: -5px;}
.shop_table dl.variation{flex-wrap: wrap;}

.order-total .includes_tax{display: block;}
.cart_totals .order-total .includes_tax .amount{font-size: 11px;}

@media screen and (max-width:991px){
	.footer-center{text-align: center !important}
}

@media screen and (max-width:768px){
	#home-banner h3, #home-banner-buttons{display:none;}
	.page-top{padding: 10px 0 0 0; border-top:1px solid #DDD;}
    .footer-left{text-align:center !important;}
    #payment_methods{float:none; display:block; margin:10px auto}
}
.owl-carousel .owl-item .owl-lazy{
	opacity: 1 !important;
}