.card,
.count-title,
.side-navbar,
nav.navbar {
    background-color: #fff
}

.dark-mode .card,
.dark-mode .count-title,
.dark-mode .modal-content,
.dark-mode .side-navbar,
.dark-mode nav.navbar {
    background-color: #283046
}

nav.navbar a.menu-btn:hover {
    background: #297ff9
}

.pos-page .container-fluid {
    padding: 0 15px
}

.side-navbar {
    box-shadow: 0 0 15px 0 rgba(34, 41, 47, .05);
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    opacity: 1;
    width: 230px;
    text-align: left;
    transition: all .1s linear;
    z-index: 999;
    overflow-y: auto
}

.pos-page .side-navbar {
    top: 0
}

.side-navbar li a:focus,
.side-navbar li a:hover,
.side-navbar li a[aria-expanded=true],
.side-navbar li.active>a {
    background: var(--primary-bg-color);
    color: #297ff9;
    text-decoration: none
}

.side-navbar .sidenav-header {
    background: #297ff9;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    margin-bottom: 20px;
    padding: 0
}

.dashboard-counts .count-title i {
    font-size: 2em;
    color: #297ff9;
    width: 60px
}

.statistics .user-activity .progress .progress-bar.bg-primary {
    background: #297ff9 !important
}

.statistics .user-activity .page-statistics strong {
    display: block;
    text-transform: uppercase;
    color: #297ff9;
    font-size: 2em
}

.gmpc {
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    color: #297ff9 !important;
    border-right: 1px solid #eee
}

.btn-primary {
    color: color-yiq(#297ff9);
    background-color: #297ff9;
    border-color: #297ff9
}

.btn-primary.disabled,
.btn-primary:disabled {
    background-color: #297ff9;
    border-color: #297ff9
}

.btn-outline-primary {
    color: #297ff9;
    background-color: transparent;
    background-image: none;
    border-color: #297ff9
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #297ff9;
    border-color: #297ff9
}

.btn-outline-primary.disabled,
.btn-outline-primary:disabled {
    color: #297ff9;
    background-color: transparent
}

.btn-outline-primary:not([disabled]):not(.disabled).active,
.btn-outline-primary:not([disabled]):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #297ff9;
    border-color: #297ff9;
    -webkit-box-shadow: 0 0 0 .2rem rgba(51, 179, 90, .5);
    box-shadow: 0 0 0 .2rem rgba(51, 179, 90, .5)
}

a {
    color: #297ff9;
    text-decoration: none
}

.blockquote {
    padding: .5rem 1rem;
    margin-bottom: 2rem;
    font-size: 1.25rem;
    border-left: 5px solid #297ff9
}

.text-primary {
    color: #297ff9 !important
}

.page-item.active .page-link {
    color: #fff;
    background-color: #297ff9;
    border-color: #297ff9
}

.page-link {
    padding: .5rem .75rem;
    color: #297ff9;
    background-color: #fff;
    border: 1px solid #ddd;
    font-size: 13px;
    line-height: 24px !important
}

.dark-mode .page-link {
    color: #d0d2d6;
    background-color: #343d55;
    border: 1px solid #3b4253
}

.dropdown-item.active,
.dropdown-item:active {
    color: #fff;
    background-color: #297ff9
}

.bg-primary {
    background-color: #297ff9 !important
}

.border-primary {
    border-color: #297ff9 !important
}

.text-primary {
    color: #297ff9 !important
}

.badge-primary {
    color: color-yiq(#297ff9);
    background-color: #297ff9
}

.badge-primary[href]:focus,
.badge-primary[href]:hover {
    color: color-yiq(#297ff9);
    text-decoration: none;
    background-color: #288b46
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border-color: transparent;
    color: #297ff9
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: #297ff9
}

.italic {
    font-style: italic
}

.modal {
    overflow: scroll
}

.dataTable {
    margin-top: 30px
}

.dataTables_length select {
    border-radius: 5px
}

.table thead {
    background-color: #f3f2f7
}

.dark-mode .table thead {
    background-color: #343d55
}

.details-header {
    margin-left: 300px !important;
    margin-top: -5px;
    font-size: 21px !important;
    color: #297ff9;
    position: relative
}

.daterangepicker {
    z-index: 9999
}

.details-note {
    margin-top: -24px;
    padding-left: 370px;
    font-size: 13px;
    font-style: italic
}

.white-text {
    color: #fff !important
}

.sendmail-form {
    display: inline-block
}

.btn-pos {
    background-color: transparent;
    border: 1px solid #297ff9;
    border-radius: 5px;
    line-height: 30px !important;
    padding: 5px 10px !important;
    text-decoration: none !important
}

.btn-pos i,
.btn-pos span {
    color: #297ff9 !important
}

.btn-pos:hover {
    background-color: #297ff9;
    border: 2px solid #297ff9
}

.btn-pos:hover i,
.btn-pos:hover span {
    color: #fff !important
}

#loader {
    position: fixed;
    left: 53%;
    top: 50%;
    z-index: 1;
    width: 50px;
    height: 50px;
    margin: -75px 0 0 -75px;
    border: 2px solid #d9d9db;
    border-radius: 50%;
    border-top: 2px solid #297ff9;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0)
    }

    100% {
        -webkit-transform: rotate(360deg)
    }
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(360deg)
    }
}

