/*
@import url('http://fonts.publico.pt/PublicoMedium.php');
@import url('http://fonts.publico.pt/PublicoBannerBlack.php');
@import url('http://fonts.publico.pt/PublicoRoman.php');
*/

/*
PÚBLICO - Framework CSS
webdesign@publico.pt - Hugo Baeta (@hugobaeta), Hugo Castanho (@hcastanho)
*/

/* @group Reset CSS 
	(Eric Meyer's Reset Reloaded + HTML5 baseline - v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark)
	html5doctor.com/html-5-reset-stylesheet/ */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure,  footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin:0; padding:0; border:0; outline:0; font-size:100%; vertical-align:baseline; background:transparent; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display:block; }
nav ul { list-style:none; }
blockquote, q { quotes:none; }
blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
table { border-collapse:collapse; border-spacing:0; } /* tables still need cellspacing="0" in the markup */
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }
/* @end Reset CSS */

/* @group Typography */
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on October 26, 2010 */

/* Base Typography */

@font-face {
	font-family: 'PublicoBannerBlack';
	src: url('fonts/publico-bannerblack.eot?#iefix') format('embedded-opentype'), 
	     url('fonts/publico-bannerblack.woff') format('woff'), 
	     url('fonts/publico-bannerblack.ttf')  format('truetype'),
	     url('fonts/publico-bannerblack.svg#svgFontName') format('svg');
	font-weight: bold;
}

@font-face {
	font-family: 'PublicoMedium';
	src: url('fonts/publico-medium.eot?#iefix') format('embedded-opentype'), 
	     url('fonts/publico-medium.woff') format('woff'), 
	     url('fonts/publico-medium.ttf')  format('truetype'),
	     url('fonts/publico-medium.svg#svgFontName') format('svg');
}

