body {
  visibility: hidden;
}
/* altezza menu */
.anyClass {
  max-height: calc(100vh - 350px)!important;
  overflow-y: auto!important;
}
/*scroll orizzonatel */
.tablescroll {
  width: 100%;
  padding-bottom: 1rem;
  margin-bottom: 0;
}
.tablescroll th:first-child,
.tableblocco td:first-child {
  position: sticky;
  left: 0;
   /*background-color:#93c4f5;*/
   background-color: white;
   color:black;
}

.tablescroll th:last-child,
.tablescroll td:last-child {
  position: sticky;
  right: 0;
   /* background-color:#93c4f5;*/
   background-color: white;
   color:black;
}

.tablescroll td, .tablescroll th {
  white-space: nowrap;
}

.hiddenRow {
    padding: 0 !important;
}
elemento {
}
/* referendum */
.dati_referendum_titolo_quesito {
  text-align: left;
  background-color: #d1e7ff;
  color: #1c2024;
  padding: 8px 10px;
  font-weight: 600;
}
.dati_referendum_titolo_quesito_schede {
  text-align: left;
  background-color: #d1e7ff;
  color: #1c2024;
  padding: 8px;
  font-weight: 600;
  height: 100%;
}
/*.row {
  margin-right: -15px;
  margin-left: -15px;
}*/
.box_elevot {
  margin-top: 12px;
}
.box_referendum {
  box-shadow: 0px 2px 3px 1px rgba(50, 50, 50, 0.3);
  border-radius: 4px;   
  padding: 5px;
  margin-bottom: 10px;
  background-color: #fff;
}
/*.box_testo_ref {
  margin-bottom: 5px;
}*/
.dati {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin: 0;
  background-color: #fff;
}
.dati_riepilogo {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin: 0;
  border: 1px solid #f0f0f0;
  background-color: #fff;
}
table th.box_elevot_title {
  border-bottom: 1px solid #dedede;
  color: #5a6772;
  background-color: #f0f0f0;
}
.dati_referendum {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  color: #5a6772;
}
.dati_riepilogo td.bd_r {
  border-right: 1px solid #f0f0f0;
}
.dati_riepilogo td {
  padding-top: 1px;
  padding-bottom: 1px;
  white-space: normal;
  border-top: none;
  border-bottom: none;
  padding-right: 10px;
  font-size: 1.5rem;
  color: #1c2024;
  text-align: right;
}

.box_linkutili {
  box-shadow: 0px 2px 3px 1px rgba(50, 50, 50, 0.3);
  border-radius: 4px;   
  /*padding: 10px;*/
  margin-bottom: 10px;
  background-color: #fff;
}
.box_infogenerali {
  box-shadow: 0px 2px 3px 1px rgba(50, 50, 50, 0.3);
  border-radius: 4px;   
  padding: 15px;
  margin-bottom: 10px;
  background-color: #fff;
}

.title-content {
  width: 100%;
  background: #0376da;
  padding: 0.8% 1.8%;
  color: #fff;
  font-size: 16px;
}

.form-group label {
display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 700;
}
.box_election {
  box-shadow: 0px 2px 3px 1px rgba(50, 50, 50, 0.3);
  border-radius: 4px;
  padding: 5px;
  margin-bottom: 10px;
  background-color: #fff;
}
.avatar.simbolo {
  width: 100px;
  height: 100px;
}

/* Solo per dispositivi */
@media (max-width: 820px) {
  .avatar.simbolo {
    width: 20vw;
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: 60px;
    min-width: 40px;
  }
}

.avatar.simbolo2 {
  width: 40px;
  height: 40px;
  border-radius: 50%; /* facoltativo, se vuoi cerchio */
  overflow: hidden;
  display: inline-block;
  margin-right: 6px;
  background: #fff;
  border: 1px solid #ccc;
}

.img-simbolo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


.title-totali {
  width: 100%;
  background: #f5f5f0;
  padding: 0.8% 1.8%;
  color: #000;
  font-size: 16px;
}
.img-scheda {
  max-width: 100px !important;
  height: auto;
  width: 100%;
}

.table.votanti thead, .table.votanti tfoot {
  background: #004080;
  color: #fff;
}
.sr-percent {
  position: relative;
  height: 0px;
  right: 0;
  left: 0;
  padding: 0;
  float: right !important;
  border: 0;
  color: #000;
 
}
.padd-rg-2 {
  padding-right: 20px !important;
}

.opendata{
	font-size:0.8rem;
}
.opendatatd {
     padding:0!important;
}
.disabledmenu {
  /* And disable the pointer events */
  pointer-events: none;
}

/* css per tab_link_opendata*/
  .btn-tab {
    font-size: 0.75rem; /* Riduce la dimensione del testo */
    padding: 0.25rem 0.5rem; /* Riduce il padding interno */
    border: none; /* Rimuove il bordo */
    display: inline-flex; /* Garantisce il corretto allineamento degli elementi all'interno */
    align-items: center; /* Allinea verticalmente gli elementi */
  }

  /* Rimuove il focus blu sui link */
  .btn-tab:focus {
    outline: none;
  }

  .btn-tab a {
    color: inherit; /* Rende il colore del link lo stesso del testo */
    text-decoration: none; /* Rimuove la sottolineatura */
    display: flex; /* Fa sì che il link si comporti come un elemento flessibile */
    align-items: center; /* Allinea verticalmente l'icona e il testo */
  }

  @media (max-width: 576px) {
    .btn-tab span {
      display: none; /* Nasconde le scritte sui dispositivi mobili */
    }
  }
  
  /* CSS per il Modal */
  .modal-dialog {
    max-width: 500px; /* Imposta una larghezza massima per il modal */
  }

  .opendata {
    font-weight: bold;
  }
@media (max-width: 576px) {
  .titolo-consultazione {
    font-size: 1.1rem !important; 
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
  }
}
@media (max-width: 576px) {
  .it-brand-tagline {
    font-size: 0.75rem !important; 
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
  }
  }
}


