/* Onest servito dalla piattaforma, niente CDN: due file variabili (400-900),
   latino e latino esteso, che il browser scarica solo se servono. */
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin-ext.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Ripiego mentre Onest arriva: size-adjust porta la larghezza media del
   testo di Arial/Helvetica a quella di Onest, peso per peso, così allo
   scambio le righe non saltano. */
@font-face {
  font-family: "onest-ripiego";
  src: local("Helvetica Neue"), local("Arial"), local("Roboto");
  font-weight: 400;
  size-adjust: 102.4%;
}
@font-face {
  font-family: "onest-ripiego";
  src: local("Helvetica Neue"), local("Arial"), local("Roboto");
  font-weight: 500;
  size-adjust: 103.6%;
}
@font-face {
  font-family: "onest-ripiego";
  src: local("Helvetica Neue Bold"), local("Arial Bold"), local("Roboto-Bold");
  font-weight: 600;
  size-adjust: 99.4%;
}
@font-face {
  font-family: "onest-ripiego";
  src: local("Helvetica Neue Bold"), local("Arial Bold"), local("Roboto-Bold");
  font-weight: 700;
  size-adjust: 100.5%;   /* il sito usa 900 a 102.7%: qui i titoli sono a 700 */
}

:root {
  /* ---------- Marca ---------- */
  --accent: #3c194b;          /* prugna: azione primaria, link, bordi attivi - bianco sopra 14,66:1 */
  --accent-hover: #4e275e;    /* hover delle azioni */
  --accent-2: #492757;        /* prugna chiara: barre piene, intestazioni tabella, titoli */
  /* Errore. Due soli rossi, gli stessi del sito vetrina (tokens.css --red-500
     e --red-100, qui convertiti da oklch a sRGB). Il precedente #cc5f68 stava
     a 3,89:1 e falliva AA in entrambi i versi in cui il foglio lo usava:
     come testo su bianco e come fondo pieno con testo bianco sopra.
     --err regge tutti e due i ruoli, quindi non serve un terzo rosso per i
     bottoni distruttivi. Il pulsante "meno" dei contatori resta fuori: è un
     decremento, non un errore. */
  --err: #9e1618;             /* testo, bordi, fondi pieni, badge - 8,13:1 su bianco */
  --err-bg: #fceae7;          /* fondo tinto degli avvisi - 7,0:1 con --err sopra */

  /* Successo. Stessa coppia e stessa logica di --err, presi da design-system.html
     (--green-500 e --green-100) e convertiti da oklch a sRGB. Sostituiscono la
     famiglia Bootstrap che era entrata nel foglio in ordine sparso.
     Il bordo verde dei campi validi resta per ora il suo #00b300 storico,
     scritto dal JS delle view: sta a 2,82:1 e andrebbe rivisto a parte. */
  --ok: #03642b;              /* testo, bordi, fondi pieni - 7,34:1 su bianco */
  --ok-bg: #e1f5e4;           /* fondo tinto - 6,42:1 con --ok sopra */

  /* ---------- Testo ---------- */
  --ink: #39044a;             /* testo forte */
  --ink-2: #3d2448;           /* corpo: è il colore di default del body */
  --ink-3: #604d69;           /* note e didascalie */
  --ink-4: #7b6b82;           /* attenuato */

  /* ---------- Fondi ---------- */
  --paper: #fff;
  --bg: #f9f6fa;              /* fondo pagina: prima era il turchese pieno */
  --signal: #b0e562;          /* acido: CTA principale e stati attivi - inchiostro prugna sopra 11,43:1 */
  --on-signal: #2d1039;

  /* Gli stessi colori in terne numeriche, per poterli usare dentro rgba() con
     un'opacità: zebratura delle griglie, velature al passaggio del mouse, aloni
     di focus. Erano tutti punti in cui i vecchi turchese e blu erano sopravvissuti
     in notazione rgb(), fuori dalla portata della sostituzione sugli esadecimali. */
  --accent-rgb: 60, 25, 75;
  --accent-2-rgb: 73, 39, 87;
  --ok-rgb: 3, 100, 43;
  --err-rgb: 158, 22, 24;
  --tint-accent: #ebe0f0;     /* velatura prugna: fondo degli h1, box richiesta */
  --tint-accent-2: #f0e7f5;   /* velatura fredda: box privacy, campi otp, seleziona */

  /* ---------- Righe ---------- */
  --line: #d8d2db;
  --line-2: #d0cad3;   /* neutro violato: stessa luminosità di #ccc, hue 315 */
  --line-3: #f2ecf5;   /* neutro violato: stessa luminosità di #eee, hue 315 */
  --line-field: #7b6b82;      /* bordo a riposo dei campi form: è --line-strong del sito.
                                 L'azzurro precedente #a9d8ff stava a 1,5:1 sul bianco,
                                 cioè il campo era quasi senza bordo visibile. */

  /* ---------- Marche dei clienti ----------
     NON sono tematizzabili: sono i colori dei PSP e dei white-label.
     Vanno lasciati fuori da qualunque ricolorazione della piattaforma. */
  --psp-novo: #212864;
  --psp-sandoz: #94c241;
  --psp-abbott: #e95526;
  --psp-ambimed: #f08228;
  --psp-ambimed-2: #ee802a;   /* secondo arancio Ambimed, storicamente distinto */

  /* Onest, unica famiglia ma titoli a 700 (non 900 come nel sito vetrina): 600 UI, 400 corpo */
  --font-text: "Onest", "onest-ripiego", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Onest", "onest-ripiego", "Helvetica Neue", Arial, sans-serif;

  /* Scala tipografica. Gli 8 gradini sono ricavati dalle dimensioni che il
     gestionale usa davvero, non copiati dal sito vetrina: lì i display
     arrivano a 2.6rem, qui sarebbero fuori scala per un'interfaccia densa.
     In rem, quindi ancorati alla radice e non componibili col genitore.
     Restano fuori scala 70 dichiarazioni (13, 15, 17, 21, 24, 26px...):
     ognuna è un accorpamento visibile, da decidere uno per uno. */
  --text-xs: 0.75rem;    /* 12px - griglie admin dense, badge */
  --text-s: 0.875rem;    /* 14px - UI densa, celle, voci di menu */
  --text-m: 1rem;        /* 16px - corpo */
  --text-l: 1.125rem;    /* 18px - testo forte, voci in evidenza */
  --text-xl: 1.25rem;    /* 20px - h4, titoletti */
  --text-2xl: 1.4rem;    /* 22.4px - h3 */
  --text-3xl: 1.65rem;   /* 26.4px - h2 */
  --text-4xl: 2rem;      /* 32px - h1 */

  /* ---------- Materia ---------- */
  /* Ombre. Con il fondo pagina quasi bianco una card bianca non stacca per
     contrasto: fra --paper e --bg corrono 1,07:1, e nemmeno scurendo il fondo
     si arriva a 1,2:1. Nel design system infatti le superfici si definiscono
     con bordo più ombra, non con lo stacco di fondo. Colore preso da
     tokens.css, oklch(0.22 0.05 315) convertito in sRGB. */
  /* Motion. Il sistema chiede micro-transizioni fra 150 e 250ms in ease-out,
     con una sola andatura per tutta l'interfaccia. Qui ce n'erano cinque diverse
     scritte a mano, da 0.2s ease-in-out a un cubic-bezier custom. */
  --pace: 180ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --shadow-1: 0 4px 12px rgba(35, 19, 42, 0.08);
  --shadow-2: 0 12px 26px rgba(35, 19, 42, 0.12);

  --radius-s: 6px;            /* azioni: bottoni, campi, controlli piccoli */
  --radius-m: 10px;           /* superfici: card, contenitori, modali */

  /* ---------- Spazio: griglia 8pt con mezzo passo da 4 ----------
     Vocabolario non ancora applicato: le spaziature del foglio sono
     tuttora letterali (e per lo più multipli di 5). Serve a dare una
     scala a cui convergere quando si rifanno i singoli componenti. */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

   --select-arrow: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%235a525e%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
}
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}audio:not([controls]){display:none}button{overflow:visible;-webkit-appearance:button}details{display:block}html{-ms-overflow-style:-ms-autohiding-scrollbar;overflow-y:scroll;-webkit-text-size-adjust:100%}input{-webkit-border-radius:0}input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button}input[type="number"]{width:auto}input[type="search"]{-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}main{display:block}pre{overflow:auto}progress{display:inline-block}small{font-size:85%}summary{display:block}svg:not(:root){overflow:hidden}template{display:none}textarea{overflow:auto}[hidden]{display:none}*,:before,:after{box-sizing:inherit;box-sizing:border-box}*{font-size:inherit;line-height:inherit}:before,:after{text-decoration:inherit;vertical-align:inherit}*,:before,:after{border-style:solid;border-width:0}*{background-repeat:no-repeat;margin:0;padding:0}:root{box-sizing:border-box;color:var(--ink);cursor:default;text-rendering:optimizeLegibility}a{text-decoration:none}audio,canvas,iframe,img,svg,video{vertical-align:middle}button,input,select,textarea{background-color:transparent;color:inherit;font-style:inherit;font-weight:inherit}button,[type="button"],[type="date"],[type="datetime"],[type="datetime-local"],[type="email"],[type="month"],[type="number"],[type="password"],[type="reset"],[type="search"],[type="submit"],[type="tel"],[type="text"],[type="time"],[type="url"],[type="week"],select,textarea{min-height:1.5em}code,kbd,pre,samp{font-family:monospace,monospace}nav ol,nav ul{list-style:none}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}table{border-collapse:collapse;border-spacing:0}textarea{resize:vertical}::-moz-selection{background-color:var(--accent-2);color:var(--paper);text-shadow:none}::selection{background-color:var(--accent-2);color:var(--paper);text-shadow:none}[aria-busy="true"]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled]{cursor:default}[hidden][aria-hidden="false"]{clip:rect(0 0 0 0);display:inherit;position:absolute}[hidden][aria-hidden="false"]:focus{clip:auto}
body {
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 100%;
    color: var(--ink-2);
    /* Il reset qui sopra impone line-height:1, che è una scelta da azzeramento,
       non da lettura: obbliga ogni componente a ridichiararsi l'interlinea a mano
       (è il motivo per cui p la aveva inchiodata a 22px). 1.5 è il default sensato
       per il testo; il sito vetrina sta a 1.55. Senza unità apposta, così scala
       col font-size invece di restare fisso. Le 60 dichiarazioni esplicite già
       presenti nel foglio continuano a vincere su questa. */
    line-height: 1.5;
    background: var(--bg);
    min-height: 100vh;
}
body.admin.login {
    padding-top: 50px;
}
.registra--medico {
    display: block;
    margin-top: 20px;
    text-align: center;
    font-size: var(--text-s);
}
@media screen and (max-width: 992px) {
  body {
      font-size: var(--text-m);
  }
}
#content {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}
.searchpharmacyform__modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(var(--accent-rgb), 0.72);
}
.searchpharmacyform__modalbody {
    background-color: #fefefe;
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    padding: 50px 30px;
    width: 70%;
    border-radius: var(--radius-m);
    box-shadow: 0 10px 50px rgb(0 0 0 / 20%), 0 8px 20px rgb(0 0 0 / 16%);
}
.searchpharmacyform__modalbody p {
    font-size: var(--text-l);
    text-align: center;
}
.searchpharmacyform__modalbody > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.searchpharmacyform__modalbody > div p {
    margin: 12px auto;
    font-size: var(--text-m)
}
a {
    color: var(--accent);
}
a:hover {
    color: var(--accent-2);
}
p {
  margin-bottom: 1.5em;
  font-size: var(--text-m);
  line-height: 22px;
  font-weight: normal;
  /* Evita le righe finali con una parola sola. Non cambia la scatola:
     agisce solo su dove cadono gli a-capo. */
  text-wrap: pretty;
}
p.small {
    font-size: var(--text-xs);
    line-height: normal;
    color: var(--ink-4);
}
.row textarea {
    color: black;
    font-weight: normal;
}
.form-group select  {
    color: black;
    font-weight: normal;
}
.form {
    margin: 0 auto;
    padding: 0 10px;
    padding-bottom: 50px
}
form select, form select.form-control {
    color: var(--ink-2);
    font-weight: normal;
    padding: 12px 30px 12px 15px;
    background-image: var(--select-arrow);
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
    width: auto;
}
select.form-control.prefix {
    height: 41px
}
select#Customer_prefix {
    width: 150px;
}

