/* TABLES
--------- */
table{
	display:inline-table;
/*	display:block; */
	margin-bottom:1rem;
	border-collapse: collapse;
	border-spacing: 0;
	width:100%;
}
table caption, .caption{
	font-size:1.25em;
	text-align:left;
	padding-left:0.2em;
	line-height: 1.5;
}
table caption .addRowBtn{
	background-image:url(/sharedimg/plus.png);
	background-size: contain;
	border-color:transparent;
	float:right;
	height:1.5em;
	width: 1.5em;
	margin:0 0.5em 0.1em;
	opacity:0.5;
}
table caption .addRowBtn:hover{
	opacity:1;
}
tr { border:none; }
td, th {
	border:solid 1px #bbb;
	border-radius:0;
/*	min-height:1.1em;*/
	padding: 0.1em 0.15em;
}
thead th {
	vertical-align:middle;
	background-color:#aaa;
	color:#eee;
}
tfoot * {
	vertical-align:middle;
	border:none;
}
table th.hidden {
	display: initial;
	border:transparent;
}
tr:hover td, tr.selected td{
	background:#ddd;
}
tr td.hiddenCell{
	border-color:transparent;
	background:none!important;
}
tr td.hiddenCell *{
	height:1.5em;
/*	visibility:hidden; */
	display:none;
}
tr:hover td.hiddenCell *,
tr.selected td.hiddenCell *{
/*	visibility:visible;*/
	opacity:0.5;
	display:block!important;
}
tr:hover td.hiddenCell img:hover{
	opacity:1;
}
td * {
	border:none;
	padding:0;
	margin:0;
	background:none;
	vertical-align:middle;
}
td>span { overflow-wrap: anywhere; }
td input[type="text"], td textarea, td select {
	width:100%;
}
tr:hover td.hiddenCell{
	background:none;
}
/*
tr:hover td[disabled]:hover{
	background-color:#ddd!important;
}
*/
td textarea {
/*	height:auto;*/
	padding-top:2px;
	overflow:hidden;
	resize:none;
}
td select {
	padding:0;
/*	height:1rem;*/
}
td select:hover {
	border:none!important;
}
td *:focus {
/*	border:1px solid #aaa;
	border-radius:0.25em;
/*	padding:0.1em 0.3em;*/
/*	border:none!important;*/
/*	min-height:100% !important;*/
	cursor:text;
}
td input[type="checkbox"]:focus {
	cursor:default;
}
td img { height:1rem; }
tr.trFoot, tr.trFoot td, tr.trFoot td:hover  {
	border-color:transparent;
	background:none;
}
table td p{ display:flex;}
td p img{ height:0.8rem;}
table.static {
	table-layout: fixed;
	width: 100%;
	margin-bottom:0;
}
table.static tr{
	border-top:solid 1px #bbb;
}
table.static tr:last-child{
	border-bottom:solid 1px #bbb;
}
table.static td{
	padding:0.2em;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	border:none;
}
table.static tr td:last-child{width:24px;max-width:24px;}

table.noHead thead { display:none; }

