@media print {

  * html {
    overflow-x: auto;
  }

  html, body {
    height: 0%;
    min-height: 0%;
  }

  body {
    background-image: none;
    background: #fff;
    color: #000;
    padding: 0;
    margin: 0;
  }

  #normenformular {
    display: none;
  }

  .bdy_margin {
    margin: 0;
  }

  a, a:link, a:visited {
    color: #000;
    text-decoration: none;
  }

  sup a, sup a:link, sup a:visited {
    text-decoration: none;
  }

  a.Urteilsvernetzung {
    text-decoration: none;
    border-bottom: 0 !important;
  }

  h1, .idvDOKUMENTTITEL {
    font-size: 13pt;
  }

  h2, .idvDOKUMENTH2 {
    font-size: 12pt;
  }

  h3 {
    font-size: 11pt;
  }

  #main, #content, #content_plain, .content {
    width: 100%;
  }

  #content, #content_plain, .content {
    position: relative;
    left: 0;
    top: 0;
    padding: 0 -20px 0 20px;
  }

  .content {
    z-index: 0;
  }

  .doktyp {
    border-bottom: 1px solid #000;
    background: none;
    margin: 0;
    padding: 0;
  }

  #absBottom, #Bemerkungen, #BemerkungenTA, .BeitragshinweisAussen, #navi, #head, #suche, #gesamtportal, #zg_nav, .dokf_zglink, #rechts, .BeitragshinweisAussen, #suchtipp_link, #divSuchtipps, #aktion, .printfassung, .noprint, img[src='/bilder/icon-merker.gif'], img[src='/bilder/icon-fenster.gif'], #navi_left {
    display: none;
  }

  .notvisible {
    display: none;
  }

  p.idvDOKUMENTABSATZ, p.idvDOKUMENTABSATZ_ohne_Randziffer {
    text-align: justify;
  }

  .printlogo {
    display: block;
  }


  .dokfenster_no_print {
    background-image: none;
  }

  .RdnDokFenster {
    margin-left: -30px;
  }

  table.rnr td {
    border: 1px solid #fff;
  }

  table.b1 td {
    border: solid 1px black;
    margin: 0px;
    padding: 4px 7px 4px 7px;
  }

  pre {
    overflow-x: auto;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap !important;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
  }
  
  /* Für extern eingefügtes HTML (zusatztexte-gesetze)*/
  table.m1, table.m2 {
    border-collapse:collapse;
    margin: 1px;
    width: 99% !important;
  }
  
  table.m1 td, table.m2 td {
    border: solid 1px black;
    margin: 0;
    padding: 4px 7px 4px 7px;
    vertical-align: middle;
  }
  
  .w13 {
    width: 13px;
  }
  
  table.m2 td {
    vertical-align: top;
  }
}
