.ribbon-wrapper-green,
#ui-layout-header,
#ui-layout-browse,
#ui-layout-ribbon,
#ui-layout-ribbon-resizer,
#ui-layout-panel,
#ui-layout-browse-resizer,
#ui-layout-panel-resizer,
#ui-layout-text-resizer,
#ui-layout-text .header,
.modal,
.modal-header,
.modal-footer,
.modal label,
#article-text-download,
footer, .close, #RDS,
#panel-viewer
{display: none !important;}
body, html {
	overflow: visible !important;
}
/* Don't display the alternative print options if the text modal is visible */
#articleImageDownload, #articlePdfDownload {
	display: none;
}
#l-print-article {
	display: block !important;
	font-size: 16pt;
}
#l-print-article p {
	font-size: 100%;
}
.ui-layout-pane {
	overflow: visible !important;
}

/* The text */
#ui-layout-text {
	width: 80% !important;
}
#fulltextContents .pageHeadings {
	border: 1px solid black;
	padding: 0.1in 0.5in;
	margin: 0.1in 0in;
}
#fulltextContents input, .prevNextPages {
	display: none;
}
#fulltextContents div.illustration * {
	display: none;
}
#fulltextContents .line label {
	display: none;
}
#fulltextContents {
	padding-top: 30cm;
	font-size: 14pt;
	height: auto !important;
	overflow: visible !important;
	position: absolute !important;
	display: inline-block !important;
}
.view-page #ui-layout-text {
	padding-top: 30cm;
}

/* If position: absolute is left on any parent element of the text block IE will chop the printing at 1 page */
@media print and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	 /* The above media query targets IE10+ which no longer support conditional comments.
	    print-ie.css has something similar which targets earlier versions */
	body, #ui-layout-main, #ui-layout-menu, #ui-layout-content, #ui-layout-text, #ui-layout-text .scrollable-content, #fulltextContents {
		position: static !important;
	}
}

/* The reader */
#ui-layout-reader .viewer_controls_surface, #ui-layout-reader .icon, #ui-layout-reader .info,
#ui-layout-reader .osd, #ui-layout-reader .thumbnail {
	display: none;
}
#ui-layout-main, #ui-layout-reader, #ui-layout-reader .well {
	top: 0 !important;
	left: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}
#ui-layout-reader, #ui-layout-reader .well {
	overflow: hidden !important;
	width: 90% !important;
	height: 30cm !important;
}
#ui-layout-reader .well .tile {
	position: absolute;
}
.print-only {
  display: block !important;
}
