/*table.add-journal-entry-table tr th:first-child,
table.add-journal-entry-table tr td:first-child,
body:not(.admin-menu) form.node-type-account #edit-field-account-parent-nid-nid-wrapper,*/
form.node-type-account #edit-field-account-order-0-value-wrapper,
form.node-type-account #conditional-field-account-bank-detail fieldset,
form.node-type-bill .body-field-wrapper,
form.node-type-bill_paid .body-field-wrapper,
/*form.node-type-invoice .body-field-wrapper,*/
form.node-type-invoice_paid .body-field-wrapper,
/*form.node-type-invoice_item #edit-field-transaction-amount-0-value-wrapper,*/
form.node-type-bill #edit-field-transaction-amount-0-value-wrapper,
form.node-type-bill #edit-field-amount-before-tax-0-value-wrapper,
form.node-type-bill_paid #edit-field-transaction-amount-0-value-wrapper,
form.node-type-invoice #edit-field-transaction-amount-0-value-wrapper,
form.node-type-invoice_paid #edit-field-transaction-amount-0-value-wrapper,
form.node-type-po #edit-field-transaction-amount-0-value-wrapper,
form.node-type-ro_billed #edit-field-transaction-amount-0-value-wrapper,
form.node-type-ro_paid #edit-field-transaction-amount-0-value-wrapper,
form.node-type-do_paid #edit-field-transaction-amount-0-value-wrapper,
form.node-type-ds #edit-field-transaction-amount-0-value-wrapper,
form.node-type-payroll #edit-field-transaction-amount-0-value-wrapper,
.view-payroll-item table form.node-type-payroll_item #edit-field-payroll-0-nid-wrapper,
body [id*="edit-field-outstanding-amount"],
body [id*="edit-field-payment-status"],
body [id*="edit-field-payment-detail"],
body .field-field-payment-detail,
body:not(.admin-menu) form[class*="_balance"] table#field_transaction_entry_values,
/*form.node-type-invoice-tax.edit #edit-field-tax-nid-nid-wrapper,*/
form.node-type-bill-payment table.form-checkboxes tbody tr td label,
form.node-type-bill-payment #edit-field-transaction-amount-0-value-wrapper input#edit-field-transaction-amount-0-value,
form.node-type-bill-receipt #edit-field-transaction-amount-0-value-wrapper input#edit-field-transaction-amount-0-value,
form.node-type-bill-receipt .views-field-field-transaction-amount-value,
body.node-type-bill-receipt #content .field-field-bill,
body.node-type-bill-receipt #content .field-field-transaction-amount,
form.node-type-ro-payment table.form-checkboxes tbody tr td label,
form.node-type-ro_payment #edit-field-transaction-amount-0-value-wrapper input#edit-field-transaction-amount-0-value,
form.node-type-invoice-payment table.form-checkboxes tbody tr td label,
form.node-type-invoice_payment #edit-field-transaction-amount-0-value-wrapper input#edit-field-transaction-amount-0-value,
form.node-type-do-payment table.form-checkboxes tbody tr td label,
form.node-type-do_payment #edit-field-transaction-amount-0-value-wrapper input#edit-field-transaction-amount-0-value,
.modal-body form.node-type-account #edit-field-account-type-value-wrapper/*,
.modal-body form.node-type-account #edit-field-account-parent-nid-nid-wrapper*/ {
  display: none;
}

div.view-payment-detail tfoot tr td.view-footer.views-field.views-field-field-transaction-amount-value-1 {
  color: transparent;
}

/*.tab-content table {
  table-layout: fixed;
}*/

form#-accounting-fs-aj-form > div,
form#-accounting-fs-bs-form > div,
form#-accounting-fs-gl-form > div {
  display: flex;
  flex-wrap: wrap;
}

div.modal-body > form#-accounting-fs-bs-form > div,
div.modal-body > form#-accounting-fs-gl-form > div {
  display: inline !important;
}

div.modal-body > form#-accounting-fs-bs-form > div > div.container-inline-date,
div.modal-body > form#-accounting-fs-gl-form > div > div.container-inline-date {
  margin-bottom: 1em !important;
}


form#-accounting-fs-aj-form > div > .form-item,
form#-accounting-fs-bs-form > div > .form-item,
form#-accounting-fs-gl-form > div > .form-item  {
  margin-top: 0;
  margin-right: 1rem;
}

