@import url(base.css);

/* @group page settings */

@page {
	margin: 2.5cm 2cm;
}

/* @end */

/* @group hide / show */

#site-title,
#utilities,
#nav,
#trail,
#secondary-nav,
#tools,
#foot,
#bod-list,
#bod-display,
a.button,
a.zoom-image .zoom,
.infobox-tab-group .infobox-tab,
.jump,
.sidebox,
.sidespacer,
#search-bar {
	display: none;
}

.bod-person {
	page-break-after: always;
}

.infobox-tab-group .infobox-inactive,
.infobox-tab-group .infobox h3,
.infobox-tab-group .corners {
	display: block;
}

/* @end */

/* @group finetuning */

#head {
	background: none !important;
}

#logo img {
	display: block;
	margin-left: 1px;
	margin-top: 0;
}

img, table {
	float: none !important;
}

h1 {
	margin-top: 0;
	text-indent: -0.04em;
}

hr {
	border-bottom: 1px solid #4e4e4e;
}

.infobox-tab-group .infobox {
	margin-top: 4.583em;
}

.infobox th,
.infobox td {
	border-bottom: 0;
}

th, td {
	border-bottom: 1px solid #d0d0d0;
}

tr.trstyle1 td,
td.tdstyle1 {
	border-bottom: 2px solid #4e4e4e;
	border-top: 2px solid #4e4e4e;
}

tr.trstyle2 td,
td.tdstyle2 {
	border-bottom: 2px solid #4e4e4e;
}

tr.trstyle3 td,
td.tdstyle3 {
	border-bottom: 2px solid #4e4e4e;
}

/* @end */

/* @group dim */

.dimmed #content,
.dimmed #dim,
.dimmed #dim-box .controls,
.dimmed #dim-box .corners {
	display: none;
}

.dimmed #dim-box {
	margin: 0 !important;
	position: static !important;
}

/* @end */

/* @group horrible hack to prevent firefox from creating empty pages */

html>/**/body caption {
	background: transparent;
	border: 0;
	display: block;
	margin-right: -600px; /* should be enough.. */
}

html>/**/body table {
	overflow: hidden;
}

html>/**/body caption + tbody {
	border-top: 2px solid #4e4e4e;
}

/* @end */