.animate-bottom {
    position: relative;
    -webkit-animation-name: animatebottom;
    -webkit-animation-duration: 1s;
    animation-name: animatebottom;
    animation-duration: 1s
}

@-webkit-keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes animatebottom {
    from {
        bottom: -100px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

.btn:focus,
a:focus,
button:focus {
    outline: 0;
    box-shadow: none
}

.btn-default.btn-primary:hover {
    color: #fff
}

.btn-info:focus,
.btn-primary:focus {
    color: #fff
}

.btn.btn-default,
.btn.btn-default:focus {
    background-color: transparent;
    color: #297ff9
}

.btn.btn-default:focus {
    background-color: transparent;
    border: 1px solid #ddd;
    color: #666;
    box-shadow: none
}

.btn-primary.active {
    background-color: transparent !important;
    border: 2px solid #297ff9 !important;
    box-shadow: none !important;
    color: #297ff9 !important
}

.count-title {
    border-radius: 5px;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, .1);
    display: flex;
    justify-content: center;
    padding: 20px 10px
}

.dashboard-counts {
    padding: 10px 0
}

.filter-toggle {
    float: right;
    list-style: none;
    margin-top: 15px
}

.dark-mode .filter-toggle {
    opacity: .7
}

.filter-toggle .date-btn {
    padding: .3rem .75rem;
    border-radius: 5px
}

.filter-toggle .date-btn.active {
    box-shadow: none !important
}

.count-title .count-number {
    font-size: 1em
}

.brand-img,
.category-img,
.delivery-link,
.product-img,
.product-link,
.purchase-link,
.quotation-link,
.return-link,
.sale-link,
.theme-option,
.transfer-link {
    cursor: pointer
}

.bootstrap-select.form-control {
    border: 1px solid
}

.bootstrap-select .btn-link {
    color: #297ff9
}

.bootstrap-select.form-control,
.form-control,
.input-group-text {
    background-color: #fdfdff;
    border-color: #e4e6fc
}

.dark-mode .bootstrap-select.form-control,
.dark-mode .form-control,
.dark-mode .input-group-text {
    background-color: #343d55;
    border-color: #404656;
    color: #676d7d
}

.dataTables_length .btn-default {
    padding: .27rem .75rem;
    padding-right: 25px
}

.mce-panel {
    border: 1px solid #e4e6fc;
    border-radius: 5px
}

.daterangepicker .custom-range-buttons button.apply-btn,
.daterangepicker .custom-range-buttons button.apply-btn:hover {
    background: #297ff9
}

div.ui-keyboard {
    position: fixed;
    z-index: 2000;
    top: auto !important;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180px;
    background-color: rgba(255, 255, 255, .8)
}

.ui-keyboard-button {
    min-width: 3em
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
    background: #297ff9;
    width: 300px;
    padding: 15px;
    position: absolute !important;
    z-index: 999
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li.ui-menu-item {
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    list-style: none;
    padding: 5px 10px;
    padding-left: 0
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li.ui-menu-item:hover {
    opacity: .7
}

.vertical-center {
    min-height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center
}

p.top-border {
    border-top: 1px solid #000;
    width: 50%
}

th span.number-in-words {
    text-transform: uppercase
}

@media print {
    .hide-element {
        display: none
    }
}

.btn-primary {
    background-color: #297ff9;
    border-color: #297ff9
}

.btn-primary:hover {
    background-color: #2677e8;
    border-color: #2677e8
}

a:hover {
    text-decoration: none
}

.form-control:focus {
    border: 1px solid #2677e8;
    box-shadow: none
}

.dataTables_wrapper label .bootstrap-select {
    max-width: 70px
}

.table:not(.permission-table) thead th {
    border-bottom: none;
    border-top: none
}

.table td {
    border-bottom: 1px solid #ebe9f1
}

.dark-mode .table td {
    border-color: #3b4253 !important
}

.table:not(.permission-table) tr:last-child td {
    border-bottom: none
}

table.dataTable {
    background-color: #fff;
    border-collapse: collapse !important;
    border-radius: 5px;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, .1)
}

table.dataTable img {
    background: #fff;
    padding: 10px;
    border-radius: 50px;
    max-height: 60px;
    max-width: 60px
}

.dark-mode table.dataTable,
.dark-mode table.table {
    background-color: #283046;
    color: #d0d2d6
}

table.dataTable.no-shadow {
    box-shadow: none
}

.table thead th {
    border-bottom: 1px solid #e4e6fc;
    font-weight: 600
}

section {
    padding: 30px 0
}

.side-navbar .brand-big {
    line-height: 60px
}

.side-navbar .brand-big i {
    font-size: 26px;
    vertical-align: middle
}

.side-navbar li a {
    padding: 5px 10px
}

.side-navbar li a i {
    vertical-align: middle
}

.side-navbar li ul.collapse a:hover {
    padding-left: 15px
}

nav.navbar a.menu-btn {
    background: 0 0;
    border: 1px solid #297ff9;
    border-radius: 5px;
    color: #297ff9
}

.dark-mode nav.navbar a.menu-btn {
    border: 1px solid #297ff9;
    color: #297ff9
}

nav.navbar a.menu-btn:hover {
    background: #297ff9;
    border: 1px solid #297ff9;
    color: #fff
}

.navbar-brand {
    padding: 0
}

.brand-text h3 {
    color: #297ff9;
    font-weight: 300
}

.brand-text h3 span {
    font-weight: 500
}

nav.navbar {
    border-radius: 5px;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, .1);
    line-height: 60px;
    padding: 0 15px
}

nav.navbar .nav-item a i {
    color: #297ff9;
    font-size: 14px;
    margin-right: 5px
}

.dark-mode nav.navbar .nav-item a i {
    color: #297ff9
}

nav.navbar .nav-item .edit-options a i {
    font-size: 16px;
    margin-right: 5px;
    vertical-align: middle;
    width: 20px
}

nav.navbar .notifications {
    width: 260px
}

nav.navbar .nav-item {
    margin-left: 15px
}

nav.navbar .nav-item li.notifications a i {
    color: #fff
}

.nav-tabs .nav-item .nav-link.active {
    border-color: transparent;
    border-bottom: 2px solid #297ff9
}

.dropdown-item {
    cursor: pointer;
    padding: 0 .5rem;
    color: #7d7d7d
}

.dropdown-item.selected {
    background-color: var(--primary-bg-color);
    color: #297ff9
}

.dataTables_wrapper {
    margin-top: 30px
}

.dataTables_filter,
.dataTables_length,
.dt-buttons {
    float: left;
    vertical-align: middle;
    width: 30%
}

.dt-buttons {
    display: table;
    text-align: right;
    width: 40%
}

.dt-buttons .buttons-delete {
    line-height: 1
}

/* .dt-buttons button {
    padding: .25rem .75rem
} */

/* .dt-buttons button span {
    color: #fff
} */

.dt-button-collection.dropdown-menu {
    background: #297ff9;
    padding: 10px 15px
}

.dt-button-collection.dropdown-menu a {
    background: 0 0;
    font-size: 14px;
    line-height: 30px
}

/* .buttons-pdf {
    background: #ff7588;
    border: none
}

.buttons-csv {
    background: #ffc107;
    border: none
}

.buttons-print {
    background: #2196f3;
    border: none
}

.buttons-delete {
    background: #eb543a;
    border: none
}

.buttons-collection {
    background: #297ff9;
    border: none
} */

.dataTables_info,
.dataTables_paginate {
    display: table-cell;
    width: 50%
}

.dataTables_paginate {
    text-align: right
}

.dropdown-menu.edit-options li .btn-link,
.dropdown-menu.edit-options li a {
    color: #297ff9;
    display: block;
    text-align: left;
    text-decoration: none;
    width: 100%
}

.dropdown-menu.edit-options li .btn-link i,
.dropdown-menu.edit-options li a i {
    text-align: center;
    width: 25px
}

.dark-mode .dropdown-menu.edit-options li .btn-link,
.dark-mode .dropdown-menu.edit-options li a {
    color: #d0d2d6
}

.dropdown-menu.edit-options li .btn-link:hover,
.dropdown-menu.edit-options li a:hover {
    background-color: var(--primary-bg-color);
    color: #297ff9
}

.table.totals tr td {
    vertical-align: middle
}

.table.order-list tr td .btn-link,
.table.totals tr td .btn-link {
    color: #297ff9
}

#product-table_wrapper.dataTables_wrapper {
    margin-top: 0;
    padding: 0
}

