/* Copyright 2007 Devious Fish.  All rights reserved. */
/* $Id: m4print.css,v 1.1 2012/05/18 13:28:16 perette Exp perette $ */

/* Whatever the screen background, don't waste people's ink. */
BODY {
	background: white !important;
	color: black !important;
}

DIV#canvas {
	border: none;
}

/* Disable the navigation menus - they don't work on paper. */
UL#navigation {
	display: none;
}

UL#navigationbar {
	display: none;
}

/* Never show the cut controls. */
A.m4cuttoggle SPAN.m4cutclosed,
A.m4cuttoggle SPAN.m4cutopen,
A.m4cutprompt {
        display: none !important;
}

/* Don't show tab control, just unroll text */
ul#tabs {
	display:none !important;
}
DIV.tabcontent,
.tabheading {
	display:block !important;
}

/* Don't print links in blue or underline them. */
A {
	color: inherit !important;
	text-decoration: inherit !important;
}
ACRONYM, ABBR {
	text-decoration: none;
	font-style: italic;
}
/* Expand acronyms, but not if they're in titles */
ACRONYM:after, ABBR:after {
	font-style: normal;
	content: ' (' attr(title) ') ';
}
/* Don't expand in hCalendar entries */
.vevent .time ABBR:after {
	content: '';
}
H1 ACRONYM:after, H1 ABBR:after,
H2 ACRONYM:after, H2 ABBR:after,
H3 ACRONYM:after, H3 ABBR:after,
H4 ACRONYM:after, H4 ABBR:after,
H5 ACRONYM:after, H5 ABBR:after,
H6 ACRONYM:after, H6 ABBR:after {
	content: '';
}

/* Always print cut bodies */
SPAN.m4cut {
	display: inline !important;
}
DIV.m4cut {
        display: block !important;
}


/* Show the page URL so the user can refer back, but hide affiliations. */
DIV#footer DIV#location {
	display: block;
}

DIV#affiliations {
	display: none;
}

/* Hide videos. */
DIV.m4video OBJECT {
	display: none;
}
DIV.m4videotrigger {
	display: none !important;
}
DIV.m4videoimage {
	position: relative !important;
}

/* The DIV for the canvas tells us what to print.
   Depending on what needs to be printed, we need to approach
   the styles differently.
   For no gutters: Just display the canvas and content as blocks.
   For a left gutter: Display the canvas as a block, float the left
	gutter, and display the content as a block.
   For anything else (which will involve a right gutter):
	Keep the screen layout to keep the tables.
 */
#canvas.printnogutter,
#canvas.printleftgutter {
	display: block;
}

.printnogutter #leftcolumn,
.printnogutter #rightcolumn,
.printleftgutter #rightcolumn,
.printrightgutter #leftcolumn,
.printnogutter #leftcolumn,
.printnogutter #rightcolumn,
.printleftgutter #rightcolumn,
.printrightgutter #leftcolumn {
	display: none;
}
.printleftgutter #leftcolumn {
	display: block;
	float: left;
}

.printnogutter #middlecolumn,
.printleftgutter #middlecolumn {
	display: block;
}


/* Generic classes for "printonly" and "screenonly". */
.printonly {
        display: block;
}       

/* But we need to set inline where appropriate.  Should probably handle
 * other special cases too. */
SPAN.printonly, EM.printonly, I.printonly, B.printonly, STRONG.printonly {
	display: inline;
}

.screenonly,
.notprint {
        display: none;
}       

