/*/
 * Custom CSS
 * -----------------------------------------------------------------------------
/*/

.img-el {
  display: block;
  max-height: 160px;
}

.img-user-thumb,
.img-logo-thumb {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.img-user-thumb {
  max-height: 64px;
}

.img-logo-thumb {
  max-height: 48px;
}

.img-detail-static-thumb {
  display: block;
  max-height: 320px;
}

.img-gallery-thumb {
  display: block;
  max-height: 96px;
}

.img-preview {
  margin-bottom: 10px;
}

.img-user-preview,
.img-logo-preview,
.img-thumb-preview,
.img-detail-preview,
.img-detail-static-preview,
.img-gallery-preview {
  display: block;
}

.img-user-preview {
  max-height: 160px;
}

.img-logo-preview {
  max-height: 80px;
}

.img-thumb-preview {
  max-height: 160px;
}

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

.img-detail-static-preview {
  max-height: 320px;
}

.img-gallery-preview {
  max-height: 160px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  display: inline-block;
  vertical-align: middle;
  border-radius: 50%;
  overflow: hidden;
}

.user-history {
  width: 40px;
  height: 40px;
  float: left;
  border-radius: 50%;
  overflow: hidden;
}

.user-list .user-list-item .user-desc {
  margin-left: 52px;
}

.user-avatar--detail {
  width: 160px;
  height: 160px;
}

.user-avatar__img,
.user-img__el,
.user-history__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.user-img {
  border: solid 1px #eee;
  padding: 2px;
  border-radius: 50%;
}

.user-img__el {
  border-radius: 50%;
  border: solid 1px #321c9c;
}

.btn-icon {
  padding: 4px 8px !important;
  font-size: 16px;
}

.login-logo,
.dashboard-logo {
  display: inline-block;
}

.dashboard-logo {
  margin: 26px 0;
}

.login-logo img {
  height: 64px;
  display: block;
  margin: 0 auto;
}

.card-box {
  background-color: rgba(255, 255, 255, 0.9);
}

.content .container-fluid > .card-box:first-child {
  min-height: calc(100vh - 160px);
}

.dashboard-logo img {
  height: 15px;
  display: block;
  margin: 0 auto;
}

* .c-primary {
  color: #111;
}

.dropify-wrapper .parsley-errors-list {
  margin-top: 64px;
}

.input-group-icon {
  position: relative;
  padding-bottom: 20px;
}

.input-group-icon .parsley-errors-list {
  position: absolute;
  bottom: 0;
  left: 0;
}

.iframe-embed {
  width: 100%;
  max-width: 640px;
  height: 360px;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
}

body .mce-container .mce-toolbar-grp {
  border-top-width: 1px !important;
}

@media screen and (max-width: 480px) {
  .iframe-embed {
    height: 240px;
  }
}

.img-type {
  max-width: 160px;
  display: block;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.premium-label,
.platinum-label,
.total-label {
  padding: 4px 8px;
  display: inline-block;
  font-weight: bold;
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase !important;
}

.premium-label {
  background-image: linear-gradient(45deg, #999, #ccc);
}

.platinum-label {
  color: #fff;
  background-image: linear-gradient(45deg, #111, #444);
}

.total-label {
  font-weight: bold;
  display: block;
  border-top: solid 1px #888;
}

.product-info {
  display: block;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.product-brand {
  /* color: #777; */
}

.product-img {
  width: 120px;
  display: block;
  border-radius: 4px;
}

.product-stock {
  font-size: 13px;
  margin: 0;
}

.product-stock i {
  font-size: 16px;
  margin-right: 2px;
}

.product-nominal {
  font-size: 13px;
  line-height: 1.5;
}

.product-nominal span {
  margin-bottom: 2px;
}

.product-nominal span:last-child {
  margin-bottom: 0;
}

td .table-small {
  margin-bottom: 0;
}

.table-small td {
  padding: 2px 4px;
  font-size: 13px;
}

.table-small td:first-child {
  color: #888;
}

.table-small .premium-label {
  color: #111;
}

th .premium-label,
th .platinum-label {
  font-size: 12px;
  display: block;
  padding: 2px 4px;
  margin-bottom: 2px;
}

.table-small td .premium-label,
.table-small td .platinum-label {
  font-size: 10px;
  display: block;
  padding: 2px 8px;
}

.table-small .row-total td {
  font-weight: bold;
}

#sidebar-menu > ul > li > a.txt-green,
table td.txt-income,
.txt-income {
  color: #21a72a;
}

#sidebar-menu > ul > li > a.txt-green.active,
#sidebar-menu > ul > li > a.txt-green:hover {
  color: #0d6f13 !important;
}

#sidebar-menu > ul > li > a.txt-red,
table td.txt-expense,
.txt-expense {
  color: #e62323;
}

#sidebar-menu > ul > li > a.txt-red.active,
#sidebar-menu > ul > li > a.txt-red:hover {
  color: #960909 !important;
}

.cash-flow-item {
  display: flex;
  align-items: center;
}

.cash-flow-item i {
  margin-right: 12px;
  font-size: 24px;
}

.cash-flow-item-txt {
  margin: 0;
  line-height: 1.2;
}

.total-balance .card-box {
  position: relative;
  color: #fff;
  padding: 32px;
  background-image: linear-gradient(45deg, #111, #444);
}

.total-balance p,
.balance-item p,
.business-prospect p {
  margin: 0;
  font-size: 13px;
}

.total-balance h1,
.balance-item h3,
.business-prospect h3 {
  margin: 0;
  font-weight: 300;
}

.total-balance .card-box a,
.balance-item .card-box a {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
}

.balance-item .card-box {
  position: relative;
  color: #fff;
  padding: 24px;
}

.business-prospect .card-box {
  padding: 24px;
}

.balance-item:nth-child(1) .card-box {
  background-image: linear-gradient(45deg, #0a660a, #37bb0f);
}

.balance-item:nth-child(2) .card-box {
  background-image: linear-gradient(45deg, #082b4f, #004c99);
}

.balance-item:nth-child(3) .card-box {
  background-image: linear-gradient(45deg, #107398, #00aeef);
}

.balance-item:nth-child(4) .card-box {
  background-image: linear-gradient(45deg, #000, #333);
}

.balance-item:nth-child(5) .card-box {
  background-image: linear-gradient(45deg, #cb2424, #ef3e3e);
}

.balance-item:nth-child(6) .card-box {
  background-image: linear-gradient(45deg, #2b9b2b, #57c734);
}

.fw-reguler {
  font-weight: 400;
}

.revenue-label {
  color: #004c99;
  padding: 2px 4px;
  font-weight: 700;
}

.profit-label {
  color: #21a72a;
  padding: 2px 4px;
  font-weight: 700;
}

td .revenue-label,
td .profit-label {
  font-size: 12px;
  display: block;
  padding: 2px 4px;
  margin-bottom: 2px;
}

.table-detail-rf > tbody > tr > td {
  padding: 0;
}

.table-small td:last-child,
.table-detail-rf .table-small td:last-child {
  text-align: right;
}

.business-prospect .card-box {
  background-image: linear-gradient(45deg, #eee, #fff);
}

.business-prospect-total .business-prospect:first-child .card-box:first-child {
  color: #fff;
  background-image: linear-gradient(45deg, #1f2021, #4395e8);
}

.business-prospect-total .business-prospect:last-child .card-box:first-child {
  color: #fff;
  background-image: linear-gradient(45deg, #21a72a, #64ef3a);
}

.business-prospect:first-child .card-box {
  border-left: solid 2px #1f2021;
}

.business-prospect:last-child .card-box {
  border-left: solid 2px #21a72a;
}

.order input[type="checkbox"] {
  width: 16px;
  height: 16px;
  display: inline-block;
  padding: 4px;
  border: solid 1px #ccc;
  cursor: pointer;
  vertical-align: middle;
}

.order input[type="radio"] {
  cursor: pointer;
  vertical-align: middle;
}

.order .input-radio {
  margin-right: 16px;
}

.order .input-radio:last-child {
  margin-right: 0;
}

.order label[for] {
  cursor: pointer;
  margin: 0;
  vertical-align: middle;
  user-select: none;
}

.product-itm-list {
  margin-top: 8px;
}

.product-itm-list > p {
  margin: 0 0 16px;
  font-size: 12px;
}

.order-list .product-itm {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: solid 1px #f3f3f3;
}

.order-list .product-itm:last-child {
  border: 0;
}

.order-list .product-itm,
.choose-product .product-itm {
  display: flex;
  align-items: center;
}

.order-list .product-itm .product-img,
.choose-product .product-itm .product-img {
  display: block;
  flex-basis: 48px;
  margin-right: 16px;
}

.order-list .product-itm img,
.choose-product .product-itm img {
  width: 100%;
  display: block;
}

.order-list .product-itm p,
.choose-product .product-itm p {
  flex: 1;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}

.order-title {
  font-weight: 700;
}

.order-summary {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.order-img {
  flex-basis: 44px;
  margin-right: 12px;
}

.order-img img {
  display: block;
  width: 100%;
}

.order-name {
  font-size: 14px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  margin: 0;
  padding-right: 24px;
  text-transform: uppercase;
}

.order-price {
  font-size: 14px;
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.order-item {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: solid 1px #eee;
}

.order-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.order-spec table {
  width: 100%;
  margin: 0;
}

.order-spec table.order-spec-tbl {
  margin-bottom: 8px;
}

.order-spec table.order-spec-tbl:last-child {
  margin-bottom: 0;
}

.order-spec table td,
.order-spec table th {
  border: solid 1px #ddd;
  text-align: center;
  padding: 2px;
  vertical-align: middle;
}

.order-spec table th {
  padding: 8px 2px;
  background-color: #f3f3f3;
}

.order-spec table th i {
  font-size: 16px;
  cursor: pointer;
}

.order-spec tr td p,
.order-spec tr th p {
  margin: 0;
}

.order-spec table select {
  width: 100%;
  display: block;
  border: solid 1px #eee;
}

.current-order .card-box {
  position: sticky;
}

.order .order-title {
  margin-top: 0;
  margin-bottom: 16px;
}

.order-head {
  margin-bottom: 16px;
}

.order-amount {
  margin-bottom: 16px;
}

.order-head table,
.order-amount table {
  width: 100%;
  table-layout: fixed;
}

.order-head table td,
.order-amount table td {
  padding-top: 4px;
  padding-bottom: 4px;
}

.order-head table td:nth-child(1),
.order-amount table td:nth-child(1) {
  width: 130px;
}

.order-head table td:nth-child(2),
.order-amount table td:nth-child(2) {
  width: 10px;
}

.order-head table select,
.order-amount table select {
  width: 100%;
  display: block;
  border: solid 1px transparent;
}

.order-head table label,
.order-amount table label {
  padding-left: 4px;
}

.order-items {
  padding-bottom: 16px;
  border-bottom: solid 1px #ccc;
  padding-bottom: 16px;
}

.order-items-title {
  margin-bottom: 16px;
  margin-top: 0;
  font-weight: 700;
  padding-bottom: 8px;
  border-bottom: solid 1px #ccc;
}

.order-amount input[type="text"],
.order-amount input[type="number"] {
  width: 100%;
  height: 32px;
  padding: 4px 8px;
  border: solid 1px #ccc;
}

.order-amount td h3 {
  font-weight: 700;
}

.order-delete {
  margin-left: 8px;
}

.order-delete button {
  width: auto;
  height: auto;
  border: 0;
  outline: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #ea4848;
  cursor: pointer;
  font-size: 18px;
}

input.form-control.order-total {
  height: 48px;
  padding: 16px;
  font-size: 20px;
  font-weight: 700;
  border-color: #eee;
}

.order-item-data {
  opacity: 0;
  font-size: 0;
}

.order-total {
  text-align: right;
  margin: 0;
  font-size: 24px;
  font-weight: 700;
}

.order-product-not-selected {
  margin: 0;
  text-align: center;
  color: #777;
}

.order-account {
  pointer-events: none;
}

.d-hide {
  display: none;
}

.product-summary-data {
  display: flex;
  align-items: center;
}

.product-summary-data img {
  display: block;
  width: 48px;
  height: 48px;
  margin-right: 8px;
  font-size: 8px;
}

.product-summary-data p {
  text-transform: uppercase;
  margin: 0;
}

.product-summary-data p span {
  font-weight: 400;
}

.table-summary td {
  padding: 4px 12px;
  vertical-align: middle;
}

.tab-pane > .row > .col-sm-12 > .table-responsive > .dataTables_wrapper {
  padding: 0;
}

.tab-custom.nav-pills {
  flex-wrap: nowrap;
  overflow-x: auto;
}

.tab-custom.nav-pills .nav-item {
  margin-right: 4px;
  white-space: nowrap;
}

.tab-custom.nav-pills .nav-item:last-child {
  margin-right: 0;
}

.tab-custom.nav-pills .nav-link.active {
  background-color: #111;
  color: #fff;
}

.tab-custom.nav-pills .nav-link {
  color: #111;
  border: solid 1px #111;
}

.warning-stock td .mdi-alert {
  background-color: #e6ff41;
}

.checked-stock td .mdi-check-bold {
  background-color: #38be45;
  color: #fff;
}

.warning-stock td .mdi-alert,
.checked-stock td .mdi-check-bold {
  margin-left: 12px;
  width: 24px;
  height: 24px;
  display: inline-block;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  vertical-align: middle;
  border-radius: 1px;
}

.table-product,
.table-product-summary,
.table-sticker,
.table-sticker-summary {
  width: 100%;
  table-layout: fixed;
  margin-left: auto;
}

.table-product {
  max-width: 640px;
}

.table-sticker {
  max-width: 720px;
}

.table-product th,
.table-product td,
.table-sticker th,
.table-sticker td {
  text-align: right;
}

.table-product-summary th,
.table-product-summary td,
.table-sticker-summary th,
.table-sticker-summary td {
  text-align: center;
}

.table-product th:last-child,
.table-product td:last-child,
.table-product-summary th:last-child,
.table-product-summary td:last-child {
  background-color: #eee;
}

.table-sticker .warning-stock .mdi-alert {
  background-color: #e6ff41;
}

.table-sticker .checked-stock .mdi-check-bold {
  background-color: #38be45;
  color: #fff;
}
