/* Reset */

* {img
margin: 0;
padding: 0;
}

/* Clearfix */

.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

.clearfix {
display: inline-block;
}

/* Hides from IE-mac \*/

.clearfix {
display: block;
}

* html .clearfix {
height: 1%;
}

/* End hide from IE-mac */

/* Struttura */

body {
font: 100% "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
color: #5f6062;
background: #f5f6f7;
margin-top: 1px;
margin-bottom: 8px;
}

#container {
width: 982px;
margin: 0px auto;
padding: 0;
}

#header {
height: 200px;
margin-bottom: 0.3em;
background: #f5f6f7 url(../public/57.jpg) no-repeat 0 0;
}


#nav {
border-top: 1px solid #e2e2e2;
border-bottom: 1px solid #e2e2e2;
margin:0 0 1em 0;
padding: 0;
background: #fff;
}

ul#main_menu {
list-style: none;
/*background: #fff url(../img/barul.gif) no-repeat bottom right;
padding: 0px 0px 0px 0px;*/
float: left;
margin: 0;
}

ul#main_menu li {
display: block;
background: #fff url(../img/barul.gif) no-repeat bottom right;
padding: 0px 2px 0px 2px;
text-transform: uppercase;
font-size: 0.65em;
line-height: 30px;
margin: 0;
text-align: center;
float: left;

}

#main_menu li a:link, #main_menu li a.active, #main_menu li a:visited  {
display: block;
background: #fff url(../img/bar.gif) no-repeat bottom left;
padding: 1px 10px 2px 10px;
color: #808080; 
text-decoration: none; }

#main_menu li a:hover  {
display: block;
color: #000; 
text-decoration: none; }

#main_menu li a.active  {
background: #fff url(../img/baractive.gif) no-repeat bottom left; 
color: #546879; 
font-weight: bold;
}

ul.section_list {
margin: 205px 0 0 0;
float: left;
background: #fff url(../img/barul.gif) no-repeat bottom right;
padding: 8px 2px 8px 0;
font-size: 0.8em;
color: #808080;
display: inline;
}

ul.section_list li {
padding: 8px 14px 8px 14px;
background: #fff url(../img/bar.gif) no-repeat bottom left;
display: inline;
text-transform: uppercase;
font-size: 0.8em;
}

ul.section_list li a.active { 
background: #f5f6f7 url(../img/baractive.gif) no-repeat bottom left; 
font-weight: bold;
color: #546879;
display: inline; 
padding: 8px 14px 8px 14px; 
margin: 0; 
}

ul.section_list li a:link, ul.section_list li a.active, ul.section_list li a:visited {
display: inline; 
/*background: #fff url(../img/bar.gif) no-repeat bottom left;*/
color: #808080; 
text-decoration: none; 
}
 	
ul.section_list li a:hover { 
display: block;
color: #000; 
background: #f8f8f8; 
}

#content {
margin: 0;
width: 694px;
float: left;
display: inline;
}

/* hack for min-height */

#content {
min-height: 400px;
height: auto !important;
height: 400px;
}

/* Tipografia */

p {
font-size: 0.825em;
line-height: 1.4em;
text-align: justify;
margin: 0.3em 0;
padding: 0.5em 0;
}

.post p {
line-height: 2em;
}

.title p {
margin-top: 1em;
}

.files p {
padding: 0;
font-size: 0.8125em;
}



h1 {
font-weight: normal;
font-size: 1.250em;
line-height: 2em;
}

h2 {
font-weight: normal;
font-size: 1.2em;
line-height: 1em;
padding: 0;
color: #546879;
margin: 0.5em 0em;
}

h3 {
font-weight: normal;
font-size: 1em;
line-height: 1.2em;
padding: 0;
color: #112f4f;
}

h4 {
font-weight: bold;
font-size: 0.8125em;
padding-left: 0.5em;
}

dl {
}

dt {
font-weight: normal;
font-size: 0.875em;
margin: 0.5em 0;
color: #7b4520;
}

dd, dd p {
margin: 0;
padding: 0;
}

dd p {
margin: 0.5em 0.5em 0.5em 1em;
}

/* Links */

a {
color: #0084ca;
text-decoration: none;
}

a.active {
color: #fff;
background: #0084ca;
}

#menu a {
padding: 1px;
}

