body {
    background-color: white;
}
.navbar {
    background-color: #ffb703;
    position: sticky; /* oppure fixed se preferisci */
    top: 0;
    z-index: 1100; /* più alto della .sticky */
}

.sticky {
    position: sticky;
    top: 97px; /* altezza approssimativa della navbar Bootstrap */
    z-index: 1000;
    background-color: beige;
}

.margine {
    margin-left: 50px;
    margin-right: 50px;
    border-bottom: 1px solid #ffb703;
}
.rigaloghi {
    display: flex;
    flex-wrap: wrap;
    flex-direction:flex-start;
    justify-content:center;
    align-items: stretch;
    gap: 20px; /* spazio tra colonne */
    margin-bottom: 20px;
    margin-top:5px;
}

.colonnaloghi {
    flex: 1 1 17%; /* distribuzione uniforme */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(180, 171, 146, 0.7);
    border-radius: 6px;
    padding: 3%; /* spazio interno attorno all'immagine */
    max-height: 200px; /* o min-height */
    max-width: 18%;
    height:auto;
}

.imgloghi {
    max-width: 100%;
    max-height: 190px;
    object-fit: contain; /* riduce overflow se il logo è alto */
}
.imgloghi:hover{
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

  
.testo {
      font-family: Arial, sans-serif;
      line-height: 1.6;
      margin: 20px;
      background-color: #f9f9f9;
    }
.sezionepagina {
      margin-top: 20px;
      background-color: white;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
.index {
      color: #faa307;
    }

#logohome{
    width: 100px;
    height: auto;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    padding:3px;
}
#logohome img{
    max-width: 60px;
    height: auto;
}

.barracontatti{
    background-color: #f8f9fa; 
    padding: 15px; 
    bottom:0;
    text-align: center; 
    font-family: Arial, sans-serif; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width:100%;
    justify-content: center;
}

.contatto{
    margin: 0 10px;
}
.contatto a {
    text-decoration: none;
    color: #333;
}

body {
    height: 100%;
}
#footer {
    
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa; 
    padding: 15px; 
    text-align: center; 
    font-family: Arial, sans-serif; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#containercomitato{
    flex:1;
}

#bodycomitato{
    display: flex;
    flex-direction: column;

}