/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/

.ng-pageslide {
    background-color: white;
}
body.ng-pageslide-body-open::before {
    content: '.';
    display: block;
    position: fixed;
    top: 0;
    background-color: rgb(0,0,0);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0.5;
    transition: opacity 1s;
    opacity: 0.5;
    pointer-events: all;
}


body.ng-pageslide-body-closed::before {
    transition: opacity 1s;
    content: '.';
    display: block;
    position: absolute;
    top: 0;
    background-color: rgb(0,0,0);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
}

.pageslider-content {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    position: absolute;
    width: inherit;
    height: 100%;
}

.pageslider-head {
    position: fixed;
    width: inherit;
    background: #3c454d;
    color: #fff;
    padding: 15px 20px;
    border: none;
    height: 60px;
    z-index: 100;
}

.pageslider-body {
    overflow-y: auto;
    padding-top: 60px !important;
    width: inherit;
    overflow-x: hidden;
    height: inherit;
    padding-bottom: 80px !important;
}

.pageslider-footer {
    position: fixed;
    bottom: 0;
    width: inherit;
    margin: 0;
    border-top: 2px solid #dfe0e1;
    background: #ebeced;
    /*height: 80px;*/
    padding: 0px 5px;
}
.tenant{
    font-size:1.2rem;
    color:#333;
}
    .tenant .default {
        font-size: 1rem;
        color: #333;
        background-color:#ebeced
    }

select[multiple] {
    min-height: 200px;
    overflow-y: auto;
}
/*.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}*/

    .pagination > li {
        display: inline;
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.42857143;
            color: #313a46;
            text-decoration: none;
            background-color: #fff;
            border: 1px solid #ddd;
        }

        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .pagination > li > a:hover,
        .pagination > li > span:hover,
        .pagination > li > a:focus,
        .pagination > li > span:focus {
            z-index: 2;
            color: #23527c;
            background-color: #eee;
            border-color: #ddd;
        }

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #313a46;
    border-color: #313a46;
}

    .pagination > .disabled > span,
    .pagination > .disabled > span:hover,
    .pagination > .disabled > span:focus,
    .pagination > .disabled > a,
    .pagination > .disabled > a:hover,
    .pagination > .disabled > a:focus {
        color: #777;
        cursor: not-allowed;
        background-color: #fff;
        border-color: #ddd;
    }

.pull-left {
    float: left !important;
}

.pull-right {
    float: right !important;
}

.pull-none {
    float: none !important;
}

.pagination-label {
    margin-top: 5px;
    display: inline-block;
}

.pagination {
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.select-box-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.width-100 {
    width: 100px !important;
}
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}
.icon-lg {
    font-size: 1.5rem;
    font-weight: 600;
}
/*.table > :not(caption) > * > * {
    padding: .5rem .5rem !important;
}*/
.table-buttons .btn, table tbody td .btn {
    padding: 0; /* Rimuove il padding interno del pulsante */
    margin: 0; /* Rimuove eventuali margini */
    line-height: 1; /* Assicura che il pulsante non si allarghi inutilmente */
}
.table-buttons i, table tbody td i {
    font-size: 1.2rem; /* Aumenta la dimensione dell'icona */
    width: auto; /* Assicura che la larghezza si adatti al contenuto */
    height: auto; /* Assicura che l'altezza si adatti al contenuto */
}

.form-control-sm,
.form-control-sm:focus {
    border-color: #ddd !important;
    outline: none !important;
}
.drop-box {
    background: #F8F8F8;
    border: 5px dashed #DDD;
    width: 100%;
    height: 150px;
    text-align: center;
    padding-top: 25px;
    margin: 10px;
}

.category-list {
    overflow-y: auto;
    /*max-height: 500px;*/
}

    .category-list > table {
        width: 100%;
        margin-bottom: 5px;
    }

        .category-list > table > tbody tr {
            height: 35px;
            background-color: #d5d8da;
            border: 1px solid #aaa;
        }

        .category-list > table > tbody > tr > .check {
            height: 20px;
            width: 60px;
            /*background-color: #ebeced;*/
            text-align: center;
        }

            .category-list > table > tbody > tr > .check > input {
                height: 20px;
                width: 20px;
            }

        .category-list > table > tbody > tr > .testo {
            text-align: left;
            background-color: #fff;
            padding-left: 5px;
            font-size: 14px;
        }

