@import '/_content/Microsoft.FluentUI.AspNetCore.Components/css/reboot.css';
@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --main-font: Arial, sans-serif;
    --bg-darkgreen: darkgreen;
    --text-white: white;
    --bg-black: black;
    --datagrid-hover-color: lightyellow;
    /*#b3fff0*/
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    --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);
}

.navmenu-icon {
    display: none;
}
#navmenu-toggle {
    display: none;
}
.main {
    height: calc(100dvh - 87.5px);
    color: var(--neutral-foreground-rest);
}

.content {
    padding: 0.5rem !important; /* AMDC, make all sides of the body content to have the same padding  */
    display: block;
}
/*RC Cardinal*/
.body-stack {
    flex-direction: row;
    height: calc(100dvh - 87.5px);
    color: var(--neutral-foreground-rest);
}
div.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: white;
    padding: 3px 0;
    font-size: 12px;
    z-index: 1000;
}

div.sticky-bottom {
    /*background-color: #007BFF;*/ /* Example color */
    /*color: white;*/
    padding: 5px;
    position: sticky;
    bottom: 0; /* Stick to the bottom */
    z-index: 2000;
}

.paginator {
    margin-top: 0!important;
    padding: 0!important;
    gap:0.25rem
}

fluent-badge {
    font-size: 16px !important;
}

fluent-text-field {
    min-width: 100% !important;
}

.flexcboEnabled {
    height: 2rem; /*fluent combobox*/
}

.flexcboDisabled {
    height: 1.75rem; /*fluent combobox*/
}

.InputTextHeight {
    height: 1.75rem; /*customized height for input text box*/
}

.table > :not(caption) > * > * {
    padding: .25rem .25rem !important;
}

/*footer {
    display: grid;
    grid-template-columns: 10px auto auto 10px;
    background: var(--neutral-layer-4);
    color: var(--neutral-foreground-rest);
    align-items: center;
    padding: 10px 10px;
}

    footer .link1 {
        grid-column: 2;
        justify-content: start;
    }

    footer .link2 {
        grid-column: 3;
        justify-self: end;
    }

    footer a {
        color: var(--neutral-foreground-rest);
        text-decoration: none;
    }

        footer a:focus {
            outline: 1px dashed;
            outline-offset: 3px;
        }

        footer a:hover {
            text-decoration: underline;
        }*/

.alert {
    border: 1px dashed var(--accent-fill-rest);
    padding: 5px;
}


#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;
    margin: 20px 0;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::before {
        content: "An error has occurred. "
    }

.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");
    }

code {
    color: #c02d76;
}
/* START: AMDC  Custom Settings*/
.expander {
    margin: 0 !important /* //AMDC, Adjusts the margin of the top menu item expander to same level as body content */
}

.fluent-nav-menu {
    padding: 0 !important; /* AMDC, Allows both main menu and sub-menu to have align with the navigation container*/
}

.fluent-nav-item {
    margin-bottom: 0 !important; /* AMDC, makes all main and sub-menu to have the same spacing */
}
/*@media (max-width: 3840px) {
    .navmenu {
        width: auto;
        min-width: fit-content;
        height: 89vh !important;*/ /* AMDC, set up for bigger screen to set limit to the navigation height and not overlap the footer*/
        /*max-height: 89vh !important;*/ /*AMDC, set up for bigger screen to set limit to the navigation height and not overlap the footer*/
        /*overflow-y: auto;
        overflow-x: hidden;
    }
}*/
/* END: AMDC  Custom Settings*/

nav.sitenav {
    display: block;
    padding: 0 0.5rem;
    height: calc(100dvh - 86px);
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--accent-fill-rest);
}

.siteheader {
    /*background-color: var(--neutral-layer-4) !important;*/
    border-bottom: calc(var(--stroke-width) * 2px) solid var(--accent-fill-rest);
    margin-bottom: 0 !important;
}
   
