/* RESET GENERALE */ 
html {
	overflow:auto;
}

body,form,fieldset {
	margin:0;
	padding:0;
}

a {
	text-decoration:none;
}

/* AJAX LOADING STATE */
.loading {
	z-index:10000000;
	position:relative;
	opacity:0.5;
	filter:alpha(opacity=50);
	min-height:11px;
	background-image:url(../images/ajax-loader.gif);
	background-repeat:no-repeat;
	background-position:center center;
}

/* FORM ED ELEMENTI */

.hidden {
	display:none;
}

.disabled,.readonly {
	opacity:0.5;
	filter:alpha(opacity=50);
	background-color:#e0e0e0;
}

textarea {
	background-color:#ffffff;
	border-width:1px;
	border-style:solid;
	border-color:#d0d0d0;
}

input {
	background-color:#ffffff;
	border-width:1px;
	border-style:solid;
	border-color:#d0d0d0;
}

select.frost,
select.mandatory.frost,
select.mandatory_true.frost,
select.mandatory_true:focus.frost,
select.mandatory:focus.frost {
	background-color:transparent;
	border-width:1px;
	border-style:solid;
	border-color:#f0f0f0;
}

input.frost,
input.mandatory_true.frost,
input.mandatory.frost,
input.mandatory:focus.frost,
input.mandatory_true:focus.frost,
textarea.frost,
textarea.mandatory.frost,
textarea.mandatory_true.frost,
textarea.mandatory:focus.frost
textarea.mandatory_true:focus.frost {
	background-color:transparent;
	border-width:1px transparent;
	border-style:solid;
	border-color:transparent;
}

input.mandatory,
input.mandatory_true {
	background-color:#f9f1f3;
}
input:focus,
input.mandatory:focus,
input.mandatory_true:focus {
	background-color:#fbf6c9;
}

/* INPUT DATE */
input.sjbjl_date {
	float:left;
	max-width:110px;
	margin:auto 5px auto auto;
	text-align:right;
}

input.sjbjl_time {
	float:left;
	max-width:110px;
	margin:auto 5px auto auto;
	text-align:right;
}

fieldset.ui-tabs-panel fieldset input.sjbjl_iban,
input.sjbjl_iban {
	width:300px;
	font-size:12px;
	font-family:'Courier New',courier,monospace;
	letter-spacing:1px;
	padding:3px 5px 2px 5px;
}

div#ui-datepicker-div {
	float:left;
	font-size:11px;
}

img.ui-datepicker-trigger {
	float:left;
	cursor:pointer;
	border:0 none;
}

/* INPUT MONEY */
input.sjbjl_money {
	float:left;
	max-width:110px;
	margin:auto 5px auto auto;
	text-align:right;
	font-family:"Courier New",courier,monospace;
	font-size:11px;
}


/* SELECT */
select {
	background-color:#ffffff;
	border-width:1px;
	border-style:solid;
	border-color:#d0d0d0;
}

select optgroup {
	font-style:normal;
	margin:auto auto 10px auto;
	text-indent:5px;
}

select.mandatory,
select.mandatory_true {
	background-color:#f9f1f3;
}

select:focus,
select.mandatory:focus,
select.mandatory_true:focus {
	background-color:#fbf6c9;
}

select:focus option,
select.mandatory:focus option,
select.mandatory_true:focus option {
	background-color:#fbf6c9;
}

/* ICONS */
a.icon_new,
a.icon_new_dis,
a.icon_expand,
a.icon_expand_dis,
a.icon_download,
a.icon_download_dis,
a.icon_eye,
a.icon_eye_dis,
a.icon_detail,
a.icon_detail_dis,
a.icon_cancel,
a.icon_cancel_dis,
a.icon_delete,
a.icon_delete_dis,
a.icon_edit,
a.icon_edit_dis,
a.icon_choose,
a.icon_choose_dis,
a.icon_duplicate,
a.icon_duplicate_dis,
a.icon_send,
a.icon_send_dis,
a.icon_sign,
a.icon_sign_dis,
a.icon_goto,
a.icon_goto_dis,
a.icon_disable,
a.icon_disable_dis,
a.icon_empty,
a.icon_gratis,
a.icon_gratis_dis,
a.icon_print_center,
a.icon_print_center_dis,
a.icon_print_center_certificata,
a.icon_print_center_certificata_dis,
a.icon_add,
a.icon_list,
a.icon_print_qrcode,
a.icon_options,
a.icon_writeoff {
	float:left;
	display:block;
	width:16px;
	height:16px;
	margin:auto 3px auto 3px;
	cursor:pointer;
	background-position:center center;
	background-repeat:no-repeat;
	text-decoration:none;
}

