﻿html {
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, '宋体',sans-serif;
    scroll-behavior: smooth;
}


* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-overflow-scrolling: touch;
}

    *::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }

    *::-webkit-scrollbar-thumb {
        border-radius: 1.3vw;
        -webkit-box-shadow: inset 0 0 0.8vw rgba(0, 0, 0, 0.3);
        box-shadow: inset 0 0 0.8vw rgba(0, 0, 0, 0.3);
    }

:root {
    --bb-header-color: #000000;
    --bb-header-bg: #ffffff;
    --bb-slide-list-height: 200px;
    --bb-layout-header-border-color: #ffffff;
    --bb-table-columnlist-max-height: 1200px; 
}
.table-toolbar .dropdown-menu {
    max-height: 1200px;
}
.nav-link.active, .nav-link.active, .dropdown-item.active, .nav-link.active {
    --bb-menu-item-hover-color: #fff;
    color: #ffffff;
}
.menu {
    /*    --bb-menu-bar-bg: var(--bb-header-bg);*/
    --bb-menu-item-hover-bg: var(--bb-header-bg);
    --bb-menu-item-hover-color: #fff;
    --bb-menu-nav-border-bottom: unset;
}

.layout-header-bar {
    background-color: gainsboro;
}

.layout .layout-header .layout-header-bar {
    background-color: gainsboro;
}

.layout {
    --bb-layout-header-background: var(--bb-header-bg);
    --bb-layout-sidebar-banner-background: var(--bb-header-bg);
    --bb-layout-header-color: var(--bb-header-color);
    --bb-layout-title-color: var(--bb-header-color);
    --bb-layout-header-border-color: gainsboro;
}

.table-selection-info {
    display: flex;
    white-space: nowrap;
    align-items: center;
} 
 

.layout-banner {
    border-bottom: 1px solid var(--bs-border-color);
}

    .layout-banner .layout-logo {
        border: 1px solid var(--bb-header-color);
    }

.layout-side {
    border-right: 1px solid var(--bs-border-color);
}

.layout-footer {
    border-top: 1px solid var(--bs-border-color);
}

.dropdown-logout {
    --bb-logout-text-color: var(--bb-header-color);
}

/*.dropdown-menu {
    max-height: 600px;
}
*/
.logout-avatar {
    border-radius: 50%;
}

.dropdown-user img {
    border-radius: 50%;
}

.layout-drawer {
    padding: 6px;
    cursor: pointer;
}

.widget {
    --bb-widget-toggle-color: var(--bb-header-color);
}

    .widget .dropdown-menu {
        --bs-dropdown-min-width: 16rem;
    }

    .widget .dropdown-body h3 {
        color: #666666;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .widget .dropdown-body h4 {
        color: #444444;
        font-size: 15px;
        margin: 0;
    }

    .widget .dropdown-body small {
        color: #999999;
        font-size: 10px;
        position: absolute;
        top: 0;
        right: 0;
    }

    .widget .dropdown-item {
        padding: 0.5rem 1rem;
        min-width: 100px;
    }

        .widget .dropdown-item > div:not(.progress):last-child {
            width: calc(100% - 40px);
        }

        .widget .dropdown-item.active,
        .widget .dropdown-item:active {
            color: inherit;
        }

        .widget .dropdown-item:not(:nth-of-type(odd)):active {
            background-color: inherit;
        }

    .widget .progress {
        height: 7px;
    }

.widget {
    --bb-widget-toggle-color: var(--bb-header-color);
}

    .widget .dropdown-menu {
        --bs-dropdown-min-width: 16rem;
    }

    .widget .dropdown-body h3 {
        color: #666666;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .widget .dropdown-body h4 {
        color: #444444;
        font-size: 15px;
        margin: 0;
    }

    .widget .dropdown-body small {
        color: #999999;
        font-size: 10px;
        position: absolute;
        top: 0;
        right: 0;
    }

    .widget .dropdown-item {
        padding: 0.5rem 1rem;
        min-width: 100px;
    }

        .widget .dropdown-item > div:not(.progress):last-child {
            width: calc(100% - 40px);
        }

        .widget .dropdown-item.active,
        .widget .dropdown-item:active {
            color: inherit;
        }

        .widget .dropdown-item:not(:nth-of-type(odd)):active {
            background-color: inherit;
        }

    .widget .progress {
        height: 7px;
    }

.table-cell img {
    width: 46px;
    border-radius: var(--bs-border-radius);
}

.table-cell .progress {
    height: 6px;
    margin-top: .5rem;
}

.user-demo-address {
    margin-top: .25rem;
    font-size: 86%;
    color: #c0c4cc;
}

.table-demo {
    height: calc(100% - 56px);
}

.table-users-demo {
    height: calc(100vh - 162px);
}

.table-users {
    height: calc(100% - 93px);
}

.cell-label {
    line-height: 35px;
}

@supports not selector(::-webkit-scrollbar) {
    .scroll {
        scrollbar-color: rgba(0,0,0,0.3) rgba(0,0,0,0);
        scrollbar-width: thin;
    }
}
.content code.highlight,
.alert-content code,
.content p code, .content li code {
    background-color: #fff5f8 !important;
}

.layout.is-page .layout-side {
    color: #3f4254;
    background-color: #fff;
    box-shadow: 0 0 28px 0 rgb(82 63 105 / 5%);
}

.layout.is-page .layout-user .layout-title {
    color: #3f4254;
}

