/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/
@font-face {
    font-family: 'Segoe UI';
    src: url('segoe-ui/font/fonts/Segoe UI.ttf') format('truetype');
}

html, body{
    height: 100%;
    overflow: hidden;
}

body {
    --body-font: "Segoe UI Variable", "Segoe UI", sans-serif;
    font-family: var(--body-font);
    font-size: var(--type-ramp-base-font-size);
    line-height: var(--type-ramp-base-line-height);
    margin: 0;
    height: 100%;
}

.main {
    min-height: calc(100dvh - 38px);
    color: var(--neutral-foreground-rest);
}


h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}
.nav-link {
    cursor: pointer;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0P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5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.custom-container-fluid {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.footer {
    padding: 0px;
    bottom: 0;
    width: 100%;
    background-color: #f5f5f5;
    clear: both;
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

div.spinner-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.75);
    left: 0;
    top: 0;
    z-index: 999;
}

    div.spinner-modal > div {
        margin: 0 auto;
        display: table;
        top: 40%;
        position: relative;
    }

        div.spinner-modal > div > div.spinner {
            display: block;
            margin: 0 auto;
        }

.card-margin-top {
    margin-top: 15px;
}

.row .card-margin-top {
    padding-right: calc(var(--bs-gutter-x)* .3) !important;
    padding-left: calc(var(--bs-gutter-x)* .3) !important;
}


.limited-card-size {
    min-height: 200px;
    min-width: 220px;
}

.hide-div {
    display: none;
}

.flex-container {
    display: flex;
}

@media (max-width: 1199.98px) {
    .first {
        order: 2;
    }
}

.project-card-style {
    min-height: 200px;
    min-width: 200px;
    padding: 10px;
    background-color: white;
    font-size: small;
}

    .project-card-style a {
        color: grey !important;
    }

.primary-color {
    color: #727272 !important;
}

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

.project-selection-navmenu-style {
    background-color: #F0F0F0 !important;
    padding: 0px !important;
    margin: 0px !important;
}

.project-selection-card-style {
    position: absolute;
    left: 0%;
    top: 101%;
    background-color: rgb(255, 255, 255);
    user-select: none;
    z-index: 500;
    overflow: auto;
    border: 1px solid #BFBFBF;
    box-shadow: 6px 6px 7px #aaaaaa;
}

.hidden {
    display: none !important;
}

.navbar-style {
    box-shadow: 1px 1px #d6d0d0;
    padding: 0px 0px 0px 0px;
}

.nav-horizontal-scrbar-style {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
}

.justify-content-end {
    transform: translateX(0);
    left: 0;
}

.proj-selection-icon-color {
    fill: #242424;
}

.proj-selection-text-style {
    color: #242424;
    font-size: 14px;
    font-family: 'Segoe UI';
}

.proj-selection-divider-color {
    color: #E0E0E0;
}

.proj-grid-menu-text-style {
    color: #323130 !important;
    font-size: 14px;
}

.top-bottom-navbar-bac-color {
    background-color: #001029 !important;
}

.cirle-div-style {
    width: 32px;
    height: 32px;
    margin-top: 3px;
    border-radius: 50%;
    border: 1px solid white;
}

.white-text-style {
    font-size: 16px;
    color: white !important;
}

.myTelerikEditor div.k-editor-content div.k-content {
}

.hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.hide-scrollbar {
    overflow-y: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.hide-scrollbar ::-webkit-scrollbar {
    display: none;
}

.show-scrollbar {
    overflow-y: scroll;
    display: block;
    -ms-overflow-style: scrollbar; /* IE and Edge */
    scrollbar-width: thin; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.show-scrollbar ::-webkit-scrollbar {
    display: block;
}


.k-form-submit {
    background-color: #0078D4 !important;
    height: 34px !important;
    min-width: 76px !important;
    border: 1px;
    border-radius: 4px;
    color: #FFFFFF !important;
    text-align: center !important;
    text-decoration: none;
}

.beckground-transparent-button {
    background-color: #0078D4;
    height: 34px;
    border: 1px;
    border-radius: 2px;
    color: #8A8886;
    text-align: center;
    text-decoration: none;
}

.beckground-white-button {
    background-color: #ffff;
    height: 32px;
    border: #8A8886 1px solid;
    border-radius: 4px;
    color: #323130;
    text-align: center;
    text-decoration: none;
    width: 76px;
}

.cancel-custom-Button-style {
    margin-left: 10px;
    width: 86px;
}

.edit-custom-Button-style {
    margin-left: 20px;
}

.add-custom-Button-style {
    margin-left: 20px;
}

.accordian-header-style {
    line-height: 30px;
    font-size: 14px !important;
    color: #201F1E;
    background-color: #F0F0F0;
    padding: 6px 15px 6px 15px;
}

.accordian-content-style {
    color: #323130 !important;
    font-size: 14px !important;
}

.custom-card-header-style {
    line-height: 30px;
    font-size: 14px !important;
    padding: 4px 0px 0px 10px;
    margin: 0px;
    background-color: #F0F0F0;
}

.card-footer {
    border: none;
    background-color: transparent;
}

.accordion-button:not(.collapsed) {
    color: #323130;
    background-color: #F0F0F0;
    cursor: pointer;
}

.content-label-style {
    font-size: 14px;
    font-weight: 600;
    color: #323130;
}

.content-style {
    font-size: 14px;
    font-weight: 400;
    color: #323130;
}

.header-label-style {
    font-size: 14px;
    color: #201F1E;
    font-weight: 600;
}

.card-body {
    padding: 4px 8px 1px 10px;
}

.card-footer {
    padding: 4px 8px 8px 10px;
}

.k-treeview-leaf-text {
    font-size: 13px;
    color: #323130;
}

.header {
    height: 37px;
}

.k-menu:not(.k-context-menu) > .k-item {
    color: var(--neutral-foreground-rest);
}
.accordion-button {
    cursor: pointer;
}

/*.accordion-button::after {
    pointer-events: all;
}*/
.header-slot {
    Position: absolute;
    margin-left: 18%;
    z-index: 1000;
}

.systemref-container {
    width: 300px;
    border: 2px solid red;
    border-radius: 15px;
    padding: 10px;
    font-family: Arial, sans-serif;
    text-align: center;
}

.systemref-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .systemref-header img {
        height: 37px;
    }

    .systemref-header span {
        font-size: 14px;
        font-weight: bold;
    }

.systemref-section {
    margin: 5px 0;
    padding: 5px;
    color: white;
    font-weight: bold;
    border: 3px solid black;
}

.systemref-gray {
    background-color: gray;
}

.systemref-red {
    background-color: red;
}

.systemref-yellow {
    background-color: yellow;
    color: black;
}

.systemref-green {
    background-color: green;
}

.systemref-blue {
    background-color: blue;
}

.systemref-white {
    background-color: white;
    color: black;
}

.systemref-heading {
    font-size: 19px;
    font-weight: bold;
}

.systemref-signature {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.k-tabstrip-items .k-link {
    color: black !important;
}
.no-border-card {
    border: none !important;
    box-shadow: none !important;
}
.text-underline{
    text-decoration: underline;
}

.card-title-style {
    font-family: Segoe UI;
    font-size: 16px;
    font-weight: 600 !important;
    line-height: 22.4px;
    text-align: left;
    color: #201F1E;
}

.card-label-style {
    font-family: Segoe UI;
    font-size: 14px;
    font-weight: 700;
    line-height: 16.8px;
    text-align: left;
    color: #323130;
}

.card-value-style {
    font-family: Segoe UI;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
    text-align: left;
    color: #323130;
}

.card-attachment-style {
    font-family: Segoe UI;
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
    text-align: left;
    color: #323130;
}
/*.powerbi-iframe-container {
    position: relative;
}

.powerbi-iframe-container > iframe > notification-bar 
{
    display: none;
}*/

.k-grid-content {
    overflow-y: auto !important; /* Restore scrollbars */
    -ms-overflow-style: auto; /* IE and Edge */
    scrollbar-width: thin; /* Firefox */
}

.k-grid-content::-webkit-scrollbar {
        display: block; /* Ensure scrollbar is visible */
}

.disabled-link {
    pointer-events: none;
    opacity: 0.5; /* Optional: reduce opacity to visually indicate the item is disabled */
}
.cutom-nav-link {
    cursor: pointer;
    text-decoration: none;
    color: black;
    padding: 10px 15px; /* Ensure enough spacing */
    position: relative;
    font-size: 16px;
    display: inline-block; /* Prevents unwanted shifting */
}

.cutom-nav-link::after {
    content: "";
    position: absolute;
    left: 0%;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #0078D4 !important;
}

.cutom-nav-link.active::after {
    width: 100%;
    background-color: #0078D4 !important;
}

.popup-notification-container {
    max-height: 500px; /* Retain scrolling behavior */
    overflow-y: auto; /* Enable vertical scrolling */
    position: absolute; /* Position relative to the parent container */
    top: 100%; /* Position it directly below the bell icon */
    right: 0; /* Align it to the right edge of the parent container */
    width: 350px; /* Optional: Set a fixed width for the container */
    z-index: 1200; /* Ensure it appears above other elements */
    background-color: transparent; /* Make the container fully transparent */
    border: none; /* Remove the border */
    box-shadow: none; /* Remove the shadow */
    padding: 0; /* Remove padding */
}

.popup-notification {
    margin-bottom: 10px; /* Add spacing between notifications */
    background-color: #fff; /* Optional: Add a background color */
    border: 1px solid #ddd; /* Optional: Add a border */
    border-radius: 5px; /* Optional: Add rounded corners */
    padding: 10px; /* Optional: Add padding */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow */
}

.popup-notification:last-child {
    margin-bottom: 0; /* Remove margin for the last notification */
}

@keyframes slide-in {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.tb-icon-container {
    position: relative;
    display: inline-block;
}

/* Style for left icon (search) */
.icon-left {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

/* Style for right icon (clear) */
.icon-right {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    z-index: 2;
    cursor: pointer;
}

/* Add padding so input text doesn’t overlap icons */
.tb-icon-container .k-textbox input {
    padding-left: 2em;
    padding-right: 2em;
}

.accessible-close-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.25rem;
    cursor: pointer;
    color: inherit;
}

    .accessible-close-btn:focus {
        outline: 2px solid #0078d4;
        outline-offset: 2px;
    }

/* High Contrast Mode Styling */
@media (forced-colors: active) {
    .accessible-close-btn {
        color: ButtonText !important;
    }
}

/* Normal mode: ensure some visible focus outline */
.k-tabstrip .k-item:focus,
.k-tabstrip .k-item.k-focus {
    outline-offset: 2px;
    box-shadow: none
}

/* High contrast mode support */
@media (forced-colors: active) {
    .k-tabstrip .k-item:focus,
    .k-tabstrip .k-item.k-focus {
        outline: 2px solid Highlight !important;
        outline-offset: 2px;
        color: ButtonText !important;
        background: Window !important;
    }
}

.hc-btn:focus {
    outline: 2px solid #005a9e; /* Blue outline in normal mode */
    outline-offset: 2px;
}

/* High contrast mode support */
@media (forced-colors: active) {
    .hc-btn:focus {
        outline: 2px solid Highlight !important;
        outline-offset: 2px;
    }
}

.grid-cell:focus {
    outline: 2px solid #005a9e; /* Blue outline in normal mode */
    outline-offset: -2px;
}

/* High contrast mode support */
@media (forced-colors: active) {
    .grid-cell:focus {
        outline: 2px solid Highlight !important;
        outline-offset: -2px;
    }
}

.padding-5px{
    padding: 5px !important;
}

.box-shadow-none {
    box-shadow: none !important;
}

.accordion-button:focus {
    outline: 1px solid Highlight;
    outline-offset: 1px;
    forced-color-adjust: none;
}

@media (forced-colors: active) {
    .expand-collapse-btn {
        background-color: ButtonText !important;
    }

    .edit-custom-Button-style {
        background-color: Highlight !important;
        color: HighlightText !important;
        border: 1px solid HighlightText;
    }
}

.padding-3px {
    padding: 3px !important;
}

.min-grid-height {
    min-height: 25rem;
    max-width: 100%;
    overflow: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.no-focus-style:focus {
    outline: none;
    box-shadow: none;
}