/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* Edito CustomMenu */
#Json_File {
    font-size: 80%;
}

/* Formattazione [input:placeholder] */
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    font-size: 90%;
    color: #aaa !important;
    font-style: italic;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    font-size: 90%;
    color: #aaa !important;
    font-style: italic;
}

::-ms-input-placeholder { /* Microsoft Edge */
    font-size: 90%;
    color: #aaa !important;
    font-style: italic;
}

::selection {
    background: #ccff00; /* WebKit/Blink Browsers */
    color: #444;
}

::-moz-selection {
    background: #ccff00; /* Gecko Browsers */
}

:disabled {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)" !important;
    filter: alpha(opacity=50) !important;
    -moz-opacity: 0.5 !important;
    -khtml-opacity: 0.5 !important;
    opacity: 0.5 !important;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.fa, .fas {
    font-family: 'Font Awesome 5 Free', 'Dosis';
}

.promotion-banner {
    width: 40px;
    height: 40px;
    float: right;
    margin-top: 10px;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: 'Font Awesome 5 Free' !important;
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    text-decoration: inherit;
}

html {
    -webkit-text-size-adjust: 100%;
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    line-height: 1.3;
    overflow: hidden;
}

body,
input,
select,
textarea,
.btn,
.form-control {
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    margin-bottom: 15px;
}

hr {
    margin-top: 0.2em;
    margin-bottom: 0.5em;
}

.disabled {
    cursor: default !important;
}

input[type=checkbox] {
    appearance: checkbox;
    -webkit-appearance: checkbox;
    outline: none;
    width: 15px;
    height: 15px;
    background-color: white;
    vertical-align: unset;
    border: 1px solid #ddd;
    cursor: pointer;
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
}

    input[type=checkbox]:checked,
    input[type=radio]:checked {
        background-color: #c00;
        accent-color: #c00;
    }

input[type=radio] {
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 0px;
    vertical-align: unset;
    border: 1px solid #ddd;
    cursor: pointer;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

p {
    margin-bottom: 0.5em;
}

a {
    color: var(--anchor-color);
}

    a:hover {
        color: var(--anchor-color-hover);
    }

    a.disabled {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
        color: #5b5b5b !important;
    }

.no-horiz-padding {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

label.required {
    font-weight: bold;
}

.right {
    text-align: right !important;
}

/* Validation/alert box */
span.text-danger.field-validation-error {
    font-style: italic;
    margin-left: 10px;
    font-size: 80%;
    margin-inline-start: 0px;
}

.validation-summary-valid {
    color: darkgreen;
}

.validation-summary-errors {
    margin: 0px 15px;
}

    .validation-summary-errors ul {
        list-style-type: square;
        padding-left: 5px;
        margin-left: 15px;
    }

.alert-success {
    color: #155724 !important;
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
}

.alert-danger {
    clear: both;
    margin: 5px 0px 0px 0px;
    position: unset;
    float: left;
    border-radius: 0px;
    padding: 3px;
    font-size: 85%;
}

/* Flexbox */
html.fullpage {
    height: 100%;
}

    html.fullpage body, html.fullpage .wrapper {
        height: 100%;
        margin: 0px;
    }

    html.fullpage .row-wrapper {
        height: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: normal;
        align-items: normal;
        align-content: normal;
    }

        html.fullpage .row-wrapper .row-items:nth-child(1) {
            height: 100%;
            display: block;
            flex-grow: 0;
            flex-shrink: 1;
            flex-basis: auto;
            align-self: auto;
            order: 0;
        }

        html.fullpage .row-wrapper .row-items:nth-child(2) {
            background-color: white;
            display: block;
            flex-grow: 0;
            flex-shrink: 1;
            flex-basis: auto;
            align-self: auto;
            order: 0;
        }

.row-wrapper .col-wrapper {
    height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: normal;
    align-items: normal;
    align-content: normal;
}

    .row-wrapper .col-wrapper .col-items:nth-child(1) {
        border-right: 1px solid lightgray;
        background-color: var(--sidepanel-bgcolor);
        height: 100%;
        width: 20%;
        min-width: 320px;
        display: block;
        flex-grow: 0;
        flex-shrink: 1;
        flex-basis: auto;
        align-self: auto;
        order: 0;
    }

        .row-wrapper .col-wrapper .col-items:nth-child(1).login {
            background-color: var(--sidepanel-login-bgcolor);
        }

    .row-wrapper .col-wrapper .col-items:nth-child(2) {
        background-color: var(--content-body-background);
        height: 100%;
        width: 100%;
        display: block;
        flex-grow: 0;
        flex-shrink: 1;
        flex-basis: auto;
        align-self: auto;
        order: 0;
    }

/* .flex-content */
.flex-content, .flex-sx-menu {
    overflow: auto;
    padding-bottom: 300px;
}

    .flex-content .order-grid .card {
        border: 5px solid white;
        padding-bottom: 70px;
        margin: 5px;
        max-width: 350px;
    }

        .flex-content .order-grid .card.selected {
            border-color: var(--warning-color);
        }

    .flex-content div.row-content:nth-child(2n+1) {
        margin-top: 0;
    }

/* .flex-footer */
.flex-footer {
    position: absolute;
    z-index: 9999;
    width: 100%;
    bottom: 0;
    left: 0;
    line-height: unset;
}

    .flex-footer a {
        white-space: nowrap;
        font-size: 90%;
    }

    .flex-footer .footer-details a {
        font-size: 75%;
    }

    .flex-footer.private {
        width: 365px;
        background-color: white;
    }

        .flex-footer.private .fa,
        .flex-footer.private .fas,
        .flex-footer.private .far,
        .flex-footer.private .fal,
        .flex-footer.private .fad,
        .flex-footer.private .fab {
            width: 20px;
            height: 20px;
            line-height: 20px;
            font-size: 10px;
            vertical-align: text-bottom;
        }


    .flex-footer .fa,
    .flex-footer .fas,
    .flex-footer .far,
    .flex-footer .fal,
    .flex-footer .fad,
    .flex-footer .fab {
        color: var(--info-text);
        width: 30px;
        height: 30px;
        text-align: center;
        line-height: 30px;
        font-size: 75%;
        background: var(--info);
        -webkit-border-top-left-radius: 20px;
        -webkit-border-top-right-radius: 20px;
        -moz-border-radius-topleft: 20px;
        -moz-border-radius-topright: 20px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        -webkit-border-bottom-left-radius: 20px;
        -webkit-border-bottom-right-radius: 20px;
        -moz-border-radius-bottomleft: 20px;
        -moz-border-radius-bottomright: 20px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .flex-footer .row {
        padding: 5px;
        margin: 0px;
    }

        .flex-footer .row:first-child {
            padding-top: 10px;
        }

.footer-data {
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Flex content */
.flex-content .report-list {
    margin: 0px 10px 10px 0px;
}

    .flex-content .report-list h2 {
        top: 10px;
    }

    .flex-content .report-list a {
        margin-bottom: 5px;
        border-top-width: 0;
        border-left-width: 0;
        border-right-width: 0;
        padding-bottom: 5px;
    }

        .flex-content .report-list a .fa,
        .flex-content .report-list a .fas,
        .flex-content .report-list a .far,
        .flex-content .report-list a .fal,
        .flex-content .report-list a .fad,
        .flex-content .report-list a .fab {
            background-color: #cc0000;
            color: white;
            padding: 2px;
        }

.flex-content .order-list-topbar {
    top: 0px;
    margin: 0px;
    padding: 0px;
    background-color: var(--topbar-body-background);
    position: fixed;
    width: 100%;
    z-index: 999;
    min-height: 80px;
    border-bottom: 1px solid var(--topbar-border-color);
}

    .flex-content .order-list-topbar:hover {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
        -moz-opacity: 1;
        -khtml-opacity: 1;
        opacity: 1;
    }

    .flex-content .order-list-topbar .label {
        font-size: 60%;
        font-style: italic;
        padding-left: 5px;
        margin-bottom: 2px;
    }

    .flex-content .order-list-topbar h4 {
        margin: 0px;
    }

    .flex-content .order-list-topbar .table {
        margin: 0px;
        border-spacing: 0px;
        border-collapse: separate;
    }

        .flex-content .order-list-topbar .table td, .table th {
            padding: 3px 8px;
            border-top: 1px solid var(--topbar-td-border-top);
        }

        /* Destination address select/options */
        .flex-content .order-list-topbar .table #destination-select,
        .flex-content .order-list-topbar .table #modpagamento-select,
        .flex-content .order-list-topbar .table #lines-select {
            height: auto;
            padding: 2px 7px;
            min-height: 36px !important;
        }

            .flex-content .order-list-topbar .table #lines-select ul {
                padding: 0px;
                overflow: hidden;
            }

            .flex-content .order-list-topbar .table #lines-select li.optgroup {
                font-style: italic;
                font-weight: bold;
            }

                .flex-content .order-list-topbar .table #lines-select li.optgroup ul li {
                    font-style: normal;
                    font-weight: normal;
                    cursor: default;
                }

            .flex-content .order-list-topbar .table #destination-select li.option,
            .flex-content .order-list-topbar .table #modpagamento-select li.option,
            .flex-content .order-list-topbar .table #lines-select li.option {
                width: 100% !important;
                white-space: normal;
                border: 1px dotted #eee;
                padding: 2px;
                background: white;
                border: 0px;
                list-style: none;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }

                .flex-content .order-list-topbar .table #destination-select li.option:hover,
                .flex-content .order-list-topbar .table #modpagamento-select li.option:hover,
                .flex-content .order-list-topbar .table #lines-select li.option:hover {
                    background: #ffc107;
                    color: black;
                    cursor: default;
                }

