/**
 * Copyright © 2016 Magento. All rights reserved.
 * See COPYING.txt for license details.
 */
.page-print td {
  background-color: #fff !important;
}
.page-print .logo {
  display: block;
  float: none;
  text-align: left;
}
.page-print .product-item-downloadable a {
  display: none;
}
.page-print .box-order-billing-method .box-content .content h4 {
  color: #000 !important;
  font-weight: normal !important;
  font-size: 1.4rem !important;
}
.page-print .product-item-authors a:hover {
  color: #000;
}
.page-print .product-item-authors a.product-author-link {
  text-decoration: none !important;
  cursor: text !important;
  pointer-events: none !important;
  font-weight: normal;
  font-size: 1.6rem;
}
@media print {
  /*------------------------*/
  @page {
    size: auto;
    margin: 0;
    
    /* auto is the initial value */
    /* this affects the margin in the printer settings */
  }
  html {
    height: 98% !important;
    background-color: #FFFFFF;
    margin: 0;
    /* this affects the margin on the HTML before sending to printer */
    overflow: visible !important;
  }
  body {
    height: 98% !important;
    overflow: visible !important;
    margin: 0;
  }
  tbody {
    page-break-after: always;
    page-break-inside: avoid;
    background-color: #0A246A;
  }
  .print:last-child {
    page-break-after: auto;
  }
  .page-main {
    padding: 10px !important;
    margin: 10px !important;
  }
  td {
    background-color: #fff;
  }
  /*------------------------*/
  .product.author a {
    cursor: text;
    pointer-events: none;
  }
  .next-site {
    page-break-before: always;
  }
  .box-order-billing-method .box-content .content h4 {
    color: #000 !important;
    font-weight: normal !important;
    font-size: 1.4rem !important;
  }
  .product-item-downloadable a {
    display: none;
  }
  * {
    -webkit-filter: none !important;
    background: transparent !important;
    color: #000000 !important;
    filter: none !important;
    text-shadow: none !important;
  }
  ul {
    list-style-type: none;
  }
  a,
  a:visited {
    text-decoration: underline !important;
  }
  pre,
  blockquote {
    border: 1px solid #999999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  .table-wrapper table {
    width: 100%;
    table-layout: fixed;
  }
  .table-wrapper table td {
    width: auto;
  }
  .table-wrapper table > tfoot > tr:first-child {
    border-top: 1px solid #999999;
  }
  .box,
  tr,
  img {
    page-break-inside: avoid;
  }
  img {
    max-width: 100% !important;
  }
  @page {
    margin: 1cm;
  }
  .block-content,
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  .block-content {
    page-break-before: avoid;
  }
  .block-title,
  h2,
  h3 {
    page-break-after: avoid;
  }
  .nav-toggle {
    display: none !important;
  }
  .sidebar,
  .nav-sections,
  .header.content > *[class],
  .panel.wrapper > *[class],
  .footer.content > *[class] {
    display: none;
  }
  .logo,
  .footer .copyright {
    display: block !important;
    margin: 10px 0;
  }
  .order-details-items .order-items .order-gift-message:not(.expanded-content) {
    height: auto;
  }
  .column.main {
    float: none !important;
    width: 100% !important;
  }
  .breadcrumbs {
    margin: 0 auto;
    text-align: right;
  }
  .footer.content {
    padding: 0;
  }
  .product.author a {
    cursor: text;
    pointer-events: none;
  }
}
