@media print{
  body
  {
    font-family:Arial, Helvetica, sans-serif;
    font-size: 14px;
  }
}

.modal-dialog {
  max-width:inherit; 
  margin: 0rem auto;
}
@media print {
  html, body {
      height: 99%;    
  }
}
.print+.print {
  page-break-before: always;
}

@media print {
  #Header {
      display: table-header-group;
  }

  table {
      page-break-inside: auto;
  }

  tr {
      page-break-inside: auto;
      position: static;
  }

  .print:last-child {
    page-break-after: auto;
}


}
@media print  and (min-height:11in)
{
  .printheight
{
  height: calc(100vh - 400px);

}
}
@media print  and (min-height:8in)
{
  .printheight
{
  height: calc(100vh - 400px);

}
}

  .pcs-template-bodysection {
      border: 1px solid #000;
      font-size: var(--font12);
  }
  .pcs-template-bodysection td{
    font-size: var(--font12);
  }
  .pcs-customer-name {
      font-size: 9pt;
      color: #000000;
  }
          .pcs-template {
      
            font-size: 9pt;
            color: #000000;
            background: #ffffff;
          }
      
          .pcs-header-content {
            font-size: 9pt;
            color: #000000;
            background-color: #ffffff;
          }
      
          .pcs-template-body {
            padding: 0 0.10in 0 0.10in;
          }
      
          .pcs-template-footer {
            height: 0.70in;
            font-size: 7pt;
            color: #000000;
            padding: 0 0.40in 0 0.55in;
            background-color: #ffffff;
          }
      
          .pcs-footer-content {
            word-wrap: break-word;
            color: #000000;
            border-top: 1px solid #000;
          }
      
          .pcs-label {
            color: #333333;
          }
      
          .pcs-entity-title {
            font-size: 22pt;
            color: #000000;
          }
      
          .pcs-orgname {
            font-size: 12pt;
            color: #000000;
          }
      
          .pcs-customer-name {
            font-size: 10pt;
            color: #000000;
          }
      
          .pcs-itemtable-header {
            font-size: 9pt;
            color: #000000;
            background-color: #f2f3f4;
          }
      
          .pcs-itemtable-breakword {
            word-wrap: break-word;
          }
      
          .pcs-taxtable-header {
            font-size: 9pt;
            color: #000000;
            background-color: #f2f3f4;
          }
      
          .breakrow-inside {
            page-break-inside: avoid;
          }
      
          .breakrow-after {
            page-break-after: auto;
          }
      
          .pcs-item-row {
            font-size: 9pt;
            border-bottom: 1px solid #000;
            background-color: #ffffff;
            color: #000000;
          }
      
          .pcs-item-sku {
            margin-top: 2px;
            font-size: 10px;
            color: #444444;
          }
      
          .pcs-item-desc {
            color: #333333;
            font-size: 9pt;
          }
      
          .pcs-balance {
            background-color: #ffffff;
            font-size: 9pt;
            color: #000000;
          }
      
          .pcs-totals {
            font-size: 9pt;
            color: #000000;
            background-color: #ffffff;
          }
          .pcs-totals td, .pcs-label{
            font-size: var(--font12);
          }
      
          .pcs-notes {
            font-size: 9pt;
          }
      
          .pcs-terms {
            font-size: 9pt;
          }
      
          .pcs-header-first {
            background-color: #ffffff;
            font-size: 9pt;
            color: #000000;
            height: auto;
          }
      
          .pcs-status {
          
            font-size: 15pt;
            border: 3px solid;
            padding: 3px 8px;
          }
      
          .billto-section {
            padding-top: 0mm;
            padding-left: 0mm;
          }
      
          .shipto-section {
            padding-top: 0mm;
            padding-left: 0mm;
          }
      
     
          .pcs-template-header {
            padding: 0 0.40in 0 0.55in;
            height: 0.30in;
          }
      
          .pcs-template-fill-emptydiv {
            display: table-cell;
            content: " ";
            width: 100%;
          }
      
      
          /* Additional styles for RTL compat */
      
          /* Helper Classes */
      
          .inline {
            display: inline-block;
          }
      
          .v-top {
            vertical-align: top;
          }
      
          .text-align-right {
            text-align: right;
          }
      
          .rtl .text-align-right {
            text-align: left;
          }
      
          .text-align-left {
            text-align: left;
          }
      
          .rtl .text-align-left {
            text-align: right;
          }
      
          .float-section-right {
            float: right;
          }
      
          .rtl .float-section-right {
            float: left;
          }
      
          .float-section-left {
            float: left;
          }
      
          .rtl .float-section-left {
            float: right;
          }
      
          /* Helper Classes End */
      
          .item-details-inline {
            display: inline-block;
            margin: 0 10px;
            vertical-align: top;
            max-width: 70%;
          }
      
          .total-in-words-container {
            width: 100%;
            margin-top: 10px;
          }
      
          .total-in-words-label {
            vertical-align: top;
            padding: 0 10px;
          }
      
          .total-in-words-value {
            width: 170px;
          }
      
          .total-section-label {
            padding: 5px 10px 5px 0;
            vertical-align: middle;
          }
      
          .total-section-value {
            width: 120px;
            vertical-align: middle;
            padding: 10px 10px 10px 5px;
          }
      
          .rtl .total-section-value {
            padding: 10px 5px 10px 10px;
          }
      
          .tax-summary-description {
            color: #727272;
            font-size: 9pt;
          }
      
          .bharatqr-bg {
            background-color: #f4f3f8;
          }
      
          /* Overrides/Patches for RTL compat */
          .rtl th {
            text-align: inherit;
            /* Specifically setting th as inherit for supporting RTL */
          }
      
          /* Overrides/Patches End */
      
          /* Signature styles */
          .sign-border {
            width: 200px;
            border-bottom: 1px solid #000;
          }
      
          .sign-label {
            display: table-cell;
            font-size: 10pt;
            padding-right: 5px;
          }
      
          /* Signature styles End */
      
          /* Subject field styles */
          .subject-block {
            margin-top: 20px;
          }
      
          .subject-block-value {
            word-wrap: break-word;
            white-space: pre-wrap;
            line-height: 14pt;
            margin-top: 5px;
          }
      
          /* Subject field styles End*/
      
      
      
          .pcs-template-bodysection {
            border: 1px solid #000;
          }
      
          .pcs-itemtable {
            border-top: 1px solid #000;
          }
      
          .pcs-addresstable {
            width: 100%;
            table-layout: fixed;
          }
      
          .pcs-addresstable>thead>tr>th {
            padding: 3px 5px;
            background-color: #f2f3f4;
            font-weight: normal;
            border-bottom: 1px solid #000;
          }
      
          .pcs-addresstable>tbody>tr>td {
            line-height: 15px;
            padding: 3px 5px 3px 5px;
            vertical-align: top;
            word-wrap: break-word;
          }
      
          .invoice-detailstable>tbody>tr>td {
            width: 50%;
            font-size: var(--font12);
            vertical-align: top;
            border-top: 1px solid #000;
          }
      
          .invoice-detailstable>tbody>tr>td>span {
            width: 45%;
            padding: 0px 5px;
            display: inline-block;
            vertical-align: top;
          }

      
          .pcs-itemtable-header {
            font-weight: normal;
            border-right: 1px solid #000;
            border-bottom: 1px solid #000;
          }
      
          .pcs-itemtable-subheader {
            padding: 1px 5px;
            text-align: right;
          }
      
          .pcs-item-row {
            border-right: 1px solid #000;
            border-bottom: 1px solid #000;
          }
      
          .pcs-itemtable tr td.pcs-itemtable-subheader:last-child {
            border-right: 1px solid #000;
          }
      
          .pcs-itemtable tr td.pcs-itemtable-subrow:last-child {
            border-right: 1px solid #000;
          }
      
          .pcs-itemtable tr td:last-child,
          .pcs-itemtable tr th:last-child {
            border-right: 0px;
          }
      
          .pcs-itemtable tr td:first-child,
          .pcs-itemtable tr th:first-child {
            border-left: 0px;
          }
      
          .pcs-itemtable tbody>tr>td {
            padding: 1px 5px;
            word-wrap: break-word;
            line-height: 16px;
          }
      
          .pcs-totaltable tbody>tr>td {
            padding: 4px 7px 0px;
            text-align: right;
          }
      
          .pcs-footer-content {
            border-top: 0px;
          }
      
          #tmp_vat_summary_label {
            padding: 4px 4px 3px 7px;
          }
      
          .signature-table tbody>tr>td {
            padding: 0px 15px 20px;
          }
      
          .subject-block {
            margin-top: 0px;
            padding: 10px;
            border-top: 1px solid #000;
          }
      
          .pcs-taxtable-header {
            border-bottom: 1px solid #000;
            border-right: 1px solid #000;
          }
        
        