.flex-content .order-list-pagination {
    margin: 0px;
    padding: 0px;
}

    .flex-content .order-list-pagination h1 {
        font-weight: bold;
        color: var(--theme-info-color);
        margin-bottom: 30px;
    }

.flex-content .row-content {
    margin: 0px;
    padding: 5px 0px 0px 0px;
}

/* Login page */
.login-box {
    background-color: var(--loginbox-bgcolor);
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
    width: 250px;
    min-height: 250px;
    position: absolute;
    left: 15px;
    bottom: 40px;
    padding: 15px;
    z-index: 99999;
    /*box-shadow: rgb(0 0 0 / 65%) 0px 5px 15px*/
    border: 1px solid var(--sidepanel-login-bgcolor);
}

a#register,
a#forgot-password {
    font-size: 80%;
}

.home-company-message,
.registration-message {
    margin-left: 15px;
    margin-top: 30px;
    font-size: 90%;
    color: var(--text-color-company-message);
}

.registration-message {
    font-weight: bold;
}

/* Side panel */
.side-panel {
    margin-top: 20px;
}

    .side-panel .nav-tabs li {
        font-size: 80%;
    }

        .side-panel .nav-tabs li a {
            padding: 0px 5px;
            -webkit-border-top-left-radius: var(--default-radius);
            -webkit-border-top-right-radius: var(--default-radius);
            -moz-border-radius-topleft: var(--default-radius);
            -moz-border-radius-topright: var(--default-radius);
            border-top-left-radius: var(--default-radius);
            border-top-right-radius: var(--default-radius);
        }

            .side-panel .nav-tabs li a.active {
                padding-bottom: 2px;
                background-color: transparent;
                border-bottom: 3px solid white;
                color: white;
            }

                .side-panel .nav-tabs li a.active:hover {
                    border-bottom: 3px solid #fc0;
                    color: #fc0;
                }

    .side-panel .nav-tabs .nav-link {
        padding: 0px 10px;
        margin-right: 3px;
        -webkit-border-radius: var(--default-radius);
        -moz-border-radius: var(--default-radius);
        border-radius: var(--default-radius);
        border: var(--tabs-border);
    }


    .side-panel .nav-tabs .nav-item .nav-link,
    .nav-tabs .nav-link {
        border: 0px;
        border-bottom: 1px solid #e0e0e0;
    }

        .side-panel .nav-tabs .nav-item.show .nav-link,
        .nav-tabs .nav-link.active {
            border: 0px;
            background-color: var(--tabs-bgcolor-active);
            border-bottom: var(--tabs-border-bottom-active);
        }

        .side-panel .nav-tabs .nav-link:focus,
        .nav-tabs .nav-link:hover {
            border: 0px;
            background-color: var(--tabs-bgcolor-hover);
            border-bottom: var(--tabs-border-bottom-active);
        }

    .side-panel .bootstrap-filter-wrapper {
        padding: 0px 10px 10px 10px;
    }

        .side-panel .bootstrap-filter-wrapper select {
            border: 0px;
            background: transparent;
            overflow: hidden;
            width: 100%;
        }

            .side-panel .bootstrap-filter-wrapper select:focus {
                outline: none;
            }

        .side-panel .bootstrap-filter-wrapper .optgroup {
            color: white;
        }

        .side-panel .bootstrap-filter-wrapper .option {
            color: #b8b8b8;
            width: 100%;
            -webkit-border-radius: var(--default-radius);
            -moz-border-radius: var(--default-radius);
            border-radius: var(--default-radius);
            margin: 0.5px;
            text-overflow: ellipsis;
            white-space: unset;
            overflow: hidden;
        }

        .side-panel .bootstrap-filter-wrapper select option:hover,
        .bootstrap-filter-wrapper select option:focus,
        .bootstrap-filter-wrapper select option:active,
        .bootstrap-filter-wrapper select option:checked,
        .bootstrap-filter-wrapper li.option.selected {
            background-color: var(--info-text) !important;
            color: var(--info) !important;
        }

.modpagamento-options,
.destination-options {
    padding: 0px !important;
    margin-bottom: 0px;
    position: absolute;
    z-index: 999;
}

    .modpagamento-options:hover,
    .destination-options:hover {
        border: 1px solid #555;
    }

    .modpagamento-options li,
    .destination-options li {
        padding: 0px 5px;
    }

        .modpagamento-options li:hover,
        .destination-options li:hover {
            background-color: #eee;
            color: #444;
        }

        .modpagamento-options li.option,
        .destination-options li.option {
            cursor: default;
        }

            .modpagamento-options li.option.selected,
            .destination-options li.option.selected {
                background-color: #fff !important;
                color: #555 !important;
            }

/* Side menu class */
.side-menu .tab-pane {
    padding: 10px;
}

.side-menu {
    color: var(--info-text);
    padding: 6px;
}

    .side-menu.last-login {
        padding: 0px;
        white-space: nowrap;
        font-size: 80%;
    }

    .side-menu a {
        color: var(--info-text);
    }


        .side-menu a .fa,
        .side-menu a .fas,
        .side-menu a .far,
        .side-menu a .fal,
        .side-menu a .fad,
        .side-menu a .fab {
            font-size: 90%;
            width: 25px;
        }

    .side-menu ul {
        margin: 0px;
        padding: 0px;
    }

        .side-menu ul.submenu {
            margin-left: 30px;
            padding: 0px;
        }

            .side-menu ul.submenu a {
                color: var(--sidemenu-submenu-color);
                text-decoration: none;
            }

        .side-menu ul li {
            list-style-type: none;
        }

            .side-menu ul li a {
                color: var(--sidemenu-color);
                text-decoration: none;
                font-size: 105%;
            }

        .side-menu a:hover,
        .side-menu ul.submenu a:hover {
            color: var(--warning-color);
        }

    .side-menu div#search p.history-title {
        margin-top: 15px;
        border-bottom: 1px solid white;
    }

    .side-menu .submenu > li.active > a,
    .side-menu .menu > li.active > a {
        color: var(--warning-color) !important;
    }

/* Collapsed side menu */
.btn-toggle-side-menu {
    font-size: 90%;
    position: absolute;
    z-index: 99999;
    cursor: pointer;
    padding: 8px;
}

    .btn-toggle-side-menu.rotated {
        /* Puntina (punes) ruotata */
        transform: rotate(90deg);
        margin-top: 5px;
    }

