:root {    
  /* colore blu */
  --bg-blu-1:               rgb(0,102,204);
  --bg-blu-2:               rgb(17,115,212);
  --bg-blu-3:               rgb(0,75,150);
  --bg-blu-4:               rgb(0,38,77);
  --bg-blu-5:               rgb(0,64,128);
  --bg-blu-secondary:       rgb(0,114,238);
    
  /* colore grigio */
  --bg-grigio-1:            rgb(68,78,87);
  --bg-grigio-2:            rgb(238,238,238);
  --bg-grigio-3:            rgb(230,234,237);
    
  /* azzurro link */
  --bg-azzurro-link:        rgb(101, 220, 223);
    
  --bg-verde-1:             rgb(0,168,108);
  --bg-arancione-1:         rgb(255,151,0);
  --bg-arancione-2:         rgb(255,229,192);
  --bg-azzurro-1:           rgb(8,217,211);
  --bg-azzurro-2:           rgb(233,252,252);
  --bg-rosso-1:             rgb(248,62,90);
  --bg-rosso-2:             rgb(253,203,210);
}


body {
    font-family: 'Titillium web', sans-serif  !important;
    /* istruzioni per fissare il footer a fondo pagina */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /*padding-top: 180px;*/
}


html {
    font-size: 16px !important;
}

.container {
    max-width: 1200px !important;
}


/************************************************************** 
 Smartphone
**************************************************************/

.no-smartphone {
    display: block;
}

.si-smartphone {
    display: none;
}



/************************************************************** 
 Stili (h1, h2 ...)
**************************************************************/

h1 {
    font-size: 2.2rem !important;
    font-weight: bold;
}

h2 {
    font-size: 1.3rem !important;
    font-weight: bold;
    margin-bottom: 10px;
}

h3 {
    font-size: 1.2rem !important;
    font-weight: bold;
}

h4 {
    font-size: 1.1rem !important;
    font-weight: bold !important;
}

h5 {
    font-size: 1rem !important;
    font-weight: bold !important;
}



/************************************************************** 
 Btn
**************************************************************/

.btn {
    font-weight: bold;
}

.btn-secondary {
    border: solid 1px var(--bg-blu-secondary) !important;
    background-color: white !important;
    color: rgb(0,114,238) !important;
}

.btn-secondary:hover, .btn-secondary:hover a {
    background-color: var(--bg-blu-secondary) !important;
    color: white !important;
    text-decoration: underline;
}

.btn-secondary:focus {
    /*box-shadow: 0 0 0 .2rem rgba(0,123,255,.25);*/
    box-shadow: 0 0 0 0;
}

.btn-quaternary {
    border: solid 1px rgb(228,231,242);
    background-color: rgb(252,253,255);
    color: rgb(73,98,121);
}

/************************************************************** 
 Header
**************************************************************/

/*
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
}
*/

#logo {
    display: inline-block;
    width: 40px;
}

.titolo-logo {
    font-size: 1.75rem;
    font-weight: bold;
}

.menu-active {
    text-decoration: underline;
}

/************************************************************** 
 Footer
**************************************************************/

#footer {
    background-color: var(--bg-blu-4);
}

.footer_nome_dpa {
    font-size: 1.5rem;
    line-height: 1.52rem;
}

footer a {
    color: var(--bg-azzurro-link) !important;
    font-weight: bold;
}


/************************************************************** 
 impostazioni per il layout della barra dei menu
 importante tenere focus prima di hover per l'evidenziazione della voce selezionata
**************************************************************/

.nav-link {
    color: white;
    font-weight: bold;
}

.nav-link:focus {
    color: white;
    text-decoration: none !important;
}


.nav-link:hover {
    color: white;
    text-decoration: underline !important;
}

.nav-link {
    background-color: transparent !important;
}



/************************************************************** 
 Box con grafico
**************************************************************/

.progress {
    background-color: white;
}

.progress-bar {
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 10px;
}

.progress_bar_verde {
    background-color: var(--bg-verde-1);
}

.progress_bar_arancione {
    background-color: var(--bg-arancione-1);
}

.box {
    max-width: 350px;
}


/************************************************************** 
 Pagination
**************************************************************/

.btn-page {
    width: 40px;
    height: 35px;
    margin: 2px;
    border: 1px solid var(--bg-blu-secondary);
    border-radius: 5px;
    text-align: center;
}

.btn-dots {
    padding: 5px;
    margin: 2px;
}

.currentpage {
    width: 40px;
    height: 35px;
    margin: 2px;
    border: 1px solid var(--bg-blu-secondary);
    background-color: var(--bg-blu-secondary);
    border-radius: 5px;
    text-align: center;
}

.btn-page a, .currentpage a  {
    line-height: 30px;
    width: 35px;
    height: 32px;
    margin: 0 auto;
    display: block;
}

.currentpage a {
    color: white !important;
}

/*************************************************************/





/*************************************************
/* Messaggio MODAL
/*************************************************

 /* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 100;
  width: 100%; /* Full width */
  margin: 0 auto;
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}


/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 2% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  box-shadow: 0 5px 15px rgba(0,0,0,.5);
  width: 90%; /* Could be more or less, depending on screen size */  
  max-width: 600px;
  animation: move 0.5s forwards;
}


@keyframes move {
  0% {
    margin-top: 0;
  }
  100% {
    margin-top: 2%;
  }
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
} 


/* modifico il cursore del pulsante POP-UP dell'HELP */
.fas {
    cursor: pointer;
}


/*****************************************************************/



.box_filtri, .box_filtri select {
    font-size: 0.9rem !important;
}

.icona-regime {
    max-width: 45px;
}

.icona_blu {
    color: var(--bg-blu-4);
}

.scheda {
    border-radius: 15px;
}

#img_logo_dpa_banner {
    min-width: 150px;
}


.link {
    color: var(--bg-blu-1) !important;
    font-weight: bold;
}


.nav_schede_struttura .active {
    background-color: var(--bg-blu-3) !important;
    color: white !important;
    font-weight: bold;
}


.nav_schede_struttura a {
    background-color: transparent !important;
    color: black !important;
    font-weight: normal;
}

.nav_resid .active {
    background-color: var(--bg-blu-3) !important;
    border-color: var(--bg-blu-3) !important;
}
.nav_semiresid .active {
    background-color: var(--bg-blu-3) !important;
    border-color: var(--bg-blu-3) !important;
}
.nav_ambul .active {
    background-color: var(--bg-blu-3) !important;
    border-color: var(--bg-blu-3) !important;
}

.nav_schede_trattamento a {
    color: black !important;
    font-weight: bold;
}
.nav_schede_trattamento a:hover {
    text-decoration: underline;
}
.nav_schede_trattamento .active {
    color: white !important;
}

.pill_resid {
    background-color: transparent;
    font-size: 1rem;
    border: 2px solid var(--bg-azzurro-1);
}

.pill_semiresid {
    background-color: transparent;
    font-size: 1rem;
    border: 2px solid var(--bg-arancione-1);
}

.pill_ambul {
    background-color: transparent;
    font-size: 1rem;
    border: 2px solid var(--bg-rosso-1);
}

.bg-resid {
    background-color: var(--bg-azzurro-2);
}
.bg-semiresid {
    background-color: var(--bg-arancione-2);
}
.bg-ambul {
    background-color: var(--bg-rosso-2);
}

.num_posti {
    background-color: var(--bg-blu-3);
    color: white;
    font-weight: bold;
    padding: 0 10px;
}