.modal-print .modal-dialog
{
    max-width: 100vw;
}

@media print {

  @font-face {
    font-family: 'WebFont-Ubuntu';
    src: local(Ubuntu), url(https://fonts.gstatic.com/s/ubuntu/v10/4iCs6KVjbNBYlgoKcg72nU6AF7xm.woff2);
  }

  .pcs-template {
  	
    font-size: 9pt;
    color: #000000;
      background:  #ffffff ;
  }

  .pcs-header-content {
    font-size: 9pt;
	color: #000000;
	background-color: #ffffff;
  }
  .pcs-template-body {
  	padding: 0 0.10in 0 0.10in;
  }
  .pcs-template-footer {
  	height: 0.70in;
	font-size: 7pt;
	color: #000000;
	padding: 0 0.40in 0 0.55in;
	background-color: #ffffff;
  }
  .pcs-footer-content {
  word-wrap: break-word;
  color: #000000;
      border-top: 1px solid #000;
  }

  .pcs-label {
    color: #333333;
  }
  .pcs-entity-title {
    font-size: 22pt;
    color: #000000;
  }
  .pcs-orgname {
    font-size: 12pt;
    color: #000000;
  }
  .pcs-customer-name {
    font-size: 10pt;
    color: #000000;
  }
 .pcs-itemtable-header {
    font-size: 9pt;
    color: #000000;
    background-color: #f2f3f4;
  }
  .pcs-itemtable-breakword {
    word-wrap: break-word;
  }
  .pcs-taxtable-header {
    font-size: 9pt;
    color: #000000;
    background-color: #f2f3f4;
  }
  .breakrow-inside {
    page-break-inside: avoid;
  }
  .breakrow-after {
    page-break-after:auto;
  }
  .pcs-item-row {
    font-size: 9pt;
    border-bottom: 1px solid #000;
    background-color: #ffffff;
    color: #000000;
  }
  .pcs-item-sku {
    margin-top: 2px;
  	font-size: 10px;
  	color: #444444;
  }
  .pcs-item-desc {
      color: #333333;
      font-size: 9pt;
   }
  .pcs-balance {
    background-color: #ffffff;
    font-size: 9pt;
    color: #000000;
  }
  .pcs-totals {
    font-size: 9pt;
    color: #000000;
    background-color: #ffffff;
  }
  .pcs-notes {
    font-size: 9pt;
  }
  .pcs-terms {
    font-size: 9pt;
  }
  .pcs-header-first {
	background-color: #ffffff;
	font-size: 9pt;
	color: #000000;
      height: auto;
	}

 .pcs-status {

	font-size: 15pt;
	border: 3px solid ;
	padding: 3px 8px;
 }
 .billto-section {
     padding-top: 0mm;
     padding-left: 0mm;
   }
   .shipto-section {
     padding-top: 0mm;
     padding-left: 0mm;
   }



  .pcs-template-header {
	padding: 0 0.40in 0 0.55in;
    height: 0.30in;
  }

  .pcs-template-fill-emptydiv {
    display: table-cell;
    content: " ";
    width: 100%;
  }


/* Additional styles for RTL compat */

/* Helper Classes */

.inline {
  display: inline-block;
}
.v-top {
  vertical-align: top;
}
.text-align-right {
  text-align: right;
}
.rtl .text-align-right {
  text-align: left;
}
.text-align-left {
  text-align: left;
}
.rtl .text-align-left {
  text-align: right;
}
.float-section-right {
  float: right;
}
.rtl .float-section-right{
  float: left;
}
.float-section-left {
  float: left;
}
.rtl .float-section-left{
  float: right;
}

/* Helper Classes End */

.item-details-inline {
  display: inline-block;
  margin: 0 10px;
  vertical-align: top;
  max-width: 70%;
}

.total-in-words-container {
  width: 100%;
  margin-top: 10px;
}
.total-in-words-label {
  vertical-align: top;
  padding: 0 10px;
}
.total-in-words-value {
  width: 170px;
}
.total-section-label {
  padding: 5px 10px 5px 0;
  vertical-align: middle;
}
.total-section-value {
  width: 120px;
  vertical-align: middle;
  padding: 10px 10px 10px 5px;
}
.rtl .total-section-value {
  padding: 10px 5px 10px 10px;
}

.tax-summary-description {
  color: #727272;
  font-size: 9pt;
}

.bharatqr-bg {
  background-color: #f4f3f8;
}

/* Overrides/Patches for RTL compat */
  .rtl th {
    text-align: inherit; /* Specifically setting th as inherit for supporting RTL */
  }
/* Overrides/Patches End */

  /* Signature styles */
  .sign-border {
    width: 200px;
    border-bottom: 1px solid #000;
  }
  .sign-label {
    display: table-cell;
    font-size: 10pt;
    padding-right: 5px;
  }
  /* Signature styles End */

/* Subject field styles */
.subject-block {
    margin-top: 20px;
}
.subject-block-value {
    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 14pt;
    margin-top:5px;
}
/* Subject field styles End*/



  .pcs-template-bodysection {
       border: 1px solid #000;
  }
  .pcs-itemtable {
    border-top: 1px solid #000;
  }
  .pcs-addresstable {
    width: 100%;
    table-layout:fixed;
  }
  .pcs-addresstable > thead > tr > th {
    padding: 3px 5px;
    background-color: #f2f3f4;
    font-weight: normal;
    border-bottom: 1px solid #000;
  }
  .pcs-addresstable > tbody > tr > td {
    line-height: 15px;
    padding: 3px 5px 3px 5px;
    vertical-align:top;
    word-wrap: break-word;
  }

  .invoice-detailstable > tbody > tr > td {
    width: 50%;
    vertical-align: top;
    border-top: 0px solid #9e9e9e;
  }

  .invoice-detailstable > tbody > tr > td > span{
    width: 45%;
    padding: 1px 5px;
    display: inline-block;
    vertical-align: top;
  }

  .pcs-itemtable-header {
    font-weight: normal;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
  }
  .pcs-itemtable-subheader {
    padding: 1px 5px;
    text-align: right;
  }
  .pcs-item-row {
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
  }
  .pcs-itemtable tr td.pcs-itemtable-subheader:last-child {
    border-right: 1px solid #000;
  }
  .pcs-itemtable tr td.pcs-itemtable-subrow:last-child {
    border-right: 1px solid #000;
  }
  .pcs-itemtable tr td:last-child, .pcs-itemtable tr th:last-child {
    border-right: 0px;
  }
  .pcs-itemtable tr td:first-child, .pcs-itemtable tr th:first-child {
    border-left: 0px;
  }
  .pcs-itemtable tbody > tr > td {
    padding: 2px 5px;
    word-wrap: break-word;
  }
  .pcs-totaltable tbody > tr > td {
    padding: 4px 7px 0px;
    text-align: right;
  }
  .pcs-footer-content {
    border-top: 0px;
  }
  #tmp_vat_summary_label {
    padding: 4px 4px 3px 7px;
  }
  .signature-table  tbody > tr > td {
    padding: 0px 15px 20px;
  }
  .subject-block {
    margin-top: 0px;
    padding: 10px;
    border-top: 1px solid #000;
  }
  .pcs-taxtable-header {
    border-bottom: 1px solid #000;
    border-right: 1px solid #000;
  }
  }

   #footer {
    
    bottom:0;
    overflow-y: hidden;
    background-color: #fff;
}
.printheight {
  height: calc(100vh - 360px);
}

 

