@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');


:root {
    --rz-tabs-tab-letter-spacing: 0;
    --rz-input-border: 1px solid #E4E0E1;
    --rz-input-focus-border: 1px solid #E4E0E1;
    --rz-input-hover-border: 1px solid #E4E0E1;
    --rz-input-focus-border: 1px solid #BDB3B5;
    --rz-input-focus-shadow: none;
    --rz-datepicker-calendar-selected-background-color: #A81833;
}


html, body {
    font-family: 'Titillium Web', Helvetica, Arial, sans-serif;
    color: #51373C;
}

    body:has(.spinner) {
        overflow: hidden;
    }

.bold {
    font-weight: 700;
}

.black,
a.black:hover {
    color: #51373C !important;
}

.bg-gray {
    background-color: #E4E0E1;
}

.gray {
    text-transform: uppercase;
    color: #7B7475;
}

.red,
a.red:hover {
    color: #A81833;
}

.black-separator * {
    color: #51373C !important;
}

.transparent {
    color: transparent;
}

.ph {
    font-size: 20px;
}

.pagopa-icon {
    width: 20px;
    height: 20px;
    background-image: url("../img/pagoPA-white.svg");
    background-repeat: no-repeat;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
    text-decoration: none;
}

    .btn-link, .btn-link:hover, .btn-link, .btn-link:focus {
        color: #A81833;
        font-weight: 700;
        box-shadow: none;
    }

.btn {
    width: 100%;
    height: 40px;
    /*    padding: 0;
*/
}

.btn-outline-secondary, .btn-outline-secondary:hover, .btn-outline-secondary:focus {
    border-color: #A81833;
    background-color: #FFFFFF;
    color: #A81833;
    font-weight: 700;
}

.btn-primary, .btn-primary:hover, .btn-primary:focus {
    border-color: #A81833;
    background-color: #A81833;
    color: #FFFFFF;
    font-weight: 700;
    box-shadow: none;
}

.btn.disabled {
    color: #BDB3B5;
    background-color: #E4E0E1;
    border-color: transparent;
}

.center-vertically {
    height: 100%;
    display: flex;
    align-items: center;
}

.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;
}

.content {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
}

/*.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."
    }

.rz-state-disabled {
    background-color: #E4E0E1 !important
}

    .rz-state-disabled .rz-dropdown-label {
        background-color: #E4E0E1 !important;
        color: #51373C !important;
    }

/* Checkboxes*/

.rz-grid-table .rz-chkbox {
    margin-top: 0 !important;
}

.rz-chkbox {
    height: 24px !important;
    width: 24px !important;
/*    margin-top: 20px !important;
*/}



.rz-chkbox-box {
    border: 1px solid #A81833 !important;
    border-radius: 5px !important;
    background-color: #F9F8F8 !important;
}

    .rz-chkbox-box.rz-state-disabled {
        opacity: 0.5;
    }

    .rz-chkbox-box.rz-state-active:not(.rz-state-disabled) {
        background-color: #A81833 !important;
    }

    .rz-chkbox-box:hover:not(.rz-state-disabled):after {
        background-color: transparent !important
    }

/* Switch */
.rz-switch {
    height: 40px;
}

.rz-switch-circle {
    height: 40px;
    width: 70px;
    background-color: #FFFFFF !important;
    border: 1px solid #E4E0E1 !important;
}

    .rz-switch-circle::before {
        height: 30px !important;
        width: 30px !important;
        top: 14px !important;
        border-radius: 30px !important;
        background-color: #BDB3B5 !important;
        left: 5px !important;
    }

    .rz-switch-circle:hover:before {
        box-shadow: none !important
    }

.rz-switch.rz-switch-checked .rz-switch-circle:before {
    transform: translateX(28px) !important;
    background-color: #A81833 !important;
}

.rz-switch.rz-switch-checked .rz-switch-circle {
    background-color: #E4E0E1 !important;
}

