/* Authentic Digital Print-focused Stylesheet for JEC */
	/* JEC Specific styles */
nav { display: none!important; }
footer { display: none!important; }
main > div,
main > article > div {
	margin: 0.5cm auto!important;
	padding-top: 0!important;
	padding-bottom: 0!important;
}
.home span, .testimonial p {
	font-size: 15pt!important;
}
.vrnt-table {
	page-break-inside: avoid;
}
.vrnt-table h4 {
	margin: 0!important;
	font-size: 10pt!important;
}
.vrnt-table table,
.vrnt-table tbody,
.vrnt-table thead,
.vrnt-table tr,
.vrnt-table td {
	page-break-inside: auto;
}

	/* Default Styles */
@page {
    margin: 0.5cm;
}
body {
	font-size: 10pt!important;
}
* {
    background: transparent !important;
    color: black !important;
    text-shadow: none !important;
    box-shadow: none !important;
    border: none!important;
    filter: none !important;
    -ms-filter: none !important;
    min-height: 0!important;
}
a,
a:visited {
    text-decoration: underline;
    margin: 0!important;
    padding: 0!important;
}
a[href]:after {
    content: " (" attr(href) ")";
    font-size: 90%;
}
a[href^="/"]:after { 
	content: " (https://jec.org.uk" attr(href) ") ";
}
abbr[title]:after {
    content: " (" attr(title) ")";
}
.ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
    content: "";
}
img {
	width: auto!important;
	max-width: 100%!important;
}
pre,
blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
}
thead {
    display: table-header-group;
}
tr,
img {
    page-break-inside: avoid;
}
form {
	display: none!important;
}
h1, h2 {
	font-size: 14pt!important;
}
h3 {
	font-size: 12pt!important;
}
h4, h5 {
	font-size: 11pt!important;
}

h1, h2, h3, h4, h5,
p, ul, li {
	margin: 0.5cm 0!important;
}
h2,
h3,
h4 {
    orphans: 3;
    widows: 3;
}
h2,
h3,
h4 {
    page-break-after: avoid;
}