/* General Classes */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
}

::placeholder {
    color: #333333;
    opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
    color: #333333;
}

a {
    color: var(--Secondary-Branding-Color) ;
}
.branding {
    background-color: var(--Secondary-Branding-Color) !important;
}
.position-relative {
    position: relative;
}

.image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin-right: 2.2rem; /* Add padding between items */
}

.delete-button {
    position: absolute;
    top: 8px;
    right: 0;
    background-color: red;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}


    .delete-button:hover {
        background-color: darkred;
    }
/* Login Specific Classes */

body#login {
    background-color: var(--Main-Branding-Color);
    color: white;
    margin-top: 30px;
}
.AvatarImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.AvatarImage250 {
    max-width: 250px;
    max-height: 250px;
    object-fit: cover;
}
.AvatarImage450 {
    width: 450px;
    height: 450px;
    max-width: 100%;
    max-height: max-content;
    object-fit: cover;
}
a#btnLogin {
    width: 100%;
}

/* Main site Classes */
.TInline {
    display: inline-table
}
.link-dodgerblue {
    text-decoration: underline;
    font-weight: bold;
    font-style: normal;
    color: var(--Secondary-Branding-Color) !Important;
    cursor: pointer;
}

.link-butterscotch {
    text-decoration: underline;
    font-weight: bold;
    font-style: normal;
    color: #e3963e !Important;
    cursor: pointer;
}

.logo {
    background-color: var(--Main-Branding-Color);
    height: 80px;
}

.headerTopBar {
    background-color: var(--Main-Branding-Color);
    height: 50px;
    line-height: 50px;
}
@keyframes fadeOutDisplayNone {
    0% {
        opacity: 1;
    }

    99% {
        opacity: 0;
    }

    100% {
        display: none;
    }
}
.spinner-custom {
    color: var(--Secondary-Branding-Color); /* This sets the spinner border color */
}

.fade:not(.show) {
    animation: fadeOutDisplayNone 0.1s forwards;
}

.fade.show {
    opacity: 1;
    visibility: visible;
    display: block; /* Or inline, inline-block, etc., depending on your needs */
}


    .headerTopBar a:link {
        text-decoration: none;
        color: white;
        padding-left: 10px;
        padding-right: 10px;
    }

    .headerTopBar a:hover {
        text-decoration: none;
        color: white;
    }

    .headerTopBar a:active {
        text-decoration: none;
        color: white;
    }

    .headerTopBar a:visited {
        text-decoration: none;
        color: white;
    }

.headerBottomBar {
    background-color: var(--Secondary-Branding-Color);
    height: 30px;
    line-height: 30px;
    color: white;
}

.navCol {
    background-color: #EAEAEA;
    min-height: 400px;
    height: 100%;
}

    .navCol a:link {
        text-decoration: none;
        color: #707070;
        font-size: 0.9em;
    }

    .navCol a:hover {
        text-decoration: underline;
        color: #707070;
    }

    .navCol a:active {
        text-decoration: none;
        color: #707070;
    }

    .navCol a:visited {
        text-decoration: none;
        color: #707070;
    }

    .body { padding-top: 15px;}
        .body a:link {
            color: var(--Secondary-Branding-Color) !important;
        }
    .body h1 { font-size: 1.75em;}

.btn-primary {
    background-color: var(--Main-Branding-Color) !important;
    padding-left: 20px;
    padding-right: 20px;
    border: none;
}

.col-form-label { font-size: 0.8em !important;}

input[type="text"] {
    font-size: 0.9em;
}

.text-danger { font-size: 0.9em !important;}

.table th, td { font-size: 0.9em;}



.jobsBox {
    border: solid 1px #999;
    height: 250px;
    max-height: 250px;
    border-radius: 5px;
    width: 100%;
}

    .jobsBox .header {
        background-color: var(--Main-Branding-Color);
        color: white;
        padding: 5px;
    }

