.alert .btn-close {
    background-image: var(--bs-btn-close-bg);
}

.text-right {
    text-align: right;
}

.has-icon .bx {
    font-size: 19px;
    vertical-align: sub;
}

.cursor-pointer {
    cursor: pointer;
}

.card-header.with-actions {
    display: flex;
}

.card-header.with-actions .card-title {
    flex-grow: 1;
}

.btn.rounded-pill.w-auto {
    min-width: 130px;
}
.btn.rounded-pill.w-auto.min-w-160 {
    min-width: 160px;
}

.actions-cell {
    text-align: right;
}

.actions-cell .btn {
    margin-right: 10px;
}

.no-text-transform {
    text-transform: none !important;
}

#userNameLog {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
}


.card-header.with-search {
    display: flex;
}

.card-header.with-search .card-title {
    flex-grow: 1;
}

.product-title-row {
    display: flex;
}

.product-title-row>h6 {
    flex-grow: 1;
}

.product-prezzo-row {
    display: flex;
    align-items: center;
}

.product-prezzo-row .prezzo {
    flex-grow: 1;
}

.prodotto .peso {
    min-width: 50px;
    text-align: right;
    white-space: nowrap;
}

.prodotto .peso {
    white-space: nowrap;
}

.qta-selector {
    width: 120px;
}

.prodotto {
    height: 100%;
    border: 1px solid transparent !important;
    transition: border .3s;
}
.prodotto .product-title-row{
    height: 50%;
}
.prodotto-wrap{
    padding-bottom: 24px !important;
}
.prodotto.carted {
    border-color: var(--bs-primary) !important;
}

.totali ul {
    list-style: none;
    padding-left: 0;
    padding-top: 20px;
}

.totali .form-group {
    margin-top: 10px;
}

#riepilogo.order-empty .on-order-not-empty,
#riepilogo:not(.order-empty) .on-order-empty {
    display: none;
}

.page {
    justify-content: start;
    min-height: 80vh;
}

.app-content {
    padding-top: 20px;
    padding-bottom: 10px;
}

.not-matching {
    display: none;
}

.btn-is-loading i {
    animation: loader 1s infinite linear;
}

.empty-space {
    width: 100%;
    visibility: hidden;
}

.table.dataTable th:not(:first-child),
.table.dataTable td:not(:first-child) {
    text-align: right !important;
}

#prodottiTable_wrapper .table.dataTable th:nth-child(2),
#prodottiTable_wrapper .table.dataTable td:nth-child(2) {
    text-align: left !important;
}
#referenzeTable_wrapper .table.dataTable th:nth-child(2),
#referenzeTable_wrapper .table.dataTable td:nth-child(2),
#fornitoriTable_wrapper .table.dataTable th:nth-child(2),
#fornitoriTable_wrapper .table.dataTable td:nth-child(2) {
    text-align: left !important;
}

.table.dataTable td:first-child {
    font-weight: 600;
}

.actions-to-bottom {
    display: flex;
    align-content: flex-end;
    flex-wrap: wrap;
    align-items: flex-end;
    /* flex-direction: row-reverse; */
}

#ordine-singolo>.card-body {
    padding-bottom: 2rem !important;
}

#view-nota-ordine .card-body {
    white-space: pre-wrap;
}

body {
    padding-bottom: 40px;
}

.copyright {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
}

.copyright a {
    color: var(--bs-primary);
}

.copyright a:hover {
    text-decoration: underline;
}

.copyright .container {
    max-width: 450px;
}

body[data-page="login"] {
    padding-bottom: 0;
}

#sidenav-logo {
    position: absolute;
    bottom: 90px;
    left: 0;
    width: 100%;
}

#sidenav-logo img {
    width: 200px;
    max-width: 70%;
    margin: auto;
    display: block;
}

.dtfh-floatingparent {
    top: 60px !important;
    background: white;
}

@media(max-width: 990px) {

    .app-content {
        padding-top: 3.75rem;
    }

    .breadcrumb {
        margin-top: 25px;
    }

    .floating-header .breadcrumb {
        margin-top: 0;
    }

    #userNameLog {
        max-width: 130px;
    }

    .totali ul {
        padding-top: 0;
    }

    #sidenav-logo {
        bottom: 100px;
    }

    .copyright {
        bottom: 10px;
    }
}

.table.loading {
    opacity: .7;
    cursor: wait;
}

.alert-404 {
    max-width: 230px;
    margin: auto;
}

.card.custom-card .card-header .card-title {
    text-transform: none;
}

