﻿/* Standard Style */
html {
    position: relative;
    min-height: 100%;
    overflow: scroll;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 6px; /* Remove scrollbar space */
    height: 6px; /* Remove scrollbar space */
    /*background: transparent;*/ /* Optional: just make scrollbar invisible */
    background: #eceff1;
}

/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    /*background: #FF0000;*/
    /*background: unset;*/
    background: #90a4ae;
    border-radius: 6px;
}

/*=======================*/

header {
    /*background-color: #ddd4ec !important;*/
    background-color: #0b2533 !important;
}

    header .btn {
        min-width: 125px;
    }

    header .link-secondary {
        color: #fff !important;
    }

        header .link-secondary:hover, .link-secondary:focus {
            color: #fff !important;
            font-weight: bold;
        }

body {
    /*background-color: #f5f5f5;*/
    background-color: #f0f0f5;
    /*background-color: #e8eaf6;*/
    padding-bottom: 40px;
    /*margin-bottom: 60px;*/ /* Margin bottom by footer height */
}

    body a {
        color: #0b2533;
        text-decoration: none;
    }

        body a:hover {
            color: #0b2533;
            font-weight: bold;
        }

.breadcrumb a:hover {
    color: #0b2533;
    font-weight: normal;
    text-decoration: underline;
}


.navbar {
    margin-bottom: 20px;
}

.navbar_profileImg {
    background-color: #fff;
    border-radius: 50% !important;
    max-width: 100%;
    height: 3rem;
}

#logoutBtn:hover {
    color: red !important;
}

    #logoutBtn:hover .linkIcon {
        color: inherit;
    }

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* To overwrite original bootstrap css */
.bg-secondary {
    --bs-bg-opacity: 1;
    background-color: #b9c0ed !important;
}

/* Custom background for div box area */
.bg-box {
    /*background-color: #ebebf8 !important;*/
    background-color: #deeff6 !important;
}

.bg-box-secondary {
    /*background-color: #ebebf8 !important;*/
    background-color: #cdeaf6 !important;
}

.bg-subBox {
    /*background-color: inherit;*/
    /*background-color: #ebebf8 !important;*/
    box-shadow: inset 0 0 0 9999px rgb(0 0 0 / 5%);
    border-radius: 0.5rem !important;
    border: 1px solid !important;
    border-color: #b0d3e1 !important;
    /* py-3 */
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    /* px-2 */
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
    /* mx-2 */
    margin-right: 0.05rem !important;
    margin-left: 0.05rem !important;
}

.btn {
    border-radius: 0.35rem !important;
}

.btn-primary {
    color: #fff;
    background-color: #06587d;
    border-color: #06587d;
    /*    background-color: #0d6efd;
    border-color: #0d6efd;*/
}

    .btn-primary:hover {
        color: #fff;
        /* background-color: #6610f2;
        border-color: #6610f2;*/
        background-color: #0a709e;
        border-color: #06587d;
    }

    .btn-check:focus + .btn-primary, .btn-primary:focus {
        color: #fff;
        background-color: #013147;
        border-color: #00496a;
        box-shadow: 0 0 0 0.25rem #00496a7d;
    }

    .btn-primary:disabled, .btn-primary.disabled {
        color: #fff;
        background-color: #00496a;
        border-color: #00496a;
    }

.btn-secondary {
    color: #fff;
    background-color: #3b7590;
    border-color: #3b7590;
}

    .btn-secondary:hover {
        color: #fff;
        background-color: #06587d;
        /*background-color: #9da9eb;*/
        /*border-color: #9da9eb;*/
        border-color: #06587d;
        font-weight: bold;
    }


.border-primary {
    border-color: #06587d !important;
}

.border-secondary {
    /*border-color: #6c757d !important;*/
    /*border-color: #d6cde8 !important;*/
    border-color: #c6dfe9 !important;
}

.rounded {
    /*border-radius: 0.25rem !important;*/
    border-radius: 0.5rem !important;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /*height: 60px;*/ /* Set the fixed height of the footer here */
    /*line-height: 60px;*/ /* Vertically center the text there */
    /*background-color: #f5f5f5;*/
    background-color: #00496a !important;
}

    .footer .footer-copyright {
        background-color: #00496a !important;
    }

