/*
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 ***/
body a {
    text-decoration: none;
}

/*** Header ***/
#main-toggle-menu,
html #topcontrol {
    display: none !important;
}
#mini-cart .cart-items, .gutenberg-hb .compare-count, .my-wishlist .wishlist-count, header .compare-count {
    background-color: #4fab79 !important;
}
#mini-cart .total-count a {
    display: none !important;
}
.widget_shopping_cart .product-details .remove-product {
    box-shadow: none !important;
}
#mini-cart:not(.minicart-offcanvas) .buttons>a:first-child {
    display: block;
}
#mini-cart .buttons > a:first-child {
    color: #222529 !important;
    border: solid 2px #222529 !important;
    background-color: transparent !important;
}
#mini-cart .buttons a.checkout,
.wc-proceed-to-checkout .btn {
    background-color: #4fab79 !important;
    border-color: #4fab79 !important;
}
#mini-cart .buttons a.checkout:hover,
#mini-cart .buttons a.checkout:focus,
.wc-proceed-to-checkout .btn:hover,
.wc-proceed-to-checkout .btn:focus {
    background-color: #479a6d !important;
    border-color: #479a6d !important;
}
@media(min-width: 992px) {
    #header .searchform {
        border-color: #35a9d3 !important;
    }
    #header .searchform button {
        background-color: #35a9d3 !important;
    }
}

/*** Footer ***/
.prefooter-newsletter .wpcf7-form {
    position: relative;
    max-width: 500px;
}
.prefooter-newsletter .wpcf7-form br {
    display: none;
}
.prefooter-newsletter .wpcf7-form .wpcf7-form-control-wrap[data-name=your-email] {
    display: inline-block;
    width: calc(100% - 80px);
    margin-bottom: 0;
}
.prefooter-newsletter .wpcf7-form .wpcf7-form-control-wrap[data-name=your-email] input {
    width: 100% !important;
    border: solid 2px #35a9d3;
    border-radius: 0.25rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    height: 45px;
}
.prefooter-newsletter .wpcf7-form .wpcf7-submit {
    float: right;
    background-color: #35a9d3;
    border-color: #35a9d3; 
    border-radius: 0.25rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    width: 80px;
    height: 45px;
}
.prefooter-newsletter .wpcf7-form .wpcf7-spinner {
    right: 70px;
    top: 10px;
}
.prefooter-newsletter .wpcf7-form .wpcf7-form-control-wrap[data-name=privacy] {
    display: inline-block;
    margin-top: 15px;
}
.prefooter-newsletter .wpcf7-form .wpcf7-form-control-wrap[data-name=privacy] label {
    line-height: 1.4;
}

#footer .footer-bottom {
	padding: 22px 0;
}

/*** CF7 ***/
.wpcf7-form br {
    display: none !important;
}
.wpcf7-form label {
    display: block;
}
.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 15px;
    width: 100%;
}
.wpcf7-form .wpcf7-form-control-wrap input[type="email"],
.wpcf7-form .wpcf7-form-control-wrap input[type="number"],
.wpcf7-form .wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form .wpcf7-form-control-wrap input[type="text"],
.wpcf7-form .wpcf7-form-control-wrap input[type="url"],
.wpcf7-form .wpcf7-form-control-wrap input[type="date"],
.wpcf7-form .wpcf7-form-control-wrap select,
.wpcf7-form .wpcf7-form-control-wrap textarea {
    width: 100%;
}
.form-container .wpcf7-form input[type=submit] {
    border-radius: 2px;
    letter-spacing: 0.025em;
    text-transform: uppercase;
    padding: 0.875rem 1.5rem;
}

/*** Home ***/
.products .product-category .thumb-info-type {
    display: none;
}
.products-home .porto-products .product-categories .current a,
.products-home .porto-products .product-categories a:hover {
    color: #35a9d3 !important;
}
.products-home .porto-products .product-categories .current a {
    font-weight: 600;
}
.products-home .porto-sicon-box .porto-sicon-title {
    color: #35a9d3 !important;
    font-size: 14px !important;
}
@media (min-width: 992px) {
    .porto-products.filter-vertical .products-filter + div {
        width: 75%;
        margin-left: unset !important;
    }
}

/*** Product style ***/
.single-add-to-cart .type-product .view-cart-btn {
    display: none !important;
}
.single_add_to_cart_button {
	background-color: #4fab79;
}
.single_add_to_cart_button, 
.view-cart-btn {
	font-weight: 600;
}