#payment-form {
    margin-top: 25px
}
label  {
    color: black;
    font-weight: normal;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: normal;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 {
    font-size: var(--text-4xl);
    color: var(--ink);
    display: block;
    font-weight: 700;
}
h1.full {
    flex: 1 1 100%;
}
h2 {
  font-size: var(--text-3xl);
}
h3 {
  font-size: var(--text-2xl);
  line-height: 1.2em;
  font-weight: 400;
}
h4 {
  font-size: var(--text-xl);
}
h5 {
  font-size: var(--text-l);
}
body.ambimed h1.successBooking {
    color: var(--psp-ambimed);
}
ul li, ol li {
    font-size: var(--text-s);
    margin-bottom: 5px
}
strong {
    font-weight: 600;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}
.logo--container {
    display: flex;
    align-items: center;
}
a.logo {
    display: inline-block;
    width: 100%;
    padding: 25px 15px
}
a.logo img {
    width: auto;
    height: 32px;
}
.logo--container img.logo-dante-header {
    display: inline-block;
    height: 45px;
    width: auto;
    margin-left: 20px;
}
.logo--container img.logo-lafarmacia, .logo--container img.logo-cofa, .logo--container img.logo-ambimed, .logo--container img.logo-doctolib {
    display: inline-block;
    height: 17px;
    width: auto;
    margin:0 10px;
}
.logo--container img.logo-doctolib {
    height: 29px
}
.logo--container img.logo-cofa {
 height: 34px;
}
.logo--container img.logo-ambimed {
    height: 28px
}
.logo--container img.logo-diagnostica {
    height: 30px;
    margin-left: 15px;
}
img.logo-diagnostica {
    height: 50px
}
.no-logged {
    background: var(--paper);
    max-width: 1080px;
    border-radius: var(--radius-m);
    padding: 25px;
    margin: 25px auto;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
}
.no-logged a.logo {
    margin: 15px 15px 50px 15px;
    padding: 0
}
.no-logged img, .no-logged a.logo img {
    max-width: 300px;
    height: 48px;
}
a:hover {
    text-decoration: none;
}
#cst-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: calc(100% - 60px);
}
#cst-aside {
    width: 100%;
    display: flex;
    flex-direction: row;
    background: var(--bg);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 var(--radius-m) var(--radius-m);
    box-shadow: var(--shadow-1);
    justify-content: space-between;
    align-items: center;
}
#cst-aside .menu {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    gap: var(--space-3);
}
 .menu ul {
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
 .menu ul li {
    padding: 0;
    list-style: none;
    text-align: left;
    margin: 0 auto;
}
 .menu ul li a {
    text-decoration: none;
    border-top: 0;
    color: var(--accent-2);
    font-size: var(--text-s)
}
 .menu ul li:hover a {
    color: var(--accent);
}
 .menu ul li a:before {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--accent);
    z-index: -1;
}
 .menu ul li:hover a:before {
    width: 100%;
}
 .menu ul li.cst-active a {
  color: black;
}
 .menu ul li.cst-active a:after {
  visibility: visible;
  transform: scaleX(1);
}
input, button, select, textarea {
    font-family: var(--font-text);
    font-weight: 400;
    font-size: var(--text-m);
    line-height: normal;
}
.cst-border-bottom {
    width: 100%;
}
.copyright-footer {
    display: none !important;
    position: fixed;
    bottom: 0;
    width: 100%;
    margin-bottom: 5%;
    text-align: center;
    font-weight: 400;
    color: var(--ink-2);
}
a.richiedi--prestazione {
    background-color: var(--signal);
    color: var(--on-signal);
    border-radius: var(--radius-s);
    font-size: var(--text-m);
    font-weight: 600;
    padding: 6px 16px;
    text-align: center;
}
a.richiedi--prestazione:hover {
    background-color: var(--accent);
    color: var(--paper);
}
.arrow {
    width: 1em;
    height: 1em;
    display: inline-block;
    position: relative;
    margin: 0 0 0 10px;
}
.arrow span {
    top: 0.5rem;
    position: absolute;
    width: 0.75rem;
    height: 0.1rem;
    background-color: var(--ink-2);
    display: inline-block;
}
.arrow span:first-of-type {
    left: 0;
    transform: rotate(45deg);
}
.arrow span:last-of-type {
    right: -1px;
    transform: rotate(-45deg);
}
.arrow.active span {
    background-color: var(--paper);
}
.arrow.active span:first-of-type {
    transform: rotate(-45deg);
}
.arrow.active span:last-of-type {
    transform: rotate(45deg);
}
.profile--name {
    text-transform: capitalize;
    font-size: var(--text-l);
    text-align: right;
    width: 100%;
    padding: 15px;
    display: block;
    color: var(--ink);
    font-weight: 600;
    border-right: 1px solid var(--line);
    margin-right: 5px
}
.profile--dropdown {
    flex-direction: row;
    padding: 0;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: var(--space-2);
    margin-right: var(--space-3);
}
.profile--dropdown a, .profile--dropdown .dropdown-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    padding: 8px;
    color: var(--ink-2);
    font-size: var(--text-s);
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}
.profile--dropdown a:hover, .profile--dropdown .dropdown-trigger:hover {
    text-decoration: none;
    color: var(--ink);
    background: var(--tint-accent);
    border-radius: var(--radius-s);
    padding: 8px;
}
.profile--dropdown a svg, .profile--dropdown a img {
    height: 18px;
    width: auto;
    margin-bottom: 5px
}
.profile--dropdown a span, .profile--dropdown .dropdown-trigger span {
    display: block;
    text-decoration: none;
    font-weight: 400;
}
.profile--dropdown .dropdown-group {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}
.profile--dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -25px;
    transform: translateX(-50%);
    background-color: var(--ink);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    padding: 5px 0;
    flex-direction: column;
}
.profile--dropdown .dropdown-group:hover .dropdown-menu {
    display: flex;
}
.profile--dropdown .dropdown-menu a {
    color: var(--paper);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
}
.profile--dropdown .dropdown-menu a:hover {
    background-color: var(--ink-2);
    border-radius: 0;
}
.inner {
    text-align: left;
}
@media screen and (max-width: 1025px) {
    .no-logged {
        width: calc(100% - 30px);
        padding: 30px 20px;
    }
    #cst-page {
        display: block;
        max-width: calc(100% - 20px)
    }
    #cst-aside {
        position: fixed;
        background: var(--bg);
        top: 85px;
        right: 0;
        bottom: 0;
        transform: translateX(100%);
        width: calc(100% - 20px);
        min-height: 100vh;
        overflow: scroll;
        text-align: center;
        display: block;
        max-width: none;
        z-index: 9999999;
        transition: var(--pace) var(--ease);
        border-radius: var(--radius-m);
        border-top: 1px solid var(--line);
    }
    a.logo {
        display: none
    }
    #cst-aside .menu ul {
        display: block;
    }
    #cst-aside .menu ul li a {
        border-bottom: 1px solid #c3ccd4;
    }
    #content {
        padding: 0;
    }
    .copyright-footer {
        display: none !important;
        position: fixed;
        bottom: 0;
    }
    .copyright-footer p {
        margin: 0
    }
    #cst-aside .menu {
        display: block;
    }
    a.richiedi--prestazione {
        margin: 0 auto;
        display: table;
    }
    .profile--dropdown {
        position: static;
        display: block;
        box-shadow: none;
    }
    .arrow {
        display: none
    }
    .logos {
        text-align: center;
    }
    img.logo.logo-diagnostica {
        display: block;
        margin: 15px auto 0 auto;
    }
    .profile--name {
        padding: 25px 15px 25px 15px;
        font-size: var(--text-xl);
        text-align: center;
        border: 0;
    }
    .profile--dropdown a, .profile--dropdown .dropdown-trigger {
        padding: 15px 5px 15px 20px;
        flex-direction: row;
        flex: 1
    }
    .profile--dropdown a svg, .profile--dropdown a img {
        margin: 0
    }
    .profile--dropdown a span {
        margin-left: 15px
    }
    .profile--dropdown .dropdown-group {
        flex: 1;
        justify-content: center;
    }
    .profile--dropdown .dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        box-shadow: none;
        width: 100%;
        text-align: center;
    }
    input#fieldSearch {
      margin-bottom: 10px
    }
    form#service-request-form table tr td, table.registrazione-paziente tr td {
        border: none;
        display: flex;
        padding: 0
    }
    form#service-request-form table tr, table.registrazione-paziente tr {
        display: block;
    }
    form#service-request-form table tr td:last-child {
        padding-bottom: 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--line-2);
    }
    .landing-container .form {
        padding: 0;
    }
}
#cst-aside .cst-footer span {
  display: block;
}
#cst-aside .cst-footer ul {
  padding: 0;
  margin: 0;
  text-align: center;
}
#cst-aside .cst-footer ul li {
  padding: 0;
  margin: 0;
  display: inline;
  list-style: none;
}
#cst-aside .cst-footer ul li a {
  color: rgba(0, 0, 0, 0.7);
  padding: 4px;
}
#cst-aside .cst-footer ul li a:hover, #cst-aside .cst-footer ul li a:active, #cst-aside .cst-footer ul li a:focus {
  text-decoration: none;
  outline: none;
  color: var(--accent);
}

#cst-main {
    width: 100%;
    padding: 30px 15px;
    margin: 50px 0 100px 0;
    background: var(--paper);
    border-radius: var(--radius-m);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
}
.admin.login #cst-main {
    max-width: 1080px;
    margin: 0 auto;
}
@media screen and (max-width: 1025px) {
    #cst-main {
        width: 100%;
        margin: 25px auto 100px auto;
        padding-top: 20px
    }
}
#cst-main .cst-narrow-content {
    position: relative;
    margin: 0 auto;
}
@media screen and (max-width: 1025px) {
  #cst-main .cst-narrow-content {
    width: 100%;
    padding: 5px;
  }
}

body.offcanvas #cst-aside {
    transform: translateX(-10px);
}
#map {
  width: 100%;
  height: 700px;
}
@media screen and (max-width: 1025px) {
  #map {
    height: 200px;
  }
}
.btn {
    box-sizing: border-box;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    line-height: normal;
    font-size: var(--text-m);
    border-radius: var(--radius-s);
    border: 0;
    display: table;
    cursor: pointer;
}
@media (max-width: 1025px) {
    /* Tap target: 44px minimi da linee guida iOS. Col padding desktop i .btn
       si fermano a 41px; il mezzo rem in piu' porta la scatola a ~46px. */
    .btn {
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
    }
}
.btn:hover {
    background: var(--accent-hover);
}
.btn.btn--small {
    background-color: var(--signal);
    color: var(--accent-2);
    font-size: var(--text-s);
    padding: 0.4rem 1rem;
}
form table input[type="submit"].btn--small {
    padding: 0.6rem 1.2rem;
    font-size: var(--text-s);
    margin: 10px 0 35px 0;
}
.btn:hover, .btn:active {
  box-shadow: none;
}
.btn:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
button:focus-visible,
a.richiedi--prestazione:focus-visible,
.login--accedi:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.btn--fill {
    background: var(--accent);
    color: var(--paper);
    margin-top: 25px;
}
.btn--fill:hover {
    background: var(--accent-hover);
    color: var(--paper);
}
.btn--fill.btn--abbott {
    background: var(--psp-abbott);
    color: var(--paper)
}
.btn--small.btn--abbott {
    border: 2px solid var(--psp-abbott);
    color: var(--paper)
}
.btn--fill.btn--sandoz {
    background: var(--psp-sandoz);
    color: var(--paper)
}
.btn--small.btn--sandoz {
    border: 2px solid var(--psp-sandoz);
    color: var(--paper)
}
.btn--fill.btn--novo {
    background: var(--psp-novo);
    color: var(--paper)
}
.btn--small.btn--novo {
    border: 2px solid var(--psp-novo);
    color: var(--paper)
}
.btn--fill.disabled {
    background: var(--line);
}
.btn--fill.disabled:hover {
    background: var(--line);
    transform: none;
    cursor: default;
}
.btn--fill.questionario {
    background: var(--accent-2);
}
.btn--fill.rosso {
    background: var(--err);
}
.btn--save--table {
    margin: 0 0 0 15px;
    display: inline-block;
    font-size: var(--text-xs);
    border-radius: 7px;
}
.btn--inline {
    display: inline-block;
}
td > .btn {
    display: inline-block;
}
.show-request-box {
    background: var(--tint-accent);
    padding: 40px 25px;
    border-radius: var(--radius-m);
    margin-bottom: 25px;
    margin-right: 25px;
    display: inline-block;
    vertical-align: top;
}
span.alert {
    display: table;
    color: var(--err);
    font-size: var(--text-xl);
    font-weight: 600;
}
.no-display {
    display: none;
}
.assicurazione-scaduta {
    background: var(--err);
    padding: 25px;
    border-radius: var(--radius-m);
    margin-bottom: 35px;
    display: table;
}
.assicurazione-scaduta h3 {
    color: var(--paper);
    margin-bottom: 5px;
}
.assicurazione-scaduta p {
    margin: 0;
    color: var(--paper);
}
.assicurazione-scaduta p a{
    color: var(--paper);
    text-decoration: underline;
}
.badge-scadenza {
    background: var(--err);
    color: var(--paper);
    padding: 6px 12px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: table;
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1.2;
}
/* Prestazione presa in carico ma con l'orario ancora da concordare: sta
   accanto alla data, che resta quella chiesta dal paziente. Stessa forma del
   badge di scadenza ma non e' un errore, quindi niente rosso: e'
   un'informazione, non un allarme. Fondo carta e bordo prugna e non la
   velatura, perche' lo stesso badge sta anche dentro .show-request-box, che di
   velatura prugna e' gia' fatto. */
/* Lo stesso avviso disteso, per il dettaglio della prestazione: li' non e'
   un'etichetta accanto a una data, e' la cosa che l'ufficio deve leggere prima
   di riscrivere l'orario. */
.avviso-da-confermare {
    background: var(--tint-accent);
    color: var(--ink);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-s);
    padding: 15px 20px;
    margin-bottom: 25px;
    line-height: 1.4;
}
.badge-da-confermare {
    background: var(--paper);
    color: var(--accent);
    border: 1px solid var(--accent);
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 4px;
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1.2;
}
.form-control {
  appearance: none;
  box-shadow: none;
  border: 1px solid var(--line-field);
  font-size: var(--text-m);
  font-weight: normal;
  color: var(--ink-2);
  background: var(--paper);
  width: 100%;
  padding: 12px 15px;
  line-height: initial;
  border-radius: var(--radius-s);
}
.form-control:active, .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: var(--accent-2);
}
.form-control.search--table {
  border-width: 1px;
  border-radius: var(--radius-s);
  padding: 10px;
  font-size: var(--text-xs);
  max-width: 135px
}
.form-control:disabled {
  border-color: var(--line-2);
    color: #888;
    width: 100%;
}
#message {
  height: 130px;
}
.note-address {
    font-size: var(--text-xs);
    line-height: 16px;
    color: var(--ink-3);
    font-style: italic;
    margin-top: 5px
}
.header {
    display: none
}
.logo-header {
    height: 60px
}
.logo-header a {
    display: inline-block;
}
.logo-header img {
    height: 60px;
    padding: 15px 0 15px 0;
}
.gvm .header {
    height: 40px;
    border-radius: 0;
}
.gvm .logo-header {
    height: 40px
}
.gvm .logo-header img {
    height: 40px;
    padding: 8px 0;
}
.cst-nav-toggle {
  cursor: pointer;
  text-decoration: none;
  display: block;
  z-index: 500;
  cursor: pointer;
  opacity: 1;
  visibility: hidden;
  transition: var(--pace) var(--ease);
  /* L'icona misura 30x17: il padding porta l'area di tap a ~50x43. */
  padding: 13px 10px;
}
.cst-nav-toggle.active i::before, .cst-nav-toggle.active i::after {
  background: var(--accent);
}
.cst-nav-toggle:hover, .cst-nav-toggle:active {
  outline: none;
  border-bottom: none !important;
}
/* L'unico controllo di navigazione mobile deve restare raggiungibile da
   tastiera: outline solo per il focus da tastiera, non per il click. */
