input {
	border: 1px solid #4020e1;

}

img {
	border:0;
}

* {
	/*border:0;*/
	margin:0;
	padding:0;
}

/* general */
a {
	color:#4020e1;
	text-decoration:none;
}
a:hover {
	color:#333399;
	text-decoration:underline;
}

p {
margin: 0px;
}

small {
	display:block;
}

blockquote {
	background:#f1f1f1;
	border-left:2px solid #4020e1;
	color:#444;
	display:block;
	font-style:oblique;
	line-height:20px;
	margin:0 0 0 10px;
	padding:0 0 0 10px;
}
.left {
	float:left;
	margin:0 10px 0 0;
}
.right {
	float:right;
	margin:0 0 0 10px;
}

/* body */
body {
	background:#f7e9c3 url('image/background_body3.jpg') repeat-x top;
	color:#4020e1;
	font:0.7em Verdana, "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
}

body h2 {
	font:1.2em Verdana, "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
	font-weight:bold;
	border-bottom:1px solid #4020e1;
	border-top:1px solid #4020e1;
	padding: 5px;
}

/* header */
#header {
	background:url('image/background_header3.jpg');
	height:320px;
	margin:0 auto;
	position:relative;
	width:760px;
}
#header:after {
	clear:both;
	content:'.';
	display:block;
	height:0;
	visibility:hidden;
}
#header h1 {
	color:#666;
	font-size:40px;
	font-weight:400;
	left:0;
	letter-spacing:-2px;
	position:absolute;
	top:24px; /*qui al distanza del logo dal layout header*/

}
#header p {
	bottom:50px;
	color:#fff;
	font-size:2em;
	position:absolute;
	right:50px;
}
#header ul {
	list-style:none;
	position:absolute;
	top:90px;
}
#header ul li {
	list-style:none;
}
#header ul li a {
	color:#fff;
	display:block;
	font-size:1.2em;
	font-weight:700;
	height:16px;
	padding:4px;
	width:190px;
}
#header ul li a:hover {
	background:#ffffff;
	filter:alpha(opacity=50);-moz-opacity:.50;opacity:.50;
	color:#333399;
	border-bottom:1px solid #333399;
	border-left:1px solid #333399;
	text-decoration:none;
}

/* content */
#content {
	height:auto;
	margin:0 auto;
	width:760px;
}
#content:after {
	clear:both;
	content:'.';
	display:block;
	height:0;
	visibility:hidden;
} 

/* sidebar */
#sidebar {
	float:left;
	width:210px;
}
#sidebar h1 {
	border-bottom:2px solid #4020e1;
	color:#444;
	font-size:165%;
	font-weight:400;
	line-height:30px;
	padding:0 10px;
}

.pblock {
	background:#f1f1f1;
	color:#555;
	display:block;
	font-size:90%;
	line-height:20px;
	margin:10px 0;
	padding:10px;
	border-bottom:1px solid #4020e1;
	border-right:1px solid #4020e1;
}

#sidebar p a.more {
	display:block;
	text-align:right;
}
#sidebar ul {
	margin:10px;
}
#sidebar ul li {
	border-bottom:1px solid #4020e1;
	border-right:1px solid #4020e1;
	list-style:none;
	padding:5px 2px;
	background:#f1f1f1;
}
#sidebar ul li a {
	color:#333399;
	display:block;
	font-family:Geneva;
	padding:5px;
	text-decoration:none;
}
#sidebar ul li a:hover {
	color:#000033;
}

/* Main */
#main {
	float:right;
	width:520px;
}
#main p {
	color:#555;
	line-height:14px;
	padding:10px;
	padding-top:5px;
}

#main ul li {
	color:#555;
	margin-left:30px;
}

#main h1 {
	border-bottom:2px solid #4020e1;
	color:#444;
	font-size:165%;
	font-weight:400;
	line-height:30px;
	padding:0 10px;
}

#main img {
	/*float:center;	*/
	color:#555;
	line-height:0px;
	padding:2px
}


/* footer */
#footer {
	margin:10px auto;
	width:760px;
}
#footer:after {
	clear:both;
	content:'.';
	display:block;
	height:0;
	visibility:hidden;
}
#footer p {
	border-top:2px solid #4020e1;
	color:#555;
	font-size:90%;
	line-height:20px;
	padding:10px;
	text-align:center;
}

#lang-flag {
	border-bottom: 2px solid #4020e1;
	text-align: center;

}

.nolink a {
	/*background:#b484da;*/
	color:#444;
	text-decoration:none;
}

div.news {
	padding:10px;
	margin:10px;
	display: block;
	background:#f1f1f1;
	border:2px solid #4020e1;
	/*border-right:1px solid #4020e1;*/
	
}

div.news img {
	position:relative;
	display:block;
}

.icon {
	float:right;	
	color:#555;
	line-height:20px;
	padding:10px
}

.contenitore_img {
	padding:10px;
	margin:10px;
	display: block;
	background:#f1f1f1;
	border:2px solid #4020e1;
	text-align:center;
}

.contenitore_pg {
	padding:0px;
	margin:auto;
	display: block;
	text-align:center;
	width:80%;
	height:20px;
}

h3.title {
	color:#444;
}

.contenitore_main {
	padding:10px;
	margin:10px;
	display: block;
	border:2px solid #4020e1;
	text-align:left;
}

.contenitore_main_2 {
	padding:10px;
	margin:10px;
	display: block;
	border:2px solid #4020e1;
	text-align:center;
}

.contenitore_main_2 img {
	margin:10px;
	padding:10px;
}

.contenitore_main_2 p {
	padding:0px;
	margin:0px;
	display: block;
	text-align:center;
}

.contenitore_main p {
	padding:0px;
	margin:0px;
	text-align:left;
}



.contenitore_normativa {
	padding:10px;
	margin:10px;
	display: block;
	background:#f1f1f1;
	border:2px solid #4020e1;
	text-align:center;
	font-size:9px;
}

.contenitore_youtube {
	padding:10px;
	margin:10px;
	display: block;
	border:2px solid #4020e1;
	text-align:center;
	font-size:9px;
}

div.box-alto
{
  width: 500px;
  background-image: url('image/boxup.png');
  background-repeat: no-repeat;
  background-position: left top;
  padding-top: 20px; 
}
div.box-medio
{
  width: 500px;
  background-image: url('image/boxcenter.png');
  background-repeat: repeat-y;
}
div.box-basso
{
  width: 500px;
  background-image: url('image/boxdown.png');
  background-repeat: no-repeat;
  background-position: left bottom;
  padding-bottom: 20px; 
}
div.box-testo
{
  margin: 0px 10px 0px 10px;
}


.thumb {
	position:relative;
	display:inline;

}

.banner {
	text-align:center;
	margin: 5px;
}

.blue {
	color:blue;
	text-decoration:underline;
}

.white {
	color:#999;
	text-decoration:underline;
}

.green {
	color:green;
	text-decoration:underline;
}

.red {
	color:red;
	text-decoration:underline;
}

.yellow {
	color:#FDD017;
	text-decoration:underline;
}

.time {
	color:#4020e1;
	text-decoration:none;
	margin:auto;
	padding:0px;
	text-align:center;
}

.title {
	font:1.2em Verdana, "Trebuchet MS", Georgia, "Times New Roman", Times, serif;
	font-weight:bold;
	border-bottom:1px solid #4020e1;
	border-top:1px solid #4020e1;
	padding: 5px;
	text-align:center;
}

.ml select {
	border-left: 2px solid  #4020e1;
}

#msgs {
	border:0;
	margin:auto;
}

input[type="radio"] {
	margin:5px;
	padding:5px;
}



