@charset "UTF-8";
/* CSS Document */


#sp-main-body {
  padding: 2% 0 !important;
}

/* ============================================ */
/* HERO CONSULENZA - home page immagine                 */
/* ============================================ */

.hero-overlay {
  position: relative;
  width: 100%;
  min-height: 600px; /* Altezza minima desktop */
  display: flex;
  align-items: flex-start; /* Allinea il contenuto in alto */
  overflow: hidden;
}

/* Immagine di sfondo full width/height */
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 1;
}

/* Contenitore del testo posizionato sopra */
.hero-content-container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Box scuro semi-trasparente per leggibilità */
.hero-text-box {
  background-color: rgba(17, 24, 39, 0.42);
	padding-top: 40px;
	padding-bottom: 60px;
	padding-left: 50px;
	padding-right: 50px;
  border-radius: 8px;
  -webkit-border-radius: 8px;  /* Per vecchi Safari, Chrome e Android Browser */
  -moz-border-radius: 8px;     /* Per vecchie versioni di Firefox */
  /*backdrop-filter: blur(5px);  Effetto vetro opzionale */
  max-width: 650px;
}

/* Tipografia */
.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: #c8956c;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #ffffff;
  margin-bottom: 36px;
}

/* Bottoni */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
}

.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #c8956c;
  color: #ffffff;
  border: 2px solid #c8956c;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
 /* background-color: transparent;*/
	background-color: rgba(255, 255, 255, 0.8);
  color: #000000;
}

