/* GANTRY5 DEVELOPMENT MODE ENABLED.
 *
 * WARNING: This file is automatically generated by Gantry5. Any modifications to this file will be lost!
 *
 * For more information on modifying CSS, please read:
 *
 * http://docs.gantry.org/gantry5/configure/styles
 * http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet
 */

@charset "UTF-8";
/* ==== Box quadrati con angoli arrotondati ==== */
#g-header .jl-panel.moduletable {
  width: 350px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #7092be;
  padding: 0.5rem;
  box-sizing: border-box;
  margin-bottom: 20px;
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 25px;
  /* angoli arrotondati */
}
/* ==== Regole per smartphone / schermi piccoli ==== */
@media (max-width: 639px) {
  #g-header .jl-panel.moduletable {
    width: 320px;
    border-radius: 25px;
    /* angoli arrotondati anche su smartphone */
  }
  #g-header .g-content {
    margin: 0rem !important;
    padding: 0rem !important;
  }
}
/* ==== Testo interno dei box ==== */
#g-header .jl-panel.moduletable p, #g-header .jl-panel.moduletable a {
  color: #4f4d4d;
  /* colore testo */
  font-weight: bold;
  /* grassetto */
  font-size: 1.9rem;
  /* leggermente più grande */
  text-decoration: none;
  /* rimuove sottolineature */
  margin: 0;
}
/* Mantieni centratura interna dei link */
#g-header .jl-panel.moduletable a {
  display: inline-block;
}
/* ==== Posizionamento dei box ==== */
#g-header .box_2, #g-header .box_4 {
  margin-left: auto;
  margin-right: 0;
}
#g-header .box_3, #g-header .box_5 {
  margin-left: 0;
  margin-right: auto;
}
#g-header .box_1, #g-header .box_6, #g-header .box_2_small, #g-header .box_3_small, #g-header .box_4_small, #g-header .box_5_small {
  margin-left: auto;
  margin-right: auto;
}
/* Arrotonda gli angoli del bottone "contatti" */
a.jl-border-radious {
  border-radius: 25px;
  /* puoi regolare il valore: 10px = più leggero, 30px = più tondo */
  overflow: hidden;
  /* assicura che il contenuto rispetti gli angoli */
  display: inline-block;
}
/* Opzionale: effetto hover più morbido */
a.jl-border-radious:hover {
  transform: scale(1.03);
  transition: all 0.2s ease-in-out;
}
/* Stile base: interlinea e giustificazione per tutti i testi */
#g-container-main p, ul, ol, li {
  line-height: 1.8;
  /* aumenta l'interlinea */
  text-align: justify;
  /* giustifica il testo */
}
/* Rientro per elenchi annidati */
#g-container-main ul ul, ol ol, ul ol, ol ul {
  margin-left: 1.5em;
  /* rientro verso destra */
  margin-top: 0.3em;
  /* leggera separazione verticale */
  margin-bottom: 0.3em;
  /* opzionale: spazio sotto */
  list-style-type: circle;
  /* cambia il tipo di pallino per differenziarlo */
}
/* ==== pagina FRACTIONAL MANAGER ==== */
.fm-container h1 {
  text-align: center;
  margin: 0 0 0.5rem;
}
.fm-container p.intro {
  margin: 0 0 1.25rem;
  text-align: justify;
}
.fm-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.fm-cell {
  background-color: #7092be;
  padding: 1rem;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
.fm-cell h3 {
  text-align: center;
  margin: 0 0 0.5rem;
  color: #4f4d4d;
}
.fm-cell p {
  margin: 0;
  text-align: justify;
  color: #4f4d4d;
}
/* Layout desktop */
.fm-cell.cell-1, .fm-cell.cell-2, .fm-cell.cell-3 {
  grid-column: span 2;
}
.fm-cell.cell-4 {
  grid-column: 1 / span 3;
}
.fm-cell.cell-5 {
  grid-column: 4 / span 3;
}
/* ✅ VERSIONE SMARTPHONE / TABLET */
@media (max-width: 1024px) {
  .fm-grid {
    display: flex !important;
    flex-direction: column !important;
  }
  .fm-cell {
    width: 100% !important;
    height: auto !important;
  }
}
/*versione due colonne*/
/* forza 2 colonne (50% + 50%) e va in 1 colonna su mobile */
.fm-grid.two-cols, .g-content .fm-grid.two-cols {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 2rem !important;
  width: 100% !important;
}
@media (max-width: 768px) {
  .fm-grid.two-cols, .g-content .fm-grid.two-cols {
    grid-template-columns: 1fr !important;
  }
}
/* (opzionale) stile base del box */
.fm-grid.two-cols .fm-cell {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.fm-grid.two-cols .fm-cell h3 {
  text-transform: uppercase;
  color: #4f4d4d;
  margin-bottom: 1rem;
}
/*# sourceMappingURL=custom_55.css.map */