/**
 * Print Stylesheet fuer Deinewebsite.de
* @version         1.0
* @lastmodified    16.06.2016
*/

@media print {

  /* Inhaltsbreite setzen, Floats und Margins aufheben */
  /* Achtung: Die Klassen und IDs variieren von Theme zu Theme. Hier also eigene Klassen setzen */
  #content, #page {
    width: 100%;
    margin: 0;
    float: none;
  }

  /** Seitenränder einstellen */
  @page { margin: 2cm 0.5cm 1.5cm }

  /* Font auf 16px/13pt setzen, Background auf Weiß und Schrift auf Schwarz setzen.*/
  /* Das spart Tinte */


  .HalfFigure img {
    max-width: 100;
  }

  .HalfFigure {
    width: 40%;
  }

  .Figure,
  .HalfFigure {
    page-break-inside: avoid;
    margin-bottom: 20pt;
  }

  .HalfFigure:before,
  .Figure:before {
    clear: both;
    content: "";
    display: block;
  }

  body {
    font-size: 12pt;
    line-height: 1.3;
    margin-right: 1.5cm;
  }

  h1 {
    font-size: 24pt;
  }

  h2, h3, h4 {
    font-size: 14pt;
    margin-top: 25px;
  }

  /* Alle Seitenumbrüche definieren */
  a {
    page-break-inside:avoid;
    font-weight: normal;
  }

  blockquote {
    page-break-inside: avoid;
  }

  h1, h2, h3, h4, h5, h6, .FigureTitle, img, thead {
    page-break-after:avoid !important;
    page-break-inside:avoid !important;
  }

  .FigureTitle {
    page-break-before:auto !important;
  }

  .FullImage {
    page-break-before:avoid !important;
  }

  table thead { display: table-row-group !important; }

  table,
  tbody,
  .Table {
     page-break-inside: auto;
  }

  ul,
  ol,
  dl  {
    page-break-before:avoid;
  }

   /* Linkfarbe und Linkverhalten darstellen */
  a:link, a:visited, a {
    background: transparent;
    font-weight: bold;
    text-decoration: underline;
    text-align: left;
  }

  a {
    page-break-inside:avoid;
  }

/*   a[href^=http]:after {
  content:" <" attr(href) "> ";
} */

  $a:after > img {
    content: "";
  }

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

  a:not(:local-link):after {
    content:" <" attr(href) "> ";
  }

  iframe {
    position: absolute;
    height: 0;
    overflow: hidden;
  }

  /* Hide all modules we don't need */
  .pre-header, header .site-header__search, header .site-header__tools, #navigation-bar,
  .sidebar, .share-this-block, .breadcrumbs,
  .pagination-wrapper, .glossary-filters,
  .advert-strip, footer {
    display: none;
  }

  .main-content {
    width: 100%;
  }

  .main-content, .date-orb {
    color: black;
  }

  .cl--red.am--full {
    background-color: black;
  }

  .article__header {
    margin-bottom: 10px;
  }

  .article__title {
    margin-bottom: 0;
  }

  .article-section__article__author {
    float: left;
    max-width: 100%;
    background-color: transparent;
    background-color: white;
    padding-left: 0;
    margin-left: 0;
    padding: 0;
    padding-bottom: 1rem;
  }

  .firm-info {
    clear: both;
  }

  .article__content {
    margin-top: 0;
  }

  .article--legacy .boxout .collapse {
    display: block;
  }

  .am--full .firm-name {
    line-height: 1em;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  .date-orb {
    background-size: contain !important;
    color: white !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  .cl--red .date-orb {
    background-image: url('../assets/images/_dev/print/date-bg-iam.jpg');
  }

  .cl--wtr-blue .date-orb {
    background-image: url('../assets/images/_dev/print/date-bg-wtr.jpg');
  }


  .firm-name h4 {
    line-height: 1em;
    margin: 0;
    padding: 0;
  }

  .legal-update,
  .share-this-block,
  .cookie-consent-wrapper {
    display: none;
  }

  .site-logo,
  .site-header {
    float: right;
  }

  .site-logo {
    margin-right: -6rem;
  }
  .site-logo img {
    display: block;
  }

  .site-header .container:after {
    display: none;
  }
  .site-header .container,
  .site-header .site-header__inner {
    margin: 0;
  }


  p, address, li, dt, dd, blockquote {
    font-size: 100%
  }

  code, pre { font-family: "Courier New", Courier, mono}

  ul, ol {
    list-style: square; margin-left: 18pt;
    margin-bottom: 20pt;
  }

  li {
    line-height: 1.6em;
  }
}