.btn-side-menu {
    z-index: 999999;
    position: absolute;
    top: 0px;
    left: 0px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}

    .btn-side-menu:hover {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=1)";
        filter: alpha(opacity=100);
        -moz-opacity: 1;
        -khtml-opacity: 1;
        opacity: 1;
    }

/* footer version */
.version {
    text-align: left;
}

    .version .fa,
    .version .fas,
    .version .far,
    .version .fal,
    .version .fad,
    .version .fab {
        width: 25px;
        height: 25px;
        line-height: 25px;
        margin-top: -5px;
        margin-left: 3px;
    }

/* footer details */
.footer-details {
    color: black;
}

    .footer-details a {
        color: black;
    }

/* footer copyright */
.copyright {
    color: black;
    font-size: 85%;
}

    .copyright * {
        color: black;
        font-size: 85%;
    }

    .copyright .ver-error {
        background-color: #cc0000;
        color: white;
        padding: 3px;
        -webkit-border-radius: var(--default-radius);
        -moz-border-radius: var(--default-radius);
        border-radius: var(--default-radius);
    }

/* Pagination */
.pagination {
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
}

ul.pagination {
    margin-bottom: 0px;
}

.pagination li.page-item a.page-link {
    color: #000;
}

.pagination li.page-item.disabled a.page-link {
    background-color: var(--theme-info-color);
    color: white;
}

.pagination li.page-item a.page-link:first-child,
.pagination li.page-item a.page-link:last-child {
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
}

div.pagination-container {
    background-color: #e0e0e0;
    overflow: hidden;
}

/* Profile button */
.nav-tabs-sidemenu {
    clear: both;
}

.profile-button-collapsed {
    position: relative;
    width: 80%;
    min-height: 30px;
    overflow: hidden;
    margin-bottom: 15px;
}

    .profile-button-collapsed img {
        width: 30px;
        height: 30px;
        object-fit: cover;
        -webkit-border-radius: var(--default-radius);
        -moz-border-radius: var(--default-radius);
        border-radius: var(--default-radius);
        float: left;
        margin-bottom: 5px;
        margin-right: 5px;
        border: 2px solid gray;
    }

.profile-button {
    position: relative;
    width: 95%;
    min-height: 100px;
    overflow: hidden;
    margin-bottom: 15px;
    text-overflow: ellipsis;
    white-space: nowrap;
    /*    top: -145px;
    margin-top: -145px;*/
}

    .profile-button img {
        width: 85px;
        height: 85px;
        object-fit: cover;
        -webkit-border-radius: var(--default-radius);
        -moz-border-radius: var(--default-radius);
        border-radius: var(--default-radius);
        float: left;
        margin-bottom: 5px;
        margin-right: 5px;
        border: 2px solid gray;
    }

        .profile-button img:hover {
            border: 2px solid white;
        }

    .profile-button a {
        text-decoration: none;
    }

.profile-button-collapsed a.disabled {
    color: unset !important;
}

/* Home page OrderList */
.bg-info {
    background-color: var(--theme-info-color) !important;
}

div.home-page-orderlist {
    border-bottom: 0.01rem solid var(--info);
    padding: 10px 0px;
}

    div.home-page-orderlist:last-child {
        border-bottom: 0px;
    }

    div.home-page-orderlist a span.list-label {
        background-color: var(--theme-info-color);
        color: white;
        padding: 0px 5px;
        white-space: nowrap;
        -webkit-border-radius: var(--default-radius);
        -moz-border-radius: var(--default-radius);
        border-radius: var(--default-radius);
    }

    div.home-page-orderlist:hover {
        background-color: var(--index-list-hover);
    }

    div.home-page-orderlist p {
        margin: 0;
    }

    div.home-page-orderlist h5.customer-name {
        font-weight: bold;
        font-size: 120%;
    }

/* Shopping panel */
.shopping-panel {
    background: var(--theme-info-color);
    color: var(--info-text);
    min-width: 250px !important;
    width: 350px;
    padding: 2px 5px;
    font-size: 95%;
}

table.order-topbar .btn-highlight {
    color: var(--cart-highlight-text);
    background-color: var(--cart-highlight-background);
}

    table.order-topbar .btn-highlight:hover {
        background-color: var(--cart-highlight-background-hover);
    }

table.order-topbar td.action-buttons button,
table tr.label-row td.action-buttons button,
table tr.order-row td.action-buttons button,
table tr.save-row td.action-buttons button,
table.order-topbar td.action-buttons a,
table tr.label-row td.action-buttons a,
table tr.order-row td.action-buttons a,
table tr.save-row td.action-buttons a {
    min-width: 41px;
    min-height: 41px;
    line-height: 41px;
}

    table.order-topbar td.action-buttons button .fa,
    table.order-topbar td.action-buttons button .fas,
    table.order-topbar td.action-buttons button .far,
    table.order-topbar td.action-buttons button .fal,
    table.order-topbar td.action-buttons button .fad,
    table.order-topbar td.action-buttons button .fab {
        font-size: 110%;
    }

        table.order-topbar td.action-buttons button .fas.fa-save {
            font-size: 130%;
        }

.shopping-panel i.fa-shopping-bag,
#shopping-panel i.fa-file-powerpoint {
    float: right;
}

.shopping-panel span#id-ordine,
.shopping-panel span#total,
.shopping-panel span#promo-discounted-percentage,
.shopping-panel span#price,
.shopping-panel span#promo-discounted-price,
.shopping-panel span#data-ordine,
.shopping-panel span#tax,
.shopping-panel span#total-order,
.shopping-panel span#tax-percentage {
    font-family: 'Roboto Mono','Courier New';
    color: var(--cart-color);
    font-size: 85%;
}

/* Home page UserList*/
div.home-page-userlist {
    min-height: 60px;
    border-bottom: 0.01rem solid var(--info);
    padding: 5px 0px;
}

    div.home-page-userlist:last-child {
        border-bottom: 0px;
    }

    div.home-page-userlist a span.list-label {
        background-color: var(--theme-info-color);
        color: white;
        padding: 0px 5px;
        white-space: nowrap;
        -webkit-border-radius: var(--default-radius);
        -moz-border-radius: var(--default-radius);
        border-radius: var(--default-radius);
    }

    div.home-page-userlist:hover {
        background-color: var(--index-list-hover);
    }

    div.home-page-userlist div:first-child {
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

/* AppSettings form */
.app-settings-form fieldset {
    border: 1px solid #ccc;
    padding: 5px;
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
}

    .app-settings-form fieldset label {
        font-weight: unset;
    }

.app-settings-form .settings-help {
    margin-top: 5px;
    font-size: 70%;
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
}

.app-settings-form .field-validation-error {
    color: #cc0000;
}

.app-settings-form fieldset {
    padding-bottom: 25px;
    margin-top: 15px;
}

.app-settings-form legend {
    padding: 0px 10px;
    width: fit-content;
    line-height: 100%;
}

.app-settings-form label {
    color: var(--info);
    margin-top: 5px;
    margin-bottom: 2px;
    font-size: 90%;
}

    .app-settings-form label.form-check-label {
        margin-top: 0px;
    }

.app-settings-form input.form-check-input {
    margin: 10px -20px;
}

.app-settings-form div.form-check {
    margin: 15px 0px;
}

.total-quantity:after {
    font-family: 'Font Awesome 5 Free' !important;
    content: "\f4de";
    padding-left: 15px;
}

/* Button dropdown menu */
.dropdown-menu {
    padding: 3px 0px !important;
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
    white-space: nowrap;
}

    .dropdown-menu a {
        padding: 3px;
        text-decoration: none;
    }

        .dropdown-menu a:hover {
            background-color: #eee;
        }

/* Various */
.attach-label span {
    font-size: 80%;
    font-style: italic;
    color: gray;
}

.tooltip {
    z-index: 999999;
}

    .tooltip.show {
        max-width: 250px;
    }

    .tooltip .arrow {
        display: none;
    }

.tooltip-inner {
    max-width: 600px;
    text-align: justify;
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
    line-height: normal;
    font-size: 90%;
    background: rgba(50, 50, 50, 1) !important;
    opacity: 1;
    border: 1px solid white;
}

.tooltip.show .tooltip-inner {
    text-align: left !important;
}

#bell-notification-icon {
    font-size: 80%;
}

