html,
body {
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}

.container {
  min-width: 940px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.signatures-details {
  margin-top: auto;
}

.inspection-report-content .logo a:hover {
  text-decoration: none;
  color: #7793c4;
}

.inspection-report-content .inspection-table-wrapper {
  width: 100%; /* Update the width to 11 inches */
  min-height: 8.5in;
  background: #fff;
  border: 1px solid #cdd3e2;
  box-shadow: 0px 0px 1px #ccc;
  padding: 40px 40px 60px;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
}

.inspection-report-content .inspection-table-wrapper .line-items .print a {
  display: inline-block;
  border: 1px solid #9cb5d6;
  padding: 13px 13px;
  border-radius: 5px;
  color: #708dc0;
  font-size: 13px;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.inspection-report-content {
  background: #eceef4;
}

@media (min-width: 1200px) {
  .inspection-report-content .container {
    min-width: 11in;
  }
}

.dates {
  margin-right: 17px;
}

.inspection-report-content .logo-img {
  margin-top: 0px;
}

.inspection-report-content .logo-img a img {
  width: 80px;
  margin-top: -20px;
}

.inspection-report-content .logo {
  text-align: center;
  margin-top: 50px;
}

.inspection-report-content .logo a {
  font-family: Myriad Pro, Lato, Helvetica Neue, Arial;
  font-size: 36px;
  letter-spacing: 0.1px;
  color: #555;
  font-weight: 300;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.inspection-report-content .inspection-table-wrapper .intro {
  line-height: 25px;
  color: #444;
}

.inspection-report-content .inspection-table-wrapper .payment-info {
  margin-top: 25px;
  padding-top: 15px;
}

.inspection-report-content .inspection-table-wrapper .payment-info span {
  color: #a9b0bb;
}

.inspection-report-content .inspection-table-wrapper .payment-info strong {
  display: block;
  color: #444;
  margin-top: 3px;
}

@media (max-width: 767px) {
  .inspection-report-content
    .inspection-table-wrapper
    .payment-info
    .text-right {
    text-align: left;
    margin-top: 20px;
  }
}

.inspection-report-content .inspection-table-wrapper .signatures-details {
  border-top: 2px solid #ebecee;
  /* margin-top: 30px; */
  padding-top: 20px;
  line-height: 22px;
}

.inspection-report-content .inspection-table-wrapper .signatures-details span {
  color: #a9b0bb;
  display: block;
}

.inspection-report-content .inspection-table-wrapper .signatures-details a {
  display: inline-block;
  /* margin-top: 5px; */
}

@media (max-width: 767px) {
  .inspection-report-content
    .inspection-table-wrapper
    .signatures-details
    .text-right {
    text-align: left;
    margin-top: 20px;
  }
}

.inspection-report-content .inspection-table-wrapper .line-items {
  margin-top: 40px;
}

.inspection-report-content .inspection-table-wrapper .line-items .headers {
  color: #a9b0bb;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #ebecee;
  padding-bottom: 4px;
}

.inspection-report-content .inspection-table-wrapper .line-items .items {
  margin-top: 8px;
  border-bottom: 2px solid #ebecee;
  padding-bottom: 8px;
}

.inspection-report-content .inspection-table-wrapper .line-items .items .item {
  padding: 10px 0;
  color: #696969;
  font-size: 15px;
}

@media (max-width: 767px) {
  .inspection-report-content
    .inspection-table-wrapper
    .line-items
    .items
    .item {
    font-size: 13px;
  }
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .items
  .item:nth-child(even) {
  background-color: #f9f9f9;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .items
  .item
  .amount {
  letter-spacing: 0.1px;
  color: #84868a;
  font-size: 16px;
}

@media (max-width: 767px) {
  .inspection-report-content
    .inspection-table-wrapper
    .line-items
    .items
    .item
    .amount {
    font-size: 13px;
  }
}

.inspection-report-content .inspection-table-wrapper .line-items .total {
  margin-top: 30px;
}

.inspection-report-content .inspection-table-wrapper .line-items .extra-notes {
  float: left;
  width: 100%;
  text-align: left;
  font-size: 13px;
  color: red;
  line-height: 20px;
  padding-top: 120px;
  padding-bottom: 50px;
}

@media (max-width: 767px) {
  .inspection-report-content
    .inspection-table-wrapper
    .line-items
    .extra-notes {
    width: 100%;
    margin-bottom: 30px;
    float: none;
  }
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .extra-notes
  strong {
  display: block;
  margin-bottom: 5px;
  color: #454545;
}

.inspection-report-content .inspection-table-wrapper .line-items .total .field {
  margin-bottom: 7px;
  font-size: 14px;
  color: #555;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .total
  .field.grand-total {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 500;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .total
  .field.grand-total
  span {
  color: #20a720;
  font-size: 16px;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .total
  .field
  span {
  display: inline-block;
  margin-left: 20px;
  min-width: 85px;
  color: #84868a;
  font-size: 15px;
  letter-spacing: 0.4px;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .total
  .field
  .amount {
  letter-spacing: 0.1px;
  color: #84868a;
  font-size: 16px;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .total
  .field
  .amount
  span {
  color: #20a720;
  font-size: 16px;
  font-weight: 500;
}

.inspection-report-content .inspection-table-wrapper .line-items .print {
  margin-top: 30px;
  text-align: center;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .print
  a:hover {
  text-decoration: none;
  border-color: #333;
  color: #333;
}

.inspection-report-content .inspection-table-wrapper .line-items .print a i {
  margin-right: 6px;
  font-size: 14px;
}

.inspection-report-content .inspection-table-wrapper .line-items .print a.pdf {
  border-color: #ed5a5a;
  color: #ed5a5a;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .print
  a.pdf:hover {
  border-color: #d94343;
  color: #d94343;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .print
  a.pdf
  i {
  color: #ed5a5a;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .print
  a.email {
  border-color: #18c495;
  color: #18c495;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .print
  a.email:hover {
  border-color: #169f84;
  color: #169f84;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .print
  a.email
  i {
  color: #18c495;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .print
  a.print {
  border-color: #f0ad4e;
  color: #f0ad4e;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .print
  a.print:hover {
  border-color: #eb9316;
  color: #eb9316;
}

.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .print
  a.print
  i {
  color: #f0ad4e;
}

.inspection-report-content .footer {
  width: 8.5in; /* Update the width to US Letter size */
  margin-top: 40px;
  margin-bottom: 110px;
  text-align: center;
  font-size: 12px;
  color: #969cad;
  margin-left: auto;
  margin-right: auto;
}

.inspection-table {
  padding-bottom: 100px;
}

@media print {
  @page {
    size: letter landscape;
    /* Add a top margin to the page */
    margin-top: 20px;
    /* Add a bottom margin to the page */
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }

  html,
  body {
    width: 11in;
    height: 8.5in;
    margin: 0;
  }

  .inspection-table {
    padding-bottom: 0px;
    margin-top: 0.5in;
    page-break-after: always;
  }

  .signatures {
    page-break-after: avoid;
  }
}

/* Add space before extra-notes */
.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .total
  .extra-notes {
  margin-top: 20px;
}

/* Provide 50px space for writing notes */
.inspection-report-content
  .inspection-table-wrapper
  .line-items
  .total
  .extra-notes
  textarea {
  margin-top: 50px;
}

.post-operational {
  padding-bottom: 50px;
}
