

html, body {
    height: 100%;
}

app {
    display: block;
    height: 100%;
}

.header-logo {
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url('../images/paradigmLogo.png');
    mask: url('../images/paradigmLogo.png');
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    width: 180px;
    height: 24px;
}

#blazor-error-ui {
    background: inherit;
    bottom: 0;
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100001;
}

/* ======================================== */
/* =========== Document Details =========== */
/* ======================================== */

.focus-field {
    display: block;
}

.Document-Details-Grid {
    margin-top: 18px;
    margin-bottom: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.single-line-grid {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grid-headers {
    white-space: nowrap;
}

.DocumentDetail-Create-Row {
    width: 100%;
    max-width: 110%;
}

.Document-Header-Fields{
    margin-bottom: 18px;
    margin-top: 18px;
}

.Lines-Tab {
    overflow-x: hidden;
}

.elipses-table {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.Credit-control{
    margin-top: 18px;
}

/* ======================================== */
/* Document Details - Line Preview Template */
/* ======================================== */

.docdetails-row-preview {
    display: flex;
    justify-content: space-around;
    width: 100%;
    min-width: 1000px;
    /*    height: 85px;*/
    /*    align-items: center;*/
    opacity: 0.8;
}

.inv-details-container {
    flex-basis: 30%;
    min-width: 30%;
/*    margin-left: 8px;
    margin-right: 8px;*/
}

.inv-details-text-container {
    white-space: pre;
    display: flex;
}

.inv-details-nobatch {
    width: 50%;
/*    margin-left: 8px;
    margin-right: 8px;*/
}

.linenote-container {
    flex-basis: 30%;
    min-width: 30%;
/*    margin-left: 8px;
    margin-right: 8px;*/
}

.linenote-text-container{

}

.linenote-textarea {
    height: 116px;
    max-height: 300px;
    overflow-y: hidden;
    width: 100%;
    border: 1px solid darkgrey;
    border-radius: 4px;
    padding: 9px;
}

table.batchtracking-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.linenote-nobatch {
    width: 50%;
    margin-left: 26px;
    margin-right: 8px;
}

.batchtracking-container {
    /*    flex-basis: 30%;*/
    width: 30%;
    min-width: 30%;
    margin-left: 8px;
    margin-right: 8px;
}

.batch-table-container {
    overflow-x: auto;
    white-space: nowrap;
    max-width: 100%;
}

.batchtracking-table {
    border: 1px solid darkgrey;
    width: 100%;
    border-collapse: separate;
    border-radius: 4px;
    table-layout: fixed;
}

.batchtracking-table-column {
    border: 1px solid darkgrey;
    width: 85px;
    padding: 6px;
}

.batchtable-footer {
    padding: 6px;
}

.hidden {
    display: none;
}

.separator {
    width: 1px;
    height: 120%;
    background-color: lightgrey;
}

.pricing-div{
    width: 50%;
}

.qty-div {
    width: 50%;
}

.bold-text {
    font-weight: bold;
    display: contents;
}

.preview-header {
    margin-bottom: 12px;
}

.product-name-header {
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.code-container {
    display: flex;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 12px;
}

.lastsold-container {
    display: flex;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.code-line {
    font-weight: bold;
    text-overflow: ellipsis;
    max-width: 261px;
    overflow: hidden;
    font-weight: bold;
}

.unit-cost {
    font-weight: bold;
    text-overflow: ellipsis;
    max-width: 63px;
    overflow: hidden;
    font-weight: bold;
}

/* ======================================== */

.new-row-container {
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    border: 1px solid #ced4da;
    margin-left: 12px;
    margin-right: 12px !important;
    width: 98.4%;
}

.batch-filters-container {
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 5px;
    display: flex !important;
    border: 1px solid #ced4da;
    margin-left: 12px;
    margin-right: 12px !important;
    width: 98.4%;
}

.filter-fields {
/*    background-color: #f2f2f2;*/
    padding: 10px;
    border-radius: 5px;
    display: flex;
    border: 1px solid #ced4da;
    margin-left: 12px;
    margin-right: 12px !important;
    width: 98.4%;
    margin-bottom: 10px;
    margin-top: 30px;
}

.filter-fields-dark {
    background-color: #252525;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    border: 1px solid #ced4da;
    margin-left: 12px;
    margin-right: 12px !important;
    width: 98.4%;
    margin-bottom: 10px;
    margin-top: 30px;
}

[data-theme-id="Fluent LightBlue"] .filter-fields {
    background-color: #f2f2f2;
}

[data-theme-id="Fluent DarkBlue"] .filter-fields {
    background-color: #252525 !important;
}

.filter-fields-nogap {
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    border: 1px solid #ced4da;
    margin-left: 12px;
    margin-right: 12px !important;
    width: 98.4%;
    margin-top: 30px;
}

.filter-fields-bt {
    background-color: #f2f2f2;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    border: 1px solid #ced4da;
    margin-left: 12px;
    margin-right: 12px !important;
    width: 96.9%;
    margin-bottom: 10px;
}

.invalidated {
    background-color: #f2f2f2;
}

.AuditLog {
/*    background-color: white;
    border: none !important;*/
}

.audit-log-container{
    background-color: white;
}

.audit-log-field{
    border: none;
}

.custom-rte {
/*    max-width: 700px;
    max-height: 600px;*/
    min-height: 200px !important;
    height: fit-content !important;
    width: 100% !important;
}


.bgcolour {
    background-color: #f6f7fb;
}