/*
* demo.css
* File include item demo only specific css only
******************************************************************************/
.app-brand-link{
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  flex-direction: column;
}

.app-brand-logo img{
  width: 100%;
}

.app-brand-link img{
  max-width: 200px;
  height: auto;
}

.swa-foto{
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}

.ktp-foto{
  height: 80px;
  width: 138px;
  object-fit: cover;
  border-radius: 5px;
}

.swa-foto:hover{
  border-radius: 5px;
}

.ktp-foto:hover{
  border-radius: 5px;
}

.menu .app-brand.demo {
  height: 100px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.total{
  display: flex;
  align-items: center;
}

.total .mb-3{
  width: 100%;
}

.t-top{
  font-weight: 550;
}

.saldo tr td{
  padding: 20px 0px;
  vertical-align: middle;
}

.saldo tr td:nth-last-child(1){
  text-align: right;
}

.saldo tr td h6 {
  line-height: 0;
  margin: 0;
}

.saldo tr.tambah {
  position: relative;
  border-bottom: 1px #204984 solid;
}

.saldo tr.kurang {
  position: relative;
  border-bottom: 1px #204984 solid;
}

.saldo tr.tambah:after {
  position: absolute;
  content: '+';
  font-size: 25px;
  color: #204984;
  bottom: -19.5px;
  right: -20px;
}

.saldo tr.kurang:after {
  position: absolute;
  content: '-';
  font-size: 25px;
  color: #204984;
  bottom: -17.5px;
  right: -20px;
}
.dataTables_wrapper {
  white-space: normal !important;
}

@media (max-width: 600px) {
  .dataTables_wrapper .dataTables_filter label {
    display: flex;
    width: 100%;
    align-items: center;
    margin: 10px 0;
  }
  .dataTables_wrapper .dataTables_filter input {
    padding: 2px 5px !important;
    font-size: 14px;
    margin: 0;
    width: 100%;
  }
  .dataTables_wrapper .dataTables_length select {
    padding: 2px 2px !important;
  }
  .dataTables_wrapper .dataTables_length select option {
    font-size: 14px !important;
  }
  .dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    font-size: 14px;
  }
  .saldo tr td{
    padding: 17px 0px;
  }
  .saldo tr td h6 {
    font-size: 14px;
  }
  .btn-responsive{
    display: block;
    margin: 0 !important;
    font-size: 12px;
    width: fit-content;
  }
  .btn-responsive{
    margin-bottom: 10px !important;
  }
  .btn-responsive:last-child{
    margin-bottom: 0px;
  }
  .btn-responsive-1{
    display: block;
    margin: 0 !important;
    font-size: 12px;
    width: fit-content;
  }
  .btn-responsive-1{
    margin-top: 10px !important;
  }
  .btn-responsive-1:last-child{
    margin-top: 0px;
  }
  .card-body-qty{
    padding-left: 1rem;
  }
  .img-card-qty {
    width: 90px !important;
    height: 90px !important;
  }
  td .form-control{
    display: inline-block;
    width: 55%;
  }
}

.table-total{
  position: absolute;
}
.table-total tr{
  float: right;
}

@media (max-width: 468px) {
  .table-total tr{
    float: left;
  }
  .table-total td{
    white-space: normal;
  }
  .table-total{
    position: relative;
  }
  .saldo tr td{
    padding: 15px 0px;
  }

  .saldo tr td h6 {
    font-size: 11px;
  }
  .card-body-qty{
    padding-left: 0.75rem;
  }
  .img-card-qty {
    width: 60px !important;
    height: 60px !important;
  }
  .qty-input .qty-action{
    padding: 0.1rem;
  }
  .qty-input .qty-form{
    width: 40%;
  }
}

@media (max-width: 400px) {
  h5.card-header.text-capitalize.d-flex.align-items-center {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start !important;
  }
  h5.card-header.text-capitalize.d-flex.align-items-center a{
    margin-left: 0rem !important;
  }
}

