#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 {
    --rz-text-body1-font-size: var(--rz-body-font-size);
    --rz-text-body2-font-size: var(--rz-body-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: #1e2c52 !important; /****************************BLU IFAS*/
    --rz-primary-light: #2e4072;
    --rz-primary-lighter: #4866ba;
    --rz-primary-dark: #ba8200;
    --rz-primary-darker: #ba6600;
    --rz-secondary: #fac445;
    --rz-secondary-light: #ffd574;
    --rz-secondary-lighter: #fce5aff;
    --rz-secondary-dark: #0a1941;
    --rz-secondary-darker: #040c22;
    --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-text-body1-font-weight: 500 !important;
    --rz-body-font-size: 18px !important;
    --rz-text-body1-line-height: 25px !important;
    --rz-text-overline-font-size: 0.8rem !important;
    --rz-body-background-color: #edf2ff !important;
    --rz-sidebar-background-color: #0e152a !important;
    --rz-panel-menu-background-color: #081641 !important;
    --rz-panel-menu-item-border: #093985 !important;
    --rz-grid-detail-template-background-color: #fff !important;
    --rz-text-h2-font-size: 20px !important;
    --rz-text-overline-font-weight: 450 !important;
    --rz-link-color: #1e2c52;
    --rz-tabs-tab-selected-top-border-color: #fac445;
    --rz-text-subtitle2-color: #1e2c52;
    --rz-dialog-title-color: #1e2c52 !important;
    --rz-menu-item-hover-color: #ffffff !important;
    --rz-dropdown-item-hover-background-color: #8294c6 !important;
    --rz-dropdown-item-selected-background-color: #8294c6 !important;
    --rz-dropdown-item-selected-hover-color: #fff !important;
    --rz-dropdown-item-hover-color: #fff !important;
    --rz-dropdown-item-selected-color: #fff !important;
    --rz-text-subtitle1-font-size: 20px !important;
    --rz-text-subtitle1-color: #1e2c52 !important;
    --rz-form-field-filled-background-color: #ededed !important;
    --rz-grid-header-background-color: #b9b9b9;
    --rz-steps-number-line-height:20px;
}
.rz-colorpicker,
.rz-lookup-search input,
.rz-numeric,
.rz-datepicker > .rz-inputtext,
.rz-multiselect,
.rz-dropdown,
.mask,
.rz-textarea,
.rz-textbox,
.rz-datatable-data td .rz-cell-data,
.rz-grid-table td .rz-cell-data {
    font-weight: 450;
}
.rz-button-text {
    font-size: 16px;
    font-weight: 500;
}
.rz-secondary .rz-button-text{
    color:#1e2c52!important;
}
.rz-primary .rz-button-text {
    color: #fff !important;
}
.rz-pager.rz-density-compact .rz-pager-element, .rz-fileupload .rz-button, .rz-button-sm {
  
    font-size: 16px;
}
body {
    font-family: var(--rz-text-font-family);
    font-weight: 450;
    background: #f4f5f9;
}

.rz-body {
    --rz-body-padding: 0;    
}


.blazor-error-boundary {
    background: #c5ddfe!important;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

hr {
    margin: 5px 0 !important;
}

h1 {
    margin: 30px 0 0 0;
    font-weight: bold;
  
}

h2 {
    margin: 20px 0 !important;
    color: #1e2c52 !important;
    font-weight: bold !important;
    font-size: 30px !important;
}

h3,
.rz-text-h3{
    color: #1e2c52 !important;
    margin: 20px 0 0 10px;
    font-weight: bold;
}

    h3 span {
        background-color: #020991;
        display: inline-block;
        width: 8px;
        height: 8px;
        font-weight: bold;
        margin: 0 5px 0 0;
    }

    h3 p {
        font-weight: bold;
        margin: 0 0 10px 0px
    }

h4,
.rz-text-h4 {
    margin: 10px 0 0 0;
    font-size: 18px;
    color: #1e2c52;
    font-weight: bold;
}
.rz-text-h5{
    color:#1e2c52;
}
h6 {
    margin: 10px 0 0 0;
    font-size: 16px !important;
    font-weight: bold;
}

.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-sidebar .rz-navigation-item-wrapper, .rz-navigation-item-link, .rz-navigation-item-text {
    transition: var(--rz-menu-item-transition);
    font-size: 16px;
}
.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: var(--rz-primary) !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-item-icon {
        font-size: 8px !important;
        margin: 0px 5px 0 0;
    }


.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;
}
.rz-fieldset-legend-text {
    vertical-align: middle;
    font-weight: bold;
    color: #1e2c52;
}


/******************************************/
.rz-steps {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}