.rz-switch.rz-switch-checked.table-switch .rz-switch-circle:before {
    transform: translateX(22px) !important;
}

.rz-switch.rz-state-disabled {
    background-color: transparent !important
}

.rz-data-row td:has(.grid-switch) {
    padding-top: 0;
    padding-bottom: 0
}

.grid-switch {
    height: 44px !important;
}

    .grid-switch.rz-switch{
        height: 32px;
    }

    .grid-switch .rz-switch-circle {
        height: 32px;
        width: 54px;
    }

        .grid-switch .rz-switch-circle::before {
            height: 24px !important;
            width: 24px !important;
            top: 13px !important;
            left: 5px !important;
        }

    .grid-switch .rz-switch.rz-switch-checked .rz-switch-circle:before {
        transform: translateX(18px) !important;
    }

.rz-switch:hover:not(.rz-state-disabled):after {
    background-color: transparent !important
}

/* User Menu*/

.top-row {
    height: 56px;
}

    .top-row .user-profile {
        display: flex;
        justify-content: end;
        align-items: center;
    }

    .top-row * {
        cursor: pointer;
    }

.user-menu {
    position: fixed;
    width: 161px;
    height: 141px;
    padding: 15px 0px;
    display: flex;
    flex-direction: column;
    top: 65px;
    right: 3.5%;
    border-radius: 5px;
    border: 1px solid #E4E0E1;
    box-shadow: 0px 2px 6px #25050B29;
    background: #FFFFFF;
    z-index: 999;
}

.user-menu-item {
    padding: 0px 15px
}

form.user-menu-item {
    border-top: 1px solid rgba(0,0,0,0.2)
}

.user-menu a, .user-menu a:hover {
    display: block;
    margin-left: auto !important;
    font-weight: bold;
    margin-bottom: 10px;
    cursor: pointer;
    color: #29030A;
}

/*        .user-menu a:last-child {
            color: #A81833;
            border-top: 1px solid #E4E0E1;
            margin-top: 9px;
            padding-top: 8px;
            margin-left: -15px;
            margin-right: -15px;
            padding-left: 60px;
        }

            .user-menu a:last-child:hover {
                color: #A81833;
            }*/


.user-menu form {
    display: flex;
    align-items: center;
    justify-content: end;
}

    .user-menu form button {
        text-align: end;
        padding-right: 0;
    }
/* Nav Menu */

.pointer {
    cursor: pointer;
}

.arrow-cursor {
    cursor: default !important;
}

.nav-link {
    margin-top: 20px !important;
}

.nav-sub-menu {
    background-color: #FFFFFF;
    margin-top: 20px;
    border-radius: 5px;
}

.nav-item .nav-sub-menu a:first-child {
    margin-top: 0px !important
}

.nav-item .nav-sub-menu .nav-link {
    color: #29030A;
}

    .nav-item .nav-sub-menu .nav-link.active {
        color: #29030A;
        font-weight: 700;
    }

.nav-item a.active {
    font-weight: 700;
    background-color: transparent !important;
}

.nav-item a:has(.ph-caret-up) {
    font-weight: 700;
}

/* Notifications */

.rz-notification-item {
    border-radius: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 0px;
    padding-right: 15px;
}

.rz-notification-title h6 {
    padding-top: 5px;
    font-family: 'Titillium Web' !important;
    font-weight: bold;
    font-size: 16px
}

.rz-notification-content p {
    padding-top: 5px;
    font-family: 'Titillium Web' !important
}

.rz-notification-icon {
    font-family: "Phosphor" !important;
    margin-left: 20px !important;
}

.rz-notification-icon, .rz-notification-close {
    margin-top: 5px !important;
}

.rz-notification-error .rz-notification-item {
    background-color: #E5B9C1 !important;
}

.rz-notification-error .rz-notification-title h6 {
    color: #A81833 !important;
}

.rz-notification-error .rz-notification-content p {
    border-top: 1px solid #780012 !important;
    color: #780012 !important;
}

