html, body {
    height: 100%;
    font-size: 1em;
    font-family: "Helvetica Neue", Helvetica, "Open Sans", Arial, sans-serif;
}

/*#LogOn div fieldset, form fieldset {
    background: none repeat scroll 0 0 #F5F5F5;
}*/

/* badge backgrounds */
.bg-status-1 {
    background-color: #0dcaf0;
}
.bg-status-2 {
    background-color: #198754;
}
.bg-status-3 {
    background-color: #ffc107;
}
.bg-status-4 {
    background-color: #dc3545;
}
.bg-status-5 {
    background-color: #212529;
}

 /*MOBILE: nasconde il testo*/ 
@media (max-width: 767.98px) {
    .btn-add-responsive .btn-text {
        display: none;
    }
}

/*DESKTOP: mostra il testo*/ 
@media (min-width: 768px) {
    .btn-add-responsive .btn-text {
        display: inline;
        margin-left: 5px;
    }
}

/* MOBILE */
/*@media (max-width: 767.98px) {

    .btn-add-responsive {
        padding: .375rem .5rem;*/ /* stessa altezza dei bottoni bootstrap */
        /*display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

        .btn-add-responsive .btn-text {
            display: none;
        }*/

        /* Fix per centrare l'icona (bootstrap icons hanno offset verticale!) */
        /*.btn-add-responsive .icon-fix {
            position: relative;
            top: 1px;*/ /* <--- questa è la chiave! corregge il disallineamento */
            /*font-size: 1rem;
            line-height: 1;
        }
}*/

/* DESKTOP */
@media (min-width: 768px) {
    .btn-add-responsive .btn-text {
        display: inline;
    }
}

.btn-sm-75 {
    padding-y: .20rem;
    padding-x: .4rem;
    font-size: .80rem;
}

:root {
    --bs-card-border-color: var(--bs-border-color);
}

.section-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
}

.note-editor {
    border: 1px solid var(--bs-border-color) !important;
    background-color: var(--bs-body-bg);
}

