/* global */

html {
	height: 100%;
}

body {
	font-family: verdana, arial, sans-serif;
	font-size: 62.5%; /* Resetta 1em a 10px */
	background: #6F7A86;
	color: #5A6370;
}

p {
	margin: 0px;
	padding: 2px 0px 2px 0px;
	line-height: 1.5em;
}

h1 {
	font-family: arial, sans-serif;
	letter-spacing: .1em;
}

h2 {
	margin: 0px;
	margin-bottom: 5px;
	padding: 0px 0px 4px 0px;
	font-size: 1em;
	border-bottom: 1px dotted #999;
	color: #1775D5;
}

img {
	border: 0px;
}

pre {
	border: 1px dashed #89A9C7;
	background-color: #efefef;
	padding: 8px;
	margin-top: 8px;
	margin-bottom: 8px;
	min-height: 2em;
	height: auto;
	overflow: auto;
	overflow-x: auto;
	overflow-y: visible;
}

/* link */

a {
	text-decoration: none;
	outline: none;
	border-bottom: 1px dashed;
}
a:link, a:visited, a:active {
	color: #1775D5;
}
a:hover {
	color: #205D90;
}
a.imageLink {
	border: 0px;
}

/* blockquote */

blockquote {
	border: 1px dotted #ccc;
	margin: 1em 0px 1em 0px; 
	padding: 10px 20px 10px 20px;
	background: #efefef;
}
blockquote:before {
	content: open-quote;
	font-weight: bold;
}
blockquote:after {
	content: close-quote;
	font-weight: bold;
}

/* unordered list */

ul {
	margin: 8px 0px 0px 16px;
	padding: 0px;
}

ul li {
	list-style-type: square;
	margin: 0px 0px 11px 0px; 
	padding: 0px;
}

/* ordered list */

ol {
	margin: 8px 0px 0px 24px;
	padding: 0px;
}

ol li {
	margin: 0px 0px 11px 0px; 
	padding: 0px;
}

/* ------ container ------ */
#container {
	width: 960px;
	padding: 0px 10px;
	margin-left: auto; 
	margin-right: auto;
	background: #FFFFFF url(body_bg.gif) repeat-y;
}

/* links above the logo / footer */
#stats, #footer {
	text-align: center;
	height: 26px;
	font-size: 0.9em;
	padding: 10px 0px 0px 0px;
	overflow: hidden;
   margin-left: auto; 
   margin-right: auto;
	clear: both;
}

#stats div, #footer div {
	border-top: 1px solid #D7D7D7;
	border-bottom: 1px solid #D7D7D7;
	padding: 5px;
}

#footer {
	text-transform: uppercase;
}

#stats img {
	margin-top: -3px;
}

/* header */
#header {
	height: 140px;
	text-align: left;
	background: url(header.jpg) no-repeat;
	color: #5A6370;
}

#header img {
	float: left;
}

#header p {
	padding: 95px 10px 0px 0px;
	font-size: 1.5em;
	letter-spacing: .2em;
	text-align: right;
	font-weight: bold;
}

#header a {
	border: 0px;
}

/* navigation menu */
#menubar {
	height: 42px;
}

#menubar ul {
	margin: 0px auto;
}

#menubar li {
	float: left; 
	margin: 0px; 
	padding: 0px;
} 

#menubar li a {
	display: block; 
	float: left; 
	height: 37px;
	text-decoration: none; 
	padding: 3px 19px 2px 19px;
	text-transform: uppercase;
} 

#menubar li a:hover, #menubar li a#selected, #menubar li a#selected:hover {
	background: #FFFFFF url(menu_hover.png);
	color: #484E56;
} 

/* main content */
#main {
	height: auto;
	padding: 0px;
	overflow: hidden;
} 

/* leftcol */

#leftcol {
	width: 200px;
	float: right;
	padding: 16px 10px 15px 0px;
	font-size: 1.1em;
}

#leftcol .menuTable a {
	border: 0px;
}

#leftcol .menuTitle {
	height: 30px;
	padding: 0px 0px 0px 6px;
	background: url(menutitle_bg.gif) left top no-repeat;
	text-transform: uppercase;
	font-weight: bold;
}

#leftcol .menuTitle p {
	padding: 0px;
	line-height: 30px;
}

#leftcol .menuTitle img {
	margin: 0.5em 0px;
	float: left;
}

#leftcol .menuGroupItem {
	padding: 0px;
	margin: 0px;
}

#leftcol .menuItem {
	background: url(menuitem_bg.gif) left top no-repeat;
	height: 26px;
	padding-left: 15px;
}

#leftcol .menuItem p {
	line-height: 26px;
}

#leftcol .menuTable, #leftcol .menuTable a, #leftcol .menuTable a:hover {
	color: #eeeeee;
	border: 0px;
}

#leftcol .menuItem a {
	color: #5A6370;
}

#leftcol .menuItem a:hover {
	color: #205D90;
}

/* column 2 - page content */
#content {
	text-align: justify;
	width: 720px;
	float: left;
	padding: 12px 15px 15px 15px;
	font-size: 1.2em;
}

#content h1 {
	padding: 6px 0px 4px 0px; 
	margin: 0px 0px 12px 0px; 
	border-bottom: 1px solid #89A9C7;
	font-size: 1.3em;
	text-transform: uppercase;
	font-weight: bold;
	color: #1775D5;
}

/* additional layout for content */
/* Tabella principale */

/* Filtri */

.filters {
	overflow: auto;
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 5px;
	padding-bottom: 5px;
}
.filter {
	width: 33%;
	float: left;
}
.filter label {
	text-transform: capitalize;
	text-align: left;
	width: auto;
}
.filter select {
	width: 130px;
}

