/* top elements */
* {
	margin: 0; padding: 0;
} 
body {
	margin: 0;
	padding: 0;
	font: 71%/1.5em  Verdana, 'Trebuchet MS', Arial, Sans-serif; /* background: url('../images/upperb.gif') repeat-x; */
	color: #222222;
	text-align: center;
   background: White;
}

.myindex {
	/* background: url('../images/upperb.gif') repeat-x; */
	BACKGROUND-COLOR: #d03f13;
	color: #ffffff;	
	text-align: center;
}

/* links */
a.mya {
   background: inherit;
	color: #222222;
}
a.mya:hover {
  background: inherit;
  text-decoration: none;
  color: #222222;	
}
a.mya img { 
  border: 0;
}
a.mya:hover img {  
  border: 0;
}

/* links */
a {
	background: inherit;
	color: #3182C0; 
}
a:hover {
	background: inherit;
	color: #806B4D /*#72A545;*/
}



/* headers */
h1, h2, h3, h4 {
	background: inherit;
	font: bold 1em 'Trebuchet MS', Tahoma, Sans-serif;
	text-transform: uppercase;
   color: #222222;
}
h1 { font-size: 1.3em; }
h2 { font-size: 1.1em; }
h3 { font-size: 1.0em; text-transform: none;}
h4 { font-size: 0.9em; text-transform: none;}

label{
  float: left;
  width: 140px;
  margin-left: 15px;
  font-weight: bold;
}
input {
   width: 350px;
   padding: 4px;
   border: 1px solid #aaa;
   font: normal 1em/1.5em Verdana, sans-serif;
   background: white;
   color: #666666;
}

textarea {
   width: 350px;
   height: 150px;
  	padding:4px;
	font: normal 1em/1.5em Verdana, sans-serif;
	border:1px solid #aaa;
	background: white;
	color:#666666;
}

.boxes{
  width:2em;
}

.submitbutton{
	width: 30px;
	margin: 0;
	font: bold 1em Arial, Sans-serif;
	background: #FFF url(../images/gradientbg.jpg) repeat-x;
	padding: 2px 3px;
	color: #333;
	border: 1px solid #DADADA;
	cursor: pointer;
}
.submitbutton2{
	width: 55px;
	margin: 0;
	font: bold 8pt Arial, Sans-serif;
	background: #FFF url(../images/gradientbg.jpg) repeat-x;
	padding: 2px 3px;
	color: #333;
	border: 1px solid #DADADA;
	cursor: pointer;
}

#main h1 {
	/* padding: 10px 0 5px 5px; */

	background: url('../images/pal.jpg') no-repeat 2px 12px;
	padding: 13px 0px 5px 30px;
	margin-left: 15px;
	margin-right: 15px;
	margin-top: 5px;
	margin-bottom: 5px;
   text-transform: uppercase;
	border-bottom: 1px solid #d1d1d1;/*#f2f2f2;*/ 	
}	

#rightbar h3,h4 {
	padding: 13px 0px 2px 25px;
	background: url('../images/pal.jpg') no-repeat 2px 12px;
	margin: 0;
	text-transform: uppercase;	
}

#sidebar h1 {
	padding: 10px 0px 5px 30px;
	/*background: url('../images/square_arrow.gif') no-repeat 2px 12px;*/
	margin: 0;
	text-transform: uppercase;
}

#sidebar h2 {
	padding: 10px 0px 5px 30px;
	/*background: url('../images/square_arrow.gif') no-repeat 2px 12px;*/
	margin: 0;
	text-transform: uppercase;
}


p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;	
	background: inherit;
   color: #3182C0;	
}
ul span, ol span {
  background: inherit;
  color: #222222;
}

/* images */
img {
	/*border: 2px solid #CCC;*/
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}
a img { 
  border: 1px solid #3791D7;
}
a:hover img {  
  border: 1px solid #806B4D;
}