a.icon_new span,
a.icon_new_dis span,
a.icon_expand span,
a.icon_expand_dis span,
a.icon_download span,
a.icon_download_dis span,
a.icon_eye span,
a.icon_eye_dis span,
a.icon_detail span,
a.icon_detail_dis span,
a.icon_cancel span,
a.icon_cancel_dis span,
a.icon_delete span,
a.icon_delete_dis span,
a.icon_edit span,
a.icon_edit_dis span,
a.icon_choose  span,
a.icon_choose_dis span,
a.icon_duplicate span,
a.icon_duplicate_dis span,
a.icon_send span,
a.icon_send_dis span,
a.icon_sign span,
a.icon_sign_dis span,
a.icon_goto span,
a.icon_goto_dis span,
a.icon_disable span,
a.icon_disable_dis span,
a.icon_empty span,
a.icon_gratis span,
a.icon_gratis_dis span,
a.icon_print_center span,
a.icon_print_center_dis span,
a.icon_print_center_certificata span,
a.icon_print_center_certificata_dis span,
a.icon_add span,
a.icon_list span,
a.icon_print_qrcode span,
a.icon_options span,
a.icon_writeoff span {
	display:none;
}

a.icon_new								{background-image:url(../images/icon_new.png);}
a.icon_new_dis							{background-image:url(../images/icon_new_dis.png);}
a.icon_expand							{background-image:url(../images/icon_expand.png);}
a.icon_expand_dis						{background-image:url(../images/icon_expand_dis.png);}
a.icon_download							{background-image:url(../images/icon_download.png);}
a.icon_download_dis						{background-image:url(../images/icon_download_dis.png);}
a.icon_eye								{background-image:url(../images/icon_eye.png);}
a.icon_eye_dis							{background-image:url(../images/icon_eye_dis.png);}
a.icon_detail 							{background-image:url(../images/icon_detail.png);}
a.icon_detail_dis 						{background-image:url(../images/icon_detail_dis.png);}
a.icon_cancel							{background-image:url(../images/icon_cancel.png);}
a.icon_cancel_dis 						{background-image:url(../images/icon_cancel_dis.png);}
a.icon_delete 							{background-image:url(../images/icon_delete.png);}
a.icon_delete_dis 						{background-image:url(../images/icon_delete_dis.png);}
a.icon_edit 								{background-image:url(../images/icon_edit.png);}
a.icon_edit_dis 							{background-image:url(../images/icon_edit_dis.png);}
a.icon_choose 							{background-image:url(../images/icon_choose.png);}
a.icon_choose_dis 						{background-image:url(../images/icon_choose_dis.png);}
a.icon_duplicate 						{background-image:url(../images/icon_duplicate.png);}
a.icon_duplicate_dis					{background-image:url(../images/icon_duplicate_dis.png);}
a.icon_send								{background-image:url(../images/icon_send.png);}
a.icon_send_dis 							{background-image:url(../images/icon_send_dis.png);}
a.icon_sign 								{background-image:url(../images/icon_sign.png);}
a.icon_sign_dis 							{background-image:url(../images/icon_sign_dis.png);}
a.icon_goto 								{background-image:url(../images/icon_goto.png);}
a.icon_goto_dis 							{background-image:url(../images/icon_goto_dis.png);}
a.icon_disable 							{background-image:url(../images/icon_disable.png);}
a.icon_disable_dis 						{background-image:url(../images/icon_disable_dis.png);}
a.icon_empty 							{background-image:url(../images/icon_empty.png);}
a.icon_gratis							{background-image:url(../images/icon_gratis.png);}
a.icon_gratis_dis						{background-image:url(../images/icon_gratis_dis.png);}
a.icon_print_center						{background-image:url(../images/icon_print_center.png);}
a.icon_print_center_dis					{background-image:url(../images/icon_print_center_dis.png);}
a.icon_print_center_certificata			{background-image:url(../images/icon_print_center_certificata.png);}
a.icon_print_center_certificata_dis		{background-image:url(../images/icon_print_center_certificata_dis.png);}
a.icon_add								{background-image:url(../images/icon_add.png);}
a.icon_list								{background-image:url(../images/icon_list.png);}
a.icon_print_qrcode						{background-image:url(../images/icon_print_qrcode.png);}
a.icon_options							{background-image:url(../images/icon_options.png);}
a.icon_writeoff							{background-image:url(../images/icon_writeoff.png);}