.pdf-container {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    height: 600px;
}

.pdf-top-bar {
    text-align: right;
    padding: 3px;
    background-color: #aaa;
    margin: 30px 5px 10px 5px;
    width: 100%;
}

.touch-toggle {
    padding: 0px 3px;
    line-height: 23px;
}

    .touch-toggle .fa,
    .touch-toggle .fas,
    .touch-toggle .far,
    .touch-toggle .fal,
    .touch-toggle .fad,
    .touch-toggle .fab {
        font-size: 95%;
        vertical-align: text-top;
    }

#set-filter {
    border: 1px solid var(--info-border);
}

.submenu-link .fas.fa-angle-down {
    float: right;
    margin-top: 8px;
    -webkit-animation: spin1 0s 1 linear;
    -moz-animation: spin1 0s 1 linear;
    -o-animation: spin1 0s 1 linear;
    -ms-animation: spin1 0s 1 linear;
    animation: spin1 0s 1 linear;
    animation-fill-mode: forwards;
    transform-origin: 25% 10px;
    -webkit-transform-origin: 25% 10px;
    -moz-transform-origin: 25% 10px;
    -o-transform-origin: 25% 10px;
    -ms-transform-origin: 25% 10px;
}

    .submenu-link .fas.fa-angle-down.rotate-180 {
        animation-direction: reverse;
    }

@-webkit-keyframes spin1 {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(180deg);
    }
}

@-moz-keyframes spin1 {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(180deg);
    }
}

@-o-keyframes spin1 {
    0% {
        -o-transform: rotate(0deg);
    }

    100% {
        -o-transform: rotate(180deg);
    }
}

@-ms-keyframes spin1 {
    0% {
        -ms-transform: rotate(0deg);
    }

    100% {
        -ms-transform: rotate(180deg);
    }
}

@-keyframes spin1 {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(180deg);
    }
}

.input-group-text {
    height: calc(var(--font-size) + 0.75em + 5px);
}

span.product-id {
    background: var(--info);
    color: var(--info-text);
    font-size: 70%;
    padding: 0px 3px;
    min-width: 150px !important;
    display: inline-block;
}

    span.product-id .fa,
    span.product-id .fas,
    span.product-id .far,
    span.product-id .fal,
    span.product-id .fad,
    span.product-id .fab {
        font-size: 80%;
    }

.touch-toggle .fa,
.touch-toggle .fas,
.touch-toggle .far,
.touch-toggle .fal,
.touch-toggle .fad,
.touch-toggle .fab {
    font-size: 90%;
}

.active span.product-id {
    background: var(--row-order-selected);
}



.promo-message-box {
    color: white;
    font-size: 80%;
    background-color: #cc0000;
    padding: 3px 5px;
    margin-top: 5px;
    display: inline-block;
    min-width: 305px;
}

.strikethrough {
    text-decoration: line-through;
    color: #aaa !important;
}

.alert-locked {
    font-size: 80%;
    text-align: center;
    width: 100%;
    padding: 0px 5px;
    background: #cc0000;
    color: white;
}

#login-page-video {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)" !important;
    filter: alpha(opacity=50) !important;
    -moz-opacity: 0.5 !important;
    -khtml-opacity: 0.5 !important;
    opacity: 0.5 !important;
    /* Posizionamento */
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    background-size: cover;
    overflow: hidden;
}

#cancel-filter {
    border: 1px solid #aaa;
    width: auto;
    min-width: 100px;
}

.slider-price-title {
    font-size: 80%;
    text-align: center;
}

    .slider-price-title .range-min-price,
    .slider-price-title .range-max-price {
        font-weight: bold;
    }

.fas.fa-file-pdf {
    color: #cc0000;
    font-size: 110%;
}

.form-control:not(textarea) {
    height: calc(var(--font-size) + 0.75em + 5px);
    margin: 0px;
    padding: 0px 2px;
    min-width: 200px !important;
    border: 0;
    border-bottom: 1px solid lightgray;
}

textarea.form-control {
    padding: 0px 2px;
    border: 0;
    border-bottom: 1px solid lightgray !important;
}

.form-control:disabled,
.form-control[readonly] {
    color: #000 !important;
    background: white;
    border: 0;
    border-bottom: 1px solid lightgray;
}

#CSS_File {
    font-family: monospace;
    overflow: auto;
    white-space: pre;
}

td#send-to-headquarters {
    height: 34px;
    max-height: 34px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    vertical-align: middle;
}

td.action-buttons-box {
    width: 20%;
}

td.description-box,
td.detail-box {
    width: 40%;
}

    td.description-box .fa,
    td.description-box .fas,
    td.description-box .far,
    td.description-box .fal,
    td.description-box .fad,
    td.description-box .fab,
    td.detail-box .fa,
    td.detail-box .fas,
    td.detail-box .far,
    td.detail-box .fal,
    td.detail-box .fad,
    td.detail-box .fab {
        color: var(--info);
    }

    td.description-box .tag-element .fa,
    td.description-box .tag-element .fas,
    td.description-box .tag-element .far,
    td.description-box .tag-element .fal,
    td.description-box .tag-element .fad,
    td.description-box .tag-element .fab,
    td.detail-box .tag-element .fa,
    td.detail-box .tag-element .fas,
    td.detail-box .tag-element .far,
    td.detail-box .tag-element .fal,
    td.detail-box .tag-element .fad,
    td.detail-box .tag-element .fab {
        color: var(--info-text);
    }

td.unit-price,
td.discount-field,
td.price-field {
    width: 150px !important;
}

p.order-status {
    font-size: 90%;
}

p span.id-sede {
    background-color: var(--warning-color);
    color: #555;
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
    font-weight: bold;
    padding: 0px 5px;
    font-size: 80%;
    display: inline-block;
}

    p span.id-sede .fa,
    p span.id-sede .fas,
    p span.id-sede .far,
    p span.id-sede .fal,
    p span.id-sede .fad,
    p span.id-sede .fab {
        font-size: 95%;
    }

    p span.id-sede.confirmed {
        background-color: #00cc00;
        -webkit-border-radius: var(--default-radius);
        -moz-border-radius: var(--default-radius);
        border-radius: var(--default-radius);
        font-weight: bold;
        color: white;
    }

.history-trash {
    float: right;
    color: white;
    padding: 0px;
}

    .history-trash:hover {
        color: #007bff;
    }

.history-item {
    width: 100%;
    display: block;
}

.popover {
    right: 0px;
    max-width: fit-content;
    width: fit-content;
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
}

    .popover .arrow {
        visibility: hidden;
    }

    .popover img {
        height: 600px !important;
    }

.popover-body {
    box-shadow: 10px 10px 10px #888;
}

.btn-secondary:hover {
    color: black;
    background-color: white;
}

.btn.ts-cpc-button {
    color: gray;
    background-color: white;
    min-width: 30px;
    padding: 3px;
}

    .btn.ts-cpc-button span {
        font-size: 100% !important;
    }

        .btn.ts-cpc-button span.fa-paste {
            color: dodgerblue;
        }

        .btn.ts-cpc-button span.fa-ban {
            color: #cc0000;
        }

    .btn.ts-cpc-button:hover {
        color: gray;
        background-color: lightgray;
    }

a.btn.btn-top-of-page {
    position: absolute;
    bottom: 5px;
    right: 20px;
    width: 50px;
    height: 50px;
    color: white;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
    filter: alpha(opacity=40);
    -moz-opacity: 0.4;
    -khtml-opacity: 0.4;
    opacity: 0.4;
    z-index: 99999;
}

    a.btn.btn-top-of-page:hover {
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
        -moz-opacity: 1;
        -khtml-opacity: 1;
        opacity: 1;
        color: black;
        background: gray;
    }

.btn-panel-collapse {
    border: 0.08em outset;
    width: 50px;
    font-size: 1px;
    margin-bottom: 2px;
    margin-top: 3px;
    padding: 0px;
    height: 10px;
    background: #aaa;
    border-radius: 3px;
}

