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

:root {
    font-size: var(--rz-root-font-size);
    --rz-white: #ffffff;
    --rz-black: #000000;
    --rz-base-50: #f4f4f4; /****************************GRIGIO BG IFAS*/
    --rz-base-100: #f3f2f1;
    --rz-base-200: #edebe9;
    --rz-base-300: #d2d0ce;
    --rz-base-400: #a19f9d;
    --rz-base-500: #8a8886;
    --rz-base-600: #605e5c;
    --rz-base-700: #616161;
    --rz-base-800: #323130;
    --rz-base-900: #201f1e;
    --rz-primary: #134A88 !important; /****************************BLU IFAS*/
    --rz-primary-light: #3c86ff;
    --rz-primary-lighter: #deedf9;
    --rz-primary-dark: #006cbf;
    --rz-primary-darker: #005a9f;
    --rz-secondary: #8a8886;
    --rz-secondary-light: #c5c4c3;
    --rz-secondary-lighter: #f0f0ef;
    --rz-secondary-dark: #7c7a79;
    --rz-secondary-darker: #686665;
    --rz-info: #00b7c3;
    --rz-info-light: #80dbe1;
    --rz-info-lighter: #def6f7;
    --rz-info-dark: #00a5b0;
    --rz-info-darker: #008992;
    --rz-success: #107c10;
    --rz-success-light: #88be88;
    --rz-success-lighter: #e0eee0;
    --rz-success-dark: #0e700e;
    --rz-success-darker: #0c5d0c;
    --rz-warning: #ffc80a;
    --rz-warning-light: #ffe485;
    --rz-warning-lighter: #fff8df;
    --rz-warning-dark: #e6b409;
    --rz-warning-darker: #bf9608;
    --rz-danger: #a4262c;
    --rz-danger-light: #d29396;
    --rz-danger-lighter: #f3e3e4;
    --rz-danger-dark: #942228;
    --rz-danger-darker: #7b1d21;
    --rz-text-font-family: 'Rajdhani', sans-serif !important; /****************************FONT IFAS*/
    --rz-body-background-color: #edf2ff !important; /****************************FONT IFAS*/
    --rz-sidebar-background-color: #134A88 !important; /****************************BG Menu IFAS*/
    --rz-panel-menu-background-color: #081641 !important;
    --rz-panel-menu-item-border: #093985 !important;
    --rz-checkbox-border-width: #89898b !important;
    --rz-body-font-size: 16px;
    --rz-link-color: #134A88 !important;
    --rz-text-subtitle2-font-size: 20px;
    --rz-grid-cell-font-size: 16px;
    --rz-text-overline-font-size: 12px;
    --rz-sidebar-background-color: #032a55 !important;
    --rz-text-h1-color: #ED7F00;
    --rz-text-subtitle2-color: #134A88;
    --rz-grid-header-background-color: #c7dcf2;
}

.rz-button .rz-button-text {
    font-size: 16px;
    letter-spacing: 0.5px;
}

body {
    font-family: var(--rz-text-font-family);
    color: var(--rz-text-color);
    font-size: var(--rz-body-font-size);
    line-height: var(--rz-body-line-height);
    background-color: var(--rz-body-background-color);
    font-weight: 500;
}

.rz-body {
    --rz-body-padding: 0;
    background-color: var(--rz-body-background-color);
}

a {
    color: var(--rz-link-color);
}

.rz-link {
    color: var(--rz-link-color);
    font-weight: bold;
}

a:hover,
a:focus {
    color: var(--rz-link-hover-color);
}

.rz-text-overline {
    font-weight: bold;
    margin-bottom: 20px;
    display: block;
}

.rz-text-body2 {
    font-size: 16px !important;
}

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

    .blazor-error-boundary::after {
        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");
    }

.rz-sidebar {
    background-image: repeating-linear-gradient(-45deg, rgba(255,255,255, 0.10), rgba(255,255,255, 0.10) 1px, transparent 1px, transparent 13px);
    background-size: 4px 4px;
}