/*form#-accounting-fs-bs-form > div .container-inline-date .form-item .form-item {
  float: none;
}*/

form.node-type-account-transfer #edit-field-account-transfer-from-nid-nid-wrapper,
form.node-type-account-transfer #edit-field-account-transfer-rate-from-0-value-wrapper,
form.node-type-account-transfer #edit-field-transaction-amount-0-value-wrapper {
  width: 50%;
  float: left;
}

form.node-type-account-transfer #edit-field-account-transfer-from-nid-nid-wrapper label,
form.node-type-account-transfer #edit-field-account-transfer-from-nid-nid-wrapper select,
form.node-type-account-transfer #edit-field-account-transfer-rate-from-0-value-wrapper label,
form.node-type-account-transfer #edit-field-account-transfer-rate-from-0-value-wrapper input,
form.node-type-account-transfer #edit-field-transaction-amount-0-value-wrapper label,
form.node-type-account-transfer #edit-field-transaction-amount-0-value-wrapper input {
  clear: right;
  float: right;
  margin-right: 5px;
}

form.node-type-account-transfer #edit-field-account-transfer-to-nid-nid-wrapper,
form.node-type-account-transfer #edit-field-account-transfer-rate-to-0-value-wrapper,
form.node-type-account-transfer #edit-field-transferred-amount-0-value-wrapper {
  width: 50%;
  float: right;
}

form.node-type-account-transfer #edit-field-account-transfer-to-nid-nid-wrapper label,
form.node-type-account-transfer #edit-field-account-transfer-to-nid-nid-wrapper select,
form.node-type-account-transfer #edit-field-account-transfer-rate-to-0-value-wrapper label,
form.node-type-account-transfer #edit-field-account-transfer-rate-to-0-value-wrapper input,
form.node-type-account-transfer #edit-field-transferred-amount-0-value-wrapper label,
form.node-type-account-transfer #edit-field-transferred-amount-0-value-wrapper input {
  clear: left;
  float: left;
  margin-left: 5px;
}

/*#edit-field-account-transfer-rate-from-0-value-wrapper,
#edit-field-account-transfer-rate-to-0-value-wrapper {
  position: relative;
  top: -68px;
  margin-bottom: -68px;
  float: right;
}*/

form.node-type-account #edit-field-account-bank-value-wrapper,
form.node-type-account #edit-field-account-bank-detail-0-value-wrapper {
  clear: both;
}

table tr td form#node-form.node-type-account #edit-submit {
  /*float: right;*/
}

tr.view-footer-number.ppn .field,
tr.view-footer-number.ppn .field-items,
tr.view-footer-number.ppn .field-item {
  display: inline;
}

tr.view-footer-number.ppn .field-label {
  display: none;
}

tr.view-footer-number.ppn .more-links {
  float: right;
  margin-top: 2px;
}

/*table.add-journal-entry-table tbody tr:last-child td:first-child {
  display: block;
}*/

.view-income table .views-field-nothing span,
.view-expense table .views-field-nothing span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 200px;
}

.view-income table .views-field-nothing-1 span,
.view-expense table .views-field-nothing-1 span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 450px;
}

body:not(.admin-menu) #ahah .messages {
  display: none;
}

.view-journal table form input.form-text {
  width: 150px;
}

/*.view-journal table form #edit-field-account-nid-nid-wrapper.form-item,
.view-journal table form #edit-field-journal-of-nid-nid-wrapper.form-item {
  margin-right: 0;
}*/

.view-journal table form #edit-field-account-nid-nid-wrapper.form-item select,
.view-journal table form #edit-field-journal-of-nid-nid-wrapper.form-item select {
  width: 295px;
}

.view-journal table form .form-item .description {
  display: none;
}

.view-journal table form#node-form input#edit-submit {
  margin: 10px 0 5px 0;
}

.view-account-payable .views-field-phpcode,
.view-account-receivable .views-field-phpcode,
.view-account-payable .views-field-phpcode-1,
.view-account-receivable .views-field-phpcode-1 {
  text-align: right;
}

.view-account-payable .views-field-phpcode,
.view-account-receivable .views-field-phpcode {
  color: #00AE4D;
}

.view-account-payable .views-field-phpcode-1,
.view-account-receivable .views-field-phpcode-1 {
  color: #DD7777;
}