.cst-nav-toggle:focus {
  border-bottom: none !important;
}
.cst-nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.cst-nav-toggle i {
  position: relative;
  display: -moz-inline-stack;
  display: inline-block;
  zoom: 1;
  width: 30px;
  height: 3px;
  color: var(--paper);
  font: 600 14px/.4 Helvetica;
  text-indent: -55px;
  background: var(--accent-2);
  transition: all var(--pace) var(--ease);
}
.cst-nav-toggle i::before, .cst-nav-toggle i::after {
  content: '';
  width: 30px;
  height: 3px;
  background: var(--accent-2);
  position: absolute;
  left: 0;
  transition: var(--pace) var(--ease);
}
.cst-nav-toggle i::before {
  top: -7px;
}
.cst-nav-toggle i::after {
  bottom: -7px;
}
.cst-nav-toggle.active i {
  background: none;
}
.cst-nav-toggle.active i::before {
  top: 0;
  transform: rotateZ(45deg);
}
.cst-nav-toggle.active i::after {
  bottom: 0;
  transform: rotateZ(-45deg);
}
@media screen and (max-width: 1025px) {
  .cst-nav-toggle {
    opacity: 1;
    visibility: visible;
  }
  .gvm .js-cst-nav-toggle.cst-nav-toggle {
      display: none;
      opacity: 0;
      visibility: hidden;
  }
  .header {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        background: var(--bg);
        width: 100%;
        height: 60px;
        padding: 0 10px;
        border: 1px solid var(--line);
        border-top: 0;
        border-radius: 0 0 var(--radius-m) var(--radius-m);
  }
  tr td, .form-row {
      padding-bottom: 5px
  }
}
.form-controlList:focus {
    border-color: var(--accent);
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(var(--accent-rgb), 0.35);
}
td {
    padding-top: 3px;
    padding-bottom: 3px;
}
input[type=range]:focus {
    outline: none;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: var(--line-2);
}
input[type=range]{
    -webkit-appearance: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 300px;
    height: 5px;
    background: var(--line);
    border: none;
    border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: -7px;
}
.button {
    display: block;
    width: 115px;
    background: var(--accent);
    padding: 10px;
    text-align: center;
    border-radius: var(--radius-s);
    color: white;
    font-weight: 600;
}
#previous_submit {
    font-size: var(--text-l);
    padding: 8px 15px;
    background: var(--paper);
    border-radius: 50px;
    cursor: pointer;
}
.form-controlDate {
    appearance: none;
    box-shadow: none;
    background: white;
    border: 1px solid var(--line-field);
    font-size: var(--text-m);
    font-weight: normal;
    border-radius: var(--radius-s);
    padding: 12px 15px;
    width: 120px;
    color: var(--ink-2);
}
.contenuti-registrazione .form-controlDate {
    width: 100%;
}
.form-controlDate:focus {
    outline: 0;
}
.form .form-controlHour {
    display: block;
    width: auto;
    margin-right: 15px
}
.form .form-controlHour:focus {
    border-color: var(--accent);
    outline: 0;
}
.form-controlDuration {
    appearance: none;
    display: block;
    width: 100%;
    max-width: 80px;
    font-size: var(--text-s);
    background-color: var(--paper);
    border: 1px solid var(--line-field);
    padding: 12px 15px;
    line-height: initial;
    border-radius: var(--radius-s);
}
.form-controlDuration:focus {
    border-color: var(--accent);
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(var(--accent-rgb), 0.35);
}
.modalPrescription {
    display: block;
    position: fixed;
    z-index: 1;
    padding-top: 20px;
    left: 0;
    top: 0;
    width: 40%;
    height: 170px;
    overflow: auto; /* Enable scroll if needed */
   /* Fallback color */
    background-color: rgba(238,249,240,0.9); /* Black w/ opacity */
    margin-left: 35%;
}
.modalWarning {
    display: block;
    position: fixed;
    z-index: 1;
    padding-top: 20px;
    left: 0;
    top: 0;
    width: 50%;
    height: 300px;
    overflow: auto;
   /* Fallback color */
    background-color: rgba(238,249,240,0.9); /* Black w/ opacity */
    margin-left: 35%;
}
.modal-services {
    display: block;
    position: fixed;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: 50%;
    transform: translate(-50%, -50%);
    padding: 100px 25px;
    background-color: rgba(238,249,240,1);
}
.modal-users {
    display: none;
    position: fixed;
    z-index: 999;
    top: 50%;
    overflow: auto;
    background: var(--accent-2);
    left: 50%;
    padding: 35px;
    transform: translate(-50%, -50%);
    color: var(--paper);
    border-radius: var(--radius-m);
    overflow: visible;
    width: 90%;
    max-width: 650px;
}
.modal-users.successModal {
    background: #26A393;
    top: 200px;
}
.modal-users.warningModal {
    background: var(--paper);
    border: 5px solid #eed202;
    color: #666;
    top: 200px;
}
#captionCodice {
    color: var(--paper);
    font-size: var(--text-m);
    line-height: initial
}
#captionCodice h4{
    margin-bottom: 5px;
    color: var(--accent-2)
}
.modal-users.info {
    background: var(--paper);
    box-shadow: var(--shadow-2);
    border: 1px solid var(--line-2);
}
.modal-users.info #captionCodice {
    color: var(--ink-2)
}
.modal-users #caption {
    color: var(--paper);
    line-height: 1.3em;
    font-size: var(--text-xl);
}
/* I link dentro i modali erano indistinguibili dal testo: il reset globale
   toglie la sottolineatura e il colore coincideva col corpo. inherit regge
   sia i modali scuri (testo bianco) sia la variante .info (testo inchiostro). */
.modal-users a {
    color: inherit;
    text-decoration: underline;
}
.modal-users.warningModal #caption {
    color: var(--ink-2);
}
#myModalCancel {
    background-color:var(--err);
}
.modal-update {
    display: none;
    position: fixed;
    z-index: 999;
    top: 50%;
    overflow: auto;
    background-color: var(--accent);
    left: 50%;
    padding: 50px;
    transform: translate(-50%, -50%);
    color: var(--paper);
}
.caption-modal{
    margin: auto;
    display: block;
    max-width: 700px;
    text-align: center;
    width: 100%;
}
#captionCancel {
    font-size: var(--text-2xl);
    color: var(--paper);
    line-height: 1.4em;
}
#infoSteps {
    display: none;
    color: var(--accent);
    border-radius: 0;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: var(--text-l);
}
/* The Close Button */
.close {
    position: absolute;
    top: -18px;
    right: -18px;
    color: var(--ink-2);
    font-size: var(--text-2xl);
    font-weight: 600;
    transition: var(--pace) var(--ease);
    cursor: pointer;
    background: var(--paper);
    width: 36px;
    height: 36px;
    border-radius: 100%;
    text-align: center;
    line-height: 33px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
@media (max-width: 1025px) {
    /* Coi modali al 90% di larghezza i -18px spingevano la "x" oltre il
       bordo del viewport: su mobile rientra dentro la superficie. */
    .modal-users .close {
        top: -14px;
        right: 4px;
    }
}
.closeModal {
    position: absolute;
    right: 35px;
    color: black;
    font-size: 40px;
    font-weight: 600;
    transition: var(--pace) var(--ease);
}
.errorSummary {
    padding: 15px;
    /* Era testo #cc5f68 su fondo #e69ea4: 1,81:1, praticamente illeggibile,
       proprio sul riquadro che elenca gli errori di validazione. Ora fondo
       tinto e inchiostro pieno, come gli avvisi del sito vetrina: 7,0:1. */
    background: var(--err-bg);
    color: var(--err);
    border: 1px solid var(--err);
    border-radius: var(--radius-s);
    animation: cssAnimation 0s ease-in 5s forwards;
    animation-fill-mode: forwards;
    opacity: 1;
    margin-bottom: 25px;
    font-size: var(--text-m);
    font-weight: normal;
}
.patient-registration .error-message {
    display: none;
}
.annulla--cancella {
    display: flex;
    justify-content: space-between;
}
.btn--annulla {
    color: white;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 8px 22px;
    border-radius: var(--radius-s);
    font-weight: 600;
    background: var(--err);
}
.btn--cancella {
    color: var(--err);
    background-color: var(--paper);
    padding: 8px 22px;
    border-radius: var(--radius-s);
    font-weight: 600;
}
.success-border {
    border-color: var(--accent);
}
/* Add Animation */
 .caption, .caption-service, .caption-text, .caption-modal {
    animation-name: zoom;
    animation-duration: 0.6s;
}
.captionPrescription {
    margin: auto;
    display: block;
    width: 50%;
    max-width: 700px;
    text-align: center;
    color: black;
    padding: 5px 0;
    font-weight: 400;
    height: 150px;
    margin-left: 30%;
    margin-right: 5%;
}
.form-controlMonths {
  display: block;
  width: 20%;
  height: 40px;
  padding: 2px 5px;
  font-size: var(--text-s);
  line-height: 1.42857;
  color: var(--ink-2);
  background-color: var(--paper);
  background-image: none;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.form-controlMonths:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(var(--accent-rgb), 0.35);
}

#notification_countMain {
    text-align: center;
    line-height: 24px;
    font-size: var(--text-s);
    padding: 0;
    background: var(--err);
    color: var(--paper);
    font-weight: normal;
    border-radius: 100%;
    border: 3px solid var(--paper);
    position: absolute;
    top: -8px;
    right: -8px;
    width: 30px;
    height: 30px;
}
.notification--container {
    position: relative;
    margin: 25px 0;
    display: table;
}
.notification--container .btn {
    margin: 0
}
.notification--badge {
    position: absolute;
    display: block;
    top: -13px;
    right: -13px;
    text-align: center;
    line-height: 29px;
    font-size: var(--text-m);
    background: var(--signal);
    color: var(--on-signal);
    width: 30px;
    height: 30px;
    border-radius: 100%;
    /* Il numero e' il pixel piu' attraente del bottone: senza questo, un tap
       sul badge (che sporge fuori dal link) cadeva nel vuoto. */
    pointer-events: none;
}
.pro-supporto {
    display: block;
    margin-top: 15px;
    /* Porta l'area cliccabile del link a ~44px senza cambiarne l'aspetto. */
    padding: 10px 0;
    color: var(--accent-2);
    text-decoration: underline;
    font-weight: 600;
}
/* Select city page */
.hp--pulsanti {
    display: flex;
    column-gap: 20px;
    margin-bottom: 25px;
}
.paga a  {
    display: table;
    box-sizing: border-box;
    width: auto;
    height: auto;
    background: var(--accent);
    background-color: var(--accent);
    color: var(--paper);
    padding: 12px 20px;
    border: 0;
    border-radius: var(--radius-s);
    font-size: var(--text-l);
    font-weight: 600;
    cursor: pointer;
}
h1.paga:hover a {
    background: var(--accent-hover);
}
.select--city {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}
.select--city .city--name, a.select--pro {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex: 0 0 calc(25% - 30px);
    border: 2px solid var(--tint-accent-2);
    border-radius: var(--radius-s);
    color: var(--ink-2);
    padding: 25px;
    margin: 15px;
    font-size: var(--text-l);
    font-weight: 600;
}
.select--city .city--name:hover, a.select--pro:hover {
    color: var(--paper);
    background: var(--accent-2);
}
.select--city input {
    margin-top: 25px
}
a.select--pro svg, a.select--pro g {
    width: auto;
    max-height: 64px;
    margin-right: 15px;
}
a.select--pro.pro-inf:hover svg,
a.select--pro.pro-inf:hover g,
a.select--pro.pro-inf:hover g path,
a.select--pro.pro-inf:hover svg path {
    fill: var(--paper) !important;
}
a.select--pro.pro-inf:hover circle {
    stroke: var(--paper) !important;
    fill: none !important;
}
a.select--pro.pro-fisio:hover svg,
a.select--pro.pro-fisio:hover g {
    stroke: var(--paper) !important;
}
.ambimed a.select--pro.pro-inf svg,
.ambimed a.select--pro.pro-inf g,
.ambimed a.select--pro.pro-inf g path,
.ambimed a.select--pro.pro-inf svg path {
    fill: var(--psp-ambimed) !important;
}
a.select--pro span {
    line-height: 1.2em;
    display: block;
}
a.select--pro small {
    font-weight: 600
}
#popup--provincia {
    background: var(--err);
    position: fixed;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    z-index: 9999;
    max-width: 900px;
    width: 90%;
    display: none
}
#popup--provincia.show--popup {
    display: block;
}
#popup--provincia p {
    text-align: center;
    font-size: var(--text-xl);
    font-weight: 400;
    color: var(--paper);
    width: 95%;
    border-radius: var(--radius-m);
    margin: 50px auto 15px auto;
}
#popup--provincia a.button {
    color: white;
    margin: 0 auto 50px auto;
    font-size: var(--text-xl);
    padding: 12px 15px;
    text-decoration: none;
    border-radius: var(--radius-s);
    background: var(--accent);
}
#popup--provincia a.button:hover {
    background: var(--accent-hover);
}
.box-privacy, .prestazione--paziente {
    background: var(--tint-accent-2);
    padding: 15px 0;
    margin-bottom: 15px
}
.prestazione--paziente p {
    font-size: var(--text-m);
    text-align: center;
    margin: 0
}
.box-privacy h3 {
    font-weight: 600;
    font-size: var(--text-l);
    color: var(--ink);
    margin: 0 0 5px 0;
}
@media (max-width: 1025px) {
    .select--city {
        flex-direction: column;
        flex-wrap: initial;
    }
    .select--city .city--name, a.select--pro {
        padding: 15px 25px;
        margin: 15px 0;
        min-width: 250px;
        font-size: var(--text-xl);
        align-items: center;
    }
    a.select--pro span {
        text-align: left;
        flex: 1 1 auto;
    }
    a.select--pro svg, a.select--pro g {
        max-height: 50px;
    }
}
/* Input file */