@font-face {
	font-family: 'PublicoRoman';
	src: url('fonts/publico-roman.eot?#iefix') format('embedded-opentype'), 
	     url('fonts/publico-roman.woff') format('woff'), 
	     url('fonts/publico-roman.ttf')  format('truetype'),
	     url('fonts/publico-roman.svg#svgFontName') format('svg');
}
@font-face {
	font-family: 'PublicoText';
	src: url('fonts/publico-text.eot?#iefix') format('embedded-opentype'), 
	     url('fonts/publico-text.woff') format('woff'), 
	     url('fonts/publico-text.ttf')  format('truetype'),
	     url('fonts/publico-text.svg#svgFontName') format('svg');
}
body { background: #fff; color: #222; font:13px/1.5 sans-serif; *font-size:small; }
select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }
body, select, input, textarea { color: #222; font-family: Arial, sans-serif; }
a:hover, a:active { outline: none; }
p { margin-bottom: 1.5em; }
h1, h2, h3, h4 { font-weight: normal; font-style: normal; margin-bottom: 1.5em; color: #000; }
h1 { font-size: 257.1% /*36px*/; line-height: 1.2; font-family: 'PublicoBannerBlack', Georgia, serif; font-size-adjust: 0.53; 
	margin-bottom: 0.5em; font-weight: bold; }
h2 { font-size: 185.7% /*26px*/; line-height: 1.2; font-family: 'PublicoMedium', Georgia, serif; font-size-adjust: 0.52; 
	margin-bottom: 0.5em;  }
h2.boxtitle { font-size: 123.1% /*16px*/; padding: .3em 0 .1em; border-top: 1px solid #ddd; border-bottom: 2px solid #ddd; }
h2.boxtitle.first { border-top: none; }
h3, .lead, blockquote { font-family: 'PublicoRoman', Georgia, serif; font-size-adjust: 0.51; }
h3 { font-size: 150% /*21px*/; margin-bottom: 1em; }
.lead, blockquote { font-size: 115.3% /*18px*/; margin-bottom: 1.4em; }
h4 { font-size: 114.3% /*16px*/; line-height: 1.2; font-family: 'PublicoRoman', Georgia, serif; font-size-adjust: 0.51;
	margin-bottom: 1.2em; }
h2.basic, h3.basic, h4.basic { font-family: Arial, sans-serif; font-size: 100% /*14px*/; margin: 0; font-weight: bold; }
.more { color: #888; font-size: 85.7%; }
/* Layout Elements */
.aside { font-size: 85.7% /*12px*/; line-height: 1.83em; }
.img-single, .img-slideshow { margin-bottom: 1.5em; overflow: hidden; }
img a { border: none; }
/* Other elements */
a:focus { outline: 1px dotted; }
hr { border: 0 #ccc solid; border-top-width: 1px; clear: both; height: 0; padding: 0 0 20px; }
ul, ol { margin-left: 1.8em; margin-bottom: 1.5em; }
ul { list-style: disc; }
ol { list-style-type: decimal; }
nav ul, nav li, .blocklist { margin: 0; list-style: none; } /* Remove margins and bullets for navigation lists */
/* Block Lists */
ul.blocklist { margin-right: -10px; margin-left: -10px; overflow: hidden; }
ul.blocklist li { float: left; margin-right: 10px; margin-left: 10px; }
.basicvertlist, .basichorizlist { list-style: none; margin: 0; padding: 0; overflow: hidden; }
.basichorizlist li { float: left; }
.stripelist li { overflow: hidden; border-bottom: 1px solid #ddd; margin-bottom: .5em; padding-bottom: .5em; }
.stripelist li:last-child { border: none; }
.stripelist li ul li { border-bottom: none; margin: 0; padding: 0; }
.stripelist img { margin-bottom: 0; }
.resultadospesquisa li { padding-top: .5em; padding-bottom: 1em; }
/*Definition Lists*/
dl { margin-bottom: 1.5em; }
dt { font-weight: bold; float: left; margin-right: 5px; }
blockquote { color: #555; padding-left: 1.8em; }
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; } 
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
/* @end Typography */

/* @group Forms and other elements */
textarea { overflow: auto; } /* http:// www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */
.ie6 legend, .ie7 legend { margin-left: -7px; }
/* align checkboxes, radios, text inputs with their label - http://tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }
/* webkit browsers add a 2px margin outside the chrome of form elements */  
button, input, select, textarea { margin: 0; }
/* colors for form validity */
input:valid, textarea:valid   { background-color: #e6ffe1; }
input:invalid, textarea:invalid { border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red; }
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }
/* SELECT COLOR These selection declarations have to be separate. No text-shadow: twitter.com/miketaylr/status/12228805301 */
::-moz-selection{ background: #cce6e9; color:#333; text-shadow: none; }
::selection { background: #cce6e9; color:#333; text-shadow: none; } 
/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #008290; } 
/* make buttons play nice in IE: viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }
 /* bicubic resizing for non-native sized IMG: code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }
/* @end Forms and other elements */

/* @group Layout Grid 
	Based on http://960.gs/ */
.container { margin-left: auto; margin-right: auto; width: 960px; } /* Outer container for the grid */
.container.nogrid { width: 940px; }
/* `Grid >> Global */
.grid_1, .grid_2, .grid_3, .grid_4, .grid_5, .grid_6, .grid_7, .grid_8, .grid_9, .grid_10, .grid_11, .grid_12, #content, #sidebar { display: inline; float: left; margin-left: 10px; margin-right: 10px; }
.push_1, .pull_1, .push_2, .pull_2, .push_3, .pull_3, .push_4, .pull_4, .push_5, .pull_5, .push_6, .pull_6, .push_7, .pull_7, .push_8, .pull_8, .push_9, .pull_9, .push_10, .pull_10, .push_11, .pull_11{ position: relative; }
/* `Grid >> Children (Alpha ~ First, Omega ~ Last) */
.alpha { margin-left: 0; }
.omega { margin-right: 0; }
/* `Grid >> 12 Columns */
.grid_1 { width: 60px; }
.grid_2 { width: 140px; }
.grid_3 { width: 220px; }
.grid_4, #sidebar { width: 300px; }
.grid_5 { width: 380px; }
.grid_6 { width: 460px; }
.grid_7 { width: 540px; }
.grid_8, #content { width: 620px; }
.grid_9 { width: 700px; }
.grid_10 { width: 780px; }
.grid_11 { width: 860px; }
.grid_12 { width: 940px; }
/* `Prefix Extra Space >> 12 Columns */
.container .prefix_1 { padding-left: 80px; }
.container .prefix_2 { padding-left: 160px; }
.container .prefix_3 { padding-left: 240px; }
.container .prefix_4 { padding-left: 320px; }
.container .prefix_5 { padding-left: 400px; }
.container .prefix_7 { padding-left: 560px; }
.container .prefix_6 { padding-left: 480px; }
.container .prefix_8 { padding-left: 640px; }
.container .prefix_9 { padding-left: 720px; }
.container .prefix_10 { padding-left: 800px; }
.container .prefix_11 { padding-left: 880px; }
/* `Suffix Extra Space >> 12 Columns */
.container .suffix_1 { padding-right: 80px; }
.container .suffix_2 { padding-right: 160px; }
.container .suffix_3 { padding-right: 240px; }
.container .suffix_4 { padding-right: 320px; }
.container .suffix_5 { padding-right: 400px; }
.container .suffix_6 { padding-right: 480px; }
.container .suffix_7 { padding-right: 560px; }
.container .suffix_8 { padding-right: 640px; }
.container .suffix_9 { padding-right: 720px; }
.container .suffix_10 { padding-right: 800px; }
.container .suffix_11 { padding-right: 880px; }
/* `Push Space >> 12 Columns */
.container .push_1 { left: 80px; }
.container .push_2 { left: 160px; }
.container .push_3 { left: 240px; }
.container .push_4 { left: 320px; }
.container .push_5 { left: 400px; }
.container .push_6 { left: 480px; }
.container .push_7 { left: 560px; }
.container .push_8 { left: 640px; }
.container .push_9 { left: 720px; }
.container .push_10 { left: 800px; }
.container .push_11 { left: 880px; }
/* `Pull Space >> 12 Columns */
.container .pull_1 { left: -80px; }
.container .pull_2 { left: -160px; }
.container .pull_3 { left: -240px; }
.container .pull_4 { left: -320px; }
.container .pull_5 { left: -400px; }
.container .pull_6 { left: -480px; }
.container .pull_7 { left: -560px; }
.container .pull_8 { left: -640px; }
.container .pull_9 { left: -720px; }
.container .pull_10 { left: -800px; }
.container .pull_11 { left: -880px; }
/* @end Grid */

/* @group Non-semantic Helpers */
/* for image replacement */
.ir { display: block; text-indent: -9999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
.icon16 { width: 16px; height: 16px; }
/* Hide for both screenreaders and browsers - css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; } 
/* Hide only visually, but have it available for screenreaders - www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden  */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }
/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
.clearfix:before, .clearfix:after, .wrap:before, .wrap:after { content: "\0020"; display: block; height: 0; visibility: hidden; } 
.clearfix:after, .wrap:after { clear: both; } 
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix, .wrap { zoom: 1; }
/* @end Non-semantic Helpers */

/* @group Cross-site elements */
/* LINKS */
a:link, a:visited { color: #008290; text-decoration: underline; }
a:hover, a:active { color: #000; text-decoration: none; }
.cleanlink a:link, .cleanlink a:visited { text-decoration: none; }
a.blocklink:link, a.blocklink:visited { color: #444; text-decoration: none; display: block; }
a.blocklink:hover, a.blocklink:active { color: #008290 !important; text-decoration: none; }
a.blocklink:hover h3, a.blocklink:active h3 { color: #008290 !important; }
a.blocklink:focus { outline: none; }

/* Style para a palavra "Público" (envolver num span com esta classe) */
.publicobrand { text-transform: uppercase; font-weight: bold; }

/* @group Publicidade */
.pub { margin-bottom: 2em; }
.pub span { display: block; text-align: right; font-size: 57.1% /*8px*/; margin: 0; padding: 0; 
	text-transform: uppercase; color: #aaa; }
.pub span abbr { outline: none; border: none; margin: 0; padding: 0;  }
.pub a img { border: none; outline: none; }
/* @end Publicidade */

/* @group Footer */
footer { font-size: 85.7% /*12px*/; color: #555; }
footer a:link, footer a:visited { color: #666; text-decoration: underline; }
footer a:hover, footer a:active { color: #008290; text-decoration: none; }
footer section.copyright { margin: 0; width: 300px; float: left;  }
footer a.logo { width: 60px; height: 63px; margin-right: 20px; float: left; }
footer a.logo:link, footer a.logo:visited { background: url(https://static.publicocdn.com/files/framework/img/footer-logop.png) no-repeat 0 0; }
footer a.logo:hover, footer a.logo:active { background-position: -60px 0; }
footer .fichatecnica { width: 620px; float: right; text-align: right; }
footer .fichatecnica li { margin-right: 20px; }
/* @end Footer */

/* @group Social Shares */
.socialshare { overflow: hidden; }
.socialshare .socialshare-twitter { float: left; width: 65px; }
.socialshare .socialshare-facebook { float: right; width: 65px; }
.socialshare .socialshare-count, .socialshare .socialshare-btn a { background: url(https://static.publicocdn.com/files/framework/img/socialshare-matrix.png) no-repeat; }
.socialshare .socialshare-btn, .socialshare .socialshare-btn a { width: 65px; height: 20px; display: block; text-indent: -9999px; }
.socialshare .socialshare-twitter .socialshare-btn a { background-position: -0px -0px; }
.socialshare .socialshare-facebook .socialshare-btn a { background-position: -65px -0px; }
.socialshare .socialshare-twitter .socialshare-btn a:hover { background-position: -0px -20px; }
.socialshare .socialshare-facebook .socialshare-btn a:hover { background-position: -65px -20px; }
.socialshare .socialshare-count { text-shadow: 0 1px 0 #fff; color: #555; text-align: center;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif; line-height: 1; }
/* Social Shares - Vertical / Notícia */
.socialshare.vert { width: 140px; height: 57px; }
.socialshare.vert .socialshare-count { width: 65px; height: 30px; padding: 5px 0 0; margin: 0 0 2px;
	background-position: -130px -0px; font-size: 21px; }
.socialshare.vert.whiteskin .socialshare-count { background-position: -195px -0px; }
/* Social Shares - Horizontal / Cabeça */
.socialshare.horiz { width: 220px; height: 20px; }
.socialshare.horiz .socialshare-twitter { width: 106px; }
.socialshare.horiz .socialshare-facebook { width: 106px; }
.socialshare.horiz .socialshare-count { width: 36px; height: 19px; padding: 3px 0 0 4px; margin: 0 0 0 2px; float: right;
	background-position: -260px 0px; font-size: 12px; font-weight: bold; }
.socialshare.horiz.whiteskin .socialshare-count { background-position: -260px -20px; }
/* @end Social Shares */

/* @group Publico Forms */
button, input, select, textarea {  background: #efefef; border: 1px solid #ccc;  }
/* Comentários Form */
.comentario-form small p { margin: 0; color: #888; }
.comentario-form form { position: relative; margin-bottom: 1.5em; }
.comentario-form button, .comentario-form input, .comentario-form textarea {  background: #fff;
	border: 1px solid #ccc; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;  }
.comentario-form label { display: block; }
.comentario-form .labelhighlight { color: #ccc; }
.comentario-nome input, .comentario-email input, .comentario-local input, .comentario-anonimo { padding: 5px; margin-bottom: 5px; }
.comentario-titulo input, .comentario-texto textarea { padding: 5px; margin-bottom: 5px; }
.comentario-anonimo input { vertical-align: middle; margin-right: 5px; }
.comentario-nome, .comentario-local { float: left; }
.comentario-email, .comentario-anonimo { float: right; }
/* Submit */
input.comentario-enviar { position: absolute; bottom: 9px; right: 0; display: block; padding: 3px 10px;
	color: #fff; border-color: #aaa; background: #aaa; 
	background: -moz-linear-gradient(top, #bbb, #888); 
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#bbb), to(#888)); }
input.comentario-enviar:hover { color: #fff; border-color: #3B3B38; background: #5A5A57;
	background: -moz-linear-gradient(top, #5A5A57, #3B3B38); 
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#5A5A57), to(#3B3B38)); }
input.comentario-enviar.loading { padding-right: 30px; background: #888 url(https://static.publicocdn.com/files/framework/img/ajax-loader.gif) no-repeat 95% center; border-color: #888; }
input.comentario-enviar.loading:hover { border-color: #888; cursor: wait; }
/* Status */
.comentario-form .error { background: #ffebeb; border-color: #ffc8c8; color: #ff8c96; }
.comentario-status { margin: 5px 0; padding: 5px 0; background: #ddd; 
	border: 1px solid #ccc; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }
.comentario-status p { margin: 0; padding: 0 5px; }
.comentario-status.error { background: #ff918c; border-color: #ff706d; color: #7a0404; }
.comentario-status.success { background: #aae591; border-color: #95cb80; color: #007512; }
/* @end Publico Forms */

/* @group Network Bar */
 #network, #publico-network {
	width: 100%;
	background: #444;
	font-size: 12px;
	display:block !important;
	background-image: none;
	line-height: 18px;
	*position: relative;
	*z-index: 2;
	margin-bottom: 0;
	overflow: visible;
	color: #666;
}

#network .wrap, #publico-network .wrap {
	width: 100%;
	border-bottom: 1px solid #333;
}

#network nav, #publico-network nav {
	width: 960px;
	margin: 0 auto;
	padding: 0 !important;
	overflow: hidden;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size-adjust: none;
	font-size: 12px;
	line-height: 1;
	text-shadow: none;
	display: block;
}
#network nav ul li, #publico-network nav ul li {
	margin: 0 10px;
}
#network nav a, #publico-network nav a {
	display: block;
	-moz-transition: color 0.1s linear, background-color 0.1s linear;
	-ms-transition: color 0.1s linear, background-color 0.1s linear;
	-o-transition: color 0.1s linear, background-color 0.1s linear;
	-webkit-transition: color 0.1s linear, background-color 0.1s linear;
	transition: color 0.1s linear, background-color 0.1s linear;
	-webkit-font-smoothing: antialiased;
	text-transform: uppercase;
	float: none;
	padding: 6px 10px 4px;
	line-height: 19px;
	color: #aaa;
	font-size: 11px;
	/* TODO */
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	-webkit-font-smoothing: antialiased;
}
#network nav a:hover, #publico-network nav a:hover {
	color: #eee;
}
#network nav .active a, #publico-network nav .active a {
	color: #eee;
}
#networklinks {
	float: left;
	text-transform: uppercase;
}
#globalinfo {
	float: right;
	color: #555;
}
#networklinks {
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-size: 11px;
	margin-left: -10px !important;
}
#globalinfo {
	font-size: 11px;
	line-height: 30px;
}
#globalinfo li.date {
	color: #eee;
	margin-right: 0;
	font-size: 11px;
}
#network .basicvertlist, #network .basichorizlist,
#publico-network .basicvertlist, #publico-network .basichorizlist {
	list-style: none outside none;
	margin: 0;
	overflow: hidden;
	padding: 0;
}
#network .basicvertlist li, #network .basichorizlist li,
#publico-network .basicvertlist li, #publico-network .basichorizlist li {
	list-style: none;
	display: block;
	float: left;
}
#network nav ul li,
#publico-network nav ul li {
	margin: 0;
}
#network .basichorizlist li,
#publico-network .basichorizlist li {
	float: left;
}
#network #networklinks,
#publico-network #networklinks {
	float: left;	
}
#network .brand a, #publico-network .brand a {
	background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    text-indent: -9999px;
    height: 16px;
    width: 14px;
    padding: 7px 10px 6px;
    background: url(https://static.publicocdn.com/files/framework/v2/img/network_logo.png) no-repeat 11px 8px;
}
#network .brand a:hover, #publico-network .brand a:hover {
	background-position: 11px -18px;
}
/* @end Network Bar */

/* @group Nav Icons */
#nav-social { width: 58px; height: 16px; padding-top: 1px; float: right; }
#nav-social li.facebook, #nav-social li.twitter { margin-left: 5px; }
#nav-social li a { background: url(https://static.publicocdn.com/files/framework/img/iconmatrix.png) no-repeat right -2px; display: block; }
#nav-social li.rss a { background-position: -50px 0; }
#nav-social li.rss a:hover { background-position: -50px -16px; }
#nav-social li.facebook a { background-position: -66px 0; }
#nav-social li.facebook a:hover { background-position: -66px -16px; }
#nav-social li.twitter a { background-position: -82px 0; }
#nav-social li.twitter a:hover { background-position: -82px -16px; }
/* @end Nav Icons */

/* @group Footer */
#mastfoot { width: 100%; position: relative; border-top: 1px solid #fff;  }
#mastfoot .wrap { width: 940px; margin: 0 auto; padding: 20px 0;  }
/* @end Footer */

/* @end Cross-site elements */

/* @group Print Styles
	inlined to avoid required HTTP connection www.phpied.com/delay-loading-your-print-css/  */
@media print {
  * { background: transparent !important; color: #222 !important; text-shadow: none !important; }
  a, a:visited { color: #222 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}
/* @end Print Styles */