/* Main Styles */
body {
	margin: 0;
	padding: 0;
	color: #000;
	font-size: 14px;
}

form {
	margin: 0;
	padding: 0;
}

div h2 {
	background: none #448bb1;
}

img {
	border: none;
}

a {
	color: #060606;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

div.div_readonly {
	display: block;
	background-color: silver;
	padding: 2px;
}

div.domanda {
	margin-top: 10px;
	padding: 10px;
}

fieldset {
	min-width: inherit;
}

@-moz-document url-prefix() {
	fieldset {
		display:table-column;
	}
}

legend {
	padding: 3px;
	border: 1px solid #a0a0a0;
	background-color: #fffff0;
}

legend strong {
	color: #1f6180;
}

label {
	margin: 0 0 5px;
	line-height:15px;
}

sup {
	font-size:8px;
	top:-3px;
	position:relative;
	
}

small {
	font-size: 0.8em;
}

span.input {
	margin-left: 1mm;
	margin-right: 1mm;
	font-style: italic;
}

span.filedesc {
	margin-left: 2mm;
	display: block;
}

p.anagrafica {
	margin-top: 5px;
	margin-bottom: 5px;
	width: 90%;
	text-align: justify;
}

/* Input */
input {
	vertical-align: middle;
}

input.text,select,textarea {
	font-family: arial, sans-serif;
	color: #333;
	font-size: 1.1em;
	width: auto;
}

input.text {
	padding: 1px 0 0 4px;
	height: 14px;
	font-weight: 400;
}

input,textarea {
	border: 2px solid #a0a0a0;
	background-color: #dbe2f4;
}

input.riepilogo {
	font-size: 16px;
}

input[readonly=readonly],input[readonly=readonly]:hover {
	background: none #eee;
}

/* Si Usa? Forse negli XMl? Si può lasciare solo la classe? */
input.BG_blue {
	border: 1px solid #33f;
	font-family: "Courier New", courier, monospace;
	background-color: #dbe2f4;
	font-size: 0.857em;
}

input.right {
	text-align: right;
}

input[type=checkbox],input[type=radio] {
	margin-bottom: 5px;
}

input[type="text"] {
	width: auto;
}

input[type=button],input[type=submit],button {
	font-family: arial, helvetica, sans-serif;
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	background-color: #1e8cdb;
	color: #fff;
	border-bottom: 2px solid #000;
	border-right: 2px solid #000;
	border-top: 2px solid #a4a3a3;
	border-left: 2px solid #a4a3a3;
	line-height: 1;
	margin: 5px;
	padding: 5px;
	cursor: pointer;
	overflow: visible; /* IE Fix for width */
	border-radius: 4px;
}

input[type=button]:hover,input[type=submit]:hover,button:hover {
	background-color: #1f6180;
	color: #fff;
}

input[type=submit].salva {
	font-size: 26px;
	line-height: 1.4;
	background-color: red;
	margin: 1em auto 0;
	padding: 20px;
}

input[type=submit].salva:hover {
	background-color: #c70000;
}

input.salva:disabled {
	background-color: #555;
}

/* Select */
select {
	display: block;
}

select>option {
	border: 0;
	background-color: #dbe2f4;
	font-size: 0.857em;
}

/* Br */
br {
	clear: both;
}

/* Hr */
hr {
	visibility: hidden;
	clear: both;
	page-break-after: always;
}

/* Vertical text */
th.vert {
	width: 1em;
	text-transform: uppercase;
}

/* Table */
table.legenda tr td {
	padding: 5px;
}

td.bgblack {
	background-color: #000;
}

td.bggray {
	background-color: silver;
}

td.bgyellow {
	background-color: #eee8aa;
}

td.width250 {
	width: 250px;
}

td.width50x {
	width: 50%;
}

td>label {
	margin-bottom: 5px;
	border-bottom: 1px solid #a0a0a0;
	font-weight: 700;
}

td.left {
	text-align: left;
	padding-left: 6px;
}

td.right {
	text-align: right;
	padding-right: 6px;
}

td.head {
	background-color: #f5f5f5;
	font-weight: 700;
}

td.caption {
	text-transform: uppercase;
	font-size: 0.857em;
	font-weight: 700;
}

th {
	border: 1px solid #a0a0a0;
	font-size: 0.857em;
	text-align: center;
	padding: 3px;
	background-color: #f5f5f5;
	font-weight: 700;
}

td.width100 {
	width: 100px;
	font-size: 0.857em;
	text-align: left;
	padding: 2px;
	margin: 2px;
	background-color: #fff;
}

td.width200 {
	width: 200px;
	font-size: 0.857em;
	text-align: left;
	padding: 2px;
	margin: 2px;
	background-color: #fff;
}

td.width300 {
	width: 300px;
	font-size: 0.857em;
	text-align: left;
	padding: 2px;
	margin: 2px;
	background-color: #fff;
}

td>.coloreSF {
	display: block;
	background-color: #add8e6;
}

td>.colorePE {
	display: block;
	background-color: #aee6bb;
}

td>.coloreCO {
	display: block;
	background-color: #bbaee6;
}

td>.colorePP {
	display: block;
	background-color: #aebce6;
}

td>.coloreAP {
	display: block;
	background-color: #e6d7ae;
}

td>.coloreFU {
	display: block;
	background-color: #e6aebc;
}

td>.colorePD {
	display: block;
	background-color: #d8aee6;
}

td>.coloreEL {
	display: block;
	background-color: #e6d8ae;
}

.table_obj {
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
	border: 1px solid #a0a0a0;
	background-color: gray;
}

.table_checklist {
	width: 100%;
	padding: 10px;
	margin: 0;
	margin-bottom: 10px;
	border: 1px solid #a0a0a0;
	background-color: gray;
}

.table_checklist td {
	font-size: 0.857em;
	text-align: center;
	padding: 5px;
	margin: 5px;
	background-color: #fff;
	border-right: 1px solid #a0a0a0;
}

.table_checklist,.table_obj tr {
	border: 1px solid #a0a0a0;
}

.table_obj td {
	font-size: 0.857em;
	text-align: center;
	padding: 2px;
	margin: 2px;
	background-color: #fff;
	border-right: 1px solid #a0a0a0;
	vertical-align: middle;
}

.table_obj td.right {
	text-align: right;
	padding-right: 6px;
}

.table_obj td.left {
	text-align: left;
	padding-left: 6px;
}

.table_obj td.bgblack {
	background-color: #000;
}

.table_obj td.bggray {
	background-color: silver;
}

.table_obj td.bgyellow {
	background-color: #eee8aa;
}

/* Liste */
ul.disc {
	list-style-type: disc;
	margin-left: 27px;
	margin-top: 5px;	
}

li {
	margin-top: 10px;
}

ol.legenda{
	list-style-type: decimal;
}

/* Save Dialog */
#savedialog>img {
	border: 0;
	display: block;
	margin: 40px auto 0;
}