input[type="file"] {
    width: 350px;
    max-width: 100%;
    color: #444;
    padding: 5px;
    border-radius: var(--radius-m);
    border: 1px solid var(--ink-2);
    height: auto;
}
input[type=file]::file-selector-button {
    margin: 0 20px 0 0;
    border: none;
    background: #9aa0a6;
    padding: 10px 20px;
    border-radius: var(--radius-m);
    color: var(--paper);
    cursor: pointer;
}
input[type=file]::file-selector-button:hover {
    background: var(--accent);
}
/* Forms checkbox */
.testo--checkbox {
    font-size: var(--text-xs);
    line-height: 1em;
}
input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}
input[type="checkbox"] + label {
    position: relative;
    cursor: pointer;
    padding: 0;
    margin: 0 10px 0 0;
    color: var(--ink);
}
input[type="checkbox"] + label:before {
    content: '';
    margin: 0 8px 0 0;
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    border-radius: 100%;
    height: 30px;
    background: var(--line);
}
input[type="checkbox"]:hover + label:before {
    background: var(--accent);
}
input[type="checkbox"]:focus + label:before {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
input[type="checkbox"]:checked + label:before {
    background: var(--accent);
}
input[type="checkbox"]:disabled + label {
      color: var(--line-3);
      cursor: auto;
}
input[type="checkbox"]:disabled + label:before {
    box-shadow: none;
    background: var(--line-3);
}
input[type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
    left: 9px;
    top: 13px;
    background: var(--paper);
    width: 3px;
    height: 3px;
    box-shadow: 3px 0px 0px white, 4px 0 0 white, 4px -2px 0 white, 4px -4px 0 white, 4px -6px 0 white, 4px -8px 0 white;
    transform: rotate(45deg);
}
input[type="submit"], button#next_submit, input[type="button"], input#submitBtn {
    display: table;
    box-sizing: border-box;
    width: auto;
    height: auto;
    background: var(--accent);
    background-color: var(--accent);
    color: var(--paper);
    padding: 12px 20px;
    border: 0;
    border-radius: var(--radius-s);
    font-size: var(--text-l);
    font-weight: 600;
    cursor: pointer;
}
input[type="submit"]:hover, button#next_submit:hover, input[type="button"]:hover, input#submitBtn:hover {
    background: var(--accent-hover);
    color: var(--paper);
}
input[type="button"].edit-input {
    width: 24px;
    height: 24px;
    font-size: 0px;
    border-radius: 100px;
    padding: 14px;
    margin-left: 15px;
    background: var(--accent) url(/images/pencil.svg) center center no-repeat;
    background-size: 50%;
}
button:disabled,
input:disabled,
input[type="button"]:disabled,
.btn--fill:disabled,
input[type="submit"]:disabled,
button#next_submit:disabled,
input[type="button"]:disabled,
input#submitBtn:disabled {
    background: var(--line);
    cursor: default;
}
button:disabled:hover,
input:disabled:hover,
input[type="button"]:disabled:hover,
.btn--fill:disabled:hover,
input[type="submit"]:disabled:hover,
button#next_submit:disabled:hover,
input[type="button"]:disabled:hover,
input#submitBtn:disabled:hover {
    background: var(--line);
    transform: none;
}
.submit--cerca {
    font-size: var(--text-xl)
}
p.performance {
    margin: 15px 0;
}
p#serviceDescription {
    text-align: center;
    font-size: var(--text-xl);
    margin: 0 0 25px 0;
    background: var(--accent-2);
    padding: 25px 5px;
    color: var(--paper);
    border-radius: var(--radius-m);
    font-weight: 600;
}
span.note--service {
    display: block;
    font-size: var(--text-s);
    width: 95%;
    max-width: 750px;
    margin: 10px auto 0 auto;
    font-weight: normal;
}
.data--orario {
    display: flex;
    align-items: center;
}
span.alle {
    margin: 0 10px;
}
input#price {
    font-size: var(--text-xl);
    font-weight: 600;
    padding: 10px 15px;
    letter-spacing: 1px;
    border: none;
    background: var(--accent-2);
    color: var(--paper);
    width: auto;
    max-width: 110px;
}
textarea.form-control {
    height: auto;
}
textarea::placeholder {
    font-family: var(--font-text);
}
table {
  background-color: transparent;
  width: 100%
}
tr td, .form-row {
    padding: 0 0 20px 0
}
tr td label, .form-row label {
    margin-bottom: 5px;
    display: block;
    font-weight: 600;
}
.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}
.table > tr > th,
.table > tr > td,
.table tr > th,
.table tr > td,
.table > tfoot > tr > th,
.table > tfoot > tr > td {
  padding: 10px 5px;
  line-height: 1em;
  vertical-align: middle;
  border-top: 1px solid var(--line);
}
.table > tr > th, .table > thead > tr > th {
  vertical-align: bottom;
  border-bottom: 2px solid var(--line);
  text-align: left;
  font-weight: 600;
  font-size: var(--text-l);
  background-color: var(--line-3);
}
.table > caption + tr:first-child > th,
.table > caption + tr:first-child > td,
.table > colgroup + tr:first-child > th,
.table > colgroup + tr:first-child > td,
.table > thead:first-child > tr:first-child > th,
.table > thead:first-child > tr:first-child > td {
  border-top: 0;
}
.table > tbody + tbody {
  border-top: 2px solid var(--line);
}
.table .table {
  background-color: var(--paper);
}
.table .performance {
    min-width: 250px;
    margin-bottom: 25px
}
form#service-request-form table td {
    vertical-align: middle;
}
.cancella--profilo {
    font-size: var(--text-l)
}
.gvm .cancella--profilo {
    display: none;
}
/* checkuot user payment */
.summary.checkout, .flex-container {
    display: flex;
}
.summary.checkout {
    flex-direction: column;
    margin-top: 25px
}
.summary.checkout, .checkout .controls {
    flex: 1 1 100%;
    margin: 0 auto;
    max-width: 960px;
}
.summary.metodo {
    flex: 1 0 30%;
}
.summary.metodo h1 {
    display: none;
}
.flex-container {
    flex: 1;
    place-items: flex-start;
}
.checkout .controls {
    margin-top: 30px;
}
.checkout h1, .h1-small {
    font-size: var(--text-2xl);
}
#service-request-grid .summary {
    font-size: var(--text-xs);
    margin-top: 10px
}
.summary.recap {
    flex: 1 0 30%;
    padding: 35px 25px;
    border: 2px solid var(--accent-2);
    background: var(--tint-accent-2);
    border-radius: var(--radius-m);
    margin-bottom: 25px;
    font-size: var(--text-m);
    margin-right: 50px
}
.summary.recap h1 {
    color: var(--ink-2);
    font-size: var(--text-xl);
    margin-bottom: 15px;
}
.summary.recap .riga {
    display: flex;
    margin-bottom: 10px;
    align-items: baseline;
}
.summary.recap .riga span {
    flex: 1 1 auto;
}
.summary.recap .riga span:nth-child(2) {
    text-align: right;
}
.riga.price {
    border-top: 2px solid var(--accent-2);
    padding-top: 20px;
    margin-top: 20px;
}
.riga.price span {
    color: var(--accent-2);
    font-size: var(--text-2xl);
    font-weight: 600;
}
table.items {
    border: 0;
    margin-bottom: 25px
}
table.items th, table.items td {
    font-size: var(--text-xs);
    border: 0;
    border-left: 0;
    border-right: 0;
    padding: 10px 3px;
    text-align: center;
    vertical-align: middle;
}
.admin table.items th, .admin table.items td {
    font-size: var(--text-xs);
    padding: 12px 4px;
}
.admin table.items td {
    border-bottom: 1px solid var(--line);
}
.admin table.items td:hover {
    border-right: none;
}
.admin table.items td:first-child {
    text-align: center;
}
.grid-view table.items {
    border: 1px solid var(--line);
}
.grid-view table.items th, .grid-view table.items td {
    border: none;
}
table.items th {
    color: var(--ink-3);
    background: var(--bg);
    font-weight: 600;
    font-size: var(--text-xs);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
    padding: 12px 6px;
}
body .grid-view table.items th {
    background: var(--bg);
    color: var(--ink-3);
    border-color: var(--line);
}
body .grid-view table.items th a {
    color: var(--ink-3);
    font-weight: 600;
}
table.items th a {
    color: var(--ink-3);
    text-decoration: none;
}
table.items a {
    color: var(--accent-2);
    text-decoration: underline;
    font-weight: 600;
    margin: 0
}
table.items a.btn--small {
    display: inline-block;
    box-sizing: border-box;
    background: var(--accent-2);
    color: var(--paper);
    font-weight: 600;
    line-height: normal;
    border-radius: var(--radius-s);
    border: 0;
    font-size: var(--text-s);
    padding: 10px 15px;
    margin: 0 auto;
    text-decoration: none;
}
td.button-column {
    text-align: center
}
td.button-column a {
    text-decoration: none;
    text-transform: capitalize;
    display: inline-block;
    color: var(--paper)
}
td.button-column a .btn {
    color: var(--paper);
    margin: 0 auto;
}
td.button-column a:hover {
    text-decoration: underline;
}
td.button-column a.btn {
    color: var(--paper)
}
td.button-column a.btn:hover {
    text-decoration: none
}
.tabella-sandoz table.items .button-column a {
  color: var(--paper)
}
.tabella-sandoz table.items .button-column a.request_done {
  text-decoration: underline;
  color: var(--ink-2);
  text-transform: capitalize;
}
.sandoz-menu {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}
.sandoz-menu > div {
  display: flex;
  flex-direction: column;
  margin-right: 50px;
}
.sandoz-menu > div.horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: space-between;
}
.sandoz-menu > div h5 {
  margin: 0 0 10px 0;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-xs);
  text-transform: uppercase;
  color: var(--ink-3);
}
.sandoz-menu > div.horizontal h5 {
  flex-basis: 100%;
}
.sandoz-menu > div a {
  margin: 0;
  margin-bottom: var(--space-2);
  align-self: flex-start;
  font-size: var(--text-s);
  color: var(--ink);
}
.sandoz-menu > div a:hover {
  text-decoration: underline;
}
.sandoz-menu > div a.btn {
  margin: 0;
}
.sandoz-menu > div a:hover {
  color: var(--accent-2);
}
.sandoz-menu > div a.btn:hover {
  color: var(--paper);
}
.box-ricerche {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 25px;
  align-content: flex-start;
}
.box-ricerche > form {
  flex: 1 0 30%;
}
.box-ricerche .row.buttons{
  display: none
}
.box-ricerche tbody {
  display: none;
}
.box-call-ship {
  display: flex;
  column-gap: 30px;
  flex-wrap: wrap;
}
.nuova-telefonata, .dati-spedizone {
  flex: 1 0 48%;
  padding: 15px;
  border-radius: var(--radius-m);
}
.nuova-telefonata.done, .dati-spedizone.done {
    background: #50d25824;
    border: 3px solid var(--accent);
}
td.edit {
    position: relative;
}
td.edit input[type="text"] {
  border: 2px solid var(--line-2);
  padding: 5px 7px;
  border-radius: var(--radius-s);
  font-size: var(--text-xs);
}
td.edit:before {
    display: none;
    content: "✓";
    width: 20px;
    height: 20px;
    background: var(--accent);
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    color: var(--paper);
    line-height: 20px;
    border-radius: var(--radius-s);
}
td.edit.ok:before {
    display: block;
}
.grid-view table {
    width: 100%
}
table.items tr {
  border-bottom: 1px solid var(--line);
}
table.items tr:hover {
	background: rgba(var(--accent-2-rgb), 0.09);
}
.grid-view table.items tr.odd {
	background: none;
}
.grid-view table.items tr.even {
	background: none;
}
.grid-view table.items tr.odd:hover,
.grid-view table.items tr.even:hover {
	background: rgba(var(--accent-2-rgb), 0.09);
}
table.items .button-column a {
  color: var(--accent);
}
table.items .button-column a.btn {
  color: var(--paper);
}
table.items .button-column a.delete {
  color: var(--err)
}
table.items .button-column a.blocca,
table.items .button-column a.blocca-consulcesi,
table.items .button-column a.blocca-test {
  color: var(--err)
}
.admin table.items th.col-azioni,
.admin table.items td.col-azioni {
  padding: 8px 14px;
  white-space: nowrap;
}
.admin table.items td.col-azioni a {
  line-height: 1.3;
}
.elenco-prestazioni table.items .button-column a {
  color: var(--paper)
}
.grid-view .link-column img {
	border: 0;
}
.grid-view .button-column img {
	border: 0;
}
.grid-view .checkbox-column {
	width: 15px;
}
.grid-view .pager {
	margin: 5px 0 0 0;
	text-align: right;
	font-weight: normal;
}
.grid-view .empty {
	font-style: italic;
	font-weight: normal;
}
.elenco-prestazioni table.items tbody {
    border: 1px solid #c8dff6
}
.elenco-prestazioni table.items td {
    padding: 10px;
    text-align: left;
    line-height: 20px;
    text-align: center;
    font-size: var(--text-s)
}
.elenco-prestazioni table.items td strong {
    display: block;
}
.elenco-prestazioni table.items td:nth-child(2) {
    font-size: var(--text-xl);
    font-weight: 600;
    padding: 5px 10px;
    text-align: center;
}
.title-style {
    margin-top: 25px;
    font-weight: 600;
}
h1.small.summary {
    display: block;
}
.summary.metodo h1.small.summary {
    display: none !important;
}
.summary {
    font-size: var(--text-xs);
    margin: 10px auto 5px auto;
    border-radius: var(--radius-m)
}
button {
    border: 0;
    padding: 0;
    color: var(--accent);
    background: transparent;
    position: relative;
}
.ricerca-prestazioni {
    position: relative;
}
input#valueSearch {
    padding: 10px;
    background: white;
    color: var(--ink-2);
    width: 100%;
    border-radius: 30px;
    border: 2px solid var(--accent);
    margin-bottom: 25px
}
input#cerca {
    margin-top: 2px;
    border: 0;
    position: absolute;
    right: 2px;
    top: 0px;
    width: 75px;
    cursor: pointer;
    border-left: 2px solid var(--accent-2);
    font-weight: 600;
    color: var(--paper);
    font-size: var(--text-xs);
    border-radius: 0 30px 30px 0px;
    background: #378DD3;
    padding: 14px 0;
}
/* registrazione paziente */
.loggati {
    height: 60px;
    line-height: 60px;
    text-align: center;
    background: var(--psp-ambimed-2);
    font-weight: 600;
    width: calc(100% + 60px);
    margin: 0 -30px 0 -30px;
}
.loggati a {
    color: var(--paper);
}
.patient-registration {
    min-height: 100vh
}
.patient-registration > div {
    width: 100%;
    margin: 50px auto;
    background: var(--paper);
    padding: 0 30px 100px 30px;
    border-radius: var(--radius-m);
}
.patient-registration a.logo {
    display: inline-block;
    padding: 25px 0;
    margin: 0 auto;
    text-align: center;
}
.row {
    margin: 0 auto;
    padding: 0;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
}
.row.buttons {
    display: block;
}
.row.dir-row {
    flex-direction: row;
    align-items: center;
    column-gap: var(--space-2);
    margin-bottom: 15px;
}
.patient-registration .logos {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.patient-registration .flag {
    display: block;
    margin-top: 15px;
    font-size: var(--text-xs);
    color: var(--ink-2);
    text-decoration: underline;
}
.patient-registration #content {
    position: relative;
}
.patient-registration h1 {
    margin-bottom: 20px;
}
.patient-registration table {
    width: 100%;
}
.patient-registration label {
    font-size: var(--text-xs);
    margin-bottom: 3px;
    display: inline-block;
}
.patient-registration .form {
    width: 100%;
    padding: 0;
}
.patient-registration .text p {
    font-size: var(--text-xs);
    line-height: 13px;
    margin-bottom: 3px
}
.patient-registration .text p:first-child {
    margin-bottom: 15px
}
.text ul li {
    list-style-type: disc;
}
.text ul li {
    font-size: var(--text-m);
    margin-bottom: 5px;
    margin-left: 25px;
}
.patient-registration .sfondo-registrazione {
    height: 700px;
    background: url(/images/sfondo_regpaz.jpg) center center;
    background-size: cover;
    width: calc(100% + 60px );
    margin: 50px -30px;
}
.patient-registration .sfondo-registrazione.sfondo-dantelabs {
    background: url(/images/sfondo_regpaz-dantelabs.jpg) center center;
}
.patient-registration .sfondo-ambimed {
    background: url(/images/sfondo-ambimed.jpg) center center;
    height: 900px;
    background-size: cover;
    position: relative;
}
.patient-registration .sfondo-costa {
    background: url(/images/sfondo-costa.jpg) center center;
    height: 800px;
    background-size: cover;
    position: relative;
}
.patient-registration .sfondo-next {
    background-color: #022246;
    background-image: url(/images/next.svg);
    background-position: 15% center;
    background-size:40% 40%;
    background-repeat: no-repeat;
    height: 800px;
    position: relative;
}
.patient-registration .sfondo-ambimed img {
    position: absolute;
}
.patient-registration .sfondo-ambimed .icone-ambimed {
    width: 200px;
    left: 42%;
    transform: translateY(-50%);
}
.patient-registration .sfondo-ambimed .viaggiosicuro {
    width: 200px;
    left: 42%;
    top: 64%;
}
td.phonenumber-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: var(--space-2)
}
td.phonenumber-container label {
    flex-basis: 100%;
}
select.form-control.prefix {
    height: 50px;
    padding: 0 10px;
    font-size: var(--text-s);
    flex: 0 1 68px;
}
.phonenumber-container .form-control {
    width: auto;
}
.patient-registration td.phonenumber-container .prefix{
    flex: 1 0 57px;
    padding: 0 10px;
    font-size: var(--text-s)
}
.patient-registration td.phonenumber-container .phonenumber{
    flex: 1 1 auto;
}
.patient-registration #Customer_identity, .patient-registration #Customer_identity div {
    display: flex;
    align-items: center;
}
.patient-registration #Customer_identity div {
    margin: 0 8px 3px 0;
}
.patient-registration #Customer_identity br {
    display: none;
}
.patient-registration #Customer_identity label {
    margin: 0 0 0 3px
}
.Confirmation input {
    background: var(--paper);
    width: 100%;
    max-width: 300px;
}
label + img {
    width: 16px;
    height: 16px;
}
.patient-registration .toggleCodice {
    font-size: var(--text-xs)
}
.codicePromo {
    display: none;
    margin-top: 5px
}
.ambimed p#serviceDescription {
    background: var(--psp-ambimed);
}
.submit-login input {
    margin: 15px 0 15px 0;
}
.submit-login a {
    display: block;
    margin-bottom: 5px;
    font-size: var(--text-s)
}
input[type="submit"].cancella--profilo, input[type="button"].cancella--profilo, a.cancella--profilo {
    background: var(--err);
    font-size: var(--text-xs);
    font-weight: normal;
}
p#submitInfo {
    font-size: var(--text-s);
    color: var(--err);
    line-height: 1.4em;
}
/* Forms radio buttons 2026 */
.radio-choice {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.radio-choice input[type="radio"] {
    display: none;
}
.radio-choice label {
    display: inline-block;
    padding: 10px 25px;
    font-size: var(--text-s);
    font-weight: 600;
    color: var(--ink-2);
    background-color: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--pace) var(--ease);
    text-align: center;
    min-width: 60px;
}
.radio-choice label:hover {
    border-color: #adb5bd;
    transform: translateY(-1px);
}
.radio-choice input[value="1"]:checked + label {
    background-color: var(--ok-bg);
    border-color: var(--ok);
    color: var(--ok);
    box-shadow: 0 2px 5px rgba(var(--ok-rgb), 0.25);
}
.radio-choice input[value="0"]:checked + label {
    background-color: var(--err-bg);
    border-color: var(--err);
    color: var(--err);
    box-shadow: 0 2px 5px rgba(var(--err-rgb), 0.25);
}
/* //// Forms radio buttons 2026 */
.radio {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    column-gap: 5px;
}
.radio label {
    font-weight: 600;
}
.radio > input[type=radio] {
    flex: 0 0 auto;
}
ul.form-radio{
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: auto;
}
ul.form-radio li {
    display: block;
    position: relative;
    width: 100%;
    border-bottom: 1px solid var(--line-2);
}
ul.form-radio li input[type=radio]{
    position: absolute;
    visibility: hidden;
    display: none
}
ul.form-radio li label{
    display: block;
    position: relative;
    padding: 15px 15px 15px 60px;
    margin: 0;
    z-index: 9;
    cursor: pointer;
}
ul.form-radio li:hover label{
    color: var(--accent);
}
ul.form-radio li .check{
    display: block;
    position: absolute;
    border: 5px solid var(--line-2);
    border-radius: 100%;
    height: 25px;
    width: 25px;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    z-index: 5;
}
ul.form-radio li:hover .check {
    border: 5px solid var(--accent);
}
ul.form-radio li .check::before {
    display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 7px;
    width: 7px;
    top: 4px;
    left: 4px;
    margin: auto;
}
ul.form-radio input[type=radio]:checked ~ .check {
    border: 5px solid var(--accent-2);
}
ul.form-radio input[type=radio]:checked ~ .check::before{
    background: var(--accent-2);
}
ul.form-radio input[type=radio]:checked ~ label{
    color: var(--accent-2);
}

