html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f7f7f7;
}

/*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;
}*/
.container {
    height: calc(100vh - 8rem);
    overflow: auto;
    width: 90%;
}
.pagecontainer {
    height: calc(100vh - 8rem);
    overflow: auto;
    background-color: #fff;
    width: 80%;
    max-width: 100%;
    border-left: 1px solid #d6d5d5;
    border-right: 1px solid #d6d5d5;
}
.printcontainer {
    height: calc(100vh - 8rem);
    overflow: auto;
    background-color: #fff;
    max-width: 100%;
    border-left: 1px solid #d6d5d5;
    border-right: 1px solid #d6d5d5;
    width:24cm;
}
.content {
    padding-top: 1.1rem;
    height: calc(100vh - 7rem);
}

.control-label {
    font-weight: 600;
    line-height: 1.8;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.footerButtons{
    text-align:end;
}

    .footerButtons .btn {
        margin-left: 5px;
        line-height: 1.8;
        padding: .125rem .75rem;
        border-radius: 4px;
        font-weight: 400;
        font-size: 15px;
    }

.nav.footerButtons .btn {
    margin-left: 0px;
    border-radius: 0px;
}
.nav.footerButtons .scol .btn {
    border-left-width:0px;
}

.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."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.homecards .card-body {
    background-size: contain;
    background-repeat: no-repeat;
}

.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: center;
    height: 4.5rem;
    display: flex;
    align-items: center;
    
}

    .top-row ::deep a, .top-row ::deep .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .top-row ::deep a:hover, .top-row ::deep .btn-link:hover {
            text-decoration: underline;
        }

        .top-row ::deep a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .top-row {
        justify-content: space-between;
    }

        .top-row ::deep a, .top-row ::deep .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .bottom-row {
        position: sticky;
        bottom: 0;
        z-index: 1;
    }

    .top-row.auth ::deep a:first-child, .top-bottom.auth ::deep a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row, .bottom-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#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;
    }


.bottom-row {
    background-color: #f7f7f7;
    border-top: 1px solid #d6d5d5;
    justify-content: center;
    height: 3.5rem;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
}

    .bottom-row ::deep a, .bottom-row ::deep .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

        .bottom-row ::deep a:hover, .bottom-row ::deep .btn-link:hover {
            text-decoration: underline;
        }

        .bottom-row ::deep a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

@media (max-width: 640.98px) {
    .bottom-row {
        justify-content: space-between;
    }

        .bottom-row ::deep a, .bottom-row ::deep .btn-link {
            margin-left: 0;
        }
}

