.invoice-preview .invoice-padding,
.invoice-edit .invoice-padding,
.invoice-add .invoice-padding {
  padding: 50px; }

.invoice-preview .table th:first-child,
.invoice-preview .table td:first-child,
.invoice-edit .table th:first-child,
.invoice-edit .table td:first-child,
.invoice-add .table th:first-child,
.invoice-add .table td:first-child {
  padding-left: 2.5rem; }

.invoice-preview .logo-wrapper,
.invoice-edit .logo-wrapper,
.invoice-add .logo-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 1.9rem; }

.invoice-preview .logo-wrapper .invoice-logo,
.invoice-edit .logo-wrapper .invoice-logo,
.invoice-add .logo-wrapper .invoice-logo {
  font-size: 2.142rem;
  font-weight: bold;
  letter-spacing: -0.54px;
  margin-left: 1rem;
  margin-bottom: 0; }

.invoice-preview .invoice-title,
.invoice-edit .invoice-title,
.invoice-add .invoice-title {
  font-size: 1.285rem;
  margin-bottom: 1rem; }

.invoice-preview .invoice-title .invoice-number,
.invoice-edit .invoice-title .invoice-number,
.invoice-add .invoice-title .invoice-number {
  font-weight: 600; }

.invoice-preview .invoice-date-wrapper,
.invoice-edit .invoice-date-wrapper,
.invoice-add .invoice-date-wrapper {
  display: flex;
  align-items: center; }

.invoice-preview .invoice-date-wrapper:not(:last-of-type),
.invoice-edit .invoice-date-wrapper:not(:last-of-type),
.invoice-add .invoice-date-wrapper:not(:last-of-type) {
  margin-bottom: 0.5rem; }

.invoice-preview .invoice-date-wrapper .invoice-date-title,
.invoice-edit .invoice-date-wrapper .invoice-date-title,
.invoice-add .invoice-date-wrapper .invoice-date-title {
  width: 7rem;
  margin-bottom: 0; }

.invoice-preview .invoice-date-wrapper .invoice-date,
.invoice-edit .invoice-date-wrapper .invoice-date,
.invoice-add .invoice-date-wrapper .invoice-date {
  margin-left: 0.5rem;
  font-weight: 600;
  margin-bottom: 0; }

.invoice-preview .invoice-spacing,
.invoice-edit .invoice-spacing,
.invoice-add .invoice-spacing {
  margin: 1.45rem 0; }

.invoice-preview .invoice-number-date .title,
.invoice-edit .invoice-number-date .title,
.invoice-add .invoice-number-date .title {
  width: 115px; }

.invoice-preview .invoice-total-wrapper,
.invoice-edit .invoice-total-wrapper,
.invoice-add .invoice-total-wrapper {
  width: 100%;
  max-width: 12rem; }

.invoice-preview .invoice-total-wrapper .invoice-total-item,
.invoice-edit .invoice-total-wrapper .invoice-total-item,
.invoice-add .invoice-total-wrapper .invoice-total-item {
  display: flex;
  align-items: center;
  justify-content: space-between; }

.invoice-preview .invoice-total-wrapper .invoice-total-item .invoice-total-title,
.invoice-edit .invoice-total-wrapper .invoice-total-item .invoice-total-title,
.invoice-add .invoice-total-wrapper .invoice-total-item .invoice-total-title {
  margin-bottom: 0.35rem; }

.invoice-preview .invoice-total-wrapper .invoice-total-item .invoice-total-amount,
.invoice-edit .invoice-total-wrapper .invoice-total-item .invoice-total-amount,
.invoice-add .invoice-total-wrapper .invoice-total-item .invoice-total-amount {
  margin-bottom: 0.35rem;
  font-weight: 600; }

@media (min-width: 768px) {
  .invoice-preview .invoice-title,
  .invoice-edit .invoice-title,
  .invoice-add .invoice-title {
    text-align: right;
    margin-bottom: 3rem; } }

.invoice-edit .invoice-preview-card .invoice-title,
.invoice-add .invoice-preview-card .invoice-title {
  text-align: left;
  margin-right: 3.5rem;
  margin-bottom: 0; }

.invoice-edit .invoice-preview-card .invoice-edit-input,
.invoice-edit .invoice-preview-card .invoice-edit-input-group,
.invoice-add .invoice-preview-card .invoice-edit-input,
.invoice-add .invoice-preview-card .invoice-edit-input-group {
  max-width: 11.21rem; }

.invoice-edit .invoice-preview-card .invoice-product-details,
.invoice-add .invoice-preview-card .invoice-product-details {
  background-color: #fcfcfc;
  padding: 3.75rem 3.45rem 2.3rem 3.45rem; }

.invoice-edit .invoice-preview-card .invoice-product-details .product-details-border,
.invoice-add .invoice-preview-card .invoice-product-details .product-details-border {
  border: 1px solid #ebe9f1;
  border-radius: 0.357rem; }

.invoice-edit .invoice-preview-card .invoice-to-title,
.invoice-add .invoice-preview-card .invoice-to-title {
  margin-bottom: 1.9rem; }

.invoice-edit .invoice-preview-card .col-title,
.invoice-add .invoice-preview-card .col-title {
  position: absolute;
  top: -3.2rem; }

