/**
 * This file provides the styles for printing.
 *
 * @todo: improve and finish
 */

body {
	font:
		normal 87.5%/1.3 Garamond,
		Baskerville,
		"Hoefler Text",
		"Nimbus Roman No9 L",
		serif;
	background-color: #fff;
	color: #000;
}

/* Hide certain sections */
audio,
video,
#dokuwiki__header .tools,
#dokuwiki__aside,
.dokuwiki .breadcrumbs,
.dokuwiki .toc,
#dw__toc,
#dokuwiki__pagetools,
#dokuwiki__footer {
	display: none;
}

h1,
h2,
h3,
h4,
h5,
caption,
legend {
	clear: both;
}

ul {
	list-style: disc outside;
}

ol {
	list-style: decimal outside;
}

ol ol {
	list-style-type: lower-alpha;
}

ol ol ol {
	list-style-type: upper-roman;
}

ol ol ol ol {
	list-style-type: upper-alpha;
}

ol ol ol ol ol {
	list-style-type: lower-roman;
}

/* Undo icons */
a:link,
a:visited {
	text-decoration: none;
	border-bottom: 1pt dotted;
	color: #333;
	background-color: inherit;
	background-image: none;
	padding: 0;
}

/* display href after link */
a.urlextern:after,
a.interwiki:after,
a.mail:after {
	content: " [" attr(href) "]";
	font-size: 90%;
}

/* Code blocks */
pre {
	font-family: monospace;
}

dl.code dt,
dl.file dt {
	font-weight: bold;
}

/* Images */
img,
svg {
	border-width: 0;
	vertical-align: middle;
}

img.media {
	margin: 0.2em 0;
}

img.medialeft {
	margin: 0.2em 1.5em 0.2em 0;
}

img.mediaright {
	margin: 0.2em 0 0.2em 1.5em;
}

img.mediacenter {
	margin: 0.2em auto;
}

mark {
	font-weight: bold;
}

blockquote {
	padding: 0 10pt;
	margin: 0;
	border: solid #ccc;
	border-width: 0 0 0 2pt;
}

[dir="rtl"] blockquote {
	border-width: 0 2pt 0 0;
}

/* tables */
table {
	border-collapse: collapse;
	empty-cells: show;
	border-spacing: 0;
	border: 1pt solid #ccc;
}

th,
td {
	padding: 3pt 5pt;
	margin: 0;
	vertical-align: top;
	border: 1pt solid #666;
	text-align: left;
}

[dir="rtl"] th,
[dir="rtl"] td {
	text-align: right;
}

th {
	font-weight: bold;
}

/* A bit of layout */

#dokuwiki__header {
	border-bottom: 2pt solid #ccc;
}

#dokuwiki__header h1 {
	font-size: 1.5em;
}

#dokuwiki__header h1 a {
	text-decoration: none;
}

.dokuwiki div.footnotes {
	clear: both;
	border-top: 1pt solid #000;
	margin-top: 10pt;
}