.dropdown-menu .divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #337ab7;
    outline: 0;
}
.dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}
.img-100{
    max-width:100px;
}
.img-300 {
    max-width: 300px;
    height:auto;
}
.scroll-container {
    max-height: 400px; /* Imposta un'altezza massima */
    overflow-y: auto; /* Aggiunge la barra di scorrimento verticale */
    border: 1px solid #ddd; /* Aggiunge un bordo leggero per visibilità */
    padding: 5px; /* Spaziatura interna */
}
.table-striped > tbody > tr:nth-of-type(odd).st-selected td {
    background-color: #357EBD !important;
    color: #FFFFFF !important;
}
td.flex {
    /*display: flex;*/
    flex-wrap: wrap;
}

    td.flex span {
        margin-right: 5px; /* Spazio tra gli elementi */
    }

/* 8.10 Panel Setting */

.panel {
    border: none;
    /*-webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.07);
    box-shadow: 0 2px 0 rgba(0,0,0,0.07);*/
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
}

.panelSconto {
    border: 2px solid rgba(0,0,0,0.07);
    /*border-radius: 5px;*/
    border-color: rgba(0,0,0,0.07);
    /*-webkit-box-shadow: 2px 2px 5px #888888;
    box-shadow: 2px 2px 5px #888888;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;*/
    /*-webkit-box-shadow: 0 2px 0 rgba(0,0,0,0.07);
    box-shadow: 0 2px 0 rgba(0,0,0,0.07);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;*/
}

    .panelSconto .panel-body {
        padding: 1px;
    }

.panel .panel-heading {
    padding: 15px 20px;
    border: none;
}

    .panel .panel-heading .panel-title {
        font-size: 18px;
        font-weight: normal;
        line-height: 20px;
    }

        .panel .panel-heading .panel-title small {
            font-weight: 300;
            margin-left: 3px;
            color: #fff;
            color: rgba(255,255,255,0.5);
        }

.panel.panel-default .panel-heading .panel-title small,
.panel.panel-white .panel-heading .panel-title small {
    color: #000;
    color: rgba(0,0,0,0.5);
    font-weight: normal;
}

.panel.panel-default .panel-heading .panel-title,
.panel.panel-inverse .panel-heading .panel-title,
.panel.panel-purple .panel-heading .panel-title,
.panel.panel-primary .panel-heading .panel-title,
.panel.panel-success .panel-heading .panel-title,
.panel.panel-warning .panel-heading .panel-title,
.panel.panel-danger .panel-heading .panel-title,
.panel.panel-info .panel-heading .panel-title,
.panel.panel-lime .panel-heading .panel-title,
.panel.panel-grey .panel-heading .panel-title {
    font-weight: 300;
}

.panel .panel-heading .panel-heading-btn {
    float: right;
}

.panel .panel-body {
    padding: 20px;
}

.panel.panel-white .panel-heading {
    background: #ffffff;
}

.panel.panel-default .panel-heading {
    background: #ebeced;
}

    .panel.panel-white .panel-heading .panel-title,
    .panel.panel-default .panel-heading .panel-title {
        font-weight: normal;
    }

.panel.panel-inverse .panel-heading {
    background: #3c454d;
    color: #fff;
}

.panel.panel-primary .panel-heading {
    background: #2184DA;
    color: #fff;
}

.panel.panel-success .panel-heading {
    background: #17B6A4;
    color: #fff;
}

.panel.panel-warning .panel-heading {
    background: #fcaf41;
    color: #fff;
}

.panel.panel-purple .panel-heading {
    background: #9b59b6;
    color: #fff;
}

.panel.panel-danger .panel-heading {
    background: #F04B46;
    color: #fff;
}

.panel.panel-grey .panel-heading {
    background: #aab3ba;
    color: #fff;
}

.panel.panel-grey .panel-heading {
    background: #717b85;
    color: #fff;
}

.panel.panel-info .panel-heading {
    background: #38AFD3;
    color: #fff;
}

.panel.panel-lime .panel-heading {
    background: #65C56F;
    color: #fff;
}

.panel .panel-heading-btn {
    float: right;
}

    .panel .panel-heading-btn > .btn {
        box-shadow: 0 1px rgba(0,0,0,0.125);
    }

        .panel .panel-heading-btn > .btn + .btn {
            margin-left: 5px;
        }

.panel .panel-footer {
    border-top: 2px solid #dfe0e1;
    background: #ebeced;
    padding: 10px 20px 40px 10px;
    /*border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;*/
}

