   @page {
      size: A4 portrait;
      margin: 2cm;
   }

   body, article {
      width: 100%;
      margin: 0;
      padding: 0;
      background: white;
      color: black;
      font-size: 12pt;
   }
   
   h1 {
      color: black;
      background: none;
      page-break-after: avoid;
   }

   h2, h3, h4, h5 {
      page-break-after: avoid;
   }

   nav, aside {
      display: none;
   }

   .panel-heading {
      display: none;
   }
  
   .btn {
      display: none;
   }

   img {
      max-width: 100% !important;
   }

   article {
      page-break-before: always;
   }

   ul, img, table, figure {
      page-break-inside: avoid;
   }

   a:link,a:visited {
      font-weight: bolder;
      text-decoration: none;
   }

   a[href^=http]:after {
      content:" <" attr(href) "> ";
   }

   a[href^="#"]:after {
      content: "";
   }

   a.no-print:after {
      content: "";
   }
