.codigo-certidao {
	font-family: sans-serif;
}

a.btn {
	text-decoration: none;
}

#btnDownloadCertidao {
	background-color: #ddac56;
	border-color: #ddac56;
	margin-bottom: 0;
}

.pf-print-hint {
	margin: 4px 0 0px;
	text-align: left;
}

#btnPrintPf {
	background: transparent;
	border: 0;
	padding: 0;
	font-size: 12px;
	color: #5b6b84;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

#btnPrintPf:hover,
#btnPrintPf:focus {
	color: #2c3e63;
	text-decoration: underline;
}

#btnDownloadCertidao:hover,
#btnDownloadCertidao:focus {
	background-color: #c9983f;
	border-color: #c9983f;
}

.pf-action-bar {
	background: #f6f8fb;
	border: 1px solid #e1e7f0;
	border-radius: 8px;
	padding: 12px;
	margin: 0 0 16px;
	display: flex;
	align-items: center;
}

.pf-action-title {
	font-weight: bold;
	font-size: 16px;
	color: #2c3e63;
}

.pf-action-subtitle {
	font-size: 13px;
	color: #5b6b84;
	margin-top: 2px;
}

.pf-action-bar .col-sm-12.col-md-5 {
	display: flex;
	align-items: center;
}

.public-header {
	background: #3c5a85 !important;
	background-color: #3c5a85 !important;
}

.pf-pane {
	padding: 0 15px;
	background: #ffffff;
}

.cert-copyable {
	cursor: pointer;
}

.cert-copyable:hover,
.cert-copyable:focus {
	color: #1d4690;
}

.cert-aviso-legal {
	margin-top: 24px;
}

.pf-delay-note {
	margin: 0 auto;
	max-width: 980px;
	font-size: 14px;
	line-height: 1.35;
	color: #2c3e63;
}

.pf-delay-note b {
	display: inline-block;
	font-size: 12px;
	line-height: 1.25;
	letter-spacing: 0;
	color: #1d2e59;
}

.cert-capa {
	padding-bottom: 12px;
}

.cert-top-card {
	padding-top: 22px;
	padding-bottom: 22px;
	position: relative;
	overflow: hidden;
}

.cert-top-section {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	position: relative;
	z-index: 1;
}

.cert-top-qr {
	display: flex;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.cert-top-qr-image {
	width: 170px;
	height: auto;
	display: block;
}

.cert-top-content {
	position: relative;
	z-index: 1;
}

.cert-top-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 28px;
	max-width: 100%;
}

.cert-top-item {
	min-width: 0;
}

.cert-top-item .pf-field-value {
	word-break: normal;
	overflow-wrap: break-word;
}

.cert-top-watermark {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 0;
}

.cert-top-watermark-image {
	width: 165px;
	max-width: 100%;
	height: auto;
	opacity: 1;
}

.cert-top-item--wide {
	grid-column: span 2;
}

.cert-code-band {
	margin: 0 0 24px;
}

.cert-code-value {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.3;
	color: #111111;
	text-transform: uppercase;
	word-break: break-word;
}

.cert-meta-card {
	padding-top: 22px;
	padding-bottom: 22px;
}

.cert-meta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 28px;
}

