@font-face { font-family: 'Carlito'; src: url(offerta-carlito-400.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Carlito'; src: url(offerta-carlito-700.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
/* Innovacert – modello di offerta «Innovacert» (0.21.0), ricalcato sull'offerta Word */
.isd-off.mod { --rosso: #7B230B; --tit: #A0331A; --ink: #1d1d1f; --mu: #5d6a66; font-family: Carlito, Calibri, "Segoe UI", Arial, sans-serif; color: var(--ink); font-size: 15.5px; line-height: 1.5; }
.isd-off.mod .m-pag { width: 100%; border-collapse: collapse; border: 0; margin: 0; }
.isd-off.mod .m-pag > thead > tr > td, .isd-off.mod .m-pag > tfoot > tr > td, .isd-off.mod .m-pag > tbody > tr > td { padding: 0; border: 0; background: none; }
.isd-off.mod .m-testa { text-align: center; margin-bottom: 18px; }
.isd-off.mod .m-barra { display: block; width: 100%; height: 12px; object-fit: cover; }
.isd-off.mod .m-marchio { height: 34px; margin: 14px auto 0; display: block; }
.isd-off.mod .m-piede { margin-top: 26px; text-align: center; font-size: 11px; color: #2c3e66; }
.isd-off.mod .m-piede p { margin: 6px 0 10px; line-height: 1.5; }
.isd-off.mod .m-piede b { color: #c2185b; }
.isd-off.mod .m-icona { height: 34px; display: block; margin: 0 auto; }
.isd-off.mod .m-piede-r { display: flex; justify-content: space-between; color: var(--mu); font-size: 10px; margin-top: -14px; padding: 0 6px; }
.isd-off.mod p { margin: 0 0 12px; text-align: justify; }
.isd-off.mod ul { margin: 0 0 14px 22px; padding: 0; }
.isd-off.mod li { margin: 0 0 5px; text-align: justify; }
.isd-off.mod .m-sec { margin: 0 0 26px; }
.isd-off.mod .m-sec.m-cont { margin-top: -6px; }
.isd-off.mod .m-h { font-size: 19px; font-weight: 400; color: var(--tit); margin: 30px 0 14px; font-family: inherit; }
.isd-off.mod .m-h4 { font-size: 15.5px; font-weight: 700; margin: 22px 0 10px; font-family: inherit; color: var(--ink); }
.isd-off.mod table.m-t { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 13px; line-height: 1.35; }
.isd-off.mod table.m-t th { background: var(--rosso); color: #fff; text-align: left; font-weight: 700; padding: 6px 8px; border: 1px solid #1d1d1f; text-transform: none; letter-spacing: normal; font-size: inherit; font-family: inherit; }
.isd-off.mod table.m-t td { padding: 5px 8px; border: 1px solid #1d1d1f; vertical-align: top; background: #fff; }
.isd-off.mod table.m-t .n { text-align: right; white-space: nowrap; }
.isd-off.mod table.m-t .c { width: 26px; }
.isd-off.mod table.m-t tr.tot td { font-weight: 700; font-size: inherit; background: #fff; color: var(--ink); }
.isd-off.mod table.m-corr td:first-child { width: 38%; }
/* copertina */
.isd-off.mod .m-cop { text-align: center; padding: 40px 0 30px; }
.isd-off.mod .m-cop-n { font-size: 14px; margin: 30px 0 26px; }
.isd-off.mod .m-cop-s { font-size: 20px; font-weight: 700; max-width: 560px; margin: 0 auto 26px; line-height: 1.35; }
.isd-off.mod .m-cop-norma { font-size: 36px; font-weight: 700; line-height: 1.25; margin: 0 0 60px; }
.isd-off.mod .m-cop-p { font-size: 12px; margin-bottom: 14px; }
.isd-off.mod .m-cop-c { font-size: 34px; font-weight: 700; margin-bottom: 14px; }
.isd-off.mod .m-cop-a { font-size: 12px; line-height: 1.8; }
.isd-off.mod .m-cop-d { font-size: 13px; margin-top: 60px; }
/* chiusura e firma */
.isd-off.mod .m-firma { margin-top: 22px; }
.isd-off.mod .m-firma img { display: block; max-height: 70px; max-width: 240px; margin: 0 0 4px; }
.isd-off.mod .m-firma b, .isd-off.mod .m-firma span { display: block; font-size: 13px; margin: 0 0 10px; }
.isd-off.mod .m-acc .acc { margin: 0 0 12px; }
/* sulla pagina web: foglio con margini comodi */
@media screen {
  .isd-off.mod { background: #fff; border: 1px solid #e6e0d3; border-radius: 14px; padding: 0 56px 10px; box-shadow: 0 8px 30px rgba(0, 0, 0, .05); overflow: hidden; }
  .isd-off.mod .m-testa { margin: 0 -56px 22px; }
  .isd-off.mod .m-testa .m-barra { border-radius: 14px 14px 0 0; }
  .isd-off.mod .m-piede { margin: 26px -56px 0; }
  .isd-off.mod .m-cop { border-bottom: 1px solid #eee7da; margin-bottom: 30px; }
}
@media (max-width: 700px) { .isd-off.mod { padding: 0 18px 10px; font-size: 15px; } .isd-off.mod .m-testa, .isd-off.mod .m-piede { margin-left: -18px; margin-right: -18px; } .isd-off.mod table.m-t { font-size: 12px; } .isd-off.mod .m-cop-norma { font-size: 28px; } .isd-off.mod .m-cop-c { font-size: 26px; } }
/* in stampa: copertina a pagina intera, sezioni con «nuova pagina» */
@media print {
  .isd-off.mod { font-size: 12pt; padding: 0; border: 0; box-shadow: none; }
  .isd-off.mod .m-pag > tbody > tr > td { padding: 0 16mm; }
  .isd-off.mod .m-piede p, .isd-off.mod .m-piede-r { padding: 0 16mm; }
  .isd-off.mod .m-cop { break-after: page; padding-top: 20mm; }
  .isd-off.mod .m-np { break-before: page; }
  .isd-off.mod table.m-t { font-size: 9.5pt; }
  .isd-off.mod table.m-breve { break-inside: avoid; }
  .isd-off.mod table.m-t thead { display: table-header-group; }
  .isd-off.mod table.m-t tr { break-inside: avoid; }
  .isd-off.mod .m-h { break-after: avoid; }
  .isd-off.mod .m-acc .frm, .isd-off.mod .noprint { display: none !important; }
}
.isd-off.mod .m-piede p { text-align: center; }
@media screen { .isd-off.mod .m-piede-r { padding: 0 20px; } }
@media print { .isd-off.mod .m-testa .m-barra { height: 5mm; } }
.isd-off.mod .m-alleg { margin: 0 0 26px; padding: 14px 16px; background: #fff7e0; border: 1px solid #f0d58a; border-radius: 8px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
@media print {
  .isd-off.mod .m-chiusa { break-inside: avoid; margin-bottom: 10px; }
  .isd-off.mod .m-firma { margin-top: 10px; }
  .isd-off.mod .m-firma img { max-height: 16mm; }
  .isd-off.mod .m-firma b, .isd-off.mod .m-firma span { margin: 0 0 3px; font-size: 10pt; }
  .isd-off.mod .m-acc { break-inside: avoid; margin: 8px 0 0; }
  .isd-off.mod .m-acc .m-h { font-size: 12pt; margin: 10px 0 6px; }
  .isd-off.mod .m-acc p { font-size: 10pt; margin: 0; }
}
@media print { .isd-off.mod .m-blocco { break-inside: avoid; } }
@media screen and (max-width: 700px) { .isd-off.mod .m-pag { table-layout: fixed; } .isd-off.mod table.m-t { display: block; overflow-x: auto; } .isd-off.mod .m-piede-r { padding: 0 10px; } }
@media screen { .isd-off.mod .m-pag { table-layout: fixed; } }
/* 0.21.3: la pagina «offerta-cliente» del sito ha un margine proprio per #isd-offerta .isd-off: qui vale quello del modello */
@media screen { #isd-offerta .isd-off.mod { padding: 0 56px 10px; } }
@media screen and (max-width: 700px) { #isd-offerta .isd-off.mod { padding: 0 18px 10px; } }
/* 0.21.4: piè di pagina in fondo a ogni pagina del PDF; sul web in fondo al foglio */
.isd-off.mod .m-piede-spazio { height: 0; }
@media screen { #isd-offerta .isd-off.mod { padding-bottom: 0; } .isd-off.mod .m-piede { padding-bottom: 18px; } }
@media print {
  .isd-off.mod .m-piede-spazio { height: 30mm; }
  .isd-off.mod .m-piede { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; background: #fff; }
  .isd-off.mod .m-piede p { margin: 4px 0 0; }
}

/* 0.22.1 – riquadro «In sintesi», pulsante della videochiamata, firma più compatta */
.isd-off.mod .m-sint { margin: 18px 0 22px; padding: 14px 18px 10px; background: #f8f3ee; border-left: 4px solid var(--rosso, #7B230B); border-radius: 0 8px 8px 0; break-inside: avoid; }
.isd-off.mod .m-sint-t { font-weight: 700; color: var(--tit, #A0331A); font-size: 15px; margin: 0 0 6px; }
.isd-off.mod .m-sint table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; }
.isd-off.mod .m-sint th { text-align: left; font-weight: 600; color: #5d6a66; width: 30%; padding: 5px 12px 5px 0; vertical-align: top; border: 0; background: none; }
.isd-off.mod .m-sint td { padding: 5px 0; vertical-align: top; border: 0; }
.isd-off.mod .m-sint tr + tr th, .isd-off.mod .m-sint tr + tr td { border-top: 1px solid #ebe1d6; }
.isd-off.mod .m-sint-n { font-size: 12.5px; color: #5d6a66; }
.isd-off.mod .m-sint-f { display: inline-block; white-space: nowrap; margin-right: 14px; }
.isd-off.mod .m-sint tr, .isd-off.mod .m-sint td, .isd-off.mod .m-sint th { background: transparent !important; text-transform: none; letter-spacing: 0; }
.isd-off.mod .m-sint th { font-size: 13.5px; }
.isd-off.mod p.m-sint-n { margin: 6px 0 0; }
.isd-off.mod .m-vc { display: inline-block; margin-left: 6px; padding: 3px 12px; border-radius: 999px; background: var(--rosso, #7B230B); color: #fff !important; text-decoration: none !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.isd-off.mod .m-vc:hover { background: var(--tit, #A0331A); }
.isd-off.mod .m-firma b, .isd-off.mod .m-firma span { margin: 0 0 2px; line-height: 1.35; }
.isd-off.mod .m-firma img { margin-bottom: 2px; }
@media print {
  .isd-off.mod .m-sint { margin: 4mm 0 5mm; padding: 3mm 4mm 2mm; }
  .isd-off.mod .m-sint table, .isd-off.mod .m-sint-t { font-size: 10pt; }
  .isd-off.mod .m-sint-n { font-size: 8.5pt; }
  .isd-off.mod .m-vc, .isd-off.mod .noprint { display: none !important; }
}
/* 0.22.2 – margini: il riquadro «In sintesi» non prende i bordi delle tabelle del sito; piè di pagina allineato al testo */
#isd-offerta .isd-off.mod .m-sint, .isd-off.mod .m-sint { padding: 16px 22px 12px 20px; }
#isd-offerta .isd-off.mod .m-sint table, .isd-off.mod .m-sint table { border: 0 !important; background: transparent !important; margin: 0 !important; width: 100%; table-layout: auto; }
#isd-offerta .isd-off.mod .m-sint th, #isd-offerta .isd-off.mod .m-sint td { border: 0 !important; background: transparent !important; padding: 7px 0 !important; }
#isd-offerta .isd-off.mod .m-sint th { width: 150px; padding-right: 18px !important; white-space: nowrap; }
#isd-offerta .isd-off.mod .m-sint tr + tr th, #isd-offerta .isd-off.mod .m-sint tr + tr td { border-top: 1px solid #e8ddd1 !important; }
#isd-offerta .isd-off.mod .m-sint-t { margin-bottom: 4px; }
@media screen {
  #isd-offerta .isd-off.mod .m-piede { margin: 34px -56px 0; padding: 0 56px; }
  #isd-offerta .isd-off.mod .m-piede-r { padding: 0; }
}
@media screen and (max-width: 700px) {
  #isd-offerta .isd-off.mod .m-piede { margin: 26px -18px 0; padding: 0 18px; }
  #isd-offerta .isd-off.mod .m-sint th { width: auto; white-space: normal; display: block; padding: 7px 0 0 !important; }
  #isd-offerta .isd-off.mod .m-sint td { display: block; padding: 2px 0 7px !important; border-top: 0 !important; }
  #isd-offerta .isd-off.mod .m-sint tr { display: block; }
  #isd-offerta .isd-off.mod .m-sint tr + tr { border-top: 1px solid #e8ddd1; }
}
@media print {
  .isd-off.mod .m-sint th { width: 34mm; }
}
/* 0.22.3 – PDF: il titolo «Le vostre richieste» resta con la sua tabella */
@media print {
  .isd-off.mod .m-keep { break-inside: avoid; }
  .isd-off.mod .m-sint { break-inside: avoid; }
}
/* 0.22.3 – tabella delle attività divisa in due parti che sembrano una sola */
.isd-off.mod table.m-att { table-layout: fixed; width: 100%; }
.isd-off.mod table.m-att1 { margin-bottom: 0 !important; }
.isd-off.mod table.m-att2 { margin-top: 0 !important; }
.isd-off.mod table.m-att2 tr:first-child td { border-top: 0 !important; }
@media print { .isd-off.mod .m-blocco.m-lunga { break-inside: auto !important; } }
/* 0.22.4 – sezione con le sue continuazioni insieme; sottotitoli in grassetto con il testo; firma non da sola */
@media print {
  .isd-off.mod .m-grp { break-inside: avoid; }
  .isd-off.mod .m-grp .m-blocco.m-lunga { break-inside: avoid !important; }
  .isd-off.mod p.m-sub { break-after: avoid; }
  .isd-off.mod .m-chiusa { break-before: avoid; }
}
