@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Nunito Sans', Helvetica, Arial, sans-serif;
}

.title {
    margin-top: 80px;
}

.exit {
    cursor: pointer;
}

.red {
   color: #C8323E;
}

h1:focus {
    outline: none;
}

.nav-item.px-3 {
    margin-left: -3px !important;
    padding-bottom: 0px !important;
    font-weight: bold;
    display: flex;
    justify-content: left;
}

.nav-link {
    color: #122126 !important;
}

    .nav-link.active {
        color: #C8323E !important;
    }

.span{
    margin-right: 15px;
}

.sidemenu-icon{
    margin-right: 7px;
}

a {
}

input[type="search"]::-webkit-search-cancel-button {
    /* Remove default */
    -webkit-appearance: none;
}

.rz-textbox.rz-state-disabled {
    background-color: #E4E0E1 !important;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-primary-big {
    color: #fff;
    background-color: #C8323E;
    box-shadow: 0px 8px 40px #091F2F1A;
    border-radius: 10px;
    width: 376px;
    height: 219px;
    font-family: 'Nunito Sans' !important;
    font-size: 30px;
    font-weight: bold;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0;
    color: #fff;
    background-color: #C8323E;
}

.btn:hover {
    color: #fff ;
    background-color: #C8323E ;
}

.btn-outline-secondary {
    border-color: transparent;
    background-color: #E9E9E9 !important;
    color: #122126 !important;
    border-radius: 10px;
    font-weight: 700;
    width: 100% ;
}

    .btn-outline-secondary:hover {
        color: #122126 !important;
        background-color: #E9E9E9 !important;
        border-color: #E9E9E9 !important
    }

    .btn-outline-secondary:focus, .btn-outline-secondary:active:focus, .btn-outline-secondary-link.nav-link:focus {
        box-shadow: 0 0 0 0;
        color: #122126 !important;
        background-color: #E9E9E9 !important;
    }

.content {
    margin: 80px 50px 80px 50px;
}