.rz-steps-buttons {
    display: none;
}

.rz-steps-title {
    text-transform: uppercase;
    font-size: 14px;
}

    .rz-steps-title:hover,
    .rz-menuitem-link:hover .rz-steps-title {
    }

.rz-steps-current .rz-steps-title {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
}

.rz-steps-buttons {
    display: none !important;
}


/*calendar*/

.rz-datepicker-inline .rz-datepicker-group {
    width: 100%;
}

.rz-datepicker-calendar {
    width: 100%;
}

.RegistrazioneStep4 {

    height: 230px;
    width: 100%;
    padding: 15px;
    border-width: 0px 1px 1px;
    border-top-style: initial;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: initial;
    border-right-color: rgb(204, 204, 204);
    border-bottom-color: rgb(204, 204, 204);
    border-left-color: rgb(204, 204, 204);
    overflow: auto;
}

/*********************************************ESAME*/

.ListaDomande {
    border-bottom: 1px solid #31498C;
    margin-bottom: 20px;
}

    .ListaDomande .rz-datalist-data {
        display: inline-block !important;
        padding: 0 !important;
        margin: 10px 10px 0 0 !important;
        float: left;
    }

        .ListaDomande .rz-datalist-data li {
            width: 80px!important;
            border:none!important;
        }


    .ListaDomande .rz-button.rz-variant-outlined {
        margin: 0 !important;
        padding: 0 !important;
        height: 100%;
        width: 80px !important;
    }

.ErrorPage {
    width: 50%;
    margin: 0 auto;
    display: block;
}

.Esito {
    display: block;
    font-weight: bold;
    margin: 10px 0;
}

.BGLBlue {
    background-color: #e6f1fb;
    padding: 10px;
    text-transform: uppercase;
}

/**************************RESPONSIVE*/
@media (max-width:578px) {
    .DashDipendente .rz-card {
        margin-top: 50px !important;
    }

    .rz-dialog:not(.rz-dialog-confirm):not(.rz-dialog-alert) {
        top: 30px !important;
        height: 80% !important;
        width: 95% !important;
    }

    h3 {
        margin: 10px 0 20px 0 !important;
    }

    .rz-card {
        margin: 10px 0px;
    }

    .ListaDomande .rz-button.rz-variant-outlined {
        width: auto;
    }

    .ListaDomande .rz-datalist-data li {
        width: auto;
    }
}


