@import url(md.css);
@import url(md_messages.css);

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
body {line-height:1; /*height:100%; margin:0;*/ }
table {border-collapse:separate;border-spacing:0;} 
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none; vertical-align:middle;}

/* typography.css */
body {font-size:85%;color:#222;background:#fff;font-family:Arial, Helvetica, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
h2 {font-size:2em;margin-bottom:0.2em;color:#ebb14d;}
h3 {font-size:1.5em;line-height:1;margin-bottom:0.2em;color:#ebb14d;}
h4 {font-size:1.2em;line-height:1.25;margin-bottom:0.2em;}
h5 {font-size:1em;font-weight:bold;margin-bottom:0.2em;}
h6 {font-size:1em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p {margin:0 0 1.5em;}
p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
a:focus, a:hover {color:#000;}
a {color:#009;text-decoration:none;}
blockquote {margin:1.5em;color:#666;font-style:italic;}
strong {font-weight:bold;}
pre {margin:1.5em 0;white-space:pre;}
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
li ul, li ol {margin:0 1.5em;}
ul, ol {margin:0 1.5em 1.5em 1.5em;}
ul {list-style-type:disc;}
ol {list-style-type:decimal;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}
th {font-weight:bold;}
thead th {background:#c3d9ff; }
th, td, caption {padding:1px 5px 1px 5px;}
tr.odd td {background:#F7F7F0; /* #f9f2f9; */}
tfoot {font-style:italic;}
caption {background:#eee;}

.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
.hide {display:none;}
.highlight {background:#ff0;}
.added {background:#060;color:#fff;}
.removed {background:#900;color:#fff;}
.top {margin-top:0;padding-top:0;}
.bottom {margin-bottom:0;padding-bottom:0;}

.alert { font-weight:bold; color:#dd0000;  }

.red { color:red; }

.num5 { width:5em; }

/* default table */
table { background-color:transparent; padding:0px 0px 0px 0px;}
tr { border: 0px; text-decoration:none; background-color:transparent; }
th { border: 0px; text-decoration:none; background-color:transparent; color:black; font-weight:bold; }
td { border: 0px; text-decoration:none; background-color:transparent; }

/* forms.css */
label {font-weight:bold;}
fieldset {padding:0.5em 0 0.5em 0; margin:0 0 1.5em 0; border:1px solid #aaaacc; border-radius:10px;}
legend {font-weight:bold;font-size:1.2em;}

input.text, input.title, textarea, select, input[type=file] {margin:0.25em 0;border:1px solid #bbb;}
input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
input.title {font-size:1.5em;}

.barrato { text-decoration: line-through; }

.p2em { padding: 2em; }
.p5em { padding: 5em; }

.label {font-weight:bold; padding-right: 1em; vertical-align: center;}

body { background-image: url(bkgstripe7.png); }

div.spacer10 { padding-left:10%; display:inline; }
div.spacer15{ padding-left:15%; display:inline; }
div.spacer20 { padding-left:20%; display:inline; }
div.spacer33 { padding-left:33%; display:inline; }
div.spacer50 { padding-left:50%; display:inline; }

#content { background: transparent; padding: 0px; margin: auto; }

#login table { border: 0px; background-color: transparent; padding: 6px 6px 6px 12px;	color:#4f6b72; }
#login td { border: 0px; background-color: transparent; padding: 6px 6px 6px 12px;	color:#4f6b72; }


input[type=text]  { color: #000;
                    font-size: 1em;
                    background: #fff url(formfield_bg.gif) repeat-x; 
                    padding: 2px;
                    margin: 0.25em 0;
                    border: 1px solid #b7b7b7; }

input[type=text].nopad  { color: #000;
                          font-size: 0.9em;
                          background: #fff url(formfield_bg.gif) repeat-x; 
                          padding: 0;
                          margin: 0em 0;
                          border: 1px solid #d7d7d7; } 
                     
input[type=password]  { color: #dd0000;
                        font-size: 1em;
                        background: #fff url(formfield_bg.gif) repeat-x; 
                        padding: 2px;
                        margin: 0.25em 0;
                        border: 1px solid #b7b7b7; } 

input.submit { background: #ccc url(submit_bg.gif) repeat-x;
               border:1px solid #acacac;
               border-bottom:1px solid #626262;
               border-right:1px solid #626262;
               font-size: 11px;
               color: #333;
               height: 23px;
               width: 100px;
               cursor: pointer;
               padding: 2px; } 

input.submit_filter { background: #ccc url(submit_filter_bg.gif) repeat-x;
                      border: 1px solid #acacac;
                      border-bottom:1px solid #626262;
                      border-right:1px solid #626262;
                      font-size: 11px;
                      color: #333;
                      height: 22px;
                      width: 80px;
                      cursor: pointer;
                      padding: 2px; } 

input.uploadFile { color:#dd0000;	background:#eeeeee;  border:1px solid #000000;
                   padding-right:5px;	padding-left:5px; width:420px; }

input.num8  { color: #000;
              font-size: 11px;
              background: #fff url(formfield_bg.gif) repeat-x; 
              padding: 3px;
              width: 60px;
              text-align: center; 
              border: 1px solid #b7b7b7; }			

input.num10  { color: #000;
               font-size: 11px;
               background: #fff url(formfield_bg.gif) repeat-x; 
               padding: 3px;
               width: 100px;
               text-align: center; 
               border: 1px solid #b7b7b7; }			

select { vertical-align:middle; }

div.inputblock { margin:0.5em 0; width:100%; }

.disabled { color:#DD0000; background: #cccccc; padding: 3px; border: 1px solid #b7b7b7; } 
.centered { margin:auto; } 
.hidden { display:none; }

.margbot5px { margin-bottom:5px; }
	   
.txtlogo { font-family: sans-serif; font-size: 4em; font-weight: bold; color: #499CD9; }
.txtlogo .dark { color: #090961; }

.listacat_manage { border: 1px solid #DCE5E5; position: absolute; left: 0px; top: 150px; width: 250px; padding: 3px; }

.none { background-color:transparent; border:0px; padding:0px; }

.clear {clear:both;}
.basso {height: 2px;}
.separatore{clear:both; border-top:1px solid #F2EFEA; height:1px; margin:0 5px 0 5px;}

div.data { text-align: center; font-weight: bold; color: #005b30; padding: 5px;  }

div.doprint { width: 200px; border: 2px solid red; background: #fb8e00; 
              font-weight: bold; font-size: 200%; padding: 10px; text-align: center; z-index: 1;  }
div.doclose { width: 200px; border: 2px solid red; background: #fb8e00; 
              font-weight: bold; font-size: 200%; padding: 10px; text-align: center; z-index: 1; }


/* dashboard */
#dashboard table { width:90%; background-color: transparent; padding: 6px 6px 6px 12px;}
#dashboard a { text-decoration:none; text-align: center; background-color: transparent; }
#dashboard tr { border:0px; text-decoration:none; text-align: center; 
                background-color: transparent; }
#dashboard td { border:0px; text-decoration:none; text-align: center; 
                background-color:transparent; }

/* userinfo */
/*#userinfo { height: 50px; background: #1D6893; margin: 0px; padding: 5px; border-bottom: 1px solid #bbbbbb; color: #BFE4FA; }*/
#userinfo { height:50px; background:#1D6893 url(header.png) repeat-x; margin: 0px; padding: 5px; border-bottom: 1px solid #bbbbbb; color: #BFE4FA; }
#userinfo #info { float:right; color:#eeeeee; }
#userinfo #logo { float:left; }
#userinfo span.title { font-size:18px; letter-spacing:3px; font-weight:bold; color:#ebb14d; }
#userinfo a { text-decoration:none; color:#fff300;}
#userinfo #info a { text-decoration:none; }

/* toolbar */
#usertoolbar { height: 16px; background: #ddd; margin: 0px; padding-left: 5px; padding-top: 2px; border-bottom: 1px solid #bbbbbb; }
#usertoolbar a { text-decoration: none; color: #895100;  margin-right: 20px; }
#usertoolbar img { vertical-align: middle; } 

/* pager */
.pager { font-size:11px; margin-bottom:5px; padding-top:10px; }
.pager a { border:1px solid #81A2C4; text-decoration:none; background-color:white; }
.pager .pager_current, .pager a { margin-bottom:3px; padding:2px 6px; }

/* griglia generica (documenti) */
.grid { background:#fefefe; border:1px solid #7F7F7F; border-collapse:collapse;
        font-family:Arial;  font-size:1em; }
.grid th { -moz-background-clip:border; -moz-background-inline-policy:continuous;
           -moz-background-origin:padding; background:transparent url(sprite.png) repeat-x scroll 0 0;
           border-color:#989898 #CBCBCB #989898 #989898;
           border-style:solid solid solid none;
           border-width:1px 1px 1px medium;
           color:#000008;
           padding:4px 5px 4px 10px;
           font-weight:bold;
           vertical-align:middle; }
.grid td { border-bottom:1px solid #d9cfb0; border-right:1px solid #CBCBCB; padding:2px 2px; }
.grid .odd { background-color:#eeeeee; }
.grid .trhighlight { background:#f0fcff; }
      

/* textarea */
.istanza { height:6em; width:100%; padding:0px; }


/* rounded border */
.roundborder { border:1px solid #999999; margin-top:0.5em; padding:1em; 
               -moz-border-radius:16px; border-radius:16px; } 

.bgcol_1 { background: #eeffee; }
.bgcol_2 { background: #eeeeee; }
.bgcol_3 { background: #ddeeff; }

/* buttons */
a.button { background: #ccc url(submit_bg.gif) repeat-x;
           border:1px solid #acacac;
           font-size:1em;
           text-decoration:none;
           padding:4px;
           color:#000000; } 

a.special_button { background: #ccc url(submit_bg.gif) repeat-x;
                   border:1px solid #acacac;
                   border-bottom:1px solid #333399;
                   border-right:1px solid #333399;
                   font-size:1.2em;
                   text-decoration:none;
                   padding:4px;
                   color:#3333bb; } 

.fieldset_search { 
/*   background:#F5F6F6; /* #F7F7F0;*/ 
   background: #f5f6f6 url(bkgfilter3.png) repeat-x;     
   border-radius:8px; -moz-border-radius:8px;
 } 

button {
	background-color:#f0f0f0; 
   background: #ccc url(submit_bg.gif) repeat-x;
	border-top:1px solid #e7e7e7;
	border-right:1px solid #a0a0a0;
	border-bottom:1px solid #a0a0a0;
	border-left:1px solid #e7e7e7;
	font-size:11px;
	padding:2px;
	margin-right:5px;
	height:25px;
	cursor:pointer;
	color:#000000;
   min-width:80px;
}
button:disabled {	color:#cccccc !important; }
button:hover {	color:#715100; }

img.inbutton { width:16px; height:16px; vertical-align:middle; }

.revadd { background:#dddeee none repeat scroll 0 0; }
table.prefs { background:#fcfcfc; border:1px solid #dddddd; padding:2px; }

/* dashboard */
.dashboard { margin:auto; overflow:hidden; }

.desklink { background:transparent; margin:28px; padding-right:300px; position:absolute; line-height:170px; }
a.btn128img { font-weight: bold; font-size: 9px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
 padding:70px 6px;
 border-top: 1px solid white;
 border-right: 1px solid black;
 border-bottom: 1px solid black;
 border-left: 1px solid white;
 text-align: center;
 min-width: 140px;
 text-transform: uppercase;
 background-color: #eeeeee;
 -moz-border-radius: 4px;
 border-radius: 4px;
 margin:8px;
}
a.btn128img:hover { border-color:#aaaaaa #cc0000 #cc0000 #aaaaaa; } 
a.btn128img:active { border-color:black white white black; text-decoration: none; }
img.btn128img { border:0px; } 

fieldset.filtro { background:#eeeeee; }
.input_form { background-color:#dfefef; border:1px solid; 
              border-color:#dddddd white white #dddddd; padding:10px; }
fieldset.procedura { background:#eeeeee; }
legend { margin-left:10px;  }
.little { font-size:70%; font-style:italic; }
.bottom_border { border-bottom: 1px dotted #cccccc; }

.bk1 { background-color: #ccffcc; }
.bk2 { background-color: #ccddff; }

.sel_multi { vertical-align:top; }
.inline { display:inline; }

.subtable { background-color: #eeeeee; border:1px solid #dddddd; }
.subtable td { border:1px solid #dddddd; }

/* tasti fluttuanti alto-dx */
#top_right {
 position:absolute;
 right: 120px;
 top: 63px;
 line-height: 1em;
 }

#top_right form {
  display:inline; 
}

table.assign {
 border:1px solid #aaaacc;
 background-color: #eeeeee;
 margin: 4px 0px 4px 0px; 
}

tr.border_bottom { border-bottom: 1px solid #000000; }

.little_info { font-size:75%; font-style:italic; }


.postit { width:286px; }

/* postit giallo */
/*
.postit { background:transparent url(post-it.png) no-repeat; width:286px; height:288px; border:0px solid #acacac; margin:5px; }
.postit_content { background:transparent; padding:120px 30px 10px 34px; text-align:justify; font-size:1em; font-family: arial, sans-serif; font-style:oblique; }
.postit_link { text-decoration:none; font-size:120%; color:#cc0000; font-weight:bold; }
*/
/* postit blu */
.postit { background:transparent url(post-it2.png) no-repeat; width:400px; height:204px; border:0px solid #acacac; margin:5px; }
.postit_content { background:transparent; padding:50px 55px 10px 24px; text-align:justify; font-size:1em; font-family: arial, sans-serif; font-style:oblique; }
.postit_link { text-decoration:none; font-size:120%; color:#cc0000; font-weight:bold; }


/* classe per dati del cliente */
.label_cli { color:#008800; }
/* classe per dati del fornitore */
.label_for { color:#880000; }


table.lista {
 border:1px solid #aaaacc;
 margin: 4px 0px 4px 0px; 
}

table.lista td {
 padding:4px;  
}

  
table.lista tr:nth-child(even) {
    background-color: #ccddff; 
}

table.lista tr:nth-child(odd) {
    background-color: #eeeeee;
}
