/**
 * Leitor de PDF do artigo (pdfJsViewer): barra fina no topo e o PDF ocupando o resto da tela.
 * O ioleBoca não tem tema pai, então as regras do tema padrão (styles/pages/viewPdf.less) não chegam aqui;
 * estas são as mesmas regras, nas cores da BOCA e sem os ícones do FontAwesome (o tema não carrega).
 */
.header_view {
	z-index: 2;
	position: relative;
	height: 40px;
	background: #1a1a1a;
	font-family: "Noto Sans", Helvetica, Arial, sans-serif;
}

.header_view a {
	line-height: 40px;
	text-decoration: none;
	color: #fff;
}

.header_view .return {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	background: #dddcdc;
	color: #1a1a1a;
	text-align: center;
	font-size: 18px;
}

.header_view .return::before {
	content: "\2190";
}

.header_view .title {
	display: block;
	padding: 0 160px 0 56px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 14px;
	font-weight: 700;
}

.header_view .download {
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 18px;
	background: #dddcdc;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 700;
}

.header_view .download::before {
	content: "\2193";
	margin-right: 6px;
}

.header_view .return:hover,
.header_view .return:focus,
.header_view .download:hover,
.header_view .download:focus {
	background: #fff;
}

.header_view .title:hover,
.header_view .title:focus {
	text-decoration: underline;
}

.header_view .pkp_screen_reader,
.header_view .return .pkp_screen_reader {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.galley_view {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow-y: hidden;
}

.galley_view iframe {
	display: block;
	width: 100%;
	height: 100%;
	padding-top: 40px;
	border: none;
	box-sizing: border-box;
}

.galley_view.galley_view_with_notice iframe {
	padding-top: 120px;
}

.galley_view .galley_view_notice {
	position: absolute;
	top: 40px;
	width: 100%;
	height: 80px;
	background: #f6e0b4;
}

.galley_view .galley_view_notice_message {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	transform: translate(-50%, -50%);
	color: #1a1a1a;
	font-weight: 700;
	text-align: center;
}

@media (max-width: 767px) {
	.header_view .title { padding-right: 56px; font-size: 13px; }
	.header_view .download { width: 40px; padding: 0; text-align: center; font-size: 0; }
	.header_view .download::before { margin: 0; font-size: 18px; }
	.header_view .download .label { display: none; }
}
