body {
    background: #E7E7E7;
    /* font-size: 0.8rem; */
}

.content-wrapper {
    background: #E7E7E7;
}

img {
    max-width: 100% !important;
}

.invalid-feedback {
    font-size: 80%;
    color: #dc3545;
    font-size: 12px;
}

.form-group.custom-group.add-btn .select2-container {
    width: calc(100% - 39px) !important;
}

span {
    cursor: pointer;
}

[class*='sidebar-dark-'] {
    background-color: #202d3f;
}
h4, .h4 {
    font-size: 1.2rem;
}
/* ============================================Login page ===================================================== */

.login {
    overflow: hidden;
    background-color: white;
    padding: 40px 30px 30px 30px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-transition: -webkit-transform 300ms, box-shadow 300ms;
    -moz-transition: -moz-transform 300ms, box-shadow 300ms;
    transition: transform 300ms, box-shadow 300ms;
    box-shadow: 5px 10px 10px rgba(2, 128, 144, 0.2);
}

.login::before, .login::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-top-left-radius: 40%;
    border-top-right-radius: 45%;
    border-bottom-left-radius: 35%;
    border-bottom-right-radius: 40%;
    z-index: -1;
}

.login::before {
    left: 40%;
    bottom: -130%;
    background-color: rgba(69, 105, 144, 0.15);
    -webkit-animation: wawes 6s infinite linear;
    -moz-animation: wawes 6s infinite linear;
    animation: wawes 6s infinite linear;
}

.login::after {
    left: 35%;
    bottom: -125%;
    background-color: rgba(2, 128, 144, 0.2);
    -webkit-animation: wawes 7s infinite;
    -moz-animation: wawes 7s infinite;
    animation: wawes 7s infinite;
}

.login>input {
    font-family: "Asap", sans-serif;
    display: block;
    border-radius: 5px;
    font-size: 14px;
    background: white;
    width: 100%;
    border: 0;
    padding: 10px 10px;
    margin: 15px -10px;
}

.login>button {
    font-family: "Asap", sans-serif;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    width: 120px;
    border: 0;
    padding: 10px 0;
    margin: 5px auto;
    border-radius: 5px;
    background-color: #f45b69;
    -webkit-transition: background-color 300ms;
    -moz-transition: background-color 300ms;
    transition: background-color 300ms;
}

.login>button:hover {
    background-color: #f24353;
}

