/* Copyright 2007 Devious Fish.  All rights reserved. */
/* @(#) $Id: m4print.css 165 2022-10-07 14:27:28Z perette $ */

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

DIV#canvas {
	border: none;
}

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

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

/* Translators don't work on paper. */
#m4translator {
	display: none;
}

/* Don't show tab control, just unroll text */
ul.tabs {
	display:none !important;
}
DIV.tabcontent > DIV {
	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;
}


/* 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: initial !important;
}       

.screenonly,
.notprint {
        display: none !important;
}       

