@media print {
  body * {
    visibility: hidden;
  }
  
  .printable-area, .printable-area * {
    visibility: visible;
  }
  
  .printable-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
  }

  .print\:hidden {
    display: none;
  }

  @page {
    size: auto;
    margin: 0.5in;
  }
}
