body {
    margin: 0;
	font-family: Arial, sans-serif;
	margin-top: 260px; /* header (80px) + menu (60px) */
}

header {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
	 position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* così sta sopra tutto */
}
/* HEADER FISSO */
header {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
	height: 160px;
    width: 100%;
    z-index: 1000;
}

/* MENU FISSO SOTTO L’HEADER */
.menu {
    background-color: #444;
    position: fixed;
    top: 200px;
    left: 0;
    width: 100%;
    z-index: 999;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;              /* menu principale orizzontale */
    justify-content: center;
}

.menu li {
    position: relative;
}

.menu a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.menu a:hover {
    background-color: #2d6cdf;
}

/* NASCONDI il sottomenu con opacity + visibility */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ccc;
    padding: 0;
    margin: 0;
    min-width: 160px;
    flex-direction: column;

    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 0.50s ease, transform 0.50s ease, visibility 0.50s;
    z-index: 1000;
}

/* MOSTRA il sottomenu con fade */
.menu ul li:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
	
}

.submenu {
    background: #f7f7f7;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #ccc;
	border-radius: 6px;
	}


/* annulla il flex del menu principale */
.menu ul li .submenu {
    display: block; /* importante: NON usare display:none */
    flex-direction: column;
}

/* stile link del sottomenu */
.submenu li a {
    display: block;
    padding: 10px 14px;
    white-space: nowrap;
    color: white;
    background: #2d6cdf;
    transition: background 0.2s ease;
}

.submenu li a:hover {
    background: #2d6cdf;
    color: #f1ef20;
}

 .site-header {
    background-color: #2d6cdf;
    padding: 20px;
    text-align: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo { 
    height: 100%;
    width: 100%;
	position: center;
	 
}  

.slideshow-container {

    width: 1000px;
    height: 600px;
    margin: 10px auto;
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    background: #000;
}

.slide {
    width: 100%;
    height: 100%;
	position: absolute; /* ← fondamentale */ 
	top: 0; 
	left: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: none;
}

.fade {
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from {opacity: 0.4;}
    to {opacity: 1;}
}
.layout-container {
   display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-top: 20px;
}

.center-column {
    flex: 0 0 auto; /* mantiene la slideshow della sua dimensione */
}

.side-column {
  
	width: 200px; /* puoi modificare */
    text-align: center;
	margin-right: 50px;
}	

.side-column img {
 	width: 100%;
    height: auto;
    margin-bottom: 15px;
	
}

.side-column p {
    font-size: 14px;
    margin-bottom: 20px;

}
.documenti-container {
    width: 80%;
    margin: 30px auto;
}

.tabella-documenti {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.tabella-documenti th,
.tabella-documenti td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.tabella-documenti th {
    background-color: #2d6cdf;
    color: white;
}

.tabella-documenti tr:nth-child(even) {
    background-color: #f2f2f2;
}

.download-btn {
    background-color: #2d6cdf;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.download-btn:hover {
    background-color: #1b4ea8;
}

/* BARRA DI RICERCA */ 
.documenti-search { 
width: 90%; 
margin: 20px auto 10px auto; 
text-align: center; 
}
/* BARRA DI RICERCA */ 
.documenti-search { 
width: 90%; 
margin: 20px auto 10px auto; 
text-align: center; 
}
/* LAYOUT A DUE COLONNE */ 
.documenti-layout { 
width: 90%; 
margin: 0 auto; 
display: flex; 
gap: 20px; 
align-items: stretch; /* ← IMPORTANTE */ 
} 
/* LISTA DOCUMENTI (colonna sinistra) */ 
.documenti-lista { 
width: 30%; 
max-height: 500px; 
overflow-y: auto; 
border: 1px solid #ccc; 
padding: 10px; 
border-radius: 6px; 
background: #f9f9f9; 
flex-shrink: 0; /* ← IMPEDISCE DI STRINGERSI */ 
}

/* ELEMENTI DELLA LISTA */ 
.doc-item { 
padding: 10px; 
border-bottom: 1px solid #ddd; cursor: pointer; 
} 
.doc-item:hover {
 background-color: #e3eaff; 
 }
/* ANTEPRIMA DOCUMENTO (colonna destra) */ 
.documenti-anteprima { 
width: 70%; height: 500px; 
border: 1px solid #ccc; 
border-radius: 6px; 
overflow: hidden; 
background: white; 
} 
.documenti-anteprima iframe {
width: 100%; 
height: 100%; 
border: none; 
}

/* PAGINA CHI SIAMO */
.chi-siamo-container {
    width: 90%;
    margin: 30px auto;
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* COLONNE GENERALI */
.colonna {
    padding: 10px;
}

/* COLONNA SINISTRA (IMMAGINI) – più grande */
.colonna.sinistra {
    width: 350px;      /* larghezza fissa */
    flex-shrink: 0;    /* impedisce di restringersi */
    text-align: center;
}

.colonna.sinistra img {
    width: 100%;       /* ora si adatta alla colonna */
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* COLONNA CENTRALE – più stretta */
.colonna.centrale {
    flex: 1;
    max-width: 500px;  /* ridotta */
}

/* COLONNA DESTRA (LINK) – più piccola */
.colonna.destra {
    width: 140px;      /* più piccola */
    flex-shrink: 0;
    text-align: center;
}

.colonna.destra ul {
    list-style: none;
    padding: 0;
}

.colonna.destra ul li {
    margin-bottom: 10px;
}

.colonna.destra ul li a {
    text-decoration: none;
    color: #2d6cdf;
    font-weight: bold;
}

.colonna.destra ul li a:hover {
    text-decoration: underline;
}

/* IMMAGINE CENTRALE */
.img-centrale {
    width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
}
/* CONTATTI – LAYOUT A 3 COLONNE */
.contatti-container {
    width: 90%;
    margin: 30px auto;
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
}

/* COLONNE GENERALI */
.colonna {
    padding: 10px;
}

/* COLONNA SINISTRA (TESTO) */
.contatti-sinistra {
    width: 25%;
    flex-shrink: 0;
}

/* COLONNA CENTRALE (MAPPA) */
.contatti-mappa {
    width: 100%;
}

/* COLONNA DESTRA (MODULO) */
.contatti-destra {
    width: 25%;
    flex-shrink: 0;
}

/* MODULO CONTATTI */
.contatti-destra form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contatti-destra input,
.contatti-destra textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #2d6cdf;
    border-radius: 6px;
    font-size: 14px;
}

.contatti-destra textarea {
    height: 120px;
    resize: vertical;
}

.contatti-destra button {
    background-color: #2d6cdf;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.contatti-destra button:hover {
    background-color: #1b4ea8;
}
.btn-invia {
    width: 108%;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
}