.panel.panel-expand {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1060;
    margin-bottom: 0;
    border-radius: 0;
}

    .panel.panel-expand .panel-heading,
    .panel.panel-expand .panel-body {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

.panel .panel-heading .label,
.panel .panel-heading .badge {
    padding-bottom: 1px;
    top: -1px;
}

    .panel .panel-heading .label.pull-left,
    .panel .panel-heading .label.pull-right,
    .panel .panel-heading .badge.pull-left,
    .panel .panel-heading .badge.pull-right {
        top: 1px;
        padding-top: 4px;
        padding-bottom: 3px;
    }

.panel > .alert {
    padding: 10px 20px;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    margin: 0;
}

.panel > .form-control {
    border: none;
}

.panel .panel-toolbar {
    padding: 10px 20px;
    border-bottom: 2px solid #dfe0e1;
    background: #ebeced;
    height: 84px;
}

.panel.panel-with-tabs .nav.nav-tabs {
    margin-top: -15px;
}

.panel.panel-with-tabs.panel-inverse .nav.nav-tabs > li.active > a {
    color: #fff;
}

.panel.panel-with-tabs.panel-inverse .nav.nav-tabs > li > a {
    color: #fff;
    color: rgba(255,255,255,0.4);
}

.panel.panel-with-tabs.panel-inverse .nav.nav-tabs > li:not(.active):after {
    background: #3C454D;
}

.panel-body.panel-form {
    padding: 0;
}

    .panel-body.panel-form .form-group {
        padding: 15px;
        margin: 0;
    }

        .panel-body.panel-form .form-group + .form-group {
            border-top: 2px dashed #EAEDEF;
        }

    .panel-body.panel-form .form-horizontal .form-group {
        padding-left: 0;
        padding-right: 0;
    }

@media (max-width: 767px) {
    .panel.panel-with-tabs .nav.nav-tabs > li {
        float: left;
    }
    .content-page {
        padding: 0 !important;
    }

    .card-body {
        padding: 2px 2px !important;
    }

    body {
        font-size: 0.75rem !important;
    }

    .form-select, .form-control {
        font-size: .75rem !important;
        line-height: 1 !important;
    }
     .btn {
        font-size: .75rem !important;
        line-height: 1.2 !important;
    }
    .side-nav .side-nav-link {
        padding: 10px 10px;
    }
    .leftside-menu .logo {
        margin-top: 10px;
    }
    .button-close-fullsidebar i {
        font-size: 30px;
    }
}
.form-inline {
    display: inline-flex;
    height: 100%;
}
.uil-2x {
    font-size: 2rem;
}
.m-b-0 {
    margin-bottom: 0px !important;
}

.m-b-1 {
    margin-bottom: 1px !important;
}

.m-b-2 {
    margin-bottom: 2px !important;
}

.m-b-3 {
    margin-bottom: 3px !important;
}

.m-b-4 {
    margin-bottom: 4px !important;
}

.m-b-5 {
    margin-bottom: 5px !important;
}

.m-b-10 {
    margin-bottom: 10px !important;
}

.m-b-15 {
    margin-bottom: 15px !important;
}

.m-b-20 {
    margin-bottom: 20px !important;
}

.m-b-25 {
    margin-bottom: 25px !important;
}

.m-b-30 {
    margin-bottom: 30px !important;
}

.m-b-35 {
    margin-bottom: 35px !important;
}

.m-b-40 {
    margin-bottom: 40px !important;
}
.m-r-0 {
    margin-right: 0px !important;
}

.m-r-1 {
    margin-right: 1px !important;
}

.m-r-2 {
    margin-right: 2px !important;
}

.m-r-3 {
    margin-right: 3px !important;
}

.m-r-4 {
    margin-right: 4px !important;
}

.m-r-5 {
    margin-right: 5px !important;
}

.m-r-10 {
    margin-right: 10px !important;
}

.m-r-15 {
    margin-right: 15px !important;
}

.m-r-20 {
    margin-right: 20px !important;
}

.m-r-25 {
    margin-right: 25px !important;
}

.m-r-30 {
    margin-right: 30px !important;
}

.m-r-35 {
    margin-right: 35px !important;
}

.m-r-40 {
    margin-right: 40px !important;
}
.riga-documento > .riferimento {
    text-transform: uppercase;
    font-weight: bold;
}

/*.riga-documento > [class*="col-"] {
    padding-left: 2px !important;
    padding-right: 2px !important;
}*/

multiselect .dropdown-item {
    padding:2px;
}
multiselect .dropdown-menu > li > a {
    padding: 3px 3px;
}

/* START COLORI STATO BADGE */
[class*="fatturato" i], [class*="parzialmentefatturato" i], [class*="scontrinata" i],
[class*="venduto" i], [class*="fatturata" i] {
    background: #3498db !important;
    color: #fff !important;
}

[class*="confermato" i], [class*="parziale" i], [class*="inrevisione" i] {
    background: #f39c12 !important;
    color: #fff !important;
}

[class*="parzialmentepagato" i], [class*="pagato" i] {
    background: #252525 !important;
    color: #fff !important;
}

[class*="interna" i] {
    background: #FF8C00 !important;
    color: #fff !important;
}
[class*="pagamentoaccettato" i] {
    background: #32CD32 !important;
    color: #fff !important;
}

[class*="inattesadiassegno" i], [class*="inattesadipagamentoconbonificobancario" i] {
    background: #4169E1 !important;
    color: #fff !important;
}

[class*="preparazioneincorso" i], [class*="lista" i] {
    background: #FF8C00 !important;
    color: #fff !important;
}

[class*="spedito" i] {
    background: #8A2BE2 !important;
    color: #fff !important;
}

[class*="annullato" i] {
    background: #DC143C !important;
    color: #fff !important;
}

[class*="consegnato" i], [class*="confermata" i] {
    background: #108510 !important;
    color: #fff !important;
}

[class*="rifornimento" i] {
    background: #FF69B4 !important;
    color: #383838 !important;
}

[class*="inlavorazione" i], [class*="inpreparazionespedizione" i] {
    background: #fffc08 !important;
    color: black !important;
}

[class*="registrato" i], [class*="emesso" i], [class*="registrata" i], [class*="inarrivo" i] {
    background: #7f8c8d !important;
    color: #fff !important;
}

[class*="annullato" i], [class*="stornato" i], [class*="insoluta" i], [class*="debito" i], [class*="annullata" i] {
    background: #e74c3c !important;
    color: #fff !important;
}

[class*="lavorato" i], [class*="evaso" i], [class*="evasa" i], [class*="saldata" i], [class*="credito" i], [class*="scontrinato" i], [class*="parzialmenteevaso" i] {
    background: #16a086 !important;
    color: #fff !important;
}
/* END COLORI STATO BADGE */
td.arrow-cell {
    padding: 0 !important;
}
td.icon {
    padding: 0 !important;
    text-align:center;
}

/*CARD COMBO*/
.panel-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.panel-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.combo-tabs .nav-link {
    position: relative;
    padding: 0.75rem 1.5rem;
    border: none;
    color: #6c757d;
    font-weight: 500;
}

    .combo-tabs .nav-link.active {
        color: #0d6efd;
        background: transparent;
        border-bottom: 2px solid #0d6efd;
    }

.combo-tab-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-close-tab {
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 0;
    font-size: 0.75rem;
    line-height: 1;
}

    .btn-close-tab:hover {
        color: #dc3545;
    }

.table-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .table-card .card-body {
        flex-grow: 1;
    }

.combo-item:hover {
    background-color: #f8f9fa;
}

.form-floating label {
    color: #6c757d;
}

/*CARD All You Can Eat*/
.all-you-can-eat-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #eee;
    padding: 1.25rem 1.5rem;
}

