/*
Theme Name: Team99 - OEM
Theme URI: https://team99.it
Author: Team99
Author URI: https://team99.it
Description: Built on a solidly designed foundation, Twenty Twenty-Two embraces the idea that everyone deserves a truly unique website. The theme’s subtle styles are inspired by the diversity and versatility of birds: its typography is lightweight yet strong, its color palette is drawn from nature, and its layout elements sit gently on the page. The true richness of Twenty Twenty-Two lies in its opportunity for customization. The theme is built to take advantage of the Full Site Editing features introduced in WordPress 5.9, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. It also includes dozens of block patterns, opening the door to a wide range of professionally designed layouts in just a few clicks. Whether you’re building a single-page website, a blog, a business website, or a portfolio, Twenty Twenty-Two will help you create a site that is uniquely yours.
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 5.6
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Team99_OEM
Tags: 
Team99 WordPress Theme, (C) 2021 WordPress.org
Team99 is distributed under the terms of the GNU GPL.
*/

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Plus+Jakarta+Sans:wght@300;600;800&display=swap');

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.nascondi {
    display: none!important;
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
	text-decoration-style: dashed;
}

a:active {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
}

h1.alignwide.wp-block-post-title {
    padding: 0.8em 2.375em;
    max-width: none;
    margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
    margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
    width: unset;
    background-color: var(--wp--preset--color--primary) !important;
    color: var(--wp--preset--color--background) !important;
    margin-bottom: 0!important;
}

hr.wp-block-separator.alignwide.is-style-wide {
    display: none;
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--primary);
	border-radius: 0;
	border: none;
	color: var(--wp--preset--color--background);
	font-size: var(--wp--preset--font-size--medium);
	padding: calc(.667em + 2px) calc(1.333em + 2px);
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
	opacity: 0.90;
}

/*
 * Alignment styles.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body > .is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"] > .wp-block-group,
.is-root-container .wp-block[data-align="full"] > .wp-block-cover {
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
}

.wp-site-blocks .alignfull,
.wp-site-blocks > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-cover,
.wp-site-blocks > .wp-block-template-part > .wp-block-group.has-background,
.wp-site-blocks > .wp-block-template-part > .wp-block-cover,
body > .is-root-container > .wp-block-cover,
body > .is-root-container > .wp-block-template-part > .wp-block-group.has-background,
body > .is-root-container > .wp-block-template-part > .wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
	margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	width: unset;
}

/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"] > *:not(.wp-block-group) .wp-block[data-align="full"] {
	margin-left: auto !important;
	margin-right: auto !important;
	width: inherit;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: var(--wp--custom--spacing--outer);
	padding-bottom: var(--wp--custom--spacing--large);
	padding-right: var(--wp--custom--spacing--outer);
	padding-left: var(--wp--custom--spacing--outer);
}

a.has-background.has-secondary-background-color {
    background-color: #004676!important;
    border-radius: 0!important;
}

/* header */
.header_customer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    margin-bottom: 20px;
}

.wc-block-mini-cart.wp-block-woocommerce-mini-cart {
    /*border-radius: 30px;*/
    margin-left: 25px;
}

button.wc-block-mini-cart__button span.wc-block-mini-cart__amount {
    display: none!important;
}

.wc-block-mini-cart__button {padding: 0.55em 0.5em;}

/*.wp-block-button.login a:before {
    content: "\f2bd";
    font-family:var(--fa-style-family,"Font Awesome 6 Pro");
    margin-right: 5px;
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

.wp-block-button.customer a:before {
    content: "\f590";
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    margin-right: 5px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}
*/
span.wc-block-mini-cart__quantity-badge:before {
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    content: "\f290";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display,inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-size: 24px;
    padding: 0 5px;
}

svg.wc-block-mini-cart__icon {
    display: none;
}

span.wc-block-mini-cart__badge {
    background: #bf2222;
    border: none;
    transform: translate(100%,83%);
    color: #fff;
    font-size: 1rem;
    position: absolute;
}

.wp-block-button span.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 48;
  vertical-align: sub;
  margin-right: 10px;
  font-size: 30px;
}

.cover_page {    
	margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
    margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
    width: unset;
}