.rz-notification-error .rz-notification-icon::before {
    color: #A81833 !important;
    content: "\e4fa" !important;
}

.rz-notification-error .rz-notification-close {
    color: #A81833 !important
}

.rz-notification-success .rz-notification-item {
    background-color: #B5EBC3 !important;
}

.rz-notification-success .rz-notification-title h6 {
    color: #0CBC3B !important;
}

.rz-notification-success .rz-notification-content p {
    border-top: 1px solid #0CBC3B;
    color: #085C1E !important;
}

.rz-notification-success .rz-notification-icon::before {
    color: #0CBC3B !important;
    content: "\e184" !important;
}

.rz-notification-success .rz-notification-close {
    color: #085C1E !important
}

.rz-notification-warn .rz-notification-item {
    background-color: #EFCCBC !important;
}

.rz-notification-warn .rz-notification-title h6 {
    color: #C95724 !important;
}

.rz-notification-warn .rz-notification-content p {
    border-top: 1px solid #C95724;
    color: #642408 !important;
}

.rz-notification-warn .rz-notification-icon::before {
    color: #C95724 !important;
    content: "\e4e0" !important;
}

.rz-notification-warn .rz-notification-close {
    color: #642408 !important
}

/* Index Page */
.index {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    row-gap: 50px
}

    .item .item-title {
        display: flex;
        align-items: center;
        color: #A81833;
    }

.item i {
    margin-right: 5px;
}

.item .item-title span {
    text-transform: uppercase;
    font-weight: 700;
    margin-left: 5px;
}

.item ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.item li {
    margin-top: 5px;
}

.item a {
    text-decoration: none;
    color: #29030A;
}

/* Radzen Data Grid */

.rz-group-header {
    padding-bottom: 0;
    padding-right: 12px;
    padding-left: 12px;
}

.rz-datatable {
    border: 0 !important;
}

.rz-column-title-content {
    font-weight: 700;
}

.rz-cell-data {
    overflow: visible !important
}

.rz-pager {
    margin-top: 15px;
    justify-content: center !important;
}

    .rz-pager a {
        background-color: transparent !important;
    }

.rz-pager-first, .rz-pager-prev, .rz-pager-next, .rz-pager-last {
    margin: 0 !important;
}

.rz-pager-page.rz-state-active {
    background-color: #A81833 !important;
    color: #FFFFFF !important;
}

.rz-pager-element {
    height: 35px !important;
    min-height: 35px !important;
    width: 35px !important;
    min-width: 35px !important;
    padding: 5px 0px !important;
}

.rz-pager-page {
    color: #A81833;
    border: 1px solid #A81833 !important;
    border-radius: 5px !important;
}

.rz-pager-first {
    margin-left: calc(35%) !important
}

.no-paging-options .rz-pager-first {
    margin-left: 0px !important
}

.rz-dropdown {
    margin-left: auto
}

.rz-custom-header {
    width: 100%;
}

    .rz-custom-header .bg-gray {
        border-top-left-radius: 5px !important;
        border-top-right-radius: 5px !important;
    }

.table-searchbox {
    background-color: #FFFFFF;
    border-radius: 5px;
    width: 100%;
    height: 34px;
    position: relative;
}

    .table-searchbox .ph.ph-magnifying-glass {
        position: absolute;
        top: calc(50% - 10px);
        right: 10px;
    }

    .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-cell-data i {
    margin-right: 10px;
}

.table-actions > * {
    cursor: pointer;
}

.table-actions a {
    color: #25050B;
    text-decoration: none;
}

/* Forms */


.label {
    font-weight: bold;
    margin-bottom: 5px;
}

.form-row {
    row-gap: 16px;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: none !important;
}

.form-control:disabled {
    background-color: #E4E0E1;
    border-color: #E4E0E1;
}

.rz-fileupload.form-control {
    height: 38px !important;
}