.btn-highlight {
    color: var(--base-text-color);
    background-color: var(--warning-color);
    border-color: var(--warning-border-color);
    white-space: nowrap;
    vertical-align: middle !important;
    text-align: center;
}

    .btn-highlight:hover {
        background-color: white;
        cursor: pointer;
    }

.cart-icon {
    color: var(--cart-color);
    margin: 10px;
    float: right;
    font-size: 200%;
}

.tag-element {
    background-color: var(--info);
    color: var(--info-text);
    font-style: italic;
    padding: 0px 5px 1px 3px;
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
    white-space: nowrap;
    font-size: 70%;
}

    .tag-element .fa,
    .tag-element .fas,
    .tag-element .far,
    .tag-element .fal,
    .tag-element .fad,
    .tag-element .fab {
        color: var(--info-text);
        font-size: 90%;
        width: fit-content !important;
    }

.side-menu ul li a span.tag-element {
    background-color: #eee;
    padding: 0px 4px 0px 2px;
    color: black;
}

    .side-menu ul li a span.tag-element .fa,
    .side-menu ul li a span.tag-element .fas,
    .side-menu ul li a span.tag-element .far,
    .side-menu ul li a span.tag-element .fal,
    .side-menu ul li a span.tag-element .fad,
    .side-menu ul li a span.tag-element .fab {
        color: black;
    }

.side-menu ul li a:hover span.tag-element {
    background-color: var(--warning-color);
}

.action-buttons-box {
    /*max-width: 250px;*/
}

.description-box {
    width: fit-content;
}

.detail-box {
}

    .action-buttons-box .fa,
    .action-buttons-box .fas,
    .action-buttons-box .far,
    .action-buttons-box .fal,
    .action-buttons-box .fad,
    .action-buttons-box .fab,
    .description-box .fa,
    .description-box .fas,
    .description-box .far,
    .description-box .fal,
    .description-box .fad,
    .description-box .fab,
    .detail-box .fa,
    .detail-box .fas,
    .detail-box .far,
    .detail-box .fal,
    .detail-box .fad,
    .detail-box .fab {
        width: 30px;
        text-align: center;
    }

.identity-profile-picture {
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
    width: 350px;
    height: 350px;
    object-fit: cover
}

.no-element-svg-background {
    background-image: url('/assets/images/background.svg');
    /*background-image: url("data:image/svg+xml,***<here place encoded svg>***");*/
    background-repeat: no-repeat;
    background-position: center;
}

div.row-top-fixed {
    position: fixed;
    width: 100%;
    z-index: 999;
    background: #e0e0e0;
    top: 0;
    margin: 0;
    padding: 0px 0px 5px 0px;
}

    div.row-top-fixed .fas.fa-user-plus {
        line-height: 30px;
        width: 25px;
        vertical-align: middle;
    }

    div.row-top-fixed h1,
    div.row-top-fixed h2,
    div.row-top-fixed h3,
    div.row-top-fixed h4,
    div.row-top-fixed h5,
    div.row-top-fixed h6 {
        margin-bottom: 0px;
    }

.report-group-title {
    margin-top: 20px;
    margin-bottom: 0px;
}

/* Orders */
#show-customer {
    font-weight: 900;
    color: var(--info);
}

.tsb2b-full-grid {
    margin: 1px 1px 0 1px;
    border-left: 16px solid #aaa;
    border-bottom: 2px solid #ccc;
}

    .tsb2b-full-grid:first-child {
        margin: 1px 1px 0 1px;
    }

    .tsb2b-full-grid:nth-child(odd) { /* Pari */
        background: var(--order-row-background);
    }

    .tsb2b-full-grid:nth-child(even) { /* Dispari */
        background: var(--order-row-even-background);
    }

    .tsb2b-full-grid.active {
        border-left: 16px solid var(--row-order-selected);
    }

    .tsb2b-full-grid:hover {
        border-left: 16px solid #ffc107;
    }

    .tsb2b-full-grid.table, .tsb2b-full-grid.table td, .tsb2b-full-grid.table th {
        box-sizing: border-box;
    }

        .tsb2b-full-grid.table td, .table th {
            padding: 0px 2px;
            vertical-align: top;
            border: 0px;
            border-bottom: 1px solid var(--order-row-td-border);
        }

    .tsb2b-full-grid tr.label-row td {
        font-size: 80%;
        line-height: unset;
        height: 30px;
        vertical-align: middle;
        text-align: center;
    }

        .tsb2b-full-grid tr.label-row td span {
            font-size: 100%;
        }

    .tsb2b-full-grid tr.order-row td {
        height: 30px;
        padding: 0px 2px;
        vertical-align: middle;
        text-align: center;
    }

        .tsb2b-full-grid tr.order-row td:first-child {
            text-align: center;
        }

    .tsb2b-full-grid.active tr.order-row td.total-price {
        background-color: var(--row-order-selected);
        color: white;
        font-weight: bold;
    }

    .tsb2b-full-grid td.contenteditable {
        width: 80px !important;
        line-height: 40px;
        border-radius: 0px;
        border-bottom: 4px solid #aaa !important;
        text-align: center;
        vertical-align: middle;
        font-size: 100%;
    }

    .tsb2b-full-grid .qt-label {
        clear: both;
        background: #bbb;
        color: var(--base-text-color);
        min-width: 150px;
        text-align: left;
        float: right;
        padding: 0px 3px;
        margin-top: 2px;
        margin-bottom: 0px;
        font-size: 80%;
    }

        .tsb2b-full-grid .qt-label span {
            display: inline-block;
            line-height: 24px;
        }

        .tsb2b-full-grid .qt-label .fa,
        .tsb2b-full-grid .qt-label .fas,
        .tsb2b-full-grid .qt-label .far,
        .tsb2b-full-grid .qt-label .fal,
        .tsb2b-full-grid .qt-label .fad,
        .tsb2b-full-grid .qt-label .fab {
            font-size: 80%;
            min-width: 20px;
            text-align: center;
        }

        .tsb2b-full-grid .qt-label.promo {
            background: #cc0000;
            color: white;
        }

            .tsb2b-full-grid .qt-label.promo span {
                font-size: 80%;
            }

    .tsb2b-full-grid button.btn-outline-default {
        background-color: var(--info);
        color: var(--info-text);
        margin-top: 2px;
    }

    .tsb2b-full-grid .order-product-summary button.btn-outline-default {
        color: var(--base-text-color);
    }

    .tsb2b-full-grid .order-product-summary button,
    .tsb2b-full-grid .order-product-summary button p {
        min-width: 150px;
        display: block;
        text-align: left;
        padding: 0;
        vertical-align: middle;
    }

    .tsb2b-full-grid button.singlerow-save-button,
    .tsb2b-full-grid button.toggle-variants,
    .tsb2b-full-grid toggle-box {
        margin-bottom: 2px;
        margin-top: 2px;
    }

    .tsb2b-full-grid .list-price,
    .tsb2b-full-grid .list-discount {
        color: #c00;
        text-decoration: line-through;
        outline: 0;
        -moz-outline-style: none;
    }

        .tsb2b-full-grid .list-price:hover,
        .tsb2b-full-grid .list-discount:hover {
            background-color: #cc0000;
            color: white;
        }

    .tsb2b-full-grid tr.title-row .btn {
        background-color: var(--order-image-background);
    }

    .tsb2b-full-grid tr.title-row .order-product-summary .btn {
        border: 1px solid #ccc;
        text-align: center;
        padding: 0 5px;
    }

        .tsb2b-full-grid tr.title-row .order-product-summary .btn:hover {
            background-color: #eee;
        }

    .tsb2b-full-grid tr.title-row .btn {
        background-color: var(--order-image-background);
    }

    .tsb2b-full-grid tr.order-row td.modified,
    .tsb2b-full-grid tr.order-row td.modified textarea {
        background-color: #e1cfcf !important;
    }

    .tsb2b-full-grid tr.order-row td.error {
        background-color: #cc0000 !important;
    }

    .tsb2b-full-grid tr.order-row td.price-error:after {
        content: " \0247";
        color: #cc0000;
    }

    .tsb2b-full-grid td h5.enhanced {
        color: var(--enhanced-color);
        font-weight: 400;
    }

    .tsb2b-full-grid td span.total-price,
    .tsb2b-full-grid td span.total-quantity {
        color: var(--theme-info-color);
        font-weight: 600;
    }

    .tsb2b-full-grid.active td span.total-price,
    .tsb2b-full-grid.active td span.total-quantity {
        color: var(--enhanced-color);
        font-weight: bold;
    }

    .tsb2b-full-grid td.discounted .discount {
        float: right;
        background-color: #cc0000;
        color: white;
        font-size: 80%;
        padding: 0px 4px;
        margin: 2px;
    }

        .tsb2b-full-grid td.discounted .discount .fa,
        .tsb2b-full-grid td.discounted .discount .fas,
        .tsb2b-full-grid td.discounted .discount .far,
        .tsb2b-full-grid td.discounted .discount .fal,
        .tsb2b-full-grid td.discounted .discount .fad,
        .tsb2b-full-grid td.discounted .discount .fab {
            font-size: 80%;
        }

    .tsb2b-full-grid tr.stock-row.collapsed {
        height: 0px;
        font-size: 0px;
        padding: 0px;
        line-height: 0px;
    }

        .tsb2b-full-grid tr.stock-row.collapsed td {
            height: 0px;
            font-size: 0px;
            padding: 0px;
            line-height: 0px;
            border: 0px;
        }

    .tsb2b-full-grid .save-row {
        font-weight: bold;
    }

    .tsb2b-full-grid tr.colors td {
        text-align: center;
    }

    .tsb2b-full-grid tr.colors.box-title td {
        background-color: var(--warning-color);
        text-align: left;
    }

    .tsb2b-full-grid tr.colors.header td {
        font-size: 70%;
        font-style: italic;
        background-color: #f3f3f3;
    }

        .tsb2b-full-grid tr.colors.header td * {
            font-size: 100% !important;
        }

    .tsb2b-full-grid tr.colors.order-row td:first-child {
        text-align: left;
    }

    .tsb2b-full-grid tr.colors.order-row td {
        height: 40px;
    }

    .tsb2b-full-grid.row-return-mode {
        display: none;
        border-left-color: #cc0000;
    }

        .tsb2b-full-grid.row-return-mode:hover {
            border-color: #cc0000;
        }

    .tsb2b-full-grid span.tag-return-mode {
        background-color: #cc0000;
        color: white;
        padding: 0px 5px 0px 3px;
        margin-top: 5px;
        font-style: italic;
        font-size: 80%;
        display: inline-block;
    }

    .tsb2b-full-grid .noborder {
        border: 0px !important;
    }

    .tsb2b-full-grid .custmon-price-header {
        font-size: 90%;
        font-style: italic;
        background-color: #f3f3f3;
        clear: both;
    }

        .tsb2b-full-grid .custmon-price-header .fas {
            margin-top: 3px;
            font-size: 90%;
            float: right;
            cursor: pointer;
        }