@-webkit-keyframes wawes {
    from {
        -webkit-transform: rotate(0);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes wawes {
    from {
        -moz-transform: rotate(0);
    }
    to {
        -moz-transform: rotate(360deg);
    }
}

@keyframes wawes {
    from {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }
    to {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.login a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 12px
}

/*  ========================================================================End Login ================================================================== */

.number {}

.minus, .plus {
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 4px;
    padding: 4px;
    border: 1px solid #ddd;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    box-sizing: content-box;
}

.number input {
    height: 34px;
    width: 75px;
    text-align: center;
    /* font-size: 26px; */
    border: 1px solid #ddd;
    border-radius: 4px;
    display: inline-block;
    vertical-align: middle;
}

@media all and (min-width: 960px) {
    .table-responsive {
        width: 100% !important;
        display: inline-table;
    }
}

input.is-number {
    text-align: right;
}

.card {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.main-header {
    border-bottom: 1px solid #dee2e6;
    z-index: 1034;
    margin-bottom: 15px;
}

.brand-mini {
    display: none;
}

.sidebar-collapse .brand-image.brand-mini {
    display: block;
    margin-left: -8px;
    max-width: 65px;
}

.sidebar-collapse .brand-image {
    display: none;
}

.main-header .navbar-nav .nav-item a.btn-quick {
    color: #fff;
    font-size: 15px;
}

.main-header .navbar-nav .nav-item a.btn-quick i {
    font-size: 18px;
    margin-right: 15px;
}

.main-header .navbar-nav .nav-item a.icon-menu i {
    color: #000;
}

.navbar-light .navbar-nav .nav-link i {
    font-size: 22px !important;
    /* color: #F58220 !important; */
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    padding: 0.75rem 1.25rem;
    position: relative;
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}

.card-title {
    float: left;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    margin-bottom: 0px;
    text-transform: uppercase;
    color: #333;
}

.card-customize .card-title {
    float: left;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    margin-bottom: 0px;
    text-transform: uppercase;
    color: #333 !important;
    margin-bottom: 25px;
}

.nav-sidebar .nav-link p {
    /* text-transform: uppercase; */
    font-weight: 300;
    color: #fff;
}

.nav-sidebar .nav-item .nav-link.active p {
    /* text-transform: uppercase; */
    font-weight: 500;
    color: #fd7e14;
}

.nav-sidebar>.nav-item {
    margin-bottom: 15px;
}

.nav-legacy.nav-sidebar .nav-item>.nav-link {
    padding-left: 5px;
}

.todo-list>li .text {
    font-weight: 300;
}

.form-w-100 {
    width: 100%;
    clear: both;
}

.form-group.custom-group {
    position: relative;
}

.form-group.custom-group label {
    position: absolute;
    z-index: 10;
    font-weight: 700;
    background: #fff;
    padding: 0 5px;
    top: -10px;
    left: 10px;
    font-size: 13px;
    color: #000;
}

.form-group.custom-group label.required-label::after {
    content: " (*) ";
    color: #F00;
}

.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
    padding: .46875rem .75rem;
    height: calc(2.25rem + 2px);
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #6ab6e8;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(28, 121, 183, .25);
}

.search-input {
    border-radius: 15px;
}

.actions div {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.actions svg {
    display: inline-block;
    font-size: 1.2rem;
    margin-right: 5px;
    cursor: pointer;
    color: #1c79b7;
    width: 1.3rem;
}

#createProduct .modal-dialog {
    max-width: 850px;
}

ol, ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: #1a79b8;
    text-transform: uppercase;
    font-weight: 700;
}

/* ==================================Show hóa đơn =============================== */

.invoice-detail {
    padding: 1.5rem;
    font-size: 90%;
}

.g7-logo {
    float: left;
    margin-right: 15px;
    max-width: 230px !important;
    clear: both;
}

.g7-info p {
    margin: 0;
}

/* ===============================Upload Image ================================= */

.thumbnail {
    border-radius: 2px;
}

/* File Upload */

.fake-shadow {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.fileUpload {
    position: relative;
    overflow: hidden;
}

.fileUpload #input-upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 33px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}

.img-preview {
    max-width: 100%;
}

.main-img-preview {
    margin-bottom: 15px;
    text-align: center;
}

.main-img-preview img {
    max-width: 100% !important;
    margin: 0 auto;
}

#fakeUploadLogo {
    display: none;
}

.fileUpload.fake-shadow {
    padding: 6px 23px;
    background: #3f4257;
    border-radius: 30px;
    color: #fff;
    font-weight: 300;
    font-size: 14px;
    margin: 10px 0;
    transition: all .2s ease-in;
    cursor: pointer;
    outline: none;
    border: none;
    cursor: pointer;
}

.help-block-img {
    font-size: 13px;
}

/* ===================================END upload Image ==================================== */

.bill_page .card-header-page-title {
    display: none;
}

.bill_page .card {
    margin-bottom: 7px;
    ;
}

.card-body.card-body-customize {
    padding: 5px 0;
    background: #fff;
    min-height: 70vh;
}

.card.customize-card.customize-card-2 {
    box-shadow: none;
}

.card.customize-card-sale .card-header h6 {
    text-align: center;
    width: 100%;
    font-size: 15px;
    color: #1a79b8;
    font-weight: 700;
}

.card-body.card-body-bill {
    padding: 15px 5px;
}

.card-body.card-body-bill .list-group-item {
    border: none;
    padding: 0;
    margin-bottom: 15px;
}

.form-group.custom-group.custom-group-sale i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.form-group.custom-group.custom-group-sale button i {
    position: initial;
    transform: none;
}

#loading-area, #loading-area-all {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 99999999999;
}

#loading-area-all.d-none {
    display: none!important;
}

#table-list_filter {
    display: none;
}

.image-chooser {
    padding: 3px;
    border-radius: 2px;
    border: 1px dashed green;
}

.image-chooser:hover {
    border: 2px dashed green;
}

.image-chooser * {
    cursor: pointer;
}

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

.image-chooser img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.image-chooser label {
    margin: 0!important;
    width: 100%;
}

.intro_employ {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 7px;
    margin-top: 15px;
}

.intro_employ img {
    max-width: 85px;
    border: 1px solid #ccc;
    padding: 2px;
}

.intro_employ .d-flex {
    padding: 2px 0;
}

.intro_employ .d-flex div:nth-child(1) {
    font-weight: bold;
}

.list-invoice-info li {
    list-style: none;
    display: flex;
    justify-content: space-between;
}

.list-invoice-info {
    padding: 0;
}

._loaderContainer {
    z-index: 2000;
    text-align: center;
    display: flex;
    justify-content: center;
}