.btn-outline-custom {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 2);
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */
@media (max-width: 991.98px) {
  .hero-overlay {
    min-height: auto;
    padding-bottom: 40px;
  }

  .hero-content-container {
    padding-top: 40px;
    padding-bottom: 0;
  }

  .hero-text-box {
    padding: 30px 25px;
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* Immagine sotto diventa quadrata 200px */
  .hero-bg-img {
   /*position: relative;
   height: 200px;
    width: 200px;
    max-width: 200px;*/
    margin: 0px auto 0;
    border-radius: 0px;
    object-position: left center; 
  }
}

@media (max-width: 775.98px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    padding: 12px 22px;
    font-size: 0.75rem;
    width: 100%;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .hero-bg-img {
   /* height: 180px;*/
  /*  width: 200px;/*
   /* max-width: 180px;*/
	  object-position: center center;
  }
	
	/* Box scuro semi-trasparente per leggibilità */
.hero-text-box {
  background-color: rgba(17, 24, 39, 0.0);
  padding: 0px 10px;
 /* border-radius: 8px;*/
  backdrop-filter: blur(5px);  /*Effetto vetro opzionale */
  max-width: 650px;
}
}
/* ============================================ */
/* fine HERO CONSULENZA - home page immagine                 */
/* ============================================ */


/* ============================================ */
/* la card che va in  - home page                */
/* ============================================ */

/* Stile Contenitore Card */
.card-fiscale {
    background-color: #f4f4f4; /* Grigio chiaro come da immagine */
    border-radius: 20px;       /* Angoli arrotondati */
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;              /* Per avere tutte le card della stessa altezza */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Effetto hover sulla card intera (opzionale, per eleganza) */
.card-fiscale:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

/* Icona */
.card-icon {
    font-size: 50px;
    color: #333;
    margin-bottom: 20px;
}

/* Titolo */
.card-title {
    color: #9e2a2b; /* Rosso scuro */
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Descrizione */
.card-desc {
    color: #444;
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 30px;
    flex-grow: 1; /* Spinge il bottone verso il basso */
}

/* Bottone */
.card-btn {
    display: inline-block;
    background-color: #9e2a2b; /* Rosso scuro */
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 35px;
    border-radius: 50px;       /* Forma a pillola */
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #9e2a2b;
}

/* Rollover Bottone */
.card-btn:hover {
    background-color: transparent;
    color: #9e2a2b !important;
    border-color: #9e2a2b;
}

/* Responsive: Su mobile la card occupa tutta la larghezza grazie alle classi Helix sppb-col-12 */
@media (max-width: 767px) {
    .card-fiscale {
        margin-bottom: 20px; /* Spazio tra le card quando sono in verticale */
        padding: 30px 20px;
    }
}

/* ============================================ */
/* fine della card che va in  - home page                */
/* ============================================ */


/* ============================================ */
/* modulo jdownload  - home page                */
/* ============================================ */

/* Container modulo */
.moduletable.mod-jdownloads {
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* Riga con sfondo grigio */
.jd_module_link {
    display: flex !important;
    align-items: center !important;
    background-color: #f8f9fa !important;
    border-bottom: 1px solid #e9ecef !important;
    padding: 12px 20px !important;
    margin: 0 0 8px 0 !important;
    flex-wrap: nowrap !important;
}

.jd_module_link:hover {
    background-color: #eef1f5 !important;
}

/* Icona file */
.jd_module_pic {
    width: 32px;
    height: 32px;
    margin-right: 15px !important;
    flex-shrink: 0;
}

/* Titolo file */
.jd-file-title {
    color: #212529 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    flex-grow: 1 !important;
    margin-right: 16px;
}

/* Bottone Scarica Bootstrap - Testo sempre bianco */
.jd-download-btn,
.jd-download-btn:hover,
.jd-download-btn:active,
.jd-download-btn:focus,
.jd-download-btn:visited {
    color: #ffffff !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* Nasconde elementi non necessari */
.jd_module_hits_sameline, 
.jd_module_date_sameline,
.jd_module_hits_newline, 
.jd_module_date_newline,
.jd_module_thumbnail {
    display: none !important;
}

/* ============================================ */
/* fine modulo jdownload  - home page                */
/* ============================================ */

.linea_chiusura {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 1%;
}



/*============================================
   LAYOUT VERTICALE: DATA SOPRA - TITOLO SOTTO
   Con bordo e angoli tondi sul modulo
   Per mod_latestnewsplusdate (codice originale)
   ============================================ */

/* 1. Contenitore del modulo con bordo e angoli tondi */
ul.lnpd_item_wrapper {
    list-style: none !important;
    padding: 15px 20px !important; /* Padding interno per respiro dal bordo */
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    border: 3px solid #e0e0e0 !important; /* Bordo esterno */
    border-radius: 12px !important; /* Angoli tondi */
    background-color: #ffffff !important; /* Sfondo bianco per contrasto */
}

/* 2. Stile del singolo elemento (li) */
ul.lnpd_item_wrapper li {
    padding: 2% 0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2% !important;
    margin: 0 !important;
}

/* Ultimo articolo senza border-bottom (per evitare doppio bordo col contenitore) */
ul.lnpd_item_wrapper li:last-child {
    border-bottom: none !important;
    padding-bottom: 2% !important;
}

/* Nascondi elementi indesiderati se presenti (introtext, thumb) */
ul.lnpd_item_wrapper .lnpd_item_introtext,
ul.lnpd_item_wrapper .lnpd_thumb_before_title,
ul.lnpd_item_wrapper .lnpd_thumb_after_title {
    display: none !important;
}

/* 3. DATA IN ALTO */
.lnpd_item_date {
    display: block !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #6c757d !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 1 !important;
}

/* Nascondi icona calendario e il <br> nella data */
.lnpd_item_date i, 
.lnpd_item_date span.icon-calendar,
.lnpd_item_date .lnd_introdate br {
    display: none !important;
}

/* 4. TITOLO SOTTO LA DATA */
.lnpd_item_title {
    display: block !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    order: 2 !important;
}

.lnpd_item_title a {
    color: #212529 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.lnpd_item_title a:hover {
    color: #0d6efd !important;
}

/* 5. LINK "LEGGI DI PIÙ" */
.lnpd-readmore-link,
.lnpd_readmore_link, 
.readmore a {
    font-size: 13px !important;
    color: #0d6efd !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 0 !important;
    order: 3 !important;
    transition: gap 0.3s ease !important;
}

/* Freccia animata per .lnpd-readmore-link */
.lnpd-readmore-link .arrow {
    display: inline-block !important;
    transition: transform 0.3s ease !important;
}

.lnpd-readmore-link:hover .arrow {
    transform: translateX(4px) !important;
}

/* Freccia per gli altri selettori */
.lnpd_readmore_link::after,
.readmore a::after {
    content: '→' !important;
    transition: transform 0.3s ease !important;
}

.lnpd_readmore_link:hover::after,
.readmore a:hover::after {
    transform: translateX(4px) !important;
}

/* 6. RESPONSIVE MOBILE */
@media (max-width: 767px) {
    ul.lnpd_item_wrapper {
        padding: 12px 16px !important;
        border-radius: 10px !important;
    }
    
    ul.lnpd_item_wrapper li {
        padding: 20px 0 !important;
        gap: 6px !important;
    }
    
    .lnpd_item_date {
        font-size: 11px !important;
    }
    
    .lnpd_item_title {
        font-size: 15px !important;
    }
}


/* ============================================
   modulo ck slider - swiper-caption
   ============================================ */
/* ============================================
   CONTENITORE PRINCIPALE - .swiper-caption
   ============================================ */
.swiper-caption {
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;           /* Niente esce dal contenitore */
    padding: 30px 40px;         /* Spaziatura interna */
}

/* ============================================
   TITOLO - .swiper-title
   ============================================ */
.swiper-title {
   /* font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;*/
    font-size: 1.5rem !important;
    font-weight: 800;
    color: #ffffff;
    line-height: normal !important;
    margin: 0 0 3% 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
	padding-top: 0% !important;
	padding-bottom: 0% !important;
    
    /* Evita che il testo esca */
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* ============================================
   DESCRIZIONE - .swiper-desc
   ============================================ */
.swiper-desc {
    /*font-family: 'Open Sans', 'Segoe UI', Arial, sans-serif;*/
    font-size: 1rem !important;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.6;
    margin: 0 0 3% 0;
    
    /* Evita che il testo esca */
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;        /* Forza l'a capo */
}

/* ============================================
   "LEGGI TUTTO" - .swiper-desc .read-more
   ============================================ */
.swiper-desc .read-more {
    position: absolute;         /* 👈 Si posiziona rispetto al padre */
    bottom: 10%;               /* 👈 Distanza fissa dal fondo */
    left: 20px;
    display: inline-block;
    font-size: 90%;
    font-weight: 700;
    color: #ffffff;
    text-decoration:none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.swiper-desc .read-more:hover {
    color: #ffd700;
    text-decoration: none;
    transform: translateX(5px); /* Piccolo effetto movimento */
}

/* Se "LEGGI TUTTO" è un link <a> */
.swiper-desc .read-more a {
    color: inherit;
    text-decoration: inherit;
}

.swiper-desc .read-more a:hover {
    color: #ffd700;
    text-decoration: none;
}

/* ============================================
   RESPONSIVE - Tablet
   ============================================ */
@media (max-width: 1024px) {
    .swiper-caption {
        padding: 25px 30px;
    }
    
    .swiper-title {
        font-size: 1.4rem !important;
        margin-bottom: 18px;
    }
    
    .swiper-desc {
        font-size: 1rem !important;
    }
    
    .swiper-desc .read-more {
        font-size: 90% !important;
    }
	
	.swiper-desc .read-more {
    position: absolute;         /* 👈 Si posiziona rispetto al padre */
    bottom: 10%;               /* 👈 Distanza fissa dal fondo */
    left: 20px;
    display: inline-block;
    font-size: 90%;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 768px) {
    .swiper-caption {
        padding-top: 0px;
    }
    
    .swiper-title {
        font-size: 0.7rem !important;
      padding-top: 0% !important;
        line-height: 1;
    }
    
    .swiper-desc {
        font-size: 0.4rem !important;
        line-height: 1;
		 margin-top: 0%;

    }
    
    .swiper-desc .read-more {
        font-size: 0.3rem !important;
        margin-top: 70%;
	
    }
	
	#sliderck113 .swiper-caption {
  width: 100% !important;
}
}

/* ============================================
   RESPONSIVE - Mobile piccolo
   ============================================ */
@media (max-width: 480px) {
    .swiper-caption {
        padding: 15px;
    }
    
    .swiper-title {
        font-size: 22px;
    }
    
    .swiper-desc {
        font-size: 14px;
    }
}

/* ============================================
   fine modulo ck slider - swiper-caption
   ============================================ */


/* ============================================
   inizio jdownload
   ============================================ */
.jd_footer {
        display:none !important;
    }

h5.card-title {
        font-size: 100% !important;
    }

/* Nasconde la casella di ricerca di JDownloads */
.jd-search-form {
    display: none !important;
}

/* Nasconde i bottoni SOLO se sono dentro JDownloads, lasciando intatto il resto del sito */
.jd-item-page .container-fluid.mb-2 {
    display: none !important;
}
/* ============================================
   fine jdownload
   ============================================ */

/* ============================================
  nascondere ho dimenticato login e password
   ============================================ */
/* Nasconde "Hai dimenticato la password?" e "Hai dimenticato il tuo nome utente?" */
.com-users-login__reset,
.com-users-login__remind {
    display: none !important;
}
/* ============================================
  fine nascondere ho dimenticato login e password
   ============================================ */

/* ============================================
  modulo Mx Awesome News
   ============================================ */
.img-slice-wrap .lower-box h5 {
  text-transform: uppercase;
  font-size: 21px !important; 
  color: #222429;
  margin-bottom: 5% !important;
  line-height: 1.2 !important;
}

.img-slice-wrap-two .lower-box {
  position: relative;
  padding: 3% 0px 0px !important;
	line-height: 1.1em !important;
}

.img-slice-wrap-two .lower-box .text {
letter-spacing: 0em !important;
	line-height: 1.2em !important;
}


@media (max-width: 767px) {
	
   .img-slice-wrap .lower-box h5 {
   text-transform: uppercase;
  font-size: 15px !important; 
  color: #222429;
  margin-bottom: 25px;
  line-height: 1; }
	   
 .img-slice-wrap-two .lower-box .text {
	  font-size: 70% !important; 
  position: relative;
  top: -5px !important;
  display: block;
  font-weight: 300;
  line-height: 1.2em;
  letter-spacing: 0em;
}
	}
   

/* ============================================
  fine modulo Mx Awesome News
   ============================================ */


/* ============================================
  altre modifiche utili modulo Mx Awesome News
   ============================================ */
/* 1. La riga diventa un contenitore Flex che allunga tutti i figli all'altezza del più alto */
#coolnews110.row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important; /* FONDAMENTALE: rende tutte le card alte uguali */
}

/* 2. Ogni card si espande verticalmente per riempire l'altezza della riga */
#coolnews110 .img-slice-wrap,
#coolnews110 .img-slice-wrap-two {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important; /* Occupa tutto lo spazio verticale disponibile */
}

/* 3. I contenitori interni seguono l'espansione */
#coolnews110 .fix-padd,
#coolnews110 .inner-box {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

/* 4. Il lower-box si allunga e prepara lo spazio di sicurezza per il bottone */
#coolnews110 .lower-box {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    position: relative !important;
    padding-bottom: 20% !important; /* Spazio per il bottone (50px + 20px margine) */
}

/* 5. Bottone inchiodato in fondo, senza influenzare il flusso */
#coolnews110 .link-box {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin-top: 0 !important;
}

/* ============================================
  fine altre modifiche utili modulo Mx Awesome News
   ============================================ */