main > dialog.ticket-history
{
	width: 100%;
	height: 100%;
	align-items: stretch;
	overflow: hidden;
}

main > dialog.ticket-history > header
{
	position: relative;
	padding: 0.5em;
}
main > dialog.ticket-history > header button.close
{
	position: absolute;
	right: 0.5em;
}


main > dialog.ticket-history section.ticketsH
{
	margin: 0;
	display: flex;
	flex-flow: row nowrap;
	overflow: auto;
	align-items: flex-start;
	flex: 1 1 auto;
	border-spacing: 0;
}
main > dialog.ticket-history table.tickets
{
	display: table;
	flex: 1 1 auto;
	min-width: 50em;
	border-spacing: 0;
	border: 2px solid white;
	margin: 0 0.5em 0.5em;

}

main > dialog.ticket-history table.tickets > menu
{
	display: flex;
	flex-flow: column nowrap;
	align-items: stretch;
	justify-content: flex-start;
	overflow-x: hidden;
	overflow-y: auto;
}


main > dialog.ticket-history table.tickets > thead
{
	font-weight: bold;
	position: sticky;
	top: 0;
	background-color: black;
	z-index: 1;
}

main > dialog.ticket-history table.tickets > thead > tr > th
{
	cursor: pointer;
	user-select: none;
	border-bottom: 1px solid white;
	padding-right: 1.5em;
}

main > dialog.ticket-history table.tickets > tbody > tr
{
	background-color: #222;
}

main > dialog.ticket-history table.tickets > tbody > tr:nth-child(odd)
{
	background-color: #444;
}


main > dialog.ticket-history table.tickets td,
main > dialog.ticket-history table.tickets th
{
	position: relative;
	padding: 0.2em;
	overflow: hidden;
	box-sizing: border-box;
	border-right: 1px dotted lightgray;
}

main > dialog.ticket-history table.tickets td > *
{
	display: inline-block;
	min-width: 4em;
}

main > dialog.ticket-history table.tickets td > input,
main > dialog.ticket-history table.tickets td > select
{ 
	border: 0;
	margin: 0;
	padding: 0;
	opacity: 1;
	background-color: transparent;
	color: white;
	-webkit-appearance: none;
	appearance: none;
}

main > dialog.ticket-history table.tickets td.text.short > span
{
	min-width: 6em;
	max-width: 12em;
}
main > dialog.ticket-history table.tickets td.text.long > span
{
	min-width: 8em;
	max-width: 18em;
}


main > dialog.ticket-history table.tickets td[data-value="false"],
main > dialog.ticket-history table.tickets td[data-value="true"]
{
	text-align: center;
}
main > dialog.ticket-history table.tickets td[data-value="false"] > span,
main > dialog.ticket-history table.tickets td[data-value="true"] > span
{
	min-width: 1.4em;
	max-width: 1.4em;
	text-align: center;
	border-radius: 0.5em;
}

main > dialog.ticket-history table.tickets td[data-value="false"] > span
{
	background-color: black;
	color: white;
	border: 1px solid white;
}
main > dialog.ticket-history table.tickets td[data-value="false"] > span::after
{
	content : "✗";
}

main > dialog.ticket-history table.tickets td[data-value="true"] > span
{	
	background-color: white;
	color: black;
	border: 1px solid black;
}
main > dialog.ticket-history table.tickets td[data-value="true"] > span::after
{
	content : "✓";
}




main > dialog.ticket-history table.tickets th.sort
{
	text-decoration: underline;
}

main > dialog.ticket-history table.tickets th.sort::after
{
	text-decoration: none;
	content: "⮙";
	position: absolute;
  right: 0.2em;
}
main > dialog.ticket-history table.tickets th.sort.ascending::after
{
	content: "⮛";
}
