@media (max-width: 767px) {
    .main-header .navbar-custom-menu {
        float: none !important;
        display: block !important;
    }
    .main-header .navbar-custom-menu .dropdown-menu {
        left: auto !important;
    }
    .skin-blue-light .main-header .navbar .dropdown-menu li a {
        color: #777;
    }
    .main-header .navbar {
        height: auto;
    }
}

/* Sidebar toggle arrow indicator */
.main-header .sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    background: transparent;
}
.sidebar-toggle-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}
.sidebar-toggle-arrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-135deg);
    transition: transform 0.2s ease;
}
body.sidebar-collapse .sidebar-toggle-arrow::before {
    transform: rotate(45deg);
}
#online_indicator {
    font-size: 8px;
    vertical-align: middle;
}

.pt-0 {
    padding-top: 0px;
}

.f-right {
    float: right;
}

.mb-10 {
    margin-bottom: 10px;
}

.discount-badge {
    position: absolute;
    top: 6px;
    right: 10px;
    font-size: 18px;
    padding: 7px;
}

.discount-badge-small {
    position: absolute;
    top: -2px;
    left: 10px;
    font-size: 12px;
    padding: 6px;
}

.product-info-table td,
.product-info-table th {
    font-size: 12px;
}

.catalogue {
    max-height: 127px;
    margin: auto;
    margin-bottom: 18px;
}

.catalogue-title {
    display: inline-block;
    font-size: 18px;
    margin: 0;
    line-height: 1;
    margin-bottom: 10px;
}

.bg-light-gray {
    background-color: #f8f8f8 !important;
}

.p-5-5 {
    padding: 5px 5px !important;
}

.m-4 {
    margin: 4px;
}

.skin-black .main-header,
.skin-black-light .main-header {
    color: #525f7f !important;
}

.skin-black .main-header .navbar .nav .open>a {
    color: #999 !important;
}

.skin-black .main-header .navbar .nav>li>a:hover {
    color: #999 !important;
}

.skin-black .main-header .navbar>.sidebar-toggle:hover {
    color: #999 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.table-pdf thead tr {
    background-color: #357ca5 !important;
    color: #fff;
}

.table-pdf thead tr th {
    color: #fff !important;
}

.blue-heading {
    background-color: #357ca5;
    color: #fff;
}

.table-pdf .odd {
    background-color: #DCE6F1;
}

.p-4 {
    padding: 4px;
}