.note-editing-area, .note-editable {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

.note-toolbar {
    background-color: var(--bs-tertiary-bg);
}

.card-section {
    margin-bottom: 1.5rem;
}

.section-header {
    background-color: var(--bs-tertiary-bg);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
    font-weight: 500;
}

/* Forzare i colori del testo nei controlli summernote in modalità scura */
[data-bs-theme="dark"] .note-editing-area,
[data-bs-theme="dark"] .note-editable {
    color: var(--bs-body-color);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/*.form-select, .form-control {
    padding: 0.5rem 0.75rem;
}
*/
.row + .row {
    margin-top: 1rem;
}

.filter-border {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 2px 6px;
    background-color: #fff;
    color: #7e8184;
}

/* Toast */
.toast {
    font-size: 0.7rem; 
    padding: 4px 8px; 
    min-width: 150px; 
    opacity: 0.75 !important; 
    border-radius: 4px;
}

.toast-message {
    padding: 2px 4px; 
}

.toast-success .toast-message,
.toast-error .toast-message,
.toast-warning .toast-message,
.toast-info .toast-message {
    margin-left: 0px; 
    font-size: 0.7rem; 
}


fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
    border-radius: 8px;
}

.dialog fieldset {
    margin: 0;
}

[data-bs-theme="light"] legend {
    color: #000000;
    background: white !important;
    font-size: 1.4em;
    font-weight: bold;
    position: relative;
    top: -0.7em;
    background-color: white;
    display: inline-block;
    width: auto !important;
}
[data-bs-theme="dark"] legend {
    color: #fff !important;
    background: #212529 !important;
    font-size: 1.4em;
    font-weight: bold;
    position: relative;
    top: -0.7em;
    background-color: white;
    display: inline-block;
    width: auto !important;
}
/* background no user image  */
.img-bg-0 {
    background: rgb(171, 71, 188); /*AB47BC*/
}

.img-bg-1 {
    background: rgb(141, 110, 99); /*8D6E63*/
}

.img-bg-2 {
    background: rgb(213, 64, 53); /*D54035*/
}

.img-bg-3 {
    background: rgb(0, 151, 235); /*0097EB*/
}

.img-bg-4 {
    background: rgb(229, 120, 11); /*E5780B*/
}

.img-bg-5 {
    background: rgb(171, 71, 188); /*AB47BC*/
}

.img-bg-6 {
    background: rgb(129, 195, 64); /*81C340*/
}

.img-bg-7 {
    background: rgb(0, 150, 136); /*#009688*/ /*background: rgb(229, 229, 18);*/ /*E5E512*/
}

.img-bg-8 {
    background: rgb(138, 148, 173); /*#8a94ad;*/
}

/*.img-bg-9 {
    background: rgb(141, 110, 99);*/ /*8D6E63*/
/*}*/

.avatar-sm {
    height: 1rem;
    width: 1rem;
}

.avatar-sm-2 {
    height: 2rem;
    width: 2rem;
}

.avatar-1xl {
    height: 2.5rem;
    width: 2.5rem;
}

.avatar-2xl {
    height: 3.5rem;
    width: 3.5rem;
}

.logo-text {
    font-size: 1.63625rem;
    color: rgba(82, 91, 117, 0.8);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 0;
}

.status-active-true-false{
    color: green;
}

.status-active-false-false {
    color: red;
}

.status-active-true-true {
    color: orange;
}

.status-active-false-true {
    color: red;
}

.no-user-photo-sm {
    /*background: #8BC34A;*/
    color: white;
    height: 2.5rem;
    width: 2.5rem;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 16px;
    font-size: 15px;
}

.no-user-photo-sm-2 {
    /*background: #8BC34A;*/
    color: white;
    height: 2rem;
    width: 2rem;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 12px;
    font-size: 12px;
}

.no-user-photo-md {
    /*background: #8BC34A;*/
    color: white;
    height: 3.5rem;
    width: 3.5rem;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 20px;
    font-size: 28px;
}

.no-user-photo-md-2 {
    /*background: #8BC34A;*/
    color: white;
    height: 5.5rem;
    width: 5.5rem;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 24px;
    font-size: 32px;
}

.no-user-photo-bg {
    /*background: #8BC34A;*/
    color: white;
    height: 9.375rem;
    width: 9.375rem;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 48px;
    font-size: 56px;
}
/* -------------------------------------------------------------------------- */
/*                                    Rate Stars                              */
/* -------------------------------------------------------------------------- */
.rating-small {
    width: 80%;
    _margin-bottom: 3px;
    _display: flex;
    _flex-direction: row-reverse;
    _justify-content: center;
}

/* -------------------------------------------------------------------------- */
/*                                    Stars                                    */
/* -------------------------------------------------------------------------- */

div.stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

input.star {
    display: none;
}

label.star {
    display: inline;
    padding: 10px;
    font-size: 36px;
    color: #444;
    transition: all .2s;
}

input.star:checked ~ label.star:before {
    content: '\f005';
    color: #FD4;
    transition: all .25s;
}

input.star-5:checked ~ label.star:before {
    color: #FE7;
    text-shadow: 0 0 20px #952;
}

input.star-1:checked ~ label.star:before {
    color: #F62;
}

/*label.star:hover {
    transform: rotate(-15deg) scale(1.3);
}*/

label.star:before {
    content: '\f006';
    font-family: FontAwesome;
}

.mt-35 {
    margin-top: 1.35rem !important;
}


/* -------------------------------------------------------------------------- */
/*                                    Card                                    */
/* -------------------------------------------------------------------------- */
/* TODO da rivedere se utilizzabili */
card {
    margin: 15px;

}

card-body{
    background-color: white;
}

card-footer {
    width: 200px;
    background: white;
}

/* -------------------------------------------------------------------------- */
/*                            Theme-control-toggle                            */
/* -------------------------------------------------------------------------- */
.theme-control-toggle .theme-control-toggle-label {
    height: 2rem;
    width: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background-color: rgba(255, 204, 133, 0.24);
    color: rgba(229, 120, 10, 1);
    border-radius: 50%;
    cursor: pointer;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    margin-top: 10px;
}

    .theme-control-toggle .theme-control-toggle-label:hover {
        background-color: rgba(229, 120, 11, 1);
        color: rgba(255, 239, 202, 1);
    }

.theme-control-toggle.theme-control-toggle-slim .theme-control-toggle-label {
    padding: 0 0.5rem;
    height: 1rem;
    width: auto;
    border-radius: 50rem;
}

    .theme-control-toggle.theme-control-toggle-slim .theme-control-toggle-label .icon {
        height: 10.2px;
        width: 10.2px;
    }

.theme-control-toggle .theme-control-toggle-input {
    display: none;
}

    .theme-control-toggle .theme-control-toggle-input:checked ~ .theme-control-toggle-dark {
        display: none;
    }

    .theme-control-toggle .theme-control-toggle-input:not(:checked) ~ .theme-control-toggle-light {
        display: none;
    }



/* -------------------------------------------------------------------------- */
/*                                   Avatar                                   */
/* -------------------------------------------------------------------------- */
.avatar {
    /*position: relative;*/
    display: inline-block;
    vertical-align: middle;
}

    .avatar .avatar-placeholder {
        background: var(--phoenix-secondary-bg);
    }

    .avatar .avatar-name {
        position: absolute;
        text-align: center;
        color: var(--phoenix-avatar-name-color);
        background-color: var(--phoenix-primary-bg-subtle);
        font-weight: bold;
        text-transform: uppercase;
        display: block;
    }

        .avatar .avatar-name > span {
            position: absolute;
            top: 53%;
            left: 50%;
            -webkit-transform: translate3d(-50%, -50%, 0);
            transform: translate3d(-50%, -50%, 0);
            font-weight: 900 !important;
        }

    .avatar .avatar-emoji {
        height: 100%;
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

        .avatar .avatar-emoji > span {
            -webkit-transform: translateY(2%);
            -ms-transform: translateY(2%);
            transform: translateY(2%);
            display: inline-block;
        }

    .avatar img {
        display: block;
    }

    .avatar img,
    .avatar .avatar-name {
        width: 100%;
        height: 100%;
    }

    .avatar img {
        -o-object-fit: cover;
        object-fit: cover;
    }

    .avatar.avatar-bordered.avatar-s img,
    .avatar.avatar-bordered.avatar-s .avatar-name {
        border: 1px solid var(--phoenix-border-color-translucent);
    }

    .avatar.avatar-bordered.avatar-m img,
    .avatar.avatar-bordered.avatar-m .avatar-name {
        border: 1px solid var(--phoenix-border-color-translucent);
    }

    .avatar.avatar-bordered.avatar-l img,
    .avatar.avatar-bordered.avatar-l .avatar-name {
        border: 2px solid var(--phoenix-emphasis-bg);
    }

    .avatar.avatar-bordered.avatar-xl img,
    .avatar.avatar-bordered.avatar-xl .avatar-name {
        border: 3px solid var(--phoenix-emphasis-bg);
    }

    .avatar[class*=status-]:before {
        content: "";
        position: absolute;
        border-radius: 100%;
        z-index: 1;
    }

    .avatar.status-online:before {
        background-color: var(--phoenix-success);
    }

    .avatar.status-offline:before {
        background-color: var(--phoenix-secondary);
    }

    .avatar.status-away:before {
        background-color: var(--phoenix-warning);
    }

    .avatar.status-do-not-disturb:before {
        background-color: var(--phoenix-danger);
    }

    .avatar .avatar-button {
        background-color: var(--phoenix-avatar-button-bg) !important;
        -webkit-transition: all 0.2s ease-in-out;
        -o-transition: all 0.2s ease-in-out;
        transition: all 0.2s ease-in-out;
        border: 1px solid var(--phoenix-avatar-button-bg);
        font-size: 12px;
    }

        .avatar .avatar-button:hover, .avatar .avatar-button:focus {
            background-color: var(--phoenix-avatar-button-hover-bg) !important;
        }

    .avatar:hover .overlay-icon {
        opacity: 1;
    }

.avatar-s {
    height: 1.5rem;
    width: 1.5rem;
}

    .avatar-s .avatar-name {
        font-size: 0.7894736842rem;
        line-height: 1.2;
    }

    .avatar-s .avatar-emoji {
        font-size: 1.5rem;
    }

    .avatar-s[class*=status-]:before {
        border: 1px solid var(--phoenix-emphasis-bg);
        height: 6px;
        width: 6px;
        right: 1px;
        bottom: 1px;
    }

    .avatar-s .rounded-soft {
        border-radius: 0.25rem !important;
    }

    .avatar-s .rounded-none {
        border-radius: 0 !important;
    }

.avatar-m {
    height: 2rem;
    width: 2rem;
}

    .avatar-m .avatar-name {
        font-size: 1.0526315789rem;
        line-height: 1.2;
    }

    .avatar-m .avatar-emoji {
        font-size: 2rem;
    }

    .avatar-m[class*=status-]:before {
        border: 1px solid var(--phoenix-emphasis-bg);
        height: 8px;
        width: 8px;
        right: 1px;
        bottom: 1px;
    }

    .avatar-m .rounded-soft {
        border-radius: 0.3333333333rem !important;
    }

    .avatar-m .rounded-none {
        border-radius: 0 !important;
    }

.avatar-l {
    height: 2.5rem;
    width: 2.5rem;
}

    .avatar-l .avatar-name {
        font-size: 1.3157894737rem;
        line-height: 1.2;
    }

    .avatar-l .avatar-emoji {
        font-size: 2.5rem;
    }

    .avatar-l[class*=status-]:before {
        border: 1px solid var(--phoenix-emphasis-bg);
        height: 9px;
        width: 9px;
        right: 2px;
        bottom: 2px;
    }

    .avatar-l .rounded-soft {
        border-radius: 0.4166666667rem !important;
    }

    .avatar-l .rounded-none {
        border-radius: 0 !important;
    }

.avatar-xl {
    height: 3rem;
    width: 3rem;
}

    .avatar-xl .avatar-name {
        font-size: 1.5789473684rem;
        line-height: 1.2;
    }

    .avatar-xl .avatar-emoji {
        font-size: 3rem;
    }

    .avatar-xl[class*=status-]:before {
        border: 2px solid var(--phoenix-emphasis-bg);
        height: 12px;
        width: 12px;
        right: 1px;
        bottom: 1px;
    }

    .avatar-xl .rounded-soft {
        border-radius: 0.5rem !important;
    }

    .avatar-xl .rounded-none {
        border-radius: 0 !important;
    }

.avatar-2xl {
    height: 3.5rem;
    width: 3.5rem;
}

    .avatar-2xl .avatar-name {
        font-size: 1.8421052632rem;
        line-height: 1.2;
    }

    .avatar-2xl .avatar-emoji {
        font-size: 3.5rem;
    }

    .avatar-2xl[class*=status-]:before {
        border: 2px solid var(--phoenix-emphasis-bg);
        height: 16px;
        width: 16px;
        right: -3px;
        bottom: -3px;
    }

    .avatar-2xl .rounded-soft {
        border-radius: 0.5833333333rem !important;
    }

    .avatar-2xl .rounded-none {
        border-radius: 0 !important;
    }

.avatar-3xl {
    height: 4.5rem;
    width: 4.5rem;
}

    .avatar-3xl .avatar-name {
        font-size: 2.3684210526rem;
        line-height: 1.2;
    }

    .avatar-3xl .avatar-emoji {
        font-size: 4.5rem;
    }

    .avatar-3xl[class*=status-]:before {
        border: 3px solid var(--phoenix-emphasis-bg);
        height: 18px;
        width: 18px;
        right: 0;
        bottom: 0;
    }

    .avatar-3xl .rounded-soft {
        border-radius: 0.75rem !important;
    }

    .avatar-3xl .rounded-none {
        border-radius: 0 !important;
    }

.avatar-4xl {
    height: 6rem;
    width: 6rem;
}

    .avatar-4xl .avatar-name {
        font-size: 3.1578947368rem;
        line-height: 1.2;
    }

    .avatar-4xl .avatar-emoji {
        font-size: 6rem;
    }

    .avatar-4xl[class*=status-]:before {
        border: 3px solid var(--phoenix-emphasis-bg);
        height: 24px;
        width: 24px;
        right: 3px;
        bottom: 3px;
    }

    .avatar-4xl .rounded-soft {
        border-radius: 1rem !important;
    }

    .avatar-4xl .rounded-none {
        border-radius: 0 !important;
    }

.avatar-5xl {
    height: 8.375rem;
    width: 8.375rem;
}

    .avatar-5xl .avatar-name {
        font-size: 4.9342105263rem;
        line-height: 1.2;
    }

    .avatar-5xl .avatar-emoji {
        font-size: 9.375rem;
    }

    .avatar-5xl[class*=status-]:before {
        border: 4px solid var(--phoenix-emphasis-bg);
        height: 32px;
        width: 32px;
        right: 8px;
        bottom: 8px;
    }

    .avatar-5xl .rounded-soft {
        border-radius: 1.5625rem !important;
    }

    .avatar-5xl .rounded-none {
        border-radius: 0 !important;
    }

.avatar-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

    .avatar-group .avatar-s:not(:first-child),
    .avatar-group .avatar-m:not(:first-child),
    .avatar-group .avatar-l:not(:first-child),
    .avatar-group .avatar-xl:not(:first-child),
    .avatar-group .avatar-2xl:not(:first-child),
    .avatar-group .dropdown-toggle:not(:first-child) {
        margin-left: -0.5rem;
    }

    .avatar-group .avatar-3x:not(:first-child) {
        margin-left: -1rem;
    }

    .avatar-group .avatar-4x:not(:first-child) {
        margin-left: -1.5rem;
    }

    .avatar-group .avatar-5x:not(:first-child) {
        margin-left: -2rem;
    }

.avatar-group-dense .avatar-s:not(:first-child) {
    margin-left: -0.6rem;
}

.avatar-group-dense .avatar-m:not(:first-child) {
    margin-left: -0.8rem;
}

.avatar-group-dense .avatar-l:not(:first-child),
.avatar-group-dense .avatar-xl:not(:first-child),
.avatar-group-dense .avatar-2xl:not(:first-child) {
    margin-left: -1rem;
}

.avatar-group-dense .avatar-3xl:not(:first-child) {
    margin-left: -1.5rem;
}

.avatar-group-dense .avatar-4xl:not(:first-child) {
    margin-left: -2.2rem;
}

.avatar-group-dense .avatar-5xl:not(:first-child) {
    margin-left: -3.6rem;
}

.avatar-dropdown-menu .nav .nav-link:hover {
    background: var(--phoenix-body-highlight-bg);
}

.cl-no-image-wrapper-sm {
    min-width: 32px;
    min-height: 32px;
}

.cl-no-image-wrapper, .cl-no-image-wrapper-lg, .cl-no-image-wrapper-md, .cl-no-image-wrapper-sm {
    border-radius: 8px;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    align-items: center;
    color: #fefefe;
}

.cl-bg-light-green {
    background: #8BC34A !important;
}

.cl-avatar-image {
    border-radius: 8px;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.cl-avatar-image {
    max-width: 40px;
    width: 40px;
    max-height: 40px;
    height: 40px;
    padding: 3px;
    border: 1px solid #d6dbdf;
    background-color: #e5e8e8;
    vertical-align: middle;
}


.modal-title {
    font-size: 1.25rem;
    color: var(--phoenix-secondary-color);
}

@media (min-width: 768px) {
    .modal-md {
        --phoenix-modal-width: 768px;
    }
}

.dataTables_wrapper {
    margin-bottom: 5px;
}

.dataTable tbody tr.selected {
    background-color: #ffc107 !important;
    _background-color: #f4d03f;
    /*background-color: #aed6f1 !important;
    _background-color: #dde3ee;*/
}

table.dataTable.table-hover > tbody > tr:hover > * {
    _box-shadow: inset 0 0 0 9999px #ffc107 !important;
    box-shadow: inset 0 0 0 9999px #f4d03f !important;
}

table.dataTable > tbody > tr.selected > * {
    box-shadow: inset 0 0 0 9999px #ffc107;
    color: black;
}

table.dataTable.table-striped > tbody > tr.odd.selected > * {
    box-shadow: inset 0 0 0 9999px #ffc107;
}


/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 100px;
}

/* Prevent footer to go over the bottom of the page */
/*.body-container {
    min-height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
    font-size: 1rem;
}*/

.container, .container-fluid {
    font-size: 0.85rem;
}

.navbar {
    font-size: 0.85rem;
    /*background-color: #a6e9d5;*/
    _background-color: #3B5998 !important;
    _background-color: #f8f9fa !important;
    _background-color: #D1E3ED !important;
    _background: #fefefe;
    border-bottom: 1px solid #C6D2D9 !important ;        
}

    .navbar .navbar-brand,
    .navbar .navbar-text {
        color: #333;
    }
        .navbar .navbar-brand .logo-text {
            color: #3B5998;
        }

    .navbar .nav-item .nav-link {
        color: #333 ;
    }



.navbar.bg-dark {
    background-color: #020C18 !important;
}



.dropdown-item {
    font-size: 0.85rem;
}

label {
    _margin-bottom: 0.30rem;
}

.form-group {
    _margin-bottom: 2rem;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    background-color: #DFDFDF;
    border-top: solid 1px #888;
    font-size: .80rem;    
}

footer, #footer {
    font-size: .80rem;
    background-color: #DFDFDF;
    border-top: solid 1px #888;
    color: #999;
    padding: 10px;
    _text-align: center;
    line-height: normal;
    _margin: 0 0 25px 5px;
    font-size: .9em;
    _min-height: 25px;
    _border-top: 1px solid #5C87B2;
}

/**/
#flowBoxes {
    margin: auto;
    _padding: 20px;
    padding-bottom: 20px;
    min-width: 700px;
}

    #flowBoxes div {
        display: inline-block;
        position: relative;
        height: 30px;
        line-height: 30px;
        padding: 0 20px;
        border: 1px solid #ccc;
        margin-right: 2px;
        background-color: white;
    }

        #flowBoxes div.right:after {
            content: '';
            border-top: 1px solid #ccc;
            border-right: 1px solid #ccc;
            width: 23px;
            height: 23px;
            position: absolute;
            right: 0;
            top: -1px;
            background-color: white;
            z-index: 150;
            -webkit-transform: translate(12px,4px) rotate(45deg);
            -moz-transform: translate(12px,4px) rotate(45deg);
            -ms-transform: translate(12px,4px) rotate(45deg);
            -o-transform: translate(12px,4px) rotate(20deg);
            transform: translate(12px,4px) rotate(45deg);
        }

        #flowBoxes div.left:before {
            content: '';
            border-top: 1px solid #ccc;
            border-right: 1px solid #ccc;
            width: 23px;
            height: 23px;
            position: absolute;
            left: 0;
            top: -1px;
            background-color: white;
            z-index: 50;
            -webkit-transform: translate(-12px,4px) rotate(45deg);
            -moz-transform: translate(-12px,4px) rotate(45deg);
            -ms-transform: translate(-12px,4px) rotate(45deg);
            -o-transform: translate(-12px,4px) rotate(20deg);
            transform: translate(-12px,4px) rotate(45deg);
        }


        #flowBoxes div.active-1:after {
            background-color: #0d6efd;
        }

        #flowBoxes div.active-2:after {
            background-color: #0dcaf0;
        }

        #flowBoxes div.active-3:after {
            background-color: #ffc107;
        }

        #flowBoxes div.active-4:after {
            background-color: #198754;
        }

    #flowBoxes .active-1 {
        background-color: #0d6efd;
        color: white;
    }

    #flowBoxes .active-2 {
        background-color: #0dcaf0;
        color: white;
    }

    #flowBoxes .active-3 {
        background-color: #ffc107;
        color: white;
    }

    #flowBoxes .active-4 {
        background-color: #198754;
        color: white;
    }

    #flowBoxes div.canceled:after {
        background-color: red;
    }

    #flowBoxes .canceled {
        background-color: red;
        color: white;
    }




