* {outline:none;}
html, body, table, form, div, p {font-family : Arial, Helvetica, sans-serif, sans;color : #000000;}
html, body {background: #fff;color : #000000;}
html, body, form {margin : 0;padding : 0;}
body {padding-top : 4px;}
a:link, a:hover, a:active, a:visited {color : #069;text-decoration : none;}
img {border : 0;}
.center {text-align:center;}
.lightblue {color: #39f;}

.floatedleft {float:left;}
.floatedright {float:right;}
.clearboth {clear:both;float:none;}
.right {text-align:right;}
dl#phplabels {display:none;}
div#topline {text-align : right;height : 30px;margin : 2px 5px;background : url(../images/logo1.png?20220228) left no-repeat;padding-top : 8px;font-size : 12px;}
div#tabs {height : 23px;line-height : normal;overflow: hidden;border-bottom : solid 1px #a0b4dc;margin-top : -25px;}
div#tabs ul {list-style-type : none;margin : 0;padding : 0;float : left;margin-left: 92px; /** spacing at the very first tab **/}
div#tabs li {display : inline;float : left;margin : 0 1px;padding : 0;font-size : 12px;}
div#tabs a {display : inline-block;float : left;height : 23px;max-width : 180px;margin : 0;padding : 0;padding-left : 12px;white-space : nowrap;background : url(../images/tab.png) left -80px no-repeat;text-decoration : none;margin-right : 2px; /** spacing between each tab **/}
div#tabs a span {display : inline-block;height : 23px;background : url(../images/tab.png) right -120px no-repeat;padding : 4px 12px 2px 0;font-weight : normal;color : #828282;cursor : pointer;}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
div#tabs a span {float : none;}
/* End IE5-Mac hack */
div#tabs a:hover {background-position : left -80px;}
div#tabs a:hover span {background-position : right -120px;color : #000;}
div#tabs ul li.current a, div#tabs ul li.current a:hover {background-position : left top;}
div#tabs ul li.current a span, div#tabs ul li.current a:hover span {background-position : right -40px;font-weight : bold;color : #0771d4;}
div#topspacing {display:block; height: 11px; text-align: right; margin-right: 20px; padding-top:4px;}
a.ico_print {width:70px;height:25px;display:inline-block; float:right;background:url('../images/ico_print.jpg') no-repeat left top;margin-right:10px;padding-top:7px;padding-left:30px;font-size:11px;color:#333;}
a.ico_currencies {width:210px;height:16px;display:inline-block; background:url('../images/ico_currencies.gif') no-repeat left top; font-size:11px; color:#333; padding-left:20px;margin:0 5px 10px 5px;}
div.content-area {overflow : auto;}
div.last {clear : both;float : none;}
.blue {color : #0000ff;}
div#cbox {padding:10px;}
.hidden {display:none;}

div#content-area {
  background:transparent;
  padding-top:30px;
}
div#content-area #banner {
  margin:auto;
  margin-left:-25px;
} 
div#content-area #box-informazioni {
  width:665px;
  height:258px;
  text-align:center;
  margin:auto;
  background:url('../images/cornice.png') no-repeat;
  margin-bottom:40px;
}
div#content-area #box-informazioni p {
  font-weight:bold;
  color:#003f7d;
  padding:15px 30px;
  font-size:17px;
  line-height:1.5;
}
div#content-area #box-informazioni a {
  color:#ff0100;
  font-style:italic;
}

div.msg {background:#fec; border:1px dotted #f90; margin:10px; padding:10px; font-size:12px; color:#000;}
div.msg.green {background:#bfd; border:1px dotted #0c0; margin:10px; padding:10px;}
div.msg.red {background:#fdd; border:1px dotted #f00; margin:10px; padding:10px;}

em.ineuro {color:#06c; font-size:9px; font-style:normal;}   

/*---LOGIN STUFF---*/
div#login {position : absolute; left : 45%; top : 55%;}
div#login div {position : absolute; left : -150px; top : -200px; background : url(../images/login.png) center no-repeat; height : 300px; width : 400px;}
div#login div form {padding : 65px;}
div#login div form h2 {height : 41px;margin-top : -2px;padding-top : 8px;padding-left : 120px;margin-bottom : 10px;text-align : left;background : url(../images/logo.png?20220228) top left no-repeat;}
div#login div form p {margin : 10px 15px 0 15px;text-align : right;font-size : 13px;}
div#login div form p span {padding-right : 25px}
div#login div form p span input {width : 140px;height : 25px;border : solid 1px #999999;}
div#login div form p span.bad input {width : 140px;height : 25px;border : solid 1px #f00;}
div#login div form p.sub {text-align : center;margin-top : 20px;}
div#login div form p.sub input {text-align : center;font-weight : bold;width : 115px;height : 25px;border : solid 1px #999999;background : #ffffff url(../images/fade.png) bottom center repeat-x;}

/*PAGER*/
div.pager {clear:both;float:none; text-align:center; padding-top:10px; padding-bottom:10px; border-top:1px solid #ccc; border-bottom:1px solid #ccc;}
div.pager a {display:inline-block; padding:2px 5px; text-align:center; border:1px solid #aaa; font-size:12px; color:#333; margin:0 2px; background:#f0f0f0;}
div.pager a.current {background:#dcebf9; border:2px solid #a4caee; color:#0771d4; font-weight:bold;}
div.pager a.prevnext {font-size:14px; color:#333;}
div.pager a.prevnext.off {font-size:14px; color:#ddd; border:1px solid #ddd; background:#fff;}
 
/*REGISTRAZIONE*/
h2.title {color:#036;font-size:16px;margin:0;padding:0;margin-bottom:20px;}
h3.subtitle {color:#c00;font-size:14px;margin:0;padding:0;}
h3.subtitle2 {color:#060;font-size:12px;margin:0;padding:0;}
h4.subtitle {color:#900;font-size:12px;margin:0;padding:0;}

div.item {overflow:auto;font-size:11px;padding:4px 0;margin:4px 0;clear:both;float:none;}
div.item.twocols {background:#fff;border-top:1px dotted #ccc;padding:10px;width:250px;height:70px;margin:0;clear:none;float:left; overflow:auto;}
div.item.twocols.darkened {background:#f8f8f8;}
div.item.twocols b {padding:5px; background:#036; color:#fff;width:16px;display:inline-block;text-align:center;}
div.graytext {color:#ccc;} 

form.rform, div.rform {}
form.rform label, div.rform label {width:180px;display:inline-block;}
form.rform label.longlabel, div.rform label.longlabel {width:520px;}

form.rform div.inpackagebox /*, div.rform div.inpackagebox*/ {margin-left:10px;padding:10px; background:#f0f0f0;border-left:1px dotted #036;display:none;}
div.inpackage {background:#ebffeb url('../images/bck_inpackage.jpg') no-repeat left top; margin:10px; padding:20px; font-size:11px;}
div.inpackage h3.title {color:#060; margin:0; padding:0 5px 20px 35px; font-size:12px;}
div.inpackage ul {margin:0 6px; padding:0 6px;list-style-type:square;}
div.inpackage a {color:#333;}
div.inpackage a:hover {color:#090;}

ul.ispezioni_info {margin-top:5px;margin-bottom:5px;margin-left:0px;padding-left:6px;list-style:none;border-left:10px solid #ccc;} 



input[disabled="disabled"] {border:none;background:#eee;}
input[readonly="readonly"] {border:none;background:#f0f0f0;}
select[disabled="disabled"] {border:none;background:#eee;}
select[readonly="readonly"] {border:none;background:#f0f0f0;}
div#proprietari {font-size:12px;margin:5px 0;}
div#tagliandi {font-size:12px;margin:5px 0;}
div#ispezioni {font-size:12px;margin:5px 0;}

div#errorbox {color:#900;border:1px dotted #900;padding:10px;background:#fee;font-size:12px;display:none;margin:5px;}
div#errorbox ul.errors li {list-style-image:url('../images/ico_errorbox.gif');}

div.warranty {color:#333; font-weight:bold;font-size:14px;padding:5px;border:3px solid #eee;width:460px;text-align:center;margin-bottom:10px;}
div.warranty.yellow {background:#ffc;}
div.warranty.red {background:#ffb2ac;}
div.warranty.green {background:#6f6;}
div.warranty span {color:#000;font-size:9px;}

span.loading {display:none; width:16px; height:16px; background:url('../images/loading.gif') no-repeat center center;}

/*---FILEBROWSER STUFF---*/
div#main {width : 97%;overflow:auto;margin-left:auto;margin-right: auto;text-align: left;padding : 10px;}
div#treeContainer {width:240px;margin-bottom:10px;float:left;padding:0;background-color:#eeeeee;border-right:1px solid #a0b4dc;margin-right:4px; cursor: w-resize;}
div#xtree {font-size:12px;margin-right:4px;overflow-x:hidden;overflow-y:auto;cursor: default; background-color:#ffffff; border-right:1px solid #a0b4dc; }
div#tree {width:240px;margin-bottom:10px;float:left;padding:0;background-color:#ffffff;border-right:1px solid #a0b4dc;margin-right:10px; font-size:12px; overflow-x:hidden; overflow-y:auto;}
div#xtree .cartella a { color:#000; text-decoration:none; }
div#xtree .cartella a:hover {background-color:#dcebf9; color:#000; text-decoration:none; }
div#panel {margin-left:10px;padding:0;background-color:#ffffff;overflow:auto;}
div#panel table {font-size : 13px; border-collapse:collapse;}

div#tree.searchbox {background:#dfedf9 url('../images/bck_searchbox.jpg') repeat-x left top;}
div#tree.searchbox form {padding:0 0 10px 20px;font-size:11px;}
div#tree.searchbox h2.title {padding-top:14px;padding-left:40px;margin:0;height:40px;background:url('../images/ico_find.gif') no-repeat 5px 5px; font-size:14px;}
div#tree.searchbox h2.zone.title {padding-top:14px;padding-left:40px;margin:0;height:40px;background:url('../images/ico_zone.gif') no-repeat 5px 5px; font-size:14px;}
div#tree.searchbox select {font:10px Tahoma,Arial,Helvetica,sans-serif;}
div.region {border-top: 1px solid #a0b4dc; padding: 5px;cursor : pointer;}
div.regionselected {background: #036; color: #fff; font-weight:bold;}

ul.region {margin:0;padding:0;list-style:none;}
ul.region li {padding:10px 5px;border-top:1px solid #a0b4dc;font-weight:bold; color:#000; }
ul.region li span {cursor:pointer;}
ul.region li.nationselected {background:#69c; color:#fff;}
ul.region li ul {margin:10px 0 5px 0;padding:0;list-style:none;background:#eff8ff;display:none;}
ul.region li ul li {padding:5px 0 5px 10px;border-top:none;border-bottom:2px solid #dfedf8;font-weight:normal; cursor:pointer; color:#000; }
ul.region li ul li.regionselected {background: #036; color: #fff;}
ul.region li a.editzone {display:block; float:right; background:url('../images/ico_edit.gif') no-repeat left top; width:16px; height:16px;}


div#tree.searchbox {border-top: 1px solid #a0b4dc;}

/*div#panel table th {border : solid 1px #dddddd;text-align:center;border-right : solid 1px #333333;border-bottom : solid 1px #333333;background-color : #cccccc;}*/
div#panel table th, div#panel table td {font-size:11px;}
div#panel table th {border:none;background-color : #dcebf9; color:#0771d4; text-align:center; border:1px solid #a4caee;}
div#panel table tr th.nfo {width : 15%;}
div#panel table tr td.attr {font-size : 12px;white-space : nowrap;text-align : center;}
div#panel table td {border-right:1px dotted #ccc;padding-top:4px;}
div#panel table td.centered {text-align:center;}

div#panel table a:hover {text-decoration : underline;}
div.cartella {padding-left : 10px;}
div.cartella a {white-space:nowrap;}
/*a.selva {display : block;float : none;clear : both;width : auto;height : 23px;text-decoration : none;}
a.selva span {width : 50px;height : 23px;margin-right : 6px;float : left;display : inline-block;background : url(../images/iconset.png) -5px -2px no-repeat;}*/
a.selva {display : block;float : none;clear : both;margin-left : 0;width : auto;height : 16px;margin-top : 4px;text-decoration : none;}
a.selva span {width : 16px;height : 16px;float : left;margin-right : 4px;display : inline-block;background : url(../images/iconset.png) -16px -46px no-repeat;}

a:hover.selva {text-decoration : underline;}
a.close  {display : block;float : none;clear : both;margin-left : 10px;width : auto;height : 16px;margin-top : 4px;text-decoration : none;}
a.close span {width : 16px;height : 16px;float : left;display : inline-block;margin-right : 4px;background : url(../images/iconset.png) 0 -46px no-repeat;}
a:hover.close {margin-top : 4px;text-decoration : underline;}
a:hover.close span {background : url(../images/iconset.png) -16px -46px no-repeat;}
a.open  {display : block;float : none;clear : both;margin-left : 0;width : auto;height : 16px;margin-top : 4px;text-decoration : underline;}
a.open span {width : 26px;height : 16px;float : left;margin-right : 4px;display : inline-block;background : url(../images/iconset.png) -6px -76px no-repeat;}
span.ffolder {height : 20px;display : block;padding-left : 28px;background : url(../images/folder.png) 0 -4px no-repeat;text-decoration : none; color:#0771d4;}
span.ffile {height : 20px;display : block;padding-left : 28px;background : url(../images/file.png) 0 -4px no-repeat;text-decoration : none; color:#0771d4;}

/*REGISTRAZIONE*/
div#panel table tr.reg { background: #ffffff; cursor: pointer; }
div#panel table tr.reg a, div#panel table tr.rreg a {color:#000;text-decoration:none;}
div#panel table tr.rreg { background: #ffd4d4; cursor: pointer; }
div#panel table tr:hover.reg { background : #e0edf9; cursor : pointer; }
div#panel table tr:hover.rreg { background : #ffaaaa; cursor : pointer; }
div#panel table td.deletereg {background:url('../images/ico_trash.gif') center center no-repeat;width:20px;}
form.rform label.passolabel {margin-left:20px;width:40px; display:inline;}
a:link.btn, a:hover.btn, a:active.btn, a:visited.btn {display:inline-block; width: auto; height: auto; text-align: center; font-weight: bold; font-size: 12px; color: #000; text-decoration: none; border : solid 1px #999; padding: 4px 12px; background : #ffffff url(../images/fade.png) bottom center repeat-x; }
a:link.btn_modify, a:hover.btn_modify, a:active.btn_modify, a:visited.btn_modify {font-size:12px;font-weight:normal;display:inline-block; width: auto; height: auto; color: #333; text-decoration: none; padding:4px 0 0 18px; background:url('../images/ico_edit.gif') left center no-repeat; }    
a:link.btn_delete, a:hover.btn_delete, a:active.btn_delete, a:visited.btn_delete {font-size:12px;font-weight:normal;display:inline-block; width: auto; height: auto; color: #333; text-decoration: none; padding:4px 0 0 18px; background:url('../images/ico_trash.gif') left center no-repeat; }

div#insertnewtagliando, div#insertnewproprietario, div#insertnewispezione, div#insertnewmotore {background:#e0edf9;padding:10px;display:none;margin:20px 0;}
div#motori, div#tagliandi, div#proprietari, div#ispezioni {margin-top:20px;}
div.proprietario {border-bottom:1px solid #ccc;margin-bottom:10px;}
div.proprietariodetails {display:none; background:#eee; border:1px dotted #ccc;padding:10px;margin:5px 20px 20px 20px;}

div.tagliando {border-bottom:1px solid #ccc;margin-bottom:10px;}
div.tagliandodetails {display:none; background:#eee; border:1px dotted #ccc;padding:10px;margin:5px 20px 20px 20px;}

form.qfilter {float:left; width:380px;margin-bottom:5px;border:1px solid #a4caee;}
form.qfilter h3.title {color:#0771d4;margin:0;padding:0; font-size:12px;background:#dcebf9;padding:2px;}
form.qfilter h4.filtertitle {color:#09c;margin:0;padding:0; font-size:11px;}

form.qfilter div.qfilteritem {width:120px;float:left;overflow:auto;padding:2px; font-size:10px;border-left:1px dotted #a4caee;}
form.qfilter div.qfilteritem select {width:116px; font-size:10px;}
           
tr.dragging td {background-color:#cf9;}
td.dragger {width:16px;cursor:move;background-image:url(../images/ico_dragger.gif);background-repeat:no-repeat;background-position:center center;}
th.sort {width:16px;background-image:url(../images/ico_sort.gif);background-repeat:no-repeat;background-position:center center;}
td.useraccess {width:120px;text-align:center;}
span.userico_rguser {display:inline-block;width:18px;height:16px;background:url(../images/userico_rguser.gif) no-repeat left top;}
span.userico_orduser {display:inline-block;width:18px;height:16px;background:url(../images/userico_orduser.gif) no-repeat left top;}
span.userico_visibilita {display:inline-block;width:18px;height:16px;background:url(../images/userico_visibilita.gif) no-repeat left top;}
span.userico_attivo {display:inline-block;width:18px;height:16px;background:url(../images/userico_attivo.gif) no-repeat left top;}
span.userico_insertuser {display:inline-block;width:18px;height:16px;background:url(../images/userico_insertuser.gif) no-repeat left top;}
span.userico_superuser {display:inline-block;width:18px;height:16px;background:url(../images/userico_superuser.gif) no-repeat left top;}

/*REGISTRAZIONE (new features) */
input.insertbox {float:left; margin-right:10px;}
input.hhmmss {font-size:9px;text-align:center;}
div.motorebox, div.imbarcazionebox {width:640px;}
b.boxed {background:#c00;padding:2px 4px;font-size:8px;color:#fff;}


/*SPARE PARTS NEW STYLES*/
a.updatesparepartsdb {background:#900 url('../images/bck_redoperation.gif') repeat-x left bottom;color:#fff;font-size:11px;font-weight:bold;padding:5px;float:right;}
a.sparts_order_delete {display:inline-block;float:right;background:url("../images/ico_delete_forever_red.png") no-repeat left top;padding-left:22px;height:20px;color:#c00;max-width:200px;padding-left:22px;font-size:15px;}
a.sparts_order_delete:hover {text-decoration:underline;}
h3.title.sparts_items {padding:10px 10px 0 32px;margin:0;margin-top:10px;height:22px;background:url('../images/ico_sparts_list.gif') no-repeat left top; font-size:14px;}
h3.title.sparts_items a {font-weight:normal;}
a.sparts_items_refresh {display:inline-block;background:url("../images/ico_refresh_green.png") no-repeat left top;padding-left:22px;font-size:13px;height:20px;}
a.sparts_items_print {display:inline-block;background:url("../images/ico_print_blue.png") no-repeat left top;padding-left:22px;font-size:13px;height:20px;}
a.sparts_send {float:right;display:inline-block;background:#06c url("../images/ico_arrow_forward.png") no-repeat right center;padding:4px;padding-right:22px;border-radius:4px;color:#fff;margin-top:10px;}
div.sparts_check4recap_errs {color:#f00;padding:4px;}

h3.title.sparts_search {display:inline-block;padding:10px 10px 0 32px;margin:0;height:22px;background:url('../images/ico_sparts_search.gif') no-repeat left top; font-size:14px;}
input[name=ordine_label] {color:#58b;font-size:15px;font-weight:bold; width:180px;border-top:none;border-left:none;border-right:none;border-bottom:1px solid #036;}

div#sparts_search {background:#def;padding:4px 16px;border-radius:8px;margin-top:16px;overflow:auto;}
/*div#sparts_search div.sparepartssearch_error {color:#f00;display:none;background:#fff;font-size:13px;text-align:center;border-radius:8px;margin:4px;}*/
table.sparts {border-collapse:collapse;width:100%;}
table.sparts th {font-size:13px;border:none;background-color:#def; color:#06c; text-align:center;border-right:1px solid #ccc;}
table.sparts td {font-size:13px;border-right:1px dotted #ccc;border-bottom:1px solid #ccc;padding-top:4px;padding-left:4px;}
table.sparts tr:hover {background:#f0f8ff;cursor:pointer;}
table.sparts.items tr.notavailable {background:#fcc url("../images/ico_sp_notavailable.png") no-repeat 2px center;}
table.sparts.items tr.notavailable td:first-child {padding-left:20px;}
table.sparts.items tr.notavailable.replaced {background:#fcc url("../images/ico_sp_replaced.png") no-repeat 2px center;}
table.sparts.items tr.notavailable td {text-decoration:line-through;}
table.sparts.items tr.notavailable:hover {background-color:#fcc;}
table.sparts.items tr {cursor:default;}
table.sparts.items th, table.sparts.items td {font-size:12px;}
table.sparts.items td:nth-child(3),table.sparts.items td:nth-child(4),table.sparts.items td:nth-child(5) {text-align:right;}
table.sparts.items td:nth-child(6) {text-align:center;}
table.sparts.items input[rel=qty] {text-align:right;width:30px;}
table.sparts.items input[rel=qty].err {border:2px solid #f00;}
table.sparts.items td.total {font-weight:bold;text-align:right;font-size:15px;}
table.sparts.items tr:hover {background-color:#f0f8ff;}
table.sparts.itemsrecap th, table.sparts.itemsrecap td {font-size:12px;border-bottom:none;}
table.sparts.itemsrecap td:nth-child(3),table.sparts.itemsrecap td:nth-child(4) {text-align:center;}
table.sparts.itemsrecap td span.printerr {font-weight:bold; color:#f00; text-decoration:line-through;} 
table.sparts a.shopdelete {background:url('../images/ico_delete_red.png') no-repeat right top;color:#c00;padding-right:20px;text-decoration:none;font-size:12px;height:16px;display:inline-block;}
div.sparts_result {margin:10px; background:#fff; overflow:auto; padding:10px; border-radius:8px; box-shadow: 0 0 6px #69c; font-size:12px;line-height:18px;}
div.sparts_result small {display:block;font-size:11px;margin-top:4px;margin-bottom:4px;}								
div.sparts_result h3 {margin:-10px -10px 8px -10px;padding:0;background-position:right 10px center;background-repeat:no-repeat;padding:10px 30px 10px 10px;line-height:14px;background-color:#ccc;height:10px;color:#fff;font-size:14px;}
div.sparts_result h3 b {float:right;font-weight:bold;}
div.sparts_result.available h3 {background-color:#0c0;background-image:url("../images/ico_sp_available.png");}
div.sparts_result.notavailable h3 {background-color:#c00;background-image:url("../images/ico_sp_notavailable.png");}
div.sparts_result.replaced {margin-bottom:-16px;}
div.sparts_result.replaced h3 {background-color:#fc0;background-image:url("../images/ico_sp_replaced.png");}
div.sparts_result a.spadd {display:inline-block;padding-left:22px;height:20px;background:url('../images/ico_spadd.png') no-repeat left top;font-size:11px;font-weight:bold;color:#090;}
div.sparts_result input.spqty {width:30px; text-align:right;}
div.sparts_result input.spqty.err {border:2px solid #f00;}

dl.sparts_history {overflow:auto;margin:0;padding:0;}
dl.sparts_history dt {cursor:pointer;margin:0;padding:0;background-color:#def; color:#06c; font-size:13px; font-weight:bold;padding-left:5px;padding-right:5px;line-height:24px;border-radius:0 8px 0 0;margin-top:5px;}
dl.sparts_history dd {margin:0;padding:5px;background:none;color:#333;font-size:11px;border:4px solid #def;border-radius:0 0 8px 8px;display:none;}
dl.sparts_history dd table {border-collapse:collapse;background:#fff;border:none;}
dl.sparts_history dd table tr:first-child td {background:#abc; color:#fff; font-weight:bold;}
dl.sparts_history dd table td {border:1px solid #999;padding:0 10px;}

/*SPARE PARTS OLD STYLES*/
a.updatesparepartsdb {background:#900 url('../images/bck_redoperation.gif') repeat-x left bottom;color:#fff;font-size:11px;font-weight:bold;padding:5px;float:right;}
div.sparepartsshop {width:450px;float:left;background:#dfedf9 url('../images/bck_searchbox.jpg') repeat-x left top;margin-right:10px;padding-bottom:10px;}
div.sparepartsshop h2.title {padding-top:14px;padding-left:40px;margin:0;height:40px;background:url('../images/ico_findspareparts.gif') no-repeat 5px 5px; font-size:14px;}
div.sparepartsshop h2.title.shopbasket {padding-top:14px;padding-left:40px;margin:0;height:40px;background:url('../images/ico_shopbasket.gif') no-repeat 5px 5px; font-size:14px;}
div.sparepartsshop form {font-size:11px;padding-left:20px;padding-bottom:20px;}
div.sparepartsshop form DIV.sparepartssearch_error {color: red; visibility:hidden;}
div.spareparts {margin-left:10px;margin-top:10px;overflow:auto;}
div.spareparts dl {margin:0;padding:0;background-repeat:repeat-x;background-position:left-top;font-size:12px;padding:10px;}
div.spareparts dl dt {line-height:22px;}
div.spareparts dl dt.spinfo {font-size:11px;color:#666;}
div.spareparts dl.available {background-image:url('../images/bck_sp_available.gif');}
div.spareparts dl.available dt.spcode {background:url('../images/ico_sp_available.gif') no-repeat right top;height:30px;line-height:30px;border-bottom:1px dotted #999;}
div.spareparts dl.available dt.availability {color:#090;font-weight:bold;}
div.spareparts dl.notavailable {background-image:url('../images/bck_sp_notavailable.gif');}
div.spareparts dl.notavailable dt.spcode {background:url('../images/ico_sp_notavailable.gif') no-repeat right top;height:30px;line-height:30px;border-bottom:1px dotted #999;}
div.spareparts dl.notavailable dt.availability {color:#c00;font-weight:bold;}
div.spareparts dl.replaced {background-image:url('../images/bck_sp_replaced.gif');}
div.spareparts dl.replaced dt.spcode {background:url('../images/ico_sp_replaced.gif') no-repeat right top;height:30px;line-height:30px;border-bottom:1px dotted #999;}
div.spareparts dl.replaced dt.availability {color:#f90;font-weight:bold;}
div.spareparts a.spadd {display:inline-block;padding-left:22px;height:20px;background:url('../images/ico_spadd.gif') no-repeat left top;font-size:11px;font-weight:bold;color:#090;}
div.spareparts dl.available input.spqty {width:20px;}

div.sparepartshistory {float:none;clear:both;padding-top:10px;}
a.btn_sparepartshistory {width:200px;text-align:right;height:20px;font-size:12px;font-weight:bold;color:#06c;background:url('../images/ico_sparehistory.gif') no-repeat left top;padding-left:24px;line-height:20px;text-decoration:underline;}
dl.sparepartshistory {margin-left:10px;margin-top:10px;overflow:auto;background:url('../images/bck_sparehistory.gif') repeat left top;display:none;}
dl.sparepartshistory dt {cursor:pointer;margin:0;padding:0;background:url('../images/bck_sparehistorytitle.gif') repeat-x left top; color:#fff; font-size:13px; font-weight:bold;padding-left:5px;padding-right:5px;line-height:24px;}
dl.sparepartshistory dt b {display:inline-block;width:12px;height:16px;float:right;background:url('../images/ico_enlarge.gif') no-repeat left top;margin:4px 0;}
dl.sparepartshistory dd {margin:0;padding:5px;background:none;color:#333;font-size:11px;display:none;}
dl.sparepartshistory dd table {border-collapse:collapse;background:#fff;}
dl.sparepartshistory dd table tr:first-child td {background:#69c; color:#fff; font-weight:bold;}
dl.sparepartshistory dd table td {border:1px solid #ccc;padding:0 10px;}

ul.shopbasket {margin:0 5px 0px 5px;padding:0;list-style:none;}
ul.shopbasket li {background:#fff;font:10px Tahoma, Arial, Helvetica, sans-serif;padding:5px;border-left:2px solid #f90;margin-bottom:5px;}
ul.shopbasket li a.shopdelete {float:right;background:url('../images/ico_delete.gif') no-repeat right top;color:#900;padding-right:20px;padding-bottom:4px;text-decoration:none;font-size:11px;}
ul.shopbasket li a.shopdelete:hover {text-decoration:underline;}
ul.shopbasket li div.totaloutput {display:none;}
ul.shopbasket li strong {color:#069;}
ul.shopbasket li .spinfo {font-size:9px;color:#999;margin:5px 0;}
ul.shopbasket li input.spqty {width:20px;border:1px solid #069;}
ul.shopbasket li div.partial {font-size:13px; font-weight:bold; text-align:right; color:#000;}
div.sparepartsshoptotal {color:#000;font-weight:bold; text-align:right; padding:5px 10px; display:none;}
div.sparepartsshopempty {font-size:13px; margin-left: 20px; margin-right: 20px; display:none;}
div.sparepartsshopbtns {text-align:left;margin:3px; display:none;}

form#sparts_send_frm fieldset {border:none;}
form#sparts_send_frm fieldset:disabled {display:none;}
div.sparts_precompile_choose {background:#ffc;border:1px solid #f90;font-size:12px;margin:10px;}

/*RICHIESTE GARANZIA*/
div#main.rg h2.title {font-size:18px;}
div#main.rg h2.title small {color:#369;}
div#main.rg div#historyinsertby {width:48%;margin-right:2%;padding:1%;float:left;background:#f0f0f0;border-radius:8px;border:1px solid #def;clear:none;}
div#main.rg textarea[name=historyinsertby] {box-sizing:border-box;width:100%;min-height:120px;border:none;background:none;font-family:Arial,Helvetica,sans-serif;border:none;font-size:15px;}
div#main.rg span#historydatavendita {background:#def;padding:10px;border-radius:8px;white-space:nowrap;display:none;}
div#main.rg input[name=historydatavendita] {border:none;background:none;text-align:center;font-size:15px;width:auto;}
div#main.rg div#historyproprietario {padding:1%;border:none;background:#def;border-radius:8px;display:none;}
div#main.rg textarea[name=historyproprietario] {box-sizing:border-box;width:100%;min-height:120px;border:none;background:none;font-family:Arial,Helvetica,sans-serif;border:none;font-size:15px;}
div#main.rg > div, div#main.rg form > div  {overflow:auto;padding:4px;margin:4px 0;clear:both;float:none;}
div#main.rg a.dp-choose-date {font-size:0;}
div#main.rg div.rg_bordered {border:1px solid #aaa;border-radius:8px;padding:5px;}
div#main.rg div.rg_vspaced {line-height:25px;}
div#main.rg input[name=history_mod_mot] {background:#fff;border:none;min-width:400px;font-size:18px;}
div#main.rg input[name=history_mod_imb] {background:#fff;border:none;min-width:400px;font-size:18px;}
div#main.rg input[name=matr_mot] {background:#fff;border:none;min-width:400px;font-size:18px;}
div#main.rg input[name=matr_imb] {background:#fff;border:none;min-width:400px;font-size:18px;}
div#main.rg div.rg_olio span {background:#eee;white-space:nowrap;padding:2px 4px;border-radius:4px;}
div#rgmodalprodotto {line-height:25px;text-align:left;}
ul#rgmodalprodottoerror {min-height:100px;list-style:none;text-align:left;margin:10px 0;padding:0;}
ul#rgmodalprodottoerror li {display:block;background:#fff;padding:5px;border-radius:5px;border:1px solid #f00;color:#f00;margin-top:2px;box-shadow: 0px 0px 6px #888;}
button[name=rgsubmitprod] {background:#06f;border-radius:5px;box-shadow: 0px 0px 6px #888;border:1px solid #838383;height:25px;color:#fff;font-weight:bold;cursor:pointer;}
button[name=rgsubmitprod]:hover {background:#39f;}
div#main.rg button[rel=addphoto] {background:#06f;border-radius:5px;border:none;height:25px;line-height:16px;color:#fff;font-weight:bold;cursor:pointer;margin-top:4px;}
div#main.rg button[rel=addphoto]:before {content: "\002B";font-weight:bold;font-size:20px;line-height:16px;}
div#rgmodalphotos {line-height:25px;text-align:left;}
div#rgmodalphotos input[name=upl] {width:400px;}
div#rgmodalphotos div.uplprogress {background:#eee;width:400px;height:10px;border:1px solid #333;margin:4px auto;display:none;}
div#rgmodalphotos div.uplprogress span {display:block;width:20px;height:10px;background:#0c0;}
ul#rgmodalphotoserror {min-height:20px;list-style:none;text-align:left;margin:10px 0;padding:0;}
ul#rgmodalphotoserror li {display:block;background:#fff;padding:5px;border-radius:5px;border:1px solid #f00;color:#f00;margin-top:2px;box-shadow: 0px 0px 6px #888;}
button[name=rgsubmitphoto] {display:block;margin-top:20px;background:#06f;border-radius:5px;box-shadow: 0px 0px 6px #888;border:1px solid #838383;height:25px;color:#fff;font-weight:bold;cursor:pointer;}
button[name=rgsubmitphoto]:hover {background:#39f;}
div#main.rg ul#photos {list-style:none;margin-left:0;padding-left:0;width:500px;}
div#main.rg ul#photos li {background:#f8f8f8;border:1px solid #ccc;cursor:pointer;border-radius:4px;padding-left:4px;padding-right:4px;margin-bottom:2px;}
div#main.rg ul#photos li:hover {background:#efe;}
div#main.rg ul#photos li button {background:#c00;color:#fff;border:none;border-radius:5px;float:right;}
div#main.rg ul#photos li button:before {content:"\00d7";font-weight:bold;}
div#main.rg table#ricambi {border:1px solid #aaa;border-collapse:collapse;min-width:580px;display:none;}
div#main.rg table#ricambi th {text-align:center;background:#eee;}
div#main.rg table#ricambi td, div#main.rg table#ricambi th {border:1px solid #aaa;padding:4px;}
div#main.rg table#ricambi td button {background:#c00;color:#fff;border:none;border-radius:5px;}
div#main.rg table#ricambi td button:before {content:"\00d7";font-weight:bold;}
div#main.rg table#ricambi td input {border:none;}
div#main.rg table#ricambi tr.rgadded td input {border-bottom:1px dotted #000;background:#ffe;}
div#main.rg table#ricambi td input::-ms-clear { display:none; }
div#main.rg button[rel=addricambi] {background:#06f;border-radius:5px;border:none;height:25px;line-height:16px;color:#fff;font-weight:bold;cursor:pointer;margin-top:4px;}
div#main.rg button[rel=addricambi]:before {content: "\002B";font-weight:bold;font-size:20px;line-height:16px;}
div#main.rg table#manodopera {border:1px solid #aaa;border-collapse:collapse;min-width:580px;display:none;}
div#main.rg table#manodopera th {text-align:center;background:#eee;}
div#main.rg table#manodopera td, div#main.rg table#manodopera th {border:1px solid #aaa;padding:4px;}
div#main.rg table#manodopera td button {background:#c00;color:#fff;border:none;border-radius:5px;}
div#main.rg table#manodopera td button:before {content:"\00d7";font-weight:bold;}
div#main.rg table#manodopera td input {border:none;}
div#main.rg table#manodopera tr.rgadded td input {border-bottom:1px dotted #000;background:#ffe;}
div#main.rg table#manodopera td input::-ms-clear { display:none; }
div#main.rg table#manodopera td:nth-child(3) input.err {border:2px solid #f00;font-weight:bold;color:#f00;}
div#main.rg table#manodopera tfoot td {border:none;font-weight:bold;}
div#main.rg table#manodopera tfoot td small {color:#06f;}
div#main.rg button[rel=addmanodopera] {background:#06f;border-radius:5px;border:none;height:25px;line-height:16px;color:#fff;font-weight:bold;cursor:pointer;margin-top:4px;}
div#main.rg button[rel=addmanodopera]:before {content: "\002B";font-weight:bold;font-size:20px;line-height:16px;}
div#main a[rel=rgshowmanodopera] {font-size:12px;padding-right:14px;background:url("../images/ico_dragger.gif") no-repeat right center;display:none;text-align:right;}
div#main.rg table.rgtbl {border-collapse:collapse;border:1px solid #ccc;}
div#main.rg table.rgtbl th {background:#eee;text-align:center;}
div#main.rg table.rgtbl td, div#main.rg table.rgtbl th {border:1px solid #ccc;padding:2px 4px;}
div#main.rg div.rg_noteold {font-size:12px;}
div#main.rg div.rg_noteold i {font-style:normal;color:#06c;padding-right:4px;}
div#main.rg div.rg_noteold i:before {content:"";display:block;border-top:1px dotted #06c;margin-top:4px;}
div#main.rg textarea {resize:none;width:70%;}
div#main.rg textarea[name=noteold] {display:none;}
div#main.rg textarea[name=note_chiusura][readonly] {border:1px dotted #ccc;}
div#main.rg label.rg_floatedlabel {float:left;display:inline-block;font-weight:bold;width:20%;text-align:right;margin-right:5px;}
div#main div.rg_hist_photos {margin-top:10px;margin-bottom:10px;border-top:1px solid #999; border-bottom:1px solid #999; padding:10px;}
div#main div.rg_hist {border-radius:8px;border:1px solid #ccc;padding:0;margin:0 0 10px 0;}  
div#main div.rg_hist h3 {background:#def;margin:0;padding:2px 8px;font-size:16px;color:#06c;cursor:pointer;overflow:auto;}
div#main div.rg_hist h3:hover {background:#06c;color:#fff;}
div#main div.rg_hist a.btn_rgsendtowarehouse { cursor:pointer; display:block; width:200px; height: auto; text-align: center; margin:4px auto; font-weight: bold; font-size: 12px; color: #000; text-decoration: none; border : solid 1px #999; padding: 4px 12px; background : #ffffff url(../images/fade.png) bottom center repeat-x; }
div#main div.rg_hist a.btn_rgviewwhsent { cursor:pointer; display:block; width:auto; height: auto; text-align: center; margin:4px auto; font-weight: normal; font-size: 12px; color: #c30; text-decoration: underline; padding: 4px 12px; }
div#main div.rg_hist ul.rg_contents {list-style:none; padding:0; margin:0; font-size:13px;}
div#main div.rg_hist ul.rg_contents li {padding:4px;border-bottom:1px dotted #aaa;}
div#main div.rg_hist ul.rg_contents li:nth-child(even) {background:#f8f8f8;}
div#main div.rg_hist ul.rg_contents li:last-child {border-bottom:none;}
div#main div.rg_hist ul.rg_contents li.rg_section {background:#fed;font-weight:bold;border-bottom:none;border-top:2px solid #999;}
div#main div.rg_hist ul.rg_contents li.rg_section_top {border-top:2px solid #999;}
div#main table.richiestegaranzia {border-collapse:collapse;width:100%;font-size:13px;}
div#main table.richiestegaranzia th {background-color:#def; color:#06c; text-align:center;border-right:1px solid #ccc;}
div#main table.richiestegaranzia th:nth-child(1) {width:10%;}
div#main table.richiestegaranzia th:nth-child(n+2) {width:16%;}
div#main table.richiestegaranzia th:nth-child(n+6) {width:10%;}
div#main table.richiestegaranzia th:nth-child(8) {width:6%;}   
div#main table.richiestegaranzia td {border-right:1px dotted #ccc;border-bottom:1px solid #ccc;padding-top:4px;padding-left:4px;}
div#main table.richiestegaranzia td strong.matr {color:#06c;}
div#main table.richiestegaranzia td sup {color:#ccc;}
div#main table.richiestegaranzia td.stato_aperto {color:#06c;text-transform:uppercase;text-align:center;font-weight:bold;font-size:11px;}
div#main table.richiestegaranzia td.stato_chiuso {background:#fec;color:#f90;text-transform:uppercase;text-align:center;font-weight:bold;font-size:11px;}
div#main table.richiestegaranzia td.stato_annullato {background:#eee;color:#888;text-transform:uppercase;text-align:center;font-weight:bold;font-size:11px;}
div#main table.richiestegaranzia tr:hover {background:#f0f8ff;cursor:pointer;}
div#main.rg div#rg_targets {padding:4px 32px 4px 32px;border:none;background:#efe url("../images/ico_mail.png") no-repeat 4px 4px;border-radius:8px;}
div#main.rg ul#rgedittargets {margin:0;padding:0;list-style:none;background:#fff;}
div#main.rg ul#rgedittargets li {border-bottom:1px dotted #aaa;padding-top:2px;padding-bottom:2px;}
div#main.rg ul#rgedittargets li input {cursor:pointer;}
div#main.rg ul#rgedittargets li:hover {background-color:#cfc;}
div#main.rg ul#rgedittargets li.rguser {background-image:url("../images/userico_rguser.gif"); background-repeat:no-repeat;background-position:right center;}
div#main.rg ul#rgedittargets li.nomail {background-color:#fcc;color:#600;}
div#main.rg ul#rgedittargets li.nomail:after { content:"???"; }
div#main.rg ul#rgedittargets li.insertbyuserdetails {color:#06c;padding-left:4px;}        

div#main.rg button.rg_btn_sub {cursor:pointer;background:#06c;border:none;border-radius:6px;color:#fff;padding:4px 20px;font-weight:bold;}
div#main.rg button.rg_btn_sub_selva {cursor:pointer;background:#06f;border:none;border-radius:6px;color:#fff;padding:4px 20px;font-weight:bold;}
div#main.rg button.rg_btn_undo {cursor:pointer;background:#eee;border:none;border-radius:6px;color:#333;padding:4px 20px;}
div#main.rg button.rg_btn_sub:hover {background:#28e;}
div#main.rg button.rg_btn_sub_selva:hover {background:#4af;}
div#main.rg button.rg_btn_undo:hover {background:#ccc;}

/*ORDINI*/
a.updateordinidb {background:#900 url("../images/bck_redoperation.gif") repeat-x left bottom;color:#fff;font-size:11px;font-weight:bold;padding:5px;float:right;}
button.ord_btn_sub {cursor:pointer;background:#06c;border:none;border-radius:6px;color:#fff;padding:0 20px;margin:0 4px;font-weight:bold;height:44px;line-height:normal;}
a.ord_back {cursor:pointer;background:#06c;border:none;border-radius:6px;color:#fff;padding:12px 20px;margin:0 4px;font-weight:bold;height:44px;line-height:normal;box-sizing:border-box;}
button.ord_btn_sub em {height:60px;display:block;overflow:hidden;margin-top:0px;}
button.ord_btn_sub small {display:block;font-size:11px;line-height:normal;}
button.ord_btn_sub.warning {cursor:pointer;background:#f60;border:none;border-radius:6px;color:#fff;padding:4px 20px;font-weight:bold;}
button.ord_btn_sub.warning2 {cursor:pointer;background:#f40;border:none;border-radius:6px;color:#fff;padding:4px 20px;font-weight:bold;}
button.ord_btn_sub.danger {cursor:pointer;background:#c00;border:none;border-radius:6px;color:#fff;padding:4px 20px;font-weight:bold;}

div#main.ord div.chkswitchbox {display:inline-block;border-radius:4px;width:auto;padding:4px; border:1px solid #ccc;background:#f0f0f0;margin-top:4px;font-size:12px;font-weight:bold;color:#333;}
div#main.ord label.chkswitch input { opacity: 0.4; }
div#main.ord label.chkswitch { position:relative;display:inline-block;width:40px;height:20px; }
div#main.ord label.chkswitch span.slider {position:absolute;left:0;top:0;cursor:pointer;right:0;bottom:0;background-color:#ccc;border-radius:34px;}
div#main.ord label.chkswitch span.slider:before {content: ""; position:absolute;left:2px;bottom:2px;height:16px;width:16px;border-radius:50%;background-color:#fff;/*-webkit-transition: .4s; transition: .4s;*/}
div#main.ord label.chkswitch input:checked + span.slider { background-color: #2196F3; }
div#main.ord label.chkswitch input:checked + span.slider:before {-webkit-transform: translateX(20px);-ms-transform:translateX(20px);transform:translateX(20px);}

div#main.ord table.searchresults {border-collapse:collapse;font-size:14px;width:100%;}
div#main.ord table.searchresults tbody tr {cursor:pointer;}
div#main.ord table.searchresults tbody tr:hover {background:#eee;}
div#main.ord table.searchresults th {border-right:1px solid #ccc;padding:0 4px;background-color:#def; color:#06c;text-align:center;} 
div#main.ord table.searchresults td {border:1px solid #ccc;padding:2px 4px;}
div#main.ord table.searchresults td.photo {text-align:center;width:20px;background:#ddd url("../images/ico_photo.png") no-repeat center center;cursor:zoom-in;}
div#main.ord table.searchresults td.photo:hover {background-color:#aaa;}
div#main.ord table.searchresults td:nth-child(3) {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size:13px;}
div#main.ord table.searchresults td:nth-child(4) {width:120px;text-align:right;font-weight:bold;}
div#main.ord table.searchresults td:nth-child(5) {width:60px;text-align:center;padding:0;}
div#main.ord table.searchresults td:nth-child(6) {width:160px;}
div#main.ord table.searchresults td.orderactivity {background:#06c url("../images/ico_basket.png") no-repeat center center;}
div#main.ord table.searchresults tfoot td {border:none;}
div#main.ord a.pagenext {display:inline-block; float:right; padding:2px 5px; text-align:center; border:1px solid #aaa; font-size:12px; color:#333; margin:4px 2px; background:#f0f0f0;}
div#main.ord a.pageprev {display:inline-block; float:left; padding:2px 5px; text-align:center; border:1px solid #aaa; font-size:12px; color:#333; margin:4px 2px; background:#f0f0f0;}
div#main.ord a.pagerepeat {display:inline-block; float:left; padding:2px 5px; text-align:center; border:1px solid #aaa; font-size:12px; color:#333; margin:4px 2px; background:#f0f0f0;} 
div#main.ord a.pagenext:hover, div#main.ord a.pageprev:hover, div#main.ord a.pagerepeat {filter:drop-shadow(0 0 4px #999);}
div#main.ord a.photo {display:inline-block;text-align:right;width:auto;background:#efe url("../images/ico_photo.png") no-repeat right center;cursor:zoom-in;padding:2px 20px 2px 2px;border:1px solid #cfc;}
div#main.ord a.photo:hover {background-color:#cfc;}
div#main.ord a.btn_viewprocessed {display:inline-block; background:#06c; border-radius:6px; color:#fff;margin-bottom:10px;padding:4px 20px; font-weight:bold ;text-decoration:none;font-size:12px;height:24px;line-height:24px;}
div#main.ord a.btn_viewreforders {display:inline-block; background:#f60; border-radius:6px; color:#fff;margin-bottom:10px;padding:4px 20px; font-weight:bold ;text-decoration:none;font-size:12px;height:24px;line-height:24px;white-space:nowrap;}
div#main.ord a.btn_viewsearchform {display:inline-block; background:#f60; border-radius:6px; color:#fff;margin-left:4px;margin-bottom:0px;padding:4px 20px; font-weight:bold ;text-decoration:none;font-size:12px;height:20px;line-height:20px;white-space:nowrap;}
div#main.ord a.btn_viewacceptedusersorders {display:inline-block; background:#06c; border-radius:6px; color:#fff;margin-left:4px;margin-bottom:0px;padding:4px 20px; font-weight:bold ;text-decoration:none;font-size:12px;height:20px;line-height:20px;white-space:nowrap;}
div#main.ord a.btn_userselect {display:inline-block; background:#f60; border-radius:6px; color:#fff;margin-bottom:0px;padding:4px 20px; font-weight:bold ;text-decoration:none;font-size:12px;height:20px;line-height:20px;white-space:nowrap;}


div#main.ord h2 span.ordstatus {padding:2px 5px;background:#eee;border-radius:4px;margin-left:10px;font-size:12px;color:#000;}
div#main.ord h2 span.ordstatus.draft {background:#fed;}
div#main.ord h2 span.ordstatus.review {background:#fc6;}
div#main.ord h2 span.ordstatus.pending {background:#ecc;}
div#main.ord div.userdata_for_admin {background:#ffc;border:1px solid #fc6;overflow:auto;padding:10px;font-size:13px;margin-bottom:10px;}
div#main.ord div.productdata_for_admin label {font-weight:bold;line-height:24px;}
div#main.ord form#editform label {font-weight:bold;line-height:24px;}
div#main.ord form#editform fieldset {border:none;padding-left:0;}
div#main.ord div.optsbox {background:#def;padding:8px;border-radius:8px;margin-top:10px;overflow:auto;}
div#main.ord div.optsbox.noopts {display:none;}
div#main.ord div.optsbox small.grouplabel {background:#bcd;color:#fff;padding:0 8px;border-radius:4px 4px 0 0;}
div#main.ord div.optsbox ul {background:rgba(255,255,255,0.8);font-size:12px;list-style:none;padding:0;margin-top:0;margin-bottom:5px;}
div#main.ord div.optsbox ul li {border-bottom:1px solid #def;}
div#main.ord div.optsbox ul li:hover {background:#ddd;}
div#main.ord span.currency {font-size:80%;font-weight:bold;color:#449;margin-right:6px;}
div#main.ord .undiscounted {font-weight:normal; color:#c00;position: relative;text-decoration:none;margin-right:10px;padding-left:4px;padding-right:4px;}
div#main.ord .undiscounted::after {content:"";position:absolute;top:50%;left:0;width:100%;height:2px;background:rgba(255,40,40,0.5);transform:rotate(-7deg);}
div#main.ord span.discounttxt {display:inline-block;padding:0 4px 0 8px;background:#cf0;color:#030;margin-left:4px;-webkit-clip-path:polygon(0 50%, 6px 0, 100% 0, 100% 100%, 6px 100%);clip-path:polygon(0 50%, 6px 0, 100% 0, 100% 100%, 6px 100%);}
div#main.ord span.currency.floatright {float:right;}
div#main.ord div.optsbox ul li span.prezzo {float:right;font-weight:bold;}
div#main.ord div.optsbox ul li a.photo {width:16px;height:16px;margin:0 2px;padding:0;border:none;}
div#main.ord div.optsbox h3 {color:#036;border-bottom:1px solid #036; font-size:14px;margin:0 0 2px 0;padding:0;}
div#main.ord form#editform input[name=totalprice] {background:#fff;font-weight:bold;font-size:14px;text-align:right;}
div#main.ord div.prevordini {background:#f0f0f0;border-radius:4px; padding:10px;} 
div#main.ord div.prevordini h3 {color:#036;font-size:14px;margin:0 0 2px 0;padding:0;}
div#main.ord em.errmsg {background:#a00 url("../images/ico_errorbox.gif") no-repeat left top;color:#fff;font-style:normal;font-weight:bold;padding-left:12px;padding-right:2px;font-size:13px;letter-spacing:-1px;display:none;}
div#main.ord em.warnmsg {background:#f90 url("../images/ico_warnbox.gif") no-repeat left top;color:#fff;font-style:normal;font-weight:bold;padding-left:12px;padding-right:2px;font-size:13px;letter-spacing:-1px;display:none;}
div#main.ord div.deliveries {border-left:2px solid #06f;padding-left:2px;}
div#main.ord div.deliveries > div {border-bottom:1px solid #ccc;height:30px;user-select:none;}
div#main.ord div.deliveries > div label {font-size:14px; letter-spacing:-1px;}
div#main.ord div.deliveries button.btn_add_deliveries {background:#06f;border-radius:5px;border:none;height:20px;line-height:11px;color:#fff;font-weight:bold;cursor:pointer;margin-top:4px;font-size:11px;}
div#main.ord div.deliveries button.btn_add_deliveries:before {content: "\002B";font-weight:bold;font-size:12px;line-height:12px;}
div#main.ord div.deliveries > div button.del_delivery {cursor:pointer;background:url('../images/ico_trash.gif') center center no-repeat;width:16px;height:16px;border:none;padding-left:18px;display:none;}
div#main.ord div.deliveries > div:hover {background:#f0f0f0;}
div#main.ord div.deliveries > div:hover button.del_delivery {display:inline-block;}

div#main.ord div.prevordini {margin-bottom:10px;}
div#main.ord div.prevordini span.currency {font-size:80%;font-weight:bold;color:#449;margin-right:6px;}
div#main.ord div.prevordini span.currency.floatright {float:right;}
div#main.ord div.prevordini div.box {padding:5px;border-radius:4px;filter:drop-shadow(0 2px 1px #bbb);font-size:12px;margin-bottom:6px; display:none;overflow:auto;text-align:left;}
div#main.ord div.prevordini div.box:hover {filter:drop-shadow(0 2px 4px #999);}
div#main.ord div.prevordini div.box i {color:#aaa;font-style:normal;font-size:12px;float:right;}
div#main.ord div.prevordini div.box dl {display:none;}
div#main.ord div.prevordini div.box table {border-collapse:collapse;margin:10px 0;}
div#main.ord div.prevordini div.box table td {border:1px solid #000;padding:2px 10px;text-align:right;}
div#main.ord div.prevordini div.box table th {border:1px solid #000;padding:2px 10px;background:rgba(0,0,0,0.2);}
div#main.ord div.prevordini div.box ul.prevordine_opts {list-style:none;padding:0;margin:4px 0px 4px 16px;}
div#main.ord div.prevordini div.box ul.prevordine_opts li {border-bottom:1px dotted #000;}
div#main.ord div.prevordini div.box ul li span.prezzo {float:right;}
div#main.ord div.prevordini div.box ul li span.prezzo.bold {float:right;font-weight:bold;}
div#main.ord div.prevordini div.box ul li.totalprice {background:rgba(255,255,255,0.66);}
div#main.ord div.prevordini div.box div.prevordine_note {border-left:10px solid #cf0;background:#fff;padding:4px;margin:4px 0;box-shadow:2px 2px 10px #000;}
div#main.ord div.prevordini div.box div.prevordine_note i {float:none;}
div#main.ord div.prevordini div.box span {white-space:nowrap;}
div#main.ord div.prevordini div.box a.btn_edit {float:right;border:1px solid #aaa;border-radius:4px; white-space:nowrap;background:#eee url("../images/ico_edit.gif") no-repeat right center;text-align:right;padding:2px 20px 2px 2px;color:#333;font-weight:bold;text-decoration:none;}
div#main.ord div.prevordini div.box a.btn_view {float:right;border:1px solid #aaa;border-radius:4px; white-space:nowrap;background:#eee;text-align:center;padding:2px 2px 2px 2px;color:#333;font-weight:bold;text-decoration:none;} 
div#main.ord div.prevordini div.box a.btn_edit:hover, div#main.ord div.prevordini div.box a.btn_view:hover {background-color:#fff;}
div#main.ord div.prevordini div.box.draft {background:#fed;display:block;}
div#main.ord div.prevordini div.box.review {background:#fc6;display:block;}
div#main.ord div.prevordini div.box.pending {background:#ecc;display:block;}

div#main.ord ul.filter_status {list-style:none;margin:10px 0;padding:0;}
div#main.ord ul.filter_groupby {list-style:none;margin:10px 0;padding:0;}
div#main.ord table.dashboard {border-collapse:collapse;font-size:14px;width:100%;}
div#main.ord table.dashboard a.photo {width:16px;height:16px;margin:0 2px;padding:0;border:none;}
div#main.ord table.dashboard button.multiaccept {border:none;outline:none;cursor:pointer;float:right;background:#036;color:#fff;border-radius:4px;font-size:12px;}
div#main.ord table.dashboard tr {cursor:pointer;}
div#main.ord table.dashboard tr:hover {background:#eee;}
div#main.ord table.dashboard tr td {border:1px solid #ccc;}
/*div#main.ord table.dashboard tr td.hidden {display:none;}*/
div#main.ord table.dashboard tr td ul {margin:0;}
div#main.ord table.dashboard tr td.chk {text-align:center;}
div#main.ord table.dashboard tr td.chk:hover {background:#ccc;}
div#main.ord table.dashboard tr td.chk input {pointer-events:none;}
div#main.ord table.dashboard tr td.alignright {text-align:right;}
div#main.ord table.dashboard tr td.aligncenter {text-align:center;}
div#main.ord table.dashboard tr td.draft {background:#fed;}
div#main.ord table.dashboard tr td.review {background:#fc6;}
div#main.ord table.dashboard tr td.pending {background:#ecc;}
div#main.ord table.dashboard tr td.processed {background:#dfd;}
div#main.ord table.dashboard tr.hd {cursor:normal;background:#def;}
div#main.ord table.dashboard tr.hd:hover {cursor:normal;background:#def;}
div#main.ord table.dashboard tr.hd td {text-align:center;font-weight:bold;}
div#main.ord table.dashboard tr.hd td small {display:block;}
div#main.ord table.dashboard tr.hd td.gby {cursor:normal;background:#fff;text-align:left;color:#036;border:none;padding-top:10px;}
div#main.ord table.dashboard td.photo {text-align:center;width:20px;background:#ddd url("../images/ico_photo.png") no-repeat center center;cursor:zoom-in;}
div#main.ord table.dashboard td.photo:hover {background-color:#aaa;}

div#main.ord form#acceptedsform span.dtwarn {display:inline-block; background:#f00; color:#fff; padding:0 4px;font-size:12px;border-radius:4px;margin:4px 0;} 
div#main.ord table.viewprocessed {border-collapse:collapse;width:100%;font-size:13px;user-select:none;}
div#main.ord table.viewprocessed td {border:1px solid #ccc;}
div#main.ord table.viewprocessed td.nowrap {white-space:nowrap;}
div#main.ord table.viewprocessed td.leader {font-weight:bold;}
div#main.ord table.viewprocessed td.processed_status_col {min-width:120px;}
div#main.ord table.viewprocessed tr:hover {background:#ddeeffaa;}
div#main.ord table.viewprocessed tr.sep {background: linear-gradient(to bottom,  #ffffff 0%,#eeeeee 100%); vertical-align:bottom;}
div#main.ord table.viewprocessed tr.sep td {height:24px;border:none;padding:0;}
div#main.ord table.viewprocessed tr.sep span {display:inline-block;border:1px solid #fc6;background:#ffc;border-radius:8px 8px 0 0;border-bottom:none;margin-left:4px;padding:0 10px;color:#a60;}
div#main.ord table.viewprocessed tr button.btn_editstatus {display:none;border:none;outline:none;float:right; background:#06c url('../images/ico_edit.gif') no-repeat center top; width:20px; height:16px; padding:0; border-radius:6px; cursor:pointer;}
div#main.ord table.viewprocessed tr:hover button.btn_editstatus {display:inline-block;}
div#main.ord table.viewprocessed b.notebadge {display:inline-block;padding:0 10px;font-weight:bold;background:#cf0;border:1px solid #000;border-radius:4px;line-height:12px;font-size:12px;cursor:pointer;}
div#main.ord table.viewprocessed div.accept_dt {font-size:10px;line-height:10px;}
div#main.ord table.viewprocessed div.accept_dt b.legal_dt {background:#acd;padding:0 10px 0 0;border-radius:8px;}
div#main.ord ul.processed_userselect {list-style:none;margin:10px 0;padding:0;}
div#main.ord ul.processed_userselect li {height:20px;border-bottom:1px dotted #ccc;padding:4px 0;}
div#main.ord ul.processed_userselect li.defaults {background:#f0f2f4;}
div#main.ord ul.processed_userselect li a {display:block; color:#333;}
div#main.ord ul.processed_userselect li a:hover {background:#def;}
div#main.ord div.userdata_for_admin {background:#ffc;border:1px solid #fc6;overflow:auto;padding:10px;font-size:13px;margin-bottom:10px;}

div#main.ord b.tblavailability {display:inline-block;width:16px;height:16px;background-color:transparent;background-position:center center;background-size:cover;background-repeat:no-repeat;background-image:none;}
div#main.ord b.availability {display:inline-block;float:right;width:80px;height:auto;background-color:#fff;border-radius:6px;background-position:center top;background-size:32px;background-repeat:no-repeat;background-image:none;font-weight:normal;text-align:center;padding-top:32px;box-shadow:0px 0px 5px #ccc;font-size:11px;margin-top:-42px;margin-bottom:6px;}
div#main.ord b.ava1 {background-image:url("../images/ico_availability1.png"); } 
div#main.ord b.ava2 {background-image:url("../images/ico_availability2.png");}
div#main.ord b.ava3 {background-image:url("../images/ico_availability3.png");}


div#main.ord div.ord_noteold {font-size:12px;}
div#main.ord div.ord_noteold i {font-style:normal;color:#06c;padding-right:4px;}
div#main.ord div.ord_noteold i:before {content:"";display:block;border-top:1px dotted #06c;margin-top:4px;}
div#main.ord textarea[name=note] {resize:none;width:70%;}
div#main.ord fieldset[disabled] textarea[name=note] {opacity:0;}
div#main.ord textarea[name=noteold] {display:none;} /*block;width:90%;border:1px solid red;opacity:0.5;}*/
							
/*dhtmlx message*/
.dhtmlx-shield{ min-width:32px !important; min-height:132px !important; width:132px !important; height:32px !important; font-weight:bold !important; background:#fff url("../js/ajax_loader.gif") no-repeat center center !important; }
.dhtmlx-rgmodalprodotto {width:600px !important;}
.dhtmlx-rgmodalprodotto div.dhtmlx_popup_title {overflow:hidden !important;}
.dhtmlx-rgmodalphotos {width:600px !important;}
.dhtmlx-rgmodalphotos div.dhtmlx_popup_title {overflow:hidden !important;}
.dhtmlx-rgmodaltargets {width:600px !important;}
.dhtmlx-rgmodaltargets div.dhtmlx_popup_title {overflow:hidden !important;}
.dhtmlx-rgmodaltargets ol {background:#fff;text-align:left;max-height:200px;overflow:auto;}
.dhtmlx-rgmodaltargets ol li.insertbyuserdetails {color:#06c;}
.dhtmlx-rgmodaltargets ol li.nomail {color:#f00;}
.dhtmlx-rgmodaltargets ol li.nomail:after { content:"???"; }
.dhtmlx-confirm-removephoto img {max-width:400px;max-height:200px;margin-top:10px;margin-left:50%;transform:translateX(-50%);}
.dhtmlx-ordmodalphoto .dhtmlx_popup_title {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;padding-left:10px !important;padding-right:10px !important;}
.dhtmlx-ordmodalphoto .dhtmlx_popup_text span {display:inline-block;width:auto !important;height:480px !important;padding-left:0px !important;padding-right:0px !important;margin-left:0px !important;margin-right:0px !important;text-align:center;}
.dhtmlx-ordmodalphoto .dhtmlx_popup_text span img {max-height:480px !important;}
.dhtmlx-ordmodalprocessed {top:50% !important; transform:translateY(-50%); height:90% !important;}
.dhtmlx-ordmodalprocessed .dhtmlx_popup_text {overflow:auto;height:calc(100% - 36px) !important; padding:0px !important;margin:0px !important;text-align:center;}
.dhtmlx-ordmodalprocessed .dhtmlx_popup_controls {position:absolute;bottom:0;width:100%;height:36px !important;}
.dhtmlx-ordmodalprocessed ul { margin:0;padding:0;list-style:none;font-size:13px;text-align:left;} 
.dhtmlx-ordmodalprocessed ul li h3 {background:#06c;color:#fff;font-size:12px;user-select:none;line-height:16px;margin:0 0 2px 0;padding:2px;cursor:pointer;}
.dhtmlx-ordmodalprocessed ul li h3 strong.price {float:right;font-size:14px;font-weight:bold;line-height:12px;margin-top:2px;}
.dhtmlx-ordmodalprocessed ul li h3 span.currency {font-size:80%;font-weight:bold;color:#449;margin-right:6px;}
.dhtmlx-ordmodalprocessed ul li h3 span.currency.floatright {float:right;}
.dhtmlx-ordmodalprocessed ul li h3 a.photo {display:inline-block;text-align:right;width:16px;height:16px;background:url("../images/ico_photo.png") no-repeat center center;cursor:zoom-in;}
.dhtmlx-ordmodalpendingasuser {top:50% !important; transform:translateY(-50%); height:90% !important;}
.dhtmlx-ordmodalpendingasuser .dhtmlx_popup_text {overflow:auto;height:calc(100% - 36px) !important; padding:0px 10px 0px 10px !important;margin:0px !important;text-align:left;}
.dhtmlx-ordmodalpendingasuser .dhtmlx_popup_text input {cursor:pointer;}
.dhtmlx-ordmodalpendingasuser .dhtmlx_popup_controls {position:absolute;bottom:0;width:100%;height:36px !important;}
.dhtmlx-ordmodalpendingasuser ul { margin:0;padding:0 0 10px 0;list-style:none;font-size:13px;text-align:left;}
.dhtmlx-ordmodalpendingasuser .dhtmlx_popup_controls a.asuser_sendbtn {display:inline-block;cursor:pointer;background:#f40;border:none;border-radius:6px;color:#fff;padding:4px 20px;font-weight:bold;height:20px;line-height:20px;filter:drop-shadow(0px 0px 4px #666);font-size:14px;letter-spacing:0;user-select:none;}
.dhtmlx-ordlargealert {width:720px !important;} 
.dhtmlx-ordlargealert .dhtmlx_popup_text {text-align:left;}
.dhtmlx-ordlargealert .dhtmlx_popup_text i {color:#06c;}
.dhtmlx-ordmodalacceptconfirm {width:720px !important;}
.dhtmlx-ordmodalacceptconfirm .dhtmlx_popup_controls .dhtmlx_popup_button div {padding-left:10px;padding-right:10px;}
.dhtmlx-ordmodalacceptconfirm .dhtmlx_popup_controls .dhtmlx_popup_button:nth-child(2) div {background:#fff;color:#333;}

/*.dhtmlx-ordmodalpendingasuser .dhtmlx_popup_controls*/  


/*div.processed {display:block;word-break:break-word;width:680px;height:540px;overflow-y:auto;background:#fff;text-align:left;}
div.processed ul {margin:0;padding:0;list-style:none;font-size:13px;}
div.processed ul li h3 {background:#06c;color:#fff;font-size:12px;user-select:none;line-height:16px;margin:0 0 2px 0;padding:0 2px;}
div.processed strong.price {float:right;font-size:14px;font-weight:bold;line-height:12px;margin-top:2px;}
div.processed span.currency {font-size:80%;font-weight:bold;color:#449;margin-right:6px;}
div.processed span.currency.floatright {float:right;}
div.processed ul li h3 span.currency {color:#fff;}
div.processed ul li div {display:none;margin-bottom:10px;}
div.processed ul li div i {color:#aaa;font-style:normal;font-size:12px;float:right;}
div.processed a.photo {display:inline-block;width:16px;height:16px;background:url("../images/ico_photo.png") no-repeat right center;cursor:zoom-in;}
div.processed ul li dl {border-bottom:1px dotted #000;}*/




			