.navbar-toggler {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

    .navbar-toggler:checked {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row, .bottom-row {
    /*height: 4.5rem;*/
    background-color: #f7f7f7;
}

.navbar-brand {
    font-size: 1.1rem;
}

.bi {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    
    top: 0px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3Zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z'/%3E%3C/svg%3E");
}

.bi-arrow-bar-left-nav-menu {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type {
        padding-top: 1rem;
    }

    .nav-item:last-of-type {
        padding-bottom: 1rem;
    }

    .nav-item ::deep .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

    .nav-item ::deep a.active {
        background-color: rgba(255,255,255,0.37);
        color: white;
    }

    .nav-item ::deep .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

.nav-scrollable {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler {
        display: none;
    }

    .nav-scrollable {
        /* Never collapse the sidebar for wide screens */
        display: block;
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}


.content__items {
    align-items: center;
    display: flex;
    padding-bottom: 0px;
    min-height: calc(100vh - 275px);
}
.homecardrow {
    min-height: calc(100vh - 9rem);
}
    .homecardrow .row {
        align-items: center;
        height: 100%;
        text-align: center;
    }
.homecards {
    /*width: 22%;*/
   /* margin-right: 3%;*/
}
.card-body {
    background-position: center;
}

.btnCard {
    text-align: center;
    padding-bottom: 10px;
}

.btnCard a {
    background-color : #d10e46;
    border-color: #d10e46;
}

    .btnCard a.btn-secondary {
        border-color: #dedede;
    }

.nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .nav li {
        display: inline-block;
       /* padding: 0 15px;*/
        height: 40px;
        line-height: 40px;
        font-size: 16px;
    }

    .nav a {
        color: #575656;
    }


.table td {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

    .table td.tableButtons {
        max-width: 186px;
        text-align: end;
    }

h1 {
    color: #575656;
}

.table th {
    color: #575656;
    background-color: #f7f7f7;
    border-top-width: 1px;
}

.logo {
    height:4rem;
}
.loginlogo {
    /*height:4rem;*/
    width: 100%;
}
.LoadingPanel {
    background-image: url(images/loader.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-color:#fff;
    position: absolute;
    z-index: 300000 !important;
    width: 100%;
    height: 100vh;
}

.loader {
    background-image: url(images/loader.svg);
    background-repeat: no-repeat;
    background-color: #fff;
    position: relative;
    width: 24px;
    height: 24px;
    background-size: contain;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

/*.form-control.checkbox{
    width:auto;
    appearance:auto;
}*/

.form-check-input{
    padding:0px;
}
.nav-logo{
    position:fixed;
    left:10px;
}
.nav-logo {
    position: fixed;
    left: 10px;
}
.nav-logout {
    position: fixed;
    right: 10px;
    cursor: pointer;
}
.logout {
    height: 40px;
    width: 40px;
    background: url(images/logout_b.png);
    background-size: contain;
    border: none;
}
.nav-logoutname {
    right: 65px;
    position: fixed;
}
    .nav-logoutname h6 {
        margin: 0px;
        background-color: transparent;
        /*font-weight: bold;*/
    }
.login .checkbox {
    float:left;
}
    .login .checkbox label {
        font-size: 16px;
        font-weight: 400;
    }
    .login .checkbox input {
        margin-right: 8px;
    }
.login .btn {
    float: right;
    padding: .375rem .75rem;
    border-radius: 4px;
    background-color: #d10e46;
    border-color: #d10e46;
    font-weight: 400;
    font-size: 16px;
}
.login .control-label {
    padding: 0.375rem 0rem;
}
.login.pagecontainer{
    background-color:transparent;
    border:none;
}
.form-select.form-control-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.form-select.form-control-sm option{
    padding: 0.35rem 0.5rem;
    font-size: 1rem;
}

.divTariffa {
    display: flex;
    margin-bottom: 0px;
}

    .divTariffa div input {
        margin-top: 0px;
        margin-right: 10px;
    }

    .divTariffa div {
        display: flex;
    }

    .divTariffa .col-md-4:first-of-type {
        padding-left: 0;
    }

.colCenter{
    text-align:center;
}

.colFile {
    display: flex;
}

.modal-body.confirm {
    text-align: left;
    white-space: normal;
}

a.control-label {
    display:inline-block;
    height:100%;
}

.form-select.form-control div.dropdown-menu.show {
    top: -2px !important;
}

.sizecol .dropdown {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .sizecol .dropdown .btn.btn-light.dropdown-toggle {
        font-size: inherit;
    }

.titlerow {
    background-color: #f4f4f4;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.9rem;
    margin-top: 30px;
}

.bootstrap-select .dropdown-toggle .filter-option{
    min-height:21px;
}

.modal-header-logo {
    height: 2rem;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3 {
    padding-top: 0.5rem;
    padding-left: 0.5rem;
    padding-bottom: 0.5rem;
    margin-bottom: -1rem;
    background-color: #dedede;
    color: #575656;
}

.cifrefattura {
    padding-right: 10px;
    float: right;
    position: absolute;
    right: 0px;
}

.cifrefatturatotali {
    float: right;
    width: 90px;
    text-align: right;
    padding-right: 10px;
}
.lblcifrefatturatotali {
    width: calc(100% - 90px);
}
#areadettaglio h5 {
    font-weight: 700;
    font-size: unset;
    margin-top: 0.1rem;
}
.accordion-button {
    background-color: #dedede !important;
    /*font-size: 1.25rem !important;*/
    font-weight:700;
    padding-top: 0rem !important;
    padding-left: 0rem !important;
    padding-bottom: 0rem !important;
    border: none !important;
    box-shadow: none !important;
}
.accordion-header {
    padding-top: 0.5rem !important;
    margin-top: 0px !important;
}

.table thead {
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

@media print { /*Regola dedicata alla visualizzazione su carta*/
    .header, .navigation, .component__bottom, .footerButtons, .btn,
    .top-row.px-4, .bottom-row.px-4 {
        display: none !important;
    }

    .accordion,
    .accordion-button,
    .accordion-item {
        font-size: 14px !important;
    }

    .subpage.component {
        padding: 0px;
    }

    .pagecontainer {
        background: #fff !important;
        padding: 0px !important;
        margin: 0px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: auto;
        height: 100%;
    }
}

@page {
    size: auto; /* auto is the initial value */
    margin: 5mm; /* this affects the margin in the printer settings */
    .btn

        {
            display: none;
        }
}


.imagelogo {
    float: right;
    width: 80%;
    position: absolute;
    right: 0px;
    top: 0px;
}

.formfattura .form-control:disabled, .formfattura div.form-control.disabled, .formfattura .form-select .btn.disabled {
    background-color: #fff;
}

.logocol{
    position:relative;
}
.formfattura h6 {
    margin-bottom: 0;
    padding-top: 2px;
    padding-bottom: 2px;
}

.formfattura .form-control.fattura {
    font-weight: bold;
    font-size: 16px;
}

#areasintesi,
#areadettaglio {
    width: 209.97mm;
    height:297.01mm;
}

.intestazione {
    margin-bottom: 0;
}
.ragionesociale{
    padding-top:10px;
}

.formfattura .periodo {
    text-align: right;
    font-size: 17px;
}

.control-label-periodo{
    padding-right:8px;
}

.sintesi h5 {
    margin-top: 0;
    background-color: #fff;
    font-size: 0.8rem;
    display: flex;
}
#areasintesi .row {
    margin-bottom: 2px;
    padding-left: 0px;
    padding-right: 0px;
}

    #areasintesi .row .col-md-12, #areasintesi .row .col-md-6,#areasintesi .row .col-md-3 {
        padding-left: 0px;
        padding-right: 0px;
    }
    #areasintesi .row .bgcolor {
        height: 24px;
    }
        #areasintesi .row .bgcolor label {
            height: 24px;
            line-height: 24px;
        }
    #areasintesi .row .col-md-3.colbgcolor {
        padding-left: 0; /*calc(var(--bs-gutter-x)* 0.5);*/
    }
.rifcomm{
    padding-top:10px;
}
#areasintesi h6 {
    margin-top: 1rem;
}

#areasintesi .row .rowspan {
    line-height: 24px;
    padding:0.15rem 0.15rem;
}
#areasintesi .row .col-md-3, #areasintesi .row .col-md-9 {
    padding-right: calc(var(--bs-gutter-x)* 0.15);
    padding-left: calc(var(--bs-gutter-x)* 0.15);
}
#areasintesi .form-control-sm {
    min-height: 24px;
    height: 24px;
    padding: 0.15rem 0.15rem;
}

