/*
	.../plugins/ncvp-cas-talks/ncvp_cas_talks.css
	Only used by .../talks?admin. .../talks, ?past, ?future and ?id-nn work fine without it
	Coverage tool in Chrome seemed to miss something important in recording
	grep obvious selectors with % grep xxxx -ri --include=*.{js,php,css} winxp/apache/htdocs/wp/test/wp-content/plugins/ncvp-cas-talks
	Eliminate unused. Prefix classes and ids with nct-
	Aim is to minimise this file and enqueue it in the normal place, ie before theme styles
	Works with twentyseventeen-ncvp and tiny-framework-ncvp
*/

/* Datasheets */

table.nct-dset {
	width: 100%;
	border-collapse: collapse;
	table-layout: auto;						/* Made layout much better on mobile */
}

table.nct-dset td {
	padding: .1em .5em;
	vertical-align: top; 
	color: #000;
	font-size: .8em;
	border: #444 solid 1px;
/*	No improvement
	white-space: pre-wrap;
	word-break: break-word;
*/
}

table.nct-dset tr.hdr td {
	font-weight:bolder;
}

/* Datasheet controls */

table.nct-dsc {
	width: auto;
	margin-bottom: .4em;
}

table.nct-dsc td {
	border-style: hidden;
	padding-right: 15px;
}

div.nct-dsc {
	display: flex;
	flex-flow: row wrap;
	margin: 2px -2px 2px -2px;				/* Match margin in contained divs, with a bit more at the bottom */
	align-items: baseline;
}

.nct-dsc button {
	border-radius: 7px;
	padding: 0 5px;
	background-color: #ccc;
	color: #000;
	margin: 2px;
}

.nct-dsc button img {
	width: 15px;
	height: 15px;
	vertical-align: middle;
}

.nct-dsc div input {
	padding: 1px 2px;
	line-height: 1;
	background-color: #ffd;
	margin: 2px;
	display: inline;
	width: auto;
}

.ui-dialog textarea,
.ui-dialog div input {
	padding: 0em .2em;
	width: 100%;
}