.rz-sider .rz-stack {
    position: absolute !important;
    bottom: 0 !important;
}

.rz-form-field.rz-variant-filled .rz-form-field-content {
    margin: 0 0 10px 0;
}

.rz-dialog-confirm .rz-dialog-titlebar-close {
    display: none !important;
}

.item-text {
    font-size: 15px;
}

.rz-text-h1 {
    font-size: 40px;
}

.rz-stack rz-display-flex rz-flex-column rz-align-items-center rz-justify-content-normal rz-py-4 rz-py-lg-6 {
    color: #fff !important;
}

.rz-steps [role=tablist] {
    display: flex;
}

.rz-steps .rz-steps-item:not(:last-child) {
    flex: auto;
    display: flex;
    align-items: center;
}

    .rz-steps .rz-steps-item:not(:last-child):after {
        display: block;
        content: "";
        flex: auto;
        height: 1px;
        margin-right: 16px;
        background-color: var(--rz-base-300);
    }

.rz-textbox,
.rz-dropdown {
    width: 100%;
    margin-bottom: 5px;
}

    .rz-textbox::placeholder,
    .rz-placeholder {
        font-size: 14px;
        font-style: italic;
    }

.rz-text-caption {
    font-size: 14px;
    font-weight: 500;
    color: #242424;
    text-transform: uppercase;
}

.rz-tabview-title {
    font-size: 16px;
    font-weight: bold;
}

.ErrorPage {
    text-align: center;
}

    .ErrorPage img {
        width: 45%;
        margin: 0 auto 0px auto;
        display: block;
    }

.inputFile {
    font-size: 12px;
    width: 75px;
}

/***************************************************DASHBBOARD VALENTINA*/
.CardDashboard {
    background-color: #E4E9FC;
    border-radius: 10px;
    padding: 20px;
}

.BtnDashoard {
    border-radius: 20px !important;
    position: relative;
    height: 120px;
    margin-bottom: 20px;
}

    .BtnDashoard .rz-button {
        display: block !important;
        padding: 0 !important;
        width: 100%;
        height: 100%;
        box-shadow: none !important;
        border: none !important;
        background-color: transparent !important;
    }

        .BtnDashoard .rz-button:hover {
        }

        .BtnDashoard .rz-button .rzi {
            position: absolute;
            top: 20px;
            left: 20px;
            background-color: #ffffff2a;
            padding: 17px;
            border-radius: 5px;
            font-size: 25px !important;
        }

    .BtnDashoard .rz-button-box {
        display: block;
    }

    .BtnDashoard .rz-button p,
    .BtnDashoard a p {
        font-weight: bold;
        color: #ffffff;
        font-size: 15px !important;
        line-height: 16px;
        margin-top: 5px;
        position: absolute;
        bottom: 5px;
        text-align: left;
        left: 20px;
        right: 20px !important;
    }

    .BtnDashoard .rz-button:hover p,
    .BtnDashoard a p {
        text-decoration: underline;
    }

    .BtnDashoard .rz-button:hover .rzi {
        font-size: 30px !important;
    }

