/**
 * Global default print layout.
 * Parts of this source are collected from the web.
 *
 * Known sources:
 * - http://html5boilerplate.com/
 *
 * ---------------------------------------------------------------------------------------------------------------------
 * @version 2.0.0
 * @date    2012-09-06
 * @since   2010-10-21
 * @author  Christian Oellers <info@*.de>
 * @link    http://veryshort.de/
 */

/* ------------------------------------------------------------------------------------------------------------ (all) */

* {
    color:#000 !important;
    text-shadow:none !important;
    filter:none !important;
    -ms-filter:none !important;
}

html, body {
    background:#FFF none !important;
}

@page {
    margin:0.5cm;
}

/* --------------------------------------------------------------------------------------------------------- Elements */

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

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

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

pre, blockquote {
    page-break-inside:avoid;
}

thead {
    display:table-header-group;
}

tr, img {
    page-break-inside:avoid;
}

img {
    max-width:100% !important;
}

/** /
a[href]:after {
    content:" (" attr(href) ")";
}
/**/

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