.invoice-edit .invoice-preview-card .item-options-menu,
.invoice-add .invoice-preview-card .item-options-menu {
  min-width: 20rem; }

.invoice-edit .invoice-preview-card .repeater-wrapper:not(:last-child),
.invoice-add .invoice-preview-card .repeater-wrapper:not(:last-child) {
  margin-bottom: 3rem; }

.invoice-edit .invoice-preview-card .invoice-calculations .total-amt-title,
.invoice-add .invoice-preview-card .invoice-calculations .total-amt-title {
  width: 100px; }

@media (max-width: 769px) {
  .invoice-edit .invoice-preview-card .invoice-title,
  .invoice-add .invoice-preview-card .invoice-title {
    margin-right: 0;
    width: 115px; }
  .invoice-edit .invoice-preview-card .invoice-edit-input,
  .invoice-add .invoice-preview-card .invoice-edit-input {
    max-width: 100%; } }

@media (max-width: 992px) {
  .invoice-edit .col-title,
  .invoice-add .col-title {
    top: -1.5rem !important; } }

@media print {
  .invoice-edit hr,
  .invoice-add hr {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
}

.invoice-preview-card{

  .page-break{
    content: '';
    display: block;
    position: absolute;
    top: 0;
    width: 100%;

    border-bottom: dashed 1px #0069e4;
    box-shadow: 0px 0px 5px rgba(#0069e4, 0.5);

    &::before{
      content: attr(pageNumber);
      position: absolute;
      top: -8px;
      width: 20px;
      box-shadow: 0px 0px 5px rgba(0, 105, 228, 0.5);
      background: #0069e4;
      height: 10px;
      right: -24px;
      border-top-right-radius: 30px;
      border-bottom-right-radius: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: whitesmoke;
      font-size: 10px;
      padding: 8px 12px;
    }
  }

    font-family: "Calibri", Helvetica, Arial, serif;
    font-size: 14.43px !important;
    line-height: 19px !important;
    color: black;
    max-width: 210mm;
    min-width: 210mm;

  ul{
    margin: 0 0 0 12px;
  }

  h4{
    font-weight: bold;
    font-size: 14.43px !important;
    line-height: 19px !important;
    margin-bottom: 0px;
  }

  h1, h2, h3{
    margin-bottom: 10px;
    font-weight: bold;
    margin-bottom: 0;
  }

  .select2-container{
    width: 100% !important;

    font-weight: 500;
  }


  .block{

    margin-bottom: 0;
    label:not(.custom-control-label){
      position: absolute;
      background: #dff4f7;
      padding: 0 5px;
      bottom: 100%;
      opacity: 0;
      pointer-events: none;
    }

    &:hover{
      label{
        opacity: 1;
      }
      
      box-shadow: 0 0 0px 1px #dff4f7;
      
    }
  }

  .modal-dialog{
    .form-group label {
      position: relative;
      background: transparent;
      padding: 5px 5px 0;
      opacity: 1;
    }
  }
  


  .ql-container{
      font-family: "Calibri", Helvetica, Arial, serif;
      font-size: 14.43px !important;
      line-height: 19px !important;
      color: black;
  }

  .ql-editor{
    padding: 0 !important;
    font-size: 14.43px !important;
    line-height: 19px !important;
    min-height: 0;
    p {
      font-size: 14.43px !important;
      line-height: 19px !important;

      // &:last-child{
      //   line-height: 12px !important;
      // }
    }

    li{
      line-height: 19px !important;
      margin-bottom: 0px;
    }
  }

  .block{
    p{
      margin: 0;
      font-size: 14.43px !important;
      line-height: 19px !important;
    }
  }

  .quote--header{
    height: 330px;

    .invoice-contacts{
      font-size: 9pt;
      line-height: 10.8pt;

    }
    .logo-wrapper{
      img{
        width: 412px;
        height: 114px;

      }
    }
  }

  .quote-content{
    position: relative;
  }



  .edit-btn{
    margin-top: -20px;
    margin-bottom: -15px;
  }

  .quote--footer {
    .companyDetails{
      font-size: 9pt;
    }

  }

  .accreditation {

    img{
      height: 50px;
      margin: 0 10px;
    }
  }

  p{
    margin-top: 0;
    margin-bottom: 10px;
  }

  // div > br{
  //   display: none;
  // }

  .box__grey{
    background: rgba(0,0,0,0.05);
    padding: 15px 20px 15px;
    margin-bottom: 20px;

    p{
      margin: 0;
      font-size: 13.1px !important;
      line-height: 17px !important;
    }

    li{
      margin-bottom: 6px;
      font-size: 13.1px !important;
      line-height: 17px !important;
    }
  }

}

.quote-controls{
  @media (min-width: 768px) {
    position: fixed;
    width: 275px;
  }
}

.dropup .btn.btn-icon {
  padding: 0.715rem 0.736rem;
}

@font-face {
    font-family: 'Calibri';
    font-style: normal;
    font-weight: normal;
    src: url(/fonts/calibri/Calibri-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Calibri';
    font-style: normal;
    font-weight: bold;

    src: url(/fonts/calibri/Calibri-Bold.ttf) format('truetype');
}


.quote-content .block{
  width: 703px;
  position: relative;
}


.supply-list .disclaimer{
  p{
    font-size: 14px !important;
    line-height: 18px !important;

  }
}
