html {
    overflow: -moz-scrollbars-vertical;
    overflow: scroll;
}
.text_right {
    text-align: right !important;
}

.text_center {
    text-align: center;    
}

#flash_error {
    margin: 0 auto;
    font-weight: bold;
    color: red !important;
}

#flash_success {
    margin: 0 auto;
    font-weight: bold;
    color: green !important;
}

table.table thead .sorting,
table.table thead .sorting_asc,
table.table thead .sorting_desc,
table.table thead .sorting_asc_disabled,
table.table thead .sorting_desc_disabled {
cursor: pointer;
*cursor: hand;
}

table.table thead .sorting { background: url('/img/sort_both.png') no-repeat center right; }
table.table thead .sorting_asc { background: url('/img/sort_asc.png') no-repeat center right; }
table.table thead .sorting_desc { background: url('/img/sort_desc.png') no-repeat center right; }

table.table thead .sorting_asc_disabled { background: url('/img/sort_asc_disabled.png') no-repeat center right; }
table.table thead .sorting_desc_disabled { background: url('/img/sort_desc_disabled.png') no-repeat center right; }

.hidden {
    display: none;    
}

.btn-xlarge {
    padding: 18px 28px;
    font-size: 22px;
    line-height: normal;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

table.orderitems th:nth-child(3), 
table.orderitems th:nth-child(4),
table.orderitems th:nth-child(5) {
    text-align: center;
}

table.orderitems tr td:nth-child(3), 
table.orderitems tr td:nth-child(4),
table.orderitems tr td:nth-child(5) {
    text-align: center;
}



table.orderitems tr.r1 td{
    border-bottom: 0px;
}
table.orderitems tr.r2 td{
    border-top: 0px;
    padding-top: 0px;
}

table.orderitems input {
    width: 50px;
    border: 1px solid #CCC;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow:inset 0 0 0px #000;
    -moz-box-shadow:inset 0 0 0px #000;
    box-shadow:inset 0 0 0px #000;
    background: transparent;
    padding: 0px;
    margin: 0px;
    padding-bottom: 0;
    text-align: center;
}

table.orderitems textarea {
    width: 85%;
    height: 24px;
    border: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow:inset 0 0 0px #000;
    -moz-box-shadow:inset 0 0 0px #000;
    box-shadow:inset 0 0 0px #000;
    background: transparent;
    padding: 0px;
    margin: 3px;

}

.ordertotals {
    list-style: none;
    margin-left: 0px;
}

.ordertotals li {
}

span.order_total_label {
    text-align: left;
}

span.order_total_value {
    text-align: right;
    float: right;
    font-weight: bold;
}

.divider {
    border-top: 2px solid #888;    
    padding: 4px 0px 4px 0px;
}

.invoice_wrapper {
    border: 1px solid #EEE;    
    padding: 35px;
    width: 760px;
    margin: 0 auto;
    font-size: 14px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow:    3px 3px 5px 6px #ccc;
    -webkit-box-shadow: 3px 3px 5px 6px #ccc;
    box-shadow:         3px 3px 5px 6px #ccc;
}

.tbl_invoice_details {
    float: right;
}

.tbl_invoice_details tr td {
    text-align: right;
    margin: 0px;
    padding: 2px 5px 2px 5px;
    border: 1px solid #CCC;
}

.tbl_invoice_details tr td:first-child {
    padding-right: 5px;
}

.tbl_invoice_details tr td:nth-child(2) {
    font-weight: bold;
    padding-left: 20px;
}

.tbl_invoice_items {
    width: 100%;    
    text-align: left;
    font-size: 12px;
}

.tbl_invoice_items th {
    border: 1px solid #CCC;
    padding: 5px;
    background: #EEE;
}

.tbl_invoice_items tr td {
    padding: 5px;
}

.tbl_invoice_items th:nth-child(1), 
.tbl_invoice_items tr td:nth-child(1) {
    text-align: center;
}

.tbl_invoice_items th:nth-child(2), 
.tbl_invoice_items tr td:nth-child(2) {
    text-align: left;
}

.tbl_invoice_items th:nth-child(3), 
.tbl_invoice_items tr td:nth-child(3) {
    text-align: left;
}


.tbl_invoice_items th:nth-child(4), 
.tbl_invoice_items tr td:nth-child(4) {
    text-align: center;
}

.tbl_invoice_items th:nth-child(5), 
.tbl_invoice_items tr td:nth-child(5),
.tbl_invoice_items th:nth-child(6), 
.tbl_invoice_items tr td:nth-child(6),
.tbl_invoice_items th:nth-child(7), 
.tbl_invoice_items tr td:nth-child(7),
.tbl_invoice_items th:nth-child(8),
.tbl_invoice_items tr td:nth-child(8) {
    text-align: right;
}

.tbl_invoice_items tr:last-child td {
    font-weight: bold;
    font-style: italic;
}

.tbl_invoice_items tr:nth-child(2n+2) td {
    padding-top: 0px;
    padding-bottom: 5px;
    font-style: italic;
}

.tbl_invoice_totals {
    float: right;
}

.tbl_invoice_totals tr td {
    padding: 5px;
}

.tbl_invoice_totals tr td:nth-child(1){
    font-weight: bold;
}

#inv_header {
}