/* header fisso  */
@media (min-width: 768px) {
header.wp-block-template-part {
    position: fixed;
    z-index: 999;
    background-color: #fff;
    left: 0;
    top: 0;
    padding: 18px 28px!important;
    right: 0;
}

main#wp--skip-link--target {
    margin-top: 123px;
}

}



/* menu */
@media (min-width: 768px) {
    a.wp-block-navigation-item__content {
    font-family: Lato;
        text-transform: uppercase;
        font-size: 14px;
        line-height: 16px;
        font-weight: 700!important;
        color: #3697cf!important;
        -webkit-transition: color 0.2s ease;
        transition: color 0.2s ease;
    }

    a.wp-block-navigation-item__content:hover {
    text-decoration: none!important;
    }

    a.wp-block-navigation-item__content:after {
        -ms-transition: -webkit-transform .3s ease-out,border-color .3s ease-out;
        -webkit-transition: -webkit-transform .3s ease-out, border-color .3s ease-out;
        transition: transform .3s ease-out,border-color .3s ease-out;
        position: absolute;
        display: block;
        width: 100%;
        -ms-transform: scaleX(0);
        -webkit-transform: scaleX(0);
        transform: scaleX(0);
        border-top: 2px solid #000;
        content: '';
        padding-bottom: inherit;
        border: 5px solid!important;
        bottom: -26px;
        left: -4px;
        -ms-transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
        transform-origin: 0 0;
        -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
        transition: transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
        -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1), border-color 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);
        transition: transform 0.35s cubic-bezier(0.52, 0.01, 0.16, 1), border-color 0.35s cubic-bezier(0.52, 0.01, 0.16, 1);

    }

    a.wp-block-navigation-item__content:hover:after {
        backface-visibility: hidden;
        -ms-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        border-color: #3697cf;
    }

    .wp-block-navigation__submenu-container a.wp-block-navigation-item__content:after {display: none;}


    .wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
        border: 0;
        border-bottom: 10px solid #2a85bb!important;
        left: -4px;
        padding-top: 20px;
    }

    a.wp-block-navigation-item__content strong {
        font-weight: 700!important;
    }

    .wp-block-navigation__submenu-container a {
        color: #fff!important;
        background-color: rgba(3,75,123,100)!important;
        padding: 15px!important;
    }

    .wp-block-navigation__submenu-container a:hover {
        background-color: #fff!important;
        color: rgb(3, 75, 123)!important;
    }
}


/* home */

@media (min-width: 768px) {
#rev_slider_2_2_forcefullwidth {display: none;}

}

@media (max-width: 767px) {
#rev_slider_1_1_forcefullwidth {display: none;}

}


.home h2 {
    word-break: unset!important;
    overflow-wrap: normal!important;
}

.home .wp-block-column {word-break: unset!important;}

.elenco_prodotti {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: center;
}

/*.wp-container-16 > .alignwide.elenco_prodotti {
    max-width: 1200px;
}*/

/*.home .elenco_prodotti .wp-block-image img {border: 1px solid;}*/

.elenco_prodotti figure {
    /*width: 21%;*/
    width: 29%;
    margin: 2%;
}


.elenco_prodotti .wp-block-image img {
    background-color: #eeeeee;
    border-radius: 45px;
    
}

.elenco_prodotti figure a {
    text-decoration: none;
    font-size: 16px;
}

.elenco_prodotti figure a:hover {
    text-decoration: underline;
}

/* categoria prodotti */
.entry-content.wp-block-post-content .wp-block-group {
    margin-top: 0!important;
}
 
.entry-content.wp-block-post-content h2.has-background {
    padding: 0.8em 2.375em;
}

p.link_back_category {
    margin-left: 10%;
}

p.link_back_category a {
    text-decoration: none;
}

p.link_back_category a:hover {
    text-decoration: underline;
}

/*.elenco_prodotti.categoria .wp-block-image {
    background-color: #F7F7F7;
    border-radius: 45px;
}*/

/*.elenco_prodotti.categoria figure {
    width: 26%;
    margin: 2%;
}*/

.elenco_prodotti.related {
    max-width: initial;
    align-items: flex-start;
}


.elenco_prodotti.related figure {
    width: 15%;
}

#wpt_thumbs_popup.wpt_thumbs_popup .wpt_popup_image_wrapper {
    max-width: 800px;
}

.wpt_thumbs_popup h2.wpt_wrapper_title {
    font-size: 16px;
    width: 80%;
}

