/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.button-single-servizio svg {
    width: 3rem !important;
}
.icon-menu-mobile-toggle .elementor-icon-wrapper {
    display: flex;
    justify-content: flex-end;
}

#header_main_sub_container .elementor-menu-cart__container {
    overflow: visible;
}
#header_main_sub_container .elementor-menu-cart__container .elementor-menu-cart__main {
    height: 100vh;
}
.elementor-widget-woocommerce-menu-cart.elementor-menu-cart--shown {
    z-index: 9999999999;
}
/* Canvas Menu styles */
.hamburger .line {
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger .top {
transform-origin: 4px 50%;
}
.hamburger .bottom {
transform-origin: 4px 50%;
}

/* Menu open styles */
.icon-menu-mobile-toggle.open .line.top {
    transform: rotate(45deg) translate(-1px, 1px);
    stroke: var(--e-global-color-primary) !important;
}
.icon-menu-mobile-toggle.open .line.middle {
    opacity: 0;
}
.icon-menu-mobile-toggle.open .line.bottom {
    transform: rotate(-45deg) translate(0px, -1px);
    stroke: var(--e-global-color-primary) !important;
}
.icon-menu-mobile-toggle-sticky.open .line.top {
    transform: rotate(45deg) translate(-1px, 1px);
}
.icon-menu-mobile-toggle-sticky.open .line.middle {
    opacity: 0;
}
.icon-menu-mobile-toggle-sticky.open .line.bottom {
    transform: rotate(-45deg) translate(0px, -1px);
}
.info-generali-prodotto h4 {
    margin-top: 0;
    text-transform: capitalize;
    font-size: 1.1rem;
    font-weight: 500;
}
.info-generali-prodotto .programma-descr ul {
    margin-bottom: 2rem;
}


/* Customize woocommerce elemnents */
div.woocommerce {
    font-family: "Inter", Sans-serif !important;
}
.elementor-add-to-cart.elementor-product-simple button.single_add_to_cart_button {
    background-color: var(--e-global-color-primary);
    font-family: "Inter", Sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--e-global-color-733ec44);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--e-global-color-primary);
    border-radius: 0px 0px 0px 0px;
    padding: 0.9rem 2.4rem 0.8rem 2.4rem;
    font-family: "Inter", Sans-serif !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
}
.elementor-add-to-cart.elementor-product-simple button.single_add_to_cart_button:hover {
    background-color: var(--e-global-color-31b7e6a);
    color: var(--e-global-color-primary);
}
.woocommerce-message {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: row;
    row-gap: 1rem;
}
.woocommerce-message a {
    font-family: "Inter", Sans-serif !important;
    font-size: 1.1rem !important;
}

/* Customize Grid relatori product page */
.eb-speakers-wrap {
    display: flex;
    row-gap: 2rem;
    flex-wrap: wrap;
}
.eb-speakers-wrap  img {
    height: 15rem;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.eb-relatore {
    max-width: 25%;
    padding-right: 2rem;
}
.eb-content h3 {
    margin-bottom: 0.5rem;
}
/* Customize Mobile Menu Container */
.menu-mobile-container li.e-n-menu-item {
    width: 100%;
    border-bottom: 1px solid var(--e-global-color-secondary);
    position: relative;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row
}
.menu-mobile-container li.e-n-menu-item .e-n-menu-content {
    width: 100%!important;
    top: 100%!important;
    left: 0!important;
    height: auto!important;
    position: static!important
}
.menu-mobile-container li.e-n-menu-item .e-n-menu-content.e-active {
    height: 100%!important;
    position: static!important
}
.menu-mobile-container ul.e-n-menu-heading {
    flex-wrap: wrap;
}
.menu-mobile-container .e-n-menu-wrapper li.e-n-menu-item .e-n-menu-content.e-active {
    height: 100% !important;
    position: static !important;
}

/* Hide the second header when the user is at the top of the page */
#header_main_sub_container {
    transition: transform 0.3s ease-in-out;
    transform: translateY(-120%);
}
#header_main_sub_container.hidden {    
    visibility: hidden;
    pointer-events: none; 
    display: flex !important;
}
/* When the user scrolls beyond 150px, show the header */
#header_main_sub_container.show {
    transform: translateY(0) !important;
    visibility: visible;
}


.off-canvas-open.home #header_main_container {
    border-color: var(--e-global-color-secondary);
}
.off-canvas-open.home #header_main_container > div > div {
    border-color: var(--e-global-color-secondary);
}
.off-canvas-open.home #header_main_container > div img {
    filter: brightness(0);
}

a.cont-servizio.nutrizione:hover {
    background-color: var(--e-global-color-56c79b0) !important;
} 
a.cont-servizio.consulenza:hover {
    background-color: var(--e-global-color-6c66950) !important;
} 
a.cont-servizio.formazione:hover {
    background-color: var(--e-global-color-cb1fec6) !important;
}
a.cont-servizio:hover svg path {
    stroke: white !important;
} 
.dialog-type-lightbox {
    z-index: 9999999999 !important;
}
#wpadminbar  {
    z-index: 9999999999 !important;
}
.add-to-cart-cont-varianti table.variations th {
    text-align: left !important;
}
.add-to-cart-cont-varianti .woocommerce-variation-add-to-cart button.single_add_to_cart_button {
    background-color: var(--e-global-color-primary);
    font-family: "Inter", Sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: var(--e-global-color-733ec44);
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 0px 0px 0px 0px;
    padding: 0.9rem 2.4rem 0.8rem 2.4rem;
    border-color: var(--e-global-color-secondary);
}
.add-to-cart-cont-varianti .woocommerce-variation-add-to-cart button.single_add_to_cart_button:hover {
    background-color: var(--e-global-color-31b7e6a);
    color: var(--e-global-color-primary);
}
.add-to-cart-cont-varianti span {
    color: var(--e-global-color-primary);
    font-size: 1.8rem;
}
.add-to-cart-cont-varianti small {
    color: var(--e-global-color-primary);
    font-size: 1.2rem;
}
body.single-product.postid-1459 .eng-translation {
    display: block !important;
}
body.single-product.postid-1459 .it-translation {   
    display: none !important;
}
#payment .wc_payment_methods.payment_methods methods *{
    color: var(--e-global-color-primary) !important;
}
.payment_box.payment_method_stripe {
    background-color: white !important;
}
.payment_box.payment_method_stripe fieldset {
    border: none !important;
}

.custom-cart-container .coupon.e-cart-section .coupon-col-start input.input-text {
    height: 100%;
    padding-inline: 1rem;
}
.custom-cart-container .coupon.e-cart-section  .coupon-col-end button {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: var(--e-global-color-primary);
    border-radius: 0;
}

@media screen and (min-width: 1366px) {
    .column-50-full-width {
        max-width: calc(var(--container-max-width) / 2);
    }
}
@media screen and (max-width: 1200px) {
    .eb-relatore {
        max-width: 33%;
    }
}
@media screen and (max-width: 767px) {
    .eb-relatore {
        max-width: 100%;
    }
}