.rz-datepicker input {
    border: 0 !important;
    padding: 0 !important;
    height: 27px !important
}

    .rz-datepicker input:disabled {
        background-color: #E4E0E1 !important;
        color: #51373C !important;
    }

    .rz-datepicker input:focus {
        box-shadow: none !important;
    }

.rz-datepicker .rz-state-active.rz-state-focused, .rz-datepicker .rz-state-active:hover, .rz-state-active.rz-state-focused, .rz-datepicker .rz-state-active.rz-calendar-today:hover {
    background-color: #A81833 !important
}

.separator-container {
    display: flex;
    align-items: center;
    height: 50px;
}

    .separator-container hr {
        width: 40px;
        height: 2px;
        margin-right: 10px;
        opacity: 1;
    }

.rz-state-disabled {
    color: #51373C !important;
}

.password-icon {
    position: absolute;
    right: 21px;
    top: 41px;
    cursor: pointer;
}

/* Popups*/

.popup {
    width: 629px;
    height: auto;
    background-color: #F9F8F8;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
    padding: 80px 100px;
    border-radius: 20px;
    position: relative
}

.popup-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgb(81,55,60,0.5);
    z-index: 1999;
}



.popup-add-wallet {
    width: fit-content;
    background-color: #FFFFFF;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    text-align: center;
    padding: 80px 100px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    align-items: center;
    min-height: 340px;
}

    .popup-add-wallet button{
        width: 250px;
    }

    .popup-campi-causale {
        width: 953px;
        height: calc(100svh - 200px);
        background-color: #FFFFFF;
        margin-left: auto;
        margin-right: auto;
        margin-top: auto;
        margin-bottom: auto;
        text-align: center;
        padding: 80px 100px;
        border-radius: 20px;
        position: relative;
        display: flex;
        flex-direction: column;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        align-items: center;
    }

    .popup-campi-causale .rz-data-row {
        cursor: pointer;
    }


.popup-aggiungi-movimento {
    width: 953px;
    height: calc(100svh - 200px);
    background-color: #FFFFFF;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    padding: 80px 100px;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    align-items: center;
}
/* Radzen Dropdown*/
.rz-dropdown-panel {
    z-index: 99999 !important;
}

.rz-lookup-search-input {
    padding-left: 50px !important;
}

.rz-lookup-search button {
    position: absolute;
    top: 19px;
    left: 20px;
    box-shadow: none !important;
    background-color: transparent !important;
    background-image: url(../img/magnifying-glass.svg) !important;
    background-size: 60% !important;
    background-position: center !important
}

.rz-lookup-search i {
    color: transparent
}

.rz-lookup-panel {
    background-color: #FFFFFF !important;
}

.rz-dropdown-panel .rz-data-grid .rz-grid-table thead {
    display: none;
}

.rz-dropdown:active, .rz-dropdown:focus, .rz-dropdown:hover {
    box-shadow: none !important;
    outline: none !important;
}

.rz-lookup-search-input:active, .rz-lookup-search-input:focus, .rz-lookup-search-input:hover {
    box-shadow: none !important;
    outline: none !important;
}

.rz-lookup-search ::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: transparent !important
}

.rz-lookup-search ::-moz-placeholder { /* Firefox 19+ */
    color: transparent !important
}

.rz-lookup-search :-ms-input-placeholder { /* IE 10+ */
    color: transparent !important
}

.rz-lookup-search :-moz-placeholder { /* Firefox 18- */
    color: transparent !important
}

/* Dropdown with checkboxes*/

