/*__________________________________________________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;
	}
	
.left {
	float: left;
	}
	
.right {
	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: #E3FAFA;
	}
	
input {
	background: #E3FAFA;
	}
	
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: #333;
	font-weight: normal;
	font-size: 2em;
	}

#about-head {
	margin-bottom: 22px;
	}
	
h3 {
	color: #333;
	font-size: 1.4em;
	display: inline;
	}
	
#about h3 {
	font-size: 1.2em;
	font-weight: bold;
	display: block;
	margin-top: 10px;
	padding-bottom: 6px;
	}
	
#about, #how-to {
	background: #EEE;
	color: #333;
	border: 1px solid #666;
	padding: 20px;
	margin-top: 10px;
	}
	
#about p, #how-to p {
	padding-bottom: 8px;
	}

#about ul, #how-to ul {
	list-style-type: square;
	list-style-position: inside;
}

strong {
	font-weight: bold;
	}	

/*__________________________________________________Banner Ad
Banner AD
*/

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

/*__________________________________________________Actions
Actions
*/

#actions {
	margin: 0 auto;
	padding-top: 10px;
	margin-bottom: -20px;
	width: 864px;
	}

/*__________________________________________________Main
Main
*/

#main {
	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 {
	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;
	position: relative;
	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;
	}
	
#headRight select {
	margin-bottom: 8px;
	width: 100%;
	display: block;
	background-color: #E3FAFA;
	}

#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;
	}