/* tabella prodotti */
@media (min-width: 1400px) {
.instance_search_wrapper .instance_search_input {
    width: 30%;
}

.wpt_search_box span.select2.select2-container.select2-container--default .select2-selection--multiple {
    border-color: #004676;
    border-radius: 30px;
}

.instance_search_wrapper .instance_search_input {
    border-radius: 0;
    border-color: #004676;
}

}
.custom_table thead tr.wpt_table_header_row.wpt_table_head th {
    background-color: #fff;
    color: #666666 ;
    border-bottom: 1px solid rgb(102, 102, 102);
    font-size: 16px;
    text-transform: lowercase;
}

.custom_table thead tr.wpt_table_header_row.wpt_table_head th::first-letter {
    text-transform: uppercase;
}

.custom_table thead tr.wpt_table_header_row.wpt_table_head th {padding: 10px;}

table.wpt_product_table tr.wpt_row td.wpt_quantity div.quantity {text-align: left!important;}


table.custom_table tbody td a.wpt_product_title_in_td, table.custom_table tbody td span.wpt_product_title_in_td, table.custom_table tbody td a {
    color: #666666!important;
    font-weight: normal!important;
    font-size: 13px!important;
}

.col_inside_tag.autoresponsive-label-show {
    font-size: 13px;
    color: #666666;
}

.custom_table thead tr.wpt_table_header_row.wpt_table_head th.wpt_product_title {
    text-align: left;
    padding-left: 10px;
}

div.wpt_product_table_wrapper table.wpt_product_table tbody tr.wpt_row>td {
    border-bottom: 1px solid #ccc;
}

div.wpt_product_table_wrapper table.wpt_product_table a.wpt_product_title_in_td {
    color: #004676;
    font-weight: normal;
    text-decoration: none;
}

table.add_cart_left_icon tr .wpt_action a.button:before {display: none}



.custom_table a.ajax_active.button.wpt_woo_add_cart_button.add_to_cart_button {
    background-color: #004676;
    font-weight: normal;
    text-transform: uppercase;
    border-radius: 0;
    padding: 10px 25px;
    color: #fff!important;
}

.custom_table a.ajax_active.button.wpt_woo_add_cart_button.add_to_cart_button:hover {
    opacity: 0.8;
}

p.woocommerce-mini-cart__buttons.buttons a {
    background-color: #004676;
    color: #fff;
    font-weight: normal;
    border-radius: 30px;
    margin-left: 30px;
    padding: 5px 30px!important;
}

p.woocommerce-mini-cart__buttons.buttons a:hover {
	color: #fff;
    background-color: #bf2222;
}

a.remove.remove_from_cart_button {
	color: #fff!important;
}

a.remove.remove_from_cart_button:hover
{
	color: #fff!important;
	background: #fff!important;
}

.wpt_product_table_wrapper div.tables_cart_message_box div.widget_shopping_cart_content li.woocommerce-mini-cart-item.mini_cart_item a.remove.remove_from_cart_button:before {
    background: #bf2222;
}

.wpt_product_table_wrapper div.tables_cart_message_box div.widget_shopping_cart_content li.woocommerce-mini-cart-item.mini_cart_item a.remove.remove_from_cart_button:hover:before {
	background: #004676;
}

.woocommerce .quantity .qty {
    border: 1px solid #666666;
    /*border-radius: 30px;*/
    width: 5.631em;
    height: 30px;
    color: #666666;
    line-height: 40px;
    padding-right: 10px;
}

.wpt_table_pagination span.page-numbers.current, .wpt_table_pagination a.page-numbers.current {
    background-color: #004676;
    color: #ffff;
    border: 1px solid #004676;
    font-weight: bold;
}

.wpt-footer-cart-wrapper.bottom_right.always_show a:before {
    color: #fff;
    font-family: "Font Awesome 6 Pro";
    font-weight: 300;
    content: "\f290";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display,inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    font-size: 36px;
    transform: translate(68%, 50%);
}

.widget_shopping_cart_content {
    display: none!important;
}

.wpt-footer-cart-wrapper span.wc-block-mini-cart__badge {
    position: absolute;
    top: 0;
    right: 40%;
    width: 24px;
    padding: 0;
    font-weight: 300;
}

