

table#modulesTable td[data-column="name"] { font-weight: bold; text-align: left !important; }
body:not(.wowmaster) table#modulesTable	*[data-column="key"] { display: none; }
body:not(.wowmaster) table#dataTable	*[data-column="system-token"],
body:not(.wowmaster) table#dataTable	*[data-column="system-uuid"] { display: none; }

/*  /module/:id/data -> dataTable  */
table#dataTable td[data-type=textarea] p { font-size: 1em; margin: 0; white-space: pre-line; }

/* Hide non editable fields for current users */
body:not(.wowmaster) table#usersTable tbody tr:not( :has( td[data-column="actions"] a)) { display: none; }


/*  /home -> modulesTable .data  */
table.data#modulesTable td { text-align: center; }
table.data#modulesTable th:nth-child(1),
table.data#modulesTable th:nth-child(2),
table.data#modulesTable th:nth-last-child(1) { width: 1px; white-space: nowrap; }
table.data#modulesTable td:nth-child(1),
table.data#modulesTable td:nth-child(2),
table.data#modulesTable td:nth-last-child(1) { width: 1px; white-space: nowrap; text-align: center; }

/*  (from) vertical tablet  */
@media screen and (min-width: 768px)
{
	/*  /module/:id/dataset -> datasetsTable  */
	table.data#datasetsTable th:nth-child(1) { width: 1px; white-space: nowrap; }
	table.data#datasetsTable td:nth-child(1) { width: 1px; white-space: nowrap; text-align: center; }

	/*  /module/:id/dataset/set/:id -> datasetDataTable  */
	table.data#datasetDataTable td { text-align: center; }
	table.data#datasetDataTable th { white-space: nowrap; }
	table.data#datasetDataTable th:last-child { width: 100%; }
	table.data#datasetDataTable td:last-child { width: 100%; text-align: left; }

	/*  /module/:id/auth -> authTable  */
	table.data#authTable th:nth-child(1),
	table.data#authTable th:nth-child(6) { width: 1px; white-space: nowrap; }
	table.data#authTable td:nth-child(1),
	table.data#authTable td:nth-child(6) { width: 1px; white-space: nowrap; text-align: center; }

	/*  /module/:id/users -> usersTable  */
	table.data#usersTable th:nth-child(1),
	table.data#usersTable th:nth-child(4),
	table.data#usersTable th:nth-child(5) { width: 1px; white-space: nowrap; }
	table.data#usersTable td:nth-child(1),
	table.data#usersTable td:nth-child(4),
	table.data#usersTable td:nth-child(5) { width: 1px; white-space: nowrap; text-align: center; }

	/*  /module/:id/register -> registerTable  */
	table.data#registerTable th:nth-child(1),
	table.data#registerTable th:nth-child(7),
	table.data#registerTable th:nth-child(8) { width: 1px; white-space: nowrap; }
	table.data#registerTable td:nth-child(1),
	table.data#registerTable td:nth-child(7),
	table.data#registerTable td:nth-child(8) { width: 1px; white-space: nowrap; text-align: center; }

	/*  /module/:id/data -> dataTable  */
	table.data#dataTable th:nth-child(1),
	table.data#dataTable th:nth-child(2) { width: 1px; white-space: nowrap; }
	table.data#dataTable td:nth-child(1),
	table.data#dataTable td:nth-child(2) { width: 1px; white-space: nowrap; text-align: center; }
	table.data#dataTable td:nth-last-child(3),
	table.data#dataTable td:nth-last-child(2),
	table.data#dataTable td:nth-last-child(1) { text-align: center; }
	table.data#dataTable td[data-type=checkbox] { text-align: center; }
	table.data#dataTable td[data-type=textarea] p:not(:empty) { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; min-width: 30em; }

	/*  import csv -> csvTable  */
	table.data#csvTable th:nth-child(1) { width: 1px; white-space: nowrap; }
	table.data#csvTable td:nth-child(1) { width: 1px; white-space: nowrap; text-align: center; }

	/*  ecousersTable  */
	table.data#ecousersTable th:nth-child(1),
	table.data#ecousersTable th:nth-child(2) { width: 1px; white-space: nowrap; }
	table.data#ecousersTable td:nth-child(1),
	table.data#ecousersTable td:nth-child(2),
	table.data#ecousersTable td:nth-last-child(1) { white-space: nowrap; text-align: center; }

	/*  ecousersModules  */
	table.data#ecousersModules th:nth-child(1),
	table.data#ecousersModules th:nth-child(2),
	table.data#ecousersModules th:nth-child(3),
	table.data#ecousersModules th:nth-last-child(1) { width: 1px; white-space: nowrap; }
	table.data#ecousersModules td:nth-child(1),
	table.data#ecousersModules td:nth-child(2),
	table.data#ecousersModules td:nth-child(3),
	table.data#ecousersModules td:nth-last-child(1) { white-space: nowrap; text-align: center; }
}

/*  (only) vertical tablet  */
@media screen and (min-width: 768px) and (max-width: 1023px)
{
	/*  /module/:id/register -> registerTable  */
	table.data#registerTable th:nth-child(5),
	table.data#registerTable th:nth-child(6) { display: none; }
	table.data#registerTable td:nth-child(5),
	table.data#registerTable td:nth-child(6) { display: none; }
}