/*** Product index / item ***/
.woocommerce-ordering .orderby {
    width: 200px;
}
.shop-loop-before .gridlist-toggle {
    display: none !important;
}
ul.products .product-content {
    padding-left: 10px;
    padding-right: 10px;
}
ul.products .woocommerce-loop-product__title {
    white-space: normal;
    line-height: 1.4;
}

/*** Product single ***/
.single-product .product_title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
form.cart .checklist-container {
    display: block;
    width: 100%;
    margin-top: 20px;
}

/*** Cart / Checkout ***/
.woocommerce-cart .woo-page-header .breadcrumb,
.woocommerce-checkout .woo-page-header .breadcrumb {
    display: none !important;
}
.shop_table.cart-table .product-subtotal {
    text-align: right !important;
}
.shop_table.cart-table .product-subtotal .tax_label {
    display: block !important;
}
.woocommerce-cart .card-body tbody tr td,
.woocommerce-cart .card-body tbody tr.order-total td {
    text-align: right !important;
}
.woocommerce-cart .card-body tbody tr td .tax_label,
.woocommerce-cart .card-body tbody tr.order-total td .includes_tax {
    display: block !important;
}
.woocommerce-cart .card-body tbody tr.order-total td .includes_tax .amount {
    font-size: inherit !important;
}
.woocommerce-cart .card-body tbody tr.cart-subtotal td .amount {
    color: #222529;
    font-weight: 700;
}
.woocommerce-checkout h2.entry-title {
    display: block !important;
}
.woocommerce-checkout fieldset legend {
    font-size: 14px;
    font-weight: 600;
    color: var(--porto-h3-color,var(--porto-heading-color));
}
.woocommerce-checkout fieldset#billing_stai_acquistando_come__field > label {
    display: inline-block;
    margin-right: 15px;
}
.woocommerce-checkout #billing_country_field .woocommerce-input-wrapper,
.woocommerce-checkout #shipping_country_field .woocommerce-input-wrapper {
    display: block;
    line-height: 1.5;
    padding: 13px 12px;
    border: 1px solid;
    border-color: var(--porto-input-bc);
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: #35a9d3;
}
.checkout-order-review .shop_table td.product-total,
.checkout-order-review .shop_table tr.cart-subtotal td,
.checkout-order-review .shop_table tr.order-total td {
    text-align: right;
}
.checkout-order-review .shop_table td.product-total .amount,
.checkout-order-review .shop_table tr.cart-subtotal td .amount {
    color: #222529;
}
.checkout-order-review .shop_table td.product-total .tax_label,
.checkout-order-review .shop_table tr.cart-subtotal td .tax_label,
.checkout-order-review .shop_table tr.order-total td .includes_tax {
    display: block;
}
.checkout-order-review .shop_table tr.order-total td .includes_tax {
    white-space: nowrap;
}
.checkout-order-review .shop_table tr.order-total td .includes_tax .amount {
    font-size: inherit;
}
.woocommerce-checkout .payment_methods .porto-control-label {
    font-weight: 600;
}
.woocommerce-checkout .payment_box label[for=wc-stripe-new-payment-method] {
    font-weight: normal;
}
.woocommerce-checkout .payment_methods fieldset,
.woocommerce-checkout .payment_methods .payment_box.payment_method_yith-paypal-ec,
.woocommerce-checkout .payment_methods .woocommerce-SavedPaymentMethods {
    padding-left: 30px;
}
.woocommerce-checkout .payment_methods .wc-credit-card-form > label {
    display: none !important;
}
.woocommerce-checkout .payment_methods label[for=payment_method_yith-paypal-ec] img,
.woocommerce-checkout .payment_methods label[for=payment_method_yith-paypal-ec] a {
    display: none !important;
}
.woocommerce-checkout .payment_methods p:not(.form-row) {
    font-size: 12px;
    padding-left: 30px;
}
.woocommerce-checkout .checkbox-terms label {
    display: inline !important;
}
.woocommerce-checkout .privacy label,
.woocommerce-checkout .checkbox-terms label {
    font-size: 12px;
}
.woocommerce-checkout #place_order {
    background-color: #4fab79 !important;
    border-color: #4fab79 !important;
}
.woocommerce-checkout #place_order:hover,
.woocommerce-checkout #place_order:focus {
    background-color: #479a6d !important;
    border-color: #479a6d !important;
}

/*** Woo misc ***/
.woocommerce-error li:before {
    content: none !important;
}
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    font-size: 14px;
}