.italic {
  font-style: italic;
}

.modal {
  overflow: scroll;
}

.white-text {
  color: #fff !important;
}

.btn-pos {
  font-weight: 500;
  font-size: 14px;
  opacity: 1;
  line-height: 22px !important;
}

.btn-pos:hover {
  opacity: 0.8;
}

.colored-box {
  background-color: #fff;
  margin-bottom: 25px;
  padding: 15px;
  color: #333;
  min-height: 250px;
  overflow: hidden;
  position: relative;
}

.colored-box h3 {
  color: #485d6e;
}

.colored-box hr {
  background-color: rgba(255, 255, 255, 0.5);
}

.colored-box i {
  color: #adad85;
  font-size: 170px;
  opacity: 0.07;
  position: absolute;
  right: -10px;
  top: 25%;
}

.colored-box.green-bg {
  background-color: #289920;
  min-height: 110px !important;
}

.purple-bg {
  background-color: #ffffff;
}

.orange-bg {
  background-color: #fa603d;
  min-height: 110px !important;
}

.red-bg {
  background-color: #ff3030;
}

.blue-bg {
  background-color: #014463;
}

.yellow-bg {
  background-color: #f78b38;
}

.light-blue-bg {
  background-color: #138496;
}

a:focus,
button:focus,
.btn:focus {
  outline: none;
  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 {
  border: none;
  color: #485d6e;
}

.btn.btn-default:focus {
  border: none;
  color: #485d6e;
  box-shadow: none;
}

.table tr td {
  vertical-align: middle;
}

.count-title {
  border-radius: 6px;
  background: #fff;
}

.dashboard-counts {
  padding: 10px 0;
}

.filter-toggle {
  float: right;
  list-style: none;
  margin-top: 30px;
}

.filter-toggle li {
  display: inline-block;
}

.count-title .icon {
  border-radius: 50%;
  height: 70px;
  width: 70px;
  text-align: center;
  line-height: 70px;
}

.bg-gradient-bleu {
  background: linear-gradient(87deg, #1dc7ea 0, #1dc7ea 100%) !important;
}

.bg-gradient-orange {
  background: linear-gradient(87deg, #fb6340 0, #fbb140 100%) !important;
}

.bg-gradient-green {
  background: linear-gradient(87deg, #2dce89 0, #2dcecc 100%) !important;
}

.bg-gradient-info {
  background: linear-gradient(87deg, #11cdef 0, #1171ef 100%) !important;
}
.revenue .icon {
  border: 1px solid #fbc658;
}

.return .icon {
  border: 1px solid #ef8157;
}

.profit .icon {
  border: 1px solid #51cbce;
}

.saleqty .icon {
  border: 1px solid #5e9f95;
}

.count-title .count-number {
  font-size: 1.5em;
}

.product-link,
.product-img,
.category-img,
.brand-img,
.sale-link,
.return-link,
.purchase-link,
.transfer-link,
.quotation-link {
  cursor: pointer;
}

.bootstrap-select .btn-link {
  color: #485d6e;
}

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, 0.8);
}
.ui-keyboard-button {
  min-width: 3em;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front {
  background: #f4f7fa;
  width: 300px;
  padding: 15px;
}

.ui-menu.ui-widget.ui-widget-content.ui-autocomplete.ui-front li.ui-menu-item {
  color: #485d6e;
  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: 0.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;
  }
}

/*--------Written by Tarik -----------*/

.form-control:focus {
  background-color: #ffffff;
  border: 1px solid #ededed;
  outline: none !important;
  color: #333333;
}

.btn-group.bootstrap-select {
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  padding: 5px;
}

.table th {
  border-top: 1px solid #dee2e6;
}

.table thead th {
  border: none;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

section.pos-section {
  padding: 13px 0;
}

section {
  padding: 20px 0;
}

.side-navbar .brand-big {
  line-height: 50px;
}

.side-navbar .brand-big i {
  font-size: 26px;
  vertical-align: middle;
}

.side-navbar li a i {
  vertical-align: middle;
}

nav.navbar a.menu-btn {
  background: transparent;
  border: 1px solid #5e9f95;
}

nav.navbar a.menu-btn:hover {
  background: #ecf3fd;
  border: 1px solid #ecf3fd;
}

.navbar-brand {
  padding: 0;
}

.brand-text h3 {
  color: #485d6e;
  font-weight: 300;
}

.brand-text h3 span {
  font-weight: 600;
}

nav.navbar {
  background: #f4f7fa;
  line-height: 65px;
  min-height: 80px;
  padding: 0;
}

nav.navbar a {
  line-height: 60px;
}

nav.navbar .nav-item a i {
  font-size: 16px;
  margin-right: 5px;
  margin-bottom: 5px;
  vertical-align: middle;
}

nav.navbar .nav-item .edit-options a i {
  color: #fff;
  font-size: 16px;
  margin-right: 5px;
  vertical-align: middle;
}

nav.navbar .nav-item li.notifications a i {
  color: #fff;
}

.dropdown-item {
  padding: 0 0.5rem;
  color: #212529;
}

.dropdown-item.selected {
  background-color: #ffffff;
  color: #485d6e;
}

.dataTables_wrapper {
  padding-left: 0;
  padding-right: 0;
}

.dataTables_filter,
.dataTables_length,
.dt-buttons {
  float: left;
  vertical-align: middle;
}

.dt-buttons {
  float: right;
}

.dt-buttons button {
  padding: 0.25rem 0.75rem;
}

.dt-buttons button span {
  color: #ffffff;
}

.dt-button-collection.dropdown-menu {
  background: #ffffff;
  padding: 10px 15px;
}

.dt-button-collection.dropdown-menu a {
  background: transparent;
  font-size: 14px;
  line-height: 30px;
}

.buttons-pdf {
  background: linear-gradient(60deg, #ef5350, #e53935) !important;
  border: none;
}

.buttons-csv {
  background: linear-gradient(60deg, #ffa726, #fb8c00) !important;
  border: none;
}

.buttons-print {
  background: #0f5655 !important;
  border: none;
}

.buttons-collection {
  background: linear-gradient(60deg, #66bb6a, #43a047) !important;
  border: none;
}

.dataTables_info,
.dataTables_paginate {
  display: table-cell;
  width: 50%;
}

.dataTables_paginate {
  text-align: right;
}

.dropdown-menu.edit-options {
  background: #ffffff;
  border: none;
}

.dropdown-menu.edit-options li a,
.dropdown-menu.edit-options li .btn-link {
  color: #485d6e;
  display: block;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.dropdown-menu.edit-options li a:hover,
.dropdown-menu.edit-options li .btn-link:hover {
  opacity: 0.7;
}

.table.totals tr td {
  background-color: #f6f9fc;
  border-top: none;
  vertical-align: middle;
  padding: 10px !important;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.table.order-list tr td .btn-link,
.table.totals tr td .btn-link {
  color: #485d6e;
}

#product-table_wrapper.dataTables_wrapper {
  margin-top: 0;
  padding: 0;
}

table#product-table.dataTable {
  border: none !important;
}

table.dataTable tbody tr.selected,
table.dataTable tbody th.selected,
table.dataTable tbody td.selected {
  color: #485d6e;
}

table.dataTable tbody > tr.selected,
table.dataTable tbody > tr > .selected {
  background: none !important;
}

#product-table_paginate {
  float: right;
}

#product-table_paginate .page-link {
  line-height: 1;
}
.product-img {
  margin-bottom: 0;
  text-align: center;
  text-transform: uppercase;
  width: 25%;
}
.product-card {
  border: 1px solid #f6f9fc;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 15px 7px 0;
}

.product-card:hover {
  border: 1px solid #0f5655;
}

.paid_by_id,
.change,
.payable,
.paying {
  font-size: 1.4rem !important;
  text-transform: uppercase;
}

.paying {
  color: #1dc7ea;
}

.change {
  color: #e28d02;
}

.payable {
  color: #cc0000;
}

#category-filter {
  border-bottom: 2px solid #289920;
}
#brand-filter {
  border-bottom: 2px solid #e28d02;
}
#featured-filter {
  border-bottom: 2px solid #0066cc;
}

.product-img img,
.brand-img img,
.category-img img {
  height: 70px;
  max-width: 100%;
  width: auto;
  display: block;
  margin: auto;
}

.product-img p {
  margin: 15px 0 0;
}

.product-img:hover p {
  color: #485d6e;
}

.category-img,
.brand-img {
  text-transform: capitalize;
}

.table-fixed thead {
  width: 100%;
}
.table-fixed tbody {
  height: 250px;
  overflow-y: auto;
  width: 100%;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th {
  display: block;
}
.table-fixed tr {
  clear: both;
}
.table-fixed tbody td,
.table-fixed thead > tr > th {
  float: left;
  border-bottom-width: 0;
}

.table-container {
  height: 350px;
}
.table-fixed-product thead {
  width: 100%;
}

.table-fixed-product tbody {
  height: 320px;
  overflow-y: auto;
  width: 100%;
}

.table-fixed-product thead,
.table-fixed-product tbody,
.table-fixed-product tr,
.table-fixed-product th {
  display: block;
}
.table-fixed-product tr {
  clear: both;
}

.column-5 {
  width: 25%;
  float: left;
  margin: 0;
  margin-bottom: 10px;
  padding: 0 5px;
}

.btn-custom {
  display: block;
  font-size: 13px;
  letter-spacing: 0.055em;
  line-height: 35px;
  width: 100%;
  color: #ffff;
  background: #ecf3fd;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-custom.sm {
  line-height: 18px;
  font-size: 15px;
  margin-bottom: 5px;
}

.minus,
.plus {
  padding: 0.65rem 0.75rem;
}
.numkey.qty {
  padding: 0 0.75rem;
  margin: 0 10px;
  text-align: center;
  height: 45px;
}

.pos-btn {
  line-height: 2.5;
}

.pos-text {
  line-height: 1.8;
}

.dataTables_info,
.dataTables_paginate {
  display: table-cell;
  width: 50%;
  float: left;
}

.pos .bootstrap-select.form-control:not([class*='col-']) {
  width: auto;
}

.pos .bootstrap-select button {
  padding-right: 21px !important;
}

.filter-window {
  width: 560px;
  height: 100vh;
  background-color: #f5f5f0;
  overflow-y: scroll;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 999;
  display: none;
}

@media all and (min-width: 576px) {
  .modal-dialog {
    max-width: 800px;
  }
}