/* RX home */
.rxhome--particorpo {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    padding: 25px 0
}
.rxhome--particorpo div {
    flex-basis: 49%;
}
.rxhome--particorpo .rxhome--prezzo {
    margin-top: 25px;
}
.rxhome--particorpo select, .rxhome--particorpo textarea {
    width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    appearance: none;
    background: #e4f5ff;
    height: 500px;
}
.rxhome--particorpo textarea {
    height: 375px;
    font-size: var(--text-l);
    line-height: 32px;
    padding: 15px
}
.rxhome--particorpo p {
    margin-bottom: 5px;
    background: var(--accent-2);
    padding: 10px;
    color: var(--paper);
    font-weight: 600;
}
.rxhome--particorpo option {
    padding: 8px;
    margin: 8px 0;
    border-radius: var(--radius-s);
    border: 2px solid var(--accent-2);
    width: 48%;
    float: left;
    margin-left: 1%;
    cursor: pointer;
}
.rxhome--particorpo option:checked {
    background: var(--accent-2);
    color: var(--paper);
}
.rxhome--particorpo input {
    color: black;
    font-weight: 400;
    width: 100%;
    border: none;
    appearance: none;
    box-shadow: none;
    font-size: var(--text-2xl);
    font-weight: 400;
    background: #e5f6ff;
    padding: 20px 10px;
    line-height: 50px;
    height: 52px;
}

/* jQuery overwrite */
table.ui-datepicker-calendar {border-collapse: separate;}
.ui-datepicker-calendar td {border: 1px solid transparent;}

#ui-datepicker-div {display:none;}
.ui-datepicker table {
    table-layout: fixed;
}
.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
    width: 30%;
}
.ui-datepicker .ui-datepicker-calendar .ui-state-highlight a {
	background: #743620 none;
	color: white;
}
.ui-datepicker td span, .ui-datepicker td a {
    text-align: center;
    padding: 0
}
.ui-datepicker .ui-datepicker-buttonpane button {
    margin: 0;
    font-size: var(--text-xs);
    display: none
}
.ui-widget-header {
    background: var(--line)
}
.ui-datepicker .ui-datepicker-title {
    margin: 0;
    line-height: 30px;
    font-size: var(--text-m);
    text-align: center;
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    top: 0;
    width: 1.9em;
    height: 1.9em;
}
.ui-datepicker th {
    padding: 0.5em 0.25em
}
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus,
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    background: var(--line);
    border-color: var(--paper);
    padding: 8px
}
.ui-datepicker-calendar td {
    border: 0;
    padding: 0
}
.ui-widget-content {
    background: var(--paper);
}
.ui-datepicker .ui-datepicker-buttonpane {
    border: 0
}