.units-of-measurement {
    margin-top: 5px;
}

.tsb2b-full-grid .units-of-measurement > .um-box {
    border: 1px solid darkgray;
    padding: 2px 5px;
    background-color: white;
    color: black;
    font-size: 85%;
    cursor: pointer;
}

    .tsb2b-full-grid .units-of-measurement > .um-box.active {
        background-color: darkgray;
        color: white;
        cursor: default;
    }

/* Product details */
div.product-details,
div.shipping-details {
    margin: 0px;
    padding: 0px;
    z-index: 99999;
    background-color: white;
    color: black;
    position: absolute;
    left: auto;
    right: 0px;
    width: 500px;
    height: 500px;
}

.product-details .detail-close-icon,
.shipping-details .shipping-close-icon {
    float: right;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    top: 7px;
    font-size: 15px;
    color: #555;
}

.product-details .card-header,
.product-details .card-body,
.shipping-details .card-header,
.shipping-details .card-body {
    padding: 8px;
}

.product-details .detail-row,
.shipping-details .detail-row {
    border: 1px solid #e6e6e6;
    margin-bottom: 2px;
}

.product-details h4,
.shipping-details h4 {
    margin: 0px;
    font-weight: 400;
}

.product-details .detail-label {
    background-color: #e6e6e6;
    width: 30%;
    display: inline-block;
    padding: 0px 3px;
}

    .product-details .detail-label.note {
        width: 100% !important;
        padding: 0px 3px;
    }

    .product-details .detail-label.descr {
        width: 100% !important;
        padding: 0px 3px;
    }

.product-details .detail-value {
    width: 65%;
    display: inline-block;
    text-align: right;
    padding: 0px 3px;
}

.product-details .detail-note {
    display: inline-block;
    padding: 0px 3px;
}

.product-details .detail-descr {
    display: inline-block;
    padding: 0px 3px;
}

/* Animations */
.blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

@-webkit-keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

/* Bell animation */
.bell {
    color: #cc0000 !important;
    -webkit-animation: ring 4s .7s ease-in-out infinite;
    -webkit-transform-origin: 30% 0px;
    -moz-animation: ring 4s .7s ease-in-out infinite;
    -moz-transform-origin: 30% 0px;
    animation: ring 4s .7s ease-in-out infinite;
    transform-origin: 50% 0px;
}

@-webkit-keyframes ring {
    0% {
        transform: rotate(0);
    }

    1% {
        transform: rotate(30deg);
    }

    3% {
        transform: rotate(-28deg);
    }

    5% {
        transform: rotate(34deg);
    }

    7% {
        transform: rotate(-32deg);
    }

    9% {
        transform: rotate(30deg);
    }

    11% {
        transform: rotate(-28deg);
    }

    13% {
        transform: rotate(26deg);
    }

    15% {
        transform: rotate(-24deg);
    }

    17% {
        transform: rotate(22deg);
    }

    19% {
        transform: rotate(-20deg);
    }

    21% {
        transform: rotate(18deg);
    }

    23% {
        transform: rotate(-16deg);
    }

    25% {
        transform: rotate(14deg);
    }

    27% {
        transform: rotate(-12deg);
    }

    29% {
        transform: rotate(10deg);
    }

    31% {
        transform: rotate(-8deg);
    }

    33% {
        transform: rotate(6deg);
    }

    35% {
        transform: rotate(-4deg);
    }

    37% {
        transform: rotate(2deg);
    }

    39% {
        transform: rotate(-1deg);
    }

    41% {
        transform: rotate(1deg);
    }

    43% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}

@-moz-keyframes ring {
    0% {
        transform: rotate(0);
    }

    1% {
        transform: rotate(30deg);
    }

    3% {
        transform: rotate(-28deg);
    }

    5% {
        transform: rotate(34deg);
    }

    7% {
        transform: rotate(-32deg);
    }

    9% {
        transform: rotate(30deg);
    }

    11% {
        transform: rotate(-28deg);
    }

    13% {
        transform: rotate(26deg);
    }

    15% {
        transform: rotate(-24deg);
    }

    17% {
        transform: rotate(22deg);
    }

    19% {
        transform: rotate(-20deg);
    }

    21% {
        transform: rotate(18deg);
    }

    23% {
        transform: rotate(-16deg);
    }

    25% {
        transform: rotate(14deg);
    }

    27% {
        transform: rotate(-12deg);
    }

    29% {
        transform: rotate(10deg);
    }

    31% {
        transform: rotate(-8deg);
    }

    33% {
        transform: rotate(6deg);
    }

    35% {
        transform: rotate(-4deg);
    }

    37% {
        transform: rotate(2deg);
    }

    39% {
        transform: rotate(-1deg);
    }

    41% {
        transform: rotate(1deg);
    }

    43% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}