code {
  margin: 10px 15px 0px  15px;
  padding: 2px 10px 2px 2px; 
  text-align: right;
  display: block;
  font-weight: bold;
  
  /* font: 'Lucida Console', 'courier new', monospace; */
  /* white-space: pre; */

  overflow: auto;  
  background: #FAFAFA;
  color: #222222;
  border-right: 3px solid #3182C0;
  border-left: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2; 
  border-top: 1px solid #f2f2f2; 
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 10px 15px 0px  15px;
 	padding: 0 0 0 32px;  	
  	background: #FAFAFA url('../images/quote.gif') no-repeat 8px 10px; 
	border-left: 3px solid #3182C0;  
	border-right: 1px solid #f2f2f2; 
	border-bottom: 1px solid #f2f2f2; 
	border-top: 1px solid #f2f2f2; 
	font-weight: bold;
	color: #222222; 
}

/* form elements */
form {
   margin: 0px 15px 0px  15px;
   padding: 2px 10px 2px 2px; 
	border: 1px solid #d9d9d9; 
	background-color: #FAFAFA;
	COLOR: #333; 
}			
input.button {
	margin: 0;
	font: bold 1em Arial, Sans-serif;
	border: 1px solid #ccc;
	background: #FFF url(../images/gradientbg.jpg) repeat-x;
	padding: 2px 3px;
	color: #333;
	cursor: pointer;
		
}

/* search form */
form.buttonform {
	border: 0;
	background: transparent;
	margin: 0; padding: 0;
	cursor: pointer;
	color: #222222;	
}
form.searchform {
	background: transparent;
	border: none;
	margin: 0; padding: 0;
	color: #222222;	
}
form.searchform input.textbox { 
	margin: 0; 
	width: 100px;
	border: 1px solid #CCC; 
	background: #FFF;
	color: #333; 
	vertical-align: top;
   font: bold 7.5pt 'Trebuchet MS', Arial, Sans-serif;
}
form.searchform input.button {
	width: 50px;
	vertical-align: top;
   font: bold 8pt 'Trebuchet MS', Arial, Sans-serif;
	background: #FFF url(../images/gradientbg.jpg) repeat-x;
	color: #222222;
	cursor: pointer;
		
}

/*****************/
/*    Layout     */
/*****************/
#wrap {
	margin: 0 auto;
   width: 960px;  	
	text-align: left;		
	background: #FFFFFF;
	color: #222222;	
}
#content-wrap {
	clear:both;
    margin: 0; padding:0;
	width: 960px;	
}

/* header */
#header {
	position: relative;
	background: url('../images/upperb.gif') repeat-x 0 0;
	height: 68px;
}
#header h1#logo {
	position: absolute;
	margin: 0;
	padding: 0;
	font: bold 26pt 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	color: #CCCCCC;
	background: inherit;  
	text-transform: none;
	top: 0;
	left: 10px;
}
#header h2#slogan {
	position: absolute;
	margin: 0;
	padding: 0;
	font: bold 8pt 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	background: inherit;
	color: #FFFFFF;
	top: 40px;
	left:95px;
}
#header .searchform {
	position: absolute;
	top: 5px;
	right: 3px;
	width: 200px;
	height: 46px;
}

/* main column */
#main {
	float: left;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 0px;
	padding: 0 0 0 0;
	width: 60%;	
	border-left: 1px solid #f2f2f2;
	border-right: 1px solid #f2f2f2;
}

.post-footer {
	background-color: #F5F5F5; /*#FAFAFA;*/
	color: #222222;
	padding: 5px; margin-top: 10px;
	font-size: 8pt;
}

