﻿.modal.custom-modal {
    left: 0;
    top: 0 !important;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    margin: auto;
    background: rgb(1 33 105 / 80%);
    max-height: unset;
    border-radius: 0;
    box-shadow: unset;
    transform: unset !important;
}

:root {
    --cim-primary-blue: #062b69;
    --cim-primary-blue-hover: #425398;
    --cim-green-200: #A5D6A7;
    --cim-orange-200: #FFCC80;
    --cim-red-200: #EF9A9A;
    --cim-yellow-200: #FFF59D;
}

body {
    padding-top: 0px;
    padding-bottom: 20px;
    /*background-color: #f2f2f2;*/
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.container {
    max-width: 82%;
    width: 100%;
    margin-right: 1%;
    margin-left: 16.6666666667%;
}

/* 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;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/*Page length buttons*/
button.btn.waves-effect.button-page-length {
    width: 100%;
    margin-bottom: 5px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: black;
}

/*******************Start Colors**********************************/

.green-background {
    background-color: var(--cim-green-200) !important;
}

.orange-background {
    background-color: var(--cim-orange-200) !important;
}

.red-background {
    background-color: var(--cim-red-200) !important;
}

.yellow-background {
    background-color: var(--cim-yellow-200) !important;
}

/*******************Start Color Override**************************/

.blue {
    background-color: var(--cim-primary-blue) !important;
}

.btn {
    background-color: var(--cim-primary-blue);
}

    .btn:hover {
        background-color: var(--cim-primary-blue-hover) !important;
    }

.switch label .lever:after {
    --cim-switch-shadow: -2px 0px 4px 0px rgb(255 255 255 / 20%), 0px 3px 1px -2px rgb(255 255 255 / 20%), 0px 2px 2px 0px rgb(255 255 255 / 14%), 0px 1px 5px 0px rgb(255 255 255 / 12%);
    background-color: #F1F1F1;
    -webkit-box-shadow: var(--cim-switch-shadow);
    box-shadow: var(--cim-switch-shadow);
}

/*Style for the freeze pane toggle*/

.switch label input[type=checkbox]:checked + .lever:after {
    background-color: var(--cim-primary-blue) !important;
}

.switch label input[type=checkbox]:checked + .lever {
    background-color: var(--cim-primary-blue) !important;
}

input[type="checkbox"]:checked + .lever {
    background-color: var(--cim-primary-blue) !important;
}

/*******************End Color Override****************************/

/*******************End Colors************************************/

/*********Login Screen************/

#login_row {
    margin-top: 5%;
}

/*********DATATABLE**********************/

table.dataTable {
    border-collapse: collapse !important;
}

td {
    white-space: nowrap !important;
}

th.bol {
    border-left: 1px solid white !important;
}

th.bor {
    border-right: 1px solid white !important;
}


table.dataTable td > i {
    margin-left: 0.1em;
    opacity: 0.3;
    z-index: 10;
    color: blue;
}

/****************NAVIGATION**********************/
/*Side Nav*/
#side-nav-wrapper {
    padding-right: 0px !important;
}

#nav_list {
    background-color: #f2f2f2;
    padding-right: 0px;
    height: calc(100%);
}

/*Top Nav*/
#top_nav {
    margin-top: 0px !important;
    padding-top: 0px !important;
}

#top-nav-wrapper {
    padding-left: 0px !important;
}

.row .col {
    min-height: 0px !important;
}

/****************END NAVIGATION**********************/
/*Make background color this for side nav. #f2f2f2*/

/***********************Summary Boxes*************/
.collapsible-body {
    border-bottom: none;
}

    .collapsible-body p {
        margin-left: 8px;
    }

.sum-header {
    font-weight: bold;
    display: block;
    text-align: center;
}

.sum-body {
    font-weight: bold;
    display: block;
    text-align: center;
    font-size: 28px;
    padding: 1rem;
    font-size: 1.4vw;
    /*word-wrap: break-word;*/
}

