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

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

/* links */
a {
	background: inherit;
	color: #EC981F; 
}
a:hover {
	background: inherit;
	color: #806B4D;
}


/* headers */
h1, h2, h3, h4 {
	font: bold 1em 'Trebuchet MS', Tahoma, Sans-serif;
	text-transform: uppercase;
	background: inherit;
	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;}

#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;	
}
p.myp {
 margin: 3px 3px 3px 3px;
}

p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;	
	background: inherit;
	color: #EC981F;	
}
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 #EC981F;
}
a:hover img {  
    border: 1px solid #806B4D;
}

code {
  margin: 10px 15px 0px  15px;
  padding: 2px 10px 2px 2px;
  text-align: right;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #FAFAFA;
  color: #222222;
  border-left: 1px solid #f2f2f2;  
  border-bottom: 1px solid #f2f2f2;  
  border-top: 1px solid #f2f2f2;  
  border-right: 3px solid #EC981F;
}
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;
	color: #222222; 
	border-right: 1px solid #f2f2f2;  
   border-bottom: 1px solid #f2f2f2;  
   border-top: 1px solid #f2f2f2;  
   border-left: 3px solid #EC981F;  
	font-weight: bold; 
}

/* form elements */
form {
	margin:5px; padding: 0;
	border: 1px solid #f2f2f2; 
	background-color: #FAFAFA;
	color: #222222; 
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 4px;
	border:1px solid #eee;
	font: normal 1em/1.5em Verdana, sans-serif;
	background: inherit;
	color:#777777;
}
textarea {
	width:350px;
	padding:4px;
	font: normal 1em/1.5em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	background: inherit;
	color:#777777;
}
input.button { 
	margin: 0; 
	font: bold 1em Arial, Sans-serif; 
	border: 1px solid #CCC;
	background: #FFF; 
	padding: 2px 3px; 
	color: #333;
   cursor: pointer;	
}

/* search form */
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;
	cursor: pointer;
	color: #222222;	
}

/* search form2 */
form.searchform2 {
	background: transparent;
	border: none;
	margin: 0; padding: 0;	
	color: #222222;
}
form.searchform2 input.textbox { 
	margin: 0; 
	width: 150px;
	border: 1px solid #CCC; 
	background: #FFF;
	color: #333; 
	vertical-align: top;
   font: bold 7.5pt 'Trebuchet MS', Arial, Sans-serif;
}
form.searchform2 input.button {
	width: 70px;
	vertical-align: top;
   font: bold 8pt 'Trebuchet MS', Arial, Sans-serif;
	background: #FFF url(../images/gradientbg.jpg) repeat-x;
	cursor: pointer;
	color: #222222;	
}
/*****************/
/*    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/uppero.gif') repeat-x 0 0;
	height: 68px;
}
#header h1#logo {
	position: absolute;
	margin: 0; padding: 0;
	font: bolder 26pt 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	background: inherit;
	color: #CCCCCC;
	text-transform: none;
	top: 0; left: 10px;	/* Aggiustrare top e left per la posizione del logo */
}
#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:120px; /* Aggiustrare top e left per la posizione dello slogan */
}
#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;
}
.sidebox {
	background: #F5F5F5;
	color: #222222;
	border: 1px solid #EFEDED;
	margin-bottom: 10px;
}

.imgsidebox {
	background: #ffffff;
	color: #222222;
	border: 0px; /*solid #EFEDED;*/
	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: #333333;
	height: 1.3em;	
	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  #FFA600; /*#65944A;*/
	background: inherit;
	color: #FFA600; /*#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;
	color: #222222;
	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: #333333;
	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  #FFA600; /*#65944A;*/
	background: inherit;
	color: #FFA600; /*#65944A;*/		
}

/* footer */
#footer {
	clear: both;
	background: #FFFFFF url('../images/footerbg.gif') repeat-x left top;
	color: #222222;
	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;
	/* background: white url('../images/menudivide.gif') repeat-y right top; */
	border-bottom: 2px solid #505050; 	
}
#menu ul li a:hover{
	color: black;
	background-color: #F3F3F3; 
	border-bottom: 2px solid #FFA600;
}
#menu ul li#current a{
	color: black;
	background-color: #F3F3F3; 
	border-bottom: 2px solid #FFA600;
}

/* 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; }	
.orange { background: inherit;color: #FFA600; }

table {   
	MARGIN: 10px 15px 10px 15px;
}

td {
	text-align: justify;
}

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