/* ------------------------ Forms ------------------------ */
.form-control {
    padding: 0.375rem 0.50rem;
    font-size: 0.85rem;
}

.input-group-text {
    font-size: 0.85rem;
}

.field-validation-error {
    color: red;
    font-size: 0.80rem;
}

.table-hover > tbody > tr:hover, .table.dataTable > tbody > tr:hover {
    _background-color: gainsboro;
    background-color: lightblue;
    _background-color: navajowhite;
}

.table th {
    padding: 0.35rem !important;
}

.table td {
    padding: 0.20rem 0.35rem !important;
    vertical-align: middle;
}

div.dataTables_length {
    display: none;
}


.page-header {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

/* ------------------------ Label ------------------------ */

.label-bold {
    font-weight: bold;
}



.tableFilters li {
    border: none !important;
    padding: 0;
    margin: 0px 2px 0px 0px;
}

.tableFilters .form-select {
    line-height: 1.3
}

/* toastr */

.toast-top-right {
    top: 60px;
    right: 12px;
}

.toast-for-modal {
    top: 36px;
    right: 644px;
}

/* ------------------------ Login ------------------------ */
#LoginArea {
    max-width: 400px;
    margin: 120px auto 120px auto;
}

    #LoginArea fieldset {
        border: none !important;
    }

