@media print {
    /* print only when in printer mode */
    .printonly {
        display: block !important;
    }

    .printnever {
        display: none !important;
    }

    .w3-content {
        max-width: none;
    }


    /* Menu wird für den Druck ausgeblendet */
    #menu {
        display: none;
    }    

    #documentViewHeaderButtons {
        display: none;
    }

    /* required to make Addressee (right side of author/sender) jump below authors (in firefox) */
    .documentAuthors .documentSender {
        /*float: left; */
    }

    /* Addressee turn to the left */
    .documentAuthors .documentRecipient {
        text-align: left;        
    }



    #documentViewTabButtons {
        display: none;
    }


    /* Editor should be full width of content box*/
    #editor_wrapper {
        width: 100% !important;
        float: left; /* required to make EZKs jump below text (in firefox) */
    }

    #accordion-wrapper {
        break-inside: avoid;
    }

    /* EZK Toggle Button ausblenden */
    #toggleCommentHighlight {
        display: none !important;
    }          

    /* EZKs einblenden */
    .accordion-content[style] {
        display: block !important;
    }

    /* EZK Abstände korrigieren */
    .accordion-box {
        margin-bottom: 1em;
        break-inside: avoid;
    }

    .accordion-content .note {
        margin-top: 0;
        padding-top: 0;
        margin-block-start: 0;
    }




    /* Visualisierung/Hervorhebung des Textes */
    #documentViewText {
    }

    /* Visualisierung von Trennstrichen vor Überschriften */
    h1,h2 {
        font-weight: bold; 
        border-bottom: #ccc dashed thin;
    }   

    /* Visualisierung von ALT-Tags unter Bildern/Grafiken */
    img[alt]::after {
        content:"\A (" attr(alt) ")";
    }

    hr {
        color: #ccc;
        border: #ccc dashed thin;
    }

    /* Visualisierung des Verweisziels   
    */
    /*
    a[href]::after {
      content: " <" attr(href) ">";
      color: #888;
      background-color: inherit;
      font-style: italic;
      size: 80%;
    }
    */
}