@media (min-width: 992px) {
    .row-custom-5 .col-custom {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .row-custom-6 .col-custom {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
}

.row-custom-5 .info-box-number {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(16px, 1.2vw, 20px);
}

.dashboard-card {
    border-radius: 8px;
    padding: 12px 22px;
    background: #fff;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
    color: #fff;
    transition: box-shadow 0.2s ease;
    overflow: hidden;
    border: none;
    min-height: 72px;
    display: flex;
    align-items: center;
}
.dashboard-card:hover {
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}
.dashboard-card .info-box-content {
    margin-left: 0;
    padding: 0;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.dashboard-card .info-box-text {
    font-weight: 600;
    text-transform: none;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0;
    font-size: 14px;
}
.dashboard-card .info-box-number {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    margin-top: 2px;
}
.dashboard-card .info-box-icon {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    margin: 0 12px 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: none;
    align-self: center;
}
.dashboard-card-icon i {
    font-size: 20px;
}
.dashboard-card--green {
    background: #76b81a;
}
.dashboard-card--orange {
    background: #ff8a00;
}
.dashboard-card--purple {
    background: #5a32c6;
}
.dashboard-card--teal {
    background: #1e8e95;
}
.dashboard-card--aqua {
    background: #19afd8;
}
.dashboard-card--red {
    background: #f4315b;
}
.dashboard-card--cyan {
    background: #179ab7;
}
.dashboard-card--pink {
    background: #d64086;
}
.dashboard-card--navy {
    background: #0f1734;
}
.dashboard-main-tabs {
    background: transparent;
    box-shadow: none;
    border: none;
    margin-top: 18px;
}
.dashboard-tabs-section-label {
    color: #7b8ba8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 12px;
}
.dashboard-tabs-section-label--sub {
    margin-bottom: 10px;
}
.dashboard-main-tabs > .nav-tabs {
    border-bottom: none;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.dashboard-main-tabs > .nav-tabs > li {
    float: none;
    margin: 0;
}
.dashboard-main-tabs > .nav-tabs > li > a {
    color: #38507f;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid #d8e3f1;
    border-radius: 14px;
    background: #f7fafc;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px;
    box-shadow: 0 4px 10px rgba(20, 45, 90, 0.06);
}
.dashboard-main-tabs > .nav-tabs > li.active > a,
.dashboard-main-tabs > .nav-tabs > li.active > a:focus,
.dashboard-main-tabs > .nav-tabs > li.active > a:hover {
    color: #fff;
    border: 1px solid #1f74d8;
    background: linear-gradient(135deg, #2582ea 0%, #165ec3 100%);
    box-shadow: 0 10px 18px rgba(30, 136, 229, 0.22);
}
.dashboard-main-tabs > .nav-tabs > li > a i {
    font-size: 16px;
    width: 18px;
    text-align: center;
}
.dashboard-main-tabs > .tab-content {
    background: transparent;
    padding: 0;
}
.food-dashboard-tabs {
    background: transparent;
    box-shadow: none;
    border: none;
}
.food-dashboard-tabs > .nav-tabs {
    border-bottom: 1px solid #dfe6ee;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.food-dashboard-tabs > .nav-tabs > li {
    float: none;
    margin-bottom: -1px;
}
.food-dashboard-tabs > .nav-tabs > li > a {
    color: #2a3f73;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px 10px 0 0;
    padding: 10px 18px;
    background: transparent;
}
.food-dashboard-tabs > .nav-tabs > li.active > a,
.food-dashboard-tabs > .nav-tabs > li.active > a:focus,
.food-dashboard-tabs > .nav-tabs > li.active > a:hover {
    color: #1e88e5;
    border-top-color: #1e88e5;
}
.food-dashboard-tabs > .tab-content {
    background: transparent;
    padding: 0;
}
@media (max-width: 991px) {
    .dashboard-main-tabs > .nav-tabs > li > a {
        font-size: 15px;
        min-width: 0;
        width: 100%;
        justify-content: center;
    }
    .dashboard-main-tabs > .nav-tabs > li {
        flex: 1 1 calc(50% - 12px);
    }
    .food-dashboard-tabs > .nav-tabs > li {
        flex: 1 1 calc(50% - 8px);
    }
    .food-dashboard-tabs > .nav-tabs > li > a {
        text-align: center;
    }
    .dashboard-card {
        min-height: 68px;
    }
}
@media (max-width: 767px) {
    .dashboard-main-tabs > .nav-tabs {
        gap: 10px;
        margin-bottom: 18px;
    }
    .dashboard-main-tabs > .nav-tabs > li {
        flex: 1 1 100%;
    }
    .food-dashboard-tabs > .nav-tabs {
        gap: 6px;
    }
    .food-dashboard-tabs > .nav-tabs > li {
        flex: 1 1 calc(50% - 6px);
    }
}
[class*="skin-"] .content-wrapper .content-header-custom {
    background: url("/img/home/walpaper.png") center/cover no-repeat;
}
body.dashboard-no-data .content-wrapper {
    background: url("/img/home/walpaper.png") center/cover no-repeat;
    background-color: transparent;
    min-height: calc(100vh - 50px);
}
body.dashboard-no-data .content-wrapper .content-header-custom {
    background: transparent;
}
body.dashboard-no-data .main-footer {
    background: transparent;
    color: #fff;
    border-top-color: transparent;
}

.app-content-shell {
    animation: content-shell-enter 180ms ease-out both;
    transform-origin: top center;
    will-change: opacity, transform;
}

.app-content-shell .dashboard-card-value--loading,
.app-content-shell .food-management-number--loading {
    transition: opacity 220ms ease, transform 220ms ease, filter 220ms ease;
    opacity: 0.96;
    transform: translateY(1px);
    filter: saturate(0.96);
}

.app-content-shell .dashboard-card-skeleton,
.app-content-shell .food-management-number-skeleton {
    background-size: 200% 100%;
}

.app-content-shell .dashboard-card-skeleton::after,
.app-content-shell .food-management-number-skeleton::after {
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.38) 50%, transparent 100%);
    animation-duration: 1.35s;
    animation-timing-function: ease-in-out;
}

@keyframes content-shell-enter {
    from {
        opacity: 0.96;
        transform: translateY(2px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-content-shell {
        animation: none;
    }

    .app-content-shell .dashboard-card-value--loading,
    .app-content-shell .food-management-number--loading,
    .app-content-shell .dashboard-card-skeleton,
    .app-content-shell .food-management-number-skeleton {
        transition: none;
    }

    .app-content-shell .dashboard-card-skeleton::after,
    .app-content-shell .food-management-number-skeleton::after {
        animation: none;
    }
}

.p-10 {
    padding: 10px !important;
}

.jquery-top-scrollbar {
    height: 6px !important;
}

.jquery-top-scrollbar div {
    height: 6px !important;
}

.scroll-top-bottom {
    width: 100%;
    overflow: scroll;
}

.scroll-top-bottom::-webkit-scrollbar {
    height: 6px;
}

.scrolltop {
    display: none;
    width: 100%;
    margin: 0 auto;
    position: fixed;
    bottom: 20px;
    right: 10px;
}

.scroll {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: #b2b2b2;
    background: rgba(178, 178, 178, 0.7);
    padding: 7px;
    text-align: center;
    margin: 0 0 0 0;
    cursor: pointer;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    border-radius: 6px;
}

.scroll:hover {
    background: rgba(178, 178, 178, 1.0);
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}

.scroll:hover .fas {
    padding-top: -10px;
}

.scroll .fas {
    font-size: 25px;
    margin-top: -5px;
    margin-left: 1px;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}

.f-left {
    float: left;
}

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

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

.table-pdf {
    border-collapse: collapse;
    width: 100%;
    border-spacing: 8px 10px;
}

.td-border td,
.td-border th {
    border-bottom: 1px solid lightgrey;
    padding: 8px 5px;
}

.ws-nowrap {
    white-space: nowrap;
}

.btn-app>.fas,
.btn-app>.fab {
    font-size: 20px;
    display: block;
}

.dropdown-menu>li>a>.fas {
    margin-right: 6px;
}

.mt-5 {
    margin-top: 5px !important;
}

.pos-form-actions {
    height: auto;
    padding-top: 12px;
    padding-bottom: 20px;
    position: fixed;
    bottom: 0px;
    background-color: #D1D5DC;
    width: 100%;
    z-index: 1000;
}

.mb-12 {
    margin-bottom: 12px !important;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.pr-12 {
    padding-right: 12px !important;
}

.main-header .sidebar-toggle:before {
    content: "" !important;
}

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

.margin-bottom-20 {
    margin-bottom: 20px !important;
}

.text-white {
    color: #fff;
}

.wizard>.steps>ul>li {
    width: 33.33% !important;
}

.wizard>.content {
    background: #445867 !important;
}

legend {
    color: #fff;
    margin-bottom: 6px;
    border-bottom: none;
}

.left-col {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(51, 51, 51, 0.32)), url(../img/home-bg.jpg);
    text-align: center;
    background-size: cover;
    background-position: center;
}

.left-col-content {
    color: #1A7BF9;
    width: 100%;
}

.login-header {
    font-size: 27px;
    font-weight: 600;
}

.login-header a {
    color: #fff;
}

.form-header {
    font-size: 18px;
    margin: 16px 0;
}

.btn-login {
    padding: 6px 52px !important;
}

.right-col {
    background-color: #243949;
    height: 100%;
    min-height: 100vh;
}

.right-col label {
    color: #fff;
}

.right-col a,
.text-white a {
    color: #fff;
    font-weight: 600;
    font-size: 15px
}

.right-col a:hover,
.text-white a:hover {
    color: #ccc;
}

.right-col-content {
    padding: 10% 16%;
    padding-bottom: 3%;
}

.right-col-content-register {
    padding: 2% 8%;
}

.input_inline {
    width: 100%;
    display: inline-flex;
}

.input_inline input,
.input_inline span {
    width: 50%;
}

.bg-manufacturing {
    background-color: #ff851b;
}

.img-thumbnail {
    position: relative;
    width: 70px;
    height: 70px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 2px;
    transition: border .2s ease-in-out;
    padding: 4px;
    margin: 3px;
    text-align: center;
}

.img-thumbnail>.badge {
    position: absolute;
    top: -5px;
    right: -7px;
    font-size: 9px;
    font-weight: 400;
    cursor: pointer;
}

.navbar-nav>.notifications-menu>.dropdown-menu>li .menu {
    max-height: 350px;
}

.bg-aqua-lite {
    background-color: #7FFFD4;
}

.navbar-nav>.notifications-menu>.dropdown-menu>li .menu>li>a {
    white-space: normal;
}

.spacer {
    margin-top: 20px;
}

#product_list_body {
    max-height: 485px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.div-overlay {
    cursor: not-allowed;
    background: #e9e9e9;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
}

.d-inline-table {
    display: inline-table;
}

.label-round {
    font-size: 8px;
    border-radius: 44%;
}

.table>tbody+tbody {
    border-top: 0;
}

.table-pl-12 td,
.table-pl-12 th {
    padding-left: 12px !important;
}

table tbody td.pl-20-td {
    padding-left: 20px !important;
}

table.table-border-center>tbody>tr>td:first-child,
table.table-border-center>thead>tr>th:first-child,
table.table-border-center>tfoot>tr>td:first-child {
    border-right: 1px solid darkgray;
}

table.table-border-center-col>tbody>tr>td:nth-child(2),
table.table-border-center-col>thead>tr>th:nth-child(2),
table.table-border-center-col>tfoot>tr>td:nth-child(2) {
    border-right: 1px solid darkgray;
    border-left: 1px solid darkgray;
}

.bg-transparent {
    background-color: transparent !important;
}

.mb-0 {
    margin-bottom: 0;
}

.nav-tabs>li>a {
    font-size: 18px;
    font-weight: 600;
}

.table-transparent,
.table-transparent th {
    background-color: transparent !important;
    color: #000 !important;
}

.td-full-width {
    white-space: nowrap;
}

.font-17 {
    font-size: 17px !important;
}

table.dataTable tbody>tr.selected {
    background-color: #B0BED9;
}

tr.footer-total>td {
    vertical-align: middle !important;
}

.error {
    color: red !important;
}


/*  pos tab */

div.pos-tab-container {
    z-index: 10;
    background-color: #ffffff;
    padding: 0 !important;
    border-radius: 4px;
    -moz-border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 28px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    background-clip: padding-box;
}

div.pos-tab-menu {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
}

div.pos-tab-menu div.list-group {
    margin-bottom: 0;
}

div.pos-tab-menu div.list-group>a {
    margin-bottom: 0;
}

div.pos-tab-menu div.list-group>a .glyphicon,
div.pos-tab-menu div.list-group>a .fa {
    color: #5A55A3;
}

div.pos-tab-menu div.list-group>a:first-child {
    border-top-right-radius: 0;
    -moz-border-top-right-radius: 0;
}

div.pos-tab-menu div.list-group>a:last-child {
    border-bottom-right-radius: 0;
    -moz-border-bottom-right-radius: 0;
}

div.pos-tab-menu div.list-group>a.active,
div.pos-tab-menu div.list-group>a.active .glyphicon,
div.pos-tab-menu div.list-group>a.active .fa {
    background-color: #3c8dbc;
    color: #ffffff;
    border-color: #3c8dbc;
}

div.pos-tab-menu div.list-group>a.active:after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -13px;
    border-left: 0;
    border-bottom: 13px solid transparent;
    border-top: 13px solid transparent;
    border-left: 10px solid #3c8dbc;
}

div.pos-tab-content {
    background-color: #ffffff;
    /* border: 1px solid #eeeeee; */
    padding-left: 20px;
    padding-top: 20px;
}

div.pos-tab div.pos-tab-content:not(.active) {
    display: none;
}

.add-product-price-table th {
    background-color: #5cb85c;
    color: white;
}

.blue-header th {
    background-color: #3c8dbc;
    color: white;
}

.table-th-green th {
    background-color: #5cb85c;
    color: white;
}

#purchase_entry_table th.local-column,
#purchase_entry_table td.local-column {
    width: 220px;
}

#purchase_entry_table td.local-column .local-select {
    width: 100%;
    min-width: 180px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.active-cell {
    border: 2px dotted #3c8dbc !important;
}

.cursor-pointer {
    cursor: pointer !important;
}

.pos_product_div {
    min-height: 57vh;
    max-height: 57vh;
    overflow-y: auto;
    margin-bottom: 20px;
}

.bg-lightgray {
    background-color: #F0EDED !important;
}

.balance_due_box>li {
    padding: 11px 5px 0px 5px;
}

.option-div {
    padding: 15px;
    background-color: #d2d6de;
    color: #333;
    border: 1px solid #d2d6de;
    cursor: pointer;
}

.option-div input[type="radio"] {
    display: none;
}

.option-div-group .icon {
    color: #d33724;
    display: none;
}

.option-div-group .option-div:hover {
    border: 1px solid gray;
}

.option-div-group .active .icon {
    display: block;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-bottom-12 {
    margin-bottom: 12px;
}

.bg-info {
    background-color: #00c0ef !important;
}

.bg-info>a {
    color: #FFFFFF !important;
}

.bg-info>a:hover {
    background-color: #337ab7 !important;
}

div.dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dataTables_wrapper .dt-buttons {
    opacity: 0;
    transform: translateY(4px);
    visibility: hidden;
}

.dataTables_wrapper.dt-buttons-ready .dt-buttons {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

div.dt-buttons .btn {
    background: #ffffff;
    border: 1px solid #d7dee7;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
    color: #334155;
    font-weight: 500;
    padding: 9px 16px;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

div.dt-buttons .btn:hover,
div.dt-buttons .btn:focus,
div.dt-buttons .btn:active,
div.dt-buttons .btn.active,
div.dt-buttons .open > .dropdown-toggle.btn {
    background: #f8fafc;
    border-color: #c5d0dc;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
    color: #0f172a;
}

div.dt-buttons .btn:focus,
div.dt-buttons .btn:active:focus {
    outline: none;
}

div.dt-buttons .btn .fa,
div.dt-buttons .btn .fas,
div.dt-buttons .btn .far,
div.dt-buttons .btn .glyphicon {
    color: #475569;
}

ul.dt-button-collection {
    background: #ffffff;
    border: 1px solid #d7dee7;
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    padding: 6px;
}

ul.dt-button-collection > li {
    border-radius: 8px;
}

ul.dt-button-collection > li > a {
    border-radius: 8px;
    color: #334155;
    padding: 8px 12px;
}

ul.dt-button-collection > li > a:hover,
ul.dt-button-collection > li > a:focus {
    background: #f8fafc;
    color: #0f172a;
}

td.details-control {
    background: url('/img/details_open.png') no-repeat center center;
    cursor: pointer;
}

tr.details td.details-control {
    background: url('/img/details_close.png') no-repeat center center;
}

.icheckbox_square-blue,
.iradio_square-blue {
    margin-right: 10px;
}

.header-right-div {
    right: 10px;
    float: right;
    position: absolute;
    top: 15px;
}

.header-left-div {
    margin-top: 15px;
    display: inline-flex;
}

.m-8 {
    margin: 8px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-15 {
    margin-top: 15px;
}

.m-5 {
    margin: 5px;
}

.icon-link {
    text-align: center;
    display: block;
    margin-bottom: 18px;
}

.icon-link>a {
    display: grid;
}

.icon-link>.badge {
    position: absolute;
    top: 20px;
    right: 67px;
}

.link-des {
    display: inline-block;
    text-align: left;
}

.navbar-nav>.user-menu>.dropdown-menu>li.user-header>img {
    border: none;
    height: auto;
    width: 100%;
    max-height: 120px;
}

.bg-light-green {
    background-color: #98D973 !important;
    color: #fff !important
}

.hover-q {
    font-size: 16px;
    margin-left: 3px;
    cursor: help;
}

.input-group-addon .hover-q {
    margin-left: 0px;
}

.text-bold {
    font-weight: bold;
}

.tour .popover-content {
    padding: 18px 14px;
}

.table-slim>tbody>tr>td,
.table-slim>tbody>tr>th,
.table-slim>tfoot>tr>td,
.table-slim>tfoot>tr>th,
.table-slim>thead>tr>td,
.table-slim>thead>tr>th {
    padding: 1px;
}


/* Custom scroll bar start*/


/* width */

::-webkit-scrollbar {
    width: 7px;
}


/* Track */

::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: #888;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #555;
}


/* Custom scroll bar end*/

.product_cell {
    height: 100px;
    padding: 1%;
}

.product_cell_div {
    height: 100% !important;
    width: 100% !important;
    text-align: center;
    vertical-align: middle;
    padding-top: 5px;
    cursor: pointer;
    overflow: hidden;
}


/*CSS to print receipts*/

.print_section {
    display: none;
}

@media print {
    .print_section {
        display: inline !important;
    }
    .modal-xl {
        width: 100% !important;
    }
     ::-webkit-scrollbar {
        display: none !important;
    }
    #toast-container {
        display: none;
    }
}

.input-number .btn-default {
    background-color: white;
    padding: 6px 9px;
}

.width-50 {
    width: 50% !important;
}

.width-40 {
    width: 40% !important;
}

.width-60 {
    width: 60% !important;
}

.width-100 {
    width: 100% !important;
}

.font-30 {
    font-size: 30px !important;
}

.font-23 {
    font-size: 23px !important;
}

.padding-5 {
    padding: 5px !important;
}

.padding-10 {
    padding: 10px !important;
}

.padding-side-15 {
    /*padding-left: 15px !important;
    padding-right: 15px !important;*/
}

.text-muted-imp {
    color: #A3A3A3 !important;
}

.table-no-top-cell-border td {
    border-top: 0px !important;
    border-bottom: 0px !important;
}

.table-no-top-cell-border th {
    border-top: 0px !important;
    border-bottom: 0px !important;
}

.table-no-side-cell-border td {
    border-left: 0px !important;
    border-right: 0px !important;
}

.table-no-side-cell-border th {
    border-left: 0px !important;
    border-right: 0px !important;
}

.color-555 {
    color: #555555 !important;
}

.color-555 * {
    color: #555555 !important;
}

.color-white {
    color: white !important;
}

.col-no-padding {
    padding-left: 0px;
    padding-right: 0px;
}

.col-2px-padding {
    padding: 2px;
}

.pos-express-btn {
    font-size: 23px !important;
    overflow: hidden !important;
    height: 73px !important;
    white-space: normal;
}

.word-wrap {
    word-wrap: break-word !important;
}

.modal-xl {
    width: 90%;
    /* respsonsive width */
    margin-left: auto !important;
    margin-right: auto !important;
}

table.ajax_view tbody tr {
    cursor: pointer;
}

.bg-white {
    background-color: #fff;
}

.product-thumbnail-small {
    height: 50px;
    width: 50px;
}

table.table-text-center td,
table.table-text-center th {
    vertical-align: middle !important;
}

.product_list {
    padding-left: 8px;
    padding-right: 8px;
}

.product_box {
    width: 100%;
    /*padding-top: 5px;
  padding-bottom: 2px;*/
    margin-bottom: 10px;
    text-align: center;
    cursor: pointer;
    /*border: 1px solid darkgray;*/
    font-weight: 600;
    background-color: #fff;
    border-radius: 2px;
    padding-top: 3px;
}

.product_box .image-container {
    /*width: 95%;*/
    height: 55px;
    margin: auto;
    /*padding-top: 5px;*/
}

.product_box .image-container img {
    height: 45px;
    /*width: 45px*/
}

.eq-height-row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.eq-height-col {
    display: flex;
}

.product_box .text_div {
    margin-top: 3px;
    background: #f8f9fa!important;
}

.product_box .text {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-height: 14px;
    /* fallback */
    max-height: 14px;
    /* fallback */
}

.small-box.bg-gray:hover {
    color: #000;
    text-decoration: none;
}

#calendar table tbody td {
    cursor: pointer;
}

.min-height-90hv {
    min-height: 90vh !important;
}


/* Grow Shadow */

.hvr-grow-shadow {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow, transform;
    transition-property: box-shadow, transform;
}

.hvr-grow-shadow:hover,
.hvr-grow-shadow:focus,
.hvr-grow-shadow:active {
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.5);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.text-link {
    cursor: pointer;
}

.text-link:hover {
    text-decoration: underline;
}

.v-center {
    vertical-align: middle !important;
}

.bg-woocommerce {
    background-color: #9E458B !important;
}


/*.box, .info-box, .nav-tabs-custom, .external-event{
  box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.2) !important;
}*/

.user_avatar {
    border-radius: 50%;
    width: 25px;
    height: 25px;
    margin: 1px;
}

.fs-10 {
    font-size: 10px;
}

.timeline-lode-more-btn {
    margin-left: 50px;
    margin-top: 25px;
    padding-right: 12px;
    padding-left: 12px;
}

.pa-0 {
    padding: 0px !important;
}

.mt-56 {
    margin-top: 56px !important;
}

.m-2 {
    margin: 2px !important;
}

.treeview-menu i {
    display: none !important;
}

.treeview-menu a {
    padding-left: 25px !important;
    font-size: 95% !important;
}

.treeview-menu a::before {
    content: "\2192 ";
}

@media only screen and (max-width: 600px) {
    .pos-form-actions {
        position: absolute;
    }
}

.mr-8 {
    margin-right: 8px !important;
}

.bg-light-green {
    background-color: #1ecab8 !important;
}

.product_box .image-container {
    height: 85px;
}

.pb-1 {
    padding-bottom: 20px !important;
    margin-bottom: 30px;
}

#product_list_body {
    max-height: 655px;
}

.pos-form-actions {
    padding-top: 7px;
    padding-bottom: 6px;
}

.right-col {
    /*background-image: linear-gradient(to right bottom, #0a53b0, #007ccf, #00a1db, #00c4da, #26e5d1);*/
}

.left-col {
    background: url(../images/26-265560_flat-wallpaper-new-year-2018-inspiring-messages.jpg);
    text-align: center;
    background-size: cover;
    background-position: center;
}

.left-col-content {
    color: #1A7BF9;
    width: 100%;
}

.nav-tabs>li>a {
    font-size: 14px;
}


/* New*/

.right-col-content {
    padding: 10% 24%;
}

.right-col a,
.text-white a {
    color: #fff;
    font-weight: 600;
    font-size: 13px
}

.treeview-menu a::before {
    content: "\25C9  ";
}

::-webkit-scrollbar-thumb {
    border-radius: 20px;
    width: 8px;
}

::-webkit-scrollbar {
    height: 8px;
}

.hvr-grow-shadow:hover,
.hvr-grow-shadow:focus,
.hvr-grow-shadow:active {
    box-shadow: none;
}

div.pos-tab-menu div.list-group>a.active,
div.pos-tab-menu div.list-group>a.active .glyphicon,
div.pos-tab-menu div.list-group>a.active .fa {
    background-color: #1b82ec!important;
    border-color: #1b82ec;
}

div.pos-tab-menu div.list-group>a.active:after {
    border-left: 10px solid #1b82ec;
}

.product_box {
    padding-top: 7px;
    padding-left: 3px;
    margin-top: 6px;
    margin-bottom: 7px;
    margin-left: 2px;
    border: 1px solid rgba(0, 0, 0, .125);
    -webkit-box-shadow: 0 0 13px 0 rgb(82 63 105 / 5%);
    border-radius: 4px;
    font-weight: 400;
}

.product_box .text_div {
    background: #f8f9fa!important;
}


/* Sidebar Padding*/

.treeview-menu a {
    padding-left: 10px !important;
    font-size: 90% !important;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
}

.blue-heading {
    background-color: #2b80ec;
}

.warning-input,
.warning-input+span.select2 span.select2-selection {
    background-color: #fff478;
}

/* Center align grid data for product and stock report tables */
#product_table th,
#product_table td,
#stock_report_table th,
#stock_report_table td {
    text-align: center;
    vertical-align: middle;
}

/* Keep the page interactive while a server-side DataTable is loading. */
div.dataTables_wrapper {
    position: relative;
}

div.dataTables_wrapper div.dataTables_processing {
    position: absolute;
    inset: 0;
    z-index: 4;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: #f3f7ff;
    font-weight: 600;
    text-align: center;
    background: rgba(4, 8, 20, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 10px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    visibility: hidden;
    opacity: 0;
    transform: translateY(4px) scale(0.995);
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

div.dataTables_wrapper.is-dt-processing div.dataTables_processing {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) scale(1);
    pointer-events: auto !important;
    display: flex !important;
}

/* Let DataTables manage horizontal scrolling when it lives inside Bootstrap's responsive wrapper. */
div.table-responsive > div.dataTables_wrapper {
    overflow: visible;
    width: 100%;
}

div.dataTables_wrapper div.dataTables_processing::before {
    content: "";
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #64748b;
    animation: datatable-processing-spin 0.85s linear infinite;
}

@keyframes datatable-processing-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Disable AdminLTE sidebar mini "expand on hover"/popover behavior */
@media (min-width: 768px) {
    .sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu > li:hover > a > span:not(.pull-right),
    .sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu > li:hover > .treeview-menu {
        display: none !important;
    }

    .sidebar-mini:not(.sidebar-mini-expand-feature).sidebar-collapse .sidebar-menu > li:hover > a > .pull-right-container {
        left: auto !important;
        top: auto !important;
    }
}

:root {
    --main-sidebar-width: 180px;
    --main-sidebar-font-size: 12px;
    --main-sidebar-header-size: 11px;
    --main-sidebar-transition: 0.3s;
    --main-sidebar-text-delay: var(--main-sidebar-transition);
}

.main-sidebar {
    width: var(--main-sidebar-width);
}

/* Prevent sidebar text from overflowing into content area */
.main-sidebar,
.main-sidebar .sidebar,
.main-sidebar .sidebar-menu {
    overflow-x: hidden;
}


.main-sidebar .sidebar-menu li > a,
.main-sidebar .treeview-menu li > a {
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
    white-space: normal;
}


/* Allow labels to wrap inside the sidebar width */
body:not(.sidebar-collapse) .main-sidebar .sidebar-menu li > a > span:not(.pull-right-container):not(.pull-right) {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    white-space: normal;
    word-break: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    opacity: 1;
    visibility: visible;
    max-width: 100%;
}

/* Show sidebar text only after the expand animation completes */
.main-sidebar .sidebar-menu li > a > span:not(.pull-right-container):not(.pull-right) {
    transition: opacity 140ms ease var(--main-sidebar-text-delay),
        transform 140ms ease var(--main-sidebar-text-delay),
        visibility 0s linear var(--main-sidebar-text-delay),
        max-width 0s linear var(--main-sidebar-text-delay);
}

.sidebar-mini.sidebar-collapse .main-sidebar .sidebar-menu li > a > span:not(.pull-right-container):not(.pull-right) {
    display: inline-block !important;
    opacity: 0;
    visibility: hidden;
    max-width: 0;
    overflow: hidden;
    transform: translateX(-6px);
    transition: opacity 0s linear 0s,
        transform 0s linear 0s,
        visibility 0s linear 0s,
        max-width 0s linear 0s;
}

.sidebar-mini:not(.sidebar-collapse) .main-sidebar .sidebar-menu li > a > span:not(.pull-right-container):not(.pull-right) {
    opacity: 1;
    visibility: visible;
    max-width: 100%;
    transform: translateX(0);
}

/* Hide treeview chevrons in the sidebar menu */
.main-sidebar .sidebar-menu > li > a > .pull-right-container,
.main-sidebar .sidebar-menu > li > a > .pull-right,
.main-sidebar .sidebar-menu > li > a .fa-angle-left,
.main-sidebar .sidebar-menu > li > a .fa-angle-right {
    display: none;
}

.main-sidebar .sidebar-menu > li > a,
.main-sidebar .sidebar-menu > li > a > span,
.main-sidebar .treeview-menu > li > a {
    font-size: var(--main-sidebar-font-size);
}

.main-sidebar .sidebar-menu li.header {
    font-size: var(--main-sidebar-header-size);
}

@media (min-width: 768px) {
    .main-header .logo {
        width: var(--main-sidebar-width);
    }

    .main-header .navbar {
        margin-left: var(--main-sidebar-width);
    }

    .content-wrapper,
    .main-footer {
        margin-left: var(--main-sidebar-width);
    }
}

@media (max-width: 767px) {
    .main-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        height: 100%;
        width: var(--main-sidebar-width);
        z-index: 1100;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.55);
        -webkit-transform: translate(calc(-1 * var(--main-sidebar-width)), 0);
        -ms-transform: translate(calc(-1 * var(--main-sidebar-width)), 0);
        -o-transform: translate(calc(-1 * var(--main-sidebar-width)), 0);
        transform: translate(calc(-1 * var(--main-sidebar-width)), 0);
    }

    body.sidebar-open .main-sidebar {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    .sidebar-open .content-wrapper,
    .sidebar-open .main-footer {
        -webkit-transform: translate(var(--main-sidebar-width), 0);
        -ms-transform: translate(var(--main-sidebar-width), 0);
        -o-transform: translate(var(--main-sidebar-width), 0);
        transform: translate(var(--main-sidebar-width), 0);
    }

    .content-wrapper,
    .main-footer {
        margin-left: 0 !important;
        width: 100% !important;
        transform: none;
    }

    .content-wrapper {
        padding-left: 12px;
        padding-right: 12px;
        min-height: calc(100vh - 50px);
    }

    .content {
        padding: 0 6px 18px;
    }
}

/* Keep sidebar trees collapsed unless explicitly expanded to avoid auto-open on page load */
.sidebar-menu li.treeview.active > .treeview-menu {
    display: none;
}

.sidebar-menu li.treeview.menu-open > .treeview-menu {
    display: block;
}

/* Roles (/users/roles) - permissions tabs layout */
.roles-permissions-tabs .roles-permissions-toolbar {
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #e6e9ee;
}

.roles-permissions-tabs .roles-permissions-toolbar .input-group-addon {
    background: #f7f9fb;
}

.roles-permissions-tabs .tab-content {
    padding: 12px;
    background: #f5f7fa;
}

.roles-permissions-tabs hr {
    display: none;
}

.roles-permissions-tabs .check_group {
    margin: 0 0 12px 0;
    margin-left: 0;
    margin-right: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
}

.roles-permissions-tabs .check_group:last-child {
    margin-bottom: 0;
}

.roles-permissions-tabs .check_group h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #2c3e50;
}

.roles-permissions-tabs .roles-permissions-screen-path {
    margin-top: 2px;
    font-size: 12px;
}

.roles-permissions-tabs .roles-permissions-permission-desc {
    display: block;
    margin-left: 24px;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.roles-permissions-tabs .roles-permissions-permission-code {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    background: #f7f9fb;
    color: #6b7785;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
    font-size: 11px;
}

.roles-permissions-tabs .check_group > .col-md-3,
.roles-permissions-tabs .check_group > .col-md-2,
.roles-permissions-tabs .check_group > .col-md-7 {
    float: none;
}

.roles-permissions-tabs .check_group > .col-md-3 {
    flex: 1 1 260px;
    width: auto;
    padding: 0;
}

.roles-permissions-tabs .check_group > .col-md-2 {
    flex: 0 0 auto;
    width: auto;
    padding: 0;
    margin-left: auto;
    text-align: right;
}

.roles-permissions-tabs .check_group > .col-md-2 .checkbox {
    margin: 0;
}

.roles-permissions-tabs .check_group > .col-md-2 label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7785;
}

.roles-permissions-tabs .check_group > .col-md-7 {
    flex: 0 0 100%;
    width: 100%;
    padding: 0;
    margin-top: 10px;
    border-top: 1px solid #eef2f6;
    padding-top: 10px;
}

.roles-permissions-tabs .check_group > .col-md-7 > .col-md-12 {
    padding: 0;
    margin-bottom: 6px;
}

.roles-permissions-tabs .check_group > .col-md-7 > .col-md-12:last-child {
    margin-bottom: 0;
}

.roles-permissions-tabs .check_group > .col-md-7 .checkbox {
    margin: 0;
}

.roles-permissions-tabs .check_group > .col-md-7 label {
    font-weight: 500;
    color: #263238;
}

/* Remover o fundo quadrado e deixar apenas o ícone nas ações de relógio/tour */
.clock_in_btn,
#start_tour {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0.25rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
    color: inherit !important;
}

.clock_in_btn i,
#start_tour i {
    line-height: 1;
}

.product-action-buttons {
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.product-action-buttons .btn {
    min-width: 140px;
}
.product-action-buttons .btn {
    min-width: 140px;
    border-radius: 8px;
    padding: 0.4rem 1.6rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: all 0.15s ease;
    border: none;
}
.product-action-buttons .btn:hover,
.product-action-buttons .btn:focus {
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.16);
    transform: translateY(-1px);
}
.btn-cancel-ghost {
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
    border: 1px solid #c1c1c1;
    color: #4f4f4f;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    transition: all 0.1s ease;
    padding: 0.4rem 1.6rem;
}
.btn-cancel-ghost:hover,
.btn-cancel-ghost:focus {
    border-color: #999d9a;
    color: #3b3b3b;
    box-shadow: 0 4px 9px rgba(0, 0, 0, 0.1);
}
.product-action-buttons .btn.bg-maroon {
    background: #d00571;
    color: #fff;
    border: 1px solid rgba(169, 9, 95, 0.6);
}
.product-action-buttons .btn.btn-primary {
    background: #1a63bf;
    color: #fff;
    border: 1px solid rgba(4, 36, 111, 0.6);
}