#menu a.active, #menu a:hover {
/*color: #fff;*/
/*background: #0084ca;*/
text-decoration: none;
}
#destro ul.side_menu {font-family:verdana;
		font-size:12px;
		position:relative;
		margin:0 auto;
		width:250px;}
.side_menu li {
		
		padding:5px;
		margin:2px;
		cursor:pointer;
		border:1px solid #ccc;
		}
.side_menu li.hover {background-image:url(../img/bg_hover.gif) !important;}

#content p a {
text-decoration: none;
}

#content p a:hover {
text-decoration: none;
}

#content p.posted a {
text-transform: none;
text-decoration: none;
}

#content .risultati, fieldset {
	margin: 10px 20px 10px 0;
	padding: 2px 6px 20px 6px;
	background: #fefff3;
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	border: 1px solid #ccc;
}

#content .risultati p.posted {
	color: #112f4f;
	margin-bottom: 10px;
	padding: 0;
	font-size: 0.9em; /* 16px */	
	line-height: 1.4em;
	font-weight: normal;
	font-style: normal;
}

#content .risultati p {
	color: #112f4f;
	padding: 0 20px 0 40px;
	font-size: 0.85em; /* 14px */
	line-height: 1.4em;
}

#content .risultati p strong {
	color: #e70011;
}

.panel-top				{float:left; width:696px;display: inline; height:6px; margin-top:15px; background:url(../img/bg-panel-top.gif) 0 100% no-repeat;}
.panel					{float:left; width:672px;display:inline; padding:6px 12px 12px; background:url(../img/bg-panel-base.gif) 0 100% no-repeat;}

#content .panel p		{color:#666; font-size:0.8em; line-height:1.4em; margin-top:6px;}
#content .panel h3		{margin-top:0;}
#content .panel h3.down	{font-size:1em;}
.panel .section			{float:left; padding-right:12px; width:500px; border-right:1px solid #e5e5e5;}
.panel .immaginepanel		{float:left; margin-left:12px; padding-left:1px;}
.panel .ad				{float:left; margin:8px; padding:2px 3px 4px; background:url(../img/bg-ad.gif) 0 0 no-repeat;}

/* barralaterale */

#destro {float:right; width:272px; margin-left:14px;display: inline;}

#destro .box {float:left; width:248px; margin-bottom:15px; padding:3px 12px 12px; background:url(../img/bg-box-base.gif) 0 100% no-repeat; display:inline;}
#destro .box h3			{margin:0 0 3px; color:#000; font-size:0.9em;}
#destro .box p				{margin:0 0 0.9em 0; color:#666; font-size:0.75em; line-height:1.4em;}
#destro .box-top {float:left; width:272px; height:6px; background:url(../img/bg-box-top.gif) 0 0 no-repeat;}
#destro .box strong		{color:#000;}
#destro .box .freccia, #content	.freccia	{padding-right:7px; background:url(../img/blulink.gif) 100% 60% no-repeat;}

#content .freccia:hover, #destro .box .freccia:hover {color: #fff;background: #0084ca;}
#destro .box .sml-end		{margin-bottom:0; font-size:0.8em; clear:both; float:left; line-height:1.2em; margin-top:6px; width:248px;}

.red-btn-wrapper		{float:left; padding-left:14px; background:url(../img/bg-btn-lft.gif) 0 0 no-repeat; height:22px; display:inline; overflow:hidden;}
.red-btn-wrapper .red-btn	{cursor:pointer; background:url(../img/bg-btn-rgt.gif) 100% 0 no-repeat; width:auto !important; color:#fff; border:0 !important; font-size:14px; font-weight:bold; overflow:visible; padding:1px 14px 4px 0 !important; margin:0; vertical-align:top;}

#form-ricerca .red-btn-wrapper {float:right; padding-left:14px; background:url(../img/bg-btn-lft.gif) 0 0 no-repeat; height:23px; display:inline; overflow:hidden;}
#form-ricerca .red-btn-wrapper .red-btn	{cursor:pointer; background:url(../img/bg-btn-rgt.gif) 100% 0 no-repeat; width:auto !important; color:#fff; border:0 !important; font-size:15px; font-weight:bold; overflow:visible; padding:1px 14px 4px 0 !important; margin:0; vertical-align:top;}

#form-ricerca {float: right; margin-right: 0;width:200px;}
#formricerca input#searchInput {
        font-size: .92em;
	background-color:#f1f1f1;
	border:1px solid #D4D4D4;
	padding:4px 10px 6px;
	width:150px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
input#searchInput:focus {
	background-image: none;
}
#formricerca button#btn {
	width: 28px;
        border: 0;
	padding: 4px 0 4px 10px;
	text-indent: -9999px;
	background: url(../img/bottonecerca.gif);
	background-repeat: no-repeat;	
}
#formricerca button#btn::-moz-focus-inner {
	border: 0;
}