/* ------------------------ Autocomplete ------------------------ */

.ui-autocomplete {
    position: absolute;
    z-index: 99999 !important;
    cursor: default;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

    .ui-autocomplete > li {
        padding: 3px 20px;
    }

        .ui-autocomplete > li.ui-state-focus {
            background-color: #DDD;
        }

.ui-helper-hidden-accessible {
    display: none;
}

/* ------------------------ Validation Error ------------------------ */

.error {
    color: red;
    border-color: red;
    font-size: 12px;
}

/* ------------------------ Pdf Viewer ------------------------ */

#canvas_container {
    overflow: auto;
}

#canvas_container {
    _background: #333;
    background: #999999 !important;
    text-align: center;
    border: solid 3px;
    border-color: #5c5d5e;
}

.dropdown-menu {
    font-size: 0.95rem;
}

.nav-item .bi {
    margin-right: 3px;
}

@media (min-width: 992px) {
    .dropdown-menu .dropdown-toggle:after {
        border-top: .3em solid transparent;
        border-right: 0;
        border-bottom: .3em solid transparent;
        border-left: .3em solid;
    }

    .dropdown-menu .dropdown-menu {
        margin-left: 0;
        margin-right: 0;
    }

    .dropdown-menu li {
        position: relative;
    }

    .nav-item .submenu {
        display: none;
        position: absolute;
        left: 100%;
        top: -7px;
    }

    .nav-item .submenu-left {
        right: 100%;
        left: auto;
    }

    .dropdown-menu > li:hover {
        background-color: #f1f1f1
    }

        .dropdown-menu > li:hover > .submenu {
            display: block;
        }
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 20px;
}