table#product-table.dataTable {
    border-collapse: separate !important;
    margin: 15px 0 !important
}

#product-table_paginate {
    float: right
}

#product-table tr:last-child td:hover {
    border-bottom: 1px solid #297ff9
}

#product-table_paginate .page-link {
    line-height: 1
}

#product-table td {
    border: none;
    border-right: 1px solid #e4e6fc;
    border-bottom: 1px solid #e4e6fc
}

.table-bordered td,
.table-bordered th {
    border-color: #e4e6fc
}

#product-table tr td:first-child {
    border-left: 1px solid #e4e6fc
}

#product-table tr:first-child td {
    border-top: 1px solid #e4e6fc
}

#product-table td:hover {
    border: 1px solid #297ff9;
    color: #297ff9
}

#product-table tr:first-child td:hover {
    border-top: 1px solid #297ff9
}

#product-table tr td:first-child:hover {
    border-left: 1px solid #297ff9
}

#product-table td p {
    margin: 15px 0 0
}

#product-table td:hover p {
    color: #297ff9
}

.product-img {
    margin-bottom: 0;
    padding: 15px 7px 0;
    text-align: center;
    text-transform: capitalize;
    width: 100%
}

.brand-img img,
.category-img img,
.product-img img {
    height: 100%;
    max-width: 100%;
    width: auto
}