/*Set the column width for the reason column.  Needs to be wide enough to fit the dropdown box.*/
.reason {
    min-width: 100px;
}

/***********************************************************/
/* TOAST */
/***********************************************************/
#toasted_cancel {
    color: red;
}

/***********************************************************/
/* Chips */
/***********************************************************/
.chip {
    background-color: #2196F3;
    color: white;
    display: inline-table;
}

/***********************************************************/
/* Loading Screen */
/***********************************************************/
.preloader-background {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

    .preloader-background > p {
        /*padding-top: 120px;*/
        margin-left: -550px;
        opacity: 0.8;
        font-size: 28px;
    }

.blinking {
    animation: blinker 0.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/***********************************************************/
/* Gate Colors */
/***********************************************************/

.Yes-Gate {
    background-color: #E57373 !important;
}

.No-Gate {
    background-color: #81C784 !important;
}

table.dataTable tbody td.select-checkbox.disabled {
    background-color: rgba(152, 150, 150, 0.14);
    border-radius: 0;
}

    table.dataTable tbody td.select-checkbox.disabled::before {
        border: 1px solid rgba(179, 179, 179, 0.59);
    }

/***********************************************************/
/* Freeze Pane Toggle */
/***********************************************************/
div.switch.freeze-pane-switch {
    position: relative;
    vertical-align: middle;
    display: inline-block;
    z-index: 1;
    margin-left: 10px;
}

/*Hide the freeze pane scroll bar*/
div.DTFC_LeftBodyWrapper {
    overflow: hidden !important;
}

/*Editor Custom Style*/

[id*="DTE_Field_"] {
    padding: inherit !important;
    height: inherit !important;
}

/*Privacy page*/

.privacy_container {
    margin-right: 25%;
    padding-bottom: 5%;
}

.privacy-title {
    text-align: center;
    font-weight: 200;
}

#getFile > i {
    padding: 0;
}

#upload {
    margin: 0;
    padding: .75rem 2.22rem;
}

#getFile > i.btn[disabled="disabled"] {
    background-color: rgba(180, 180, 180, 1) !important;
    color: white !important;
}

#uploadProgress {
    width: 97.6vw !important;
    margin: 0 .5rem 1rem 1.5rem;
    float: left;
    border-radius: 0;
    border: none;
    height: 1.2rem;
}

#uploadBrowse {
    display: none !important;
}

div.DTE_Bubble_Background {
    position: absolute;
    z-index: 11;
    margin-top: -6px;
    opacity: 0 !important;
}

/*div.dt-buttons > :nth-child(4) {
    display: none !important;
}*/

.dev-site-container {
    position: absolute !important;
    left: 50% !important;
    top: -1% !important;
    height: 48px;
    min-width: 12% !important;
    background-color: #ffffff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: rgb(228, 96, 96);
}

/***********************************************************/
/**                     DASHBOARD                         **/
/***********************************************************/

.dashboard-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-flow: column;
    row-gap: 1rem;
}

.dashboard-container-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 2rem;
    column-gap: 0.5rem;
}

@media (min-width: 360px) {
    .dashboard-summary-card {
        width: 100% !important;
    }

    .dashboard-table-card {
        width: 100%;
    }
}

@media (min-width: 800px) {
    .dashboard-summary-card {
        width: 49% !important;
    }

    .dashboard-table-card {
        width: 48%;
    }
}

@media (min-width: 1024px) {
    .dashboard-summary-card {
        width: 49% !important;
    }

    .dashboard-table-card {
        width: 49%;
    }
}

@media (min-width: 1200px) {
    .dashboard-summary-card {
        width: 23% !important;
    }

    .dashboard-table-card {
        width: 49%;
    }
}

@media (min-width: 1400px) {
    .dashboard-summary-card {
        width: 24% !important;
    }

    .dashboard-table-card {
        width: 32%;
    }
}

.dashboard-sums th {
    text-align: center;
    font-weight: 600;
}