/* Immmagini */

img {
border: 0;
text-decoration: none;
}
.grande {
float: left;
clear: left;
margin: 8px 15px 10px 0;
padding:2px;
border:solid 1px #c0c5d6;
}

img.left, img.right {
padding: 4px;
border: 1px solid #e6e6e6;
}

img.left {
float: left;
margin: 0 3px 0px 0;
padding-left: 0;
border: 0;
}

img.right {
float: right;
margin: 0 0 3px 5px;
border: 0;
}

img.center {
display: block;
margin: 5px auto 5px 0;
padding: 0;
}

.article-image {
text-align: center;
}

/* Lists */

ol, ul, blockquote {
margin: 0.5em 0 1em 2em;
}

blockquote, li {
text-align: left;
padding: 0;
margin-top: 0.5em;
margin-bottom: 1em;

}

ol li {
list-style: decimal;
list-style-position: outside;
margin-top: 0.5em;
margin-bottom: 0.5em;
font-size: 0.875em;
}

ul li {
list-style: none;
/*margin-top: 1em;*/
margin-bottom: 0;
}

ul.category_list, ul.news_list {
margin: 0;
padding: 0 0 1em 0;
}

ul.bullets {
padding: 0px;
margin-bottom: 1em;
margin: 0 1em 1em 0;
}

ul.bullets li {
list-style-type: none;
background: url(../img/blulink.gif) no-repeat 0 10%;
padding-left: 10px;
font-size: 0.85em;
}

ul.category_list li {
list-style-type: none;
display: inline;
font-size: 0.75em;
text-transform: uppercase;
margin: 0 0.5em 0.5em 0;
padding: 0;
}

ul.category_list li a {
padding: 2px;
}

ul.category_list li.active a, ul.category_list li a:hover {
color: #fff;
background: #f26631;
}

ul.category_list li.active a {
color: #fff;
background: #f26631;
}

ul.news_list li {
list-style-type: none;
display: inline;
font-size: 0.75em;
text-transform: uppercase;
margin: 0 0.5em 0.5em 0;
padding: 0;
}

ul.news_list li a {
padding: 2px;
}

ul.news_list li a.active, ul.news_list li a:hover {
color: #fff;
background: #f26631;
}

ul.news_list li a.active {
color: #fff;
background: #f26631;
}


/* Moduli */

/*fieldset {
border: 0 none;
background: #eee;
padding-left: 5px;
font-size: 0.85em;
}*/

fieldset legend {
display: none;
}

form, #formricerca input {
font-size: .82em;
}
#formricerca {
        position: absolute; 
	float: right;
	text-align: right;
	margin-top: 7px;
        margin-left: 750px;
	margin-right: 2px;
	height: 32px;
}
input, textarea, select {
border: 1px solid #ccc;
background: #fff;
margin: 0;
padding: 0.4em;
font-size: 0.9em;
}
input.zemSubmit {cursor:pointer; background:url(../img/bg-btn-rgt.gif) 100% 0 no-repeat; width:auto !important; color:#fff; border:0 !important; font-size:14px; font-weight:bold; overflow:visible; padding:1px 14px 4px 0 !important; margin:0; vertical-align:top;}

/*input.zemSubmit {
background: #fff;
width: 200px;
}*/

ul.zemError {
margin: 0;
margin-bottom: 2em;
}

ul.zemError li {
margin: 5px 0;
padding: 1em;
padding-left: 40px;
background: red;
color: #fff;
list-style-type: decimal;
list-style-position: inside;
}

input.zemRequirederrorElement, select.zemRequirederrorElement,textarea.zemRequirederrorElement {
background: #fff;
border: 1px solid red;
}

#Name, #Email, #Message {
width: 300px;
}

/* Precedente Successivo */

#prevnext {
margin: 1em 0 1em 0;
}

.prec {
background:url(../images/precedente.gif) 0 0 no-repeat;
}

