@charset "UTF-8";

/* BASE */
body {
	background:#ffffff;
	color:#303030;
	font-family:Helvetica, Arial, sans-serif;
	font-size:16px;
	margin:0;
}

/* CONTENITORE */
.inner {
	max-width:900px;
	width:100%;
	margin:0 auto;
	padding:0 15px;
	box-sizing:border-box;
}

/* HEADER / FOOTER */
#header, #footer {
	width:100%;
}

/* NAV */
ul#nav {
	background-color:#2616A2;
	color:#FFF;
	padding:10px;
	text-align:center;
	margin:0;
}

ul#nav li {
	display:inline-block;
	width:25%;
}

/* SLIDER */
#slider {
	background-image:url(../images2/intes2_rr.jpg);
	background-repeat:no-repeat;
	background-size:contain;
	background-position:center;
	height:260px;
	margin-bottom:20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

#slider:empty {
	display:none;
	height:0;
	margin:0;
	padding:0;
}

/* SFONDO COLONNA DESTRA */
#main .inner {
	background: linear-gradient(
		to right,
		transparent 0%,
		transparent 66%,
		#f5f5f5 66%,
		#f5f5f5 100%
	);
}

/* CLEAR GENERALE */
#main .inner:after {
	content:"";
	display:block;
	clear:both;
}

/* CONTENUTO */
#content {
	width:66%;
	float:left;
	padding-right:15px;
	box-sizing:border-box;
	margin-left:0;
}

/* SIDEBAR */
#sidebar {
	width:30%;
	float:right;
}

/* ========================= */
/* 🔥 SIDEBAR DEFINITIVA */
/* ========================= */

.sidebar-box {
	background:#f5f5f5;
	margin-bottom:15px;
}

.sidebar-header {
	background:#336699;
	color:#fff;
	text-align:center;
	padding:10px;
	font-size:14px;
	font-weight:bold;
	letter-spacing:0.3px;
}

.sidebar-content {
	padding:12px 10px;
	text-align:center;
}

.sidebar-content a {
	display:block;
	color:#002244;
	text-decoration:none;
	font-size:14px;
	padding:7px 0;
}

.sidebar-content a:hover {
	text-decoration:underline;
}

.sidebar-content hr {
	border:none;
	border-top:1px solid #e0e0e0;
	margin:8px 0;
}

/* WILLY */
.sidebar-willy {
	text-align:center;
	margin:15px 0;
}

.sidebar-willy img {
	max-width:100px;
	height:auto;
}

/* CLEAR INTERNI */
#content:after {
	content:"";
	display:block;
	clear:both;
}

/* ========================= */
/* RESTO SITO */
/* ========================= */

img.aboutus {
	float:left;
	margin-right:15px;
	width:280px;
	max-width:100%;
	height:auto;
	display:block;
}

p {
	line-height:1.5;
	font-size:14px;
	word-wrap:break-word;
}

h1 { font-size:22px; }
h2 { font-size:18px; }

.line {
	border-top:1px solid #2616A2;
	margin:25px 0;
}

.clear {
	clear:both;
}

/* SIDEBAR FONT */
#sidebar,
#sidebar * {
	font-size:14px !important;
	line-height:1.3 !important;
}

#sidebar .willy-caption {
	font-size:11px !important;
}
/* BLOCCO FOTO + TESTO */
.foto-blocco {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

/* FOTO */
.foto-blocco .foto {
  width: 45%;
}

.foto-blocco .foto img {
  width: 100%;
  height: auto;
  display: block;
}

/* ZOOM (sotto la foto, attaccato) */
.foto-blocco .foto a {
  display: inline-block;
  margin-top: 5px;
}

/* TESTO */
.foto-blocco .testo {
  width: 55%;
}

/* TITOLO */
.foto-blocco .testo strong {
  display: block;
  margin-bottom: 5px;
}

/* TESTO */
.foto-blocco .testo p {
  margin: 0;
}

/* MOBILE */
@media (max-width: 600px) {
  .foto-blocco {
    flex-direction: column;
    gap: 8px;
  }

  .foto-blocco .foto,
  .foto-blocco .testo {
    width: 100%;
  }
}


/* ========================= */
/* 🔥 MOBILE */
/* ========================= */

@media (max-width:768px) {

	#main .inner {
		background:none;
		padding:0 10px;
	}

	#content,
	#sidebar {
		float:none;
		width:100%;
		padding-right:0;
		margin-left:0;
	}

	#main,
	#main .inner,
	#content {
		margin-top:0 !important;
		padding-top:0 !important;
	}

	#content > *:first-child {
		margin-top:0 !important;
	}

	img.aboutus {
		float:none;
		display:block;
		margin:0 0 10px 0;
		width:100%;
	}

	#content img {
		display:block;
		margin-top:0 !important;
	}

	#slider {
		width:100%;
		height:140px;
		overflow:hidden;
	}

	#slider img {
		width:100%;
		height:100%;
		object-fit:cover;
		display:block;
	}

	body {
		font-size:17px;
	}

	p {
		font-size:16px;
		line-height:1.6;
	}

	h1 {
		font-size:22px;
		line-height:1.3;
	}

	h2 {
		font-size:18px;
	}

	#sidebar,
	#sidebar * {
		font-size:14px !important;
	}
}