.multiselect-dropdown {
    cursor: pointer;
    width: 80%;
    position: relative;
}

    .multiselect-dropdown .dropdown-button {
        position: absolute;
        display: flex;
        justify-content: right;
        align-items: center;
        margin-right: 20px;
        margin-left: 7%;
        width: 90%;
        height: 56px;
        z-index: 999;
        color: #A81833;
    }

    .multiselect-dropdown .rz-listbox-wrapper {
        position: relative;
    }

    .multiselect-dropdown .rz-listbox-list {
        position: absolute;
        z-index: 9999;
        background: white;
        width: 100%;
    }

    .multiselect-dropdown .rz-listbox {
        width: 100%;
        border: 0px;
        margin-bottom: 16px;
    }

    .multiselect-dropdown .rz-listbox-header {
        background-color: #F9F8F8;
        color: #A81833;
        border: 1px solid #F9F8F8;
        font-weight: 700;
        height: 56px;
    }

    .multiselect-dropdown .rz-listbox-header-single {
        background-color: #F9F8F8;
        color: #A81833;
        border: 1px solid #F9F8F8;
        font-weight: 700;
        height: 56px;
        margin-bottom: 16px;
        padding: 12px 16px 12px 16px;
    }

        .multiselect-dropdown .rz-listbox-header-single .rz-chkbox {
            margin-right: 16px;
        }


    .multiselect-dropdown .rz-state-empty .rz-listbox-header .rz-chkbox-box {
        background-color: white !important;
    }

    .multiselect-dropdown .rz-listbox-header .rz-chkbox-box {
        width: 24px !important;
        background-color: #A81833 !important;
    }

        .multiselect-dropdown .rz-listbox-header .rz-chkbox-box:not(.rz-state-active):before {
            content: "";
            color: white;
            width: 10px;
            border: solid 1px white;
        }

    .multiselect-dropdown .rz-multiselect-item {
        display: none;
        height: 40px;
        border-left: 1px solid #E4E0E1 !important;
        border-right: 1px solid #E4E0E1 !important;
    }

        .multiselect-dropdown .rz-multiselect-item:hover {
            background-color: transparent;
            color: #51373C;
        }

        .multiselect-dropdown .rz-multiselect-item:last-child {
            border-bottom: 1px solid #E4E0E1 !important;
            border-bottom-left-radius: 5px;
            border-bottom-right-radius: 5px;
            height: 52px;
        }

    .multiselect-dropdown .rz-state-highlight {
        color: #51373C;
        background-color: #FFFFFF;
    }

    .multiselect-dropdown .show .rz-multiselect-item {
        display: block
    }

    .multiselect-dropdown .rz-chkbox,
    .rz-multiselect-item .rz-chkbox,
    .rz-multiselect-panel .rz-chkbox {
        margin-top: 0 !important
    }


/* Radzen Tabs */

.rz-tabview-nav li {
    width: 50%;
    display: flex;
    justify-content: center;
}

    .rz-tabview-nav li:hover {
        background-color: transparent !important;
    }

.rz-tabview-nav a {
    color: #51373C !important;
    font-weight: 700 !important;
}

.rz-tabview-selected {
    border-bottom: 2px solid #A81833 !important;
}

    .rz-tabview-selected a {
        color: #A81833 !important;
    }

.rz-tabview-nav > li > a:not(.rz-state-disabled):before {
    background: none !important
}

/* Tooltips */

.tooltip-hovering {
    cursor: pointer
}

.tooltip-box {
    display: block;
    position: absolute;
    z-index: 9999;
    width: 174px;
    height: auto;
    background-color: #FFFFFF;
    color: #25050B;
    box-shadow: 0px 2px 6px #25050B29;
    border-radius: 5px;
    padding: 10px;
}

/* Uploading */

.input-file-data {
    background-color: #E4E0E1;
    border-radius: 5px;
    height: 100%;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative
}

    .input-file-data.disabled {
        justify-content: start;
        column-gap: 12px;
    }

    .input-file-data span.name {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        cursor: default;
        width: 60%;
    }

    .input-file-data.disabled span.name {
        width: 80%;
    }

/* Listini */

