﻿/** global **/
body {
	margin:40px auto;
	padding:0;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#333;
	background:#006600 url('images/body-bg.png') repeat-x;
}

* {
	margin:0;
	padding:0;
}


/** element defaults **/

table {
	width:100%;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	text-align:left;
}

th,
td {
	padding:5px 10px;
}

th {
	color:#fff;
	border-top:3px solid #004400;
	background-color:#006600;
}

td {
	border-bottom:1px solid #f4f4f4;
}

code,
blockquote {
	display:block;
	border-left:5px solid #ddd;
	padding:10px;
	margin-bottom:20px;
}

blockquote p {
	font-style:italic;
	font-family:Georgia, "Times New Roman", Times, serif;
	margin:0;
	height:1%;
}

p {
	line-height:1.9em;
	margin-bottom:20px;
}

a {
	color:#1A601A;
}

a:hover {
	color:#333;
}

a:focus {
	outline:none;
}

fieldset {
	display:block;
	border:none;
	border-top:1px solid #e0e0e0;
}

fieldset legend {
	font-weight:bold;
	font-size:13px;
	padding-right:10px;
	color:#222;
}

fieldset form {
	padding-top:15px;
}

fieldset p label {
	float:left;
	width:150px;
	font-family:Arial, Helvetica, sans-serif;
}

fieldset form input,
fieldset form select,
fieldset form textarea {
	padding:5px;
	color:#333333;
	font-size:13px;
	font-family:Arial, Helvetica, sans-serif;
	border:1px solid #ddd;
}

fieldset form input.formbutton {
	margin-left:150px;
	background:#006600;
	border:none;
	border-bottom:3px solid #004400;
	color:#ffffff;
	font-weight:bold;
	padding:5px 10px;
	font-size:13px;
}

h1 {
	font-size:45px;
}

h2 {
	color:#2f2f2f;
	font-family:Arial,Helvetica,sans-serif;
	font-size:30px;
	font-weight:bold;
	letter-spacing:-2px;
	padding:0 0 5px;
	margin:0;
}

h3 {
	color:#001400;
	font-size:20px;
	padding-bottom:10px;
}

h4 {
	padding-bottom:10px;
	font-size:15px;
	color:#006600;
}

h5 {
	padding-bottom:10px;
	font-size:13px;
	color:#666666;
}

ul,
ol {
	margin:0 0 35px 35px;
}

li {
	padding-bottom:5px;
}


/** wrapper **/

div#wrapper-outer {
	width:940px;
	margin:0px auto;
	background:#fff url('images/wrapper-top.jpg') no-repeat scroll top left;
}

div#wrapper {
	width:920px;
	margin:0px auto;
	padding:10px 10px 40px;
	background:transparent url('images/footer.jpg') no-repeat scroll bottom center;
}


/** sitename - ORIGINALE **/

div#sitename h1 {
	color:#549FC7;
	font-size:48px;
	font-weight:bold;
	letter-spacing:-5px;
	margin:0;
	padding:25px 10px 35px 15px;
}

div#sitename h1 a,
div#sitename h1 a:hover {
	color:#004300;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-weight:normal;
	letter-spacing:-1px;
	text-decoration:none;
}


/** nav - ORIGINALE **/

div#nav {
	background:#006600 url('images/nav-bg.jpg') repeat-x scroll top left;
	height:40px;
}

div#nav ul {
	margin:0;
	padding:0;
	list-style:none;
	float:left;
	border-right:1px solid #09232F;
}

div#nav ul li {
	float:left;
	padding-bottom:0;
	display:block;
}

div#nav ul li a,
div#nav ul li a:visited,
div#nav ul li a:active,
div#nav ul li a:link {
	color:#fff;
	display:block;
	float:left;
	text-decoration:none;
	font-size:10px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-weight:bold;
	cursor:pointer;
	text-transform:uppercase;
}

div#nav ul li.current a {
	color:#0D570C;
	background:transparent url('images/item-right.jpg') no-repeat scroll top right;
}

div#nav ul li.current a span,
div#nav ul li.current a:visited span,
div#nav ul li.current a:hover span,
div#nav ul li.current a:active span,
div#nav ul li.current a:link span {
	background:transparent url('images/item-left.jpg') no-repeat scroll top left;
	border:none;
	padding:18px 15px 16px;
}

div#nav ul li.current a {
	margin-top:-6px;
}

div#nav ul li a span {
	padding:14px 15px 14px;
	border-right:1px solid #126F11;
	border-left:1px solid #072C07;
	display:block;
	float:left;
	background:transparent none;
}

div#nav ul li a:hover span {
	background:transparent url('images/nav-bg-hover.jpg') repeat-x scroll top left;
}


/** body - ORIGINALE **/

div#body {
	padding:10px 5px;
	background:#fff url('images/content-bg.jpg') repeat-x scroll top left;
}


/** content + sidebar **/

div#content {
	width:890px;
}

div.column-left {
	float:left;
	margin-right:20px;
}

div.column-right {
	float:right;
	background:#f2feed;
}

div#sidebar {
	width:0px;
}

