﻿
.preview-image {
    border: 1px solid var(--color-border-strong);
}

.score-div {
    padding-top: 0.9375rem;
}

.score {
    font-weight: bold;
}

.score-good {
    color: var(--color-success);
}

.score-mid {
    color: var(--color-warning);
}

.score-bad {
    color: var(--color-danger);
}

.wd-new {
    color: var(--color-danger);
}

.wd-ignore {
    color: var(--color-warning-tint);
}

.wd-attach {
    color: var(--color-accent);
}


.wd-transferred {
    height: 0.75rem;
    width: 0.75rem;
}

.wd-complete,
.wd-approved {
    color: var(--color-success);
}

.wd-warning {
    color: var(--color-warning-tint);
}

.wd-locked {
    color: var(--color-warning-tint);
}

.total-row td {
    font-weight: bold;
}

/* A blank total (zero, with showZeroTotals off) leaves its line with no height, which drops
   the absolutely positioned tick below the others. A zero-width space keeps the line. */
.total-row .amount-quantity-total:empty::before,
.total-row .amount-net-total:empty::before,
.total-row .amount-tax-total:empty::before,
.total-row .amount-tax2-total:empty::before,
.total-row .amount-gross-total:empty::before {
    content: "\200b";
}

.po-item {
    position: relative;
}

.po-item-Non-Receipted,
.po-item-Pending-Approval {
    color: var(--color-warning-dark);
}

.po-item-PO-Billed,
.po-item-Credited {
    color: var(--color-danger-hover);
    text-decoration: line-through;
}

.po-item-PO-Unauthorised {
    color: var(--color-warning-dark);
    text-decoration: line-through;
}

.po-item-PO-Deleted {
    text-decoration: line-through;
}

.po-item-Wrong-Vendor,
.po-item-Wrong-Subsidiary {
    text-decoration: double line-through;
}

.line-items-table .form-control {
    border-radius: 0;
}
.line-items-table tbody td {
    vertical-align: bottom;
}

.line-items-table thead th,
.line-items-table tfoot td {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.lineitemvalue {
    display: inline;
}

pre {
    font-family: var(--font-sans);
}

.total-tick,
.total-cross {
    font-weight: bold;
}

.total-tick-fixed,
.total-cross-fixed {
    position: absolute;
    font-weight: bold;
}

.total-tick-hidden,
.total-cross-hidden,
.total-diff-hidden {
    color: transparent;
    display: none;
}

.total-tick-shown {
    color: var(--color-success-muted);
}

.total-cross-shown {
    color: var(--color-danger);
}

.total-diff-shown {
    color: var(--color-danger);
}

.total-diff-zero {
    color: var(--color-success-muted);
}

label {
    font-size: var(--label-font-size);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.btnVendor,
.summaryBtn {
    width: var(--btn-icon-size-lg);
    height: var(--btn-icon-size-lg);
    padding: 0;
}

/* A <button> centres its icon vertically on its own; an <a> used as an icon button
   (Timeline links) does not, so give anchors the same centring explicitly. */
a.btnVendor,
a.summaryBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lineitem select,
.lineitem textarea,
.lineitem input {
    min-height: 2.8125rem;
}

.emaildivrow {
    width: 100%;
    max-width: 100%;
}

#hidePOs,
#showPOs {
    margin-top: -0.3125rem;
}

#vendorIdLabel {
    padding: 0;
    margin-top: 0.9375rem;
}

#Item_Workflow_TargetData_InvoiceType {
    padding-left: 0;
    margin-bottom: 0;
}

#vendorInput {
    max-width: 12.5rem;
}

#dialog-column-options {
    display: none;
    background-color: transparent;
}

.target-original {
    margin-top: -2rem;
    margin-bottom: var(--space-lg);
    padding-left: 0.625rem;
}

.target-original-matched {
    color: var(--color-success);
}

.target-original-diff {
    color: var(--color-danger);
}

.item-Prepayment {
    background-color: var(--color-surface) !important;
}

.hidden {
    display: none;
}


.document-type-credit {
    color: var(--color-danger);
    font-weight: bold;
}

.extras-amount {
    color: var(--color-text-muted);
}

.ui-menu-item {
    white-space: nowrap;
}

.alert-warning-custom {
    color: var(--color-warning-surface-text);
    background-color: var(--color-warning-surface-bg);
    border-color: var(--color-warning-surface-border);
}

.alert-warning-custom hr {
    border-top-color: var(--color-warning-surface-hr);
}

.alert-warning-custom .alert-link {
    color: var(--color-warning-surface-link);
}

.suggestion {
    font-weight: bold;
}

.suggestion-divider {
    border-bottom: 1px solid var(--color-text-strong);
}

.uppercase {
    text-transform: uppercase;
}

.alert {
    font-weight: bold;
}

.btn-grow {
    transition: all 0.3s ease-in-out;
    transform: scale(1.08);
}

.truncate-left {
    overflow: hidden;
    text-overflow: ellipsis;
    direction: rtl;
    text-align: left;
}