.post-footer2 {
	background-color: #F5F5F5;/*#FAFAFA;*/
	color: #222222;
	padding: 0px; 
	margin-top: 0px;
	font-size: 7pt;
}
.post-footer2 .readmore {
	background: url('../images/page2.gif') no-repeat 0 center;
	padding-left: 15px; 
	margin: 0 0px 0 5px;
}
.post-footer .date {
	background: url('../images/clock.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url('../images/comment.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url('../images/page.gif') no-repeat 0 center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* sidebar */
#sidebar {
	float: left;
	width: 21%;
	margin: 5px 0 10px 0; padding: 0;	
}	
#sidebar h1 {
	padding: 5px 0px 0px 5px;
	margin: 0;	
	font: bold 14px 'Trebuchet MS', Tahoma, Sans-serif;
}

#sidebar h2 {
	padding: 15px 0px 0px 5px;
	margin: 0;
	text-align: left;	
	font: bold 10px 'Trebuchet MS', Tahoma, Sans-serif;
	text-decoration: underline;
}

.sidebox {
	background: #F5F5F5;
	color: #222222;
	border: 1px solid #EFEDED;
	margin-bottom: 10px;
}


.imgsidebox {
	background: #ffffff;
	color: #222222;
	border: 0px; /*solid #EFEDED;*/
	margin-top: 0px;
	margin-bottom: 10px;
	text-align: center;
}


/* sidebar menu */
#sidebar ul.sidemenu {
	list-style:none;
	margin: 10px 0 15px 0;
	padding: 0;
	background: #F2F2F2;
	color: #222222;			
}
#sidebar ul.sidemenu li {
	padding: 0px 5px;
}
#sidebar ul.sidemenu a {
  font-size: 8pt;
	display:block;
	font-weight:normal;
	background: inherit;
	color: #222222;
	height: 1.3em;	
	padding:.3em 0 .3em 8px;
	line-height: 1.5em;
	border-bottom: 1px dashed #D4D4D4;
	text-decoration:none;
}

#sidebar ul.sidemenu a.big {
  font-size: 8pt;
	display:block;
	font-weight:normal;
	background: inherit;
	color: #222222;
	height: 2.6em;	
	padding:.3em 0 .3em 8px;
	line-height: 1.5em;
	border-bottom: 1px dashed #D4D4D4;
	text-decoration:none;
}

#sidebar ul.sidemenu a.verybig {
  font-size: 8pt;
	display:block;
	font-weight:normal;
	background: inherit;
	color: #222222;
	height: 3.9em;	
	padding:.3em 0 .3em 8px;
	line-height: 1.5em;
	border-bottom: 1px dashed #D4D4D4;
	text-decoration:none;
}

#sidebar ul.sidemenu a.top{	
	border-top: 1px dashed #D4D4D4;
}
#sidebar ul.sidemenu a:hover {
	padding: .3em 0 .3em 3px;
	border-left: 5px solid  #3791D7; /*#65944A;*/
	background: inherit;
	color: #3791D7; /*#65944A*/
}

/* rightbar */
#rightbar {
	float: right;
	width: 16%;
	margin: 5px 0 10px 0; padding: 0;	
}	
#rightbar h1 {
	padding: 5px 0px 0px 5px;
	margin: 0;	
	font: bold 1.2em 'Trebuchet MS', Tahoma, Sans-serif;
}
.sidebox {
	background: #F5F5F5;
	border: 1px solid #EFEDED;
	margin-bottom: 10px;
}
.imgsidebox {
	background: #ffffff;
	border: 0px; /*solid #EFEDED;*/
	margin-bottom: 10px;
}

/* rightbar menu */
#rightbar ul.sidemenu {
	list-style:none;
	margin: 10px 0 15px 0;
	padding: 0;
	background: #F2F2F2;
	color: #222222;			
}
#rightbar ul.sidemenu li {
	padding: 0px 5px;
}
#rightbar ul.sidemenu a {
	display:block;
	font-weight:normal;
	background: inherit;
	color: #333;
	height: 1.5em;	
	padding:.3em 0 .3em 15px;
	line-height: 1.5em;
	border-bottom: 1px dashed #D4D4D4;
	text-decoration:none;
}
#rightbar ul.sidemenu a.top{	
	border-top: 1px dashed #D4D4D4;
}
#rightbar ul.sidemenu a:hover {
	padding: .3em 0 .3em 10px;
	border-left: 5px solid  #3791D7; /*#65944A;*/
	background: inherit;
	color: #3791D7; /*#65944A;*/		
}

