﻿.igp-table thead {
	border-top: 1px solid;
	border-bottom: 1px solid;
	border-color: var(--bs-primary);
}

	.igp-table thead th {
		color: var(--bs-secondary-color);
		font-weight: bold;
	}

	.igp-table thead button {
		background: none;
		border: none;
		padding: 0;
		font: inherit;
		color: var(--bs-secondary-color);
		cursor: pointer;
		display: inline;
	}

		.igp-table thead button:hover {
			text-decoration: underline;
		}


[data-bs-theme="dark"] .igp-table thead {
	border-color: lightgrey;
}

.igp-table tr > td:not(:first-child):not(:last-child), .igp-table tr > th:not(:first-child):not(:last-child) {
	border-left-width: 1px;
	border-right-width: 1px;
}

.igp-table tr.active-row > td {
	background-color: yellow;
}

[data-bs-theme="dark"] .igp-table tr.active-row > td {
	background-color: lightslategray;
	color: black;
}

.igp-table td {
	padding-top: 0;
	padding-bottom: 0;
}

.igp-table th {
	padding-top: 1px;
	padding-bottom: 1px;
}

.igp-table > tbody > tr:first-child > td {
	padding-top: 5px;
}

/* new & expanded row (250726) */
.igp-table > tbody > tr.expanded-row > td:first-child {
	border-left: 1px solid var(--bs-body-color);
}

.igp-table > tbody > tr.expanded-row > td:last-child {
	border-right: 1px solid var(--bs-body-color);
}

.igp-table > tbody > tr.expanded-row:not(:first-child) > td {
	border-top: 1px solid var(--bs-body-color);
}

.igp-table > tbody > tr:has(+ tr.expanded-row:not(:first-child)) > td {
	border-bottom: none;
}

.igp-table > tbody > tr.new-row > td {
	--bs-table-bg-state: var(--bs-body-bg);
	border: 1px solid var(--bs-body-color);
	border-top: 0;
}

.new-row-container {
	padding: 10px;
}
/* ended new & expanded row (250726) */