.tanggal-filter{
  display: inline-block;
  width: auto;
  border: none;
  padding: 0;
  font-size: unset;
  color: #566a7f;
}

.alert-heading{
  white-space: break-spaces;
  line-height: 25px;
}

.position-unset{
  position: unset;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #204984;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

.text-break{
  white-space: normal !important;
}

.persen_fee{
  width: 70px;
  overflow: hidden;
}
.persen_fee:after{
  position: absolute;
  content: '%';
  background-color: #fff;
  right: 1px;
  width: 24px;
  text-align: left;
}

.alert{
  margin-bottom: 0px;
}

.dtr-data{
  white-space: normal;
}

.dtr-data::before{
  content: ' : ';
  position: relative;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.alert-message{
  position: fixed;
  top: 0;
  right: 0;
  width: fit-content;
  margin: 15px;
  z-index: 9999;
}

.foto-up{
  object-fit: cover;
  background-color: transparent;
}

.select2{
  width: 100% !important;
}
.select2-container .select2-selection--single {
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  height: 38px;
  user-select: none;
  -webkit-user-select: none;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  position: absolute;
  display: block;
  width: 100%;
  padding: 0.4375rem 0.875rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.53;
  color: #697a8d;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #d9dee3;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.select2.select2-container--open .select2-selection__rendered {
  border: 1px solid #204984;
}
.select2-container--default .select2-selection--single {
  background-color: unset;
  border: unset;
  border-radius: unset;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
  position: relative;
  z-index: 1;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #b4bdc6;
  font-size: 14px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
  font-weight: normal;
  height: 38px;
}

.form-control[readonly] {
  background-color: transparent;
  opacity: 1;
}

.card-sticky{
  position: -webkit-sticky !important;
    position: sticky !important;
  top: 0px;
}

.material{
  float: right;
  font-size: 13px;
  line-height: 23px;
}

#myTable3_filter {
  position: absolute;
  top: -30px;
  right: 0;
}

.btn-del-qty{
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  top: -5px;
  left: -5px;
}
.btn-del-qty i{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  line-height: 11px;
}
.qty-form-mp{
  width: 40%;
}

.qty{
  align-items: center;
  justify-content: space-between;
}
.qty-input{
  align-items: center;
  justify-content: flex-end;
}
.qty-form{
  width: 30%;
  text-align: center;
  border: none;
}
.qty-action{
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  padding: 0.25rem;
}
.card-qty{
  align-items: center;
}
.card-subtitle-qty{
  font-size: 0.8rem;
  letter-spacing: inherit;
}
.card-title-qty{
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: inherit;
}
.img-card-qty{
  border: 1px solid #d9dee3;
  width: 100px;
  height: 100px;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px 0 rgba(67, 89, 113, 0.12);
}

.list-group-rev .list-group-item + .list-group-item {
  border-top-width: 0;
  border-bottom-width: 0;
}
.list-group-rev .list-group-item:last-child {
  border-bottom-right-radius: unset;
  border-bottom-left-radius: unset;
  border-top-right-radius: inherit;
  border-top-left-radius: inherit;
  border-top-width: 1px;
}
.list-group-rev {
  flex-direction: column-reverse;
} 
.list-group-item:first-child.list-group-item-rev {
  border-radius: unset;
  border-bottom-left-radius: inherit;
  border-bottom-right-radius: inherit;
}

.menu-inner-shadow {
  top: 8.01rem;
}

.saldo-plus:after{
  position: absolute;
  content: '+';
  bottom: -10px;
    right: -20px;
  font-size: 20px;
  font-weight: 300;
}
.saldo-minus:after{
  position: absolute;
  content: '-';
  bottom: -10px;
    right: -17px;
  font-size: 20px;
  font-weight: 300;
}
.saldo-hasil:after{
  position: absolute;
  content: '=';
  bottom: -10px;
    right: -20px;
  font-size: 20px;
  font-weight: 300;
}