body {
	background: #EFEFEF;
	font-family: Arial, sans-serif;
	padding: 0;
	margin: 0;
	font-size:80%;
}

p { 
	color:#999;
	font-size:100%;
}

a {
  color: #424E5B;
  text-decoration: none;
}

a:hover, a:visited:hover {
  color: #4B81C0;
  text-decoration: underline;
}

h1 {
  font-size: 250%;
  font-weight: normal;
}

h3 { 
	color:#B1B1B1;
	font-size:200%;
	font-weight:normal;
}

h4 { 
color:#C1250B;
font-size:120%;
font-weight:bold;
margin-bottom:5px;
}

h5 { 
	color: #999;
	font-size:100%;
	font-weight:bold;
	margin-top:0;
}

h6 { 
	color: #999;
	font-size:100%;
}

img {
	border: none;
	outline:none;
}

input, select, textarea {
font-family: inherit;
font-size: inherit;
}

label { 
color:#999;
font-family: inherit;
font-size: inherit;
width: 100px;
}

#page {
margin-top: 0px;
margin-left: auto;
margin-right: auto;
margin-bottom: 25px;
width: 900px;
background-color: #fff;
border-top:0px;
border-left:1px solid #CCC;
border-right:1px solid #CCC;
border-bottom:1px solid #CCC;
}

#main {
	background: #fff;
	min-height: 450px;
	padding: 20px 60px 20px 60px;
}

/* filter and search */

table.filters
{
	width:100%;
	border: 1px solid gray;
	background-color: #ddd;
	margin:10px 0;
}
/* end filter and search */

/* grid */

table.griglia {
	width: 100%;
	border: 1px solid gray;
	border-collapse:collapse;
}

.griglia td {
	padding: 0px .5em 0px .5em;
	margin: 0px;
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
	vertical-align: middle;
}

.griglia td input, .griglia td a img {
	border-width:1px;
}

.griglia td input img, .griglia td a img, .griglia td div input {
	margin-top:1px;
	margin-bottom:1px;
	vertical-align: middle;
	text-align: center;
}

.griglia td select {
	border-width:1px;
	margin:1px;
}

.griglia td input[type="button"],.griglia td input[type="submit"],.griglia td input[type="file"] {
	height:2em;
}

.griglia-footer {
	color: #000;
	background: #fff;
}

.griglia-header {
	color: #fff;
	background-color: #5e5e5e;
	background-repeat: repeat-x;
}

.griglia-header a {
	color: #fff;
}

.griglia-header th {
	padding: 4px;
	margin: 0px;
	text-align:left;
}

.griglia-row1 {
	border: 1px solid gray;
	background: #fff;
}

.griglia-row1:hover {
	background-color: #BFCFFF;
}

.griglia-row1 a {
	color: #333;
}

.griglia-row2 {
	background: #fff;
	border: 1px solid gray;
}

.griglia-row2:hover {
	background-color: #E6ECFF;
}

.griglia-row2 a {
	color: #333;
}

.griglia-row-selected {
	background: #FFFFE0;
}

.griglia-pager {
	text-align: right;
	color: black;
	padding-top:5px;
}

.griglia-pager a {
	color: Blue;
	text-decoration: none;
	border:1px solid #C0C0C0;
	padding-left:3px;
	padding-right:3px;
}

.griglia-pager a:hover {
	border:1px dashed black;
	color:Red;
}

table.c tr td, table tr td.c, table tr.c td {
	text-align:center;
}

table.r tr td, table tr td.r, table tr.r td {
	text-align:right;
}

table.l tr td, table tr td.l, table tr.l td {
	text-align:left;
}

/* end grid */