@media (max-width: 1024px) {
    input#cerca {
        left: calc(100% - 92px) !important;
    }
}
@media (max-width: 1025px) {
    p#serviceDescription {
        font-size: var(--text-l);
    }
    .data--orario {
        align-items: flex-start;
        flex-direction: column;
    }
    span.alle {
        margin: 10px 0
    }
    .no-border td {
        width:100%;
        display: table-cell;
    }
    .table .performanceValidation, .table .summary {
        padding: 0;
        margin: 0;
        border: 0;
    }
    .table .performanceValidation .inner,
    .table .performanceValidation button#next_submit,
    .table .performanceValidation .inner button,
    .summaryNoPayment.controls .inner,
    .summaryNoPayment.controls .inner button {
        float: none !important;
    }
    .table .performanceValidation .inner button,
    .summaryNoPayment.controls .inner button{
        font-size: var(--text-m) !important;
    }
    .summaryNoPayment.controls .inner button {
        display: block;
        position: static;
        text-align: center;
        margin: 15px 0 0 0;
    }
    .performance.no-border {
        border: 0;
        padding: 0 10px 5px 10px;
    }
    .performanceValidation {
        text-align: center;
        display: flex;
        flex-direction: column-reverse;
    }
    .elenco-prestazioni table.items th {
        display: none
    }
    .elenco-prestazioni table.items tr {
        overflow-x: auto;
    }
    .elenco-prestazioni table.items td {
        display: block;
        width: 100%
    }
    td.button-column a {
        text-decoration: none;
        text-transform: capitalize;
        margin: 15px auto;
        display: inline-block;
        color: var(--paper);
    }
    .flex-container {
        flex-direction: column-reverse;
        place-items: stretch;
    }
    .summary.metodo {
        flex: 1 0 100%;
    }
    .summary.recap {
        flex: 1 0 100%;
        margin-bottom: 50px
    }
    a.hello {
        width: 100%;
    }
    button.hello {
        width: 100%;
    }
    table.registrazione-paziente, .info-paziente {
        width: 100%;
    }
    .elenco-prestazioni table.items td:nth-child(2) {
        text-align: left
    }
    .registrazione-paziente td, .info-paziente td {
        display: block;
        padding: 0;
    }
    .registrazione-paziente td:nth-child(1) label, .info-paziente td:nth-child(1) label {
        font-weight: 600;
    }
    .registrazione-paziente td:nth-child(2), .info-paziente td:nth-child(2) {
        padding-bottom: 20px;
    }
    .registrazione-paziente td input, .info-paziente td input, .info-paziente td select, .registrazione-paziente td select {
        padding: 10px;
        font-size: var(--text-s);
        font-weight: normal;
    }
    .modal-users {
        width: calc(100% - 30px)
    }
    .modal-users #caption {
        font-size: var(--text-xl);
        line-height: 30px;
        margin: 0 auto;
    }
    div.text p {
        font-size: var(--text-s);
        line-height: 18em;
        margin-bottom: 10px !important;
    }
    /* GVM */
    body.gvm {
        overflow: auto;
    }
    .gvm #cst-main {
        background: var(--paper)
    }
    .gvm .no-logged {
        width: 95%
    }
    .gvm header {
        border-radius: 0
    }
    .registrazione-gvm {
        padding: 25px
    }
    .registrazione-gvm h3, .registrazione-gvm h4 {
        font-weight: normal;
    }
    .registrazione-gvm h3 {
        font-size: var(--text-m);
        line-height: 22px;
        margin-bottom: 20px
    }
    .registrazione-gvm h4 {
        font-size: var(--text-s);
        line-height: 18px;
    }
    .registrazione-gvm .form {
        padding: 0
    }
    .registrazione-gvm div.text p {
        font-size: var(--text-s);
        line-height: 18px;
        color: #656565;
    }
    .registrazione-gvm div.text p.small {
        font-size: var(--text-xs);
        line-height:14px;
    }
    .gvm--menu {
        display: flex;
        flex-direction: row;
        border-radius: 0 0 var(--radius-m) var(--radius-m);
        background: var(--paper);
    }
    .gvm--menu.profile--dropdown a {
        border-right: 1px solid var(--line-2);
        padding: 10px 5px 10px 10px;
        background: none;
        flex-direction: row;
        color: var(--ink-2);
    }
    .gvm--menu.profile--dropdown a span {
        margin-left: 0;
    }
    .gvm .profile--dropdown a svg, .gvm .profile--dropdown a img {
        height: 14px;
        margin: 0;
        margin-right: 7px
    }
    .gvm--menu.profile--dropdown a:last-child {
        border-right: 0
    }
    td.button-column img {
        width: 70px;
    }
    .breadcrumbs {
        text-align: left;
        background: var(--tint-accent-2);
        padding: 8px;
    }
    .select--city h3 {
        font-size: var(--text-2xl);
    }
    .CGridViewContainer, #service-grid.gridview {
       width: 100%;  overflow: auto;
    }
    #service-request-patient-grid {
        overflow: auto;
    }
    div#service-grid {
      overflow: auto;
    }
    table.items, div#service-request-grid {
        overflow-x: auto;
    }

    /* registrazione paziente */
    .patient-registration .logos {
        align-items: center;
        flex-direction: column-reverse;
    }
    .patient-registration .flag {
        margin-top: -35px;
        margin-bottom: 25px;
    }
    .patient-registration > div {
        padding: 0 20px
    }
    .patient-registration #content {
        padding-top: 0;
    }
    .patient-registration {
        padding: 0 15px 250px 15px;
    }
    .patient-registration a.logo {
        padding: 15px 0 0 0;
        margin: 0 auto;
        display: block;
    }
    .patient-registration .contenuti-registrazione h2 {
        margin-bottom: 0px;
    }
    #content .form {
        padding: 0;
        margin: 0;
        margin-top: 25px;
    }
    .patient-registration .form h1 {
        display: none;
    }
    .patient-registration .form {
        width: 100%;
        max-width: 100%;
        position: relative;
        margin-top: 80px;
        padding: 15px;
        order: 3;
        box-shadow: none
    }
    .patient-registration #Customer_identity {
        justify-content: space-between;
    }
    .ambimed .patient-registration .form {
        position: static;
    }
    .patient-registration .text p {
        font-size: var(--text-xs);
        line-height: 1.5em;
    }
    .patient-registration .contenuti-registrazione {
        padding-top: 30px;
    }
    .patient-registration .contenuti-registrazione h1, .patient-registration .contenuti-registrazione h2 {
        line-height: 1.25em
    }
    .patient-registration .contenuti-registrazione h2 {
        line-height: 1.3em;
    }
    .patient-registration .sfondo-registrazione {
        height: 450px;
        width: calc(100% + 20px);
        margin: 25px -10px;
        background-position: top center;
        position: absolute;
        top: 0;
        z-index: 0;
    }
    .patient-registration .sfondo-registrazione:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0,0,0,0.75);
        background-image: linear-gradient(45deg, rgba(var(--accent-rgb),0.35) 0%, rgba(var(--accent-2-rgb),0.35) 100%);
    }
    .patient-registration .registrazione-paziente td, .patient-registration .info-paziente td {
        padding: 0 0 1em 0;
        display: flex;
        flex-direction: column;
    }
    body.ambimed #content {
        display: flex;
        flex-direction: column;
    }
    .ambimed .patient-registration .contenuti-registrazione {
        order: 1;
        padding-top: 20px
    }
    .ambimed .patient-registration .sfondo-registrazione {
        height: 200px;
        width: calc(100% + 30px);
        margin: 0;
        background-position: top center;
        position: relative;
        order: 2;
        margin: 25px -15px 0 -15px;
    }
    .ambimed .patient-registration .sfondo-registrazione:before {
        content: normal;
    }
    .ambimed .patient-registration h1 {
        margin-bottom: 0.3em
    }
    .ambimed .contenuti-registrazione.ambimed h2 {
        color: var(--ink-3);
        margin-bottom: 10px
    }
    .ambimed .patient-registration {
        order: 3
    }
    .patient-registration .sfondo-ambimed .icone-ambimed {
        display: none;
    }
    .patient-registration .sfondo-ambimed .viaggiosicuro {
        width: 150px;
        left: 50%;
        top: 100%;
        transform: translate(-50%, -50%);
    }
    img.logo-abbott {
        margin: 25px auto;
    }
    .logo--container {
        border-bottom: 1px solid #ffffff5e;
    }
    .profile--dropdown a:hover {
        padding: 20px 5px 20px 15px
    }
}
@keyframes fadeout {
    1% {
        opacity: 1;
        top : 0px;
    }
    70% {
        opacity: 1;
        top : 0px;
    }
    100% {
       opacity: 0;
       top: -104px;
    }
}
.newmodal {
    position: fixed;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    padding: 25px;
    color: var(--paper);
    background: var(--accent);
    z-index: 99;
    text-align: center;
    line-height: 1.5em;
    font-weight: 400;
    font-size: var(--text-l);
    opacity: 0;
    animation: fadeout 6s;
    box-shadow: 0px 6px 20px -8px #003658;
}
.newmodal.fixed {
    animation: none;
    opacity: 1;
    top: 50%;
    transform: translate(-50%, -50%);
}
.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 3;
    display: none
}
/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: visible;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
}
.loading.visible {
    display: block;
}
/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--accent-rgb), 0.88);;
}
.loading:not(:required) {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}
.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    animation: spinner 1500ms infinite linear;
    border-radius: 0.5em;
    box-shadow: rgba(var(--accent-rgb), 0.75) 1.5em 0 0 0, rgba(var(--accent-rgb), 0.75) 1.1em 1.1em 0 0, rgba(var(--accent-rgb), 0.75) 0 1.5em 0 0, rgba(var(--accent-rgb), 0.75) -1.1em 1.1em 0 0, rgba(var(--accent-rgb), 0.75) -1.5em 0 0 0, rgba(var(--accent-rgb), 0.75) -1.1em -1.1em 0 0, rgba(var(--accent-rgb), 0.75) 0 -1.5em 0 0, rgba(var(--accent-rgb), 0.75) 1.1em -1.1em 0 0;
}
@keyframes spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.flash-success {
    background-color: var(--tint-accent);
    padding: 25px;
    color: var(--accent-2);
    font-weight: 600;
    display: table;
    margin-bottom: 50px;
    font-size: var(--text-2xl);
    border-radius: var(--radius-s);
}
.form-controlList {
    display: block;
    width: 60%;
    height: 40px;
    padding: 10px 10px;
    font-size: var(--text-s);
    line-height: 1.42857;
    color: var(--ink-2);
    background-color: var(--paper);
    background-image: none;
    border: 1px solid var(--line-2);
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.form-controlListDisplay {
    display: block;
    width: 35%;
    height: 140px;
    overflow-y: scroll;
    padding: 10px 10px;
    font-size: var(--text-s);
    line-height: 1.42857;
    color: var(--ink-2);
    background-color: var(--paper);
    background-image: none;
    border: 1px solid var(--line-2);
    border-radius: 4px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.form-controlListDisplay:focus {
    border-color: var(--accent);
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(var(--accent-rgb), 0.35);
}

.leftSspaceLabel {
    margin-left: 0.5em;
}

.form-ambimed h2 {
    font-size: var(--text-4xl);
    color: var(--psp-ambimed-2);
    margin-bottom: 10px;
}
.risultati-ambimed h2 {
    font-size: var(--text-2xl)
}
.form-ambimed h3 {
    font-weight: normal;
}
.risultati-ambimed {
    margin-top: 50px;
    padding-top: 50px;
    border-top: 2px solid var(--accent);
}
.contenitore-ricerca-ambimed {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 25px
}
.contenitore-ricerca-ambimed > div {
    flex: 1 0 auto;
    margin-right: 30px
}
.contenitore-ricerca-ambimed input.form-control {
    padding: 20px;
    font-weight: normal;
    font-size: var(--text-m);
}
.patient-registration .contenitore-ricerca-ambimed label {
    font-size: var(--text-s);
}
.risultati-ambimed a {
    display: block;
    border: 2px solid var(--accent);
    margin: 0 0 25px 0;
    padding: 20px;
    font-weight: 600;
    background: var(--paper);
    position: relative;
    border-radius: var(--radius-m);
}
.risultati-ambimed a img {
    position: absolute;
    display: block;
    right: 15px;
    top: 50%;
    transform: translate(0, -50%);
}
.risultati-ambimed a:hover {
    border: 2px solid var(--accent-2);
    transform: translateY(2px);
    color: var(--accent-2)
}
.risultati-ambimed a span {
    display: block;
    font-size: var(--text-s);
    color: var(--ink-2);
    line-height: 1em;
    font-weight: normal;
}
.contenuti-registrazione.ambimed h1 {
    color: var(--psp-ambimed-2);
    font-size: var(--text-4xl)
}
.contenuti-registrazione.ambimed h2 {
    color: var(--ink-3)
}
.contenitore-ricerca-ambimed + p {
    font-size: var(--text-xs);
    font-style: italic;
    color: var(--ink-3);
    margin-top: 5px;
}
.pharmacy h3 {
    margin: 25px auto 10px auto;
}
a#searchPharmacy {
    display: table;
    margin: 10px 0 25px 0;
    text-decoration: underline;
    color: var(--accent-2);
    font-size: var(--text-s);
    font-weight: 600;
    cursor: pointer;
}
.otp {
    z-index: 999999;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: none
}
.otp .container {
    width: 94%;
    padding: 50px 25px;
    border-radius: var(--radius-m);
    max-width: 700px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
}
.otp .otp-inputs {
    margin: 25px auto;
}
.otp .digit-otp {
    transition: none;
    width: 64px;
    height: 64px;
    text-align: center;
    background: var(--tint-accent-2);
    border-radius: var(--radius-s);
    font-size: var(--text-4xl);
    font-weight: 600;
    border: 1px solid #d4e7ff;
}
.otp-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 2px solid var(--line-2);
}
.otp-box input[type="text"] {
    margin-bottom: 10px;
}
.otp-box  .otp-box-buttons {
    display: flex;
    flex-direction: row;
    column-gap: var(--space-2);
    align-items: center;
}
.otp-box  .otp-box-buttons span {
    display: none;
}

@media (max-width: 1025px) {
    .otp .container {
        width: 92%;
        padding: 25px;
        max-width: none;
    }
    .otp .digit-otp {
        width: 60px;
        height: 60px;
        font-size: var(--text-3xl)
    }
    .contenitore-ricerca-ambimed {
        flex-direction: column;
        align-items: stretch;
    }
    .registrazione-paziente input[type="submit"], .registrazione-paziente button#next_submit, .registrazione-paziente input[type="button"], .registrazione-paziente input#submitBtn {
        padding: 12px 25px;
        margin: 15px 0 0 0;
        font-size: var(--text-2xl)
    }
    .risultati-ambimed a span {
        width: 92%;
        overflow: hidden;
    }
    .contenuti-registrazione.ambimed h1 {
        font-size: 1.8rem
    }
    .contenuti-registrazione.ambimed h2 {
        color: var(--paper)
    }
    .registrazione-paziente.otp {
        display: block;
        position: static;
        background: none;
    }
    .registrazione-paziente.otp .container {
        position: static;
        padding: 0;
        background: none;
        width: 100%;
        max-width: none;
        transform: none;
        border-radius: none;
    }
    .registrazione-paziente.otp .container .otp-inputs {
        margin: 0 auto 25px auto;
        padding: 0;
        display: flex;
        justify-content: space-between;
    }
    .registrazione-paziente.otp .container .otp-inputs .digit-otp {
        width: 56px;
        height: 56px;
        font-size: var(--text-3xl);
        background: var(--paper);
    }
}

/* calendario */
.fc-v-event, .fc-event-main {
    border-radius: 0;
    border: 0;
}

