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

/**
 * By importing this CSS file as media "all", we allow this print file to be
 * aggregated with other stylesheets, for improved front-end performance.
 */

@import "variables.scss";

.print-content article:not(.full-view-active) p:not(.p-teaser),
.print-content article:not(.full-view-active) h2:not(.h2-teaser),
.print-content article:not(.full-view-active) h3,
.print-content article:not(.full-view-active) ul,
.print-content article:not(.full-view-active) h6,
.print-content article:not(.full-view-active) .field-name-body > div > div div,
.print-content article.full-view-active div.l-read-full {
  display: block;
}
.print-content .node .field-name-field-drp-bild-aufmacher {
  margin-left: 0;
}

@media print {

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

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

  /* Add visible URL after links. */
  #content a[href]:after {
    content: " (" attr(href) ")";
    font-weight: normal;
    font-size: 16px;
  }

  /* Only display useful links. */
  #content a[href^="javascript:"]:after,
  #content a[href^="#"]:after {
    content: "";
  }

  /* Add visible title after abbreviations. */
  #content abbr[title]:after {
    content: " (" attr(title) ")";
  }

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

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

  /* Hide sidebars and nav elements. */
  header,
  footer[role="contentinfo"],
  #skip-link,
  #toolbar,
  #navigation,
  .region-sidebar-first,
  .region-sidebar-second > div,
  #footer,
  .breadcrumb,
  .tabs,
  .action-links,
  .links,
  .book-navigation,
  .forum-topic-navigation,
  .pager,
  .feed-icons,
  .b-421,
  .b-012,
  .b-307,
  .b-308,
  .b-309,
  .b-329,
  .druport-field-description,
  .druport-field-caption,
  .druport-video,
  .druport-audio,
  .field-name-field-externe-links, 
  .b-013,
  .l-read-full,
  .region-highlighted, 
  article > .field-aufmacher, 
  article .field-sender-sendeformat,
  .field-link.l-mediathek,
  .field-sharing,
  .b-service-zur-sendung {
    visibility: hidden;
    display: none;
  }
  .page-node-type-sendung .node-content .field--name-field-autor, 
  .page-node-type-sendung .node-content .field--name-field-untertitel, 
  .page-node-type-sendung .node-content .field--name-title, 
  .page-node-type-sendung .node-content .field-meta {
    text-align: left;
    color: #000;
  }
  .page-node-type-sendung article .field--name-body::before {
    display: none;
  }
  .page-node-type-sendung .node-content .field--name-body {
    margin: 0px auto 0;
    padding-top: 0;
    color: #000;
  }
  .druport {
    margin-bottom: 1rem;
  }
  article:not(.full-view-active) p:not(.p-teaser), article:not(.full-view-active) h2, article:not(.full-view-active) h3, article:not(.full-view-active) h6, article:not(.full-view-active) .field-name-body > div > div  div, article.full-view-active div.l-read-full {
    display: block;
  }
}