#areadettaglio .table > :not(caption) > * > * {
    padding: 0.1rem 0.5rem;
    font-size: 0.7rem;
}
.ragionesociale input {
    margin-top: 15px;
}

.row .bgcolor {
    height: 31px;
    background-color: #f7f7f7;
}
    .row .bgcolor label {
        line-height: 31px;
        padding-left: 5px;
    }

.row .rowspan {
    line-height: 31px;
    padding-left: 8px;
}

.chart {
    position: absolute;
    top: 15px;
    right: 0px;
    width: 50%;
    text-align: center;
}
.chart div{
    display:inline-flex;
}
.rowchart{
    position:relative;
}

#chart{
    width:100%;
}

#areasintesi {
    /*padding-bottom: 70px;*/
}

.login {
    height: calc(100vh) !important;
    padding:0px;
}

    .login .homecardrow .row {
        align-items: center;
        height: 100%;
        text-align: left;
    }
    .login .loginrow {
        padding: 20px;
        background-color: #fff;
        border: 1px solid #d6d5d5;
    }

.btn-group > .btn {
    padding: .175rem .75rem;
    font-weight: 400;
    font-size: 15px;
    border-radius: 4px;
}

th a {
    font-weight: 400;
    font-size: 15px;
}

#areadettaglio .table .colRight {
    text-align: right;
    width: 70px;
}

#areadettaglio .table .colUdm {
    width: 100px;
}

.footerline {
    position: absolute;
    bottom: 0px;
    width: 100%;
}
    .footerline hr {
        margin: 0px;
    }
#areasintesi,
#areadettaglio {
    position: relative;
    margin: 2%;
}

#areasintesi h2 {
    margin: calc(var(--bs-gutter-x)* 0.6);
}
.paddingtop50 {
    padding-top: 10px;
}

.tableButtons .btn.btn-secondary{
    margin-left:5px;
}

#areadettaglio .table .colDesc {
    /* width: 50%; */
    font-size: 0.65rem;
}

.container .text-danger {
    color: #d10e46 !important;
}

.txtheader {
    margin-bottom: -1rem;
    font-size: 0.7rem;
}

.form-control.form-control-sm.bgwhite {
    background-color: #FFF;
}


.accordion-collapse.collapse.show{
    margin-top:-2px;
}

.table td.tdmodal {
    padding: 0;
    border: none;
}

.modalcontent{
    padding:10px;
}

.tdmodal .modalcontent .modalcontenbody {
    max-height: 400px;
    overflow: auto;
}

.tdmodal .modalcontent {
    overflow: auto;
}

.btn.grey, .btn.grey:hover, .btn.grey:focus, .btn.grey:active {
    color: #ccc;
    cursor: default;
}

.modalcontentitle {
    border: 1px solid #ccc;
    padding: 0.5rem 0.5rem;
    color: #575656;
    background-color: #f7f7f7;
    border-top-width: 1px;
    font-weight: bold;
    margin-bottom:5px;
}

.table.rows p{
    display:contents;
}

.btn-close:focus{
    box-shadow:none;
}

.modalcontenbody .table td.tableButtons {
    max-width: 30px;
}

.bi-toggle-on::before, .bi-toggle-off::before,
.bi-toggle2-on::before, .bi-toggle2-off::before{
    font-size:16px;
}

.bi-check-lg::before {
    font-size: 20px;
}