@keyframes ring {
    0% {
        transform: rotate(0);
    }

    1% {
        transform: rotate(30deg);
    }

    3% {
        transform: rotate(-28deg);
    }

    5% {
        transform: rotate(34deg);
    }

    7% {
        transform: rotate(-32deg);
    }

    9% {
        transform: rotate(30deg);
    }

    11% {
        transform: rotate(-28deg);
    }

    13% {
        transform: rotate(26deg);
    }

    15% {
        transform: rotate(-24deg);
    }

    17% {
        transform: rotate(22deg);
    }

    19% {
        transform: rotate(-20deg);
    }

    21% {
        transform: rotate(18deg);
    }

    23% {
        transform: rotate(-16deg);
    }

    25% {
        transform: rotate(14deg);
    }

    27% {
        transform: rotate(-12deg);
    }

    29% {
        transform: rotate(10deg);
    }

    31% {
        transform: rotate(-8deg);
    }

    33% {
        transform: rotate(6deg);
    }

    35% {
        transform: rotate(-4deg);
    }

    37% {
        transform: rotate(2deg);
    }

    39% {
        transform: rotate(-1deg);
    }

    41% {
        transform: rotate(1deg);
    }

    43% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(0);
    }
}

/* Profile button animation */
.profile-hidden {
    margin-top: -145px;
    top: -145px;
    animation: slide-out 1s ease 1;
    animation-fill-mode: forwards;
}

.profile-visible {
    margin-top: 0px;
    top: 0px;
    animation: slide-in 1s ease 1 forwards;
    animation-fill-mode: forwards;
}

@keyframes slide-out {
    from {
        margin-top: 0;
        top: 0;
    }

    to {
        margin-top: -145px;
        top: -145px;
    }
}

@keyframes slide-in {
    from {
        margin-top: -180px;
        top: -180px;
    }

    to {
        margin-top: 0;
        top: 0;
    }
}

/* @media */
@media (min-width: 1920px) {
    html {
    }
}

@media (min-width: 768px) {
    .col-md-12 {
        -ms-flex: unset;
        flex: unset;
        max-width: unset;
    }
}

@media print {
    * {
        font-size: 1em !important;
    }

    input [type=checkbox] {
        display: none;
    }

    .flex-content {
        overflow: hidden;
        height: fit-content;
    }

    .btn-top-of-page {
        display: none;
    }

    html.single.print .row-wrapper .col-wrapper .col-items:nth-child(2),
    html.single.print table.order-topbar,
    html.single.print .row {
        height: fit-content;
        width: 100% !important;
    }

    #show-customer {
        white-space: normal;
        max-width: none;
        max-height: none;
    }

    .tsb2b-full-grid,
    .tsb2b-full-grid td,
    .tsb2b-full-grid td.contenteditable {
        border: 1px solid var(--border-contenteditable) !important;
    }

        .tsb2b-full-grid:hover,
        .tsb2b-full-grid:hover td,
        .tsb2b-full-grid:hover td.contenteditable {
            border: 1px solid var(--border-contenteditable) !important;
        }

    .print .print-list-price {
        display: block !important;
        text-decoration: line-through;
    }

    .print .tsb2b-full-grid {
        page-break-inside: avoid;
    }

        .print .tsb2b-full-grid tr {
            page-break-inside: avoid;
        }

            .print .tsb2b-full-grid tr td {
                /*page-break-before: ;*/
                /*page-break-after: always;*/
                page-break-inside: avoid;
            }

            .print .tsb2b-full-grid tr:last-child {
                border-bottom: 1px solid #ccc;
            }
}

/* Orders/Print */
.print .print-order-type {
    width: 100%;
    margin: 10px;
}
    .print .print-order-type tr {
        background: white;
    }

    .print .print-order-type th {
        padding: 5px;
        border-bottom: 3px solid #555;
    }

    .print .print-order-type td {
        padding: 5px;
        border-bottom: 1px solid #555;
    }

.print .total-quantity:after {
    content: "";
    padding-left: 0px;
}

.print .flex-content .order-list-topbar {
    position: unset !important;
    top: 0px;
    width: auto !important;
}

.print .row.row-content.order-list {
    margin-top: 10px !important;
}

.print tr.order-row td {
    height: unset;
}

.print .total-price,
.print .total-quantity {
    color: black !important;
}

.print #show-customer {
    color: black;
    border: 0px;
    font-weight: bold;
}

.print .discount,
.print .price-discounted {
    background-color: transparent !important;
    color: black;
}

.print .tsb2b-full-grid tr td.contenteditable {
    min-width: 50px;
}

.print .tsb2b-full-grid tr.save-row td,
.print .tsb2b-full-grid tr.price-row td,
.print .tsb2b-full-grid tr.size-row td {
    font-size: 80%;
    text-align: center;
}

    .print .tsb2b-full-grid tr.save-row td:first-child,
    .print .tsb2b-full-grid tr.price-row td:first-child,
    .print .tsb2b-full-grid tr.size-row td:first-child {
        text-align: left;
    }

.print .tsb2b-full-grid tr td .discount {
    color: #aaa;
}

.print .print-list-price {
    display: none;
}

/* Override bootstrap class */
.input-group-append {
    margin: 0px 0px 0px -1px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11,
.col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7,
.col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11,
.col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7,
.col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11,
.col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7,
.col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11,
.col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7,
.col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
    padding-right: 5px;
    padding-left: 5px;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.alert-warning {
    line-height: 140%;
    padding: 0px 5px;
}

label {
    margin-bottom: 0;
    margin-top: 5px;
}

.form-group {
    margin-bottom: 0px;
}

.form-row {
    margin-top: 0px;
}

select,
input,
textarea {
    padding: 5px;
}

.modal-content {
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
}

.bootstrap-select .filter-option {
    white-space: normal;
}

.btn {
    padding: 2px 5px 0px 5px;
    border: 0;
}

.card {
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
}

.card-header:first-child {
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
}

.card-header h4 {
    margin-bottom: 0px;
}

.card-body {
    padding: 0.4rem;
}

.card-footer a {
    color: black;
}

.nav-pills .nav-link {
    -webkit-border-radius: var(--default-radius);
    -moz-border-radius: var(--default-radius);
    border-radius: var(--default-radius);
}

.btn-outline-info {
    border: 1px dotted var(--theme-info-color);
    color: var(--theme-info-color);
    margin-right: 3px;
}

    .btn-outline-info .discount .fa,
    .btn-outline-info .discount .fas,
    .btn-outline-info .discount .far,
    .btn-outline-info .discount .fal,
    .btn-outline-info .discount .fad,
    .btn-outline-info .discount .fab {
        top: 2px;
        position: relative;
        font-size: 140%;
    }

    .btn-outline-info:hover {
        color: var(--info-text);
        background-color: var(--theme-info-color);
        border-color: var(--theme-info-color);
    }

    .btn-outline-info:not(:disabled):not(.disabled).active,
    .btn-outline-info:not(:disabled):not(.disabled):active,
    .show > .btn-outline-info.dropdown-toggle {
        color: #fff;
        background-color: var(--info);
        border-color: var(--info);
    }

.home-page-orderlist .btn-outline-info,
.home-page-userlist .btn-outline-info,
.action-buttons-box .btn-outline-info {
    min-width: 42px;
    min-height: 40px;
    line-height: 40px;
    padding: 0px;
    margin-bottom: 4px;
}

.btn-info {
    color: var(--info);
    background-color: var(--info-text);
    border-color: var(--info-border);
}

    .btn-info:hover,
    .btn-info:active {
        background-color: var(--info-hover);
        border-color: var(--info-border-hover);
        color: var(--info-text-hover);
    }

    .btn-info:not(:disabled):not(.disabled).active, .btn-info:not(:disabled):not(.disabled):active, .show > .btn-info.dropdown-toggle {
        background-color: var(--info-hover);
        border-color: black;
        color: var(--info-text-hover);
    }

    .btn-info.disabled, .btn-info:disabled {
        color: #aaa;
        background-color: #eee;
        border-color: #aaa;
    }

/* DOTNET THEME OVERWRITE */
.dotnet-theme .nav-pills .nav-link {
    color: black;
}

    .dotnet-theme .nav-pills .nav-link:hover,
    .nav-pills .show > .nav-link:hover,
    .dotnet-theme .nav-pills .nav-link:focus,
    .nav-pills .show > .nav-link:focus {
        color: #000;
        background-color: #eee;
    }

div.coc-promotion {
    position: absolute;
    bottom: 0;
    left: 0;
    line-height: 30px;
    height: 30px;
    padding: 0px;
    z-index: 998;
    background-color: #c00;
    color: white;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)" !important;
    filter: alpha(opacity=100) !important;
    -moz-opacity: 1 !important;
    -khtml-opacity: 1 !important;
    opacity: 1 !important;
    text-overflow: ellipsis;
}