#stats-referenza-selector,
#stats-fornitore-selector,
#stats-categoria-selector {
    width: auto;
    min-width: 140px;
    margin-right: 30px;
}


.filters-statistiche {
    display: flex;
    flex-grow: 1;
    justify-content: end;
    flex-wrap: wrap;
    row-gap: 7px;
}



.app-content.dashboard-loading .on-not-dashboard-loading,
.app-content:not(.dashboard-loading) .on-dashboard-loading {
    display: none;
}

.dashboard-loading .card:not(#stats-parameters) {
    opacity: .5;
    cursor: wait;
}

.dashboard-loading .card:not(#stats-parameters) .card-body {
    pointer-events: none;
}

.authentication .desktop-dark,
.authentication .desktop-logo {
    height: 7rem;
}

.daterange-picker-button {
    color: inherit;
}

html[data-theme-mode="dark"] .daterangepicker {
    background-color: inherit;
}

html[data-theme-mode="dark"] .daterangepicker .ranges li:hover {
    background-color: #252729;
}

html[data-theme-mode="dark"] .daterangepicker .drp-buttons .btn.btn-default {
    color: white;
}

html[data-theme-mode="dark"] .daterangepicker .calendar-table {
    background-color: transparent;
}

html[data-theme-mode="dark"] .daterangepicker td.off,
html[data-theme-mode="dark"] .daterangepicker td.off.end-date,
html[data-theme-mode="dark"] .daterangepicker td.off.in-range,
html[data-theme-mode="dark"] .daterangepicker td.off.start-date {
    background-color: #151616;
}

html[data-theme-mode="dark"] .daterangepicker td.in-range {
    background-color: #242232;
    color: #c7c7c7;
}

html[data-theme-mode="dark"] .daterangepicker .calendar-table .next span,
html[data-theme-mode="dark"] .daterangepicker .calendar-table .prev span {
    border-color: currentColor;
}

html[data-theme-mode="dark"] .daterangepicker td.available:hover,
html[data-theme-mode="dark"] .daterangepicker th.available:hover {
    background-color: #0f1010;
}

html[data-theme-mode="dark"] .daterangepicker td.active,
html[data-theme-mode="dark"] .daterangepicker td.active:hover {
    background-color: #357ebd;
}

html[data-theme-mode="dark"] .apexcharts-xaxistooltip,
html[data-theme-mode="dark"] .apexcharts-yaxistooltip {
    background: #1a1b1c;
    color: #c3c3c3;
}

html[data-theme-mode="dark"] .qta-selector .btn:disabled {
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #181818;
    --bs-btn-disabled-border-color: #2b2b2b;
}

html[data-theme-mode="dark"] .dtfh-floatingparent {
    background: #1a1c1e;
}

#completamento-ordini {
    min-height: 193px;
}

@media(max-width: 1300px) {
    #completamento-ordini .apexcharts-canvas {
        margin: auto;
    }
}

html[data-theme-mode="dark"] .badge.bg-dark {
    --bs-badge-color: black;
}

.sticky-card {
    position: sticky !important;
    top: 90px;
}


.floating-header .card-header {
    border-bottom: 0 !important;
}

.floating-header {
    position: sticky;
    top: 52px;
    z-index: 200;
}

html[data-theme-mode="dark"] .floating-header .card.custom-card {
    box-shadow: 0 0.125rem 0 rgb(255 255 255 / 4%);
}

@media(max-width: 768px) {
    .floating-header {
        position: static;
    }
}

@media(min-width: 768px) {
    .dataTables_paginate {
        position: relative;
        top: 7px;
    }
}
.app-header{
    z-index: 500;
}
.app-sidebar{
    z-index: 600;
}
.breadcrumb .bx {
    font-size: 21px;
    line-height: 9px;
    vertical-align: sub;
}

.special-title-wrapper {
    position: relative;
    font-size: .9375rem;
    font-weight: 700;
}

.special-title:before {
    content: "";
    position: absolute;
    height: 1rem;
    width: 0.2rem;
    inset-block-start: 0.15rem;
    inset-inline-start: -0.65rem;
    background: linear-gradient(to bottom, var(--primary05) 50%, rgba(var(--secondary-rgb), .5) 50%);
    border-radius: 0.5rem;

}

.form-with-gutter>.row {
    --bs-gutter-y: 0.6rem;
}

.sticky-card.button-esporta {
    position: sticky;
    top: 525px;
}


 tr.prodotto.move-down{
    transform: translateY(46px);
    transition: transform 300ms;
} 

tr.prodotto.move-up{
    transform: translateY(-46px);
    transition: transform 300ms;
}