/* ------------------------ Currency input ------------------------ */

.currencyinput {
    border: 1px inset #ccc;
}

    .currencyinput input {
        border: 0;
    }

/* ------------------------ Loading spinner autocomplete ------------------------ */

.inputcontainer {
    position: relative;
}

.icon-container {
    position: absolute;
    right: 10px;
    top: calc(50% - 10px);
}

.loader {
    position: relative;
    height: 20px;
    width: 20px;
    display: inline-block;
    animation: around 5.4s infinite;
}

@keyframes around {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.loader::after, .loader::before {
    content: "";
    background: white;
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    border-width: 2px;
    border-color: #333 #333 transparent transparent;
    border-style: solid;
    border-radius: 20px;
    box-sizing: border-box;
    top: 0;
    left: 0;
    animation: around 0.7s ease-in-out infinite;
}

.loader::after {
    animation: around 0.7s ease-in-out 0.1s infinite;
    background: transparent;
}


/* Remove default bullets */
ul, #myUL {
    list-style-type: none;
}

/* Remove margins and padding from the parent ul */
#myUL {
    margin: 0;
    padding: 0;
}

/* Style the caret/arrow */
.caret {
    cursor: pointer;
    user-select: none; /* Prevent text selection */
}

    /* Create the caret/arrow with a unicode, and style it */
    .caret::before {
        content: "\25B6";
        color: black;
        display: inline-block;
        margin-right: 6px;
    }

/* Rotate the caret/arrow icon when clicked on (using JavaScript) */
.caret-down::before {
    transform: rotate(90deg);
}

/* Hide the nested list */
.nested {
    display: none;
}

/* Show the nested list when the user clicks on the caret/arrow (with JavaScript) */
.active {
    display: block;
}

.new-address-cell {
    width: 100%; /* Puoi specificare la larghezza desiderata */
    box-sizing: border-box; /* Assicura che il padding e il bordo siano inclusi nella larghezza totale */
}

.red {
    color: red;
}

.green {
    color: green;
}




