﻿.fsh-center-text {
    text-align: center !important;
}

.mud-button-filled {
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 30%), 0 2px 2px 0 rgb(0 0 0 / 0), 0 1px 5px 0 rgb(0 0 0 / 10%) !important;
}

.mud-dialog {
    box-shadow: 0 3px 1px -2px rgb(0 0 0 / 10%), 0 2px 2px 0 rgb(0 0 0 / 0), 0 10px 10px 0 rgb(0 0 0 / 5%) !important;
}
.e-grid .e-rowcell{
    padding: 12px 8px !important;
}
.mud-nav-link {
    white-space: normal !important;
    padding: 12px 16px 12px 38px;
}

    .mud-nav-link.active:not(.mud-nav-link-disabled) {
        border-right: 3px solid var(--mud-palette-primary);
        background-color: rgba(var(--mud-palette-primary-rgb), 0.1);
    }

.mud-table {
    padding: 20px !important;
    margin-bottom: 20px !important;
}

.mud-card {
    margin-bottom: 10px !important;
}

#blazor-error-ui {
    color: var(--mud-palette-drawer-text);
    background: var(--mud-palette-drawer-background);
}

.mud-overlay-dark {
    backdrop-filter: blur(2px);
}

.mud-card-header .mud-card-header-avatar {
    margin-inline-end: 10px !important;
}

.mud-nav-link {
    padding: 12px 16px 12px 15px !important;
}

.mud-dialog-content {
    /*max-height: 90vh !important;*/
    overflow: auto !important;
}

.mud-dialog-fullscreen {
    overflow: auto !important;
}

.mud-grid-spacing-xs-3 {
    width: 100% !important;
    margin: 0px !important;
    /*    margin-left: -12px !important;*/
}

.mud-table-toolbar {
    flex-wrap: wrap;
    margin-bottom: 20px !important;
}

::-webkit-scrollbar {
    width: 2px !important;
    height: 6px !important;
}

.fsh-nav-child {
    padding-left: 10px !important;
}

.mud-card-header-actions {
    margin-top: 0px !important;
}

.e-grid .e-gridheader .e-headercell .e-headercelldiv.e-headerchkcelldiv {
    padding: 0 0 0 5px !important;
}

.mt-4 {
    margin-top: 0px !important;
}

.mud-icon-button {
    padding: 0px !important;
}

.ma-4 {
    margin: 1rem;
}

.mr-2 {
    margin-right: 0.5rem;
}


/* Size class */
body .icon-small {
    font-size: 20px;
}

/* Color classes */
.icon-red {
    color: red;
}

.icon-green {
    color: green;
}


.icon-yellow {
    color: yellow;
}

/* Button Group*/
.e-btngrp-watch::before {
    content: '\e71b';
}

.e-btngrp-star::before {
    content: '\e710';
}

.e-btngrp-download::before {
    content: '\e712';
}

.e-btngrp-bold::before {
    content: '\e71a'
}

.e-btngrp-italic::before {
    content: '\e708';
}

.e-btngrp-underline::before {
    content: '\e703';
}

.button-group-section {
    width: 320px;
    margin: 0 auto;
    margin-top: 1.7%;
    margin-bottom: 1.7%;
}

.e-bigger .button-group-section {
    width: 350px;
}

.button-group-section .row {
    margin: 0 0 30px 0;
}

    .button-group-section .row:last-child {
        margin-bottom: 0;
    }

    .button-group-section .row .p:first-child {
        margin-top: 0;
    }

@media only screen and (max-width: 500px) {
    .button-group-section {
        margin-top: 0%;
        margin-bottom: 0%;
    }

    .button-group-container {
        overflow-y: scroll;
    }
}


/* Customizing Syncfusion Blazor DataGrid */
.e-grid {
    /*border: 1px solid rgba(var(--mud-palette-primary-rgb));*/ /* Primary color outer border */
    border-radius: 4px 4px 0 0;
}
    /* Customizing Syncfusion Blazor DataGrid headers */
    .e-grid .e-headercell {
        background-color: white; /* White background for headers */
        color: black; /* Black text color for contrast */
        font-family: Arial, sans-serif; /* Font style */
        font-size: 16px; /* Font size */
        font-weight: bold; /* Font weight */
        border-bottom: 3px solid rgba(var(--mud-palette-primary-rgb));
    }

    /* Styling for alternate row coloring in the DataGrid */
    
       

        /* Hover effect for rows */
        .e-grid .e-row:hover {
            background-color: lightcoral; /* Medium gray on hover */
        }

    /* Cell customization in the DataGrid */
    

.e-btn, .e-button, .e-control.e-btn {
    color: rgba(var(--mud-palette-primary-rgb)); /* Primary color text */
    /*border: 1px solid rgba(var(--mud-palette-primary-rgb));*/ /* Primary color border */
}


.e-toolbar-item {
    color: rgba(var(--mud-palette-primary-rgb));
}

.e-toolbar .e-toolbar-item .e-tbar-btn .e-icons {
    color: rgba(var(--mud-palette-primary-rgb));
}

.e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text {
    color: rgba(var(--mud-palette-primary-rgb));
}

.mud-main-content {
    padding-top: calc(var(--mud-appbar-height) - var(--mud-appbar-height) / 4);
}



/*new css*/

html, body {
    font-family: 'Work Sans';
    background-color: #f8f9fa;
}

a, .btn-link {
    color: #006bb7;
}

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

.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;
}