.BtnDashoard_Profilo,
.BtnDashoard_Profilo:hover {
    background-image: url(../images/Dashboard/BoxDashboard/Box_Arancio.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
    padding: 20px !important;
}

.BtnDashoard_Notifiche,
.BtnDashoard_Notifiche:hover {
    background-image: url(../images/Dashboard/BoxDashboard/Box_Giallo.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashoard_AutorizzazioneMissione,
.BtnDashoard_AutorizzazioneMissione:hover {
    background-image: url(../images/Dashboard/BoxDashboard/Box_blu.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashoard_RimborsoSpese,
.BtnDashoard_RimborsoSpese:hover {
    background-image: url(../images/Dashboard/BoxDashboard/Box_Celeste.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashoard_Documento,
.BtnDashoard_Documento:hover {
    background-image: url(../images/Dashboard/BoxDashboard/Box_Verde.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashoard_RichiestaAcquisto,
.BtnDashoard_RichiestaAcquisto :hover {
    background-image: url(../images/Dashboard/BoxDashboard/Box_Viola.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashoard_Contratto,
.BtnDashoard_Contratto:hover {
    background-image: url(../images/Dashboard/BoxDashboard/Box_ViolaL.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashoard_OrdineSpesa,
.BtnDashoard_OrdineSpesa:hover {
    background-image: url(../images/Dashboard/BoxDashboard/Box_Rosa.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashoard_Factorial,
.BtnDashoard_Factorial:hover {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../images/Dashboard/BoxDashboard/Box-03.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnDashoard_Wildix,
.BtnDashoard_Wildix:hover {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../images/Dashboard/BoxDashboard/Box-04.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BoxStatistiche {
}

    .BoxStatistiche .col-lg-2 div {
        background-color: #EEF2FF;
        border-radius: 10px;
        margin-bottom: 10px;
        position: relative;
        height: 100px;
        display: block;
        width: 100% !important;
        position: relative;
    }

        .BoxStatistiche .col-lg-2 div img {
            width: 50px;
            position: absolute;
            top: 15px;
            right: 20px;
        }

        .BoxStatistiche .col-lg-2 div span {
            font-size: 25px;
            font-weight: bold;
            color: #134A88;
            position: absolute;
            top: 30px;
            right: 20px;
            display: block;
        }

        .BoxStatistiche .col-lg-2 div small {
            text-align: right;
            display: block;
            line-height: 15px;
            color: #134A88;
            padding: 60px 20px 0 0;
            width: 100% !important;
        }

    .BoxStatistiche .col-lg-2 .rz-button {
        width: 100% !important;
        height: 100%;
        background-color: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
    }

        .BoxStatistiche .col-lg-2 .rz-button:hover div {
            background-color: #dbe3ff !important;
        }

        .BoxStatistiche .col-lg-2 .rz-button .rz-button-box {
            width: 100%;
        }

.ListaDocumenti {
    height: 363px;
    overflow-y: scroll;
}

    .ListaDocumenti .rz-g .row {
        background-color: #fff;
        margin: 0;
        margin-bottom: 5px;
        border-left: 2px solid #134A88;
        padding: 5px 10px;
    }

    .ListaDocumenti .col-md-1 .rzi {
        color: #ED7F00;
        background-color: #EEF2FF;
        padding: 15px;
        border-radius: 50px;
    }

    .ListaDocumenti .rz-datalist-content .rz-g {
        display: block !important;
        margin: 0;
    }

.ListaNotifiche {
    height: 260px;
    overflow-y: scroll;
}

    .ListaNotifiche .rz-g div {
        background-color: #ffffff;
        margin: 0;
        margin-bottom: 10px;
        border-left: 2px solid #134A88;
        display: block;
        padding: 10px;
    }

    .ListaNotifiche p {
        padding: 0 !important;
    }

.GridRiunioni {
    height: 200px;
    overflow-y: scroll;
}

/***************************************************FINE DASHBBOARD VALENTINA*/
/***************************************************IMPORT VALENTINA*/

.BtnImport_Beneficiari,
.BtnImport_Beneficiari:hover {
    background-image: url(../images/ImportImg/01.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnImport_Distinte,
.BtnImport_Distinte:hover {
    background-image: url(../images/ImportImg/02.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}

.BtnImport_CSV,
.BtnImport_CSV:hover {
    background-image: url(../images/ImportImg/03.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}
.BtnImport_Fornitore,
.BtnImport_Fornitore:hover {
    background-image: url(../images/ImportImg/04.svg) !important;
    background-size: cover !important;
    background-position: top center !important;
    border-radius: 20px !important;
}
/***************************************************FINE IMPORT VALENTINA*/

.clearWrap {
    white-space: break-spaces !important;
    overflow: visible !important;
}

.rz-panel-menu {
    background-color: transparent;
}

    .rz-panel-menu .rz-navigation-item-wrapper-active {
        background-color: var(--rz-primary) !important;
    }

    .rz-panel-menu .rz-navigation-item-link:hover {
        background-color: #1b6ec2 !important;
    }

    .rz-panel-menu .menuPrincipale .rz-navigation-item-icon {
        font-size: 13px !important;
        color: #ed7f00;
    }

    .rz-panel-menu .menuSecondario {
        padding: 0 0 0 15px
    }

        .rz-panel-menu .menuSecondario .rz-navigation-item-icon {
            font-size: 14px !important;
        }

        .rz-panel-menu .menuSecondario .menuServizio {
            padding: 0;
        }

    .rz-panel-menu .menuServizio {
        padding: 0 0 0 15px
    }

        .rz-panel-menu .menuServizio .rz-navigation-item-wrapper .rz-navigation-item-icon {
            font-size: 22px !important;
        }

    .rz-panel-menu .rz-navigation-menu .rz-navigation-item-wrapper {
        background-color: transparent;
        font-weight: bold;
    }

    .rz-panel-menu .rz-navigation-menu .rz-navigation-menu .rz-navigation-item-wrapper {
        background-color: transparent !important;
        font-weight: bold;
        margin: 0px 5px 0 15px;
    }

.rz-selectable tbody tr.rz-data-row.rz-state-highlight .rz-cell-data {
    color: var(--rz-primary);
}

.DialogClose {
    position: absolute;
    top: 10px;
    right: 22px;
}

.linkOdS,
.linkOdS:hover {
    background-color: var(--rz-info-lighter);
    color: var(--rz-on-info-lighter);
    padding: 0.125rem;
}

.linkButton {
    background-color: var(--rz-success);
    color: var(--rz-on-success);
    box-shadow: none !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    height: auto;
    line-height: 1.25rem;
    min-height: 2.25rem;
    min-width: 2.25rem;
    -webkit-appearance: none;
    display: inline-block;
    border-radius: var(--rz-button-border-radius);
    border: none;
    outline: none;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-align: center;
}

    .linkButton:hover {
        background-color: #2e8f2d;
        color: var(--rz-on-success);
        text-decoration: none !important;
    }

    .linkButton i {
        margin-right: 5px;
    }

.linkButtonBlu {
    background-color: var(--rz-primary);
    color: var(--rz-on-success);
    box-shadow: none !important;
    font-weight: 600;
    padding: 0.5rem 1rem;
    height: auto;
    line-height: 1.25rem;
    min-height: 2.25rem;
    min-width: 2.25rem;
    -webkit-appearance: none;
    display: inline-block;
    border-radius: var(--rz-button-border-radius);
    border: none;
    outline: none;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-align: center;
}

    .linkButtonBlu:hover {
        background-color: #2A5C93;
        color: var(--rz-on-primary);
        text-decoration: none !important;
    }

    .linkButtonBlu i {
        margin-right: 5px;
    }

.rz-security-code {
    margin: 20px 0;
}

    .rz-security-code .rz-textbox {
        border: 1px solid #bcc2c7;
        min-height: 50px;
    }

.SezioneCeleste {
    background-color: #ecf1f5;
    padding: 20px;
    border-radius: 10px;
    border-bottom: 2px solid #134A88;
    border-top: 2px solid #134A88;
}

    .SezioneCeleste .row {
        margin-bottom: 5px !important;
    }

.tableRipartizioni thead {
    display: none !important;
}

.rz-dropdown-items-wrapper, .rz-multiselect-items-wrapper {
    overflow: auto;
    margin: var(--rz-dropdown-items-margin);
    border-radius: var(--rz-input-border-radius);
    /**richiesto da Matteo in data 13 ottobre 2025*/
    border: 1px solid #134a89 !important;
    box-shadow: #555 6px 6px 6px !important;
}

@media only screen and (max-width: 1300px) {

    .rz-button span span {
        display: none !important;
    }
}
