@media print {
    img#logo {
        display: none;
    }

    img#logo-print {
        display: inline !important;
    }

    /* Mootool need a overflow:hidden to toggle the div,
        but the browser need a overflow:visible to print it properly */
    div.toggleeContainer {
        overflow:visible !important;
    }

    /* The pager in not need on printed page */
    div.pager {
        display: none;
    }

    /* The annotations handler in not need on printed page */
    div.annotationsFooter {
        display: none;
    }

    div#modeSwitch {
        display: none;
    }

    div.adder {
        display: none;
    }

    /* Do not display the image right to the file link */
    p.filename img {
        display: none;
    }

    div#languageSelector {
        display: none;
    }

    div#pageMenu {
        display: none;
    }

    div#pageSearch {
        display: none;
    }

    img.togglerImage {
        display: none;
    }

    #pageHeader .content,
    #pageSession .content,
    #pageSearch .content,
    #pageMenu .content,
    #pageBreadcrumbs .content,
    #pageContent .content,
    #pageFooter .content,
    div.messages,
    div.warnings,
    div.errors {
        background-color: white;
        width: auto;
        margin: 1%;
        padding: 0;
    }

    #documentMeta,
    #documentContent {
        margin: 0 !important;
    }

    form.annotationFilter {
        display: none;
    }
    
    div.annotationsGroup h3 {
        border: 1px solid #eee;
    }

}

