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

/* Add your custom styles here */


/* elimina icona da lista faq */
span.ac_title_class > span {
    display: none;
}

/* Wrapper generale */
.lista-menu-wrapper {
  margin: 2rem 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Titoli delle categorie */
.lista-menu-wrapper h2.categoria-menu-titolo {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.3rem;
}

/* Lista dei file */
.lista-file-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.lista-file-menu li.voce-file-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  margin-bottom: 0.6rem;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.lista-file-menu li.voce-file-menu:hover {
  background: #f0f0f0;
}

/* Titolo file */
.titolo-file {
  font-weight: 500;
  color: #222;
  flex: 1;
}

/* Pulsanti uniformati */
.lista-file-menu a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  background: #cfad39;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0; /* niente angoli arrotondati */
  transition: background 0.3s ease; /* transizione */
}

/* Hover */
.lista-file-menu a:hover {
  background: #292929;
  color: #fff;
}

/* Icone dashicons */
.lista-file-menu i {
  font-size: 1rem;
  line-height: 1;
}


/* inizio cta mobile */

.cta-mobile-full {
    position: fixed;
    z-index: 100;
    bottom: 0;
    right: 0;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-end;
}

.container-cta-mobile {
    margin-bottom: 20px;
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    row-gap: 10px;    
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    width: fit-content;
}

.container-cta-preventivo-mobile {
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    will-change: bottom;
    transition: bottom .3s ease-out;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    background-color: #ffffffe0;
    padding: 0; /*1rem 1.5rem*/
    width: 100%;
}

.container-cta-mobile .mobile-telefono {
    background-color: #fff;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out; 
    border-color: #c2c2c2 !important;   
}

.container-cta-mobile .mobile-whatsapp {
    background-color: #5cb85c;
    border-color: #5cb85c !important;
}

.container-cta-mobile .mobile-telefono span {
    color: #000 !important;
}


.container-cta-mobile .pulsante-mobili {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    padding: 10px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    row-gap: 0;
    box-shadow: 0 5px 15px #0000004d;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    cursor: pointer;
    border: solid 1px;
}

a.mobile-telefono.fa.fa-whatsapp {
    background: transparent;
}

.mobile-telefono a {
    color: #222;
}

.mobile-whatsapp a {
    color: #fff;
}

.container-cta-mobile .pulsante-mobili img {
    width: 25px;
    vertical-align: top;

} 

.container-cta-mobile .pulsante-mobili a {
    font-size: 15px;

} 

.container-cta-mobile .mobile-whatsapp img {
    filter: brightness(0) invert(1) grayscale(100%);
}

.container-cta-mobile .pulsante-mobili span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3em;
    color: #fff;
}    

.mobile-email {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    background-color: #043f1c !important;
    width: 100%;
    padding: 10px;
    border-radius: 0;
    column-gap: 15px;
    /*font-family: "Montserrat","Arial",sans-serif;*/
    font-weight: 600 !important;
}

.mobile-email img {
    width: 25px;
    vertical-align: top;
    filter: brightness(0) invert(1) grayscale(100%);
}


.mobile-email span {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3em;
}

.nascondi-preve-mobile {
    position: fixed;
    z-index: 5;
    left: 0;
    bottom: -5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    box-shadow: 0 5px 12px #0003;
    background-color: #fff;
    transition: all .3s;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
}

.nascondi-tutte-cta-mobile {
    display: none;
}

.mostra-preve-mobile {
    bottom: 0;
    transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    position: fixed;
    z-index: 100;
}

.posizione-cta-mobile-alta {
    margin-bottom: 80px;
}

.container-popup-mobili {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: #fff;
    padding: 40px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    min-height: 60vh;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.overlay-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 85%);
    z-index: 999; /* Assicura che lo sfondo sia appena sotto il popup */
    display: none; /* Nasconde lo sfondo di default */
}

/* Stile per il bottone di chiusura */
.chiudi-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 2px 0px 2px 20px;
    border-width: 0px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.container-popup-mobili ul {
    padding: 0px;
    list-style: none;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    row-gap: 25px;
}

.container-popup-mobili ul li {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    row-gap: 3px;
}

.container-popup-mobili ul li span {
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.3em;
    letter-spacing: 0.15em;
}

.container-popup-mobili ul li img {
    filter: brightness(0) invert(1) grayscale(100%);
    width: 20px;
}

.container-popup-mobili ul li a {
    display: flex;
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 10px;
    color: #fff;
    font-size: 18px;
    line-height: 1.3em;
    letter-spacing: 0.05em;
    min-width: 265px;
    justify-content: center;
}

.container-telefoni-mobili ul li a {
    background-color: #196153;
}

.container-whatsapp-mobili ul li a {
    background-color: #5cb85c;
}

.lista-contatti a {
    text-decoration: none !important;
}

.contenitore-pulsanti-testo {
    display: flex;
    gap: 10px;
    flex-direction: row;
}


.contenitore-pulsanti-testo a {
    background-color: var(--e-global-color-accent);
    font-family: "Bricolage Grotesque", Sans-serif;
    font-size: 18px !important;
    font-weight: 500 !important;
    letter-spacing: -1px;
    color: #FFFFFF;
    border-style: none;
    border-radius: 10px 10px 10px 10px;
    padding: 10px 18px 10px 18px !important;
}

/* fine cta mobile */