.ayce-tabs .nav-link {
    padding: 0.75rem 1.25rem;
    color: #6c757d;
    border: none;
    border-bottom: 2px solid transparent;
    font-weight: 500;
    transition: all 0.2s;
}

    .ayce-tabs .nav-link.active {
        color: #0d6efd;
        border-bottom-color: #0d6efd;
        background: transparent;
    }

.ayce-tab-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-close-tab {
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 0;
    font-size: 0.75rem;
    line-height: 1;
}

    .btn-close-tab:hover {
        color: #dc3545;
    }

.categories-card {
    border: 1px solid #e9ecef;
}

    .categories-card .card-header {
        background-color: white;
        border-bottom: 1px solid #e9ecef;
    }

.category-item:hover {
    background-color: #f8fafc;
}

.form-floating label {
    color: #6c757d;
}

.mdi {
    vertical-align: middle;
    font-size: 1.1em;
}

.global-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .global-loader .spinner {
        border: 5px solid #f3f3f3;
        border-top: 5px solid #3498db;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
#gritter-notice-wrapper {
    z-index: 99999 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    pointer-events: none; /* opzionale: evita click-block */
}
.riga-documento {
    background: lightgrey;
    padding: 5px 5px 10px 5px;
    text-transform: uppercase;
    font-weight: bold;
}
a.disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.65;
}
