.total-owed {
  display: inline-block;
  position: absolute;
  right: 20px;
  top: 0px;
}
@media only screen and (max-width: 426px) {
  .total-owed {
    display: block;
    position: relative;
    right: 0;
    top: 0;
    margin: 10px 0 -10px;
  }
}
.invoices-intro {
  padding: 1.5em;
}
.heading {
  padding-left: 0;
  padding-left: 0;
}
.invoices-table {
  margin-top: 7px;
  overflow: visible !important;
  position: relative;
  margin-left: 30px;
  margin-right: 30px;
}
.mobile-view.odd {
  background-color: #ffffff;
}
.mobile-view.even {
  background-color: var(--bg-primary, #f3f6fb);
}
.mobile-view {
  display: none;
}
#invoices-table {
  width: 100%;
}
.invoice-details-mobile-view {
  display: none;
}
#invoice-details-table {
  width: 100%;
}
.AcceptUI {
  width: auto;
}

@media (max-width: 768px) {
  .mobile-view {
    display: block;
  }

  #invoices-table {
    display: none !important;
  }
  /* invoice details page */
  .invoice-details-mobile-view {
    display: block;
  }

  #invoice-details-table {
    display: none;
  }
  #AcceptUIContainer {
    top: 5% !important;
  }
}
.negative-credit-color {
  color: #007d64;
}

/*-- invoice details page --*/
.invoices-container {
  padding: 1.5em;
}
.custom-text-20px {
  font-size: 20px;
}
.detail-container {
  display: flex;
}
.detail-container p {
  display: inline-block;
  margin-right: auto;
  margin-left: auto;
}
.font-size-14 {
  font-size: 14px;
}
/* prevent table-striped for last 2 rows */
#invoice-details-table tbody tr:last-child,
#invoice-details-table tbody tr:nth-last-child(2) {
  background-color: inherit;
}

#invoice-details-table tbody tr:nth-last-child(2) td:nth-last-child(-n + 2) {
  border-top: 1px solid #eee;
}
#AcceptUIContainer {
  top: 25% !important;
}
.invoice-details-mobile-view.odd {
  background-color: #ffffff;
}
.invoice-details-mobile-view.even {
  background-color: var(--bg-primary, #f3f6fb);
}

/* Styles specific to mobile and tablet screens */
@media only screen and (max-width: 426px) {
  .invoices-container {
    border-radius: 0;
    box-shadow: none;
    margin: 0;
  }
  .invoices-container > div {
    padding: 15px;
    border-bottom: 1px solid #eee;
  }
  .invoices-container > div:last-child {
    border-bottom: none;
  }
  .detail-container,
  .detail-container p {
    display: block;
  }
  h1 {
    font-size: 16px;
  }
  p {
    font-size: 14px;
  }
  .font-size-14 {
    font-size: 12px;
  }
  .custom-text-20px {
    font-size: 16px;
  }
}

.paid-button {
  cursor: default !important;
  display: block;
  background-color: #d5f9e4 !important;
  border-color: #d5f9e4 !important;
  color: #006400;
  margin-top: 20px;
  font-size: 15px;
  padding: 10px 30px;
  border-radius: 2px !important;
  width: 100%;
  line-height: 1.4285715;
  margin-bottom: 0;
  font-weight: normal;
  text-align: center;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.partially-paid {
  display: flex;
}

.partially-paid p {
  font-size: 12px;
}

.asterisk {
  font-size: 20px;
  margin-right: 5px;
}

/*-- end invoice detail page--*/