.postilla-profilo {
    margin-top: 5px;
    font-size: var(--text-s);
    color: var(--ink-2);
    font-style: italic;
}
.postilla-profilo a {
    color:#001489;
}
.fc .fc-timegrid-slot {
    height: 3em
}
@media (max-width: 1025px) {
    .fc .fc-toolbar {
        flex-direction: column;
    }
    .fc-toolbar-chunk {
        margin-bottom: 10px
    }
}
/* tabella abbott infermieri */
@media (max-width: 1025px) {
	.abbott--infermiere table, .abbott--infermiere thead, .abbott--infermiere tbody, .abbott--infermiere th, .abbott--infermiere td, .abbott--infermiere tr {
		display: block;
	}
    .abbott--infermiere table.items th, .abbott--infermiere table.items td {
        /* display: flex; */
        text-align: left;
        padding: 8px 0px;
    }
    .abbott--infermiere .data-heading {
        display: none
    }
	.abbott--infermiere thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	.abbott--infermiere tr {
        background: #e4eefa;
        padding: 10px 15px;
        border-radius: var(--radius-m);
        border: 0 !important;
        margin-bottom: 25px;
    }
	.abbott--infermiere td {
        border: none;
        border-bottom: 1px solid var(--line-3);
        position: relative;
        text-align: left;
        text-transform: capitalize;
	}
	.abbott--infermiere td:before {
        height: 100%;
        display: block;
        margin-bottom: 5px;
        text-align: left;
        white-space: nowrap;
        font-weight: 600;
	}
    .abbott--infermiere td:nth-of-type(1):before { content: "ID Prestazione"; }
	.abbott--infermiere td:nth-of-type(2):before { content: "centro"; }
    .abbott--infermiere td:nth-of-type(3):before { content: "indirizzo"; }
	.abbott--infermiere td:nth-of-type(4):before { content: "data"; }
    .abbott--infermiere td:nth-of-type(5):before { content: "ora"; }
    .abbott--infermiere td:nth-of-type(6):before { content: "durata"; }
    .abbott--infermiere td:nth-of-type(7):before { content: "carica"; }
}
p.powered {
    text-align: center;
    margin-top: 25px;
    font-size: var(--text-s);
    color: var(--paper);
}
p.powered img {
    display: inline-block;
    width: 100px;
    margin-left: 5px;
}

/* cst-style merge --- to clean */
label {
  font-size: var(--text-s);
  margin: 0;
  color: var(--ink);
  line-height: initial;
  display: block;
  margin-bottom: 3px;
}
.panel {
  border-radius: 0px;
}
.cst-oneHour {
  height: auto;
  border-left: solid 1px var(--accent);
  border-right: solid 1px var(--accent);
  padding: 0px;
  margin: 0px;
  margin-top: 7px;
}
.cst-oneHour .cst-halfHour {
  height: 20px;
  border: solid 1px var(--paper);
  background-color: var(--accent);
  padding: 0px;
  margin: 0px;
}
.cst-oneHour .cst-halfHour:hover {
  background-color: #b5ebe5;
}
.cst-hours {
  font-size: var(--text-xs);
  text-align: center;
  padding: 0px;
  font-size: var(--text-xs);
  font-weight: 400;
}
.cst-rowTitle {
  background-color: var(--accent);
  font-weight: 400;
  color: var(--paper);
}
.cst-row {
  background-color: var(--paper);
  border-top: 1px solid var(--accent);
  color: var(--accent);
  font-size: var(--text-s);
  line-height: 30px;
  height: 30px;
}
.cst-row:hover {
  background-color: var(--accent);
  color: var(--paper);
  border-top: 1px solid var(--paper);
}
.col-form {
  padding-left: 0px;
  margin-left: 0px;
}
.cst-homeBtn {
  position: relative;
  overflow: hidden;
}
.cst-homeBtn1 {
  position: relative;
  overflow: hidden;
}
.cst-homeBtn2 {
  position: relative;
  overflow: hidden;
}

.cst-homeBtnPatient {
    position: relative;
    overflow: hidden;
}
.cst-choiceBtn {
    position: absolute;
    /*  top: 20px;*/
    padding-top: 20px;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    height: 180px;
    display: none;
    text-align: center;
    color: var(--paper) !important;
    z-index: 2;
}
.cst-choiceBtn a {
    color: white;
    text-decoration: none;
}
.cst-choiceBtn a:hover {
    color: #4E9690;
    text-decoration: none;
}
.cst-bgBtn h1 {
    font-weight: normal;
    font-style: normal;
    font-size: 35px;
    padding-top: 0px;
    /*padding-bottom: 10px;*/
    color: var(--paper);
    text-align: center;
    width: 100%;
    margin-bottom: 0px;
}
.cst-choiceBtnDet {
    font-size: var(--text-xs);
    font-weight: normal;
    line-height: 50px;
    font-style: normal;
    color: white;
    text-align: left;
    text-transform: none;
    text-decoration: none;
    background: var(--accent);
    height: 60px;
    margin-top: 2%;
    text-align: center;
    font-size: 35px;
    color: var(--paper) !important;
}
.cst-choiceBtnDet a.cst-link {
  line-height: 50px;
  align-content: center;
}


.searchForm, .collapsed {
  width:500px;
  margin:20px;
  width:230px;
  position:relative;
  background-color:#E0E0E0;
  padding:20px;
  float:left;
  height:30px;
  box-shadow:-8px 8px 20px -6px #000;
  border-bottom-left-radius: 40px;
}
.cst-bgBtn {
    background: var(--accent);
    height: 180px;
    display: flex;
    align-items: center;

}
.expanded{
  height:160px;
}

.img-responsive {
    max-height: 20px;
}
/* ==========================
   Search Box
   ========================== */

.searchTerm:focus {
    width: 175px;
    background-color:var(--paper);
    opacity:1;
    box-shadow:1px 1px 9px rgba(0,0,0,0.85);
    font-weight:600;
}

.searchTerm{
    padding: 5px 10px;
    background:var(--line-2);
    color:var(--ink-2);
    border: 0;
    width: 150px;
    border-radius: var(--radius-s);
    box-shadow: 1px 1px 5px rgba(0,0,0,0.65);
    outline: 0;
}

.searchBtn {
    border: 0;
    position: absolute;
    width: 38px;
    cursor: pointer;
    margin: 2px -38PX;
    border-left: 2px solid skyblue;
    height: 26px;
    font-weight: 600;
    font-size: var(--text-xs);
    background-color: #f6f5ef;
    color:#009F8A;
    border-radius:0px var(--radius-s) var(--radius-s) 0px;
}

/* ==========================
   tooltip/hover popup
   ========================== */