.layout.is-page .layout-footer {
    background-color: #f8f9fa;
}

.layout-gotop {
    background: #e9ecef;
    color: #3f4254;
}

    .layout-gotop:hover {
        background-color: #dee2e6;
    }

.tabs-body {
    background-color: #fff;
}

.page-layout-demo-footer-link {
    color: #3f4254;
}

body {
    min-height: 100vh;
}

.tabs .of .tabs-nav-scroll {
    scrollbar-width: none;
    overflow-x: auto;
}
textarea.form-control {
    min-height: calc(1.5em + .75rem + 3rem + calc(var(--bs-border-width)* 2));
}

#KioskBoard-VirtualKeyboard {
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    max-height: 320px !important;
    overflow: scroll !important;
    max-width: unset !important;
}

    #KioskBoard-VirtualKeyboard .kioskboard-row-top {
        padding: 0 !important;
        border-bottom: 0 !important;
        margin: 0 !important;
    }

    #KioskBoard-VirtualKeyboard .kioskboard-row-bottom {
        padding: 0 !important;
        border-bottom: 0 !important;
        margin: 0 !important;
    }

    #KioskBoard-VirtualKeyboard .kioskboard-row span[class^=kioskboard-key] {
        margin: 4px !important;
        padding: 12px 0 12px 0 !important;
        align-items: center !important;
        max-width: 7.7% !important;
    }

    #KioskBoard-VirtualKeyboard .kioskboard-row-bottom span[class^=kioskboard-key] {
        max-width: unset !important;
    }

    #KioskBoard-VirtualKeyboard .kioskboard-row-numpad span[class^=kioskboard-key] {
        max-width: 100% !important;
        height: 45px !important;
        min-height: 45px !important;
        width: calc(33.3333% - 16px) !important;
    }

.strok-outside {
    text-shadow: 0 1px #383737, 1px 0 #383737, -1px 0 #383737, 0 -1px #383737;
}

@supports (-webkit-touch-callout: none) {
    body {
        min-height: -webkit-fill-available;
    }
}
.totalbar {
    position: fixed;
    z-index: 10;
    bottom: 2.5rem;
    right: 1rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: lightslategrey;
    opacity: 0.7;
}

@supports not selector(::-webkit-scrollbar) {
    .scroll {
        scrollbar-color: rgba(0,0,0,0.3) rgba(0,0,0,0);
        scrollbar-width: thin;
    }
}

.product-image {
    width: 64px;
    height: 64px
}
/*.qrcode {
    width: 64px;
    height: 64px
}*/


.home-ad {
    text-align: center;
}

.home-ad-image {
    width: 95%;
    margin: 30px auto;
}

canvas {
    letter-pacing: 3px;
}

.table-container .table-toolbar-button .select .form-select {
    background-color: var(--bs-secondary);
}

.table-style-ds .btn-success {
    --bs-btn-color: #3F4254;
    --bs-btn-hover-bg: #B5B5C3;
    --bs-btn-hover-color: var(--bs-btn-color);
    --bs-btn-active-color: var(--bs-btn-color);
    --bs-btn-disabled-color: var(--bs-btn-color);
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-disabled-bg: var(--bs-secondary);
    --bs-btn-disabled-border-color: var(--bs-secondary);
    --bs-btn-hover-border-color: var(--bs-btn-hover-bg);
    --bs-btn-active-bg: var(--bs-btn-hover-bg);
    --bs-btn-active-border-color: var(--bs-btn-hover-bg);
}

@media (max-width: 640.98px) {

    .table-style-ds .btn-success span {
        display: none;
    }
}
.select-disable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}
.bb-flex {
    display: flex;
    margin-top: .25rem !important;
    margin-bottom: .25rem !important;
}
.bb-sub-price {
    margin-top: .25rem;
    font-size: 110%;
    color: var(--bs-primary);
}

.bb-sub {
    margin-top: .25rem;
    font-size: 86%;
    color: #989ca2;
}
.bb-sub-prix {
    margin-top: .25rem;
    font-size: 86%;
    color: #c0c4cc;
}
.pad-flex {
    display: flex;
    justify-content: center;
}
.desk-main-div {
    width: 100%;
    min-height: 87vh;
}

.desk-main-div-keypad {
    min-width: 400px;
    min-height: 87vh; 
}
.pay-pad {
    width: calc(100% - 400px); 
}

.tabs-nav-scroll {
    overflow-x: scroll;
    scrollbar-width: none;
}
    .tool-bar-order {
    width: 100%;
    overflow-y: hidden;
    scrollbar-width: none;
    overflow-x: scroll;
}
    .tool-bar-order .input-group {
        width: 570px;
        flex-wrap: nowrap; 
    }
.d-style .layout-header {
    background-color: var(--bs-secondary);
}
.layout .layout-header > .tabs.tabs-chrome .tabs-header {
    --bb-tabs-header-color: black;
    --bs-border-color: var(--bs-secondary);
    --bb-tabs-header-bg-color: var(--bs-secondary);
}
@media (max-width: 640.98px) {
    .tabs-chrome > .tabs-header .tabs-item-wrap .tabs-item .tabs-item-body, .tabs-capsule > .tabs-header .tabs-item-wrap .tabs-item .tabs-item-body {
        padding: 3px;
        font-size: 12px;
    }
    .tabs-item .tabs-item-close { 
        /*visibility: visible;*/ 
    }
}