/* =====================================================================
   Stili comuni del sito (prima erano ripetuti dentro ogni pagina)
   ===================================================================== */

/* Colore tema: #256193 */
#sidebar .panel,
#main-box #main {
	border-top: 5px solid #256193;
}
a.featured-select,
#slider-info .padding-box ul li:before,
.home-article.right ul li a:hover {
	background-color: #256193;
}
.panel-duel-voting .panel-duel-vote a {
	background-color: #256193;
}
#menu-bottom.blurred #menu > .blur-before:after {
	background-color: #000;
}
#header-top {
	background: #0D0D0D;
}
#sidebar .panel > h2 {
	color: #333333;
}
#main h2 span,
#main h1 span {
	color: #353535;
}
::selection {
	background: #256193;
}
.article-icons a:hover,
a:hover {
	color: #256193;
}
.article-image-out,
.article-image {
	background: #256193;
}
span.article-image span .fa {
	color: #256193;
}

/* Titolo principale della pagina: <h1> con lo stesso aspetto del vecchio <h2> */
#main > h1 {
	font-size: 1.5em;
}

/* Evidenziatori */
.giallo { color: #000; background-color: yellow; }
.orange { color: #000; background-color: orange; }
.verde { color: #000; background-color: #33FF00; }
.azzurro { color: #000; background-color: #08E8DE; }
.rosso { color: #fff; background-color: red; }
.cartomanti { color: #000; background-color: yellow; }
.cartomanti2 { color: #000; background-color: #33FF00; }
.cartomanti3 { color: #000; background-color: #08E8DE; }

.imageborder {
	border: 1px solid #999;
	padding: 1px;
}

.lamp { text-align: left; font-weight: 700; color: #3d3ba2; animation: scrollamento 1500ms ease 0s infinite normal; }
.lamp a { color: #3d3ba2; }
@keyframes scrollamento {
	0%, 30%, 70%, 100% { transform: translate(0, 0); }
	35%, 45%, 55%, 65% { transform: translate(-5px, 0); }
	40%, 50%, 60% { transform: translate(5px, 0); }
}

/* ---------------------------------------------------------------------
   Piccole correzioni di usabilità
   ------------------------------------------------------------------- */

/* Le immagini non escono mai dalla colonna (prima solo sotto i 900px) */
#content img {
	max-width: 100%;
	height: auto;
}

/* Testo nascosto ma letto da screen reader e motori di ricerca */
.sr-only {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Footer */
.footer .footer-links {
	margin-top: 10px;
	line-height: 1.8;
}
.footer .footer-links a {
	display: inline-block;
	margin-right: 14px;
	text-decoration: underline;
}

/* Modulo contatti */
.contact-form .field {
	margin-bottom: 14px;
}
.contact-form label {
	font-weight: 600;
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form textarea {
	display: block;
	width: 100% !important;
	max-width: 480px;
	margin-top: 4px;
	padding: 8px 10px;
	border: 1px solid #b9b9b9;
	border-radius: 3px;
	background: #fff;
	font: 16px 'Open Sans', sans-serif;
	box-sizing: border-box;
}
.contact-form textarea {
	min-height: 160px;
	resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
	outline: 2px solid #256193;
	outline-offset: 1px;
}
.contact-form .check {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.5;
}
.contact-form .check input {
	margin-top: 4px;
	flex: 0 0 auto;
}
.contact-form .check label {
	font-weight: 400;
}
.contact-form .check a {
	text-decoration: underline;
}
.contact-form .hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.contact-form button {
	background: #256193;
	color: #fff;
	border: 0;
	border-radius: 3px;
	padding: 10px 26px;
	font: 700 16px 'Open Sans', sans-serif;
	cursor: pointer;
}
.contact-form button:hover {
	background: #1b4a70;
}
.form-note {
	font-size: 13px;
	color: #666;
	margin-top: 10px;
}
.esito {
	padding: 12px 14px;
	border-radius: 3px;
	margin-bottom: 18px;
	font-weight: 600;
}
.esito.ok { background: #e1f3e3; color: #1d5e26; }
.esito.errore { background: #fbe3e3; color: #8a1f1f; }

/* Pagine legali (privacy, cookie, termini) */
.legal {
	font-size: 15px;
	line-height: 1.6;
}
#main .legal p {
	font-size: 15px;
	margin-bottom: 12px;
}
.legal h2 {
	font-size: 19px;
	margin: 26px 0 10px;
	color: #256193;
}
.legal h3 {
	font-size: 16px;
	margin: 18px 0 8px;
}
.legal ul {
	list-style: disc;
	padding-left: 22px;
	margin-bottom: 12px;
}
.legal li {
	margin-bottom: 6px;
}
.legal a {
	color: #256193;
	text-decoration: underline;
}
.legal .table-wrap {
	overflow-x: auto;
	margin-bottom: 14px;
}
.legal table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}
.legal th,
.legal td {
	border: 1px solid #d0d0d0;
	padding: 6px 8px;
	text-align: left;
	vertical-align: top;
}
.legal th {
	background: #e9e9e9;
}
.legal .updated {
	color: #777;
	font-size: 13px;
}
.legal .btn-cookie {
	display: inline-block;
	background: #1a73e8;
	color: #fff !important;
	text-decoration: none;
	padding: 9px 18px;
	border-radius: 4px;
	font-weight: 700;
}

/* Titolo principale su due righe negli schermi piccoli */
@media only screen and (max-width: 750px) {
	#main > h1,
	#main > h1 span {
		line-height: 26px;
	}
}
