/* via bootstrap reset */
* {
  text-shadow: none !important;
  color: #000 !important;
  background: transparent !important;
  box-shadow: none !important;
}

pre,
blockquote {
  page-break-inside: avoid;
}

thead {
  display: table-header-group;
}

tr,
img {
  page-break-inside: avoid;
}

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

p,
h2,
h3 {
  orphans: 3;
  widows: 3;
}

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

/* Cribbed from bootstrap. */
body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 18px; /* Default bootstrap is 20, default text is prbs ~16.8px */
}

p {
  margin: 0 0 9px;
}

a {
  color: black;
  text-decoration: none;
}

/* Unordered and Ordered lists */
ul, ol {
  padding: 0;
  margin: 0 0 0 25px;
}

/* blockquote */
blockquote {
  padding: 0 0 0 15px;
  margin: 0 0 9px 10px;
  border-left: 5px solid #dddddd;
}

blockquote small {
  display: block;
  line-height: 20px;
  color: #999999;
}

blockquote small:before {
  content: '\2014 \00A0';
}

q:before,
q:after,
blockquote:before,
blockquote:after {
  content: "";
}

cite {
  font-style: normal;
}

/* hide unnecessary shiz */
.main-header,
.sidebar-nav,
.permalink,
.original-link {
  display: none;
}

/* title spacing */
.post-title {
  margin-bottom: 5px;
}

/* links to original post */
a[href].post-source-link:after {
  content: " (" attr(href) ")";
}

/* sub-comment styling */
ul.comment-children {
  border-left: 1px solid #ddd;
  list-style: none;
  margin-left: 0;
  padding-left: 15px;
}

.comment-text {
  margin-bottom: 15px;
}

.comment-text > br:last-child {
  display: none;
}