div#sidebar ul {
	margin:0;
	padding:0;
	list-style:none;
}

div#sidebar li ul {
	border-top:1px solid #ddd;
	margin-bottom:20px;
}

div#sidebar li ul li {
	display:block;
	padding:10px 15px;
	color:#777;
}

div#sidebar li ul li a {
	color:#006600;
	text-decoration:none;
	font-weight:bold;
}

div#sidebar li ul li a:hover {
	color:#001800;
	text-decoration:underline;
}

div#sidebar h4 {
	color:#444;
	font-family:Arial, Helvetica, sans-serif;
	font-size:20px;
	font-weight:normal;
	margin:0;
	padding:7px 10px;
}


/** footer - ORIGINALE **/

div#footer {
	background:#004E00;
	padding:20px 20px;
	color:#fff;
	border-bottom:2px solid #001200;
}

div#footer p {
	color:#fff;
	margin:0;
	font-size:11px;
	width:50%;
}

div#footer p.left {
	float:left;
}

div#footer p.right {
	float:right;
	text-align:right;
}

div#footer p a {
	color:#fff;
	font-weight:bold;
	text-decoration:none;
	border-bottom:1px solid #fff;
}

div#footer p a:hover {
	background-color:#006600;
}


/** clear fix **/

.clear:after {
	content:".";
	display:block;
	clear:both;
	visibility:hidden;
	line-height:0;
	height:0;
}

.clear {
	display:inline-block;
}

.clear {
	display:block;
}


/* =========================================================
   NUOVO CORPO NEWS
   ========================================================= */

.news-modern {
	width:100%;
	max-width:850px;
	margin:25px auto 30px;
	background:#ffffff;
	border:1px solid #e1e6e1;
	box-shadow:0 8px 28px rgba(0,0,0,0.08);
	text-align:left;
	overflow:hidden;
	position:relative;
}


/* ---------------------------------------------------------
   RIGA VERDE SOPRA E SOTTO
   --------------------------------------------------------- */

.news-modern:before,
.news-modern:after {
	content:"";
	position:absolute;
	left:0;
	width:100%;
	height:4px;
	background:#006600;
	z-index:2;
}

.news-modern:before {
	top:0;
}

.news-modern:after {
	bottom:0;
}


/* ---------------------------------------------------------
   INTESTAZIONE NEWS
   --------------------------------------------------------- */

.news-modern-header {
	position:relative;
	padding:38px 48px 30px;
	background:#ffffff;
	border-bottom:1px solid #e6e9e6;
}

.news-modern-label {
	margin-bottom:12px;
	color:#006600;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	font-weight:bold;
	letter-spacing:2px;
	text-transform:uppercase;
}

.news-modern-header h2 {
	margin:0;
	padding:0;
	color:#242424;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:38px;
	font-weight:normal;
	line-height:1.2;
	letter-spacing:-.5px;
}

.news-modern-meta {
	margin-top:15px;
	color:#888;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

.news-modern-date:before {
	content:"";
	display:inline-block;
	width:7px;
	height:7px;
	margin-right:8px;
	border-radius:50%;
	background:#006600;
}


/* ---------------------------------------------------------
   IMMAGINE
   --------------------------------------------------------- */

.news-modern-photo {
	padding:30px 35px 0;
	text-align:center;
	background:#fff;
}

.news-modern-photo img {
	display:block;
	width:auto;
	max-width:100%;
	height:auto;
	max-height:none;
	margin:0 auto;
	padding:0 !important;
	border:0 !important;
}


/* ---------------------------------------------------------
   TESTO
   --------------------------------------------------------- */

.news-modern-content {
	max-width:760px;
	margin:34px auto 0;
	padding:0 28px;
	color:#444;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:17px;
	line-height:1.85;
	text-align:left;
}

.news-modern-content p {
	margin:0 0 20px;
	color:#444;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:17px;
	line-height:1.85;
}


/* ---------------------------------------------------------
   LINK DENTRO LA NOTA
   --------------------------------------------------------- */

.news-modern-content a,
.news-modern-content a:visited {
	color:#1A601A;
	text-decoration:underline;
	font-weight:normal;
}

.news-modern-content a:hover {
	color:#333;
	text-decoration:underline;
}


/* immagini eventualmente presenti nella nota */

.news-modern-content img {
	max-width:100%;
	height:auto;
}


/* ---------------------------------------------------------
   LINK FINALE
   --------------------------------------------------------- */

.news-modern-action {
	max-width:760px;
	margin:30px auto 42px;
	padding:24px 28px 0;
	border-top:1px solid #e3e7e3;
}

.news-action-link {
	display:flex;
	align-items:center;
	justify-content:space-between;
	width:100%;
	padding:15px 18px;
	background:#f2f7f2;
	border-left:4px solid #006600;
	color:#1A601A !important;
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
	font-weight:bold;
	text-decoration:none !important;
	transition:all .2s ease;
}

.news-action-link:hover {
	background:#e5eee5;
	color:#004800 !important;
	padding-left:23px;
}

.news-action-arrow {
	font-size:20px;
	font-weight:normal;
}


/* ---------------------------------------------------------
   TESTO LINK FINALE
   --------------------------------------------------------- */

.news-modern .news-action-link .news-action-text {
	display:inline-block !important;
	font-family:Georgia, "Times New Roman", Times, serif !important;
	font-size:28px !important;
	font-weight:normal !important;
	line-height:1.25 !important;
	transform:none !important;
}


/* ---------------------------------------------------------
   ERRORI
   --------------------------------------------------------- */

.news-error,
.news-empty {
	padding:30px;
	margin:25px auto;
	background:#fff;
	border:1px solid #ddd;
	color:#666;
	text-align:center;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media screen and (max-width:960px) {

	body {
		margin:20px auto;
	}

	div#wrapper-outer {
		width:calc(100% - 20px);
	}

	div#wrapper {
		width:100%;
	}

	div#content {
		width:100%;
		float:none;
	}

	div#sidebar {
		display:none;
	}

}