#navmenu-toggle-button {
    display: none;
}
.fluent-persona > .name {
    display: block;
}
@media (max-width: 600px) {
    /*.main {
        flex-direction: column !important;
        row-gap: 0 !important;
    }*/

    /*nav.sitenav {
        width: 100%;
        height: 100%;
    }*/
    .fluent-persona > .name {
        display: none;
    }
    .siteheader {
        grid-area: header;
        grid-template-columns: 150px 1fr;
        align-items: center;
        justify-content: flex-start;
    }

    footer {
        display: none !important;
    }
    #main-menu {
        width: 100% !important;
        padding: 0 2px;
        height: 100%;
    }

        #main-menu > div:first-child:is(.expander) {
            display: none;
        }
    .body-stack {
        flex-direction: column !important;
        row-gap: 0 !important;
    }
    nav.sitenav {
        width: 100%;
        height: calc(100dvh - 50px);
    }

    .navmenu {
        width: 100%;
        /*height: initial;*/ /* AMDC, set up for bigger screen to set limit to the navigation height and not overlap the footer*/
        /*max-height: initial;*/ /*AMDC, set up for bigger screen to set limit to the navigation height and not overlap the footer*/
    }

    /*#navmenu-toggle {
        appearance: none;
    }      

        #navmenu-toggle:checked ~ nav {
            display: block;
        }

    .navmenu-icon {
        cursor: pointer;
        z-index: 10;
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        width: 20px;
        height: 20px;
        border: none;
    }*/
    #navmenu-toggle {
        display: none;
    }

    #navmenu-toggle-button {
        appearance: none;
        cursor: pointer;
        z-index: 10;
        display: block;
        visibility: visible;
        position: absolute;
        top: 16px;
        right: 1.5rem;
        width: 20px;
        height: 20px;
        border: none;
        color: white;
        background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' style='width: 20px; fill: white;' focusable='false' viewBox='0 0 20 20'><path d='M2 4.5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5Zm0 5c0-.28.22-.5.5-.5h15a.5.5 0 0 1 0 1h-15a.5.5 0 0 1-.5-.5Zm.5 4.5a.5.5 0 0 0 0 1h15a.5.5 0 0 0 0-1h-15Z'></path></svg>");
    }

    #navmenu-toggle ~ nav {
        display: none;
    }

    #navmenu-toggle:checked ~ nav {
        display: block;
    }

    .content {
        flex-direction: column;
    }
}
/*//AMDC Customization*/
/*@media (max-width: 375px) {
    .navmenu {
        width: 100%;
        min-width: fit-content;*/
        /*height: 100%;*/
        /*max-height: 30vh;*/ /*AMDC, set up for bigger screen to set limit to the navigation height and not overlap the footer*/
        /*overflow-y: auto;
        overflow-x: auto;
    }
}*/

/*Start - RC Cardinal*/
/*@media (min-width: 900px) and (max-width: 1000px) {
    nav.sitenav {
        width: 10rem;
        background-color: azure;
    }
}

@media (min-width: 1001px) and (max-width: 1200px) {
    nav.sitenav {
        width: 18rem;
        background-color: black;
    }
}

@media (min-width: 1101px) and (max-width: 1300px) {
    nav.sitenav {
        width: 24rem;
        background-color: antiquewhite;
    }
}

@media (min-width: 1301px) and (max-width: 1400px) {
    nav.sitenav {
        width: 30rem;
        background-color: aqua;
    }
}*/
/*End - RC Cardinal*/

.bg-image {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    background-image: url(/images/app/LoginBackground.png);
    background-size: cover;
    background-repeat: no-repeat;
}

div.stack-horizontal.main {
    row-gap: 0 !important;
    column-gap: 0 !important;
}

.header .header-gutters {
    margin: 0.5rem !important;
}

footer {
    position: fixed;
    bottom: 0;
    margin-top: auto;
    display: grid;
    grid-template-columns: auto auto auto;
    background-color: var(--accent-fill-rest);
    padding: 5px;
}

    footer a {
        color: white;
        text-decoration: none;
        cursor: pointer;
    }

        footer a:focus {
            color: gold;
            outline: 1px dashed;
            outline-offset: 3px;
        }

        footer a:hover {
            text-decoration: underline;
            color: gold;
        }

.link1 {
    background-color: var(--accent-fill-rest);
    border: none;
    padding: 5px;
    font-size: calc(10% + 9px);
    text-align: left;
    color: white;
}

.link2 {
    background-color: var(--accent-fill-rest);
    border: none;
    padding: 5px;
    font-size: calc(10% + 9px);
    text-align: center;
    color: white;
}