/*.wpt-footer-cart-wrapper > a {border-radius: 0!important;}*/

/* nascondere prezzi */
.product-price, .product-subtotal,span.woocommerce-Price-amount.amount,.woocommerce-checkout-payment .methods, .woocommerce-checkout-review-order-table .cart-subtotal, .woocommerce-checkout-review-order-table .order-total, .wc-block-mini-cart__template-part td.wc-block-cart-item__total, .wc-block-mini-cart__template-part .wc-block-cart-item__prices, .wc-block-mini-cart__template-part .wc-block-components-totals-item.wc-block-mini-cart__footer-subtotal, .wpt-footer-cart-wrapper.footer_possition.always_show,.col_inside_tag.action a.added_to_cart.wc-forward {
    display: none!important;
}

/*cart*/
.woocommerce a.remove {
    line-height: 0.8em;
}


.woocommerce-cart-form td.product-name a {
    pointer-events: none;
    text-decoration: none;
}

.woocommerce-cart-form .coupon, 
.woocommerce .cart-collaterals .cart_totals h2, 
.woocommerce .cart-collaterals .cart_totals table.shop_table.shop_table_responsive,
.woocommerce .woocommerce-form-coupon-toggle {
	display: none;
}

a.checkout-button.button.alt.wc-forward, button#place_order {
    background-color: #004676;
}

a.checkout-button.button.alt.wc-forward:hover, button#place_order:hover {
    opacity: 0.8;
}

tr.woocommerce-cart-form__cart-item.cart_item td.product-thumbnail {
    pointer-events: none!important;
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {width: 100%;}
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {display: none;}
@media (min-width: 1400px) {
	
.woocommerce-checkout .wp-container-12 > * {
    max-width: 900px;
}
}

/* checkout */
.woocommerce-order-received li.woocommerce-order-overview__total.total, .woocommerce-order-received th.woocommerce-table__product-table.product-total,
.woocommerce-view-order li.woocommerce-order-overview__total.total, .woocommerce-view-order th.woocommerce-table__product-table.product-total{
    display: none;
}

.woocommerce-order-received table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot,
.woocommerce-view-order table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot, li.woocommerce-order-overview__payment-method.method {
    display: none;
}



/* footer  */
@media (min-width: 1400px) {
footer .has-small-font-size {
    font-size: 13px!important;
}
}

div#footer_menu > div {
    align-items: flex-start!important;
}

.footer_banner {
    background: url(/wp-content/uploads/2022/05/caps_footer.png) no-repeat;
    background-size: contain;
    background-position: bottom;
}

a.wp-block-button__link.has-background-color.has-primary-background-color.has-text-color.has-background {border-radius: 0!important;}

/* smartphone */
@media (max-width: 400px) {

    img.custom-logo {
        width: 245px;
        height: auto;
    }

    .wp-block-button.login {
        display: none;
    }

    /* home  */

    .home .wp-block-cover.aligncenter.is-light {
    padding: 18px!important;
}

    .home .wp-block-cover.aligncenter:before {
        content: '';
        background-color: #ffffff9e;
        width: 100%;
        height: 100%;
        z-index: 1;
        position: absolute;
    }

    .home .wp-block-column.is-vertically-aligned-center {
        padding: 0 35px!important;
    }

    .home .blockslider-slide-inner-wrapper.blockslider__inner-container .has-background-color.has-text-color {
    color: #004676!important;
    }

    .home .blockslider-slide-inner-wrapper.blockslider__inner-container h2 {
        font-size: 35px;
    }

    .elenco_prodotti.categoria {
        align-items: flex-start;
    }

    .elenco_prodotti figure {
        width: 46%;
    }

    .elenco_prodotti figure a {
        font-size: 14px;
    }

    .elenco_prodotti.related figure {
        width: 45%;
    }

    h2.has-text-align-center.has-primary-color.has-text-color {
        font-size: 36px;
    }

    .wpt_product_table.mobile_responsive.custom_table .col_inside_tag.autoresponsive-label-show:before {
        position: relative;
        left: 0;
        width: 100%;
        text-align: left;
        color: #837f7f;
    }

    .wpt_product_table.mobile_responsive.custom_table .col_inside_tag.autoresponsive-label-show {
        padding-left: 0;
        text-align: left;
    }

}

/* account */
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads, li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--edit-address {display: none;}