.bg-red {
    background-color: #dc3545 !important;
    padding:5px 20px;
}

.btn-red {
    --bs-btn-color: #fff;
    --bs-btn-bg: #dc3545;
    --bs-btn-border-color: #dc3545;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #dc3545;
    --bs-btn-hover-border-color: #989898;
    --bs-btn-focus-shadow-rgb: 60, 153, 110;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #dc3545;
    --bs-btn-active-border-color: #989898;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #dc3545;
    --bs-btn-disabled-border-color: #dc3545;
}

.bg-red {
  background-color: #dc3545 !important;
  padding:5px 20px;
}




.btn-green {
  --bs-btn-color: #fff;
  --bs-btn-bg: #198754;
  --bs-btn-border-color: #198754;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #198754;
  --bs-btn-hover-border-color: #989898;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #198754;
  --bs-btn-active-border-color: #989898;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #198754;
  --bs-btn-disabled-border-color: #198754;
}

.btn-border-red {

  background-color: #ffffff !important;
  font-size: 14px !important;
  border:1px solid #dc3545;

}

.btn-border-red:hover {

  background-color: #dc3545 !important;
  font-size: 14px !important;
  color:#ffffff;

}

.bg-secondary {

  background-color: #198754 !important;
  font-size: 14px !important;

}

.btn-modifica {

    display:none !important;
}


.link_no_stile {
    text-decoration: none;
    color: #000;
  }
  
  .link_no_stile:hover,
  .link_no_stile:focus,
  .link_no_stile:active,
  .link_no_stile:visited {
    text-decoration: none;
    color: #000;
  }
  

  .tabella_vr_edilizia thead tr th {
    color: #fff !important;
    background-color: #dc3545 !important;
  }
  

  .card-header {
    background-color: #dc3545 !important;

}



footer {
  position: -webkit-sticky; /* Supporto per Safari */
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgb(169 169 169) !important; /* Colore grigio del footer */
  color: white;
  padding: 15px 0;
  box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

/* Aggiungi un padding-bottom al corpo della pagina per evitare che il footer copra il contenuto */
body {
  padding-bottom: 100px; /* Spazio sufficiente per il footer */
}

/* Assicurati che il contenuto non venga coperto da nessuna parte della pagina */
main {
  padding-bottom: 60px; /* Aggiungi spazio per il footer */
}


footer .row {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

footer .col-2 {
  flex: 1;
  padding: 0 10px;
}

footer a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

footer a:hover {
  transform: scale(1.1); /* Slightly enlarge on hover */
  color: #dc3545; /* Red color for hover */
}

footer .bi {
  font-size: 30px; /* Icon size */
  color: #dc3545; /* Red for icons */
  margin-bottom: 5px;
}

footer .text-light {
  font-size: 14px;
}

footer .col-2 img {
  height: 40px;
  margin-bottom: 5px;
}

footer .col-2 a {
  margin-top: -10px; /* To lift the Home icon slightly */
}

footer .mt-3 {
  margin-top: 10px;
}

footer small {
  font-size: 12px;
  color: #888;
}
