.pm-payment {
  border: 0;
}

.invoice {
  position: relative;
}
.inv-head {
  position: relative;
  margin-bottom: 10px;
  height: 60px;
  font-size: 13px;
  color: #9e9e9e;
  border: 1px solid #4caf50;
  border-radius: 3px;
}
.inv-head .inv-doc,
.inv-head .inv-date,
.inv-head .inv-status,
.inv-head .inv-amount {
  position: absolute;
  font-weight: bold;
}
.inv-head .inv-doc {
  top: 7px;
  left: 10px;
  font-size: 18px;
  color: #4caf50;
}
.inv-head .inv-date {
  bottom: 5px;
  left: 10px;
  font-family: tahoma, ms sans serif;
  font-weight: normal;
}
.inv-head .inv-status {
  top: 0;
  right: 10px;
  font-size: 22px;
  color: #4caf50;
}
.inv-head .inv-amount {
  bottom: 1px;
  right: 10px;
  font-size: 18px;
  color: #ef5350;
}
.hurry {
  border-color: #ff5722;
}
.hurry .inv-doc,
.hurry .inv-status {
  color: #ff5722;
}
.canceled {
  border-color: #9e9e9e;
}
.canceled .inv-doc,
.canceled .inv-status {
  color: #9e9e9e;
}
.inv-body {
  display: none;
  margin-bottom: 40px;
}
.t-view {
  position: relative;
  margin: 0 0 20px 50px;
  font-family: tahoma, ms sans serif;
  font-size: 13px;
}
.t-view[data-tv-type=reserved]::before {
  content: "\f00c";
}
.t-view[data-tv-type=address]::before {
  content: "\f3c5";
}
.t-view[data-tv-type=transfer]::before {
  content: "\f53d";
}
.t-view[data-tv-type=confirm]::before {
  content: "\f46c";
}
.t-view[data-tv-type=packaging]::before {
  content: "\f47b";
}
.t-view[data-tv-type=delivery]::before {
  content: "\f48b";
}
.t-view[data-tv-type=cancel]::before {
  content: "\f00d";
}
.t-view[data-tv-type=detail]::before {
  content: "\f129";
}
.t-view[data-tv-type=picture]::before {
  content: "\f030";
}
.t-view[data-tv-type=bank]::before {
  content: "\f19c";
}
.t-view::before {
  position: absolute;
  top: 7px;
  left: -40px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  font-family: "Font Awesome 5 Pro";
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  color: #ffffff;
  background: #9e9e9e;
  box-shadow: 0 0 0 1px #9e9e9e;
  box-sizing: border-box;
}
.t-view strong {
  font-size: 15px;
  color: #9e9e9e;
}
.t-complete strong {
  color: #4caf50;
}
.t-complete::before {
  background: #4caf50;
  box-shadow: 0 0 0 1px #4caf50;
}
.t-processing strong {
  color: #ff5722;
}
.t-processing::before {
  background: #ff5722;
  box-shadow: 0 0 0 1px #ff5722;
}
.t-view::after {
  content: " ";
  position: absolute;
  top: 38px;
  left: -25px;
  width: 1px;
  height: calc(100%);
  background: #9e9e9e;
}
.t-complete::after {
  background: #4caf50;
}
.t-processing::after {
  background: #ff5722;
}
.t-view:last-child::after {
  display: none;
}
.tv-header {
  padding: 4px 20px 4px 10px;
  border-radius: 3px;
}
.tv-header:hover {
  background: #f5f5f5;
}
.tv-header > a:hover,
.tv-header > a:focus {
  color: #9e9e9e;
}
.tv-header > a::after {
  content: "\f067";
  position: absolute;
  top: 14px;
  right: 10px;
  font-family: "Font Awesome 5 Pro";
  transform: scale(1);
  transition: all;
  transition-duration: 250ms;
}
.tv-header strong,
.tv-header small {
  display: block;
}
.tv-header small {
  color: #9e9e9e;
}
.tv-detail {
  position: relative;
  display: none;
  margin: 10px 0 20px;
}
.tv-detail > .dd {
  position: relative;
  padding: 0 0 10px 70px;
}
.tv-detail > .dd > b {
  position: absolute;
  left: 5px;
}
.inv-toggled::after {
  content: " ";
  position: absolute;
  top: 60px;
  left: 25px;
  width: 1px;
  height: 17px;
  background: #4caf50;
}
.tv-toggled {
  background: #f5f5f5;
}
.tv-toggled > a::after {
  content: "\f068"
}
.item {
  position: relative;
  padding: 5px;
  width: 50%;
  height: 50px;
  float: left;
	overflow: hidden;
}
.item img {
  width: 40px;
  border-radius: 20px;
}
.item .pc {
  position: absolute;
  top: 6px;
  left: 55px;
  width: calc(100% - 60px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item .pp {
  position: absolute;
  top: 26px;
  left: 55px;
}
@media screen and (max-width:768px) {
  .item {
    width: 100%;
  }
}
@media screen and (max-width:550px) {
  .inv-head span {
    display: none;
  }
  .inv-head .inv-status {
    top: 3px;
    font-size: 22px;
  }
}

.ui {
  position: relative;
  width: 200px;
  min-height: 110px;
  margin: 0 auto 20px;
}
.ui div {
  position: absolute;
  left: 0;
}
.ui i {
  font-size: 20px;
}
.ui .bimage {
  top: 10px;
}
.ui .bimage input,
.ui .bimage div {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 0;
  width: 200px;
  height: 66px;
  line-height: 22px;
  cursor: pointer;
}
.ui .bimage input {
  opacity: 0;
}
.ui .bupload {
  position: relative;
  top: 100px;
}
.ui .bupload div {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 33px;
  color: #757575;
}
#show-canvas {
  padding: 5px;
  width: 100%;
  text-align: center;
}
#next-process,
#last-process {
  padding: 5px;
  width: 100%;
  text-align: center;
  color: #4caf50;
}
#chPic2 {
  position: absolute;
  top: 10px;
  bottom: 5px;
  display: none;
  width: 100%;
  height: 212px;
  cursor: pointer;
  opacity: 0;
  z-index: 201;
}
.fail-process {
  color: #ef5350 !important;
}
#next-process > span {
  font-size: 11px;
  color: #9e9e9e;
}
.preview {
  position: relative;
  display: inline-block;
  margin: 5px;
  padding: 5px;
  width: 212px;
  height: 212px;
  border: 1px solid #4caf50;
  border-radius: 3px;
  text-align: center;
  overflow: hidden;
  z-index: 200;
}
.preview .helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.preview canvas {
  display: inline-block;;
  border-radius: 2px;
  vertical-align: middle;
}
.complete {
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 20px;
  height: 20px;
  opacity: 0;
}
.complete .bg-i {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-radius: 2px;
}
.complete i {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 20px;
  color: #4caf50;
}
.preview .progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 85px 30px;
}
.rp {
  width: 200px;
  margin: 0 auto;
}
.rp .field.report_pp_qr {
  border-bottom: none;
}
.rp .field {
  margin: 2px 0 6px;
}
.rp .field select {
  font-size: 12px;
}
.rp .field-half {
  width: 47% !important;
  float: left;
}
.rp .mgr {
  margin-right: 6%;
}
.rp .field-half select {
  width: 40px !important;
}
.rp .btn {
  width: 100%;
  height: 33px;
  margin: 10px 0;
  font-size: 13px;
}
.rp label {
  color: #ef5350;
}
.image {
  padding: 20px 0;
  text-align: center;
  font-size: 15px;
  color: #4caf50;
}
.image img {
  width: 100%;
  max-width: 300px;
}
.link {
  margin: 10px 0;
}
.bottom-notify {
  height: 200px;
  padding-top: 20px;
  font-family: tahoma, ms sans serif;
  font-size: 15px;
  text-align: center;
}

