/**
 * @file
 * Print styling
 *
 * We provide some sane print styling for Drupal using Auspices's layout method.
 */

@media print {

  /* underline all links */
  a:link,
  a:visited {
    text-decoration: underline !important;
  }

  /* Don't underline header */
  #site-name a:link,
  #site-name a:visited {
    text-decoration: none !important;
  }

  /* CSS2 selector to add visible href after links */
  #content a:link:after,
  #content a:visited:after {
    content: " (" attr(href) ") ";
    font-size: 0.8em;
    font-weight: normal;
  }

  /* Un-float the content */
  #content,
  #content .section {
    float: none;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Turn off any background colors or images */
  body,
  #page-wrapper,
  #page,
  #main-wrapper,
  #main,
  #content,
  #content .section {
    color: #000;
    background-color: transparent !important;
    background-image: none !important;
  }

  /* Hide sidebars and nav elements */
  #skip-link,
  #navigation,
  .region-sidebar-first,
  .region-sidebar-second,
  #footer,
  .breadcrumb,
  div.tabs,
  .links,
  .taxonomy,
  .book-navigation,
  .forum-topic-navigation,
  .pager,
  .feed-icons {
    visibility: hidden;
    display: none;
  }

  /* If you un-comment the "page { overflow-y: hidden; }" ruleset, Firefox clips
     the content after the first page. */
  #page-wrapper {
    overflow-y: visible;
  }
}