#inv_company {
    margin-bottom: 20px;
}

#inv_invoice_info {
    margin-bottom: 40px;
}

#inv_forwarder {
}

#inv_order_items {
}

#inv_oi_line {
    border: 1px solid #CCC;
    margin-bottom: 20px;
}

#inv_totals {
margin-bottom: 20px;
page-break-inside:avoid;
}

#inv_remarks {
margin-bottom: 20px;
}

.font_red {
	color: red;	
}

#tbl_outstandings_index th:nth-child(3),
#tbl_outstandings_index th:nth-child(4),
#tbl_outstandings_index tr td:nth-child(3),
#tbl_outstandings_index tr td:nth-child(4) {
	width: 125px; 
}

#tbl_outstandings_details th:nth-child(3),
#tbl_outstandings_details th:nth-child(4),
#tbl_outstandings_details th:nth-child(5),
#tbl_outstandings_details tr td:nth-child(3),
#tbl_outstandings_details tr td:nth-child(4), 
#tbl_outstandings_details tr td:nth-child(5) {
	width: 125px; 
	text-align: right;
}

.wide_report_wrapper {
    font-size: 14px;
    width: 100%;
}


table.dashboard_container_count tr td, 
table.dashboard_container_count th {
    text-align: center;
}

div.product_box {
    border: 1px solid #CCC;
    float: left;
    width: 165px;
    height: 200px;
    margin: 5px;
    padding: 5px;
    text-align: center;    
}

div.product_box img {
}

div.product_price {
    float: right;
    color: red;    
    text-align: right;
    font-weight: bold;
}

div.product_cbm {
    float: left;    
    text-align: right;
    font-weight: bold;
}

div.product_box.selected {
    border: 1px solid black;
    background: #CCC;
}

tr.tbl_category_seperator {
    background: #CECECE;    
    font-weight: bold;
    font-style: italic;
}

table.widedatatable thead {
    background: #FFF;    
}

tr.quotation_listview_totals {
    background: #CECECE;    
    font-weight: bold;
    font-style: italic;
}

div.quotation_listview_fixed {
    padding: 4px;
    background: #FFF;
    position: fixed;
}

table.quotation_listview {
    margin-top: 40px;    
}

table.quotation_listview textarea {
    border: 0px !important;
    margin: 0px;
    padding: 0px;
    width: 400px;
    text-align: left !important;
    background-color: transparent;
    resize: none;
    height: 40px;
    outline: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

table.quotation_listview textarea:hover {
    border: 0px !important;
}

span.db_info {
	font-size: 11px;
	margin: 0px;
	padding: 0px;
	line-height: 11px;
}

table.widedatatable th {
	white-space: nowrap;
	vertical-align: top;
}
