/**** DINZ print stylessheet ****/
/* removing the header pieces, sidebars, footer menu and other bits */
#header #block-search-form, #header #navigation, #block-panels-mini-footer-menu-blocks, .panels-flexible-region-sidebar_left-top, .panels-flexible-region-sidebar_right-sidebar_right, .tabs-wrapper, .breadcrumb, .field-name-share-links, #footer {
  display: none;
}

/* make the body section 100% in width */
.main-content {
  max-width: 100%;
}

/* make all backgrounds white */
body.not-front #main, body.front #main, #main, .main-content {
  background: none;
  background-image: none;
}

/* setting the font to something all computers will know */
html, body {
  font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Arial,sans-serif;
}

/* Since Chunkfive font is being used, replace with normal fonts */
h1, .page-title, .pane-title, h2, h3, .h1, .h2, .h3, .main-content h2, .main-content .h2 {
  font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Arial,sans-serif;
}

.field-name-field-banner-image {
  margin-bottom: 10px !important;
}

/* make sure images don't print too wide */
img {
  max-width: 100%;
}

/* give the page a margin for printing */
@page {
  margin: 0.5cm;
}
/* print the web url on the page */
header:after {
  content: "https://deernz.org";
}

#sidebar-first, #header, form, .pager-wrap, #sidebar-second,
.pane-productivity-improvement-hub .field-name-term-nodes-titles,
#block-search-form,
.breadcrumb,
.backtotop {
  display: none !important;
  border: 1px red solid;
}

#main {
  width: 100% !important;
}

p, table, td, ul, ol, blockquote, img {
  font-size: 70%;
}

* {
  background: transparent !important;
  color: #000 !important;
  /* Black prints faster: h5bp.com/s */
  box-shadow: none !important;
  text-shadow: none !important;
}

a,
a:visited {
  text-decoration: underline;
}

/*
    a[href]:after {
        content: " (http://www.deernz.org" attr(href) ")";
        font-size: 11px;
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links

    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }*/
pre,
blockquote {
  border: 1px solid #999;
  page-break-inside: avoid;
}

thead {
  display: table-header-group;
  /* h5bp.com/t */
}

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

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

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

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

body.node-type-stagline-issue {
  font-size: 17px !important;
}

.node-type-stagline-issue #main .pane-node-title-field {
  background: #1a1a1a;
}

.node-type-stagline-issue #main table h2 {
  font-size: 17px !important;
}

body {
  font-family: arial, sans-serif !important;
}

table {
  page-break-inside: auto;
}

tr {
  page-break-inside: avoid;
  page-break-after: auto;
}

thead {
  display: table-header-group;
}

tfoot {
  display: table-footer-group;
}

.stagline-print-back {
  display: none;
}

.node-type-stagline-issue #main .pane-custom h1 {
  padding: 0;
}

iframe, embed {
  display: none !important;
}

.node-type-stagline-issue #main .view-stagline-issue-list ul li div {
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

.pane-node-field-stagline-issue-features ~ .pane-stagline-issue-list {
  page-break-before: always;
}
.pane-node-field-stagline-issue-features ~ .pane-stagline-issue-list .view-content td p {
  font-size: 70%;
}
.pane-node-field-stagline-issue-features ~ .pane-stagline-issue-list, .pane-node-field-stagline-issue-features ~ .pane-stagline-issue-list * {
  overflow: visible;
}

.pane-stagline-issue-list table {
  font-size: 13px;
  max-width: 100%;
}
.pane-stagline-issue-list table *, .pane-stagline-issue-list table h2 {
  font-size: 13px !important;
  line-height: 1.4 !important;
}
.pane-stagline-issue-list table td h2 {
  font-size: 13px !important;
}

.node-type-stagline-issue #main table h2 {
  font-size: 13px !important;
}
.node-type-stagline-issue #main img {
  width: auto !important;
  height: auto !important;
  display: block;
  float: none;
}

.pane-stagline-issue-list td > * {
  font-size: 13px !important;
}

a[href]:after {
  content: " (" attr(href) ")";
}

abbr[title]:after {
  content: " (" attr(title) ")";
}

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

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

.field-name-field-stagline-article-body img {
  max-width: 33.33333% !important;
  height: auto;
}