/* DETAIL POP */

a.detail_pop_opener_link {
	display:block;
	float:left;
	cursor:pointer;
	text-decoration:none;
}

.detail_pop_content {
	width:100%;
	height:100%;
	background-color:#ffffff;
}

.detail_pop_content * {
	font-family:Arial,Helvetica,sans-serif;
}

.detail_pop_content table {
	margin:5px;
	padding:0;
	border:0 none;
}

.detail_pop_content table th {
	text-align:left;
	white-space:nowrap;
}

/* TABLES GENERIC */

th.th_operation1,
th.th_operation2,
th.th_operation3,
th.th_operation4,
th.th_operation5,
th.th_operation6,
th.th_operation7,
th.th_operation8 {
	white-space:nowrap;
}

th.th_operation1 {
	width:25px;
}

th.th_operation2 {
	width:50px;
}
th.th_operation3 {
	width:75px;
}
th.th_operation4 {
	width:100px;
}
th.th_operation5 {
	width:125px;
}
th.th_operation6 {
	width:150px;
}

th.th_operation7 {
	width:175px;
}

th.th_operation8 {
	width:200px;
}

/* DETAIL TR */
td.detail_tr_opener {
	width:32px;
	height:auto;
	cursor:pointer;
	background-image:url(../images/icon_down.png);
	background-position:center center;
	background-repeat:no-repeat;
}

tr.hidden_tr_detail th,
tr.hidden_tr_detail td {
	padding-top:5px;
	padding-bottom:30px;
}

.detailname {
	border-bottom:1px solid #bed4e0;
	margin:2px auto 2px 10px;
	font-size:12px;
	font-weight:bold;
	text-align:right;
}

.detailvalue {
	margin:3px auto 2px 10px;
	font-size:12px;
	text-align:left;
}

.detailvalue ul {
	margin:auto auto auto 12px;
	padding:0;
}

td.up {
	background-image:url(../images/icon_up.png);
}

/* MESSAGGI DI ERRORE */

.seterror {
	border-width:1px;
	border-style:dotted;
	border-color:#ff0000;
}

div#errormsg {
	display:none;
	position:absolute;
	z-index:1000000;
	background:url(../images/errormsg_arrow.gif) left top no-repeat;
	padding-top:7px;
}

div#errormsgcontent {
	display:block;
	
	min-width:120px;
	max-width:280px;

	text-align:left;
	
	padding:8px;

	font:normal 12px Arial,Helvetica,sans-serif;
	color:#ffffff;
	
	background-color:#ff8b00;
	background-position:center left;
	background-repeat:repeat-x;

	border:1px solid #ff8b00;
	border-top:none;
	-moz-box-shadow:2px 2px 4px #666666;
	-webkit-box-shadow:2px 2px 4px #666666;
	box-shadow:2px 2px 4px #666666;
}

span.validimessage {
	font-weight:bold;
	letter-spacing:1px;
}

/* SORTABLE TABLE */
table.sort-table thead th.sorting {
	cursor:pointer;
}

