@media print {
  html,
  body,
  .container,
  #content,
  .box-content,
  .col-lg-12,
  .table-responsive,
  .table-responsive .table,
  .dataTable,
  .box,
  .row {
    width: 100% !important;
    height: auto !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  body:before,
  body:after,
  .no-print,
  #header,
  #sidebar-left,
  .sidebar-nav,
  .main-menu,
  footer,
  .breadcrumb,
  .box-header,
  .box-header .fa,
  .box-icon,
  .alert,
  .introtext,
  .table-responsive .row,
  .table-responsive .table th:first-child,
  .table-responsive .table td:first-child,
  .table-responsive .table tfoot,
  .buttons,
  .modal-open #content,
  .modal-body .close,
  .pagination,
  .close,
  .staff_note {
    display: none;
  }
  .container {
    width: auto !important;
  }
  h3 {
    margin-top: 0;
  }
  .modal {
    position: static;
  }
  .modal .table-responsive {
    display: block;
  }
  .modal .table th:first-child,
  .modal .table td:first-child,
  .modal .table th,
  .modal .table td {
    display: table-cell !important;
  }
  .modal-content {
    display: block !important;
    background: white !important;
    border: none !important;
  }
  .modal-content .table tfoot {
    display: table-row-group !important;
  }
  .modal-header {
    border-bottom: 0;
  }
  .modal-lg {
    width: 100%;
  }
  .table-responsive .table th,
  .table-responsive .table td {
    display: table-cell;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid #ccc !important;
  }
  a:after {
    display: none;
  }
  .print-table thead th:first-child,
  .print-table thead th:last-child,
  .print-table td:first-child,
  .print-table td:last-child {
    display: table-cell !important;
  }
  .fa-3x {
    font-size: 1.5em;
  }
  .border-right {
    border-right: 0 !important;
  }
  .table thead th {
    background: #f5f5f5 !important;
    background-color: #f5f5f5 !important;
    border-top: 1px solid #f5f5f5 !important;
  }
  .well {
    border-top: 0 !important;
  }
  .box-header {
    border: 0 !important;
  }
  .box-header h2 {
    display: block;
    border: 0 !important;
  }
  .order-table tfoot {
    display: table-footer-group !important;
  }
  .print-only {
    display: block !important;
  }
  .reports-table th,
  .reports-table td {
    display: table-cell !important;
  }
  table thead {
    display: table-header-group;
  }
}
