/* -------------------------------------------------------------- 
  
 Hartija Css Print  Framework
   * Version:   0.8 (2008-03-10)
   
   Customize version for curdbee invoice by Vesess
	 
-------------------------------------------------------------- */

body { 
width:100% !important;
margin:0 !important;
padding:0 !important;
line-height: 1.4;
word-spacing:1.1pt;
letter-spacing:0.2pt; font-family: Arial, Helvetica, sans-serif; color: #333; background: none; font-size: 9pt; }

/*Headings */
h1,h2,h3,h4,h5,h6 { font-family: Helvetica, Arial, sans-serif; }
h1{font-size:19pt;}
h2{font-size:17pt;}
h3{font-size:15pt;}
h4,h5,h6{font-size:12pt;}

code { font: 10pt Courier, monospace; } 
blockquote { margin: 1.3em; padding: 1em;  font-size: 10pt; }
hr { background-color: #ccc; }

/* Images */
a img { border: none; }

/* Links */
/* a:link, a:visited { background: transparent; font-weight: 700; text-decoration: none; color:#333; }
 */
/* a:link[href^="http://"]:after, a[href^="http://"]:visited:after { content: " (" attr(href) ") "; font-size: 90%; }
 */
/* a[href^="http://"] {color:#333; }
 */

/* Table */
table { margin: 1px; text-align:left; }
th { border-bottom: 1px solid #333;  font-weight: bold; }
td { border-bottom: 1px solid #333; }
th,td { padding: 4px 10px 4px 0; }
tfoot { font-style: italic; }
caption { background: #fff; margin-bottom:2em; text-align:left; }
thead {display: table-header-group;}
tr {page-break-inside: avoid;} 

/*hide various parts from the site */
#footer { display: none; } 



div#wrapper { margin: 0 10px 20px; }
div.box_note { width: 610px; }
div.box { padding: 7px 10px; border: 1px solid #CCC; }
div.box_note h4 { margin: 5px 0; font-size: 90%; color: #333; font-weight: normal; }
div#vendor_ddress p { color: #000; }
body#statements div#maincontent h3 { margin-bottom: 0; padding-bottom: 10px; font-size: 200%; }

/* Table styles */
table { margin: 0 0 20px 0; border-collapse: collapse; width: 610px; }
	table table { margin: 0; }
	table table td { padding: 0 5px 5px 0; }
	table .theader { border-top: 2px solid #DDD; border-bottom: none; }

	div#maincontent table.cool td.plain { border-bottom: none; }
	div#maincontent table.cool tr.line_item td { border-top: 1px solid #C8C8C8; }
	div#maincontent table.cool th { font-weight: bold; color: #333; border-bottom: none; background-color: #F0F0F0; }

table.wide { width: 650px; }
table.row { }
table.row th { padding: 5px 0; color: #333; }
table.row td { padding: 5px 2px; border-bottom: 1px solid #F1F1F1; }

table td.label { font-weight: bold; width: 150px; }
table th { font-weight: bold; text-align: left; color: #009900; border-bottom: #CCC 2px solid; }
	div#maincontent table th a { color: #009900; }
table th, table td { padding: 5px 10px; text-align: left; vertical-align: top; }
	table th.last, table td.last { text-align: right; }
	table td.section_title { width: 100px;}
div#vtable td { border-bottom: #EEE 1px solid; }
table td.plain { border-bottom: none; }
	table.plain th, table.plain td { border: none; }
	table tr.alt { background-color: #F9F9F9; }
	table td.cool, table tr.alt td.cool, table tr.cool td { background-color: #CF9; }
	table td.uncool, table tr.alt td.uncool, table tr.uncool td { background-color: #DDD; }

	th.invoice_date { width: 80px; }
	th.invoice_no { width: 70px; }
	th.client_name { width: 180px; }
	th.past_due { width: 80px; }
	th.past_due { width: 80px; }

	table th.action { width: 50px; }
	table th.item { padding:5px 10px; width:90px; }
	table th.description {  padding:10px 20px 10px 10px; width:300px; }
	table th.unit_price { padding:5px 10px; width:127px; }
	table th.total_money { width: 85px; padding:5px 10px; }
	div#maincontent table th.quantity { padding-left:10px; width:30px; }
	table.row td.description  { padding:10px 20px 10px 10px; width:300px; }
	
	table#line_items td.item { padding:10px; width:90px; }
	table td.align_right, table th.align_right { text-align:right; }
	table#line_items td.unit_price { padding:10px; }
	table#line_items td.quantity { padding:10px; }
	table#line_items td.total_money { padding:10px; }
	table#line_items th.quantity { padding:5px 10px; }
  	tr#sub_total_row td.plain, tr#final_total_row td { border:medium none; }
  	tr#sub_total_row td { border-top: 2px solid #DDDDDD; }
  	tr#final_total_row td.final_td  { border-bottom: 2px solid #DDDDDD; } 
  div#subcontent {display: none}
  
  #pay_summary { margin-top: 15px; float:right; width:330px; }
  tr#sub_total_row td, tr#discount_row td, tr#tax_row td, tr#final_total_row td { padding: 5px 0; }
  tr#sub_total_row td.empty_td, tr#discount_row td.empty_td, tr#tax_row td.empty_td, tr#final_total_row td.empty_td  { padding:5px 10px; }
  #pay_summary .last { width: 90px; }
  .pay_input { text-align:right; width:145px; }
  tr#final_total_row td { border-bottom:1px solid #F1F1F1; }
  
   
div#vendor_logo img { max-width:280px; }
table#line_items td.unit_price p { color:#999999; font-size:11px; margin:-4px 0 0; }
