.emulatedBill {
 width: 1010px;
 padding: 10px;
 background: #fff;
 border: 1px solid #ccc;
}

.emulatedBill span.billTitle {
 display: block;
 float: left; 
 width: 505px;
 font-size: 22px;
 font-weight: bold;
}

.emulatedBill span.billCode {
 width: 505px;
 display: block;
 float: left; 
 text-align: right; 
}

.emulatedBill span.billCode b {
 font-size: 14px;
}

.emulatedBill table.billHeader {
 width: 1010px;
 border: 2px solid #000;
 border-collapse: collapse;
}

.emulatedBill table.billHeader td {
 width: 505px;
 padding: 1px;
 vertical-align: top;
}

.emulatedBill table.billHeader td.billHeader_right {
 border-left: 2px solid #000;
}

.emulatedBill table.billHeader td ul {
 margin-left: 20px;
}

.emulatedBill p.billSubject {
 margin-bottom: 6px;
 padding: 6px 0 6px 0;
 border-bottom: 2px solid #000;
}

.emulatedBill table.billPayInfo {
 width: 1010px;
 margin: 0 0 2px 0;
 padding: 0;
 border-bottom: 1px solid #000;
 border-collapse: collapse;
}

.emulatedBill table.billPayInfo td {
 width: 252px;
 padding: 0 0 6px 0;
 text-align: center;
}

.emulatedBill table.billItems {
 width: 1010px;
 margin: 0 0 20px 0;
 padding: 0;
 border-bottom: 1px solid #000;
 border-collapse: collapse;
}

.emulatedBill table.billItems tr.billItems_head {

}

.emulatedBill table.billItems tr.billItems_head {
 border: 2px solid #000;
}

.emulatedBill table.billItems tr.billItems_head td {
 padding: 1px;
 font-weight: bold;
}

.emulatedBill table.billItems td {
 padding: 2px 0 2px 0;
 border-bottom: 1px solid #000;
}

.emulatedBill table.billItems td.item_td1 {

}

.emulatedBill table.billItems td.item_td2 {
 text-align: center;
}

.emulatedBill table.billItems td.item_td3 {
 text-align: right;
}

.emulatedBill table.billItems td.item_td4 {
 text-align: right;
}

.emulatedBill table.billItems td.item_td5 {
 text-align: right;
}

.emulatedBill table.billItems td.item_td6 {
 text-align: right;
}

.emulatedBill table.billItems td.item_td7 {
 text-align: right;
}

.emulatedBill .billFooter {
 width: 1010px;
 margin-bottom: 10px;
 border: 2px solid #000;
}

.emulatedBill .billFooter .billFooter_left {
 width: 501px;
 padding: 2px;
 float: left;
}

.emulatedBill .billFooter .billFooter_left table.vatCodes {
 width: 450px;
 border-collapse: collapse;
}

.emulatedBill .billFooter .billFooter_left table.vatCodes tr.first_line td {
 padding-top: 10px;
}

.emulatedBill .billFooter .billFooter_left table.vatCodes td.vat_td1 {
 text-align: center;
}

.emulatedBill .billFooter .billFooter_left table.vatCodes td.vat_td2 {
 text-align: right;
}

.emulatedBill .billFooter .billFooter_left table.vatCodes td.vat_td3 {
 text-align: right;
}

.emulatedBill .billFooter .billFooter_left table.vatCodes tr.first_line td {
 border-bottom: 1px solid #000;
}

.emulatedBill .billFooter .billFooter_right {
 width: 499px;
 padding: 2px;
 border-left: 2px solid #000;
 float: left;
}

.emulatedBill .billFooter .billFooter_right table.prices {
 width: 500px;
 border-collapse: collapse;
}

.emulatedBill .billFooter .billFooter_right table.prices td {
 padding: 2px;
}

.emulatedBill .billFooter .billFooter_right table.prices td.prices_td1 {
 padding-left: 5px;
}

.emulatedBill .billFooter .billFooter_right table.prices td.prices_td2 {
 text-align: right;
}

.emulatedBill .signs {
 width: 700px;
 margin: 0 0 0 210px;
 padding-top: 100px;
}

.emulatedBill .signs .seller, .emulatedBill .signs .buyer {
 width: 200px;
 text-align: center;
 float: left;
}

.emulatedBill .signs p {
 display: block;
 width: 200px;
 border-top: 1px solid #000;
} 

.emulatedBill .signs .seller {
 margin-right: 200px;
}