.brand-img,
.category-img {
    text-transform: capitalize
}

.card-header {
    border-bottom: none
}

section.pos-section {
    padding: 5px 0
}

.pos-page .table-fixed {
    margin-bottom: 0
}

.transaction-list {
    height: 43vh;
    overflow-y: auto;
    width: 100%
}

.btn-default.minus,
.btn-default.minus:focus,
.btn-default.plus,
.btn-default.plus:focus {
    background-color: #d6deff;
    border: none
}

.form-control.qty {
    border: none;
    font-size: .9em
}

@media all and (min-width:768px) {

    .table-fixed tbody,
    .table-fixed td,
    .table-fixed th,
    .table-fixed thead,
    .table-fixed tr {
        display: block
    }

    .table-fixed tr {
        clear: both
    }

    .table-fixed tbody td,
    .table-fixed thead>tr>th {
        float: left;
        border-bottom-width: 0
    }
}

.btn-custom {
    display: block;
    font-size: 15px;
    letter-spacing: .025em;
    line-height: 1.7;
    width: 100%;
    color: #fff
}

.btn-custom.lg {
    font-size: 18px;
    font-weight: 700
}

.btn-custom.sm {
    line-height: 18px;
    font-size: 15px;
    margin-bottom: 5px
}

.minus,
.plus {
    padding: .35rem .75rem
}

.numkey.qty {
    padding: 0 .75rem;
    max-width: 50px;
    text-align: center
}

.pos-text {
    line-height: 1.8
}

.product-title {
    text-transform: capitalize
}

.dataTables_info,
.dataTables_paginate {
    display: table-cell;
    width: 50%;
    float: left;
    padding-top: 10px
}

.pos-page section header {
    padding: 0 0 15px
}

.pos .bootstrap-select button {
    padding-right: 21px !important
}

.pos .bootstrap-select.form-control:not([class*=col-]) {
    width: 100px
}

#myTable .input-group {
    max-width: 150px
}

.filter-window {
    width: 100%;
    height: 100%;
    background-color: #fff;
    overflow-y: auto;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 999;
    display: none
}

.datepicker.datepicker-dropdown {
    padding: 15px
}

@media all and (min-width:576px) {
    .modal-dialog {
        max-width: 800px
    }
}

.checkbox input[type=checkbox] {
    display: none
}

.checkbox label {
    cursor: pointer;
    vertical-align: top
}

.checkbox label:before {
    background-color: transparent
}

.checkbox label::after {
    color: #297ff9
}

table.dataTable tbody>tr.selected,
table.dataTable tbody>tr>.selected {
    background-color: #f5f5f5
}

table.dataTable tbody>tr.selected td,
table.dataTable tbody>tr>.selected td {
    color: #666
}

.report-permissions span {
    display: inline-block;
    min-width: 200px
}

.logo-container {
    width: 100px
}

.logo-container>img {
    width: 100%
}

.main-container {
    margin-top: 65px
}

.form-container {
    max-width: 600px;
    margin: 10px auto
}

.form-container h1 {
    font-weight: 300;
    font-size: 2.5rem
}

