/*Inputs*/
::-webkit-input-placeholder { /* WebKit browsers */
    color:#999;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:#999;
}

input:-moz-placeholder {  /* Mozilla Firefox 19 onward */
	color:#999;  
}  

:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:#999;
}
.checkbox, .radio {
	width: 19px;
	height: 25px;
	padding: 0 5px 0 0;
	background: url(../images/checkbox.png) no-repeat;
	display: block;
	clear: left;
	float: left;
}
.radio {
	background: url(../images/radio.png) no-repeat;
}

.button
{        
	display: inline-block;
	white-space: nowrap;
	background-color: #ccc;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#ccc));
	background-image: -webkit-linear-gradient(top, #eee, #ccc);
	background-image: -moz-linear-gradient(top, #eee, #ccc);
	background-image: -ms-linear-gradient(top, #eee, #ccc);
	background-image: -o-linear-gradient(top, #eee, #ccc);
	background-image: linear-gradient(top, #eee, #ccc);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#eeeeee', EndColorStr='#cccccc');
	border: 1px solid #777;
	padding: 0 1.5em;
	margin: 0.5em;
	font: bold 1em/2em Arial, Helvetica;
	text-decoration: none;
	color: #333;
	text-shadow: 0 1px 0 rgba(255,255,255,.8);
	-moz-border-radius: .2em;
	-webkit-border-radius: .2em;
	border-radius: .2em;
	-moz-box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);
	-webkit-box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);
	box-shadow: 0 0 1px 1px rgba(255,255,255,.8) inset, 0 1px 0 rgba(0,0,0,.3);
}

.button:hover
{
	background-color: #ddd;        
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#ddd));
	background-image: -webkit-linear-gradient(top, #fafafa, #ddd);
	background-image: -moz-linear-gradient(top, #fafafa, #ddd);
	background-image: -ms-linear-gradient(top, #fafafa, #ddd);
	background-image: -o-linear-gradient(top, #fafafa, #ddd);
	background-image: linear-gradient(top, #fafafa, #ddd);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#fafafa', EndColorStr='#dddddd');        
}

.button:active
{
	-moz-box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
	-webkit-box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
	box-shadow: 0 0 4px 2px rgba(0,0,0,.3) inset;
	position: relative;
	top: 1px;
}

.button:focus
{
	outline: 0;
	background: #fafafa;
}    

.button:before
{
	background: rgba(0,0,0,.1);
	float: left;        
	width: 1em;
	text-align: center;
	font-size: 1.5em;
	margin: 0 1em 0 -1em;
	padding: 0 .2em;
	-moz-box-shadow: 1px 0 0 rgba(0,0,0,.5), 2px 0 0 rgba(255,255,255,.5);
	-webkit-box-shadow: 1px 0 0 rgba(0,0,0,.5), 2px 0 0 rgba(255,255,255,.5);
	box-shadow: 1px 0 0 rgba(0,0,0,.5), 2px 0 0 rgba(255,255,255,.5);
	-moz-border-radius: .15em 0 0 .15em;
	-webkit-border-radius: .15em 0 0 .15em;
	border-radius: .15em 0 0 .15em;
    pointer-events: none;
	background-position:center center;
	background-repeat:no-repeat;
}

button.upload {
	width: 26px;
	padding: 0;
	float: left;
	background: #ccc url(../images/plus_icon16.png) center center no-repeat!important;
}

#cmdcrypt {
	float:left;
	padding:0 17px;
	margin-top:2px;
}

button.upload:hover {
	background: #ddd url(../images/plus_icon16.png) center center no-repeat!important;
}

.add:before {
	content:'\a0';
	background-image:url(../images/plus_icon16.png);
}

.delete:before {
	content:'\a0';
	background-image:url(../images/round_delete_icon16.png);
}

.save:before {
	content:'\a0';
	background-image:url(../images/round_checkmark_icon16.png);
}

button.cerca:before {
	content:'\a0';
	background-image:url(../images/zoom_icon16.png);
}

.textbox {
	background: white;
	border: 1px solid #B8B8B8;
	border-radius: 5px;
	box-shadow: 0 0 5px #DDD inset;
	color: #333;
	float: left;
	padding: 5px 10px;
	outline: none;
}

.textbox:hover {
	background-color:#FAFAFA;
}

input.disabled {
	background-color:rgb(245, 245, 245);	
}

#txtcosto, #txtcostocomponenti, #txtcostolavoro {
	text-align:right;	
}

*.databox {
	background:rgb(245, 245, 245) url(../images/calendar_1_icon16_g.png) 80px center no-repeat;
	cursor:default;
	width:80px;
}

.regular-checkbox {
	display: none!important;
}


.regular-checkbox + label {
	font-size:13px!important;
	background: url(../images/checkbox_icon_dbl16.png) no-repeat;
	padding: 5px 0 5px 20px!important;
	display: inline-block;
	position: relative;
	background-position:0 0!important;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.regular-checkbox + label:hover {
	text-shadow:0px 0px 15px #333!important;
}

#section_body .icon, #section_body label, #section_body .text_field, a.allega, a.scansione, h1.line {
	text-shadow: 3px 1px 10px #CCC;
}

.regular-checkbox:checked + label {
	background-position:0 -38px!important;	
}

.regular-checkbox:checked + label:after {
	position: absolute;
	top: 0px;
	left: 3px;
	color: #99a1a7;
}


#label_urgenza {
	color:#F00;
	margin-right:10px;
}

#label_avvisato {
	width: 115px!important;
	font-size: 12px!important;
	padding-top: 7px!important;
}

#label_fatturato, #label_ritirato, #label_saldato {
	margin:2px 0 0 5px;
}

#label_scala {
	font:13px verdana!important; 
	margin:2px 0 0 41px;
}

#label_policy {
	background:#fafafa url(../images/doc_edit_icon16dbl.png) no-repeat;
}

select {
	visibility:hidden;
}

select.big_select {
	visibility:visible!important;	
}

#cmbcliente_msdd {
	float:left;	
}

#cmdclone {
	position:absolute;
	top:-9999px;
}

.icon_container input {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 0;
	border: solid transparent;
	border-width: 0;
	opacity: 0.0;
	filter: alpha(opacity=0);
	direction: ltr;
	cursor: default;
	height:30px;
	width:90px;
}
.only-button {
	position: relative;
	cursor: pointer;
	border:1px outset #CCC;
	width:90px!important;
	background-color:#E1E1E1;
	line-height:30px;
	float:left;
	margin:4px 0px 0px 10px;
}

.only-button span {
	cursor:pointer;
}

.only-button:hover {
	background-color:#EEE;	
}

#dialog-modal, #dialog-confirm {
	display:none;
}