table.sort-table thead th.activesorting {
	background-image:url(../images/list_back_secondheader_focus.png);
	background-repeat:repeat-x;
	background-color:#f2ecbd;
}

.sort-arrow {
	width:11px;
	height:11px;
	margin:0 2px;
	background-image:url(../images/sortable_default.gif);
	background-position:center center;
	background-repeat:no-repeat;
	cursor:pointer;
}

.sort-arrow.descending {
	background-image:url(../images/sortable_desc.gif); 
}

.sort-arrow.ascending {
	background-image:url(../images/sortable_asc.gif); 
}

/* POP DEL DETTAGLIO */
.nyroModalBg {
	position:fixed;
	overflow:hidden;
	top:0;
	left:0;
	height:100%;
	width:100%;
	background:#000;
	opacity:0.7;
}
.nmReposition {
	position:absolute;
}
.nyroModalCloseButton {
	top:-13px;
	right:-13px;
	width:12px;
	height:12px;
	text-indent:-9999em;
	background:url(../images/modal_close.png);
	background-repeat:no-repeat;
}
.nyroModalTitle {
	top:-26px;
	left:0;
	margin:0;
	font-size:1.1em;
	color:#ddd;
	font-family:Arial,Helvetica,sans-serif;
	font-size:12px;
}
.nyroModalCont {
	position:absolute;
	border:4px solid #777;
	margin:25px;
	background:#fff;
	font-family:Arial,Helvetica,sans-serif;
	font-size:12px;
}
.nyroModalCont iframe {
	width:600px;
	height:400px;
}
.nyroModalError {
	border:4px solid red;
	color:red;
	width:250px;
	height:250px;
}
.nyroModalError div {
	min-width:0;
	min-height:0;
	padding:10px;
}
.nyroModalLink, .nyroModalDom, .nyroModalForm, .nyroModalFormFile {
	position:relative;
	padding:10px;
	min-height:250px;
	min-width:250px;
	max-width:1000px;
}
.nyroModalImage, .nyroModalSwf, .nyroModalIframe, .nyroModalIframeForm {
	position:relative;
	overflow:hidden;
}
.nyroModalHidden {
	left:-9999em;
	top:-9999em;
}
.nyroModalLoad {
	position:absolute;
	width:100px;
	height:100px;
	background:#fff url(../images/ajax-loader.gif) no-repeat center;
	padding:0;
}
.nyroModalPrev, .nyroModalNext {
	outline:none;
	position:absolute;
	top:0;
	height:60%;
	width:150px;
	min-height:50px;
	max-height:300px;
	cursor:pointer;
	text-indent:-9999em;
	background:transparent url('data:image/gif;base64,AAAA') left 20% no-repeat;
}
.nyroModalImage .nyroModalPrev, .nyroModalImage .nyroModalNext {
	height:100%;
	width:40%;
	max-height:none;
}
.nyroModalPrev {
	left:0;
}
.nyroModalPrev:hover {
	background-image:url(../images/nyromodal_prev.gif);
}
.nyroModalNext {
	right:0;
	background-position:right 20%;
}
.nyroModalNext:hover {
	background-position:right 20%;
	background-image:url(../images/nyromodal_next.gif);
}

/* NESTED UI-TABBED FIELDSET */

.sjbjl_tabbed {
	visibility:hidden;
}

fieldset.ui-tabs-panel table.table_detail {
	float:left;
	clear:left;
	width:98%;
	margin:auto 1% auto 1%;
}

fieldset.ui-tabs-panel fieldset {
	float:left;
	width:99%;
	margin:1% 0 1% 0;
	padding:0 0 2% 0;
	font-size:90%;
	border:1px solid #c0c0c0;
}

fieldset.ui-tabs-panel fieldset.fieldset_bare,
fieldset.fieldset_bare {
	margin:1% 0 1% 0;
	padding:0;
	border:0 none;
}

fieldset.fieldset_bare legend {
	display:none;
}

/* half width fieldset: reduced by a percentage */
fieldset.halfwidth,
fieldset.ui-tabs-panel fieldset.halfwidth {
	float:left;
	width:47%;
	font-size:78%;
	margin:1% 1% 1% 1%;
}

