.table-loading {
    padding: 40px;
    text-align: center;
}

.no-padding-h {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.no-padding-v {
    padding-top: 0 !important;
    padding-right: 0 !important;
}

.no-padding-r {
    padding-right: 0 !important;
}

.p5 {
    padding: 5px;
}

.p10 {
    padding: 10px;
}

.table td {
    vertical-align: middle !important;
}

.mb5 {
    margin-bottom: 5px;
}

.table-input {
    height: 24px;
    line-height: 24px;
    padding: 0;
    border: 1px solid #d2d6de;
    max-width: 65px;
    margin: 0 auto;
}

.toolbar .btn {
    margin-right: 5px;
}

.select-scan-product .sp_container {
    min-width: 350px;
}

@media (min-width: 768px) {
    .product-name-width {
        width: 120px !important;
    }

    .table-nowrap td, .table-nowrap th {
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .max-width-60 {
        max-width: 60px;
    }
}

@media (max-width: 767px) {
    .card-view {
        padding: 0;
    }

    .card-view .title {
        margin-top: 3px;
    }

    .fixed-table-toolbar {
        padding: 5px;
    }

    #ribbon {
        display: none;
        visibility: hidden;
    }

    .btn-del-this {
        display: none;
    }

    .panel-body {
        padding: 5px;
    }

    .main-header .logo {
        display: none;
    }

    .fixed .content-wrapper, .fixed .right-side {
        padding-top: 50px;
    }

    .main-sidebar, .left-side {
        padding-top: 50px;
    }

    .fixed-table-toolbar .columns-right.btn-group {
        display: block;
    }

    .fixed-table-pagination .pagination-detail {
        display: none;
    }
}

.print-page {
    font-family: "Microsoft Yahei", "Tahoma", "Simsun", serif;
    color: #0D0D0D;;
}

.print-page tr, .print-page td {
    border: 1px solid #000000;
    border-collapse: collapse;
    height: 25px;
    line-height: 1;
}

@media print {
    .no-print {
        display: none
    }
}

#ribbon {
    padding: 15px;
}

td.operator {
    min-width: 80px;
}

td.operator a {
    font-size: 12px;
}

.box-header {
    cursor: pointer;
}

.box-info .box-header {
    background: #d9edf7;
}

.box-default .box-header {
    background: #eaeef6
}

.table th {
    background: #ececec;
}

.tab-context-menu {
    position: absolute;
    background: #fff;
    z-index: 9999;
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 4px 4px 4px #999;
}

.tab-context-menu ul {
    display: block;
    margin: 0;
    padding: 0;
}

.tab-context-menu li {
    list-style: none;
    height: 24px;
    line-height: 24px;
    cursor: pointer;
}

.tab-context-menu li:hover {
    background: #f1f1f1;
}

.box {
    margin-bottom: 10px;
}

.jqGrid_wrapper {
    margin: 15px 0;
}

.ui-th-ltr, .ui-jqgrid .ui-jqgrid-htable th.ui-th-ltr {
    text-align: center;
    padding: 3px 0 8px 0;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.ui-jqgrid tr.ui-row-ltr td {
    padding: 8px;
}

.ui-jqgrid tr.ui-row-ltr td.edit-cell, .ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td.edit-cell {
    overflow: visible !important;
}

.ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td .form-control {
    width: 100% !important;
}

.ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td {
    /*overflow: visible !important;*/
    line-height: 22px;
    vertical-align: middle;
    padding-right: 2px;
    padding-left: 2px;
}

.ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td.vertical-top {
    vertical-align: top;
}

.ui-jqgrid .ui-jqgrid-btable tbody tr.jqgrow td.overflow-visible {
    overflow: visible !important;
}

.ui-jqgrid .ui-jqgrid-btable tbody tr.has-error td {
    background: #ff766d;
}

.sub-grid td {
    white-space: normal !important;
    padding: 2px !important;
}

.ui-jqgrid .editable {
    padding: 0 !important;
    display: block !important;
}

#barCodeInsert {
    margin-left: 10px;
    font-weight: 100;
    font-size: 12px;
    color: #fff;
    background-color: #B1B1B1;
    padding: 0 5px;
    border-radius: 2px;
    line-height: 19px;
    height: 20px;
    display: inline-block;
}

#barCodeInsert.active {
    background-color: #23B317;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: #f6f4f9
}

.fixed-table-container tbody .selected td {
    background: #f9f8b1;
}

.table-hover > tbody > tr:hover {
    background-color: #c0f9f9;
}

#treeview .jstree-leaf:not(:first-child) {
    width: 120px;
}

.tr-warning td {
    color: #ed4c3d !important;
}

tr.bg-success {
    background: #dff0d8 !important;
}

/** fixed column **/
.fixed-table-header-columns,
.fixed-table-body-columns {
    position: absolute;
    background-color: #fff;
    display: none;
    box-sizing: border-box;
    overflow: hidden;
}

.fixed-table-header-columns .table,
.fixed-table-body-columns .table {
    border-right: 1px solid #ddd;
}

.fixed-table-body-columns .table {
    border-top: 0;
}

.fixed-table-header-columns .table.table-no-bordered,
.fixed-table-body-columns .table.table-no-bordered {
    border-right: 1px solid transparent;
}

.fixed-table-body-columns table {
    position: absolute;
    animation: none;
}

.bootstrap-table .table-hover > tbody > tr.hover > td {
    background-color: #f5f5f5;
}

.common-search-table .input-group {
    min-height: 31px;
}