/* backup css ar pp */

/* .promptpay_qr {
  overflow: hidden;
  border: 1px solid rgba(120, 120, 120, 0.3);
  border-radius: 5px;
  margin:auto;
  margin-bottom: 5px;
  background: #ffffff;
  min-width: 200px;
  min-height: 350px;
  max-height: 370px;
  max-width: 320px;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  .qr_top_bar {
    width: 100%;
    height: auto;
    background-color: #193761;
    color: #fff;
    display: flex;
    justify-content: center;
    img {
      height: 35px;
      width: auto;
      margin: 5px 0;
    }
  }
  .qr_pp_logo {
    margin: 7px auto;
    height: 25px;
    width: auto;
  }
  .qr_code_img {
    min-width: 150px;
    min-height: 150px;
    max-width: 230px;
    max-height: 230px;
    width: 100%;
    height: auto;
    margin: 0 auto 15px auto;
    img{
      min-width: 150px;
      min-height: 150px;
      max-width: 230px;
      max-height: 230px;
      width: 90%;
      height: auto;
      margin: auto;
    }
  }
  .qr_name {
    width: 100%;
    line-height: 1.5;
  }
  .qr_amount {
    width: 100%;
    line-height: 1.5;
  }
  
}

.promptpay_qr_frame {
  margin:auto;
  object-fit: contain;
  width: 100%;
  height: 100%;
  .text-center {
    margin-top: 1rem;
  }
} */

/* copilote compliled css */

.promptpay_qr {
  /* overflow: hidden; */
  border: 1px solid rgba(120, 120, 120, 0.3);
  border-radius: 5px;
  margin:auto;
  margin-bottom: 5px;
  background: #ffffff;
  /* position: relative; */
  /* min-width: 200px;
  min-height: 350px; */
  max-height: 370px;
  max-width: 400px;
  width: 100%;
  height: auto;
  /* border: 1px solid gray; */
  /* border-radius:1rem; */
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
}

.promptpay_qr .qr_top_bar {
  width: 100%;
  height: auto;
  background-color: #193761;
  color: #fff;
  display: flex;
  justify-content: center;
}

.promptpay_qr .qr_top_bar img {
  height: 35px;
  width: auto;
  margin: 5px 0;
  border:none !important;

}

.promptpay_qr .qr_pp_logo {
  margin: 7px auto;
  height: 25px;
  width: auto;
  border:none !important;

}

.promptpay_qr .qr_code_img {
  /* min-width: 100px;
  min-height: 100px; */
  max-width: 230px;
  max-height: 230px;
  width: 100%;
  height: auto;
  margin: 0 auto 15px auto;
  border:none !important;

}

.promptpay_qr .qr_code_img img {
  /* min-width: 100px;
  min-height: 100px; */
  max-width: 230px;
  max-height: 230px;
  width: 90%;
  height: auto;
  margin: auto;
  border:none !important;

}

.promptpay_qr .qr_name {
  width: 100%;
  line-height: 1.5;
}

.promptpay_qr .qr_amount {
  width: 100%;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.promptpay_qr_frame {
  margin:auto;
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
}

.btn_save_qr {
  background-color: #193761;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: #fff;
}

.btn_copy_bank_to_clipboard {
  max-width: auto;
}