a:hover div.coc-promotion {
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)" !important;
    filter: alpha(opacity=20) !important;
    -moz-opacity: 0.2 !important;
    -khtml-opacity: 0.2 !important;
    opacity: 0.2 !important;
}

/* Modalità catalogo - INDEX */
.catalog-box {
    padding: 15px;
}

    .catalog-box > div > .index-season-name {
        background-color: var(--info);
        color: var(--info-text);
        padding: 0 5px 5px 5px;
    }

    .catalog-box > .index-line-box {
        border-radius: 5px;
        display: inline-block;
        margin: 10px;
        padding: 15px;
        border: 3px solid var(--info);
        color: var(--info);
        background: var(--info-text);
        cursor: pointer;
    }

        .catalog-box > .index-line-box:first-child {
            margin-left: 0px;
        }

        .catalog-box > .index-line-box:last-child {
            margin-right: 0px;
        }

        .catalog-box > .index-line-box:hover {
            color: var(--info-text);
            background: var(--info);
        }

        .catalog-box > .index-line-box > .index-line-name {
            font-weight: bold;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .catalog-box > .index-line-box > .index-order-mode {
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .catalog-box > .index-line-box > .promo {
            color: #c00;
            font-weight: bold;
            font-size: 190%;
            margin-top: -12px;
            float: right;
            margin-right: -12px;
        }

/* Modalità catalogo - LIST */
.catalog-list-box {
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    height: 100vh;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

    .catalog-list-box > .list-art-box {
        scroll-snap-align: start;
        flex-shrink: 0;
        height: 100vh;
        border-right: 1px solid #fff;
        display: flex;
        flex-direction: column;
        background: #eee;
    }

        .catalog-list-box > .list-art-box > div {
        }

        .catalog-list-box > .list-art-box > .image {
            padding: 0 10px;
            height: 75%;
            text-align: center;
            background-color: #cdcdcd;
        }

            .catalog-list-box > .list-art-box > .image > img {
                height: 100%;
            }

        .catalog-list-box > .list-art-box > .detail {
            padding: 10px;
            height: 25%;
            background-color: #eee;
            overflow: auto;
        }

            .catalog-list-box > .list-art-box > .detail .size-box {
                background-color: white;
                text-align: center;
                min-width: 30px;
                padding: 0 5px;
                display: inline-block;
            }

    .catalog-list-box .catalog-prev {
        z-index: 99999;
        position: sticky;
        left: 0px;
        top: 0;
        font-size: 300%;
        font-weight: bold;
        color: #555;
        opacity: 0.35;
        padding-left: 10px;
    }

    .catalog-list-box .catalog-next {
        z-index: 99999;
        position: sticky;
        right: 0px;
        top: 0;
        font-size: 300%;
        font-weight: bold;
        color: #555;
        opacity: 0.3;
        padding-right: 10px;
    }

        .catalog-list-box .catalog-prev:hover,
        .catalog-list-box .catalog-next:hover {
            text-decoration: none;
            color: var(--info);
            opacity: 1;
            background: rgba(255,255,255,0.5);
            padding: 0 5px;
        }

        .catalog-list-box .catalog-prev:focus,
        .catalog-list-box .catalog-next:focus {
            text-decoration: none;
        }

    .catalog-list-box .catalog-page {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #aaa;
        color: white;
        padding: 0 5px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        text-align: center;
        z-index: 999999;
    }

    .catalog-list-box .line-through {
        color: gray;
        text-decoration: line-through;
    }

/* Visualizzazione formattata Json */
pre.json {
    background: #eee;
    padding: 10px;
    height: 430px;
    overflow: auto;
    font-size: 80%;
    white-space: break-spaces;
}

    pre.json * {
        font-size: 90%;
    }

    pre.json .key {
        color: black;
    }

    pre.json .number {
        color: red;
    }

    pre.json .string {
        color: green;
    }

    pre.json .null {
        color: blue;
    }

    pre.json .boolean {
        color: fuchsia;
    }

/* Vetinfo-box */
.vetinfo-box {
    margin: 30px;
}

    .vetinfo-box .name {
        font-weight: bold;
    }

    .vetinfo-box .email {
        font-style: italic;
    }

    .vetinfo-box .action,
    .vetinfo-box .response {
        margin-top: 20px;
    }

/* Order - CardMode */
.row.row-content.order-list.card-mode {
    display: flex;
    flex-direction: row;
    justify-content: start;
    column-gap: 30px;
    row-gap: 0px;
    padding: 20px;
}

    .row.row-content.order-list.card-mode table {
        width: 23% !important;
        min-width: min(23%, 516px);
        max-width: min(23%, 516px);
        border: 1px solid #aaa;
        margin-bottom: 20px;
    }

        .row.row-content.order-list.card-mode table tbody {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
        }

            .row.row-content.order-list.card-mode table tbody tr:nth-child(2) {
                display: flex;
                flex-direction: column;
                width: 216px;
            }

            .row.row-content.order-list.card-mode table tbody tr:nth-child(3) {
                display: flex;
                flex-direction: column;
                flex: 1;
            }

            .row.row-content.order-list.card-mode table tbody tr:first-child,
            .row.row-content.order-list.card-mode table tbody tr:last-child {
                width: 100% !important;
                display: flex;
                flex-direction: row;
            }

            .row.row-content.order-list.card-mode table tbody tr td {
                font-size: unset;
            }

            .row.row-content.order-list.card-mode table tbody tr.order-row td:first-child {
                margin-top: 35px;
            }

            .row.row-content.order-list.card-mode table tbody .promo-message-box {
                min-width: unset;
                max-width: 150px;
            }

            .row.row-content.order-list.card-mode table tbody .product-sheet-button {
                border: 0;
                text-align: right;
                color: #555;
                min-width: unset;
                padding: 3px;
            }

                .row.row-content.order-list.card-mode table tbody .product-sheet-button:hover {
                    color: black;
                    background-color: transparent;
                }

            .row.row-content.order-list.card-mode table tbody tr:not(:first-child):not(:last-child) td {
                width: 100% !important;
                height: 35px;
                line-height: 35px;
                padding: 0;
                text-align: left !important;
                padding-left: 3px;
            }

                .row.row-content.order-list.card-mode table tbody tr:not(:first-child):not(:last-child) td.total-price {
                    text-align: left !important;
                }

            .row.row-content.order-list.card-mode table tbody tr:not(:first-child) td textarea {
                height: 35px;
                font-size: 70%;
                padding: 2px;
            }

            .row.row-content.order-list.card-mode table tbody tr:not(:first-child) td br {
                display: none;
            }

                /* Aggiunge un carattere per separare l'eventuale contenuto "a capo" */
                .row.row-content.order-list.card-mode table tbody tr:not(:first-child) td br + *::before {
                    content: "> ";
                }

            .row.row-content.order-list.card-mode table tbody .action-buttons button {
                min-width: 25px !important;
                min-height: 25px !important;
                line-height: 25px;
            }

            .row.row-content.order-list.card-mode table tbody tr.note td {
                background-color: transparent;
                width: 100% !important;
                cursor: default;
                font-style: normal;
                font-size: 80%;
            }

            .row.row-content.order-list.card-mode table tbody tr.colors.note.header {
                width: 100%;
            }

            .row.row-content.order-list.card-mode table tbody tr:not(:first-child) td.contenteditable {
                background-color: transparent;
                font-weight: bold;
                padding-left: 3px;
            }

                .row.row-content.order-list.card-mode table tbody tr:not(:first-child) td.contenteditable:hover {
                    background-color: #f0f0f0;
                    cursor: text;
                }

            .row.row-content.order-list.card-mode table tbody tr td .qt-label {
                background: transparent;
                min-width: unset;
            }
