body {
    color: black;
}

.mainContent {
    width: 100%;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--bs-gutter-x, 0.75rem);
    padding-right: var(--bs-gutter-x, 0.75rem);
}

.text-green {
    color: #198754 !important;
}

.bg-green {
    background-color: #198754 !important;
}

.text-blue {
    color: #0d6efd !important;
}

.bg-blue {
    background-color: #0d6efd !important;
}

.text-red {
    color: #dc3545 !important;
}

.bg-red {
    background-color: #dc3545 !important;
}

.text-grey {
    color: #A9A9A9 !important;
}

.bg-grey {
    background-color: #A9A9A9 !important;
}

.bg-primary {
    background-color: #012068 !important;
    color: #C0C0C0 !important;
}

.nav-tabs.nav-pills {
    border-bottom: none;
    gap: 0.5rem;
}

.nav-tabs .nav-link {
    border-radius: 1.5rem;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    color: #495057;
    transition: all 0.2s ease-in-out;
    background: #f8f9fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-tabs .nav-link:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.nav-tabs .nav-link.active {
    background: #012068;
    color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.btn {
    font-weight: bold;
    margin: 5px;
}

.sidemenu-btn {
    width: 250px;
    text-align: left;
    color: #C0C0C0;
}

.fa {
    padding-right: 5px;
    font-size: larger;
}

.sidemenu-icon {
    margin-right: 5px;
    text-align: right;
    vertical-align: middle;
}

.btn-primary,
.btn-primary:hover {
    background-color: #012068;
}

ul {
    list-style: none;
}

#cardTitle {
    background-color: #012068 !important;
    color: #C0C0C0 !important;
}

/* Datatable */
table.dataTable th {
    background-color: #012068 !important;
    color: #C0C0C0 !important;
}

.datatable-selectbox {
    height: 25px;
    width: 150px;
    border-radius: .25em;
    border: 1px solid black;
}

.datesFilter input {
    border: 1px solid #aaa;
    border-radius: 3px;
    padding: 5px;
    background-color: transparent;
    color: inherit;
    margin: 0px 0px 5px 5px;
    float: right;
}

/* Formio */
.formio-form>div>nav>ul.pagination .page-item.active .page-link {
    color: #C0C0C0 !important;
    background-color: #012068 !important;
    border-color: #012068 !important;
}

.formio-form>div>nav>ul.pagination .page-link {
    color: black !important;
}

.toDisableFormTabs>.formio-form>div>nav>ul.pagination .page-link {
    pointer-events: none;
}

.imgbox {
    display: grid;
    height: 100%;
}

.center-fit {
    max-width: 100%;
    max-height: 100vh;
    margin: auto;
}

#sidebarButton,
#headerHome,
#headerProfile {
    background-color: #012068 !important;
    color: #C0C0C0 !important;
    box-shadow: none;
}

#appHeader {
    font-weight: bold;
    margin: 5px;
    background-color: #012068 !important;
    color: #C0C0C0 !important;
}

/* Landing Page */
#landingPageOuterTitle {
    width: 100%;
    height: 350px;
    display: flex;
    color: #012068;
}

#landingPageInnerTitle {
    margin: auto;
}

.module {
    position: relative;
    padding: 70px 0px 70px 0px;
}

.services .service-item {
    background: #C0C0C0;
    padding: 0% 10% 12% 10%;
    text-align: center;
    line-height: 1.6;
    font-size: 14px;
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
    height: 70%;
}

.shadow-hover {
    transition: all 0.5s linear;
}

.shadow-hover:hover {
    box-shadow: 0px 10px 20px black;
    cursor: pointer;
}

.services {
    padding-top: 0;
}

.services .service-item .fa {
    width: 100px;
    height: 100px;
    color: white;
    background: #012068;
    font-size: 35px;
    padding-top: 25px;
    border-radius: 100px;
    margin-top: -40px;
    margin-bottom: 30px;
    border: 5px solid #C0C0C0;
    transition: all 0.4s;
}

.services .service-item h4 {
    font-size: 18px;
    color: #012068;
    margin-bottom: 20px;
}

/*===============================*/

.progress {
    height: 40px;
}

.viewApprovalStatusModalSection {
    border: 2px solid #012068;
    background-color: white;
    border-radius: 10px;
    margin: 20px;
    padding: 10px;
}

/*Modal*/
.modal-dialog {
    height: 92%;
}

.modal-content {
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

.modal-header,
.modal-footer {
    flex-shrink: 0;
}

.modal-body {
    overflow-y: auto;
    flex-grow: 1;
}

.modal-small .modal-dialog {
    max-width: 40% !important;
}

.modal-medium .modal-dialog {
    max-width: 60% !important;
}

.modal-large .modal-dialog {
    max-width: 80% !important;
}

.modal-full .modal-dialog {
    max-width: 100% !important;
    margin: 0;
}

/*===============================*/

.viewApprovalStatusModalSection {
    border: 2px solid #012068;
    background-color: white;
    border-radius: 10px;
    margin: 20px;
    padding: 10px;
}

#progressOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* dark background so loader is visible */
    z-index: 999999;
    /* keep above everything */
    display: none;
    justify-content: center;
    align-items: center;
}

/* Watermark */
.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.iframe-wrapper .watermark {
    position: absolute;
    top: 55%;
    left: 15%;
    font-size: 50px;
    transform: rotate(-30deg);
    z-index: 20;
    pointer-events: none;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.10);
    user-select: none;
    white-space: nowrap;
}