html,
body {
    height: 100%;
}

* {
    outline: none !important;
}

.tab {
    overflow: hidden;
    display: flex;
    position: sticky;
    top: 50px;
    background: #fff;
    border-radius: 10px;
    z-index: 100;
    box-shadow: 0px 0px 10px #0000000f;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    width: 100%;
    border: 1px solid #f6f6f6;
    border-bottom: 1px solid transparent;
    color: #303030;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab button:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.tab button:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.tab button i {
    display: none;
}

.tab button.active i {
    display: block;
    font-size: 20px;
    margin-right: 7px;
}

.tab button:hover {
    background-color: #ddd;
}

.tab button.active {
    border: 1px solid #dedede;
    background-color: #87c35f;
    color: #fff;
}

.tabcontent {
    display: none;
    border-top: none;
}

.tabcontent.active {
    display: block;
}

.tabcontent .table-box {
    background-color: #ffffff;
    box-shadow: 0px 0px 10px #e7e7e7;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 16px;
}

@media only screen and (max-width: 640px) {
    .tabcontent .table-box {
        padding: 5px;
    }
}
.tabcontent .table-box img {
    opacity: .4;
}
.tabcontent .table-box.disable {
    background: #3ea6d5;
    color: #fff;
}

.tabcontent .table-box.disable.pay-loading {
    background: #cb3c3c;
}
.d-none-imp {
    display: none !important;
}
.tabcontent .table-box.disable .empty-table {
    display: none;
}

.tabcontent .table-box:not(.disable) .full-table {
    display: none;
}

.tabcontent .table-box span {
    width: 100%;
    display: block;
    font-size: 17px;
    font-weight: 400;
}

.tabcontent .table-box span:not(:last-child) {
    margin-top: 10px;
}