/* =========================================================
   TABLET
   ========================================================= */

@media screen and (max-width:760px) {

	body {
		margin:0;
	}

	div#wrapper-outer {
		width:100%;
		margin:0;
	}

	div#wrapper {
		width:100%;
		padding:10px 8px 35px;
	}

	div#content {
		width:100%;
		float:none;
	}

	div#nav {
		height:auto;
	}

	div#nav ul {
		width:100%;
		float:none;
	}

	div#nav ul li {
		float:left;
	}

	.news-modern {
		margin:20px auto;
	}

	.news-modern-header {
		padding:32px 30px 26px;
	}

	.news-modern-header h2 {
		font-size:32px;
	}

	.news-modern-photo {
		padding:25px 20px 0;
	}

	.news-modern-content {
		margin-top:28px;
		padding:0 25px;
		font-size:16px;
		line-height:1.8;
	}

	.news-modern-content p {
		font-size:16px;
		line-height:1.8;
	}

	.news-modern-action {
		padding:20px 25px 0;
	}

}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media screen and (max-width:520px) {

	body {
		margin:0;
	}

	div#wrapper-outer {
		width:100%;
	}

	div#wrapper {
		width:100%;
		padding:5px 5px 30px;
	}

	/* testata */

	div#sitename h1 {
		font-size:32px;
		letter-spacing:-3px;
		padding:20px 8px 25px;
	}

	div#sitename h1 img {
		width:75px;
		height:75px;
	}

	div#sitename h1 a span {
		font-size:24px !important;
	}

	/* menu */

	div#nav {
		height:auto;
	}

	div#nav ul {
		width:100%;
	}

	div#nav ul li {
		width:50%;
		float:left;
	}

	div#nav ul li a {
		width:100%;
		float:none;
	}

	div#nav ul li a span {
		width:100%;
		float:none;
		padding:11px 3px;
		text-align:center;
		font-size:8px;
	}

	/* corpo */

	div#body {
		padding:8px 2px;
	}

	.news-modern {
		margin:12px auto 20px;
		border-left:0;
		border-right:0;
		box-shadow:0 5px 18px rgba(0,0,0,.07);
	}

	.news-modern-header {
		padding:27px 20px 23px;
	}

	.news-modern-label {
		font-size:9px;
		letter-spacing:1.5px;
	}

	.news-modern-header h2 {
		font-size:27px;
		line-height:1.25;
		letter-spacing:0;
	}

	.news-modern-meta {
		font-size:11px;
	}

	/* immagine grande anche su smartphone */

	.news-modern-photo {
		padding:20px 8px 0;
	}

	.news-modern-photo img {
		width:100%;
		max-width:100%;
		height:auto;
	}

	.news-modern-content {
		margin-top:24px;
		padding:0 20px;
		font-size:16px;
		line-height:1.8;
	}

	.news-modern-content p {
		font-size:16px;
		line-height:1.8;
		margin-bottom:18px;
	}

	.news-modern-action {
		margin:25px 0 20px;
		padding:18px 20px 0;
	}

	.news-action-link {
		padding:14px;
		font-size:12px;
	}

	/* footer */

	div#footer p {
		width:100%;
		float:none !important;
		text-align:center !important;
		margin-bottom:10px;
	}

}


/* =========================================================
   SMARTPHONE PICCOLO
   ========================================================= */

@media screen and (max-width:380px) {

	div#sitename h1 a span {
		font-size:20px !important;
	}

	.news-modern-header h2 {
		font-size:24px;
	}

	.news-modern-content {
		font-size:15px;
	}

	.news-modern-content p {
		font-size:15px;
	}

}


/* =========================================================
   CORREZIONE FINALE
   PC + MOBILE ORIZZONTALE = 28px
   MOBILE VERTICALE = 36px
   ========================================================= */

.news-modern .news-action-link .news-action-text {
	display:inline-block !important;
	font-family:Georgia, "Times New Roman", Times, serif !important;
	font-size:28px !important;
	font-weight:normal !important;
	line-height:1.25 !important;
	transform:none !important;
}

@media screen and (max-width:520px) and (orientation:portrait) {

	.news-modern .news-action-link .news-action-text {
		font-size:36px !important;
		line-height:1.2 !important;
	}

}
