/* 
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
*/

@import url("assets/css/prodotti-archivio.css");
@import url("assets/css/prodotti-dettaglio.css");

/* Elementor: fix scrollbar orizzontale */
html, body {overflow-x:hidden;}
/* Elementor: fix margine ultimo paragrafo */
.elementor-widget-text-editor p:last-child {margin-bottom:0!important;}
/* Elementor: fix lista puntata */
.elementor-widget-text-editor > ul {padding-left:20px;}
/* Elementor: fix widget icona */
.elementor-widget-icon .elementor-icon {display:block;}
/* Elementor: fix campo accettazione */
.elementor-field-type-acceptance > label {display:none;}
.elementor-field-type-acceptance .elementor-field-option > input {vertical-align:middle;}

.elementor-widget-heading > * {text-wrap:balance;}

/* Elementor Fix: lascia solo il bordo inferiore nel pulsante del widget "Call to action" */
.elementor-widget-call-to-action .elementor-cta__button {border-width:0 0 2px 0!important;}

/* Elementor Fix: altezza immagini nel carousel */
.elementor-widget-image-carousel .swiper-slide-inner > .swiper-slide-image {display:block;}

/* Elementor Fix: nascondi frecce swiper quando non servono */
.elementor-swiper-button.swiper-button-disabled {display:none!important;}

/* Header homepage fixed */
body.home .elementor-location-header {position:absolute; left:0; right:0; z-index:9999;}

/* Sticky header (homepage): cambia colore di sfondo */
body.home .elementor-location-header > .e-con.elementor-sticky.elementor-sticky--effects {background-color:#FFF; border-bottom:1px solid var(--e-global-color-ba0b1a4);}
/* Sticky header (homepage): cambia logo */
body.home .elementor-location-header .logo-2 {display:none;} 
body.home .elementor-location-header .e-con.elementor-sticky.elementor-sticky--effects .logo-1 {display: none;}
body.home .elementor-location-header .e-con.elementor-sticky.elementor-sticky--effects .logo-2 {display: inline-block;}
/* Sticky header (homepage): cambia colore voci di menu */
body.home .elementor-location-header > .e-con.elementor-sticky.elementor-sticky--effects .elementor-widget-n-menu .e-n-menu-title:not(.e-current):not(:hover) .e-n-menu-title-container .e-n-menu-title-text {color:var(--e-global-color-9898100);}
body.home .elementor-location-header > .e-con.elementor-sticky.elementor-sticky--effects .elementor-widget-n-menu .e-n-menu-title:not(.e-current):not(:hover) .e-n-menu-dropdown-icon i {color:var(--e-global-color-9898100);}
/* Sticky header (homepage): cambia colore icone (mobile) */
body.home .elementor-location-header > .e-con.elementor-sticky.elementor-sticky--effects .elementor-widget-icon a.elementor-icon:not(:hover) {color:var(--e-global-color-9898100); border-color:var(--e-global-color-9898100);}

/* Mobile menu */
.uael-menu-toggle {width:30px; height:30px; display:flex; justify-content:center; align-items:center; border:1px solid rgba(0,0,0,0.25);}

/* Rank Math Breadcrumbs */
nav.rank-math-breadcrumb > p {margin-bottom:0; font-size:14px;}
nav.rank-math-breadcrumb > p > a {transition:all .3s;}

/* Generali */
.e-con-p-xs {padding:10px 10px;}
.e-con-p-sm {padding:25px 10px;}
.e-con-p-md {padding:50px 10px;}
.e-con-p-lg {padding:100px 10px;}
.e-con-p-xl {padding:150px 10px;}
.pt-0 {padding-top:0;}
.pb-0 {padding-bottom:0;}

.widget-24hassistance-wrapper iframe {
    width: 100% !important;
    height: 900px !important;
    max-height: 900px !important;
    overflow: auto !important;
}

/* Blog */
.elementor-widget-theme-post-content > * {margin-bottom:10px;}
.elementor-widget-theme-post-content > *:last-child {margin-bottom:0!important;}
.elementor-widget-theme-post-content > ul {padding-left:20px;}
.elementor-widget-theme-post-content > ul > li + li {margin-top:5px;}
.elementor-widget-theme-post-content > hr.wp-block-separator {color:rgba(0,0,0,0.25); margin-top:20px; margin-bottom:20px; border-top:1px solid;}

.elementor-widget-theme-post-content > h2 {font-size:1.5rem; line-height:1.2em;}
.elementor-widget-theme-post-content > h3 {font-size:1.25rem; line-height:1.2em;}

.elementor-widget-theme-post-content > p + h2 {margin-top:20px; padding-top:20px; border-top:1px solid rgba(0,0,0,0.25);}

/* Form */
.elementor-field-type-recaptcha_v3 {margin-bottom:0!important;}
.elementor-field-type-recaptcha_v3 .grecaptcha-badge {visibility:hidden!important; height:0!important;}