._loaderOverlay {
    background: radial-gradient(#141414cc, #000c);
    background: -webkit-radial-gradient(#141414cc, #000c);
    z-index: 2001;
}

._loaderContainer ._loaderContent {
    z-index: 2002;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

._loaderContainer, ._loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

._loader {
    text-align: center;
    vertical-align: middle;
    position: relative;
    display: flex;
    padding-top: 0;
    margin-left: auto;
    margin-right: auto;
}

._loader span {
    display: block;
    width: 20px;
    height: 20px;
    background: #eee;
    border-radius: 50%;
    margin: 0 5px;
    box-shadow: 0 2px 2px rgb(0 0 0 / 20%);
    background: #fd7e14;
}

._loader span:not(:last-child) {
    -webkit-animation: loaderAnimate 1.5s linear infinite;
    animation: loaderAnimate 1.5s linear infinite;
}

._loaderContainer .logo {
    width: 12rem;
    height: auto;
    margin-bottom: 1rem;
}

@keyframes loaderAnimate {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(30px);
    }
}

._loader span:last-child {
    animation: loaderJump 1.5s ease-in-out infinite;
}

@keyframes loaderJump {
    0% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(10px, -10px);
    }
    20% {
        transform: translate(20px, 10px);
    }
    30% {
        transform: translate(30px, -50px);
    }
    70% {
        transform: translate(-150px, -50px);
    }
    80% {
        transform: translate(-140px, 10px);
    }
    90% {
        transform: translate(-130px, -10px);
    }
    100% {
        transform: translate(-120px, 0);
    }
}

@media all and (max-width: 960px) {
    .row.search-column.mb-2 .form-control {
        margin-bottom: 15px;
    }
    .table-responsive {
        width: 100% !important;
    }
}

th {
    text-align: center;
    vertical-align: middle!important;
}

._loaderContainer+._loaderContainer {
    opacity: 0;
}

.border-none {
    border: none!important;
}

.ui-select-toggle[disabled] {
    cursor: not-allowed;
    opacity: 0.7;
    background-color: #e9ecef;
}

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

.input-group .ui-select-container {
    width: unset;
    flex-grow: 1;
}

textarea.form-control {
    height: auto!important;
}

.search-modal td:not(.dataTables_empty) {
    cursor: pointer;
}

@media all and (max-width: 767px) {
    .table-responsive, .table-responsive thead, .table-responsive tbody {
        width: 100% !important;
    }
}

table {
    width: 100%;
}

.bill-menu-select {
    min-height: 68vh;
    /* border-bottom: 1px solid green; */
    overflow: auto;
}

.bill-detail-col {
    font-size: 85%;
}

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

.item-bill img {
    border: 1px solid #fd7e14;
    padding: 1px;
}

.item-info {
    position: absolute;
    bottom: 6px;
    text-align: center;
    color: #FFF;
    background-color: rgb(253, 126, 20, .7);
    width: calc(100% - 12px);
    opacity: 0.9;
    left: 6px;
    min-height: 58px;
}

.item-info p.item-price {
    font-weight: 700;
}

.item-info p {
    margin-bottom: 2px;
    color: #fff;
    font-weight: 300;
}

.select-button {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 10;
    color: #fff;
    font-size: 26px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 3px;
}

.select-button button {
    background: #0000;
    color: #fd7e14;
    box-shadow: none;
    border: none;
}

.select-button button:disabled {
    color: #9aff00;
    border: none;
    font-size: 40px;
    top: 5px;
}

.card.customize-card-sale .card-header {
    background: #fd7e14;
}

.card.customize-card-sale .card-header h6 {
    color: #fff;
}

.card.customize-card-sale.approve-bill-info .card-header i {
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/*
.card.customize-card-sale.approve-bill-info .card-body {
    display: none;
} */

/* .card.customize-card-sale .approve-bill-info.card-header h6 {
    font-size: 13px;
} */

.pagination {
    display: inline-flex!important;
    display: -webkit-inline-flex!important;
}

.custom-form-control {
    display: flex;
    align-items: center;
}

.custom-form-control .form-control {
    width: calc(100% - 75px);
}

.des-label {
    width: 70px;
}

input:checked+label {
    color: green;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #f5f5f5;
    cursor: default;
}

@media all and (max-width: 960px) {
    .item-info {
        position: initial;
        bottom: 6px;
        text-align: center;
        color: #FFF;
        background-color: rgb(253, 126, 20, 1);
        width: 100%;
        left: 6px;
        height: 82px;
    }
    .bill-menu-select {
        min-height: 68vh;
        border-bottom: 1px solid green;
        overflow: auto;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100%;
    }
    .bill-detail-col {
        font-size: 85%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    /* .card.customize-card-sale.approve-bill-info {
        display: none;
    } */
}

.input-group.group-nowrap {
    flex-wrap: nowrap!important;
}

.select2-choice.ui-select-match {
    height: calc(2.25rem + 2px)!important;
    padding-top: 5px;
}

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

.select2-container .select2-choice .select2-arrow {
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #eee), color-stop(0.6, #f3f3f3));
    background-image: -webkit-linear-gradient(center bottom, #eee 0%, #f3f3f3 60%);
    background-image: -moz-linear-gradient(center bottom, #eee 0%, #f3f3f3 60%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3f3f3', endColorstr='#eee', GradientType=0);
    background-image: linear-gradient(top, #eee 0%, #f3f3f3 60%);
}