h1:focus {
    outline: none;
}

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

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1I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121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}


.no-hover:hover {
    background-color: #fbfbfb !important;
}

.e-toolbar .e-toolbar-items {
    background-color: white !important;
}

.fixed-button-width {
    min-width: 100px;
}

.custom-other-button {
    color: #089608 !important;
}

    .custom-other-button > .icon-button {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }

        .custom-other-button > .icon-button > div {
            padding-left: 4px;
        }

.e-primary > .icon-button {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

    .e-primary > .icon-button > div {
        padding-left: 4px;
    }

.icon-label {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

    .icon-label > div {
        padding-left: 4px;
    }



.e-grid .e-gridheader {
    border-bottom-style: solid;
    border-bottom-width: 0px !important;
    border-top-style: solid;
    border-top-width: 0px !important;
    color: #6b7280 !important;
}

/*.e-grid .e-headercell {
    background-color: transparent !important;
}*/
.e-grid .e-detailheadercell {
    /*    background-color: white !important;*/
}

.e-grid .e-headercelldiv {
    font-size: 13px !important;
    text-transform: none !important;
}

.e-btn {
    font-weight: 500 !important;
    text-transform: uppercase !important;
    font-family: 'Oswald' !important;
    color: #089608;
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12) !important;
    transition: box-shadow 0.3s ease-in-out !important;
    height: 2.2rem !important;
    margin-left: 5px;
    margin-right: 5px;
}

    .e-btn:hover {
        box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 5px 8px 0px rgba(0, 0, 0, 0.14), 0px 1px 14px 0px rgba(0, 0, 0, 0.12) !important;
    }

.e-btn-group > .e-btn {
    box-shadow: none !important;
    height: initial !important;
}

    .e-btn-group > .e-btn:hover {
        box-shadow: none !important;
    }

.e-btn.e-icon-btn.title-bar-btn, .e-rowcell > div > .e-caret-hide.e-btn.e-icon-btn.e-dropdown-btn {
    box-shadow: none !important;
}


.e-dialog .e-footer-content .e-btn {
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12) !important;
    min-width: 100px;
}

    .e-dialog .e-footer-content .e-btn:hover {
        color: black !important;
    }

.e-datepicker {
    border-bottom: 1px solid #e2e2e2 !important;
}

e-input-group, .e-input-group.e-control-wrapper {
    /*border: none !important;*/
    /* border-bottom: 1px solid !important;*/
    border-top: 0px !important;
    border-right: 0px !important;
    border-left: 0px !important;
    box-shadow: none !important;
    border-radius: unset !important
}

.e-toolbar .e-toolbar-item .e-tbar-btn {
    font-weight: 500 !important;
    text-transform: uppercase !important;
    font-family: 'Oswald' !important;
    color: #089608 !important;
    box-shadow: none !important;
    transition: box-shadow 0.3s ease-in-out !important;
    height: 2.2rem !important;
    background-color: #ffffff !important;
    border-color: #d1d5db;
}

    .e-toolbar .e-toolbar-item .e-tbar-btn:hover {
        background-color: #f2f2f2 !important;
        border-color: #d1d5db;
    }

    .e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text {
        color: #089608 !important;
    }

    .e-toolbar .e-toolbar-item .e-tbar-btn .e-icons {
        color: #089608 !important;
    }

.e-appbar e-control e-lib e-light {
    width: 100% !important;
    padding-left: 20px !important;
    padding-bottom: 20px !important;
}

.e-checkbox-wrapper {
}

.e-accordion {
    /*background: #fff !important;*/
}

.accordion-item .e-acrdn-header {
    /*background: #fff !important;*/
}


/* Ensuring the menu occupies the full width of the container */
.full-width-menu {
    background-color: white !important;
    /* padding: 10px 20px; */
    margin-top: 0px;
    display: block;
    box-shadow: 0 8px 11px -6px rgba(0, 0, 0, 0.12);
    margin-top: -1px;
    overflow-x: auto;
    height: var(--mud-appbar-height);
}
    .full-width-menu ul{
        width: 100%;
    }
    /* Styling menu items */
    .full-width-menu .e-menu-item {
        font-size: 16px; /* Text size */
        padding: 5px 15px; /* Spacing between items */
        text-align: left;
    }
    .full-width-menu ul{
        overflow-x: auto;
    }
    .full-width-menu .e-menu-item {
        min-width: 120px;
    }
        /* Hover effect for items */
        .full-width-menu .e-menu-item:hover {
            cursor: pointer;
        }

        /* Optionally, styling the active/selected menu item */
        .full-width-menu .e-menu-item.e-active {
        }


    .full-width-menu .e-menu-parent {
        padding: 0px;
        border-radius: 0px;
    }


    .full-width-menu ul.e-menu {
        display: flex !important;
        /*justify-content: space-evenly;*/
    }

        .full-width-menu ul.e-menu .menuitem {
            text-align: left;
        }


    .full-width-menu ul .e-menu-item .e-caret {
        position: relative !important;
        padding-left: 11px !important;
    }

.flex-container {
    display: flex;
    align-items: center; /* Center the items vertically */
    justify-content: left; /* Center items horizontally */
    background: white;
}

/* Vertical Divider */
.vertical-divider {
    border-left: 2px solid #ccc; /* Vertical line style */
    height: 100%; /* Ensure the divider stretches vertically */
    margin: 20px 16px; /* Margin to space the divider from other items (mx-4, my-5) */
    flex-grow: 1; /* Make it a flex item */
}