.jobsBox .body {
    padding: 5px;
    font-size: 0.8em;
    overflow-y: auto;
    height: 214.8px;
    max-height: 214.8px;
}
.badge {background-color: #999999;}

ul.tabBar {
    list-style-type:none;
    display: inline-block;
    padding: 0;
    margin: 0;
}

    ul.tabBar li {
        text-align: center;
        line-height: 35px;
        height: 35px;
        padding-left: 20px;
        padding-right: 20px;
        color: #000;
        background-color: #DEDEDE;
        margin-right: 1px;
        display: inline-block;
        font-size: 0.9em;
    }

        ul.tabBar li.selected {
            color: white;
            background-color: var(--Secondary-Branding-Color);
        }

        ul.tabBar li:hover {
            background-color: #333;
            color: white !important;
        }

        ul.tabBar li:hover a {
            color: white !important;
        }

        ul.tabBar li a:link {
            text-decoration: none !important;
            color: black !important;
        }
        ul.tabBar li a:active {
            text-decoration: none !important;
            color: black !important;
        }
        ul.tabBar li a:visited {
            text-decoration: none !important;
            color: black !important;
        }
        ul.tabBar li a:hover {
            text-decoration: none !important;
            color: white !important;
        }

        ul.tabBar li.selected a:link {
            color: white;
        }

        ul.tabBar li.selected a:active {
            color: white;
        }

        ul.tabBar li.selected a:visited {
            color: white;
        }

        ul.tabBar li.selected a:hover {
            color: white;
        }

.checkbox-container {
}

.checkbox-label-pair {
    display: flex;
    align-items: center;
}

    .checkbox-label-pair .form-check {
        margin-right: 10px; /* Adjust the space between the checkbox and the label */
        margin-left: 10px; /* Adjust the space between the checkbox and the label */
        margin-top:4px;
    }

:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #0d6efd;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-primary-rgb: 13,110,253;
    --bs-secondary-rgb: 108,117,125;
    --bs-success-rgb: 25,135,84;
    --bs-info-rgb: 13,202,240;
    --bs-warning-rgb: 255,193,7;
    --bs-danger-rgb: 220,53,69;
    --bs-light-rgb: 248,249,250;
    --bs-dark-rgb: 33,37,41;
    --bs-primary-text-emphasis: #052c65;
    --bs-secondary-text-emphasis: #2b2f32;
    --bs-success-text-emphasis: #0a3622;
    --bs-info-text-emphasis: #055160;
    --bs-warning-text-emphasis: #664d03;
    --bs-danger-text-emphasis: #58151c;
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: #cfe2ff;
    --bs-secondary-bg-subtle: #e2e3e5;
    --bs-success-bg-subtle: #d1e7dd;
    --bs-info-bg-subtle: #cff4fc;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-dark-bg-subtle: #ced4da;
    --bs-primary-border-subtle: #9ec5fe;
    --bs-secondary-border-subtle: #c4c8cb;
    --bs-success-border-subtle: #a3cfbb;
    --bs-info-border-subtle: #9eeaf9;
    --bs-warning-border-subtle: #ffe69c;
    --bs-danger-border-subtle: #f1aeb5;
    --bs-light-border-subtle: #e9ecef;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255,255,255;
    --bs-black-rgb: 0,0,0;
    --bs-font-sans-serif: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-color-rgb: 33,37,41;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255,255,255;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0,0,0;
    --bs-secondary-color: rgba(33, 37, 41, 0.75);
    --bs-secondary-color-rgb: 33,37,41;
    --bs-secondary-bg: #e9ecef;
    --bs-secondary-bg-rgb: 233,236,239;
    --bs-tertiary-color: rgba(33, 37, 41, 0.5);
    --bs-tertiary-color-rgb: 33,37,41;
    --bs-tertiary-bg: #f8f9fa;
    --bs-tertiary-bg-rgb: 248,249,250;
    --bs-heading-color: inherit;
    --bs-link-color: #0d6efd;
    --bs-link-color-rgb: 13,110,253;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #0a58ca;
    --bs-link-hover-color-rgb: 10,88,202;
    --bs-code-color: #d63384;
    --bs-highlight-color: #212529;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-focus-ring-width: 0.25rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
    --bs-form-valid-color: #198754;
    --bs-form-valid-border-color: #198754;
    --bs-form-invalid-color: #dc3545;
    --bs-form-invalid-border-color: #dc3545;
    --bs-breakpoint-xs: 0;
    --bs-breakpoint-sm: 576px;
    --bs-breakpoint-md: 768px;
    --bs-breakpoint-lg: 992px;
    --bs-breakpoint-xl: 1200px;
    --bs-breakpoint-xxl: 1400px;
}