.view-account-payable .views-field-title a,
.view-account-receivable .views-field-title a,
.view-account-payable .views-field-nothing a,
.view-account-receivable .views-field-nothing a {
  display: block;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#journal-value-input .delete-journal {
  background: url("/sites/all/modules/field_permissions/images/field-permissions-status-off.png") no-repeat scroll center center rgba(0, 0, 0, 0);
  border: medium none;
  text-indent: -9999em;
  width: 16px;
  margin-bottom: 0;
}

/* add wahyu abd css for accounting/report/balance-sheet && accounting/report/income-statement */

table.balance-sheet,
table.income-statement {
  float: left;
  margin-bottom: 0;
  width: 355px;
}

body.no-sidebars table.balance-sheet,
body.no-sidebars table.income-statement {
  width: 465px;
}

@media screen and (min-width: 1250px) {
  table.balance-sheet,
  table.income-statement {
    width: 465px;
  }
}

table.income-statement.income {
  clear: left;
}

table.balance-sheet.asset,
table.income-statement.income {
  margin-right: 10px;
}

@media print {
  table.balance-sheet.asset,
  table.income-statement.income {
    margin-right: 0;
  }
  table.expandable a.nav.whole {
    width: 500px !important;
  }
  div.fs table {
    white-space: nowrap;
  }
  /*form#-accounting-fs-bs-form > div {
    justify-content: center;
    margin-bottom: 1rem;
  }*/
}

table.balance-sheet.liability,
table.balance-sheet.equity,
table.income-statement.expense {
  clear: right;
  float: right;
}

table.income-statement.sales,
body.no-sidebars table.income-statement.sales {
  clear: left;
  margin-bottom: 0;
  width: 100%;
}

/*table.balance-sheet.asset,
table.balance-sheet.liability {
  margin-bottom: 10px;
}*/

/*table.balance-sheet.equity {
  clear: left;
}

table.balance-sheet td a.account-name {
  overflow: hidden;
  padding-left: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 140px !important;
}*/

#-accounting-report-income-statement-page-form div .container-inline-date {
  clear: right;
  cursor: pointer;
  float: left;
  margin: 0 5px 0 0;
}

#edit-submit.form-submit.accounting-report-income-statement {
  margin-top: 20px;
}

table tr td form#node-form #edit-field-transaction-account-nid-0-nid-wrapper,
table tr td form#node-form #edit-field-stock-0-value-wrapper/*,
table tr td form#node-form #edit-field-average-cost-0-value-wrapper*/ {
  display: none;
}

/*table tr td form#node-form input.form-text {
  width: 117px;
}*/

table tr td form#node-form input.form-text.form-autocomplete {
  width: auto;
}

table.inventory-value th,
table.inventory-value td {
  white-space: nowrap;
}

form.node-type-journal #edit-field-journal-debit-0-value-wrapper,
form.node-type-journal #edit-field-journal-credit-0-value-wrapper {
  display: none;
}

/*body:not(.admin-menu) form#node-form.node-type-account #edit-field-account-type-value-wrapper {
  display: none;
}*/

form#node-form.node-type-account #edit-title-wrapper input.form-text {
  width: 260px;
}

form#node-form.node-type-account #edit-field-account-number-0-value-wrapper input.form-text {
  width: 130px;
}

form#node-form.node-type-account input#edit-submit {
  /*margin-top: 10px;*/
}

form.node-type-account #edit-field-account-payment-value-wrapper {
  clear: left;
}

/*table.inventory-value .reference a {
  display: block;
  width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}*/

/* add wahyu abd css for accounting/report/income-statement 

#-accounting-report-income-statement-page-form div div.container-inline-date {
  float: left;
}*/

#financial-formula,
#nett-worth,
#nett-profit {
  float: left;
  margin-top: 10px;
  text-align: center;
  width: 100%;
}

#financial-formula th,
#nett-profit th {
  text-align: center;
}

#nett-worth em {
  color: #888888;
  font-size: 18px;
  line-height: 24px;
  font-weight: bold;
  font-style: normal;
}

.table-transaction-load {
  padding: 0;
}

.table-transaction-load > span/*,
.table-transaction-load > div*/ {
  display: none;
}

.table-transaction-load > div {
  background: transparent url('/misc/throbber.gif') no-repeat center -18px;
}

td form.node-type-invoice_item #edit-field-invoice-0-nid-wrapper,
td form.node-type-bill_item #edit-field-bill-0-nid-wrapper {
  display: none;
}