/* footer */
#footer {
   color: #222222;
	clear: both;
	background: #FFFFFF url('../images/footerbg.gif') repeat-x left top;
	border-top: 1px solid #F2F2F2;
	text-align: center;	
	height: 50px;
	font-size: 8pt;	
}
#footer a {
	text-decoration: none;
	font-weight: bold;
}

/* menu */
#menu {
	clear: both;
	margin: 0; padding: 0;
}
#menu ul {	
	position: relative; 
	bottom: 2px;
	margin: 0; padding: 0;	
	float: left;
	font: bold 11pt 'Trebuchet MS', Tahoma, Arial, Sans-serif; 
	width: 960px;/* 775px; */
        border-bottom: 2px solid #505050;   
	/* border-width: 0 0 2px 0; */
	list-style: none;
}
#menu ul li{
	display: inline;	
}
#menu ul li a {
	position: relative;
	bottom: -2px;
	float: left;
	background: inherit;
	color: #505050;
	padding: 0px 10px;
	text-decoration: none;
	border-bottom: 2px solid #505050;

}
#menu ul li a:hover{
	color: black;
	background-color: #F3F3F3; 
	border-bottom: 2px solid #3791D7;
}
#menu ul li#current a{
	color: black;
	background-color: #F3F3F3; 
	border-bottom: 2px solid #3791D7;
}

/* Alignment classes */
.float-left   { float: left;}
.float-right  { float: right; }
.align-left   { text-align: left; }
.align-right  { text-align: right; }
.align-center { text-align: center;	}
.align-justify { text-align: justify; }

/* display classes */
.clear  { clear: both; }
.block  { display: block; }
.hide   { display: none; }	
.blue { background: inherit;color: #3791D7; }

/* Sottomenu foto */
#menu2 {
	clear: both;
	margin: 0; 
	padding: 0;	
}

#menu2 ul {	
	position: relative; 
	bottom: 2px;
	margin: 5px 15px 10px 15px; 
	padding: 0;	
	width: 520px;
        float: left;
	font: bold 9pt 'Trebuchet MS', Tahoma, Arial, Sans-serif;
	border-bottom: 2px solid #505050;
	/* border-width: 0 0 2px 0;	 */
	list-style: none;
}
#menu2 ul li{
	display: inline;	
}
#menu2 ul li a {
	position: relative;
	bottom: -2px;
	float: left;
	color: #505050;
	padding: 0px 10px;
	text-decoration: none;
	border-bottom: 2px solid #505050;
	background: inherit;
}
#menu2 ul li a:hover{
	color: black;
	background-color: #F3F3F3; 
	border-bottom: 2px solid #3791D7;
}
#menu2 ul li#current a{
	color: black;
	background-color: #F3F3F3; 
	border-bottom: 2px solid #3791D7;
}

/* start - table */
table {   
	MARGIN: 10px 15px 10px 15px;
}

td {
	text-align: justify;
}

