table.table tr.headers th.wicket_orderUp {
	border-top: solid 1px black;
	border-bottom: solid 1px black;
	background-image:
		url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAM0lEQVQYlWNgQALZ2VH/GQiB7Oyo/zBMlCKcirEpImgydcDWrVv/48JEKSbKZKKcgUsOACn4VNGF2fReAAAAAElFTkSuQmCC');
	background-position: 6px center;
	padding-left: 18px;
}

table.table tr.headers th.wicket_orderDown {
	border-top: solid 1px black;
	border-bottom: solid 1px black;
	background-image:
		url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAM0lEQVQYlWNgQAJbt279z0AIbN269T8ME6UIp2JsigiaTB2QnR31HxcmSjFRJhPlDFxyAIexVNHM3DnPAAAAAElFTkSuQmCC');
	background-position: 6px center;
	padding-left: 18px;
}

table.table tr.headers th.wicket_orderNone {
	background-image:
		url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAALklEQVQYlWNgQAJbt279z0AIbN269T8ME6UIp2JsigiaTB1AktUkuY8kT+BTBAAvyGPBvYBPSQAAAABJRU5ErkJggg==');
	background-position: 6px center;
	padding-left: 18px;
}

table.table tr.headers th {
	background-position: right center;
	background-repeat: no-repeat;
	padding-right: 18px;
	vertical-align: middle;
}

/* For the card style responsive table */
@media screen and (max-width: 768px) {
	.table-to-cards thead {
		display: none;
	}
	.table-to-cards tbody tr {
		display: block;
		margin-bottom: 1rem;
		border: 1px solid #dee2e6;
		border-radius: 0.25rem;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		background-color: white;
		padding: 0.5rem;
	}
	.table-to-cards td {
		display: block;
		text-align: right !important;
		padding: 0.5rem;
		border-top: 0;
		border-bottom: 1px solid #dee2e6;
	}
	.table-to-cards td:last-child {
		border-bottom: 0;
	}
	.table-to-cards td:before {
		content: attr(data-label);
		float: left;
		font-weight: bold;
	}
	.table-to-cards td:has(div:empty):before, 
	.table-to-cards td:empty:before,
	.table-to-cards td:has(div:only-child:blank):before,
	.table-to-cards td.whitespace-only:before,
	.table-to-cards td:blank:before {
		content: attr(data-label) "\00a0";
		/* Adds a non-breaking space after the label */
	}
	.table-to-cards td:has(div:empty)::after, 
	.table-to-cards td:empty:after,
	.table-to-cards td:has(div:only-child:blank)::after,
	.table-to-cards td.whitespace-only:before,
	.table-to-cards td:blank:after {
		content: "\00a0"; /* Adds a non-breaking space after the empty div */
		display: inline-block;
	}
	
	.table-to-cards td.whitespace-only {
		display: none;
	}
}