/* ============================= */
/* Printer-Friendly CSS */
/* ============================= */

/* General body */
body { 
  margin: 1em;
  background-color: #ffffff;
  font-family: sans-serif;
  color: #000;
}

/* Main content wrapper */
#main {
  margin: 1em;
}

/* Hide navigation and non-essential elements */
#menu, .no-print {
  display: none !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #000;
  page-break-after: avoid;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}
th, td {
  border: 1px solid #000;
  padding: 5px;
  text-align: left;
}
tr.odd { background-color: #f9f9f9; }
tr.even { background-color: #ffffff; }

/* Links */
a:link, a:visited {
  color: black;
  text-decoration: underline;
}
a:after {
  content: " (" attr(href) ")";
  font-size: small;
}

/* Horizontal rules */
.print-hr {
  border: 0;
  height: 1px;
  width: 100%;
  background-color: #000;
  margin: 1em 0;
}

/* Messages / Highlight boxes */
.print-message {
  border: 1px solid #000;
  padding: 1em;
  margin: 1em 0;
  background-color: #ffffff;
}

/* Footnotes, metadata, and small text */
.print-footnote,
.print-source_url,
.print-links,
.print-breadcrumb,
.print-submitted,
.print-created {
  font-size: small;
  color: #000;
}

/* Taxonomy / categories */
.print-taxonomy {
  text-align: right;
}
.print-taxonomy li {
  display: inline;
  margin-left: 0.5em;
}

/* Logos / images */
img.print-logo {
  max-width: 100%;
  height: auto;
  border: 0;
}

/* Titles */
.print-title {
  font-weight: bold;
  font-size: 1.2em;
  margin-bottom: 0.5em;
}
.print-subtitle {
  font-size: 1em;
  margin-bottom: 0.5em;
}

/* Footer */
.print-footer {
  text-align: center;
  font-size: small;
  margin-top: 2em;
}

/* Page breaks */
.page-break {
  page-break-before: always;
}