.suggestionBox {
display:none;
background-color:white;
color: #3b3835;
border: 1px solid rgba(0,0,0,0.3);
border-top: 0;
float: left;
left: 0;
list-style: none;
margin: 20px;
padding: 8px;
position: absolute;
top: 31px;
width: 180px;
z-index: 1000;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.suggestionBox:before {
content: '';
display: inline-block;
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid var(--paper);
position: absolute;
top: -7px;
left: 9px;
}

.searchForm:nth-child(2){
 background-color:var(--paper);
}

.searchForm:nth-child(2) .suggestionBox{
background:skyblue;
color:white;
}

.searchForm:nth-child(2) .suggestionBox::before {
  border-bottom: 7px solid skyblue;
}

.searchForm:nth-child(3){
 background-color:gray;
}

.searchForm:nth-child(3) .suggestionBox{
background:beige;
color:black;
}

searchForm:nth-child(3) .suggestionBox::before {
  border-bottom: 7px solid beige;
}

.searchForm:nth-child(4){
 background-color:var(--ink-2);
}

.searchForm:nth-child(4) .suggestionBox{
background:#859ce6;
color:white;
}

.searchForm:nth-child(4) .suggestionBox::before {
  border-bottom: 7px solid #859ce6;
}

#cst-logo img {
    width: 250px;
    display: block;
    padding: 0;
    height: auto;
    margin: 0 auto 35px auto;
}
.Pharmacy td {
    padding-right: 25px
}
hr.divider{
    display: none;
}
hr {
    /* Era 'border: 1px solid': su un hr disegna il bordo su tutti e quattro i
       lati, quindi non una riga ma una scatola sottile, che a schermo si legge
       come una doppia linea. Un separatore è un filetto solo, e il colore ora
       è quello delle righe invece di un azzurro rimasto dalla vecchia palette. */
    border: 0;
    border-top: 1px solid var(--line);
    margin: 25px 0;
    width: 100%;
}
img.logo-dante {
    max-width: 150px;
    margin-bottom: 35px;
}
.alert-hilti {
    background: var(--err);
    color: var(--paper);
    width: 100%;
    padding: 15px;
    margin-top: 25px;
}
.cap-hilti {
    text-align: center;
    padding: 25px 15px;
    background: #e5f6ff;
}
.cap-hilti h3 {
    color: var(--ink);
    text-align: center;
    margin-bottom: 1em;
}
.cap-hilti input {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}
.login {
     position: relative;
     width: 100%;
     height: 100vh;
}
.login--logo {
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: end;
}
.login--logo img {
    margin: 0 auto;
    width: 200px;
    max-width: 200px;
}
 .login .login--wrap {
    box-sizing: border-box;
    position: absolute;
    width: 100%;
    max-width: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
 .login--slide {
     position: relative;
     background: var(--paper);
     border-radius: var(--radius-m);
     padding: 35px 25px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-2);
}
.box--registrati {
     display: none;
}
 .login.registrati .box--registrati {
     display: flex;
     flex-direction: column;
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: var(--paper);
     padding: 25px 20px;
     border-radius: var(--radius-m)
}
.login.registrati .box--registrati svg {
    height: 60px;
    max-width: 90px;
    display: none
}
.login.registrati .box--registrati h2 {
    text-align: center;
}
.login.registrati .box--registrati > div {
    box-sizing: border-box;
    text-align: center;
    position: relative;
}
.login.registrati .box--registrati > div a:hover {
    color: var(--accent-2)
}
.login.registrati .box--registrati .flex-100 {
    flex: 0 1 100%;
}
.login.registrati .box--registrati .flex-100 svg {
    height: 90px;
    max-width: 120px
}
.seleziona {
    display: flex;
    flex-direction: column;
}
.seleziona a {
    font-size: var(--text-l);
    color: var(--ink-2);
    font-weight: 600;
    display: block;
    padding: 25px;
    box-sizing: border-box;
    border-radius: var(--radius-s);
    cursor: pointer;
    background: var(--tint-accent-2);
    margin-bottom: 10px;
}
 .seleziona a:hover {
     background: var(--accent);
     color: var(--paper);
}
 .seleziona a:hover path {
     fill: var(--paper);
}
 .seleziona + h3 {
     clear: both;
     text-align: center;
}
.seleziona svg, .seleziona img {
     height: 90px;
     width: auto;
     margin-bottom: 15px;
}
 .box--login h2, .box--registrati h2, .box--scelta h2 {
     font-size: var(--text-3xl);
     font-weight: 700;
     color: var(--ink);
     margin-bottom: 15px;
     text-align: left;
}
 .box--login input[type=text], .box--login #pass, .box--login #pass2 {
     width: 100%;
     border: 0;
     font-size: var(--text-m);
     font-weight: 400;
     display: block;
     padding: 15px 20px;
     box-sizing: border-box;
     border-radius: var(--radius-m);
     margin-bottom: 10px;
     border: 2px solid var(--tint-accent-2)
}
.box--login input::placeholder {
     color: rgba(0,0,0,0.2);
}
 .box--login input:focus{
     outline: none
}
 .box--login label {
     display: none;
     margin-bottom: 3px;
     color: var(--line-2);
}
 .login--buttons, .seleziona {
     margin-top: 10px;
     padding-bottom: 20px;
     border-bottom: 2px solid var(--line-3);
}
 .login-forgottenpsw {
     display: block;
     color: var(--accent);
     text-align: left;
     font-weight: 400;
     font-size: var(--text-xs);
     margin-bottom: 10px;
}
 .login--accedi {
     display: table;
     box-sizing: border-box;
     background: var(--accent);
     background-color: var(--accent);
     color: var(--paper);
     padding: 10px 20px;
     border-radius: 8px;
     font-size: var(--text-l);
     margin: 15px auto 0 auto;
     font-weight: 600;
}
 .login--accedi:hover {
     transform: translateY(2px);
     background: var(--accent-2);
     cursor: pointer;
}
.login--registrati {
     text-decoration: underline;
     cursor: pointer;
}
 .box--login h3, .box--scelta h3 {
     margin-top: 15px;
     font-size: var(--text-s);
     color: var(--accent);
     text-align: center;
}
 .box--login h3 a, .box--scelta h3 a {
    color: var(--accent);
    text-decoration: underline;
 }
 .box--login h3 a:hover {
     color: var(--accent-2)
 }
 .registrati--ruolo {
     display: block;
     padding: 25px;
}
 .registrati--ruolo:hover {
     color: var(--paper)
 }
 .registrati--ruolo img {
     height: 100px;
     width: auto;
     display: block;
     margin: 0 auto
}
 .registrati--ruolo:nth-child(5) img {
     width: 100%;
     height: auto
}
.professionista--click {
    display: table;
    cursor: pointer;
    font-size: var(--text-s);
    font-weight: 600;
    margin: 20px auto 0 auto;
    text-align: center;
    background: var(--accent-2);
    padding: 10px 15px;
    border-radius: 8px;
    color: var(--paper);
}
.professionista--click:hover {
    background: var(--paper);
    color: var(--accent)
}
.successMessage {
    display: inline-block;
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background: var(--accent);
    color: var(--paper);
    font-size: var(--text-s);
    font-weight: 600;
    line-height: 18px;
}
.errorMessage {
    box-sizing: border-box;
    padding: 10px;
    background: var(--err);
    color: var(--paper);
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 18px;
    margin: 5px 0 20px 0;
}
.errorMessage a {
    color: var(--paper);
    text-decoration: underline;
}
.input--password {
    position: relative;
}
.showPassword {
    color: var(--accent);
    font-weight: 400;
    position: absolute;
    right: 45px;
    bottom: 214px;
    display: block;
    cursor: pointer;
    font-size: var(--text-xs);
    padding: 0;
    background: none;
    border: 0;
    width: 24px;
}
.registrationFormAlert {
    margin-top: 5px;
}
.prest {
    font-size: var(--text-xl);
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
    padding-top: 10px;
}
.prest-sec {
    display: block;
    margin-bottom: 10px;
}
 @media (max-width: 960px) {
    .registrati--ruolo svg {
         max-width: 80px;
    }
    .cral--section .login--logo img, .abbott .login--logo img {
        margin: 0 auto 20px auto;
    }
     .login {
         height: auto;
         min-height: 100vh;
    }
    .login--slide {
        padding: 25px 20px;
    }
    .login .login--wrap {
        position: static;
        width: 90%;
        transform: none;
        margin: 0 auto;
        padding-top: 25px
    }
    .login--logo a {
         padding: 15px 0 0px 0;
    }
    .login--logo img {
        width: 200px;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    .box--login h2, .box--registrati h2, .box--scelta h2 {
        font-size: var(--text-2xl);
        margin-top: 25px
    }
     .login--accedi {
         display: table;
         float: none;
         margin: 25px auto 0 auto;
    }
    .seleziona a.login--paziente {
        border: 0;
    }
    .login.registrati .box--registrati > div svg, .login.registrati .box--registrati .flex-100 svg {
        height: auto;
        width: 75px;
        max-width: none;
        margin-right: 20px;
    }
    .registrati--ruolo {
         padding: 10px;
    }
    a.registrati--ruolo div {
        display: flex;
        align-items: center;
    }
    .registrati--ruolo svg {
         max-height: 70px;
         max-width: 100px;
    }
    .seleziona svg, .seleziona img {
        margin-bottom: 10px;
        height: 70px
    }
    .login-forgottenpsw {
        font-size: var(--text-xs);
        font-size: normal;
    }
    .login--accedi {
        padding: 10px 24px;
        font-size: var(--text-l);
   }
   .errorMessage {
       padding: 8px 10px;
       font-size: var(--text-xs);
       line-height: 1.2em;
   }
   .showPassword {
       text-align: right;
       font-size: var(--text-xs);
       top: auto;
       bottom: 202px;
       right: 35px
   }
   .registrati--ruolo h4 {
       font-size: var(--text-m);
   }
}

/* fixes andrea */
@media (max-width: 1025px) {
    h1 {
        font-size: var(--text-2xl);
        line-height: 1em;
        margin-bottom: 15px
    }
    /* Senza questo gradino l'h2 mobile (26.4px) supererebbe l'h1 (22.4px). */
    h2 {
        font-size: var(--text-xl);
        margin-bottom: 15px
    }
  #cst-logo {
      width: 90%;
      display: block;
      margin: 20px auto 40px auto;
  }
  #logo {
    width: 100%;
    height: auto;
  }
  .cst-bgBtn {
    margin-bottom: 15px
  }
  .cst-bgBtn h1 {
    font-weight: 400;
    font-size: var(--text-3xl);
    line-height: 1em;
  }
  .cst-choiceBtn a {
    font-weight: 400
  }
  .cst-narrow-content {
    padding: 0 10px
  }
  label {
      font-size: var(--text-m);
      font-weight: normal;
  }
  input[type=text] {
    max-width: 100%
  }
  #form_table td, #user-form td {
    width:100%;
    display: block;
    clear: both;
  }
  #form_table .admin-table td, #user-form .admin-table td {
    width:100%;
    display: table-cell;
  }
  table.items th {
    display: none
  }
  .form-controlList {
    float: none;
    width: 100%;
  }

  .tabella-sandoz td, .tabella-sandoz table.items tr td:first-child, .tabella-sandoz table.items tr td {
    text-align: left;
  }
  .tabella-sandoz table.items td {
    padding:10px;
  }
  .tabella-sandoz table.items td:before {
    display: block;
    margin-bottom: 3px;
    color: var(--ink);
    font-weight: 600;
    vertical-align: middle;
  }
  .tabella-sandoz table.items td:nth-child(1):before {
    content: "ID Prestazione";
  }
  .tabella-sandoz table.items td:nth-child(2):before {
    content: "Paziente";
  }
  .tabella-sandoz table.items td:nth-child(3):before {
    content: "Cellulare";
  }
  .tabella-sandoz table.items td:nth-child(4):before {
    content: "Modalità";
  }
  .tabella-sandoz table.items td:nth-child(5):before {
    content: "Indirizzo";
  }
  .tabella-sandoz table.items td:nth-child(6):before {
    content: "Data e ora";
  }
  .tabella-sandoz table.items td:nth-child(7):before {
    content: "";
  }
  .tabella-sandoz table.items td:nth-child(8):before {
    content: "Penna";
  }
  .tabella-sandoz table.items td:nth-child(9):before {
    content: "Dosaggio";
  }
  .tabella-sandoz table.items td:nth-child(10):before {
    content: "Frequenza";
  }
  .tabella-sandoz table.items td:nth-child(11):before {
    content: "Piano terapeutico";
  }
  .tabella-sandoz table.items td:nth-child(12):before {
    content: "Modifica training";
  }
  .tabella-sandoz table.items td:nth-child(13):before {
    content: "Stato prestazione / Azioni";
  }
  .tabella-sandoz table.items .button-column a.edit-pen {
    margin: 0;
    padding: 0;
  }
  .tabella-sandoz table.items .button-column a.btn {
    margin: 0
  }



  #selectedProvincia {
    margin: 0;
    width:100%;
    float: none
  }
  [id*="checkBox"] {
    margin: 10px 10px 0 0 !important
  }
  label.leftSspaceLabel {
      margin-right: 25px;
  }
  #user-form-pharmacy {
    font-size: var(--text-s);
    line-height: 1em;
  }
}
input.doc_checkbox {
  height: 24px;
  width: 24px;
  position: relative !important;
  opacity: 1 !important;
  cursor: pointer !important;
  border: 0;
  border: none;
  appearance: none;
}
input.doc_checkbox:after{
  content: ' ';
  display: block;
  background: #ffeb3b;
  pointer-events: none;
  font-size: var(--text-s);
  position: absolute;
  top: 0;
  left: 0;
  height: 24px;
  width: 24px;
  line-height: 24px;
  border: 1px solid #a1a1a1;
  border-radius: 20px;
}
input.doc_checkbox:checked:after{
  background-color: var(--accent);
  background-position: 0 0;
  content: "\2713";
  color: var(--paper);
  text-align: center;
}
input.doc_checkbox:hover:after{
  border-color: #888888;
}
span#ServiceRequest_xrayService {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 0;
}
#ServiceRequest_xrayService input[type="radio"] {
    padding: 0;
    width: 30px;
    height: 30px;
    margin: 0 5px 0 0;
}
/* spedizioni sandoz */
.form.nuova--spedizione, .form.nuova--spedizione > form {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--space-2);
  width:100%;
}
.max-width-1200 {
  max-width: 1200px !important;
  margin: 0 auto;
}
.width-25 {
  flex: 1 1 24%;
  display: flex;
  flex-direction: column;
}
.width-33 {
  flex: 1 1 32%;
  display: flex;
  flex-direction: column;
}
.width-50 {
  flex: 1 1 49%;
  display: flex;
  flex-direction: column;
}
.width-66 {
  flex: 1 1 65%;
  display: flex;
  flex-direction: column;
}
.width-75 {
  flex: 1 1 74%;
  display: flex;
  flex-direction: column;
}
.width-100 {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
}
.width-100-vertical {
    flex: 1 1 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.break {
    flex: 1 1 100%;
}
form#help-form {
    display: flex;
    flex-wrap: wrap;
    column-gap: var(--space-2);
}
.no-grow {
    flex-grow: 0;
    width: auto;
    flex-basis: auto;
}
.dettagli--ordine {
  display: flex;
  flex: 1 0 100%;
  margin-top: 25px;
  margin-bottom: 25px
}
.seleziona--prodotti {
  display: flex;
  flex-direction: column;
  margin-right: 50px;
}
.seleziona--prodotti h5 {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
  margin-bottom: 0px
}
.prodotto {
  display: flex;
  flex-wrap: wrap;
}
.number{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}
span.nd {
  width: auto;
  font-weight: 600;
  font-size: var(--text-xs);
  margin-left: 5px;
  text-align: right;
  padding: 5px;
  border-radius: var(--radius-s);
  background: var(--err);
  color: var(--paper)
}
/* Badge promozione a pezzi omaggio (es. 2x1) accanto al nome del prodotto */
span.promo {
  width: auto;
  font-weight: 600;
  font-size: var(--text-xs);
  margin-left: 5px;
  text-align: right;
  padding: 5px;
  border-radius: var(--radius-s);
  background: var(--accent);
  color: var(--paper)
}
span[class*="minus"], span[class*="plus"]{
  width: 30px;
  height: 30px;
  border-radius: 100px;
  text-align: center;
  line-height: 27px;
  color: var(--paper);
  font-weight: 600;
  font-size: var(--text-2xl);
  cursor: pointer;
}
span[class*="minus"] {
  background: #FFC5C5;
}
span[class*="plus"]{
  background: #8BDA89;
}
span[class*="minus"]:hover {
  background: #E89191;
}
span[class*="plus"]:hover {
  background: #43B840;
}
.quantity, .kit {
  text-align: center;
  font-size: var(--text-xl);
  border: 1px solid var(--line);
  height: 34px;
  width: 34px;
  margin: 0 10px;
  border-radius: var(--radius-s);
  padding: 0;
}
.manual-price {
  width: 180px;
  text-align: right;
  margin-left: 15px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 0 8px;
  font-size: var(--text-s);
}
.product{
  margin-left: 10px;
  display: flex;
}
.product label {
  margin: 0
}
.form.nuova--spedizione > form .submit-registrati {
  flex-basis: 100%;
  margin: 15px 0 25px 0;
  display: flex;
  align-items: center;
  column-gap: 25px;
}
table.items td.dettagli {
  text-align: left;
  font-weight: 600;
  line-height: 16px
}
.bookingDoc-firstStep, .bookingDoc-firstStepBis, .bookingDoc-secondStep, .bookingDoc-thirdStep {
    display: none;
}
.steps {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 15px;
    margin-bottom: 30px;
}
.steps > div {
    padding: 15px;
    background: var(--line);
    color: #bbb;
    font-weight: 600;
    border-radius: var(--radius-m);
}
.steps > div.current {
    background: var(--accent-2);
    color: var(--paper);
}
.steps > div.done {
    background: var(--accent);
    color: var(--paper);
}
/* modal from login pages */
.modal {
    width: 95%;
    display: none;
    position: absolute;
    padding-top: 50px;
    top: 50%;
    left: 50%;
    min-height: 150px;
    background-color: var(--paper);
    z-index: 9999;
    transform: translate(-50%, -50%);
}
.warning {
	margin: auto;
	width: 70px;
	margin-top: 40px;
	padding: 5px 0;
	height: 200px;
	margin-left: 10%;
	float: left;
	background: url("/images/warning.png") no-repeat;
}
.caption {
    text-align: center;
    display: block;
    margin: 0 auto;
    width: 80%;
    font-size: var(--text-l);
    font-weight: 600;
    line-height: 1.2em;
}
.container {
	width: auto;
}
.containers {
	width: 20%;
}
input.btn--selectAll {
    display: inline-block;
    font-size: var(--text-s);
    background: var(--line-2);
    margin: 0 15px 15px 0;
    color: var(--ink-2);
    background: none;
    padding: 0;
    text-transform: none;
    cursor: pointer;
    text-decoration: underline;
}
input.btn--selectAll:hover {
    background: none;
    color: var(--accent-2);
}
.panelcontent input.btn--availability {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-s);
    margin: 0 auto;
    padding: 0;
}

/* Le quattro fasce di sei ore della pagina disponibilita': il tasto porta la
   fascia scritta dentro, quindi e' piu' largo del vecchio tasto da mezz'ora. */
.panelcontent input.btn--band {
    width: auto;
    height: 48px;
    margin: 0;
    padding: 0 12px;
    font-size: var(--text-m);
    transition: background var(--pace) var(--ease);
}
/* Lo stato della fascia sta nell'attributo data-on e il colore lo danno i
   token: --signal e' il token degli stati attivi, con --on-signal sopra, e
   --line-3 il neutro della fascia spenta. Prima erano l'accento e un rosa
   scritti a mano dentro il JavaScript, con il testo bianco che sul rosa non
   si leggeva. */
.panelcontent input.btn--band[data-on="1"] {
    background: var(--signal);
    border: 1px solid var(--signal);
    color: var(--on-signal);
}
.panelcontent input.btn--band[data-on="0"] {
    background: var(--line-3);
    border: 1px solid var(--line-2);
    color: var(--ink-3);
}
.panelcontent input.btn--band[data-on="0"]:hover {
    background: var(--tint-accent-2);
}
/* Le quattro fasce di un giorno stanno affiancate su una riga sola, larghe
   uguali. Sotto i 600px le quattro non ci stanno piu' e vanno due e due: mai
   tre in riga e la quarta da sola a tutta larghezza, che e' quello che faceva
   il flex-wrap. */
.band-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 560px;
    margin-bottom: 12px;
}
@media (max-width: 600px) {
    .band-row {
        grid-template-columns: repeat(2, 1fr);
    }
}
.availability-intro {
    font-size: var(--text-l);
    line-height: 1.5;
}
.panelcontent td:nth-child(2n+1) {
    padding-right: 2px;
}
.panelcontent td:nth-child(2n) {
    padding-right: 12px;
}