@font-face {
    font-family: 'WebFont-Ubuntu';
    src: local(Ubuntu), url(https://fonts.gstatic.com/s/ubuntu/v10/4iCs6KVjbNBYlgoKcg72nU6AF7xm.woff2);
  }
  
  .modal-dialog {
    max-width:inherit; 
    margin: 0rem auto;
  }

  @media print {
    
    .repthead thead
    {
      display: table-header-group;
    }
    #Header {
        display: table-header-group;
    }
  
    table {
        page-break-inside: auto;
    }

    

    /*  #footer {
      position:fixed;
      left:0px;
      bottom:0px;
      height:auto;
      width:100%;
      background:#999;
   }
   * html #footer {
      position:absolute;
      top:expression((0-(footer.offsetHeight)+(document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight)+(ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop))+'px');
   } */
  
    tr {
        page-break-inside: auto;
        position: static;
    }
    .reptfoot tfoot
    {
      position: absolute;
      bottom: 0px;
      width: 100%;
    }
  }

    .pcs-template-bodysection {
        border: 1px solid #000;
        font-size: var(--font12);
    }
    .pcs-template-bodysection td{
      font-size: var(--font12);
    }
    .pcs-customer-name {
        font-size: 9pt;
        color: #000000;
    }
            .pcs-template {
        
              font-size: 9pt;
              color: #000000;
              background: #ffffff;
            }
        
            .pcs-header-content {
              font-size: 9pt;
              color: #000000;
              background-color: #ffffff;
            }
        
            .pcs-template-body {
              padding: 0 0.10in 0 0.10in;
            }
        
            .pcs-template-footer {
              height: 0.70in;
              font-size: 7pt;
              color: #000000;
              padding: 0 0.40in 0 0.55in;
              background-color: #ffffff;
            }
        
            .pcs-footer-content {
              word-wrap: break-word;
              color: #000000;
              border-top: 1px solid #000;
            }
        
            .pcs-label {
              color: #333333;
            }
        
            .pcs-entity-title {
              font-size: 22pt;
              color: #000000;
            }
        
            .pcs-orgname {
              font-size: 12pt;
              color: #000000;
            }
        
            .pcs-customer-name {
              font-size: 10pt;
              color: #000000;
            }
        
            .pcs-itemtable-header {
              font-size: 9pt;
              color: #000000;
              background-color: #f2f3f4;
            }
        
            .pcs-itemtable-breakword {
              word-wrap: break-word;
            }
        
            .pcs-taxtable-header {
              font-size: 9pt;
              color: #000000;
              background-color: #f2f3f4;
            }
        
            .breakrow-inside {
              page-break-inside: avoid;
            }
        
            .breakrow-after {
              page-break-after: auto;
            }
        
            .pcs-item-row {
              font-size: 9pt;
              border-bottom: 1px solid #000;
              background-color: #ffffff;
              color: #000000;
            }
        
            .pcs-item-sku {
              margin-top: 2px;
              font-size: 10px;
              color: #444444;
            }
        
            .pcs-item-desc {
              color: #333333;
              font-size: 9pt;
            }
        
            .pcs-balance {
              background-color: #ffffff;
              font-size: 9pt;
              color: #000000;
            }
        
            .pcs-totals {
              font-size: 9pt;
              color: #000000;
              background-color: #ffffff;
            }
            .pcs-totals td, .pcs-label{
              font-size: var(--font12);
            }
        

            .pcs-notes {
              font-size: 9pt;
            }
        
            .pcs-terms {
              font-size: 9pt;
            }
        
            .pcs-header-first {
              background-color: #ffffff;
              font-size: 9pt;
              color: #000000;
              height: auto;
            }
        
            .pcs-status {
            
              font-size: 15pt;
              border: 3px solid;
              padding: 3px 8px;
            }
        
            .billto-section {
              padding-top: 0mm;
              padding-left: 0mm;
            }
        
            .shipto-section {
              padding-top: 0mm;
              padding-left: 0mm;
            }
        
            .pcs-template-header {
              padding: 0 0.40in 0 0.55in;
              height: 0.30in;
            }
        
            .pcs-template-fill-emptydiv {
              display: table-cell;
              content: " ";
              width: 100%;
            }
        
        
            /* Additional styles for RTL compat */
        
            /* Helper Classes */
        
            .inline {
              display: inline-block;
            }
        
            .v-top {
              vertical-align: top;
            }
        
            .text-align-right {
              text-align: right;
            }
        
            .rtl .text-align-right {
              text-align: left;
            }
        
            .text-align-left {
              text-align: left;
            }
        
            .rtl .text-align-left {
              text-align: right;
            }
        
            .float-section-right {
              float: right;
            }
        
            .rtl .float-section-right {
              float: left;
            }
        
            .float-section-left {
              float: left;
            }
        
            .rtl .float-section-left {
              float: right;
            }
        
            /* Helper Classes End */
        
            .item-details-inline {
              display: inline-block;
              margin: 0 10px;
              vertical-align: top;
              max-width: 70%;
            }
        
            .total-in-words-container {
              width: 100%;
              margin-top: 10px;
            }
        
            .total-in-words-label {
              vertical-align: top;
              padding: 0 10px;
            }
        
            .total-in-words-value {
              width: 170px;
            }
        
            .total-section-label {
              padding: 5px 10px 5px 0;
              vertical-align: middle;
            }
        
            .total-section-value {
              width: 120px;
              vertical-align: middle;
              padding: 10px 10px 10px 5px;
            }
        
            .rtl .total-section-value {
              padding: 10px 5px 10px 10px;
            }
        
            .tax-summary-description {
              color: #727272;
              font-size: 9pt;
            }
        
            .bharatqr-bg {
              background-color: #f4f3f8;
            }
        
            /* Overrides/Patches for RTL compat */
            .rtl th {
              text-align: inherit;
              /* Specifically setting th as inherit for supporting RTL */
            }
        
            /* Overrides/Patches End */
        
            /* Signature styles */
            .sign-border {
              width: 200px;
              border-bottom: 1px solid #000;
            }
        
            .sign-label {
              display: table-cell;
              font-size: 10pt;
              padding-right: 5px;
            }
        
            /* Signature styles End */
        
            /* Subject field styles */
            .subject-block {
              margin-top: 20px;
            }
        
            .subject-block-value {
              word-wrap: break-word;
              white-space: pre-wrap;
              line-height: 14pt;
              margin-top: 5px;
            }
        
            /* Subject field styles End*/
        
        
        
            .pcs-template-bodysection {
              border: 1px solid #000;
            }
        
            .pcs-itemtable {
              border-top: 1px solid #000;
            }
        
            .pcs-addresstable {
              width: 100%;
              table-layout: fixed;
            }
        
            .pcs-addresstable>thead>tr>th {
              padding: 3px 5px;
              background-color: #f2f3f4;
              font-weight: normal;
              border-bottom: 1px solid #000;
            }
        
            .pcs-addresstable>tbody>tr>td {
              line-height: 15px;
              padding: 3px 5px 3px 5px;
              vertical-align: top;
              word-wrap: break-word;
            }
        
            .invoice-detailstable>tbody>tr>td {
              width: 50%;
              font-size: var(--font12);
              vertical-align: top;
              border-top: 1px solid #000;
            }
        
            .invoice-detailstable>tbody>tr>td>span {
              width: 45%;
              padding: 0px 5px;
              display: inline-block;
              vertical-align: top;
            }
        
            .pcs-itemtable-header {
              font-weight: normal;
              border-right: 1px solid #000;
              border-bottom: 1px solid #000;
            }
        
            .pcs-itemtable-subheader {
              padding: 1px 5px;
              text-align: right;
            }
        
            .pcs-item-row {
              border-right: 1px solid #000;
              border-bottom: 1px solid #000;
            }
        
            .pcs-itemtable tr td.pcs-itemtable-subheader:last-child {
              border-right: 1px solid #000;
            }
        
            .pcs-itemtable tr td.pcs-itemtable-subrow:last-child {
              border-right: 1px solid #000;
            }
        
            .pcs-itemtable tr td:last-child,
            .pcs-itemtable tr th:last-child {
              border-right: 0px;
            }
        
            .pcs-itemtable tr td:first-child,
            .pcs-itemtable tr th:first-child {
              border-left: 0px;
            }
        
            .pcs-itemtable tbody>tr>td {
              padding: 1px 5px;
              word-wrap: break-word;
              line-height: 16px;
            }
        
            .pcs-totaltable tbody>tr>td {
              padding: 4px 7px 0px;
              text-align: right;
            }
        
            .pcs-footer-content {
              border-top: 0px;
            }
        
            #tmp_vat_summary_label {
              padding: 4px 4px 3px 7px;
            }
        
            .signature-table tbody>tr>td {
              padding: 0px 15px 20px;
            }
        
            .subject-block {
              margin-top: 0px;
              padding: 10px;
              border-top: 1px solid #000;
            }
        
            .pcs-taxtable-header {
              border-bottom: 1px solid #000;
              border-right: 1px solid #000;
            }
          
          
  .modal-print .modal-dialog
  {
      max-width: 100vw;
  }
  
  @media print {
  
    @font-face {
      font-family: 'WebFont-Ubuntu';
      src: local(Ubuntu), url(https://fonts.gstatic.com/s/ubuntu/v10/4iCs6KVjbNBYlgoKcg72nU6AF7xm.woff2);
    }
  
    .pcs-template {
        
      font-size: 9pt;
      color: #000000;
        background:  #ffffff ;
    }
  
    .pcs-header-content {
      font-size: 9pt;
      color: #000000;
      background-color: #ffffff;
    }
    .pcs-template-body {
        padding: 0 0.10in 0 0.10in;
    }
    .pcs-template-footer {
        height: 0.70in;
      font-size: 7pt;
      color: #000000;
      padding: 0 0.40in 0 0.55in;
      background-color: #ffffff;
    }
    .pcs-footer-content {
    word-wrap: break-word;
    color: #000000;
        border-top: 1px solid #000;
    }
  
    .pcs-label {
      color: #333333;
    }
    .pcs-entity-title {
      font-size: 22pt;
      color: #000000;
    }
    .pcs-orgname {
      font-size: 12pt;
      color: #000000;
    }
    .pcs-customer-name {
      font-size: 10pt;
      color: #000000;
    }
   .pcs-itemtable-header {
      font-size: 9pt;
      color: #000000;
      background-color: #f2f3f4;
    }
    .pcs-itemtable-breakword {
      word-wrap: break-word;
    }
    .pcs-taxtable-header {
      font-size: 9pt;
      color: #000000;
      background-color: #f2f3f4;
    }
    .breakrow-inside {
      page-break-inside: avoid;
    }
    .breakrow-after {
      page-break-after:auto;
    }
    .pcs-item-row {
      font-size: 9pt;
      border-bottom: 1px solid #000;
      background-color: #ffffff;
      color: #000000;
    }
    .pcs-item-sku {
      margin-top: 2px;
        font-size: 10px;
        color: #444444;
    }
    .pcs-item-desc {
        color: #333333;
        font-size: 9pt;
     }
    .pcs-balance {
      background-color: #ffffff;
      font-size: 9pt;
      color: #000000;
    }
    .pcs-totals {
      font-size: 9pt;
      color: #000000;
      background-color: #ffffff;
    }
    .pcs-notes {
      font-size: 9pt;
    }
    .pcs-terms {
      font-size: 9pt;
    }
    .pcs-header-first {
      background-color: #ffffff;
      font-size: 9pt;
      color: #000000;
        height: auto;
      }
  
   .pcs-status {
      font-size: 15pt;
      border: 3px solid ;
      padding: 3px 8px;
   }
   .billto-section {
       padding-top: 0mm;
       padding-left: 0mm;
     }
     .shipto-section {
       padding-top: 0mm;
       padding-left: 0mm;
     }
  

    .pcs-template-header {
      padding: 0 0.40in 0 0.55in;
      height: 0.30in;
    }
  
    .pcs-template-fill-emptydiv {
      display: table-cell;
      content: " ";
      width: 100%;
    }
  
  
  /* Additional styles for RTL compat */
  
  /* Helper Classes */
  
  .inline {
    display: inline-block;
  }
  .v-top {
    vertical-align: top;
  }
  .text-align-right {
    text-align: right;
  }
  .rtl .text-align-right {
    text-align: left;
  }
  .text-align-left {
    text-align: left;
  }
  .rtl .text-align-left {
    text-align: right;
  }
  .float-section-right {
    float: right;
  }
  .rtl .float-section-right{
    float: left;
  }
  .float-section-left {
    float: left;
  }
  .rtl .float-section-left{
    float: right;
  }
  
  /* Helper Classes End */
  
  .item-details-inline {
    display: inline-block;
    margin: 0 10px;
    vertical-align: top;
    max-width: 70%;
  }
  
  .total-in-words-container {
    width: 100%;
    margin-top: 10px;
  }
  .total-in-words-label {
    vertical-align: top;
    padding: 0 10px;
  }
  .total-in-words-value {
    width: 170px;
  }
  .total-section-label {
    padding: 5px 10px 5px 0;
    vertical-align: middle;
  }
  .total-section-value {
    width: 120px;
    vertical-align: middle;
    padding: 10px 10px 10px 5px;
  }
  .rtl .total-section-value {
    padding: 10px 5px 10px 10px;
  }
  
  .tax-summary-description {
    color: #727272;
    font-size: 9pt;
  }
  
  .bharatqr-bg {
    background-color: #f4f3f8;
  }
  
  /* Overrides/Patches for RTL compat */
    .rtl th {
      text-align: inherit; /* Specifically setting th as inherit for supporting RTL */
    }
  /* Overrides/Patches End */
  
    /* Signature styles */
    .sign-border {
      width: 200px;
      border-bottom: 1px solid #000;
    }
    .sign-label {
      display: table-cell;
      font-size: 10pt;
      padding-right: 5px;
    }
    /* Signature styles End */
  
  /* Subject field styles */
  .subject-block {
      margin-top: 20px;
  }
  .subject-block-value {
      word-wrap: break-word;
      white-space: pre-wrap;
      line-height: 14pt;
      margin-top:5px;
  }
  /* Subject field styles End*/
  
  
  
    .pcs-template-bodysection {
         border: 1px solid #000;
    }
    .pcs-itemtable {
      border-top: 1px solid #000;
    }
    .pcs-addresstable {
      width: 100%;
      table-layout:fixed;
    }
    .pcs-addresstable > thead > tr > th {
      padding: 3px 5px;
      background-color: #f2f3f4;
      font-weight: normal;
      border-bottom: 1px solid #000;
    }
    .pcs-addresstable > tbody > tr > td {
      line-height: 15px;
      padding: 3px 5px 3px 5px;
      vertical-align:top;
      word-wrap: break-word;
    }
  
    .invoice-detailstable > tbody > tr > td {
      width: 50%;
      vertical-align: top;
      border-top: 1px solid #000;
    }
  
    .invoice-detailstable > tbody > tr > td > span{
      width: 45%;
      padding: 0px 5px;
      display: inline-block;
      vertical-align: top;
    }
  
    .pcs-itemtable-header {
      font-weight: normal;
      border-right: 1px solid #000;
      border-bottom: 1px solid #000;
    }
    .pcs-itemtable-subheader {
      padding: 1px 5px;
      text-align: right;
    }
    .pcs-item-row {
      border-right: 1px solid #000;
      border-bottom: 1px solid #000;
    }
    .pcs-itemtable tr td.pcs-itemtable-subheader:last-child {
      border-right: 1px solid #000;
    }
    .pcs-itemtable tr td.pcs-itemtable-subrow:last-child {
      border-right: 1px solid #000;
    }
    .pcs-itemtable tr td:last-child, .pcs-itemtable tr th:last-child {
      border-right: 0px;
    }
    .pcs-itemtable tr td:first-child, .pcs-itemtable tr th:first-child {
      border-left: 0px;
    }
    .pcs-itemtable tbody > tr > td {
      padding: 2px 5px;
      word-wrap: break-word;
    }
    .pcs-totaltable tbody > tr > td {
      padding: 4px 7px 0px;
      text-align: right;
    }
    .pcs-footer-content {
      border-top: 0px;
    }
    #tmp_vat_summary_label {
      padding: 4px 4px 3px 7px;
    }
    .signature-table  tbody > tr > td {
      padding: 0px 15px 20px;
    }
    .subject-block {
      margin-top: 0px;
      padding: 10px;
      border-top: 1px solid #000;
    }
    .pcs-taxtable-header {
      border-bottom: 1px solid #000;
      border-right: 1px solid #000;
    }
    }
    .d-flex
    {
      display: flex;
    }
    .w100
    {
      width: 100%;
      padding: 5px;
      font-family: Arial, Helvetica, sans-serif;
    }

    .leftdiv
    {
      width: 150px;
      float: left;
      font-size: 13px;
    }
    .rightdiv
    {
      width: 70%;
      float: left;
      font-size: 13px;
    }
    .b 
    {
      font-weight: bold;
    }
    .f13
    {
      font-size: 13px;
    }
    .f14
    {
      font-size: 14px;
    }
    .f15
    {
      font-size: 14px;
    }
    .f16
    {
      font-size: 16px;
    }
 
    .repthead
    {
      font-size: 14px;
    }