.tabcontent .table-box span {
    background-color: rgba(255, 255, 255, .1);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.tabcontent .table-box span:last-child {
    border-radius: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}


/*@media only screen and (max-width: 640px) {
.tabcontent .table-box span {
    font-size: 14px;
}
}*/

.tabcontent .table-box.disable span {
    border-color: #2b85cb;
}

.tabcontent .table-box.disable.pay-loading span {
    border-color: #ab3636;
}

.tabcontent a {
    cursor: pointer;
    text-decoration: none;
    color: #303030;
}

.back-button {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.back-button>i {
    margin-right: 5px;
}

.categories-box {
    padding: 10px;
}


.categories-box .row>div {
    margin-bottom: 10px;
}

.categories-box .item {
    background-color: #fff;
    border: 1px solid #ededed;
    border-radius: 10px;
    padding: 10px;
}

.categories-box .item>a {
    text-decoration: none;
    color: #303030;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.categories-box .item>a>img {
    border-radius: 10px;
    width: 100%;
}

.categories-box .item>a>span {
    display: block;
    margin-top: 5px;
}

@media (min-width: 576px) {
    .container,
    .container-sm {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container,
    .container-md,
    .container-sm {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1320px;
    }
}

.toast-container {
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999999;
}

.toast {
    background: #2a2a2a;
    color: #fff;
    width: max-content;
    border-radius: 10px;
    padding: 2px;
}

.toast-container:not(.show) {
    z-index: -1;
}

.toast i {
    margin-right: 10px;
    font-size: 20px;
}

.toast-body {
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.modal {
    z-index: 999999;
}

.modal-dialog {
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.modal-body {
    background-color: #fff;
}

.modal-content {
    height: auto;
    min-height: 100%;
    border-radius: 0;
}

.modal-categorie-items>.item {
    text-align: center;
    margin-bottom: 10px;
}

.modal-categorie-items>.item.order-item {
    text-align: inherit;
    margin-bottom: 0;
}

.modal-categorie-items>.item.order-item .safe-creator-item-name {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
}

.modal-categorie-items>.item.order-item>.box {
    border-radius: 0px;
}

.safe-modal-order-items {
    max-height: 100%;
    overflow: scroll;
}

.safe-modal-order-items>.modal-categorie-items>.item.order-item>.box {
    display: flex;
    align-items: center;
}

.modal-categorie-items>.item>.box {
    padding: 10px;
    border: 1px solid #ececec;
    border-radius: 7px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-categorie-items>.item>.box>label {
    margin-bottom: 0px;
    font-size: 11px;
}

.modal-categorie-items>.item.order-item>.box>label {
    font-size: 14px;
}

.modal-categorie-items>.item>.box>.price-label {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.modal-categorie-items>.item.order-item>.box>.price-label {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modal-categorie-items>.item.order-item>.box>.counter {
    display: flex;
    align-items: center;
}

.modal-categorie-items>.item>.box>button {
    border: 0px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(0 0 0 / 4%);
    transition: all .25s;
    line-height: 10px;
    font-size: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #303030;
}

.modal-categorie-items>.item.order-item>.box>button {
    padding: 10px;
}

.modal-categorie-items>.item>.box>button:active {
    background-color: #d4d4d4;
}

.order-modal-card {
    padding: 1rem;
    border-radius: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ededed;
}

.order-modal-card:not(:last-child) {
    margin-bottom: 10px;
}

.order-modal-card.buttons>button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.order-modal-card.buttons>button>i {
    font-size: 25px;
    margin-bottom: 5px;
}

.modal-total-price {
    font-size: 25px;
}

.modal-total-price>label {
    margin-bottom: 0;
}

.modal-content {
    max-height: 100%;
}

.modal-footer {
    justify-content: space-between;
}

.modal-footer>button {
    width: 100%;
}

.modal-title {
    font-size: 20px;
}

.modal-basket-items>.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.modal-basket-items>.item:not(:last-child) {
    border-bottom: 1px solid #f7f7f7;
}

.modal-basket-items>.item>.counter {
    display: flex;
    align-items: center;
}

.modal-basket-items>.item>.counter>button {
    border: 0;
    line-height: 0;
    padding: 7px;
    border-radius: 50%;
    color: #303030;
    background: #dfdfdf;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 5%);
    justify-content: center;
    align-items: center;
}

.modal-basket-items>.item>.counter>button.minus {
    margin-right: 10px;
}

.modal-basket-items>.item>.counter>button.plus {
    margin-left: 10px;
    margin-right: 10px;
}

.order-item-delete-button {
    border: 0px;
    background: #ff0000;
    min-width: 50px;
    height: 30px;
    font-size: 20px;
    margin-right: 10px;
    color: #fff;
    border-radius: 5px;
    line-height: 0px;
}

.navbar {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 9999;
    border-bottom: 1px solid #f0f0f0;
}

.navbar-brand {
    display: inline-block;
    padding-top: .359375rem;
    padding-bottom: .359375rem;
    margin-right: 0px;
    font-size: 1.125rem;
    line-height: inherit;
    white-space: nowrap;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.safe-modal-order-items>.modal-categorie-items>.item>.box {
    background: #fff;
}

.modal-order-items {
    border-radius: 10px;
    border: 1px solid #ededed;
}

.order-modal-header {
    position: sticky;
    top: -10px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    z-index: 99999999;
    background: #f8f9fa;
    border-bottom: 1px solid #e8e8e8;
    font-weight: 500;
    text-align: center;
}

.overflow-y-scroll {
    overflow-y: scroll;
}

.safe-order-categories>.categories {
    padding-left: 15px;
    padding-right: 15px;
    border-bottom: 1px solid #f7f7f7;
    padding-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.safe-order-categories>.categories>li {
    list-style: none;
    width: calc(20% - 10px);
}

.safe-order-categories>.categories>li>span {
    position: sticky;
    top: 0px;
    width: 100%;
    display: block;
    padding: 5px 10px;
    background: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 5px;
    border: 1px solid #f3f3f3;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.safe-order-categories>.categories>li>span:hover {
    cursor: pointer;
}

.safe-order-categories>.categories>li>.items, .safe-order-categories>.categories>li>.items>li>.items {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-left: 0px;
    display: flex;
    align-content: flex-start;
    position: absolute;
    top: 50px;
    z-index: 99999999999999;
    background: #fff;
    left: 100%;
    transition: all .25s;
}

.safe-order-categories>.categories>li>.items.show, .safe-order-categories>.categories>li>.items>li>.items.show {
    left: 0;
}

.safe-order-categories>.categories>li>.items>li, .safe-order-categories>.categories>li>.items>li>.items>li {
    background-color: #fff;
    padding: 10px;
    border: 1px solid #ededed;
    border-radius: 7px;
    width: calc(95% / 5);
    height: max-content;
    margin: .5%;
    transition: all .25s;
}

.safe-order-categories>.categories>li>.items>li:hover, .safe-order-categories>.categories>li>.items>li>.items>li:hover {
    cursor: pointer;
    background-color: #f0f0f0;
}

.safe-order-categories>.search-box {
    position: sticky;
    top: 55px;
    z-index: 9999;
}

.h-70 {
    height: 70% !important;
}

.h-30 {
    height: 30% !important;
}

.table-total-price {
    font-size: 10px !important;
}

.modal-people-count>.counter>button {
    border: 0;
    line-height: 0;
    padding: 7px;
    border-radius: 50%;
    background: #dfdfdf;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 5%);
    color: #303030;
    margin-left: 10px;
    margin-right: 10px;
}

.modal-order-creator .counter>button,
.modal-categorie-items .counter>button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    line-height: 0;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 5%);
    background: #d8d8d8;
}

.package-orders>table {
    width: 100%;
    display: flex;
}

.package-orders>table>tbody {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

@media only screen and (max-width: 920px) {
    .package-orders>table>tbody {
        column-count: 1;
    }
}

.package-orders>table>tbody>tr {
    width: 100%;
    display: flex;
}

.package-orders>table>tbody>tr:hover>td>div {
    background-color: rgb(241, 241, 241);
    cursor: pointer;
}

.package-orders>table>tbody>tr>td {
    padding: 0px;
    padding-bottom: 10px;
    width: 100%;
}

.package-orders>table>tbody>tr>td>div {
    height: 100%;
    border: 1px solid #eeeeee;
    padding: 10px;
    transition: all .25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    font-size: 13px;
}

.package-orders>table>tbody>tr>td:first-child>div {
    border: 1px solid #eeeeee;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.package-orders>table>tbody>tr>td:last-child>div {
    border: 1px solid #eeeeee;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.package-orders>table>tbody>tr>td:not(:first-child)>div {
    border-left: 0px;
}

.package-orders>table>tbody>tr>td:not(:last-child)>div {
    border-right: 0px;
}

.package-orders>table>tbody>tr>td>div>span {
    font-size: 10px;
    font-weight: bold;
    display: block;
    width: 100%;
    text-align: center;
}

.package-orders>table>tbody>tr>td>div>.order-state-text {
    width: max-content;
    background: #85c3ee;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
}

.package-orders>table>tbody>tr>td>div>.order-state-text.printed {
    background: rgb(154 242 154);
}

.widget {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #e6e6e6;
    border-radius: 0.25rem!important;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.widget>span:first-child {
    font-size: 15px;
}

.widget>span:not(:first-child) {
    font-weight: bold;
    font-size: 25px;
}

.widget>i {
    position: absolute;
    left: calc(100% - 80px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 120px;
    z-index: -1;
    opacity: .1;
}

.header-text {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 3px;
    border-bottom: 3px solid #e9eaea;
    display: block;
    width: max-content;
}

.table-container>ul {
    column-count: 5;
    padding-left: 0;
}

.table-container>ul>li {
    list-style: none;
    margin-bottom: 5px;
}

.table-container>ul>li>a {
    display: block;
    text-align: center;
    border: 1px solid rgb(240, 240, 240);
    border-radius: 0.25rem!important;
    text-decoration: none;
    color: #303030;
    transition: all .25s;
}

.table-container>ul>li>a:hover {
    background-color: #f5f5f5;
}

.table-container>ul>li>a>small {
    display: block;
    width: 100%;
    text-align: center;
}

.boss.package-orders>table>tbody>tr>td:first-child>div {
    border: 1px solid #eeeeee;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.boss.package-orders>table>tbody>tr>td:last-child>div {
    border: 1px solid #eeeeee;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.boss.package-orders>table>tbody>tr {
    width: 100%;
}

.nav-link {
    color: #343a40
}

.nav-link:hover {
    color: #343a40
}

.nav-link.active {
    background-color: #343a40!important;
    color: #fff
}

.search-result-box {
    max-height: 500px;
    overflow: auto;
    border: 1px solid #efefef;
    margin-top: 10px;
    padding: 10px;
}

.search-result-box>ul {
    padding-left: 0;
    list-style: none;
    margin-top: 10px;
}

.search-result-box>ul>li {
    padding: 10px 0px;
    transition: all .25s;
}

.search-result-box>ul>li:hover {
    padding: 10px 5px;
    background-color: rgb(230, 230, 230);
    cursor: pointer;
}

.search-result-box>ul>li:not(:last-child) {
    border-bottom: 1px solid #efefef;
}

@media (min-width: 576px) {
    .modal-sm {
        max-width: 500px !important;
        height: max-content;
        transform: translate(50%, 0) !important;
    }
}

.order-move-buttons {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
}

.order-move-buttons>button:first-child {
    margin-right: 10px;
}

.move-opened>.item::after {
    content: ' ';
    background-color: #fff;
    border-radius: 7px;
    position: absolute;
    width: 90px;
    height: 60px;
    top: calc(50% - 30px);
    left: 1px;
}

.move-opened strong:not(.safe-creator-item-desc) {
    position: relative;
    z-index: 999;
}

.move-opened .price-label strong {
    z-index: 0;
}

.move-item-checkbox {
    display: none;
}

.cbx {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    z-index: 99999;
    display: none;
}

.move-opened .cbx {
    display: block;
}

.move-selected-items {
    display: none;
}

.move-selected-items {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.cbx span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}

.cbx span:first-child {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transform: scale(1);
    vertical-align: middle;
    border: 1px solid #B9B8C3;
    transition: all 0.2s ease;
}

.cbx span:first-child svg {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    fill: none;
    stroke: white;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
}

.cbx span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: #10af35;
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
    transition-delay: 0.2s;
}

.cbx:hover span:first-child {
    border-color: #28a745;
}

.inp-cbx:checked+.cbx span:first-child {
    border-color: #28a745;
    background: #28a745;
    animation: check 0.6s ease;
}

.inp-cbx:checked+.cbx span:first-child svg {
    stroke-dashoffset: 0;
}

.inp-cbx:checked+.cbx span:first-child:before {
    transform: scale(2.2);
    opacity: 0;
    transition: all 0.6s ease;
}

.inp-cbx:checked+.cbx span:last-child {
    color: #B9B8C3;
    transition: all 0.3s ease;
}

@keyframes check {
    50% {
        transform: scale(1.2);
    }
}

.btn>i {
    margin-right: 5px;
}

.btn-menu-bars {
    border: 1px solid #303030;
    background-color: #fff;
    border-radius: 3px;
    padding: 10px;
    line-height: 0;
    transition: all .25s;
}

.btn-menu-bars:hover {
    background-color: #303030;
    color: #fff;
    cursor: pointer;
}

.goto-case-button {
    background-color: #fff;
    color: #303030;
    border-radius: 3px;
    padding: 10px;
    line-height: 0;
    display: flex;
    transition: all .25s;
    align-items: center;
}

.goto-case-button>i {
    margin-left: 5px;
}

.goto-case-button:hover {
    text-decoration: none;
    cursor: pointer;
}

.left-menu {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    margin: 0px;
    min-width: 15rem;
    border-radius: 0px;
    padding-top: 30px;
}

.left-menu>li {
    position: relative;
    z-index: 99999999;
}

.left-menu::before {
    content: ' ';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 40%);
}

.left-menu.show::after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

.tabcontent {
    min-height: 507px;
}

.btn-pay-type {
    border: 0;
    border-radius: 10px;
    color: #fff;
    padding: 10px;
    height: 100px;
    width: 100%;
}

.btn-pay-type:not(:first-child) {
    margin-left: 10px;
}

.btn-pay-type:hover {
    cursor: pointer;
}

.receipt-button>button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.receipt-button>button>i {
    font-size: 25px;
    margin-right: 5px;
}

.swal2-container {
    z-index: 99999999 !important;
}

.swal2-actions {
    flex-direction: row;
    flex-wrap: nowrap !important;
    padding: 30px !important;
    padding-bottom: 10px !important;
}

.swal2-actions>button {
    width: 100%;
}

.swal2-actions>button:not(:last-child) {
    margin-right: 5px;
}

.current-ac-modal {
    z-index: 9999999;
}

@media only screen and (max-width: 1199px) {
    .current-ac-modal {
        width: 100%;
        overflow: scroll;
    }
}

.current-ac-modal>.modal-dialog {
    transform: translateX(-50%) !important;
    left: 50%;
    width: max-content;
    height: max-content;
    margin: 20px 0px;
}

.modal-backdrop.fade {
    z-index: 9999998;
}

.modal-content {
    border: 0px;
}

.absolute-close-button-modal {
    position: absolute;
    right: 20px;
}

.unit-variant-row>div>ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.unit-variant-row>div>ul>li {
    width: 100%;
}

.unit-variant-row>div>ul>li>button {
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    width: 100%;
}

.unit-variant-row>div>ul>li>button>input {
    margin-bottom: 10px;
}

.unit-variant-row>div>ul>li:first-child>button {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.unit-variant-row>div>ul>li:last-child>button {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.unit-variant-row>div>ul>li:not(:last-child)>button {
    border-right: 1px solid #dfdfdf;
}

.short-descs {
    margin-top: 20px;
    border: 1px solid #dfdfdf;
    border-radius: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    max-height: 300px;
    overflow: auto;
}

.short-descs>ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.short-descs>ul>li {
    display: flex;
    align-items: center;
    padding-left: 15px
}

.short-descs>ul>li:not(:first-child) {
    padding-top: 10px;
}

.short-descs>ul>li:not(:last-child) {
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e2e2;
}

.short-descs>ul>li>label {
    padding: 0;
    margin: 0;
    display: block;
    width: 100%;
    margin-left: 10px;
}

.show-table-items-button {
    position: fixed;
    z-index: 9999998;
    left: 0;
    border-radius: 0;
    bottom: 0px;
    padding: 10px;
}

#basketModal {
    z-index: 999999999;
}
#basketModal .modal-body {
    overflow: auto;
}
#basketItemEditDescModal {
    z-index: 999999999;
}

.w-max {
    width: max-content !important;
}

.h-max {
    height: max-content !important;
}

.overflow-unset {
    overflow: unset !important;
}

.item-search-result {
    width: calc(100% - 30px);
    max-height: 500px;
    overflow: auto;
    border: 1px solid #efefef;
    margin-top: 10px;
    padding: 0px;
    position: absolute;
    z-index: 9999999;
    background: #fff;
    top: 28px;
}

.item-search-result>ul {
    margin: 0;
}

.item-search-result>ul>li {
    padding: 10px 10px;
}

.invoice-items thead td {
    text-align: center;
}

.current-search-result {
    width: calc(100% - 30px);
    max-height: 500px;
    overflow: auto;
    border: 1px solid #efefef;
    margin-top: 10px;
    padding: 0px;
    position: absolute;
    z-index: 9999999;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px #dddddd;
    top: 30px;
}

.current-search-result>ul {
    margin: 0;
}

.current-search-result>ul>li {
    padding: 10px 10px;
}

.t-btn {
    height: 20px;
    line-height: 12px;
    font-size: 12px;
}

.top-0 {
    top: 0px !important
}

.order-product-add-modal {
    width: 50%;
    margin-left: 50%;
    overflow: initial !important;
}

.order-product-add-modal>.modal-dialog {
    width: 100%;
    right: 0;
    box-shadow: 0px 0px 50px #acacac;
    border-radius: 20px;
}

@media only screen and (max-width: 991px) {
    .open-table-modal {
        height: max-content;
        min-height: max-content;
        top: 50%;
    }
}

.modal-footer .counter {
    width: 60%;
}

.open-table-modal-counter {
    margin-top: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.open-table-modal-counter button {
    border: 1px solid #c2c2c2;
    border-radius: 50%;
    padding: 10px;
    line-height: 0px;
    color: #303030;
}

.open-table-modal-counter button:first-child {
    margin-right: 10px;
}

.open-table-modal-counter button:last-child {
    margin-left: 10px;
}

@media only screen and (min-width: 640px) {
    .main-con {
        width: calc(100% - 20px);
        transition: all .25s;
        margin-left: 10px;
        padding-left: 180px;
    }
    .current-ac-modal>.modal-dialog {
        min-width: 500px;
    }
}

@media only screen and (min-width: 768px) {
    body.hideside .main-con {
        width: 100%;
        margin-left: 30px;
        padding-left: 30px
    }
}

@media only screen and (max-width: 768px) {
    .main-con {
        width: 100%;
    }
}

.btn.focus,
.btn:focus {
    box-shadow: none;
}

.header-left-con {
    display: flex;
    align-items: center;
}

.header-left-con>button {
    margin-right: 10px;
}

.header-left-con>h3 {
    font-size: 17px;
    color: #303030;
}

.main-row {
    background: linear-gradient(180deg, #add8e6, transparent);
    margin-top: 54px !important;
}

.table-bordered {
    border: unset;
    border-collapse: separate;
    border-spacing: 3px;
}

.table-bordered tbody tr {
    background: #ffffff;
    box-shadow: 0px 0px 10px #00000014;
    border-radius: 10px;
}

.table-bordered th {
    padding: 0px 15px;
    border: unset !important;
}

.table-bordered td {
    border: unset;
    line-height: 20px;
    background-color: #fff;
    padding: 10px 15px;
    font-size: 15px;
    vertical-align: middle;
}

.table-bordered td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.table-bordered td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.ln-20 {
    line-height: 20px !important;
}

.phone-notification {
    width: 300px;
    background: #ffffff;
    position: fixed;
    right: 10px;
    top: 10px;
    border-radius: 10px;
    border: 1px solid #ededed;
    box-shadow: 0px 0px 10px #cbcbcb82;
    display: none;
    z-index: 99999;
}

.phone-notification.active {
    display: block;
}

.phone-notification>.notif-head {
    padding: 10px;
    font-size: 17px;
    background: #f9f9f9;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-weight: 600;
    color: #6a6a6a;
    position: relative;
}

.phone-notification>.notif-head>.btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.phone-notification>.notif-desc>.notif-phonenumber {
    padding: 10px 10px 0px 10px;
    font-weight: 700;
}

.phone-notification>.notif-desc>.notif-company {
    padding: 10px 0px 10px 10px;
    font-weight: 500;
}

.phone-notification>.notif-foot {
    padding: 0px 10px 10px 10px;
}

.phone-notification>.notif-foot>.btn {
    width: 100%;
}

#global-loader {
    position: fixed;
    z-index: 99999999;
    background: #ffffff94;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
}

body.loader-active #global-loader {
    display: flex;
}

#global-loader img {
    width: 30px;
}

.modal-category-list-back {
    position: absolute;
    background-color: transparent;
    top: 9px;
    left: 100%;
    z-index: 9999999999;
    border: 0;
    transition: left .25s;
    cursor: pointer;
}

.modal-category-list-back.show {
    left: 5px;
}

body.modal-open #currentAccountSelect {
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(3px);
}
.dropdown-menu.dropdown-menu-right {
    left: unset;
    right: 0;
}
@media only screen and (min-width: 992px) {
    #basketModal {
        display: block !important;
        position: fixed;
        top: 76px;
        width: calc(25% - 20px);
        height: calc(100% - 54px - 40px);
        left: 20px;
        border: 1px solid #d7d7d7;
        border-radius: 15px;
    }
    #basketModal .modal-header .close {
        display: none;
    }
    .modal-basket-items>.item>span {
        font-size: 14px;
    }
    #itemsModal {
        display: block;
        width: calc(75% - 40px);
        right: 20px;
        left: unset;
        top: 100%;
        height: calc(100% - 94px);
        border-radius: 15px;
        transition: top .25s;
        border: 1px solid #d7d7d7;
    }
    #itemsModal.show {
        top: 75px;
    }
    .modal-backdrop {
        display: none !important;
    }
    #basketItemEditDescModal {
        position: fixed;
        top: 76px;
        width: calc(25% - 20px);
        height: calc(100% - 54px - 40px);
        left: 20px;
        border: 1px solid #d7d7d7;
        border-radius: 15px;
    }
    #openTableModal .modal-dialog {
        box-shadow: 0 0 50px;
        border-radius: 15px;
        overflow: hidden;
        top: 54px;
    }
    .modal-basket-items>.item>.counter>button {
        margin-left: 20px;
    }
}
.unit-1000-content {
    display: flex;
    align-items: end;
}
.product-file-upload {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}
.product-file-upload > span {
    position: absolute;
    left: 10px;
    bottom: 10px;
    width: calc(100% - 20px);
    background: #ffffffbf;
    backdrop-filter: blur(10px);
    text-align: center;
    border-radius: 10px;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    color: #fff !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}