/* MARGIN & PADDING */
.mt0 {
  margin-top: 0px !important;
}

.mt5 {
  margin-top: 5px !important;
}

.mt10 {
  margin-top: 10px !important;
}

.mt15 {
  margin-top: 15px !important;
}

.mt20 {
  margin-top: 20px !important;
}

.mt30 {
  margin-top: 30px !important;
}

.mt40 {
  margin-top: 40px !important;
}

.mt50 {
  margin-top: 50px !important;
}

.mb0 {
  margin-bottom: 0px !important;
}

.mb5 {
  margin-bottom: 5px !important;
}

.mb10 {
  margin-bottom: 10px !important;
}

.mb15 {
  margin-bottom: 15px !important;
}

.mb20 {
  margin-bottom: 20px !important;
}

.mb30 {
  margin-bottom: 30px !important;
}

.mb40 {
  margin-bottom: 40px !important;
}

.mb50 {
  margin-bottom: 50px !important;
}

/* PLUGIN */
.clr {
  width: 100%;
  clear: both;
}

.form-group label {
  display: block;
}

/* GENERAL */
.login-area {
  padding: 40px 30px 40px 15px;
}

.login-area .logo-codenesia {
  margin: 0 0 30px;
  height: 60px;
}

.login-area .title-login {
  font-size: 26px;
  color: #3a3b45;
}

.login-area form.user .form-control-user {
  font-size: 0.8rem;
  border-radius: 10rem;
  padding: 22px 20px;
}

.login-area a.forgot {
  font-size: 14px;
  color: #3a3b45;
  line-height: 1;
}

.text-codenesia {
  color: #ed1c24;
}