.dashboard-table-card {
    height: auto;
    border-radius: 2px;
}

    .dashboard-table-card .dataTables_scrollBody {
        border-bottom: none !important;
        scrollbar-width: auto;
        scrollbar-face-color: rgba(226, 226, 227, 1);
        scrollbar-color: rgba(226, 226, 227, 1);
    }

        .dashboard-table-card .dataTables_scrollBody::-webkit-scrollbar {
            width: 0.8em;
            height: 0.8em;
        }

        .dashboard-table-card .dataTables_scrollBody::-webkit-scrollbar-track {
            box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
            border-radius: 5px;
        }

        .dashboard-table-card .dataTables_scrollBody::-webkit-scrollbar-track-piece {
            border-radius: 5px;
        }

        .dashboard-table-card .dataTables_scrollBody::-webkit-scrollbar-thumb {
            background-color: darkgrey;
            outline: 1px solid darkgrey;
            border-radius: 5px;
        }

        .dashboard-table-card .dataTables_scrollBody::-webkit-scrollbar-corner {
            background-color: transparent;
            outline: transparent;
        }

.dashboard-table {
    font-size: .8em;
}

table.dashboard-table.dataTable {
    width: 99.9%;
}

.dashboard-table-title {
    font-size: 25px;
    font-weight: bold;
    margin: 4px;
}

.dashboard-progress {
    height: 20px;
    background-color: gray;
}

.dashboard-progress-bar {
    width: 0%;
    background-color: var(--cim-primary-blue);
}

.RAPercent {
    min-width: 48px !important;
}

/*User Dropdown List*/
#user-dropdown {
    position: fixed !important;
    width: 220px !important;
    z-index: 1100;
    -webkit-box-shadow: -1px 2px 4px 4px rgba(0,0,0,0.14), -2px 4px 6px 8px rgba(0,0,0,0.12);
    box-shadow: -1px 2px 4px 4px rgba(0,0,0,0.14), -2px 4px 6px 8px rgba(0,0,0,0.12);
}

    #user-dropdown > li {
        padding: 0;
    }

        #user-dropdown > li > h5 {
            margin-bottom: 0;
            font-weight: 300;
            font-size: 32px;
            text-align: center;
            color: var(--cim-primary-blue);
        }

    #user-dropdown.dropdown-content > li > a {
        font-size: 16px;
        color: var(--cim-primary-blue);
        display: block;
        line-height: 22px;
        padding: 20px 16px;
        margin: 0;
        height: 100%;
        float: none;
    }

#user-dropdown-trigger {
    font-size: 40px;
    cursor: pointer;
    outline: none;
    line-height: 50px;
    padding: 0 .8rem;
    float: right;
}

#user-menu-icon {
    padding: 0;
    /*! width: 7rem; */
}

#logout_icon {
    display: initial;
}

#logoutModal {
    height: 25%;
    width: 40%;
}

#cancel_logout {
    background-color: #EF5350 !important;
}

.sign-in-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    background-color: #EEF1F6;
    margin: 0;
}

.sign-in-card {
    width: 620px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    text-align: center;
}

.top-banner-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.sign-in-title {
    color: #003a86;
    font-size: 38px;
    font-weight: 300;
    line-height: 52px;
    margin-bottom: 4px;
    text-align: center;
}

.sign-in-subtitle {
    font-size: 16px;
    color: #344d87;
    margin-bottom: 20px;
}

.sign-in-Processing {
    font-size: 16px;
    color: #344d87;
    margin-bottom: 20px;
}

.input-field {
    margin-bottom: 15px;
    text-align: left;
}

    .input-field label {
        display: block;
        font-weight: 600;
        margin-bottom: 6px;
    }

    .input-field input {
        width: 100%;
        padding: 8px 12px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 6px;
        box-sizing: border-box;
    }

.button-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    margin-top: 30px;
}

.sign-in-button {
    width: 65%;
    height: 50px;
    background-color: #eff0f1; /* Dark blue */
    color: #646465;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

    .sign-in-button:hover {
        background-color: #0056b3;
        color: white;
    }

    .sign-in-button:focus {
        outline: none;
        box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.3);
    }