/******************************************************************REGISTRAZIONE*/
.BG_Registrazione {
    background-image: url(../images/Registrazione/BG_Blu.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    padding-top: calc(50vh - 345px);
}

.StepRegistrazione {
    background-color: #2EB8FF;
    border-radius: 20px 0 0 20px;
    padding: 30px;
    height: 650px;
    position: relative;
    margin-top: 20px;
}

    .StepRegistrazione img {
        width: 150px;
        margin: 20px auto 0 auto;
        display: block;
        padding-bottom: 30px;
        border-bottom: 1px solid #1e2c52;
    }

.rz-steps {
}

.BG_Registrazione .rz-steps-item {
    display: block;
    margin-bottom: 20px;
}

    .BG_Registrazione  .rz-steps-item:last-of-type {
        margin-bottom: 0;
    }

.ColonnaDX {
    height: 700px;
    background-color: #fff;
    position: relative;
    border-radius: 20px;
}

.ColonnaDx_Inserimenti {
    border-radius: 20px;
    padding: 10px 40px;
    height: 700px;
    background-color: #fff;
    position:relative;
}

    .ColonnaDx_Inserimenti .rz-label {
        padding: 10px 0 0 0 !important;
        min-height: 0 !important;
    }

.ImagePIva {
    background-image: url(../images/Registrazione/ImgPiva.jpg);
    background-size: cover;
    height: 700px;
    border-radius: 0 20px 20px 0;
    background-repeat: no-repeat;
}

.ColonnaSX {
    padding: 25% 40px;
    position: relative;
    height: 100%;
}

    .ColonnaSX img {
        position: absolute;
        bottom: 30px;
        right: 20px;
        width: 150px;
    }

.BG_Registrazione .rz-steps-number {
    font-weight: bold;
    background-color:#fff;
}

.BG_Registrazione .rz-steps {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    position: absolute;
    bottom: 0;
}

.PannelloInfo {
    border-radius: 20px;
    padding: 30px 30px 80px 30px;
    position: relative;
    text-align: center;
}

    .PannelloInfo img {
        display: block;
        margin: 0px auto;
        width: 200px;
    }

.LogoIfas {
    width: 150px !important;
    position: absolute;
    bottom: 20px;
    right: 30px;
}

.DatiSocietari .col-lg-6:first-of-type {
    padding-right: 30px;
    border-right: 1px solid #020991;
}

.DatiSocietari .col-lg-6:last-of-type {
    padding-left: 30px;
}

.DatiSocietari .rz-messages-error {
    padding: 5px 0 0 20px;
    vertical-align: bottom;
}
.DatiSocietari .rz-text-subtitle1{
    display:inline-block!important;
    margin-top:30px;
}
.BottomBtn {
    position: absolute;
    bottom: 20px;
    width: 100%;
    left: 0
}
@media (max-width:578px) {
    .BG_Registrazione {
        height: 100%;
        padding-top: 20px;
    }

    .StepRegistrazione {
        background-color: #2EB8FF;
        border-radius: 20px;
        height: 100%;
    }

    .rz-steps {
        display: flex;
        flex-direction: column;
        margin: 20px;
        position: inherit;
    }

    .StepRegistrazione img {
        margin: 20px auto 0 auto;
        padding-bottom: 20px;
    }

    .ColonnaDX {
        height: 100%;
    }

    .ImagePIva {
        background-image: url(../images/Registrazione/ImgPiva.jpg);
        background-size: cover;
        height: 200px;
        border-radius: 20px;
    }

    .ColonnaSX {
        padding: 40px 20px;
    }
}

.components-reconnect-show, .components-reconnect-failed, .components-reconnect-rejected {
    display: none;
}

 /****************************************** datagrid annidata */

.rz-expanded-row-content{

}
.rz-expanded-row-template{
    padding:10px!important;
}
    .rz-expanded-row-template thead tr th:first-of-type{
width:30%!important;
text-align:left!important
    }


    /*******************************************************CHAT*/
.ChatBox .rz-dialog{
  
}
.imessage{
    margin:20px 0 30px 0 ;
    
}
.imessage .rz-datalist-data {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    padding: 0;
}

    .imessage .rz-datalist-data > li {
        border-radius: var(--rz-datalist-border-radius);
        border: none !important;
        box-shadow: var(--rz-datalist-item-shadow);
        padding: 0;
        background-color: #fff;
        padding: 0;
        position: relative;
        word-wrap: break-word;
        display: flex;
        flex-direction: column;
    }

        .Mittente {
            align-self: flex-end;
            background-color: #d1f0ff;
            color: #fff;
            width:80%;
            border-radius:10px;
        }
            .Mittente .rz-col-7 .rz-text-caption {
                color: #000569;
            }
            .Mittente .rz-col-5 .rz-text-caption {
                color: #000569;
            }
            .Ricevente {
                align-items: flex-start;
                background-color: #e5e5ea;
                color: #000;
                width: 80%;
                border-radius: 10px;
            }


/****************************VerificaAttestato*/
.BoxAttestato {
    background-color: #000343;
    border-radius: 20px;
    padding: 40px;
}

    .BoxAttestato .ImgLogoAttestato {
        border-bottom: 1px solid #ffffff;
        margin-bottom: 20px;
    }

.ImgLogoAttestato img {
    width: 300px;
    margin: 10px auto;
    padding: 0 0 10px 0;
    display: block;
}

.BoxAttestato {
}

    .BoxAttestato .TitoloVerifica {
        text-align: center;
        text-transform: uppercase;
    }

        .BoxAttestato .TitoloVerifica .rz-text-display-h1,
        .BoxAttestato .TitoloVerifica .rz-text-h1 {
            display: inline-block;
        }

.Check img {
    width: 100px;
    display: block;
    margin: 10px auto;
}

.BoxAttestato .rz-card {
    margin: 50px 0;
}

    .BoxAttestato .rz-card .rz-text-body1,
    .BoxAttestato .rz-card .rz-text-body2 {
        color: #000343 !important;
        padding: 5px 0;
    }

.BoxAttestato .rz-text-body2 {
    text-transform: uppercase !important;
}

.BoxAttestato .rz-card i.rzi {
    color: #F5B200;
    float: left;
    font-size: 25px;
    margin-right: 5px;
    width: 10px;
}

.BoxAttestato .col-lg-9 {
    padding-bottom: 20px;
}

/**********Video*/
.VisioneLezione .rz-sidebar {
    background-color: #fff;
    color: #000;
    font-size: 17px;
    padding-right: 20px;
    padding-top: 20px;
}
    .VisioneLezione .rz-sidebar ul{
        border-top:1px solid #1e2c52!important;
    }
    .VisioneLezione .rz-sidebar-expanded {
        width: 280px;
    }
.rz-layout.VisioneLezione {
    height: 85vh;
}