.dropzone {
    border: 1px solid #e4e6fc;
    border-radius: 5px;
    background: #fff
}

#imageUpload {
    margin-bottom: 0;
    min-height: 80px
}

div.has-error>input {
    border: 1px solid #dc3545
}

div.has-error>.form-text {
    color: #dc3545
}

#success-text {
    margin-top: 20px;
    font-size: 1.2rem
}

.dripicons-question {
    color: #297ff9
}

.modal {
    background-color: rgba(255, 255, 255, .4)
}

.modal-header {
    border-bottom: 1px solid #ebe9f1
}

.modal-header .close {
    color: #ebe9f1
}

.modal-content {
    border: none
}

.totals .col-sm-4 {
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    line-height: 2
}

.totals .col-sm-4:nth-child(4),
.totals .col-sm-4:nth-child(5),
.totals .col-sm-4:nth-child(6) {
    border-bottom: none
}

.payment-amount {
    background-color: #d6deff;
    margin-top: 10px;
    text-align: center
}

.payment-amount h2 {
    color: #297ff9;
    font-size: 1.5rem;
    line-height: 2;
    margin-bottom: 0
}

.totals .totals-title {
    color: #7d7d7d;
    display: inline-block;
    width: 100px
}

.payment-options {
    background-color: #fff;
    bottom: 0;
    left: 0;
    padding: 0 10px;
    position: fixed;
    width: 100%;
    z-index: 999
}

.dark-mode .payment-options {
    background-color: #141b2e
}

.payment-options .column-5 {
    min-width: 9%;
    float: left;
    margin: 10px 0;
    padding: 0 5px
}

.pos-page .order-list .btn {
    padding: 2px 5px
}

table.dataTable tbody td.dt-checkboxes-cell {
    vertical-align: middle
}

.daterangepicker {
    box-shadow: 0 0 35px rgba(0, 0, 0, .07);
    padding: 10px
}

.pos-page [class*=col-] {
    padding: 0 10px
}

.pos-page #myTable [class*=col-] {
    padding: .75rem
}

.table-container {
    height: 75vh;
    overflow-y: auto
}

@media all and (max-width:1023px) {
    nav.navbar {
        padding: 0 10px
    }

    .btn-pos {
        border: none;
        line-height: 60px !important;
        padding: 0 3px !important
    }

    .dataTables_filter,
    .dataTables_length,
    .dt-buttons {
        float: none;
        text-align: center;
        width: 100%
    }

    .brand-big {
        text-align: left;
        padding-left: 20px
    }

    .side-navbar .close {
        position: absolute;
        top: 20px;
        right: 5px;
        content: 'X'
    }
}

.tagsinput,
.tagsinput * {
    box-sizing: border-box
}

.tagsinput {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    background: #fff;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #556270;
    padding: 5px 5px 0;
    border: 1px solid #e6e6e6;
    border-radius: 2px
}

.tagsinput.focus {
    border-color: #ccc
}

.tagsinput .tag {
    position: relative;
    background: #556270;
    display: block;
    max-width: 100%;
    word-wrap: break-word;
    color: #fff;
    padding: 5px 30px 5px 5px;
    border-radius: 2px;
    margin: 0 5px 5px 0
}

.tagsinput .tag .tag-remove {
    position: absolute;
    background: 0 0;
    display: block;
    width: 30px;
    height: 30px;
    top: 0;
    right: 0;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    color: #ff6b6b;
    line-height: 30px;
    padding: 0;
    border: 0
}

.tagsinput .tag .tag-remove:after,
.tagsinput .tag .tag-remove:before {
    background: #ff6b6b;
    position: absolute;
    display: block;
    width: 10px;
    height: 2px;
    top: 14px;
    left: 10px;
    content: ''
}

.tagsinput .tag .tag-remove:before {
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg)
}

.tagsinput .tag .tag-remove:after {
    -webkit-transform: rotateZ(-45deg);
    transform: rotateZ(-45deg)
}

.tagsinput div {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1
}

.tagsinput div input {
    background: 0 0;
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 20px;
    padding: 5px;
    border: 0;
    margin: 0 5px 5px 0
}

.tagsinput div input.error {
    color: #ff6b6b
}

.tagsinput div input::-ms-clear {
    display: none
}

.tagsinput div input::-webkit-input-placeholder {
    color: #ccc;
    opacity: 1
}

.tagsinput div input:-moz-placeholder {
    color: #ccc;
    opacity: 1
}

.tagsinput div input::-moz-placeholder {
    color: #ccc;
    opacity: 1
}

.tagsinput div input:-ms-input-placeholder {
    color: #ccc;
    opacity: 1
}