/*
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  ***************/
/* General */
.text-red {
    color: #e30613;
}
.text-green {
    color: #43ac33;
}
.btn-red a {
    background: #e30613;
}
.btn-green a {
    background: #43ac33;
}
.btn-red a,
.btn-green a {
    border: none;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.3em;
    text-transform: uppercase;
    border-radius: 15px;
}
.bg-overlay:before,
.bg-overlay .vc_parallax-inner::before {
    content: "";
    background: rgb(0 0 0 / 50%);
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}
.img-250-auto img {
    width: auto;
    height: 250px;
}
.grecaptcha-badge { visibility: hidden; }
/* Builder */
.popup-builder > div > div > div {
    background: #FFF;
    border-radius: 15px;
    min-height: 200px;
    padding: 10px 15px;
}
body.no-popup .popup-builder.mfp-fade.mfp-ready {
    display: none;
}
/* Page */
.page .breadcrumbs-wrap {
    display: none;
}
.page .row:has(.breadcrumbs-wrap) .col-lg-6 {
    width: 100%;
}
/* Page: Refrigeranti (2344, 2538, 2586, 4751, 2628), Chimico (2320, 2534, 2577, 2619, 4749), Attrezzature (49, 2531, 2574, 2615, 4747) */
.main-content:has(.main-no-padding) {
    padding-top: 0px;
}
.page-id-2344 .porto-u-sub-heading, 
.page-id-2538 .porto-u-sub-heading, 
.page-id-2586 .porto-u-sub-heading, 
.page-id-4751 .porto-u-sub-heading, 
.page-id-2628 .porto-u-sub-heading, 
.page-id-49 .porto-u-sub-heading, 
.page-id-2531 .porto-u-sub-heading, 
.page-id-2574 .porto-u-sub-heading, 
.page-id-2615 .porto-u-sub-heading, 
.page-id-4747 .porto-u-sub-heading, 
.page-id-2320 .porto-u-sub-heading,
.page-id-2534 .porto-u-sub-heading,
.page-id-2577 .porto-u-sub-heading,
.page-id-2619 .porto-u-sub-heading,
.page-id-4749 .porto-u-sub-heading {
    margin: 30px auto;
}
/* Nav */
.mega-menu .popup li.menu-item {
    padding: 5px 0;
}
.mega-menu .popup li.menu-item a {
	font-weight: bold !important;
}
#mini-cart .cart-head {
    display: block;
    text-align: center;
}
#header .nav-item-left-border:before, #header .nav-item-right-border:after {
    background: rgb(255 255 255 / 50%);
}
.no-breadcrumbs .main-content {
    padding-top: 0px;
}
.page-top ul.breadcrumb li:first-child {
	display: none;
}
#header .porto-view-switcher > li.menu-item:before, 
#header .porto-view-switcher > li.menu-item > a {
	color: #ffffff;
}
@media screen and (max-width: 782px) {
	#header .nav-item-left-border {
		padding: 0;
		margin: 0;
	}
}
.menu-k-checked .menu-item-has-children > ul {
    display: none;
}

/* Home - Slide */
ul.products li.product-col {
    padding: 0;
    margin-bottom: 0;
}
ul.products ul.sub-categories li {
    display: inline;
}
.products .product-category .thumb-info-title {
    background: rgb(0 0 0 / 60%);
    width: 100%;
    padding: 0;
    height: 25%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/*
ul.products ul.sub-categories li:not(:last-child)::after {
    content: "- ";
}
*/
ul.products ul.sub-categories li.cat-item-none {
    display: none;
}
ul.products.category-pos-middle li.product-category .thumb-info-title {
    display: flex;
    flex-direction: column-reverse;
	/*
    justify-content: space-between;
    transform: none;
    bottom: 0;
    top: 0;
	*/
}
ul.products li.product-category .thumb-info-title a {
    color: #FFFFFF;
	padding: 5px;
}
.home ul.products .description {
    display: none;
}
/* Home - */
.home .col-pt-0 .vc_column-inner {
    padding-top: 0px !important;
}
.home .porto-products.theme_option li.product-col {
    padding-left: 20px !important;
    padding-right: 20px !important;
}
/* WooCommerce */
.woocommerce-price-suffix {
    display: none;
}
.success-message-container {
	width: 350px;
}
.product-image img {
    width: auto !important;
    height: 250px;
    display: inline-block !important;
}
.product-content .price,
.product-content .add-links-wrap {
	position: absolute;
    width: 100%;
}
.product-content .price {
    top: 260px;
}
.product-content .add-links-wrap {
    top: 288px;
}
.product-content .category-list {
    margin-top: 83px;
}
@media (max-width: 575px) {
	.product-image img {
		height: 190px;
	}
	.product-content .price {
		top: 200px;
	}
	.product-content .add-links-wrap {
		top: 225px;
	}
	.product-content .category-list {
		margin-top: 120px;
	}
}
.wc_payment_method label {
    display: flex;
    flex-direction: column;
}
ul.products .product-content {
    padding-bottom: 1px;
    padding: 1px 10px;
}
.woocommerce-billing-fields h3:nth-child(2) {
    display: none;
}
/* Product page */
.single-product .woocommerce-tabs .resp-tabs-list,
.single-product .woocommerce-tabs h2,
.single-add-to-cart .type-product .view-cart-btn {
    display: none;
}
.single-product form.cart:not(.variations_form) {
	display: flex;
    justify-content: space-evenly;
	border: none;
}
.single-product .woocommerce-tabs .tab-content {
	border: none;
}
.single-product .resp-tab-content {
	display: block;
}
.single-product .price {
	margin: 0 auto;
    text-align: center;
}
/* Loading */
.k-loading {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 9999;
}
.k-loading-wheel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -40px;
    margin-left: -40px;
    border-width: 30px;
    border-style: double;
    border-color: #ccc transparent;
    border-radius: 50%;
    -webkit-animation: spin 1s linear infinite;
}
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0);
    }
    100% {
        -webkit-transform: rotate(-360deg);
    }
}