.tariffari {
    width: 100%;
    table-layout: fixed
}

    .tariffari tr:first-child {
        background-color: #E4E0E1 !important;
        border-radius: 10px;
    }

    .tariffari tr {
        height: 40px;
    }


        .tariffari tr th:first-child, .tariffari tr td:first-child {
            padding-left: 50px;
        }

        .tariffari tr td:last-child {
            vertical-align: middle
        }

        .tariffari tr > td:not(:first-child) {
            text-align: center
        }

        .tariffari tr th:not(:first-child) {
            text-align: center;
        }

.tariffario {
    width: 100%;
}



    .tariffario tr {
        width: 100%;
        height: 40px;
        border-bottom: 1px solid #D1CBCC;
    }

        .tariffario tr:first-child {
            background-color: #A81833 !important;
            color: #FFFFFF !important;
            text-transform: uppercase;
            text-align: center;
            border-bottom: none !important;
        }

        .tariffario tr:nth-child(2) {
            background-color: #F9F8F8 !important;
            font-weight: 700;
        }

        .tariffario tr > td:first-child {
            width: 234px;
        }

        .tariffario tr > td {
            text-align: center;
        }

        .tariffario tr:nth-child(2) td:last-child {
            color: #A81833;
        }

        .tariffario tr:nth-child(odd) {
            background-color: #FFFFFF
        }

        .tariffario tr:nth-child(even) {
            background-color: #F9F8F8
        }

        .tariffario tr:nth-child(n+3):nth-child(n) td:first-child {
            background-color: #E4E0E1;
            text-align: center;
            text-transform: uppercase;
            font-weight: 700;
        }


    .tariffario td:nth-child(n+2) {
        padding-left: 50px;
    }

.fees {
    column-gap: 0
}

    .fees .alert {
        border: solid 1px #A81833;
        padding: 0
    }


        .fees .alert span {
            border: solid 1px #A81833;
            background-color: #E5B9C1;
        }



.extra-network {
    width: 100%;
    background-color: #A81833;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    height: 40px;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #A81833;
    border-color: #A81833;
}

.height-40 {
    height: 40px;
}

.width-254 {
    width: 254px;
}

.font-size-14 {
    font-size: 14px;
}

.font-size-16 {
    font-size: 16px;
}

.font-size-30 {
    font-size: 30px;
}

.font-weight-bold {
    font-weight: bold;
}

.text-color-black {
    color: #29030A;
}

.rz-autocomplete {
    box-sizing: border-box;
    display: inline-block;
    border: var(--rz-input-border);
    border-radius: var(--rz-input-border-radius);
    background-color: var(--rz-input-background-color);
    transition: var(--rz-input-transition);
    overflow: hidden;
    height: 40px !important;
}

.rz-autocomplete-input {
    padding-block: var(--rz-input-padding-block);
    padding-inline: 0px !important;
    background-color: transparent;
    color: var(--rz-input-value-color);
    box-shadow: var(--rz-input-shadow);
    border: none;
    line-height: var(--rz-input-line-height);
    width: 100%;
    transition: var(--rz-input-transition);
    height: 20px !important;
}

.filter-dot {
    width: 10px;
    height: 10px;
    border-radius: 250px;
    background-color: #FFFFFF;
    margin-left: 3px;
    margin-bottom: 10px;
}


/*bug fix radzen checkbox: quando disabilitata non mostra il checkmark*/

div > .rz-chkbox-box.rz-state-disabled.rz-state-active {
    background-color: var(--rz-checkbox-checked-disabled-background-color) !important;
    border: var(--rz-checkbox-checked-disabled-border) !important;
    opacity: 0.5 !important;
}


.rz-multiselect-trigger .rzi-chevron-down::before,
.rz-dropdown-trigger .rzi-chevron-down::before {
    content: "";
}


.rz-multiselect-trigger .rzi, .rz-dropdown-trigger .rzi {
    background-image: url("../img/caret-down.svg");
    background-size: 19px;
    background-repeat: no-repeat;
    background-position: center;
}


.cursor-pointer {
    cursor: pointer;
}


.rz-calendar-month-dropdown .rz-dropdown-label {
    text-transform: capitalize;
}

