html, body {

	margin: 0px;

	padding: 0px;

	height: 100%;

	width: 100%;

}

body, td, button, input.button {

	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;

	font-size: 14px;

	color: #000000;

}

body {

	background-color: #FFFFFF;

}

form {

	margin: 0px;

	padding: 0px;

	display: inline;

}



#page {

	padding: 10px;

	background-image: url(../images/page-bg.jpg);

	background-repeat: repeat-x;

}

#logo {

	margin-bottom: 10px;

	padding-left: 8px;

}

#sheet {

	width: 1000px;  /* 908 */

	margin-right: auto;

	margin-left: auto;

	background-color: #C2E4FF;

}

#sheet .s1, #sheet .s4 {

	background-image: url(../images/sheet.jpg);

	background-repeat: repeat-y;	

}

#sheet .s2, #sheet .s5 {

	background-image: url(../images/sheet-f.jpg);

	background-repeat: no-repeat;

}

#sheet .s3, #sheet .s6 {

	background-image: url(../images/sheet-h.jpg);

	background-repeat: no-repeat;

}

#sheet .s1 {

	background-position: right top;

}

#sheet .s2 {

	background-position: right bottom;

}

#sheet .s3 {

	background-position: right top;

	padding-right: 20px;

}

#sheet .s4 {

	background-position: left top;

}

#sheet .s5{

	background-position: left bottom;

}

#sheet .s6 {

	padding-top: 20px;

	padding-left: 20px;

	padding-bottom: 40px;

	background-position: left top;

	/*min-height*/

 min-height:400px;

	height: auto !important;

	height: 400px;

}

.box {

	margin-top: 10px;

	width: 100%;

}

.box h1 {

	font-size: 150%;

	margin: 0px;

	background-position: 0px 7px;

	padding-left: 10px;

	padding-bottom: 2px;

}

.box h2 {

	font-size: 110%;

	margin: 0px;

	background-image: url(../images/dot.gif);

	background-repeat: no-repeat;

	background-position: 0px 7px;

	padding-left: 10px;

	padding-bottom: 2px;

}

.box  h2.nodot {

	background-image: none;

}

.box .b1, .box .b4 {

	background-image: url(../images/box.jpg);

	background-repeat: repeat-y;	

}

.box .b2, .box .b5 {

	background-image: url(../images/box-f.jpg);

	background-repeat: no-repeat;

}

.box .b3, .box .b6 {

	background-image: url(../images/box-h.jpg);

	background-repeat: no-repeat;

}

.box .b1 {

	background-position: right top;

	background-color: #FFFFFF;

}

.box .b2 {

	background-position: right bottom;

}

.box .b3 {

	background-position: right top;

	padding-right: 8px;

}

.box .b4 {

	background-position: left top;

}

.box .b5{

	background-position: left bottom;

}

.box .b6 {

	padding-top: 8px;

	padding-left: 8px;

	background-position: left top;

	padding-bottom: 8px;

}

.box2 .b1, .box2 .b4 {

	background-image: url(../images/box2.jpg);

}

.box2 .b2, .box2 .b5 {

	background-image: url(../images/box2-f.jpg);

}

.box2 .b3, .box2 .b6 {

	background-image: url(../images/box2-h.jpg);

}

.box .dati {

	width: 100%;

}

.box .dati tr.header td {

	border-bottom-width: 0px;

	border-bottom-style: none;

	color: #FFFFFF;

	font-weight: bold;

	border-top-width: 0px;

	border-top-style: none;

	height: 16px;

}

.box .dati tr:hover {

	background-color: #EEEEEE;

}

.box .dati tr.header:hover {

	background-color: transparent;

}

.box .dati2 tr:hover {

	background-color: #DDDDDD;

}

.box .dati2 tr.no:hover {

	background-color: transparent;

}

.box .dati td {

	padding-right: 6px;

	padding-left: 6px;

	border-bottom-width: 1px;

	border-bottom-style: solid;

	border-bottom-color: #CCCCCC;

	vertical-align: top;

	padding-top: 4px;

	padding-bottom: 4px;

}

.box .dati a {

	font-weight: bold;

	color: #F57220;

	text-decoration: underline;

}

.box .dati a:hover {

	color: #000000;

	text-decoration: none;

}

.box h3 {

	margin-top: 0px;

	font-size: 120%;

	font-weight: bold;

	color: #FFFFFF;

}

.box2 h3 {

	color: #000000;

	border-bottom-width: 1px;

	border-bottom-style: solid;

	border-bottom-color: #FFFFFF;

	padding-bottom: 4px;

}





#menu {

	background-image: url(../images/menu.jpg);

	background-repeat: no-repeat;

	padding-right: 8px;

	background-position: right top;

	margin-top: 10px;

}

#menu ul {

	margin: 0;

	list-style-type: none;

	text-align: center;

	background-image: url(../images/menu.jpg);

	height: 40px;

	background-position: left top;

	overflow: hidden;

	line-height: 40px;

	padding: 0;

}

#menu ul li {

	display: inline;

	border-right-width: 1px;

	border-right-style: solid;

	border-right-color: #FFFFFF;

}

#menu ul li.last {

	display: inline;

	border-right-style: none;

}