/* third width fieldset: reduced by a percentage */
fieldset.thirdwidth,
fieldset.ui-tabs-panel fieldset.thirdwidth {
	float:left;
	width:31%;
	font-size:58%;
	margin:auto 1% auto 1%;
}

/* fourth width fieldset: reduced by a percentage and modified */
fieldset.fourthwidth,
fieldset.ui-tabs-panel fieldset.fourthwidth {
	clear:none;
	float:left;
	width:22%;
	font-size:49%;
	margin:auto 1% auto 1%;
}

fieldset.fourthwidth,
fieldset.ui-tabs-panel fieldset.fourthwidth input {
	float:left;
	clear:left;
	width:94%;
}

/* UI DIALOG */
div.ui-dialog {
	font-size:12px;
}

fieldset.fourthwidth,
fieldset.ui-tabs-panel fieldset.fourthwidth div.field_row input {
	width:98%;
}

/* fieldset content */
fieldset.ui-tabs-panel fieldset div.fieldset_content {
	float:left;
	clear:left;
	margin:1% 2% auto 2%;
}

/* fieldset row field container */
fieldset div.field_row {
	float:left;
	width:99%;
	margin:1% 0 1% 1%;
}

fieldset div.field_row label {
	float:left;
	clear:left;
	width:18.5%;
	margin:auto 1% 1px auto;
	white-space:nowrap;
}

fieldset.halfwidth div.field_row label,
fieldset.thirdwidth div.field_row label {
	float:left;
	clear:left;
	width:50%;
	margin:1% 1% 1px auto;
	white-space:nowrap;
}

fieldset.halfwidth div.field_row input,
fieldset.thirdwidth div.field_row input {
	float:left;
	width:40%;
	margin:auto 1% 1px auto;
}

fieldset.fourthwidth div.field_row label {
	float:left;
	clear:left;
	width:98%;
	margin:auto 1% 1px auto;
	white-space:nowrap;
}

/* fieldset half row field container */

div.field_row {
	float:left;
	clear:left;
	width:100%;
	margin:1% auto 1% 1%;
}

div.field_half_row {
	float:left;
	width:49%;
	margin:1% 0 1% 1%;
}

div.field_half_row label {
	float:left;
	clear:left;
	width:38%;
	margin:auto 1% 1px auto;
	white-space:nowrap;
}

div.field_third_row {
	float:left;
	width:32%;
	margin:1% 0 1% 1%;
}

div.field_third_row label {
	float:left;
	clear:left;
	width:38%;
	margin:auto 1% 1px auto;
	white-space:nowrap;
}

fieldset.ui-tabs-panel fieldset input,
fieldset.ui-tabs-panel fieldset select {
	float:left;
	width:auto;
	border:1px solid #b0b0b0;
}

/* NEWFIXEDHEAD */

.ui-resizable {
	position:relative;
}
.ui-resizable-handle {
	display:block;
	font-size:0.1px;
	position:absolute;
	z-index:99999;
}

.ui-resizable-s { 
	background:#eeeeee url(../images/grippie.png) no-repeat scroll center 2px;
	border-top:1px solid #cccccc;
	bottom:-5px;
	cursor:s-resize;
	height:14px;
	left:0;width:100%; 
}

/* AJAX CONTAINER */
div#ajax_content {
	display:none;
}

/* AJAX OUTPUT HIDDEN DEPOSIT */
div#ajax_output_deposit {
	display:none;
}

.ui-widget .ui-widget,
.sjbjl_button,
.sjbjl_submit {
	font-size:12px;
}

/* AUTOCOMPLETE */
.ac_results {
	padding:0;
	border:1px solid black;
	background-color:white;
	overflow:hidden;
	z-index:99999;
}

.ac_results ul {
	width:100%;
	list-style-position:outside;
	list-style:none;
	padding:0;
	margin:0;
}

.ac_results li {
	margin:0;
	text-align:left;
	padding:2px 5px;
	cursor:default;
	display:block;
	font:menu;
	font-size:12px;
	line-height:16px;
	overflow:hidden;
}

