/*__________________________________________________Universal
Universal
*/

body {
	background-color: #F0F0F0;
	/*background-image:url('../images/bg.png');*/
	background-repeat:repeat;
	font-size: 100%;
	color: #000;
	font-family: Arial, Helvetica, sans-serif;
  width: 1180px;
  margin-left: auto;
  margin-right: auto;
	}
.right-help
{
  /*clear:both;
  position: relative;*/
  float: right;
  /*top:32px;
  left:315px;*/
  width: 300px;
  margin-top: 30px;
}	
.left {
  clear: both;
	float: left;
	}
	
.right {
  clear: both;
	float: right;
	}
	
.clear {
	clear: both;
	}
	
input, textarea {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	background: transparent;
	font-family: Arial, Helvetica, sans-serif;
	}
	
p, input {
	font-size: 1em;
	padding: 2px 0;
	}

textarea {
	display: block;
	background: #ffecdf;
	}
	
input {
	background: #ffecdf;
	}
	
input:hover, textarea:hover {
	background: #FFFFCC;
	}
	
input:focus, textarea:focus {
	border: 1px solid #666;
	}

.price:hover {
	background: #FFF;
	}

.price:focus {
	border: none;
	}

.button {
	display: inline;
	padding: 4px 8px; 
	background: url(../images/button-bg.png) repeat-x; 
	color: #666;
    border: 1px solid #ccc; 
    font: bold .95em Helvetica; 
    text-decoration: none;
    }
    
.button:hover { 
	 color: #333;
	 border: 1px solid #666;
	 background: url(../images/button-bg.png) repeat-x; 
	}
	
.button:active {
	background: url(../images/button-bg.png) repeat-x; 
	background-position: bottom left;
	}
	
/*__________________________________________________Head
Head
*/

#head {
	margin: 0 auto;
	padding-top: 10px;
	margin-bottom: 20px;
	width: 864px;
	}
	
h1 {
	padding-bottom: 10px;
	color: #000;
	font-weight: normal;
	font-size: 2em;
	}

#about-head {
	margin-bottom: 22px;
	}
	
h3 {
	color: #333;
	font-size: 1.4em;
	display: inline;
	}
	
#about, #how-to {
	padding: 5px;
	background: #EEE;
	color: #333;
	border: 1px solid #666;
	}
	
#about p, #how-to p {
	padding-bottom: 8px;
	}

strong {
	font-weight: bold;
	}	

/*__________________________________________________Banner Ad
Banner AD
*/

#banner-ad {
	margin-bottom: 20px;
}

/*__________________________________________________Actions
Actions
*/

#actions {
  vertical-align: top;
	margin: 0 auto;
	padding-top: 10px;
	margin-bottom: -20px;
	width: 866px;
  position: relative;
	}

/*__________________________________________________Main
Main
*/

#main {
  clear:both;
	float: left;
	margin: 30px auto;
	padding: 32px;
	width: 800px;
	height: 1040px;
	background: #FFF;
	border: 1px solid #808080;
	}
	
/*__________________________________________________Invoice
Invoice
*/

#invHeader {
	padding-bottom: 16px;
	margin-bottom: 16px;
	border-bottom: 1px solid #CCC;
	}
	
#headLeft {
  clear:both;
	float: left;
	width: 392px;
	border-bottom: 1px solid #CCC;
	}

#headLeft h1 {
	font-size: 2em;
	font-weight: bold;
	padding-bottom: 16px;
	color: #000;
	}
	
#headLeft p, #headRight p {
	font-weight: bold;
	font-size: .85em;
	}
	
#headLeft div {
	padding: 4px;
	border-top: 1px solid #CCC;
	border-left: 1px solid #CCC;
	border-right: 1px solid #CCC;
	}
	
#headLeft textarea {
	font-size: 1.2em;
	text-align: left;
	width: 100%;
	height: 96px;
	}
	
#headRight {
	margin-top: 48px;
	margin-left: 12px;
	float: left;
	width: 392px;
	}
	
#headRightRight div {
	border-bottom: 1px solid #CCC;
	border-left: 1px solid #CCC;
	border-right: 1px solid #CCC;
	padding: 0 4px;
	}
	
#headRightLeft div {
	border-bottom: 1px solid #CCC;
	border-left: 1px solid #CCC;
	padding: 0 4px;
	}
	
#headRight input {
	margin-bottom: 8px;
	width: 100%;
	display: block;
	}
	
#headRightLeft {
	border-top: 1px solid #CCC;
	float: left;
	width: 192px;
	}
	
#headRightRight {
	border-top: 1px solid #CCC;
	float: left;
	width: 192px;
	}

#headRight textarea {
	font-size: 1em;
	text-align: left;
	width: 100%;
	height: 72px;
	}
	
table {
	width: 800px;
	}
	
table { border-collapse: collapse; }
table td, table th { padding: 5px; }

table th {
	text-align: left;
	font-weight: bold;
	border-bottom: 1px solid #CCC;
	}
	
table th input {
	font-weight: bold;
	display: inline;
	width: 32px;
	}
	
table tr td input {
	width: 100%;
	}
	
table tr td textarea {
	margin-top: -16px;
	width: 100%;
	height: 24px;
	font-size: 1em;
	}

.item-name {
	width: 352px;
	}


.hsNo {
	width: 96px;
}

.weight {
	width: 96px;
	}
	
.qty {
	width: 64px;
	}

.cost {
	width: 96px;
	}

.price {
	width: 96px;
	}

.delete-wpr input {
	display: inline;
	width: 432px;
	}
	
.delete {
	text-decoration: none;
	font-weight: bold;
	color: red;
	padding-right: 3px;
	margin-right: 3px;
	margin-left: -19px;
	border-right: 1px solid #000;
	}

#addrow {
	text-decoration: none;
	color: green;
	}
.total-line,  .total-weight, .total-qty, .total-value {
	font-weight: bold;
	}
	
.sub-total {
	background: #DDD;
	}
	
#signature {
	margin-top: 32px;
	}

@media print {
  /*body * {
    visibility: hidden;
    width: 866px;
  }
  #main, #main * {
    visibility: visible;
  } */
  body 
  {
    width: 866px;
  }
  .right-help
  {
    width: 0px;
    visibility: hidden;
  }
  /*#main {
    position: absolute;
    left: 0;
    top: 0;
  }*/
}