#menu ul li a {

	text-decoration: none;

	margin: 0;

	color: #ffffff;

	white-space: nowrap;

	padding-top: 1px;

	padding-right: 7px;

	padding-bottom: 1px;

	padding-left: 7px;

	font-weight: bold;

	font-size: 14px;

}

#menu ul li a:hover {

	text-decoration: none;

	margin: 0;

	color: #000000;

	padding-top: 0px;

	padding-right: 6px;

	padding-bottom: 0px;

	padding-left: 6px;

	background-color: #FFFFFF;

	border: 1px solid #7C9EEB;

}

#menu ul li button {

	text-decoration: none;

	margin: 0;

	color: #ffffff;

	white-space: nowrap;

	padding-top: 1px;

	padding-right: 5px;

	padding-bottom: 1px;

	padding-left: 5px;

	font-weight: bold;

	font-size: 14px;

	background-color: transparent;

	border-style: none;

	border-width: 0px;

	cursor: pointer;

	width:auto;

	overflow:visible;

	line-height: 12px;

}

#menu ul li button:hover {

	text-decoration: none;

	color: #000000;

	padding-top: 0px;

	padding-right: 4px;

	padding-bottom: 0px;

	padding-left: 4px;

	background-color: #FFFFFF;

	border: 1px solid #7C9EEB;

}

#menu ul li input.button  {

	text-decoration: none;

	margin: 0;

	color: #ffffff;

	white-space: nowrap;

	padding-top: 1px;

	padding-right: 5px;

	padding-bottom: 1px;

	padding-left: 5px;

	font-weight: bold;

	font-size: 14px;

	background-color: transparent;

	cursor: pointer;

	width:auto;

	overflow:visible;

	border-top-width: 0px;

	border-right-width: 0px;

	border-bottom-width: 0px;

	border-left-width: 0px;

	border-top-style: none;

	border-right-style: none;

	border-bottom-style: none;

	border-left-style: none;

}

#menu ul li input.button:hover  {

	text-decoration: none;

	color: #000000;

	background-color: #FFFFFF;

	border: 1px solid #7C9EEB;

	padding-top: 0px;

	padding-right: 4px;

	padding-bottom: 0px;

	padding-left: 4px;

}

#menu .invisible  {

	position: absolute;

	left: -100px;

	top: -100px;

}

#cerca {

}

#cerca td {

	vertical-align: middle;

}

#cerca   input.text {

	margin-right: 6px;

	margin-left: 6px;

	border: 1px solid #7C9EEB;

	width: 200px;

}

#cerca  input.bigtext {

	margin-right: 6px;

	margin-left: 6px;

	border: 1px solid #7C9EEB;

	width: 500px;

}

#cerca  input.smalltext {

	margin-right: 6px;

	margin-left: 6px;

	border: 1px solid #7C9EEB;

	width: 50px;

}



#cerca   select.text {

	margin-right: 6px;

	margin-left: 6px;

	background-color:#C2E4FF;

	width: 200px;

	border:1px solid black;

	font-weight: bold;

}



.i-stato {

	font-weight: bold;

	background-repeat: no-repeat;

	padding-left: 20px;

	display: block;

	height: 16px;

}

.i-nuovo {

	font-weight: bold;

	background-image: url(../images/icons/verde.gif);

	background-repeat: no-repeat;

	padding-left: 20px;

	display: block;

	height: 16px;

}

.i-sollecito {

	font-weight: bold;

	background-image: url(../images/icons/giallo.gif);

	background-repeat: no-repeat;

	padding-left: 20px;

	display: block;

	height: 16px;

}

.i-chiuso {

	font-weight: bold;

	background-image: url(../images/icons/rosso.gif);

	background-repeat: no-repeat;

	padding-left: 20px;

	display: block;

	height: 16px;

}

.clear {

	clear: both;

}

#login {

	background-image: url(/images/login.png);

	background-repeat: no-repeat;

	height: 350px;

	width: 455px;

	margin-right: auto;

	margin-left: auto;

	padding-top: 50px;

	margin-top: 80px;

	text-align:center;

}

#login .button {

	font-weight: bold;

	color: #FFFFFF;

	background-color: #F57220;

	border: 1px solid #FFFFFF;

	width: 80px;

	cursor: pointer;

}

#login .button:hover {

	color: #FFFFFF;

	background-color: #006699;

	border: 1px solid #FFFFFF;

}

#login input.text {

	border: 1px solid #7C9EEB;

}

.magnify:hover {
  font-size:150%;
}

.codice {
 width:90px;
 font-size:10px;
}

.um {
 width:30px;
}

.qta {
 width:30px;
 text-align:right;
}

.imponibile {
 width:60px;
 text-align:right;
}

.gras {
 font-weight:bold;
}

.numero {
 width:50px;
 text-align:right;
 background:#cecece;
 border:0px;
}

.descrizione {
 width:350px;
}

.totale {
 font-weight:bold;
 border:0px;
 background:transparent;
 width:50px;
 text-align:right;
}

.gran {
 font-size: 16px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Header */
.modal-header {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* Modal Body */
.modal-body {padding: 2px 16px;}

/* Modal Footer */
.modal-footer {
    padding: 2px 16px;
    background-color: #5cb85c;
    color: white;
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
	width: 80%;
	height:700px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.55);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top: -300px; opacity: 0} 
    to {top: 0; opacity: 1}
}

@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

/* The Close Button */
.close {
    color: #fff;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}