td.cat {
    padding-top: 2px;
    padding-bottom: 2px;
    font-family: Arial;
    font-weight: bold;
    color: #800000
}

td.goods {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 2px;
    font-family: Arial;
}

textarea {
    font-family: Arial;
    font-size: 10pt;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

select {
    font-family: Arial;
    font-size: 10pt;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

input {
    font-family: Arial;
    font-size: 10pt;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

button {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

/*****************************************************************************/
body.home {
    width: 320px;
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10pt;
}

.pageheader {
    background: #742894;
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    font-weight: bold;
    color: #FFFFFF;
}

/*****************************************************************************/
a.pageindex {
    float: left;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border: #FF0000 1px solid;
}

a.pageindexfocus {
    float: left;
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 15px;
    padding-right: 15px;
    border: #FF0000 1px solid;
}

/*****************************************************************************/
.form {
    width: 320px;
}

.formleft {
    float: left;
    width: 120px;
    padding-bottom: 5px;
    height: 15px;
    overflow: hidden;
}

.formright {
    float: left;
    width: 200px;
    padding-bottom: 5px;
}

/*****************************************************************************/
.list {
    height: 250px;
    width: 100%;
    clear: both;
    border-top: 1px dotted #036;
    border-bottom: 1px dotted #036;
    overflow: auto;
}

.list_item {
    width: 100%;
    clear: both;
    border-bottom: 1px dotted #036;
    height: auto;
}

.list_item.title {
    width: 100%;
    font-weight: bold;
    height: auto;
    clear: both;
    background: #FFFFC0;
    padding-top: 5px;
    padding-bottom: 5px;
}

.list_item_content {
    overflow: hidden;
    width: 100%;
    height: auto;
    clear: both;
    padding-top: 5px;
    padding-bottom: 5px;
}

/*****************************************************************************/
.invoice_list_head {
    color: #FFFF00;
    font-weight: bold;
    font-size: 12pt;
    font-family: Verdana, Geneva, sans-serif;
    background: #800000;
    padding-top: 5px;
    padding-bottom: 5px;
}

.invoice_head {
    background: #004000;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #FFF;
    font-weight: bold;

}

.invoice_head_money {
    background: #008000;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #FFFF00;
    font-weight: bold;
    margin-bottom: 5px;
}

.invoice_head_import {
    background: #FFC0C0;
    padding-top: 5px;
    padding-bottom: 5px;
    color: #0000C0;
    font-weight: bold;
    margin-bottom: 5px;
}

.invoice_goodslist {
    width: 100%;
    clear: both;
    height: auto;
    overflow: auto;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: #FF0000 dotted 1px;
}

.invoice_goodslist_id {
    width: 0%;
    display: none;
}

.invoice_goodslist_name {
    width: 50%;
    float: left;
    text-align: left;
}

.invoice_goodslist_price {
    width: 20%;
    float: left;
    text-align: right;
}

.invoice_goodslist_quantity {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 15%;
    float: left;
    text-align: right;
    padding-right: 5px;
}

.invoice_goodslist_link {
    width: 15%;
    float: left;
    text-align: center;
    background: #FFC0C0;
}

td {
    padding: 3px;
}

.sumary {
    color: #400040;
    font-size: 10pt;
    font-family: Verdana, Geneva, sans-serif;
    background: #C0FFFF;
    padding-top: 5px;
    padding-bottom: 5px;
}

.item_head {
    padding-top: 15px;
    padding-bottom: 5px;
    font-weight: bold;
    border-top: #F00 dotted 1px;
}

.invoice_item_details {
    padding-top: 5px;
    padding-bottom: 5px;
    border-top: #F00 dotted 1px;
}