/* ==|== print styles =======================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
   * {
        background: transparent !important;
        color: black !important;
        text-shadow: none !important;
        filter: none !important;
        -ms-filter: none !important;
    }

    /* Black prints faster: h5bp.com/s */
    body {
        width: 100%;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
        display: none;
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    /*    Don't show links for images, or javascript/internal links */
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    /* h5bp.com/t */
    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 50% !important;
    }
    .boxLogo img {
        max-width: 100% !important;
        float:left;
        display:none !important;
    }

    .moduleContent .boxImgFloatThumb {
        max-width: 21% !important;
    }

    .boxImgFloat {
        max-width: 45% !important;
    }

    .boxImgFloat img,
    .moduleContent .boxImgFloatThumb img {
        max-width: 100% !important;
    }
    .moduleContent img {
        max-width: 100% !important;
    }

    @page {
        margin: 1cm 0.5cm 1cm 0.5cm;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
    }

    /* GENEREL */
    nav,
    .moduleBreadcrumb {
        display: none !important;
    }

    /* HOME */
    .boxHeaderBar,
    .moduleTopNavi,
    .moduleFooterNavi,
    .moduleTopNaviBg,
    .boxPager,
    .divFooterModules,
    .innerModuleDisplay p {
        display: none !important;
    }
    .gridContentRight {
        width:100% !important;
    }

    .moduleTeaser3Float .boxContentWrapper .boxContent img {
        width: 100%;
        position: absolute;
        bottom: 0;
    }

    .innerModuleGallery .edelgallery .is_active img {
        margin: 0 !important;
    }

    .moduleContentTeaser {
        height: auto !important;
    }

    .moduleTeaser3Float {
        float: left;
        width: 30%;
        margin-right: 3.33%;
    }

    .moduleTeaser3Float:nth-child(4) {
        page-break-before: always;
    }

    .moduleTeaser3Float .boxContentWrapper .boxContent,
    .boxOuter span,
    .moduleTeaser3Float .boxOuter > h2 {
        padding: 0;
    }

    .moduleTeaser3Float .boxInner .boxIcons {
        border: none;
        box-shadow: none;
    }

    .moduleTeaser3Float .boxInner,
    .moduleMediaGallery {
        border: none;
    }

    .moduleMediaGallery .boxArticle {
        padding: 0 !important;
        border: none;
    }

    .moduleTeaser3Float .boxIntro {
        padding: 0;
        margin-top: 10px;
        margin-left: 5px;
        border: none;
    }

    .divTeaser, .divTeaserFooter {
        margin: 0;
    }

    /* PROFIL TEMPLATE */
    .boxSubheadline span,
    .boxBorderTop {
        display: none;
    }

    /* NEWSROOM TEMPLATE */
    .moduleFilter,
    .moduleMoreNews,
    .moduleBackTop {
        display: none !important;
    }

    .innerBoxContent {
        display: block !important;
    }

    /*
    a.boxStandaloneLink {
        display: none !important;
    }*/
    .galleria-errors {
        display: none !important;
    }

    /*imperia extions */
    .moduleHeader {
        margin-top: 0;
        display:none !important;
    }
    .moduleContent ul {
        color: #000;
        list-style: circle;
        margin: 5px;
        padding: 5px;
    }

    .moduleTabs li {
        border: none;
        display: block;
        border-image: none;
        background: none repeat scroll 0 0 transparent;
    }

    .innerModuleToggle .innerBoxContent {
        height: auto !important;
        visibility: visible !important;
    }

     /* fixes ma 2015-03-27 , not in ew72 print 2015-08-24
    .boxColumn{border:1px solid #000;}
    .moduleTable .boxTable{border-right:1px solid #000;border-bottom:1px solid #000;}
    .moduleTable .boxTable .boxTableHead {background:#eee !important;}
    .moduleHeader .boxLogo img {width:100% !important;}
    */
}

