/* CSS Document */

/* Print Style Sheet */
@media print {
body {
	width: 100%;
	margin: 2cm 0 0 1cm;
	font: 12pt Georgia, "Times New Roman", Times, serif !important;
	line-height: 1.3;
	background: #fff !important;
	color: #000;
}
#header {
	display: none;
}
#content {
	float: none;
	width: 85%;
}
/* Defining all page breaks */
a {
	page-break-inside: avoid
}
blockquote {
	page-break-inside: avoid;
}
h1, h2, h3, h4, h5, h6 {
	page-break-after: avoid;
	page-break-inside: avoid
}
img {
	page-break-inside: avoid;
	page-break-after: avoid;
}
pre {
	page-break-inside: avoid
}
ul, ol, dl {
	page-break-before: avoid
}
/* Text formatting */

#content a:link, #content a:visited {
	color: #520;
	background: transparent;
	font-weight: bold;
	text-decoration: underline;
}
#content a:link:after, #content a:visited:after {
	content: " (" attr(href) ") ";
	font-size: 90%;
}
#content a[href^="/"]:after {
	content: " (https://www.thetakeoverpanel.org.uk" attr(href) ") ";
}
h1 {
	font-size: 24pt;
	font-family: Arial, sans-serif;
}
h2, h3, h4 {
	font-size: 14pt;
	margin-top: 25px;
	font-family: Arial, sans-serif;
}

/* Tables */

table {
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid black;
}

th {
	background-color: #000;
	color: #FFF;
	font-weight:bold;
}

th, td {
	text-align: left;
	padding: 3mm;
}

/* Hiding elements */

#mediumfrontdiv {
	display: none;
}
#insidesidebar {
	display: none;
}
#insidesupporting {
	display: none;
}
#footer {
	display: none;
}
/* Adding custom messages before and after the content */
#content:after {
	content: "Printed from www.thetakeoverpanel.org.uk. Copyright 2016+ The Takeover Panel";
	color: #999 !important;
	font-size: 1em;
	padding-top: 30px;
}
#content:before {
	content: "The Takeover Panel";
	color: #777 !important;
	font-size: 1em;
	padding-top: 30px;
	text-align: center !important;
}
}
