body{margin:0; padding: 0;}
body,p,h1,h2,h3,h4,table,td,th,ul,ol,textarea,input{font-family:verdana,helvetica,arial,sans-serif; color:#000000; font-size:12px;}
img{vertical-align: bottom; border: 0;}
a{text-decoration: none; color: #1291d3;}
a:focus {outline: none;}
table{border-collapse: collapse;} th, td{padding: 0;}

.hidden{display: none;}

.invoice_bold{font-weight: bold;}
.invoice_center{text-align: center;}
.invoice_right{text-align: right;}
.invoice_small{font-size: 11px;}

.invoice{
    clear: both;
    width: 640px;
    margin: 0 auto 0 auto;
}
.invoice_logo{text-align: right; float: right; width: 320px; height: 68px;}
.invoice_title{float: left; width: 320px; height: 68px;}
.invoice_title_table td{font-size: 16px;}
.invoice_properties_block{float: left; width: 320px; margin: 25px 0 25px 0;}
.invoice_additional_block{font-size: 12px; float: left; width: 320px; margin: 0 0 10px 0;}
.invoice_additional_block_full{width: 640px;}
.invoice_properties_title{float: left; width: 320px; margin-bottom: 10px; font-weight: bold; text-align: center; text-transform: uppercase;}
.invoice_property_name{float: left; width: 320px; text-transform: uppercase; font-weight: bold;}
.invoice_property_title{float: left; width: 80px; font-weight: bold;}
.invoice_property_value{float: left; width: 220px; text-transform: uppercase;}
.invoice_property_title_wide{float: left; width: 320px; font-weight: bold;}
.invoice_property_value_wide{float: left; width: 320px; text-transform: uppercase;}
.invoice_details{clear: left; float: left; width: 640px;}
.invoice_details_table{width: 100%; border-right: 1px solid #666666; border-bottom: 1px solid #666666;}
.invoice_details_table td{padding: 1px; border-left: 1px solid #666666; border-top: 1px solid #666666;}
.invoice_note{clear: left; float: left; width: 640px; margin: 25px 0 25px 0; font-size: 16px;}
.invoice_detail_title{
    font-size: 11px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    height: 24px;
}
.invoice_detail_npk{font-size: 11px; width: 48px; text-align: center;}
.invoice_detail_name{font-size: 11px;}
.invoice_detail_value{font-size: 11px; width: 88px; text-align: right;}
.invoice_details_table .invoice_amount_title{text-transform: uppercase; font-weight: bold; padding-left: 6px;}
.invoice_amount{text-align: right; font-weight: bold;}
.invoice_details_table .invoice_discount_title{text-transform: uppercase; font-weight: bold; padding-left: 6px; background: #F0F0F0;}
.invoice_discount_value{text-align: right; background: #F0F0F0;}

.invoice_page_break{width: 100%; page-break-after: always;}
.invoice_print{margin-top: 50px;}
