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

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

/* 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 altezza icona */
.elementor-widget-icon > .elementor-icon-wrapper > .elementor-icon {display:block;}

/* Elementor: fix margine tito in Icon Box */
.elementor-widget-icon-box .elementor-icon-box-content > .elementor-icon-box-title {margin-top:0!important;}

/* Elementor: fix altezza immagine in carousel */
.elementor-widget-image-carousel .swiper-slide > .swiper-slide-inner > .swiper-slide-image {display:block;}

/* Titoli homepage */
body.home h1.elementor-heading-title {display:flex; flex-direction:column;}
body.home h1.elementor-heading-title > span:first-child {color:var(--e-global-color-7f8da68);}
body.home h1.elementor-heading-title > span:last-child {color:var(--e-global-color-accent);}

h1.elementor-heading-title > span,
h2.elementor-heading-title > span {color:var(--e-global-color-secondary);}


/* Titoli e testi */
.e-heading-base, .elementor-heading-title {text-wrap:balance;}
.elementor-widget-text-editor p {text-wrap:pretty;}
.text-wrap-balance > * {text-wrap:balance!important;}
/* Titoli e testi: eyebrow */
.eyebrow.elementor-widget-heading > .elementor-heading-title {display:flex; align-items:center; gap:10px;}
.eyebrow.elementor-widget-heading > .elementor-heading-title::before {content:""; display:block; width:25px; height:1px; background-color:currentColor;}

span.eyebrow {display:flex; align-items:center; gap:10px;}
span.eyebrow::before {content:""; display:block; width:25px; height:1px; background-color:currentColor;}

/* Rank Math Breadcrumbs */
nav.rank-math-breadcrumb > p {margin-bottom:0!important; font-size:0.875rem;}

/* Accettazione form */
.elementor-field-type-acceptance > label {display:none;}
.elementor-field-type-acceptance > .elementor-field-subgroup > .elementor-field-option {line-height:1;}
.elementor-field-type-acceptance > .elementor-field-subgroup > .elementor-field-option > input {vertical-align:middle;}
.elementor-field-type-acceptance > .elementor-field-subgroup > .elementor-field-option > label {font-size:0.75rem; line-height:1;}

/* elementor-widget-counter: colore del suffisso */ 
.elementor-widget-counter .elementor-counter-number-wrapper > .elementor-counter-number-suffix {color:var(--e-global-color-accent);}

/* Pulsanti */
.btn-lg a.elementor-button {padding:15px 25px;}

.lista-catalogo.elementor-widget-icon-list > ul > li > span.elementor-icon-list-text {width:100%; display:flex; flex-direction:row; flex-wrap:nowrap; justify-content:space-between;}
.lista-catalogo.elementor-widget-icon-list > ul > li > span.elementor-icon-list-text > span {font-size:0.75rem; white-space:nowrap;}

/* Blog */
body.single-post .elementor-widget-theme-post-content > * {margin-bottom:20px;}
body.single-post .elementor-widget-theme-post-content > *:last-child {margin-bottom:0!important;}
body.single-post .elementor-widget-theme-post-content > .wp-block-image > img {width:100%!important;}
body.single-post .elementor-widget-theme-post-content > .wp-block-list {padding-left:0; margin-left:20px;}
body.single-post .elementor-widget-theme-post-content > * strong {font-weight:600;}

/* Icone: A chi si rivolge */
.target-icon i {font-size: 2.5rem; color:var(--e-global-color-text);}

/* Stili per shortocde "Elenco" nella sezione "CTA" */
ul.cta-elenco {list-style:none; margin:0; padding:0;}
ul.cta-elenco > li {display:flex; flex-direction:row; flex-wrap:nowrap; align-items:center; gap:10px;}
ul.cta-elenco > li {color:rgba(255, 255, 255, 0.75); font-size:1.125rem; line-height:1.4em;}
ul.cta-elenco > li > i {font-size:1.75rem!important; display:block; text-align:center; width:1.25em;}
ul.cta-elenco > li + li {border-top:1px solid rgba(255, 255, 255, 0.25); padding-top:25px; margin-top:25px;}

/* Stili per shortocde "Lista" nella sezione "Elenco" */
ul.elenco-lista {list-style:none; margin:0; padding:0;}
ul.elenco-lista > li {display:flex; flex-direction:row; flex-wrap:nowrap; align-items:start; gap:10px;}
ul.elenco-lista > li > .elenco-lista-icon {background-color: var(--e-global-color-text); color: var(--e-global-color-7f8da68); padding:10px; border-radius:10%;}

ul.elenco-lista > li > .elenco-lista-icon > i {font-size:1.5rem!important; display:block; text-align:center; width:24px; height:24px; line-height:24px;}
ul.elenco-lista > li > .elenco-lista-content > h3 {margin-top:0; margin-bottom:5px; font-size:1.125rem; line-height:1.2em;}
ul.elenco-lista > li > .elenco-lista-content > p {margin-top:0; margin-bottom:0; font-size:1rem; line-height:1.4em;}
ul.elenco-lista > li + li {margin-top:25px;}

/* Titolo decorato */
h1.e-heading-base > em,
h2.e-heading-base > em,
h3.e-heading-base > em {font-style:normal!important; color:var(--e-global-color-secondary);}

/* Magazine */
body.single-post .elementor-widget-theme-post-content > * {margin-top:0; margin-bottom:20px;}
body.single-post .elementor-widget-theme-post-content > *:last-child {margin-bottom:0;}
body.single-post .elementor-widget-theme-post-content > h2 {font-size:1.5rem!important;}
body.single-post .elementor-widget-theme-post-content > h2 + * {margin-top:-10px;}
body.single-post .elementor-widget-theme-post-content > * + h2 {margin-top:20px; padding-top:20px; border-top:1px solid var(--e-global-color-211598b);}

/* Iubenda */
.elementor-location-footer a.iubenda-cs-preferences-link {color:var(--e-global-color-ab27429); transition:color 0.3s;}
.elementor-location-footer a.iubenda-cs-preferences-link:hover {color:var(--e-global-color-7f8da68);}

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