[data-page="journal_entry_edit"][data-itemid="page_image_ash8f23hr"] {
  width: 400px;
}


/* ============================================================
   BuildLedger Journal Entry - Section CSS using Item IDs
   ============================================================ */

/* Section spacing */
[data-itemid="bl_je_document"],
[data-itemid="bl_je_description"],
[data-itemid="bl_je_currency"],
[data-itemid="bl_je_summary"],
[data-itemid="bl_je_audit"] {
    margin-bottom: 22px !important;
}

/* Section panel */
[data-itemid="bl_je_document"] .panel,
[data-itemid="bl_je_description"] .panel,
[data-itemid="bl_je_currency"] .panel,
[data-itemid="bl_je_summary"] .panel,
[data-itemid="bl_je_audit"] .panel {
    border-radius: 4px !important;
    border: 1px solid #dddddd !important;
    box-shadow: none !important;
}

/* Section header */
[data-itemid="bl_je_document"] .panel-heading,
[data-itemid="bl_je_description"] .panel-heading,
[data-itemid="bl_je_currency"] .panel-heading,
[data-itemid="bl_je_summary"] .panel-heading,
[data-itemid="bl_je_audit"] .panel-heading {
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 10px 14px !important;
    background: linear-gradient(#f7f7f7, #e9e9e9) !important;
}

/* Section body */
[data-itemid="bl_je_document"] .panel-body,
[data-itemid="bl_je_description"] .panel-body,
[data-itemid="bl_je_currency"] .panel-body,
[data-itemid="bl_je_summary"] .panel-body,
[data-itemid="bl_je_audit"] .panel-body {
    padding: 20px 28px !important;
}

/* Fields inside sections */
[data-itemid="bl_je_document"] .form-group,
[data-itemid="bl_je_description"] .form-group,
[data-itemid="bl_je_currency"] .form-group,
[data-itemid="bl_je_summary"] .form-group,
[data-itemid="bl_je_audit"] .form-group {
    margin-bottom: 14px !important;
}

/* Inputs */
[data-itemid="bl_je_document"] .form-control,
[data-itemid="bl_je_description"] .form-control,
[data-itemid="bl_je_currency"] .form-control,
[data-itemid="bl_je_summary"] .form-control,
[data-itemid="bl_je_audit"] .form-control {
    max-width: 100% !important;
}

[data-itemid="bl_je_description"] textarea.form-control {
    min-height: 92px !important;
}

/* Add space between left and right columns */
.rnr-c,
.bs-gridcell,
[data-cellid],
[data-pageid] .bs-gridcell {
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.rnr-c:first-child,
.bs-gridcell:first-child {
    padding-left: 0 !important;
}

.rnr-c:last-child,
.bs-gridcell:last-child {
    padding-right: 0 !important;
}

/* Detail grid spacing */
[data-itemtype="details_preview"],
[data-itemtype="details"],
.r-details-wrapper,
.details-grid {
    margin-top: 28px !important;
    margin-bottom: 22px !important;
}

/* Detail table */
.rnr-gridtable,
.table {
    margin-top: 10px !important;
}

.rnr-gridtable th,
.rnr-gridtable td,
.table th,
.table td {
    padding: 8px 10px !important;
    vertical-align: middle !important;
}

/* Computed fields look readonly */
input[name*="total_debit"],
input[name*="total_credit"],
input[name*="line_no"] {
    background-color: #f7f7f7 !important;
}

/* Page width */
.container,
.bs-pagepanel {
    max-width: 1280px !important;
}

/* Mobile */
@media (max-width: 991px) {
    .rnr-c,
    .bs-gridcell,
    [data-cellid],
    [data-pageid] .bs-gridcell {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    [data-itemid="bl_je_document"],
    [data-itemid="bl_je_description"],
    [data-itemid="bl_je_currency"],
    [data-itemid="bl_je_summary"],
    [data-itemid="bl_je_audit"] {
        margin-bottom: 18px !important;
    }
}