.cert-meta-item {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.cert-meta-item--wide {
	grid-column: span 2;
}

.cert-notas {
	margin-bottom: 12px;
}

.cert-note-box {
	background: #f6f8fb;
	border: 1px solid #dce5f1;
	border-radius: 12px;
	padding: 16px 18px;
	text-align: left;
	margin-top: 12px;
	color: #324866;
}

.cert-note-box--warning {
	background: #fff7df;
	border-color: #f0d38a;
	color: #6c5316;
}

.pf-layout {
	display: flex;
	flex-wrap: wrap;
}

.pf-preview-col {
	order: 2;
}

@media (min-width: 992px) {
	.pf-preview-col {
		order: 1;
	}
}

.pf-sticky-details {
	position: sticky;
	top: 0;
	z-index: 2;
}

@media (max-width: 767px) {
	.pf-sticky-details {
		position: static;
	}
}

@media (max-width: 991px) {
	.pf-pane {
		padding: 0;
		width: 100%;
	}

	.cert-top-grid,
	.cert-meta-grid {
		grid-template-columns: 1fr;
	}

	.cert-top-section {
		grid-template-columns: 1fr;
	}

	.cert-meta-item--wide {
		grid-column: auto;
	}

	.cert-top-item--wide {
		grid-column: auto;
	}

	.cert-top-qr {
		justify-content: flex-start;
		order: 1;
	}

	.cert-top-content {
		order: 2;
	}

	.cert-top-watermark {
		position: static;
		transform: none;
		margin-top: 12px;
		order: 3;
	}

	.cert-top-qr-image {
		width: 180px;
	}

	.pf-layout {
		flex-direction: column;
	}

	.pf-preview-col {
		width: 100%;
		max-width: 100%;
	}
}

@page {
	size: A4 portrait;
	margin: 0;
}

@media print {
	html,
	body {
		background: #ffffff !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.public-header,
	.main-footer,
	.pf-action-bar,
	.pf-print-hint,
	.pf-aviso-legal,
	.pf-delay-note,
	.pf-delay-note *,
	.pf-aviso-legal *,
	.cert-aviso-legal,
	.cert-aviso-legal *,
	.callout,
	.btn,
	.msg-modo-testes,
	#codigoAcesso {
		display: none !important;
	}

	.cert-post-print-notices {
		display: none !important;
		margin: 0 !important;
	}

		.pf-warning-text {
			display: none !important;
		}

		.cert-note-box {
			background: #ffffff !important;
			border: 1px solid #dfe6ef !important;
			box-shadow: none !important;
			break-inside: avoid;
		}
		
		.pf-sticky-details {
			position: static !important;
			max-width: none !important;
		margin: 0 !important;
		padding: 0 !important;
		box-shadow: none !important;
		border: 0 !important;
	}

	.pf-print-area {
		display: block !important;
		width: 204mm;
		margin: 0 auto;
		padding: 0 10mm 0 2mm !important;
		box-sizing: border-box;
		overflow: hidden;
		break-after: avoid-page;
		page-break-after: avoid;
	}

	.cert-consulta .pf-print-area {
		break-after: auto !important;
		page-break-after: auto !important;
	}

	.pf-pane,
	.pf-capa {
		padding: 0 !important;
	}

	.pf-dev-banner {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.pf-capa {
		font-size: 14px !important;
		line-height: 1.3;
		color: #111111 !important;
		box-sizing: border-box;
		display: flex;
		flex-direction: column;
		min-height: 264mm;
		position: relative;
		padding-top: 0mm !important;
		padding-bottom: 0mm !important;
	}

	.cert-capa {
		min-height: 0 !important;
		display: flex !important;
		flex-direction: column !important;
		padding: 0 6mm 24mm !important;
	}

	.pf-capa-header {
		margin-bottom: 8px !important;
	}

	.pf-logo {
		height: 42px !important;
		margin-top: 0 !important;
		margin-bottom: 4px !important;
	}

	.cert-capa .pf-logo {
		height: 76px !important;
	}

	.pf-capa-title {
		font-size: 18px !important;
		margin-top: 4px;
	}

	.pf-card {
		padding: 10px 12px;
		margin-bottom: 12px;
		page-break-inside: avoid;
		box-sizing: border-box;
		max-width: 100%;
	}

	.pf-card-title {
		font-size: 14px !important;
		margin: 0 0 4px;
	}

	.cert-top-card,
	.cert-meta-card {
		padding: 28px 34px !important;
		margin-bottom: 28px !important;
	}

	.cert-top-section {
		grid-template-columns: 150px 1fr !important;
		gap: 18px !important;
		align-items: center !important;
		min-height: 0 !important;
	}

	.cert-top-watermark {
		position: absolute !important;
		right: 0 !important;
		top: 0 !important;
		bottom: 0 !important;
		display: flex !important;
		align-items: center !important;
		transform: none !important;
	}

	.cert-top-watermark-image {
		width: 156px !important;
		opacity: 1 !important;
	}

	.cert-top-qr {
		align-self: center !important;
	}

	.cert-top-qr-image {
		width: 160px !important;
	}

	.cert-top-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 16px 38px !important;
	}

	.cert-top-item .pf-field-label {
		font-size: 17px !important;
		font-weight: 700 !important;
		margin-bottom: 2px !important;
	}

	.cert-top-item .pf-field-value {
		font-size: 15px !important;
		line-height: 1.45 !important;
	}

	.cert-top-grid > .cert-top-item:nth-child(1),
	.cert-top-grid > .cert-top-item:nth-child(2) {
		grid-column: 1 / -1 !important;
	}

	.cert-top-item,
	.cert-meta-item {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.cert-code-band {
		margin-bottom: 24px !important;
	}

	.cert-code-value {
		font-size: 15px !important;
		line-height: 1.4 !important;
	}

	.cert-meta-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 24px 40px !important;
	}

	.cert-meta-item .pf-dados-item {
		gap: 10px !important;
		align-items: flex-start !important;
	}

	.cert-meta-item .pf-dados-item img,
	.cert-code-band .pf-dados-item img {
		width: 36px !important;
		height: 36px !important;
	}

	.cert-meta-item .pf-field-label,
	.cert-code-band .pf-field-label {
		font-size: 16px !important;
		font-weight: 700 !important;
		margin-bottom: 2px !important;
	}

	.cert-meta-item .pf-field-value,
	.cert-code-band .pf-field-value {
		font-size: 15px !important;
		line-height: 1.3 !important;
	}

	.pf-certifica-text {
		font-size: 13px !important;
		line-height: 1.25;
	}

	.pf-identidade-grid {
		grid-template-columns: 110px 1fr 110px !important;
		grid-template-areas: "qr body escudo";
		column-gap: 14px !important;
		row-gap: 0;
		align-items: flex-start;
		page-break-inside: avoid;
	}

	.pf-qr-link {
		grid-area: qr;
		width: 100px !important;
	}

	.pf-qr {
		width: 100% !important;
		margin: 0;
		align-self: flex-start;
	}

	.pf-escudo {
		grid-area: escudo;
		width: 100px !important;
		max-width: none !important;
		justify-self: end;
		align-self: center;
		transform: scale(1.15);
		transform-origin: center;
	}

	.pf-identidade-body {
		grid-area: body;
		padding-top: 0 !important;
		text-align: left !important;
		justify-self: start;
		align-self: flex-start;
		margin-top: -2px !important;
		margin-left: 0 !important;
		padding-left: 0px !important;
		display: flex;
		flex-direction: column;
		gap: 4px;
		min-width: 0;
	}

	.pf-field-label,
	.pf-field-value,
	.pf-notas,
	.pf-rodape {
		font-size: 12px !important;
	}

	.pf-dados-item img {
		width: 24px;
		height: 24px;
	}

	.pf-dados-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 4px 8px;
		page-break-inside: avoid;
	}

	.pf-dados-item {
		break-inside: avoid;
	}

	.pf-rodape-line {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 2px;
		column-gap: 6px;
		font-size: 12px !important;
		margin-bottom: 2px;
		page-break-inside: avoid;
		width: 100%;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
	}

	.pf-rodape-line span {
		white-space: nowrap;
	}

	.pf-rodape-line span:last-child {
		flex-basis: 100%;
		text-align: center;
		margin-top: 2px;
	}

	.pf-rodape {
		position: fixed !important;
		bottom: 30px;
		left: 0;
		right: 0;
		width: 100%;
		padding-bottom: 0 !important;
		margin-bottom: 0 !important;
		margin-top: auto !important;
		page-break-inside: avoid;
		display: flex;
		justify-content: center;
	}

	.cert-capa .pf-rodape {
		position: fixed !important;
		bottom: 8mm !important;
		left: 0 !important;
		right: 0 !important;
		transform: none !important;
		width: 100% !important;
		margin-top: 0 !important;
		padding: 0 !important;
		display: block !important;
		text-align: center !important;
	}

	.cert-capa .pf-rodape-line {
		font-size: 14px !important;
		margin-bottom: 10px !important;
		padding: 0 !important;
		max-width: 182mm !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	.pf-notas {
		margin: 2px 0 8px;
		page-break-inside: avoid;
		color: #111111 !important;
	}

	.cert-capa .pf-notas {
		font-size: 13px !important;
		line-height: 1.25 !important;
		margin: 15px 0 15px !important;
	}

	.cert-capa .pf-nota {
		margin-bottom: 8px !important;
	}

	.cert-capa--validade-extra .pf-notas {
		font-size: 13px !important;
		line-height: 1.25 !important;
		margin: 15px 0 15px !important;
	}

	.cert-capa--validade-extra .pf-nota {
		margin-bottom: 8px !important;
	}

	.cert-capa--validade-extra .cert-meta-card {
		padding-top: 26px !important;
		padding-bottom: 26px !important;
		margin-bottom: 24px !important;
	}

	.cert-capa--validade-extra .cert-code-band {
		margin-bottom: 21px !important;
	}

	.cert-capa--validade-extra .cert-meta-grid {
		gap: 20px 36px !important;
	}

	.cert-capa--validade-extra .cert-meta-item .pf-field-label,
	.cert-capa--validade-extra .cert-code-band .pf-field-label {
		margin-bottom: 1px !important;
	}

	.cert-capa--validade-extra .cert-meta-item .pf-field-value,
	.cert-capa--validade-extra .cert-code-band .pf-field-value {
		line-height: 1.25 !important;
	}

	.pf-nota-strong {
		color: #1d4690 !important;
	}

	.pf-dev-banner {
		background: #ffdddd !important;
		color: #e10000 !important;
		margin-top: 0 !important;
		border-radius: 0 !important;
	}

	.pf-print-area {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	.pf-dev-banner--top {
		position: fixed !important;
		top: 10px;
		left: 0;
		right: 0;
		margin: 0 !important;
		width: 100%;
	}

	.pf-dev-banner--bottom {
		position: fixed !important;
		bottom: 10px;
		left: 0;
		right: 0;
		margin: 0 !important;
		width: 100%;
	}

	.pf-card {
		background: #f7f7f7 !important;
	}

	.pf-print-area a[href]:after {
		content: "" !important;
	}

	.pf-nota-strong a,
	.pf-nota-strong a:visited,
	.pf-nota-strong a:hover,
	.pf-nota-strong a:focus {
		color: inherit !important;
	}

	.pf-capa,
	.pf-card,
	.pf-dev-banner {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}

.pf-capa {
	background: #ffffff;
	padding: 0 15px;
	font-family: Arial, sans-serif;
	color: #111111;
	font-size: 18px;
}

.pf-sticky-details {
	max-width: 980px;
	margin: 0 auto;
}

.pf-dev-banner {
	background: #ffdddd;
	color: #e10000;
	font-weight: bold;
	text-align: center;
	font-size: 12px;
	padding: 4px 6px;
	margin: 0;
	margin-left: -30px;
	margin-right: -30px;
}

.pf-rodape .pf-dev-banner {
	margin-left: -40px;
	margin-right: -40px;
	margin-top: 0;
	margin-bottom: -12px;
}

.pf-capa-header {
	text-align: center;
	margin-bottom: 12px;
}

.pf-logo {
	height: 68px;
	width: auto;
	margin-top: 20px;
	margin-bottom: 8px;
}

.pf-capa-title {
	font-size: 20px;
	font-weight: bold;
	margin-top: 8px;
}

.pf-card {
	background: #f7f7f7;
	border-radius: 15px;
	padding: 25px 25px;
	margin-bottom: 12px;
}

.pf-card-title {
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	margin: 0px 0 12px;
}

.pf-certifica-text {
	font-size: 16px;
	line-height: 1.45;
	text-align: justify;
}

.pf-identidade-grid {
	display: grid;
	grid-template-columns: 130px 1fr 130px;
	gap: 12px;
	align-items: center;
}

.pf-qr {
	width: 120px;
	height: auto;
	display: block;
}

.pf-escudo {
	width: 120px;
	height: auto;
	justify-self: end;
	transform: scale(1.1);
	transform-origin: center;
}

.pf-field {
	margin-bottom: 10px;
}

.pf-identidade-body {
	padding-top: 6px;
}

.pf-field-label {
	font-size: 15px;
	font-weight: bold;
	margin-bottom: 2px;
}

.pf-field-value {
	font-size: 15px;
	word-break: break-word;
}

.pf-dados-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 14px;
}

.pf-dados-item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.pf-dados-item img {
	width: 24px;
	height: 24px;
	flex: none;
}

.pf-notas {
	text-align: center;
	font-size: 15px;
	margin: 6px 0 32px;
}

.pf-nota {
	margin-bottom: 6px;
}

.pf-nota-strong {
	color: #1d4690;
}

.pf-nota-strong a,
.pf-nota-strong a:hover,
.pf-nota-strong a:focus,
.pf-nota-strong a:active {
	color: #1d4690;
	text-decoration: none;
}

.pf-sticky-details .pf-warning-text {
	font-size: 16px !important;
}

.pf-rodape {
	border-radius: 6px;
	padding: 0 10px;
	padding-bottom: 12px;
	text-align: center;
	font-size: 15px;
	color: #333333;
}

.pf-rodape-line {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 8px;
	font-size: 13px;
	margin-bottom: 12px;
}

.pf-rodape-line span i {
	margin-right: 6px;
}

.pf-rodape a {
	color: inherit;
	text-decoration: none;
}

.pf-aviso-legal {
	margin-top: 42px;
}

@media (max-width: 991px) {
	.pf-identidade-grid {
		grid-template-columns: 1fr;
		text-align: left;
	}

	.pf-escudo {
		justify-self: start;
		margin-top: 8px;
	}

	.pf-identidade-body {
		text-align: left;
		justify-self: start;
	}

	.pf-dados-grid {
		grid-template-columns: 1fr;
	}
}