.link3 {
    background-color: var(--accent-fill-rest);
    border: none;
    padding: 5px;
    font-size: calc(10% + 9px);
    text-align: right;
    color: white;
}

.btn-crud {
    width: 7.5rem;
    background-color: green;
    color: white;
    padding: 0.25rem;
    margin: 0.25rem 0;
}

.btn-task-icon {
    width: 1.75rem;
    height: 1.75rem;
}

/*.fluent-nav-menu-group-bordered {
    border: 2px solid #ccc;*/ /* Adjust the border size and color as needed */
    /*padding: 1px;*/ /* Adjust padding as needed */
    /*margin: 10px;*/ /* Adjust margin as needed */
/*}

.fluent-data-grid-bordered {
    border: 2px solid #ccc;*/ /* Adjust the border size and color as needed */
    /*border-collapse: collapse;
}

    .fluent-data-grid-bordered th, .fluent-data-grid-bordered td {
        border: 1px solid #ccc;*/ /* Adjust the border size and color as needed */
        /*padding: 8px;
    }

.fluent-grid-row-even {
    background-color: #b7e2fc;*/ /*  #87CEFAAdjust the background color as needed */
    /*color: black;*/ /*#ffffff;*/ /* Adjust the text color as needed */
    /*border-top: solid 1px black;
}

    .fluent-grid-row-even fluent-data-grid-cell {
        color: black;
    }

    .fluent-grid-row-even:has(:hover) {
        color: black;
    }

.fluent-grid-row-odd {
    background-color: #ffffff;*/ /* Adjust the background color as needed */
    /*color: #333333;*/ /* Adjust the text color as needed */
    /*border-top: solid 1px black;
}*/

/* Ensure you add these styles to your CSS file */
/*.fluent-data-grid fluent-data-grid-row[role="rowheader"] {
    background-color: lightyellow;*/ /* Adjust the background color as needed */
    /*color: #333333;*/ /* Adjust the text color as needed */
/*}
.fluent-data-grid thead th {
    background-color: dodgerblue;
    color: lightyellow;
}*/

.fluent-nav-menu-group-bordered {
    border: 2px solid #ccc; /* Adjust the border size and color as needed */
    padding: 1px; /* Adjust padding as needed */
    /*margin: 10px;*/ /* Adjust margin as needed */
}

.fluent-data-grid-bordered {
    border: 2px solid #ccc; /* Adjust the border size and color as needed */
    border-collapse: collapse;
}

    .fluent-data-grid-bordered th, .fluent-data-grid-bordered td {
        border: 1px solid #ccc; /* Adjust the border size and color as needed */
        padding: 8px;
    }

.fluent-grid-row-even {
    background-color: #b7e2fc; /*  #87CEFAAdjust the background color as needed */
    color: black; /*#ffffff;*/ /* Adjust the text color as needed */
    border-top: solid 1px black;
}

    .fluent-grid-row-even fluent-data-grid-cell {
        color: black;
    }

    .fluent-grid-row-even:has(:hover) {
        color: black;
    }

.fluent-grid-row-odd {
    background-color: #ffffff; /* Adjust the background color as needed */
    color: #333333; /* Adjust the text color as needed */
    border-top: solid 1px black;
}

/* Ensure you add these styles to your CSS file */
.fluent-data-grid fluent-data-grid-row[role="rowheader"] {
    background-color: lightyellow; /* Adjust the background color as needed */
    color: #333333; /* Adjust the text color as needed */
}

fluent-data-grid thead th {
    background-color: dodgerblue;
    color: lightyellow;
}

.fluent-data-grid .header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: white;
}

.sticky-header {
    position: sticky; /* Make the div sticky */
    top: 0; /* Position it at the top */
    background-color: steelblue; /* Background color */
    color: white;
    padding: 10px; /* Padding */
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/ /* Optional shadow for effect */
    z-index: 100; /* Ensure it stays above other content */
}

.sticky-header-main {
    position: sticky; /* Make the div sticky */
    top: 0; /* Position it at the top */
    background-color: steelblue; /* Background color */
    color: white;
    padding: 10px; /* Padding */
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/ /* Optional shadow for effect */
    z-index: 200; /* Ensure it stays above other content */
}

.equal-width {
    display: flex;
}

    .equal-width > div {
        flex: 1; /* Ensures equal width */
        padding: 8px; /* Adjust padding as needed */
    }