table.mytable {
   /* width: 100%;*/
	CLEAR: left;
	PADDING-RIGHT: 0px;
	BORDER-TOP: #BCD7F4 1px solid;
	PADDING-LEFT: 0px;
	FLOAT: left;
	BORDER-BOTTOM-WIDTH: 0px;
	PADDING-BOTTOM: 0px;
	MARGIN: 0px 0px 0px 0px;
	BORDER-LEFT: #BCD7F4 1px solid;
	PADDING-TOP: 0px;
	BORDER-RIGHT-WIDTH: 0px;

}
tr.mytable {
	BORDER-TOP-WIDTH: 0px; 
	PADDING-RIGHT: 0px; 
	PADDING-LEFT: 0px; 
	BORDER-LEFT-WIDTH: 0px; 
	BORDER-BOTTOM-WIDTH: 0px; 
	PADDING-BOTTOM: 0px; 
	MARGIN: 0px; 
	PADDING-TOP: 0px; 
	BORDER-RIGHT-WIDTH: 0px;
}
td.mytable {
 	BORDER-TOP-WIDTH: 0px; 
	BORDER-RIGHT: #BCD7F4 1px solid; 
	PADDING-RIGHT: 6px; 
	PADDING-LEFT: 6px; 
	BORDER-LEFT-WIDTH: 0px; 
	PADDING-BOTTOM: 2px; 
	MARGIN: 0px; 
	PADDING-TOP: 2px; 
	BORDER-BOTTOM: #BCD7F4 1px solid; 
	BACKGROUND-COLOR: #eaeef3; 
	color: #222222;
}
th.mytable {
	BORDER-TOP-WIDTH: 0px;
	BORDER-RIGHT: #336 1px solid;
	PADDING-RIGHT: 3px;
	PADDING-LEFT: 3px;
	BORDER-LEFT-WIDTH: 0px;
	PADDING-BOTTOM: 2px;
	MARGIN: 0px;
	PADDING-TOP: 2px;
	BORDER-BOTTOM: #336 1px solid;
	BACKGROUND-COLOR: #eaeef3;
	color: #FFFFFF;
}
td[axis='number'] {
	TEXT-ALIGN: right;
}
td[axis='date'] {
	TEXT-ALIGN: right;
}
th.mytable {
	PADDING-RIGHT: 5px; 
	PADDING-LEFT: 15px; 
	PADDING-BOTTOM: 2px; 
	PADDING-TOP: 2px; 
	BACKGROUND-COLOR: #43ACE5; /*#b4c4d1;*/
	color: #FFFFFF;
}
tfoot td.mytable {
	BORDER-TOP: #003 1px solid;
}
thead th.mytable {
	BORDER-BOTTOM: #003 2px solid;
}
.odd td.mytable {
	BACKGROUND-COLOR: #E4F2FC; /*#e8ecf1;*/
	color: #222222;
}
.even td.mytable {
	BACKGROUND-COLOR: #DAEDFC; /*#dde5eb;*/
	color: #222222;
}
.hover td.mytable {
	BACKGROUND-COLOR: #FFCC99;
	color: #222222;
}
.sortedminus {
        background: url('../images/up.gif') no-repeat 2px 7px;
	background-color: #ecc;
	color: #FFFFFF;
}
.sortedplus {
        background: url('../images/down.gif') no-repeat 2px 7px;
	background-color: #cec;
	color: #FFFFFF;
}
.selrow td.mytable {
	background-color: #879ab7;
        color: #222222;
}
/* end - table */


/* Schede dei vari uffici */
.bg_table {
   width: 95%;
	MARGIN: 10px 15px 10px 15px;
}
TH.bg_scheda {
	PADDING-RIGHT: 0.4em; 
	PADDING-LEFT: 0px; 
	FONT-WEIGHT: bold; 
	FONT-SIZE: 100%; 
	PADDING-BOTTOM: 0.4em; 
	PADDING-TOP: 0.4em; 
	BORDER-BOTTOM: #ccc 1px solid; 
	TEXT-ALIGN: left;
	background: inherit;
	color: #3182C0;	
	voice-family: inherit;
}
TD.bg_scheda {
	PADDING-RIGHT: 0.4em; 
	PADDING-LEFT: 0px; 
	FONT-SIZE: 100%; 
	PADDING-BOTTOM: 0.4em; 
	PADDING-TOP: 0.4em; 
	BORDER-BOTTOM: #ccc 1px solid; 
	voice-family: inherit;
}

td.mysize {
  width: 50px;
}

ul.bg_scheda, ol.bg_scheda {
	margin: 0px;
	padding: 0 15px;
	background: inherit;
	color: #222222;	
}

.footer_table {
        width: 100%;
        MARGIN: 0 0 0 0;
}