/* Save Button */
#save_container {
	position: fixed;
	top: 42px;
	right: 5px;
	cursor: pointer;
}

#save_button {
	font-family: arial, helvetica, sans-serif;
	font-size: 0.857em;
	font-weight: 700;
	text-transform: uppercase;
	background-color: #f00;
	color: #fff;
	border: 1px solid #a4a3a3;
	margin-right: 33px;
	padding: .1em 3em;
	cursor: pointer;
	overflow: visible; /* IE Fix for width */
	border-radius: 5px;
}

#save_button:hover {
	background-color: #c70000;
}

/* XML Styles TODO: da spostare in css a parte */
.floatleft {
	float: left !important;
}

.floatright {
	float: right !important;
}

.clear {
	clear: both !important;
}

.bold {
	font-weight: 700 !important;
}

.normal {
	font-weight: 400 !important;
}

.block {
	display: block !important;
}

.w20 {
	width: 20px;
}

.center {
	text-align: center;
	display: block;
}

.imghelp {
	padding-left: 1px;
	vertical-align: middle;
}

/* XML Text Stylying */
.intestazione {
	padding: 3px;
	border: 1px solid #000;
	background-color: #2a8ab5;
	text-transform: uppercase;
	text-align: center;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 10px;
}

.testo_centro {
	text-align: center;
}

.testo_destra {
	text-align: right;
}

.box_testo {
	border: 1px solid #a0a0a0;
	padding: 2px;
	margin-bottom: 10px;
}

.titolo_sezione {
	padding: 2px;
	border: 1px solid #000;
	background-color: silver;
	text-transform: uppercase;
	text-align: center;
	font-size: 16px;
	margin-bottom: 10px;
	color: #000;
}

.titolo_modulo {
	padding: 3px;
	border: 1px solid #000;
	background-color: #bad8e5;
	text-transform: uppercase;
	text-align: left;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #000;
}

.titolo_modulo_normal,.titolo {
	padding: 2px;
	border: 1px solid #000;
	background-color: silver;
	text-align: left;
	font-size: 14px;
	margin-bottom: 10px;
	color: #000;
}

/* XML Color Styles */
.blue {
	color: #33f;
}

.red {
	color: red;
}

.integrato {
	color: red !important;
}

/* XML Radio Check Button */
.radio_check {
	width: auto;
	margin-right: 10px;
	border-bottom: 1px dotted gray;
}

.radio_check2 {
	width: 500px;
	margin-right: 10px;
	float: left;
	border-bottom: 1px dotted gray;
	font-size: 14px;
}

.radio_checkb {
	width: 500px;
	margin-right: 10px;
	float: left;
	border-bottom: 1px dotted gray;
	font-weight: 700;
	font-size: 14px;
}

.radio_checksub {
	width: 500px;
	margin-right: 10px;
	margin-left: 30px;
	float: left;
	border-bottom: 1px dotted gray;
}

/* A cosa serve? */
.textsub {
	margin-left: 30px;
}

/* XML Spacer */
.spacer {
	clear: both;
}

/* XML Buttons Class */
.buttons {
	clear: both;
	text-align: center;
	padding: 30px 0 15px;
}

.buttons input {
	margin: 0 0 6px;
}

/* XML stContainer */
.stContainer {
	width: 100%;
}

/* Si usa ancora? */
.topbar {
	margin: 0;
	padding: 0;
}

.hide {
	
}