.succ {
background:url(../images/successivo.gif) 0 0 no-repeat;
}

#prevnext a {
color: #fff;
display: inline;
padding: 3px 12px 5px 12px;
margin-right: 2em;
font-size: 0.9em;
text-transform: uppercase;
}

#prevnext a, #prevnext a:link, #prevnext a:visited, #prevnext a:active {
text-decoration: none;
}

#prevnext a:hover {
text-decoration: none;
color: #000;
}

/* Larghezze */

.larghezza12 {
width: 120px;
}

.larghezza25 {
width: 200px;
}

.larghezza33 {
width: 300px;
}

.larghezza40 {
width: 400px;
}

.larghezza50 {
width: 490px;
}

.larghezza66 {
width: 650px;
}

.larghezza75 {
width: 730px;
}

.larghezza100 {
width: 982px;
}

.right {
float: right;
}

.left {
float: left;
}

.clear {
clear: both;
}

/* Altezza */
.altezza60 {
height: 60px;
}

.altezza120 {
height: 120px;
}

.altezza180 {
height: 180px;
}

.altezza250 {
height: 250px;
}
.altezza320 {
height: 270px;
}
.altezza300 {
height: 300px;
}

/* Vari */

.files {background: #eee; padding: 5px 10px;}

.title {
margin-bottom: 4em;
}

.bold {
font-weight: bold;
}

.textcenter {
text-align: center;
}

.textright {
text-align: right;
}

.posted {
margin-top: 5px;
padding-top: 0.6em;
text-transform: none;
color: #555;
}
.social {
margin:top 5px;
display: inline-block;
}

.post {
border-bottom: 1px solid #555;
margin-bottom: 1em;
padding-bottom: 1em;
}

.small {
font-size: 0.7em;
text-transform: uppercase;
margin-bottom: 0;
padding-bottom: 0;
border-bottom: 1px solid #ccc;
}

.border {
margin: 0;
padding: 1em 0 1em 0;
border-top: 1px solid #ccc;
border-bottom: 1px solid #f5f6f7;
}

.border-top {
margin: 0;
padding: 1em 0;
border-top: 1px solid #ccc;
}

.padding20 {
padding: 20px;
}

.margin30 {
margin-right: 30px;
}

.margin20 {
margin: 0 4px 20px 0;
padding: 0 22px 0 12px;
border-right:1px solid #ccc;
}

object {

}

/* Tooltip e menu secondario */

#tooltip {
font-size: 0.75em;
position: absolute;
text-transform: uppercase;
background: #f26631;
padding: 2px 5px;
color: #fff;
display: none;
}

#menu_lat {
		font-family:verdana;
		font-size:12px;
		position:relative;
		margin:0 auto;
		width:200px;
	}
	
	#menu_lat ul {
		/* remove list style */
		list-style:none;
		padding:0;
		margin:0;	
		
		/* set the layer position */
		position:relative;
		z-index:5;
	}
	
		#menu_lat li {
			/* set the styles */
		background:#ccc url(../img/bg.gif) no-repeat 0 0;
			padding:5px;
			margin:2px;
			cursor:pointer;
			border:1px solid #ccc;
		}
		
		#menu_lat li.hover {
			/* on hover, change it to this image */
	background-image:url(../img/bg_hover.gif) !important;
		}
		
		#menu_lat li a {
			text-decoration:none;	
			color:#888;
		}
	
	
	#menu_lat .block {
		/* allow javascript to move the block */
		position:absolute;
		top:0;
		
		/* set the left position */
		left:150px;	
		
		/* display above the #menu_lat */
		z-index:10;
		
		/* the image and the size */
		background:transparent url(../img/arrow.png) no-repeat top right;
		width:39px;
		padding:4px;
		cursor:pointer;
	}
	
	/* fast png fix for ie6 */
	* html .png{
		position:relative;
		behavior: expression((this.runtimeStyle.behavior="none")&&(this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none",
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
this.src = "transparent.gif"):(this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
this.runtimeStyle.backgroundImage = "none")),this.pngSet=true));
	}

/* footer */
#footer { 
        background:#ccc url(../img/bg_hover.gif) 0 0;
	margin:10px 0 0 0;
        border:1px solid #ccc;
}
#footer p {
        font-size:12px;
        line-height: 1.5em;
	color: #888;
        padding: 0 8px;
}
#footer a { color: #666; }
#footer a:hover { color: #0084ca; }
#footer .right { float: right; }