/* help */
#help {
	border-bottom: 1px solid #999999;
	border-top: 1px solid #999999;
	background-color: #e5e5e5;
	margin-bottom: 5px;
	padding-right: 10px;
	line-height: 1.2em;
	text-align: right;
	text-transform: uppercase;
	font-size: 0.9em;
	font-weight: bold;
}

/* command */
.command {
	border-bottom: 1px solid #e5e5e5;
	margin-bottom: 5px;
	padding: 5px 5px 5px 0px;
	line-height: 16px;
}
.command img {
	float:left; 
	margin: 0px 3px 0px 0px;
}

/* tables */
.mainTable {
		width: 100%;
		background-color: #E3EDEE;
		border: 1px solid #999999;
		border-collapse: collapse;
}

.mainTable td, .mainTable th {
		border-bottom: 1px dotted #999999;
		border-right: 1px dotted #999999;
		padding-left: 5px;
		padding-right: 5px;
}

.mainTable thead td, .mainTable th {
	background-color: #e5e5e5;
	height: 1.3em;
	line-height: 1.3em;
	font-weight: bold;
}

.mainTable tbody td {
		padding-top: 2px;
		padding-bottom: 2px;
		height: 12px;
		line-height: 12px;
		vertical-align: top;
}

.mainTable tr.alternate {
	background-color: #fff;
}

.mainTable tfoot td {
		background-color: #fff;
		line-height:20px;
}
.mainTable select {
	width: 150px;
}

/* Form styles */

form {
	padding: 0px;
	margin: 0px;
}

select {
	width: 305px;
	border-top: 1px solid #555;
	border-left: 1px solid #555;
	border-bottom: 1px solid #cccccc;
	border-right: 1px solid #cccccc;
	padding: 1px 1px 1px 1px;
	margin: 0px 0px 0px 0px;
}

textarea {
	width: 300px;
	border-top: 1px solid #999999;
	border-left: 1px solid #999999;
	border-bottom: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	padding: 1px;
	margin: 0px;
	color: #333333;
}

input {
	border-top: 1px solid #999999;
	border-left: 1px solid #999999;
	border-bottom: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	padding: 1px 1px 1px 1px;
	margin: 0px 0px 0px 0px;
	color: #333333;
}

.text {
	width: 300px;
	border-top: 1px solid #999999;
	border-left: 1px solid #999999;
	border-bottom: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
	padding: 1px;
	margin: 0px;
	color: #333333;
}

.checkbox {
	border: 0px;
	padding: 0px 0px 0px 0px;
	margin: 2px 2px 2px 2px;
}

.radio {
	border: 0px;
	padding: 0px 0px 0px 0px;
	margin: 0px 5px 0px 5px;
}

.smallform {
	width: 100%;
}

fieldset {
	margin: 0px;
	border: none;
	border-top: 1px dotted #999;
}

legend {
	margin: 1em 0;
	padding: 0 .5em;
	color: #1775D5;
	background: transparent;
	font-size: 1.1em;
	font-weight: bold;
}

label, div .fm-left {
	float: left;
	width: 40%;
	padding: 0 1em;
	text-align: right;
}

fieldset > p {
	text-align: center;
	padding-bottom: 1em;
}

fieldset div {
	margin-bottom: .5em;
	padding: 0;
	display: block;
}

div.fm-multi div {
	margin: 5px 0;
}

div.fm-multi input, .radio, .checkbox {
	width: 1em;
}

#fm-submit {
	clear: both;
	padding-top: 1em;
	text-align: center;
}

#fm-submit input {
	border: 1px solid #333;
	padding: 2px 1em;
	background: #555;
	color: #fff;
	font-size: 100%;
}

input:focus, textarea:focus {
	background: #efefef;
	color: #000;
}
	
/* required fields - does not work in IE */
fieldset div.fm-req {
	font-weight: bold;
}

fieldset div.fm-req label:before {
	content: "* "; /* does not work in IE */
}

/* COLORI */

.input, .textarea, .select {
	background: #FFFFFF;
	color: #5A6370;
	border-color: #89A9C7;
}

/* Textimage: immagine a sinistra del testo */
div.textimage {
	width: 100%;
	margin-top:10px;
	clear: both;
	margin-left: auto; 
	margin-right: auto;
	overflow: hidden;
}
div.textimage h2 a {
	border: 0px;
}
div.textimage > img {
	float:left;
	margin-right:5px;
	margin-bottom:5px;
}
div.textimage p {
	text-align:justify;
}

/* split2: divide in 2 box identici affiancati */
div.split2 p.text{ text-align:justify;min-height: 180px; height: auto !important; height: 180px; padding: 5px 5px; border-top:1px solid #666;border-left:1px solid #666;border-right:1px solid #666;}
div.split2 p.link{text-align:right;padding-bottom: 2px; padding-right: 2px;  border-bottom:1px solid #666;border-left:1px solid #666;border-right:1px solid #666;}
div.split2 img {
	float:left;
	margin-right:5px;
	margin-bottom:5px;
}

/* emulazione iframe */
div.iframe {	
	overflow: auto;
	height: 10em;
	border: 1px solid #999;
	padding: 5px;
}

/* gestione messaggi */
.info, .warning, .alert {
	padding: 7px;
	padding-left: 72px;
	min-height: 64px;
	margin: 5px;
	clear: both;
}
.info {
	background: url("info.gif") no-repeat top left;
}
.warning {
	background: url("warning.gif") no-repeat top left;
}
.alert {
	background: url("alert.gif") no-repeat top left;
}