.btn-codenesia {
  color: #fff;
  background: #ed1c24;
  border-color: #ed1c24;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.btn-codenesia:hover,
.btn-codenesia:focus {
  color: #fff;
  background: #a01318;
  border-color: #a01318;
}

.btn-codenesia2 {
  color: #fff;
  background: #1cc88a;
  border-color: #1cc88a;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.btn-codenesia2:hover,
.btn-codenesia2:focus {
  color: #fff;
  background: #17a673;
  border-color: #169b6b;
}

.btn-codenesia3 {
  color: #fff;
  background: #4e73df;
  border-color: #4e73df;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.btn-codenesia3:hover,
.btn-codenesia3:focus {
  color: #fff;
  background: #2e59d9;
  border-color: #2653d4;
}

.btn-action {
  height: 25px;
  width: 25px;
  font-size: 10px;
  padding: 4px 0 0;
}

.table-responsive {
  overflow: auto;
}

.table-codenesia th {
  background: #ddd;
  color: #444;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  padding: 8px 5px !important;
  vertical-align: middle !important;
}

.table-codenesia th.total {
  text-align: right;
}

.table-codenesia td {
  color: #444;
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
  padding: 5px;
  text-transform: capitalize;
}

.table-codenesia td:last-child {
  white-space: nowrap;
}

.table-codenesia td img {
  height: 70px;
}

.table-codenesia td label.badge {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  margin: 0;
}

.table-codenesia td span {
  display: block;
  color: #444;
  font-size: 13px;
}

.table-codenesia td select {
  max-width: 130px;
  font-size: 13px;
  padding: 5px;
  height: 32px;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
}

.table-codenesia td select.select-plus-minus {
  max-width: 100%;
}

.table-codenesia td.notes {
  text-align: left;
}

.shadow-top {
  box-shadow: 0 3px 8px 0 rgba(58, 59, 69, 0.15) !important;
  -moz-box-shadow: 0 3px 8px 0 rgba(58, 59, 69, 0.15) !important;
  -webkit-box-shadow: 0 3px 8px 0 rgba(58, 59, 69, 0.15) !important;
}

.shadow-bottom {
  box-shadow: 0 -3px 8px 0 rgba(58, 59, 69, 0.15) !important;
  -moz-box-shadow: 0 -3px 8px 0 rgba(58, 59, 69, 0.15) !important;
  -webkit-box-shadow: 0 -3px 8px 0 rgba(58, 59, 69, 0.15) !important;
}

ul.pagination li {
  font-size: 13px;
}

ul.pagination li a {
  color: #ed1c24;
}

ul.pagination li.active a {
  background: #ed1c24 !important;
  border-color: #ed1c24 !important;
}

.dropdown-item,
.dropdown-item > i {
  color: #858796 !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item:hover > i,
.dropdown-item:focus > i {
  background: #ed1c24;
  color: #fff !important;
}

.sidebar-dark .nav-item .nav-link,
.sidebar-dark .nav-item .nav-link i,
.sidebar-dark .nav-item .nav-link[data-toggle="collapse"]::after {
  color: #fff;
}

.sidebar-dark .nav-item .nav-link:hover,
.sidebar-dark .nav-item .nav-link:focus {
  opacity: 0.7;
}

.sidebar.toggled .nav-item .collapse {
  left: calc(6.5rem + 1.5rem / 10);
  top: 15px;
  z-index: 2;
}

.sidebar .nav-item .collapse .collapse-inner,
.sidebar .nav-item .collapsing .collapse-inner {
  margin: 0;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: #ed1c24;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.current-bg-login {
  height: 100px;
  margin: 0 0 10px;
  border: 1px solid #ddd;
  padding: 5px;
}

footer.sticky-footer {
  border-top: 1px solid #ddd;
}

#data-table_length label,
#data-table_filter label,
#data-table_info {
  font-size: 14px;
}

.form-group .form-required {
  color: red !important
}

.form-group label {
  font-size: 15px;
  color: #444 !important;
}

.form-group label.sub-title {
  background: #ddd;
  color: #444 !important;
  font-size: 17px;
  font-weight: 600;
  padding: 5px 10px 3px;
  margin: 5px 0 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

.form-group .form-control {
  height: 35px;
  font-size: 13px;
  padding: 5px 10px;
  border: 1px solid #d1d3e2 !important;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.form-group .form-control:focus {
  box-shadow: 0px 0px 3px 1px #ddd;
  -webkit-box-shadow: 0px 0px 3px 1px #ddd;
  -moz-box-shadow: 0px 0px 3px 1px #ddd;
}

.form-group textarea.form-control {
  height: 150px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
}

.form-group select.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
}

.form-group div.dropdown.bootstrap-select.form-control.form-select {
  padding: 5px 0px;
}

.form-group .form-control.form-file {
  padding: 7px 10px 0px;
}

.form-group .form-control.form-select .btn {
  height: 100%;
  background: transparent;
  border: 0px;
  padding: 1px 15px 0 15px;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.form-group .form-control.form-select .filter-option-inner,
.form-group .form-control.form-select .filter-option-inner .filter-option-inner-inner {
  height: 100%;
}

.form-group .form-control.form-select .filter-option-inner .filter-option-inner-inner {
  line-height: 1.3;
}

.form-group ul.listing-column {
  padding-left: 0;
  list-style: none;
  columns: 100px 2;
  -webkit-columns: 100px 2;
  -moz-columns: 100px 2;
}

.form-group ul.listing-column li {
  margin-bottom: 5px;
}

.form-group .logo-company {
  height: 60px;
  margin: 0 0 10px;
  border: 1px solid #ddd;
  padding: 5px;
}

.form-group .favicon-company {
  height: 32px;
  margin: 0 0 10px;
  border: 1px solid #ddd;
  padding: 5px;
}

.wrapper-detail label {
  color: #444;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  display: block;
}

.wrapper-detail p {
  color: #444;
  font-size: 14px;
  font-weight: 400;
  margin: 0 0 15px;
}

.wrapper-detail p span {
  font-size: 12px;
}

.wrapper-detail span.badge {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.nav-pills li a {
  color: #858796;
}

/* OPTIONAL */
.card-pos {
  width: 100%;
  height: 500px;
  overflow: auto;
}

.product-search .form-control,
.product-barcode .form-control {
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.product {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: 0 0 30px;
}

.product .image {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.product .image img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  object-position: center;
}

.product .detail {
  width: 100%;
  height: 100px;
  position: absolute;
  display: table;
  text-align: center;
  top: 1;
  z-index: 1;
}

.product .detail .content {
  display: table-cell;
  vertical-align: middle;
}

.product .detail .content span {
  font-size: 10px;
  margin: 0 0 5px;
  display: block;
  line-height: 1;
  color: #fff;
  text-shadow: 0px 2px 4px #555;
}

.product .description {
  background: #eee;
  padding: 7px 7px 10px;
  text-align: center;
}

.product .description label {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 2px;
  line-height: 1;
  display: block;
}

.product .description span {
  font-size: 11px;
  margin: 0 0 5px;
  line-height: 1;
  display: block;
}

.product .description p {
  font-size: 12px;
  font-weight: 600;
  color: #ed1c24;
  margin: 0 0 5px;
  line-height: 1;
}

.product .description .btn-product-add {
  font-size: 11px;
  padding: 4px;
}

.total-summary ul {
  padding: 0;
  list-style: none;
}

.total-summary ul .item {
  margin: 0 0 10px;
  padding: 0 0 10px;
  border-bottom: 1px solid #ddd;
}

.total-summary ul li {
  display: inline-block;
  vertical-align: middle;
  margin: 0 -2px;
}

.total-summary ul li.detail {
  width: 50%;
}

.total-summary ul li.detail label {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 5px;
  line-height: 1;
  display: block;
}

.total-summary ul li.detail p {
  font-size: 12px;
  font-weight: 600;
  color: #ed1c24;
  margin: 0;
  line-height: 1;
  display: block;
}

.total-summary ul li.detail span {
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 7px;
  line-height: 1;
  display: block;
}

.total-summary ul li p input.form-control {
  width: 55px;
  font-size: 11px;
  padding: 3px;
  height: auto;
  margin: 0;
  text-align: center;
  display: inline-block;
}

.total-summary ul li.total {
  width: 50%;
  text-align: right;
}

.total-summary ul li.total p {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.total-summary ul li.total p .btn-delete-product-pos {
  margin-left: 10px;
  position: relative;
  bottom: 2px;
}

.total-summary ul .item2 {
  padding: 5px 0;
}

.total-summary ul .item2 li.detail label {
  font-size: 14px;
}

.total-summary .discount {
  padding: 10px;
  margin: 0 0 25px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.total-summary .discount .btn {
  font-size: 13px;
  margin: 0;
  padding: 7px 5px;
}

.total-summary .date {
  background: #f1f1f1;
  padding: 15px 10px;
  margin: 0 0 20px;
}

.total-summary .date label {
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  display: block;
  line-height: 1;
}

.total-summary .date .form-control {
  margin: 0 0 5px;
  text-align: center;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.total-summary .customer-info {
  background: #f1f1f1;
  padding: 15px 10px;
  margin: 0 0 40px;
}

.total-summary .customer-info label {
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  display: block;
  line-height: 1;
}

.total-summary .customer-info .nav-tabs {
  border-bottom: 0px;
  margin: 10px 0 5px;
  display: block;
  text-align: center;
}

.total-summary .customer-info .nav-tabs li:first-child {
  margin-right: 5px;
}

.total-summary .customer-info .nav-tabs li {
  margin-left: 0;
}

.total-summary .customer-info .nav-tabs li a {
  font-size: 13px;
  color: #858796;
  padding: 6px 10px;
  border: 0px;
  border-radius: 500px;
  -moz-border-radius: 500px;
  -webkit-border-radius: 500px;
}

.total-summary .customer-info .nav-tabs li a.active,
.total-summary .customer-info .nav-tabs li a:hover,
.total-summary .customer-info .nav-tabs li a:focus {
  background: #ed1c24;
  color: #fff;
}

.total-summary .customer-info .tab-content {
  padding: 10px 0 0;
}

.total-summary .customer-info .tab-content .cus-choose .form-select ul.dropdown-menu li {
  display: block;
}

.total-summary .customer-info .tab-content .cus-choose .btn {
  font-size: 13px;
  color: #858796;
}

.total-summary .customer-info .tab-content .cus-reg .form-control,
.total-summary .customer-info .tab-content .cus-reg .btn {
  font-size: 13px;
}

.total-summary .customer-info .table-customer-trx {
  margin: 0;
}

.total-summary .customer-info .table-customer-trx td {
  width: 50%;
  background: #fff;
  padding: 5px;
  font-size: 13px;
  text-align: center;
}

.total-summary .customer-info .table-customer-trx td .btn {
  font-size: 13px;
  padding: 4px 8px;
  margin-top: 5px;
}

.total-summary .payment .form-control {
  margin: 0 0 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-align: center;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.table-codenesia.table-product-price td {
  padding: 10px;
}

.table-codenesia.table-product-price td .btn {
  font-size: 11px;
  padding: 4px 8px;
}

.table-codenesia.table-product-price td input.form-control {
  height: auto;
  font-size: 11px;
  padding: 3px;
  margin: 0;
  text-align: center;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.table-codenesia.table-transaction td {
  padding: 10px;
}

.transaction-success {
  text-align: center;
}

.transaction-success h1 {
  font-size: 22px;
  margin: 0 0 15px;
}

.transaction-success ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.transaction-success ul li {
  margin: 5px 0;
}

.transaction-success ul li a.btn {
  font-size: 14px;
}

.transaction-success .icon {
  margin: 0 0 10px;
}

.transaction-success .icon i {
  font-size: 60px;
  color: #1cc88a;
}

.modal-discount input.form-control {
  margin: 0 0 5px;
  text-align: center;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.modal-discount select.form-control {
  margin: 0 0 5px;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.modal-price .tab-content {
  padding: 15px 0;
}

.modal-body .form-control {
  border-radius: 500px;
  -webkit-border-radius: 500px;
  -moz-border-radius: 500px;
}

.wrapper-report {
  width: 100%;
  display: block;
  overflow: hidden;
  padding: 15px;
}

.wrapper-report .title {
  text-align: center;
}

.wrapper-report .title h2 {
  font-size: 26px;
}

.wrapper-report .title p {
  font-size: 15px
}

.wrapper-report .dataTables_info {
  text-align: center;
}

.wrapper-report .pagination {
  justify-content: center !important;
  margin-top: 10px !important;
  margin-bottom: 30px !important;
}

.wrapper-report div.dt-buttons {
  float: none;
  margin: 0 auto;
  text-align: center;
}

a.btn:hover,
button.btn:hover {
  position: relative;
}

a.btn[aria-label]:hover:after,
button.btn[aria-label]:hover:after {
  content: attr(aria-label);
  position: absolute;
  background: #333;
  color: #fff;
  left: 0;
  top: -20px;
  font-size: 11px;
  padding: 4px 8px;
  z-index: 99;
  border-radius: 500px;
  -moz-border-radius: 500px;
  -webkit-border-radius: 500px; 
}

.product:hover {
  position: relative;
}

.product[aria-label]:hover:after {
  height: 100px;
  content: attr(aria-label);
  position: absolute;
  background: rgba(0,0,0,0.8);
  color: #fff;
  left: 0;
  right: 0;
  top: 0px;
  font-size: 12px;
  text-align: center;
  line-height: 1.3;
  padding: 10px 8px;
  z-index: 99;
}

div.dataTables_wrapper div.dataTables_processing {
  width: 250px;
  height: auto;
  position: fixed;
  background: red;
  color: #fff;
  top: 35%;
  right: 0;
  left: 0;
  margin-left: 0;
  margin-top: 0;
  margin: 0 auto;
  text-align: center;
  padding: 1em 0;
  z-index: 99999;
  border: 0px;
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
}

.table-archive .btn {
  font-size: 13px;
  padding: 3px 9px;
}

@media only screen and (max-width: 575px) {
  .dataTables_wrapper {
    overflow: auto !important;
  }

  table.dataTable tr.child,
  table.dataTable.dtr-inline.collapsed tbody td:first-child,
  table.dataTable.dtr-inline.collapsed tbody th:first-child {
    padding: 0 !important;
  }

  table.dataTable tr.child ul {
    display: block;
  }

  table.dataTable tr.child ul li:first-child {
    padding-top: 0.5em !important;
  }

  table.dataTable tr.child ul li:last-child .dtr-title {
    display: none !important;
  }

  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: normal !important;
  }

  .login-area {
    padding: 40px 15px 40px 15px;
  }
}