.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,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.page-background-class {
    background-image: url(../img/login.svg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*Pagina di Login*/

.login-container {
    padding: 93px 260px;
    background: #FFFFFF;
    box-shadow: 0px 8px 40px #091F2F1A;
    border-radius: 10px;
    height: 558px;
    width: 829px;
    display: flex;
    justify-content: center;
    text-align: left;
}

img {
    display: block;
    text-align: center;
}

.btn-primary {
    display: block;
    background-color: #C8323E;
    border: none;
    display: inline-block;
    width: 100%;
    border-radius: 10px;
}

.rz-text-subtitle2 {
    font-family: 'Nunito Sans', Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.rz-text-display-h4 {
    font-family: 'Nunito Sans', Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.rz-text-display-h5 {
    font-family: 'Nunito Sans', Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.rz-text-display-h6 {
    font-family: 'Nunito Sans', Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.login-div-1 {
    margin-top: 50px;
}
.login-div-2 {
    margin-top: 20px;
}

.login-div-2 {
    margin-top: 20px;
}

.login-div-3 {
    margin-top: 20px;
}

.login-div-4 {
    margin-top: 20px;
    cursor: pointer;
}

.login-div-5 {
    margin-top: -50px;
}

.rz-color-red {
    color: #C8323E;
}

/*Tables*/

.rz-custom-header {
    width: 100%;
}

.btn-link {
    text-decoration: none;
    color: #C8323E;
    font-weight: 700;
    box-shadow: none;
}

    .btn-link:hover, .btn-link:focus {
        color: #C8323E !important;
        background-color: #E4E0E1 !important;
        font-weight: 700 !important;
        box-shadow: none !important;
    }

.rz-group-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.center-vertically {
    height: 100%;
    display: flex;
    align-items: center;
}

.bg-gray {
    background-color: #E4E0E1;
    border-radius: 5px 5px 0px 0px;
}

.table-searchbox {
    background-color: #FFFFFF;
    border-radius: 5px;
    width: 100%;
    height: 34px;
    position: relative;
}
    .table-searchbox input:not(.form-control),
    .table-searchbox input:focus:not(.form-control),
    .table-searchbox input:focus-visible:not(.form-control) {
        width: 100%;
        border: 0;
        outline: none;
    }

.rz-datatable {
    border: 0 !important;
}

.rz-column-title-content {
    font-weight: 700;
}

.rz-grid-table-striped tbody > tr:not(.rz-expanded-row-content):nth-child(odd) > td {
    background-color: var(--rz-grid-stripe-background-color);
}

.rz-grid-table-striped tbody > tr:not(.rz-expanded-row-content):nth-child(even) > td {
    background-color: var(--rz-grid-background-color);
}

.table-actions {
    display: flex;
    align-items: center;
    justify-content: left;
}

    .table-actions i {
        margin: 0px;
        cursor: pointer;
        font-size: 20px;
    }

    .ph.ph-trash {
        margin-left: 15px;
    }

/*nuova anagrafica*/
.ph.ph-caret-right {
    font-size: 25px;
}

.form-switch {
    padding-left: 0;
    padding-top: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

    .form-switch i {
        position: relative;
        display: inline-block;
        margin-right: .5rem;
        width: 72px;
        height: 40px;
        background-color: #E9E9E9;
        border: 1px solid #E9E9E9;
        border-radius: 20px;
        vertical-align: text-bottom;
        transition: all 0.3s linear;
    }

        .form-switch i::before {
            content: "";
            position: absolute;
            left: 0;
            width: 32px;
            height: 32px;
            background-color: #B9B3B3;
            border-radius: 50px;
            transform: translate3d(2px, 2px, 0) scale3d(0, 0, 0);
            transition: all 0.25s linear;
        }

        .form-switch i::after {
            content: "";
            position: absolute;
            left: 0;
            width: 32px;
            height: 32px;
            background-color: #B9B3B3;
            border-radius: 50px;
            box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
            transform: translate3d(2px, 2px, 0);
            transition: all 0.2s ease-in-out;
        }

    .form-switch:active i::after {
        width: 28px;
        transform: translate3d(3px, 3px, 0);
    }

    .form-switch:active input:checked + i::after {
        transform: translate3d(15px, 3px, 0);

    }

    .form-switch input {
        display: none;
    }

        .form-switch input:checked + i {
            background-color: #C8323E;
        }

            .form-switch input:checked + i::before {
                transform: translate3d(17px, 3px, 0) scale3d(0, 0, 0);
                background-color: #B9B3B3 !important;
            }

            .form-switch input:checked + i::after {
                transform: translate3d(35px, 3px, 0);
                background-color: #FFF 
;
            }

/*Popup*/

.rz-dialog-content{
    overflow: hidden;
}

.popup-title {
    display: flex;
    justify-content: center;
    text-align: left;
}

/*Notification*/

.rz-growl-item {
    border-radius: 10px;
}

.rz-growl-message p {
    width: 100%;
    margin-top: 15px;
    padding-top: 5px;
}

.rz-growl-message-success .rz-growl-item {
    background-color: rgba(12, 188, 59, 0.3) !important;
    color: #0CBC3B !important;
}

.rz-growl-message-success .rz-growl-message p {
    border-top: 1px solid #0CBC3B;
    border-top-style;
    color: #085C1E !important;
}

.rz-growl-image.rzi-exclamation-triangle:before {
    content: "\edbf" !important;
}

.rz-growl-image.rzi-exclamation-triangle {
    color: #C95724 !important;
    font-family: "Phosphor" !important;
}

.rz-growl-image.rzi-check:before {
    content: "\ea31" !important;
}

.rz-growl-image.rzi-check {
    color: #0CBC3B !important;
    font-family: "Phosphor" !important;
}

.rz-growl-image.rzi-times:before {
    content: "\eddd" !important;
}

.rz-growl-image.rzi-times {
    color: #A81833 !important;
    font-family: "Phosphor" !important;
}

.rz-growl-message-error .rz-growl-item {
    background-color: rgba(168, 24, 51, 0.3) !important;
    color: #A81833 !important;
}

.rz-growl-message-error .rz-growl-message p {
    border-top: 1px solid #A81833;
    color: #780012 !important;
}

/*recupero password*/

.reset-password-container {
    padding: 93px 192px;
    background: #FFFFFF;
    box-shadow: 0px 8px 40px #091F2F1A;
    border-radius: 10px;
    height: 558px;
    width: 829px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.reset-container {
    padding: 0px 30px;
}


.reset-success-container {
    padding: 93px 175px;
    background: #FFFFFF;
    box-shadow: 0px 8px 40px #091F2F1A;
    border-radius: 10px;
    height: 558px;
    width: 829px;
    display: flex;
    justify-content: center;
    text-align: left;
}

.login-div-5 {
    margin-top: 169px;
}


.spinner {
    background: #51373C;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99998;
    opacity: 0.5;
}

.spinner-border {
    color: #A81833;
    position: fixed;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    bottom: 0;
    right: 0;
    z-index: 99999;
    opacity: 0.5;
    height: 50px;
    width: 50px;
    opacity: 1;
}