.table {
    --bs-table-color-type: initial;
    --bs-table-bg-type: initial;
    --bs-table-color-state: initial;
    --bs-table-bg-state: initial;
    --bs-table-color: var(--bs-emphasis-color);
    --bs-table-bg: var(--bs-body-bg);
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-emphasis-color);
    --bs-table-striped-bg: rgba(var(--bs-emphasis-color-rgb), 0.05);
    --bs-table-active-color: var(--bs-emphasis-color);
    --bs-table-active-bg: rgba(var(--bs-emphasis-color-rgb), 0.1);
    --bs-table-hover-color: var(--bs-emphasis-color);
    --bs-table-hover-bg: rgba(var(--bs-emphasis-color-rgb), 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: var(--bs-table-color);
    background-color: var(--bs-table-bg);
    border-width: var(--bs-border-width);
    border-color: var(--bs-table-border-color);
    border-collapse: collapse;
}
tbody, td, tfoot, th, thead, tr {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}

.table-striped > tr:nth-of-type(odd) > * {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: var(--bs-table-striped-bg);
    background-color: var(--bs-table-bg-type)
}


.table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    color: var(--bs-table-color-state, var(--bs-table-color-type, var(--bs-table-color)));
    background-color: var(--bs-table-bg);
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
}
.table th,
.table td {
    padding: 0.5rem;
    vertical-align: top;
    border-top: var(--bs-border-width) solid var(--bs-table-border-color);
}

/* Fix for the error in CSS syntax */
.link-secondary-branding {
    text-decoration: underline;
    font-weight: bold;
    font-style: normal;
    color: var(--Secondary-Branding-Color) !important;
}

.model-wide {
    width: 650px;
}