/* Toast */
.toast-container {
    z-index: 9999;
}

.toast {
    width: 425px;
    /*max-width: 100%;
    font-size: 0.875rem;
    pointer-events: auto;
    border-radius: 0.25rem;*/
}

/* Spinner */
.spinner-container {
    z-index: 9999;
    display: block;
    position: fixed;
    top: 50%;
    left: 25%;
    right: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-box {
    color: #fff;
    background-color: #046c9b;
    border-color: #046c9b;
    padding: 0.75rem 2rem !important;
    border-radius: 0.35rem !important;
    text-align: center;
}

.spinner-border-md {
    width: 1.5rem;
    height: 1.5rem;
    border-width: 0.3em;
}

/*.overlay {
    background-color: black;
    opacity: 0.75;
}*/

/* Form-control */
.invalid-feedback {
    display: unset !important;
    /*color: #dc3545;*/
    color: #d50000 !important;
}

.form-control::-webkit-input-placeholder {
    color: #6c757d;
    font-style: italic;
}

.form-control:disabled, .form-control[readonly] {
    /*background-color: #ebebf8;*/
    background-color: #f6f8fa;
    opacity: 1;
}

.form-check-input[disabled] ~ .form-check-label, .form-check-input:disabled ~ .form-check-label {
    cursor: default;
    /*opacity: 0.5;*/
    opacity: 1.0 !important;
}

/* To hide arrow in input type = "number" */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Button Color */
.btn-orange {
    background-color: #e65100 !important;
}

.btn-yellow {
    background-color: #ffeb3b !important;
}

/* Text Color */
.text-primary {
    color: #06587d !important;
}

.text-secondary {
    color: #3b7590 !important;
}

.text-green {
    color: #2b9303 !important;
    /*color: #00c853 !important;*/
}

.text-bright-green {
    color: #76ff03 !important;
}

.text-yellow {
    /*color: #f9a318 !important;*/
    color: #fa9338 !important;
}

.text-red {
    color: #d50000 !important;
}

.text-bright-red {
    color: #dc3545 !important;
}

.text-bright-red-2 {
    color: #ff5252 !important;
}

.text-orange {
    color: #e65100 !important;
    /*color: #ff6d00 !important;*/
}

.text-blue {
    color: #1565c0 !important;
}

/* Background Color */
.bg-white {
    background-color: #fff !important;
}

.bg-grey-lighten-5 {
    background-color: #fafafa !important;
}

.bg-grey-lighten-4 {
    background-color: #f5f5f5 !important;
}

.bg-grey-lighten-3 {
    background-color: #eeeeee !important;
}

.bg-grey-lighten-2 {
    background-color: #e0e0e0 !important;
}

.bg-purple-light {
    background-color: #ced3f1 !important;
}

.bg-deep-purple-lighten-5 {
    background-color: #ede7f6 !important;
}


.bg-blue-lighten-2 {
    background-color: #64b5f6 !important;
}

.bg-blue {
    background-color: #2196f3 !important;
}

.bg-red {
    background-color: #f44336 !important;
}

.bg-dark-red {
    background-color: #f65555 !important;
}

.bg-red-darken-3 {
    background-color: #c62828 !important;
}

.bg-red-lighten-1 {
    background-color: #ef5350 !important;
}

.bg-red-lighten-4 {
    background-color: #ffcdd2 !important;
}

.bg-green-accent-4 {
    background-color: #00c853 !important;
}

.bg-light-green-accent-4 {
    background-color: #64dd17 !important;
}

.bg-lime-accent-1 {
    background-color: #f4ff81 !important;
}

/* DataTable Row Color(s) [USED] */
.dt-bg-footer {
    /*background-color: #abd5e7 !important;*/
    background-color: #a9d1e2 !important;
}

.dt-bg-border {
    /*border-top: 1px solid #90959a;*/
    border-color: #e6e0e0 !important;
}

.bg-dt-red {
    background-color: #ef5350 !important;
}

.bg-dt-orange {
    background-color: #fea73f !important;
}

.bg-dt-yellow {
    background-color: #fdf62a !important;
}

.bg-dt-green {
    background-color: #2aee35 !important;
}

.bg-dt-blue {
    background-color: #43def5 !important;
}
