﻿body {
    padding-top: 4rem;
}

td i,
div#panel-bodyCef i {
    cursor: pointer;
}

div.container-fluid {
    padding-left: 5%;
    padding-right: 5%;
}

fieldset, legend {
    all: revert;
}

div.flex-column > button {
    width: 60px;
}

div.dselect-wrapper span.dselect-placeholder {
    height: 1.5rem;
}

.dselect-highlight {
    border: solid red;
    border-radius: 0.375rem;
}

label.form-control:empty {
    height: 2.25rem;
}

pre.form-control {
    min-height: 5.25rem;
    font-family: var(--bs-body-font-family);
}

td.attention {
    background-color: yellow;
}

.dim {
    color: #6c757d;
}

table.dataTable th,
table.dataTable td {
    box-sizing: border-box !important;
}

.dataTable > thead > tr > th:has(input[type='checkbox'])::before,
.dataTable > thead > tr > th:has(input[type='checkbox'])::after {
    content: "" !important;
}

.dataTable thead > tr > th:has(input[type='checkbox']) {
    padding-left: 0 !important;
    padding-right: 0 !important
}

div.dataTables_length { /* set the gap between 'show n entries' and the table */
    margin-bottom: 0.75rem !important;
}

/*
#applications .status-pending-agent {
    background-color: khaki;
}
*/

#applications .status-pending-agent,
#applications .status-conditional-approval,
#applications .status-settlement-completed {
    background-color: papayawhip;
}

#applications .status-submitted,
#applications .status-resubmitted {
    background-color: lightpink;
}

#applications .status-rejected {
    background-color: lightsalmon;
}

#applications .status-approved {
    background-color: lightskyblue;
}

#applications .status-loan-disbursed {
    background-color: lightgreen;
}

#applications > thead > tr > th:first-child {
    min-width: 6rem;
    max-width: 8rem;
}

#applications > tbody > tr > td:last-child,
#files-uploaded > tbody > tr > td:last-child {
    white-space: nowrap;
}

#files-uploaded > thead > tr > th:first-child {
    min-width: 6rem;
    max-width: 8rem;
    box-sizing: content-box !important;
}

#files-uploaded > thead > tr > th:nth-last-child(2) {
    max-width: 6rem;
}

#files-uploaded > thead > tr > th:nth-last-child(3),
#files-uploaded > thead > tr > th:nth-last-child(4) {
    max-width: 7rem;
}

.ctos-caption {
    background-color: beige !important;
    /*text-transform: uppercase;*/
}

.ctos-subcaption {
    background-color: lightgray !important;
    font-size: 0.8rem;
}

.ctos-subsubcaption {
    background-color: gainsboro !important;
    font-size: 0.7rem;
    font-weight: 500;
}


.ctos-content {
    font-size: 0.8rem;
}

.ccris-content {
    font-size: 0.7rem;
}

.ctos-bold {
    font-weight: 500;
}

.ctos-side-caption {
    background-color: ghostwhite !important;
    font-size: 0.8rem;
    font-weight: 500;
}

ul.checkmark {
    list-style: none;
    list-style-position: outside;
    margin-left: 0.5rem;
}

ul.checkmark li {
    line-height: 1.8;
    position: relative;
}

ul.checkmark li:before {
    /*content: '✓';*/
    content: '√';
    font-weight: bold;
    left: -20px;
    position: absolute;
}