.grey-color-unknown {
    color: #62585A;
}

.text-yellow {
    color: #ffce00;
}

.green-text {
    color: #0CBC3B;
}

.guid-table {
    font-size: 14px;
    text-wrap: auto;
}

.report-icon-red-box {
    width: 48px;
    height: 48px;
    background-color: #A81833;
    border-radius: 10px;
    opacity: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.report-card-summay-operation {
    /*    width: 238px;
*/ height: 88px;
    min-width: 150px;
    background: #F7F0F2 0% 0% no-repeat padding-box;
    border-radius: 10px;
    opacity: 1;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 18px 10px;
}

.mt-10 {
    margin-top: 10px;
}

.report-card-title {
    color: #51373C;
    font-size: 16px;
    font-weight: bold;
}

.font-size-12 {
    font-size: 12px;
}

.font-size-24 {
    font-size: 24px;
}

.padding-5 {
    padding: 5px;
}

.table-header {
    background-color: #E4E0E1;
    padding: 10px 24px;
}

.text-red {
    color: #A81833;
}

.primary-button {
    width: 270px;
    height: 44px;
    background: #A81833 0% 0% no-repeat padding-box !important;
    border: 1px solid #A81833 !important;
    border-radius: 10px !important;
    opacity: 1;
}

.report-anagrafiche-container {
    padding: 20px 26px 56px 20px;
    border: 1px solid #E4E0E1;
    border-radius: 10px;
}

.operation-report-container {
    border: 1px solid #E4E0E1;
    border-radius: 10px;
    padding: 30px 0px;
    height: 100%;
}

.operation-report-header {
    padding: 0px 26px;
    margin-bottom: 30px;
}

    .operation-report-header .operation-report-header-title {
        font-size: 16px;
    }

.table-title {
    background-color: #A81833;
    color: #FFFFFF;
    text-transform: uppercase;
    padding: 10px 30px;
    font-weight: bold;
}

.table-aggi th, .table-aggi td {
    border-bottom: 1px solid #00000040;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom-color: #00000040;
}

.table-aggi th:first-child, .table-aggi td:first-child {
    padding: 10px 30px;
    font-weight: bold;
}

    .table-aggi td:first-child:not(.no-first) {
        background-color: #E4E0E1;
        box-shadow: none;
    }

.table-rendiconti th, .table-rendiconti td {
    border-bottom: 1px solid #00000040;
}

    .table-rendiconti th:first-child, .table-rendiconti td:first-child {
        padding: 10px 30px;
    }

.legend-item {
    display: flex;
    align-items: center;
    column-gap: 5px;
    margin-bottom: 0px;
}

.legend-item-circle {
    width: 11px;
    height: 11px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.chart-skeleton {
    position: relative;
    background: #fafafa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    overflow: hidden;
}

.skeleton-chart-container {
    display: flex;
    height: calc(100% - 40px);
    position: relative;
}

.skeleton-y-axis-left,
.skeleton-y-axis-right {
    width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
}

.skeleton-y-axis-right {
    align-items: flex-end;
}

.skeleton-y-label {
    height: 12px;
    width: 45px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-chart-area {
    flex: 1;
    position: relative;
    margin: 0 10px;
}

.skeleton-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
}

.skeleton-grid-line-horizontal {
    flex: 1;
    border-bottom: 1px solid #f0f0f0;
}

.skeleton-grid-line-vertical {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #f0f0f0;
    left: calc(var(--index) * 8.33%);
}

    .skeleton-grid-line-vertical:nth-child(1) {
        left: 8.33%;
    }

    .skeleton-grid-line-vertical:nth-child(2) {
        left: 16.66%;
    }

    .skeleton-grid-line-vertical:nth-child(3) {
        left: 25%;
    }

    .skeleton-grid-line-vertical:nth-child(4) {
        left: 33.33%;
    }

    .skeleton-grid-line-vertical:nth-child(5) {
        left: 41.66%;
    }

    .skeleton-grid-line-vertical:nth-child(6) {
        left: 50%;
    }

    .skeleton-grid-line-vertical:nth-child(7) {
        left: 58.33%;
    }

.skeleton-data {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    padding: 0 20px;
}

.skeleton-month-data {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    position: relative;
    height: 100%;
    max-width: 60px;
}

.skeleton-bar {
    width: 8px;
    background: linear-gradient(180deg, #e0e0e0 0%, #f0f0f0 100%);
    border-radius: 2px 2px 0 0;
    animation: pulse 2s infinite ease-in-out;
    opacity: 0.7;
}

.skeleton-line-point {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #d0d0d0;
    border-radius: 50%;
    animation: pulse 2s infinite ease-in-out;
    left: 50%;
    transform: translateX(-50%);
}

.skeleton-x-axis {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    padding: 0 80px;
}

.skeleton-x-label {
    width: 30px;
    height: 12px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.skeleton-legend-color {
    width: 16px;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 2px;
}

.skeleton-legend-text {
    width: 80px;
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.4;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.8;
        transform: scaleY(1.05);
    }
}


.apexcharts-text.apexcharts-yaxis-label > * {
    color: #7E7677;
    fill: #7E7677;
    font-size: 12px;
}

.apexcharts-text.apexcharts-xaxis-label {
    text-transform: capitalize;
    fill: #25050B;
    font-size: 10px;
}

.operation-chart-container {
    height: 400px;
    width: 100%;
}

.map-skeleton {
    width: 100%;
    height: 450px;
    background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
    background-size: 200% 100%;
    animation: loading-skeleton 1.5s infinite;
    border-radius: 8px;
}

@keyframes loading-skeleton {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


.legend-list {
    list-style: none;
    padding-left: 0;
    font-size: 16px;
}

    .legend-list li {
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }

.legend-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    flex-shrink: 0;
}

.dot-large {
    background-color: rgba(168, 24, 51, 1);
}

.dot-medium {
    background-color: rgba(168, 24, 51, 0.4);
}

.dot-small {
    background-color: rgba(168, 24, 51, 0.2);
}

.nav-title {
    color: #FFFFFF;
    margin: 30px 32px;
    font-weight: 600;
}

.missing-value-row > td {
    background-color: #E5B9C1 !important;
}

.rz-numeric-form-field {
    max-width: 134px !important;
}
    .rz-numeric-form-field.percentage-error .rz-form-field-content {
        border-color: #A81833 !important;
        background-color: #E5B9C1 !important;
    }

    .rz-numeric-form-field .rz-form-field-content {
        margin-top: 0 !important;
    }

.rz-form-field.rz-state-disabled .rz-form-field-content {
    background-color: #E4E0E1;
    color: #51373C !important
}

.terminal-counter-container {
    padding: 12px 14px;
    width: fit-content;
    border: 1px solid #E4E0E1;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    column-gap: 24px;
    align-items: center;
}

    .terminal-counter-container button {
        color: #A81833;
        padding: 0px;
        border: none;
        background: transparent;
        font-size: 16px;
        height: fit-content;
        height: 23px;
    }

        .terminal-counter-container button:disabled {
            color: #BDB3B5;
        }



.rz-switch.table-switch {
    height: 2px;
}

    .rz-switch.table-switch .rz-switch-circle {
        margin-top: -16px;
        height: 30px;
    }

        .rz-switch.table-switch .rz-switch-circle::before {
            height: 20px !important;
            width: 20px !important;
            top: 14px !important;
            left: 8px !important;
        }

.rz-switch.rz-switch-checked.table-switch .rz-switch-circle::before {
    left: 20px !important;
}


/* fix bug overflow causato da plotly che non carica correttamente il css inline con la navigazione */

.js-plotly-plot .plotly .main-svg {
    position: absolute;
    top: 0px;
    left: 0px;
    pointer-events: none;
}