/* Remove all unused elements. */
.noprint, #header, .breadcrumb, input[type='button'], input[type='submit'], input[type=file]::file-selector-button,
a.print, a.button, input.button, .checkBoxOnly, .footer__scroll, span.ui-button {
	display: none !important;
}

/* Remove background. */
div.content {
	background: none;
	padding: 0;
}

input:disabled, select:disabled, textarea:disabled {
	opacity: 0.7;
}

.ui-autocomplete {
	cursor: default !important;
}

.ui-autocomplete input:disabled + button {
	background-color: transparent;
	cursor: default !important;
	opacity: 0.4;
}

li.ui-tabs-header {
	pointer-events: none;
}

button, .buttons {
	display: none !important;
}

.content-header h2 button {
	display: none !important;
}

.stickyActions {
	display: none;
}

/* Use transparent footer */
#footer {
	color: inherit;
	background: none;
}

/* Remove all links from footer */
#footer {
	border-bottom: none;
}

#footer a {
	display: none;
}

/* Display all links without decoration. */
a:not(.button), a:not(.button):hover, a:not(.button):focus, a:not(.button):active {
	color: inherit !important;
	text-decoration: none !important;
	cursor: text;
}

/* Remove all table actions. */
table th>a span {
    background: none !important;
    padding-right: 0 !important;
}

.entityTable .scrollContainer {
	max-height: inherit;
	overflow-x: hidden;
}

@-moz-document url-prefix(){
	.entityTable .scrollContainer {
		display: grid;
	}

	@media (orientation: landscape) {
		.nfk-col-md-6 {
			width: 50%;
		}

		.nfk-col-md-3 {
			width: 25%;
		}
	}

	@media (orientation: portrait) {
		.nfk-col-md-6 {
			width: 100%;
		}

		.nfk-col-md-3 {
			width: 50%;
		}
	}
}

thead {
	display: table-header-group;

	tr {
		break-inside: avoid;
	}
}

tbody tr {
	break-inside: avoid;
}

#env {
	position: absolute;
}

#env a {
	display: none;
}

/* Position the print menu. */
#printMenu {
	position: fixed;
	top: 2em;
	right: 3em;
	z-index: 5000;
}

#printMenu a.button {
	display: inline-block !important;
	cursor: pointer;
}

@MEDIA print {
	/* Remove print buttons. */
	#printMenu {
		display: none;
	}

	/* Print rating icons from Primefaces. */
	.ui-rating-star, .ui-rating-cancel {
    	-webkit-print-color-adjust: exact !important; /* Chrome, Safari */
		color-adjust: exact !important;  /* Firefox */
	}

}