#masthead-search{float:right;padding:0 0.2;margin: 0.2em 0;line-height:0.8em;white-space:nowrap;}

#masthead .search-form{position:relative;color:#888;}#masthead .search-term{font-size:110%!important;border:1px solid #999;padding:2px 1px 1px 1px;width:10em;height:0.1em;vertical-align:top}#masthead .search-term{padding-left:2px;padding-right:2px;margin-top:1px;margin-bottom:1px;border-color:#666}#masthead .search-term-focus{border:2px solid #bbdafd!important;padding-left:1px;padding-right:1px;margin-top:0;margin-bottom:0}


.yt-button, a.yt-button{padding:0.3em .8em;margin:0 .2em;white-space:nowrap;text-decoration:none;color:#888;background:#d8d8d8 url(http://s.ytimg.com/yt/img/master-vfl141814.png) repeat-x center -802px;border:1px solid #999;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;cursor:pointer;display:-moz-inline-box;display:inline-block;*display:inline}
.yt-button span{font-size:100%;white-space:normal;line-height:2.8em;height:1.3em;*display:inline-block}

#news24 {
	width: 167px;
	padding: 0;
	margin: 20px 40px;
	text-align: center;
}


#calendario {
	width: 167px;
	padding: 0;
	margin: 20px 50px;
	border-left: 1px solid #A2ADBC;
	font: normal 12px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #616B76;
	text-align: center;
	background-color: #fff;
}


#calendario .nav, .nav a {
	font: bold 18px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #fff;	
	text-align: center;
	text-decoration: none;
}	




#calendario th {
	font: bold 11px/20px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #616B76;
	background: #D9E2E1;
	border-right: 1px solid #A2ADBC;
	border-bottom: 1px solid #A2ADBC;
	border-top: 1px solid #A2ADBC;
	text-align: center;
}

#calendario .smd_cal_today, td.today a, td.today a:link, td.today a:visited {
	color: #F6F4DA;
	font-weight: bold;
	background: #DF9496;
}

#calendario td {
	border-right: 1px solid #A2ADBC;
	border-bottom: 1px solid #A2ADBC;
	width: 20px;
	height: 20px;
	text-align: center;
	background: url(../img/bg_calendario.gif) no-repeat right bottom;
}

#calendario td a {
	text-decoration: none;
	font-weight: bold;
	display: block;
}

#calendario td a:link, td a:visited {	
	color: #608194;
	background: url(../img/bg_calendario.gif) no-repeat;
}

#calendario td a:hover, td a:active {
	color: #6aa3ae;
	background: url(../img/bg_calendario.gif) no-repeat right top;
}


.bottom_right_border {border-right:1px solid #D5D5D5; border-bottom:1px solid #D5D5D5;}
.bottom_border {border-bottom:1px solid #D5D5D5;}
.right_border {border-right:1px solid #D5D5D5;}
/* SLIMBOX */

#lbOverlay {
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	cursor: pointer;
}

#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 9999;
	overflow: hidden;
	background-color: #fff;
}

.lbLoading {
	background: #fff url(../img/loading.gif) no-repeat center;
}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #fff;
	background-repeat: no-repeat;
}

#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 0;
	width: 50%;
	outline: none;
}

#lbPrevLink {
	left: 0;
}

#lbPrevLink:hover {
	background: transparent url(../img/prevlabel.gif) no-repeat 0 15%;
}

#lbNextLink {
	right: 0;
}

#lbNextLink:hover {
	background: transparent url(../img/nextlabel.gif) no-repeat 100% 15%;
}

#lbBottom {
	font-family: Verdana, Arial, Geneva, Helvetica, sans-serif;
	font-size: 10px;
	color: #666;
	line-height: 1.4em;
	text-align: left;
	border: 10px solid #fff;
	border-top-style: none;
}

#lbCloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	background: transparent url(../img/closelabel.gif) no-repeat center;
	margin: 5px 0;
	outline: none;
}

#lbCaption, #lbNumber {
	margin-right: 71px;
}

#lbCaption {
	font-weight: bold;
}

.bordino {
	height: 90px;
	width: 90px;
	border: 1px solid #999999;
	padding: 3px;
	background-color: #FFFFFF;
	margin: 3px;
}
.bordino a:hover { 
        background-color: #0064ab;
}