.sign-in-logo {
    height: 60px;
}

.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/*.loader {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
}*/

.loader {
    display: inline-block; /* ← add this */
    vertical-align: middle; /* ← so it sits nicely beside the text */
    margin-left: 0.5rem; /* ← a bit of breathing room */
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
}

.lds-dual-ring div {
    position: fixed;
    width: 80px;
    height: 80px;
    top: -100px;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    border-radius: 50%;
    border: 6px solid #000;
    border-color: #344D87 transparent #344D87 transparent;
    -webkit-animation: lds-dual-ring 2.2s linear infinite;
    animation: lds-dual-ring 2.2s linear infinite;
}

    .lds-dual-ring div:nth-child(2) {
        width: 64px;
        height: 64px;
        border-color: transparent #011E60 transparent #011E60;
        -webkit-animation: lds-dual-ring_reverse 2.2s linear infinite;
        animation: lds-dual-ring_reverse 2.2s linear infinite;
    }

.lds-double-ring {
    width: 200px !important;
    height: 200px !important;
    -webkit-transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
    transform: translate(-100px, -100px) scale(1) translate(100px, 100px);
}


@keyframes lds-dual-ring {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes lds-dual-ring {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes lds-dual-ring_reverse {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@-webkit-keyframes lds-dual-ring_reverse {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-360deg);
        transform: rotate(-360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

.modal-overlay {
    background: transparent;
    opacity: 1 !important;
}

.modal-dialog {
    position: relative;
    width: auto;
    max-width: 600px;
    margin: 1.75rem auto;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 3.5rem);
}

.modal-dialog.modal-sm {
    max-width: 400px;
}



.custom-modal-content {
    width: 100%;
    background-color: #fff;
    border-radius: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
}

.modal-header h2 {
    font-size: 24px;
    line-height: 36px;
    font-weight: 400;
    color: #344D87;
    margin-bottom: 10px;
}

.modal-header a {
    font-size: 24px;
    line-height: 24px;
    color: #8A99BA;
    display: flex;
    position: absolute;
    right: 12px;
    top: 12px;
    cursor: pointer;
}

.modal-body p {
    font-size: 14px;
    line-height: 21px;
    font-weight: 500;
    color: #4B5563;
    margin: 0;
}

.upload-modal-section-file-name-title {
    font-size: 14px;
    line-height: 21px;
    font-weight: 500;
    color: #4B5563;
    margin-bottom: 12px;
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 42px;
    overflow: hidden;
}

    .file-upload-wrapper .upload-items-input#uploadBrowse {
        opacity: 0;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 99;
        margin: 0;
        padding: 0;
        display: block !important;
        cursor: pointer;
        width: 100%;
    }

    .file-upload-wrapper:before {
        content: "Choose file";
        position: absolute;
        top: 0;
        left: 0;
        display: inline-block;
        height: 42px;
        background: #344D87;
        color: #fff;
        border: 1px solid #E6E9F0;
        z-index: 25;
        padding: 10px 12px;
        font-weight: 500;
        font-size: 14px;
        line-height: 21px;
        pointer-events: none;
        border-radius: 8px 0 0 8px;
        width: 115px;
        text-align: center;
    }

    .file-upload-wrapper:after {
        content: attr(data-text);
        background: #F9FAFB;
        border: 1px solid #E6E9F0;
        border-radius: 8px;
        height: 42px;
        padding: 12px 16px;
        padding-left: 130px;
        font-weight: 400;
        font-size: 14px;
        line-height: 18px;
        color: #4B5563;
        position: absolute;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 20;
        width: 100%;
    }

.progress-wrapper {
    margin: 10px 0px 0px;
}

    .progress-wrapper .progress-value {
        display: block;
        text-align: right;
        font-size: 12px;
        line-height: 18px;
        font-weight: 500;
        color: #6B7280;
    }

    .progress-wrapper .progress {
        height: 6px;
        border-radius: 2px;
        background-color: #E5E7EB;
        margin: 0;
        position: relative;
    }

    .progress-wrapper .progress-bar {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        background: #1A56DB;
        width: 100%;
        animation: indeterminateAnimation 1.5s infinite linear;
        transform-origin: 0% 50%;
    }

.form-control, .form-control#BookmarkName, input[type=text]:not(.browser-default) {
    width: 100%;
    height: 48px;
    background: #fff;
    margin: 0;
    border-radius: 8px;
    border: 1px solid #B0BAD1 !important;
    padding: 12px 24px;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 24px;
    color: #6B7280;
}

    .form-control::placeholder, .form-control#BookmarkName::placeholder,
    input[type=text]:not(.browser-default)::placeholder {
        color: #6B7280;
        opacity: 0.8;
    }

.search-wrapper .search_field {
    position: relative;
    margin-bottom: 10px;
}

    .search-wrapper .search_field i {
        font-size: 24px;
        line-height: 24px;
        color: #6B7280;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 24px;
    }

    .search-wrapper .search_field .form-control {
        padding-left: 60px;
    }

.search-wrapper .search-list-wrapper {
    margin: 4px 0;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0px 1px 2px #00000014;
    padding: 16px;
    max-height: calc(100vh - 331px);
    overflow-y: auto;
}
    /* .search-wrapper .search-list-wrapper::-webkit-scrollbar {
  width: 5px;
}
.search-wrapper .search-list-wrapper::-webkit-scrollbar-track {
  background-color: #e6e9f0;
  border-radius: 10px;
}
.search-wrapper .search-list-wrapper::-webkit-scrollbar-thumb {
  background: #012169; 
  border-radius: 10px;
} */
    .search-wrapper .search-list-wrapper h3 {
        font-size: 14px;
        line-height: 21px;
        font-weight: 600;
        color: #012169;
        margin-bottom: 12px;
    }

    .search-wrapper .search-list-wrapper ul {
        display: flex;
        flex-direction: column;
        row-gap: 4px;
        margin: 0;
    }

        .search-wrapper .search-list-wrapper ul li {
            border-radius: 8px;
            padding: 8px 12px;
            background: #F9FAFB;
            column-gap: 4px;
            display: flex;
            align-items: center;
        }

            .search-wrapper .search-list-wrapper ul li .form-group {
                flex: 1 1 auto;
            }

                .search-wrapper .search-list-wrapper ul li .form-group input {
                    visibility: hidden;
                    height: auto;
                    width: auto;
                }

                .search-wrapper .search-list-wrapper ul li .form-group label {
                    font-size: 14px;
                    line-height: 21px;
                    color: #4B5563;
                    padding-left: 26px;
                    height: auto;
                }

                    .search-wrapper .search-list-wrapper ul li .form-group label:before {
                        width: 18px;
                        height: 18px;
                        border-radius: 4px;
                        border: 1px solid #C7CACF;
                        margin: 0;
                        position: absolute;
                        top: 1.5px;
                        left: 0;
                    }

                    .search-wrapper .search-list-wrapper ul li .form-group label:after {
                        content: "\f90e";
                        font-family: 'forecast' !important;
                        margin: 0;
                        color: #fff;
                        border-radius: 4px;
                        width: 18px;
                        height: 18px;
                        background: #344D87;
                        border: 0px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        position: absolute;
                        top: 1.5px;
                        opacity: 0;
                        visibility: hidden;
                    }

                .search-wrapper .search-list-wrapper ul li .form-group input:checked + label:after {
                    opacity: 1;
                    visibility: visible;
                }

            .search-wrapper .search-list-wrapper ul li .delete-bookmark {
                font-size: 10px;
                line-height: 10px;
                color: #858C96;
            }

.tabs .tab a.modal-trigger {
    display: flex;
    align-items: center;
}

.modal-trigger i{
   height:24px;
}