/* Global branded loading spinner styles */
.branded-spinner {
    width: 3rem;
    height: 3rem;
    display: inline-block;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: var(--Secondary-Branding-Color, #5598F2);
    border-right-color: var(--Secondary-Branding-Color, #5598F2);
    animation: spinner-rotation 1.2s linear infinite;
    box-shadow: 0 0 5px rgba(85, 152, 242, 0.3);
}

.branded-loading-text {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--Secondary-Branding-Color, #5598F2);
}

@keyframes spinner-rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.timeline {
    display: flex;
    justify-content: space-between; /* Space out each item */
    position: relative;
    padding: 20px 0; /* Increase vertical padding */
}

    /* Timeline line */
    .timeline::before {
        content: '';
        position: absolute;
        top: 30px; /* Adjust to position line in the middle of circles */
        transform: translateY(-50%); /* Use translateY to center perfectly */
        left: 0;
        right: 0;
        height: 4px;
        background-color: var(--Main-Branding-Color);
        z-index: -1;
    }
.step {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center content horizontally */
}

/* The circle of each step */
.circle {
    width: 20px;
    height: 20px;
    border: 3px solid white;
   /*  background: radial-gradient(circle, var(--Main-Branding-Color), #DEDEDE ); Radial gradient from inner to outer */

    border-radius: 50%;
    margin-bottom: 5px; /* Add space between circle and text */
}


/* When a step is not active, make circle gray */
.step:not(.active) .circle {
    background: radial-gradient(circle, gray, gray); /* Radial gradient from inner to outer */

}
.step.active .circle {
    background: radial-gradient(circle, var(--Main-Branding-Color), #DEDEDE ); /* Radial gradient from inner to outer */
}
.table thead th {
    vertical-align: bottom;
    padding:0.7rem;
    margin:0.2rem;
    padding-top:10px;
    border-bottom: 2px solid var(--bs-table-border-color);
    background-color: var(--bs-table-active-bg); /* Color for header row */
}
.table tbody + tbody {
    border-top: 2px solid var(--bs-table-border-color);
}


.table-striped tbody tr:nth-of-type(odd) {
    background-color: #adb5bd; /* Color for alternate rows */
}

.table-hover tbody tr:hover {
    background-color: var(--bs-table-hover-bg);
}
.btn2 {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.375rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color) !important;
    color: var(--bs-btn-color) !important;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg) !important;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #6c757d;
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5c636a;
    --bs-btn-hover-border-color: #565e64;
    --bs-btn-focus-shadow-rgb: 130,138,145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #565e64;
    --bs-btn-active-border-color: #51585e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #6c757d;
    --bs-btn-disabled-border-color: #6c757d;
}

/* Character Counter Styles */
.textarea-with-counter {
    position: relative;
    width: 100%;
}

.character-counter {
    margin-top: 4px;
    text-align: right;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.character-counter small {
    font-size: 0.875rem;
}

.character-counter.text-danger small {
    font-weight: 500;
    color: var(--bs-danger, #dc3545) !important;
}

.character-counter.text-warning small {
    font-weight: 500;
    color: var(--bs-warning, #ffc107) !important;
}

.character-counter.text-muted small {
    color: var(--bs-gray-600, #6c757d) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .character-counter {
        text-align: left;
        margin-top: 2px;
    }
}

/* Delete Modal Styles */
.related-data-list {
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f8f9fa;
    height: 100%;
    overflow-y: auto;
}

.related-data-list .form-check {
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    background-color: white;
    border: 1px solid #dee2e6;
}

.related-data-list .form-check:hover {
    background-color: #e9ecef;
}

.related-data-list .form-check-label {
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-data-list .text-danger {
    color: #dc3545 !important;
}

.related-data-list .text-warning {
    color: #fd7e14 !important;
}

.modal-backdrop.fade.show {
    opacity: 0.5;
}

#deleteModal .modal-header {
    background-color: #f8d7da;
    border-bottom: 1px solid #f5c6cb;
}

#deleteModal .modal-title {
    color: #721c24;
    font-weight: 600;
}

#deleteModal .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    font-weight: 500;
}

/* Expandable sections */
.expandable-section {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.expandable-section:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.expandable-section .d-flex {
    padding: 0.5rem;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.expandable-label {
    cursor: pointer;
    text-decoration: none !important;
    color: inherit !important;
    font-size: 0.9rem;
    line-height: 1.2;
}

.expandable-label:hover {
    opacity: 0.8;
    text-decoration: none !important;
}

.expandable-label:focus {
    box-shadow: none;
    text-decoration: none !important;
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
    color: #6c757d;
}

.detail-content {
    background-color: #f8f9fa;
    padding: 0.75rem;
    font-size: 0.9rem;
}

.detail-content .table {
    margin-bottom: 0;
    background-color: white;
    border-radius: 0.25rem;
    overflow: hidden;
}

.detail-content .table th {
    border-top: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    background-color: #e9ecef;
    padding: 0.4rem;
}

.detail-content .table td {
    font-size: 0.85rem;
    vertical-align: middle;
    border-color: #e9ecef;
    padding: 0.4rem;
}

.detail-content .table-sm th,
.detail-content .table-sm td {
    padding: 0.4rem;
}

/* Compact form check styling */
.expandable-section .form-check-input {
    margin-top: 0.1rem;
}

