body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt ;
	background: #E7E3D7 url("../images/top.jpg") top left no-repeat;
	margin: 0;
}
p, a, th, td, input, select, textarea {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
}

textarea {
	border-style: outset;
}

hr {
	height: 1px;
	border-style: none;
	color: black; /* need this for IE */
	background-color: black;  /* need this for Mozilla */
}

/* used with subtitles ("Search for records", "Edit the record", etc.) */
h3 {
}

/* the main big table that contain all the page */
.main_table{
	width: 100%;
	height: 100%;
	background-color: #E7E3D7;
	padding: 4px; /* doesn't work with IE, cellpadding in header */
	border: none;
	vertical-align: bottom;
	margin: 150px 10px 10px 0;
}

a:link, a:visited {
color : #A83520;
text-decoration: underline;
}

a:hover, a:active {
color : #DC492F;
text-decoration: underline;
}

/*******************************************************/
/************************************************ RESULTS PAGE */

/* "n records found" message */
.n_results_found {
	color:black;
	font-weight: bold;
}

/* "page n of m" sentence */
.page_n_of_m {
	color:black;
}

/* links of the navigation bar ( << < 1 2 3......) */
a.navig {
	xcolor:blue;
}

/* current page in the navigation bar ( << < 1 2 3......) */
.navig {
	color:black;
}

/* order by links */
/* normal */
a.order_link {
	color: #FF6633;
	display: block;
	font-size: 8pt;
	text-decoration: none;
	background: #4A4957;
	padding: 3px;
}

a:hover.order_link {
	color: #fff;
	background: #626173;
}

/* currently selected */
a.order_link_selected {
	color: #fff;
	display: block;
	font-size: 8pt;
	text-decoration: none;
	background: #4A4957;
	padding: 3px;
}

/* results table */

table.results {
	background-color: #F7F5E8; /* used to make the table bordered */
}
/* coloumn headings */
th.results {
	background-color: #DFDBD0;
	padding: 0;
	xwhite-space: nowrap;
}
/* result cells */
/* results_1 and results_2 differ only for the background-color, this create the alternate row colors effect */
td.results_1 {
	font-size: 8pt;
	vertical-align: top;
	xwhite-space: nowrap;
	background-color: #DFDBD0;
	padding: 2px;
}
td.results_2 {
	font-size: 8pt;
	vertical-align: top;
	xwhite-space: nowrap;
	background-color: #EDEBDF;
	padding: 2px;
}
/* control (edit, delete, details) cells */
/* results_1 and results_2 differ only for the background-color, this create the alternate row colors effect */
td.controls_1 {
	font-size: 8pt;
	background-color: #DFDBD0;
}
td.controls_2 {
	font-size: 8pt;
	background-color: #EDEBDF;
}

.export_to_csv{
}

/* "Total records: n" sentence */
.total_records {
}

/* links of the bottom menu (insert, search, show all) */
a.bottom_menu{
	xcolor: black;
}

/* home link */
a.home{
	xcolor: red;
}

/* change table combo box  */
.select_change_table{
}

/* change table button */
.button_change_table{
}
/*******************************************************/

/*******************************************************/
/************************************************ FORM (insert, search and update form) */

/* required field labels */
/* if you change the color you should change also the "required_fields_red" sentence in your language file*/
.required_field_labels{
	color: red;
}

/* insert, save and search buttons */
.button_form{
}

/* rows containing insert, save and search buttons */
.tr_button_form {
	text-align: center;
}

/* rows containing the all/any in the search form */
.tr_operator_form{
	text-align: center;
}

/* the cell that contains the label in the form */
.td_label_form{
	text-align: right;
	vertical-align: top;
}

/* the cell that contains the input (textbox, textarea, etc) in the form */
.td_input_form{
	vertical-align: top;
}

/* the cell that contains the hint in the form */
.td_hint_form{
	vertical-align: top;
}

/* error messages (e.g. "You haven't filled out some required fields...." */
.error_messages_form{
	color: red;
}

.change_table{
	margin-top: 0px;
	margin-left: 0px;
	}


/*******************************************************/
/************************************************ DETAIL PAGE */
/* the cell that contains the label */
.td_label_details{
	text-align: right;
	vertical-align: top;
}

/* the cell that contains the value */
.td_value_details{
	vertical-align: top;
}
/*******************************************************/

div.break {
	page-break-before:always
}
table.labels {
	width: 21cm
}
td.address {
	height: 3.4cm;
	width: 10cm;
	text-align: left;
	vertical-align: top;
	margin-top: 10px;
	margin-left: 10px;
	font-size: 14px
}
td.marginvert {
	width: 0.5cm
}
td.marginorizz {
	height: 1.2cm
}

h1 span {display: none;}