.ac_loading {
	background:white url('../images/ajax-loader.gif') right center no-repeat;
}

.ac_odd {
	background-color:#eee;
}

.ac_over {
	background-color:#0A246A;
	color: white;
}

/* MODAL DIALOG */
#dialog 			{
	position:fixed;
	width:525px;
	padding:0;
	z-index:200;
	background:#fff;
	font-family:Verdana, Arial, Helvetica;
	font-size:14px;
	z-index:10000000;
}

#dialog-header	{
	width:524px;
	height:49px;
	position:absolute;
	margin:14px;
	font-size:14px;
	font-weight:bold;
	color:#ffffff;
	line-height:32px;
	text-indent:10px;
	cursor:move;
}

#dialog-title	{float:left}
#dialog-close	{float:right; cursor:pointer; margin:12px 10px 0 0; height:11px; width:11px; background:url(../images/modal_close.png) no-repeat}

#dialog-content 			{display:block; padding:50px 30px 30px 30px; min-height:160px; color:#666666;}
#dialog-content-inner	{width:390px; height:110px; overflow:auto; min-height:128px; font-size:14px; text-align:left; vertical-align:middle;}

#dialog-mask 			{
	position:fixed;
	top:0;
	left:0;
	height:100%;
	width:100%;
	background:#FFF;
	opacity:.75;
	filter:alpha(opacity=75);
	z-index:10000000;
}

#dialog-button-container{text-align:center; background:url(../images/sep_bt.png) no-repeat;}
#dialog-button 			{font-weight:bold; font-size:1.1em; font-family:Arial, sans-serif; margin:4px 6px 6px 340px;}

#dialog-prompt-container	{text-align:center; background:url(../images/sep_bt.png) no-repeat;}
#dialog-prompt-yes 			{font-weight:bold; font-size:1.1em; font-family:Arial, sans-serif; margin:4px 6px 6px 300px;}
#dialog-prompt-no 			{font-weight:bold; font-size:1.1em; font-family:Arial, sans-serif; margin:4px 6px 6px 4px;}

.error 			{width:552px; height:226px; background:url(../images/e_bg.png) no-repeat;}
.errorheader	{background:url(../images/e_hd.png) no-repeat; color:#6f2c2c;}
.errorbutton	{width:92px; height:27px;  background:url(../images/bk_button.png) no-repeat; color:#333333;}

.warning		{width:552px; height:226px; background:url(../images/w_bg.png) no-repeat;}
.warningheader	{background:url(../images/w_hd.png) no-repeat; color:#6f2c2c;}
.warningbutton	{width:92px; height:27px;  background:url(../images/bk_button.png) no-repeat; color:#333333;}

.success		{width:552px; height:226px; background:url(../images/s_bg.png) no-repeat;}
.successheader	{background:url(../images/s_hd.png) no-repeat; color:#6f2c2c;}
.successbutton	{width:92px; height:27px;  background:url(../images/bk_button.png) no-repeat; color:#333333;}

.prompt 			{width:552px; height:226px; background:url(../images/p_bg.png) no-repeat;}
.promptheader	{background:url(../images/p_hd.png) no-repeat; color:#6f2c2c;}
.promptbutton	{width:92px; height:27px;  background:url(../images/bk_button.png) no-repeat; color:#333333;}

/* UPLOADIFY */
.uploadifyQueueItem {
	background-color: #F5F5F5;
	border: 2px solid #E5E5E5;
	font: 11px Verdana, Geneva, sans-serif;
	margin-top: 5px;
	padding: 10px;
	width: 350px;
}
.uploadifyError {
	background-color: #FDE5DD !important;
	border: 2px solid #FBCBBC !important;
}
.uploadifyQueueItem .cancel {
	float: right;
}
.uploadifyQueue .completed {
	background-color: #E5E5E5;
}
.uploadifyProgress {
	background-color: #E5E5E5;
	margin-top: 10px;
	width: 100%;
}
.uploadifyProgressBar {
	background-color: #0099FF;
	height: 3px;
	width: 1px;
}
