/* layout */

table.fi-decl {
	border-spacing: 1px; /* replacement for cellspacing="1" */
	text-align: left;
	display: table;
	border-collapse: collapse;
}

.fi-decl th, .fi-decl td {
	vertical-align: top;
	padding: 2px; /* replacement for cellpadding="2" */
	padding-right: 10px;
}

table.fi-decl-poss {
	text-align: left;
}

.fi-decl-maybenote {
	width: 100px;
}

table.fi-decl-old {
	width: 100%;
}

table.fi-decl-old th.thnum {
	width: 33%;
}

.fi-decl th.vsToggleElement {
	padding: 2px;
}

.fi-decl .narrow-space {
    font-size: 25%;
}

.fi-decl-poss-subtable {
	width: 100%;
}

/* appearance */

div.NavHead.fi-decl-header-row, div.NavHead.fi-decl-header-row:hover, div.NavHead.fi-decl-header-row:active {
	background-image: none;
}

table.fi-decl, .fi-decl-poss, .fi-decl-poss .fi-decl {
	border-style: solid;
	border-width: 1px;
}

table.fi-table {
	border-collapse: collapse;
}

table.fi-table th, table.fi-table td {
	border: 1px solid var(--border-color-base, #aaaaaa);
}

/* colors */

table.fi-decl,
table.fi-table { border: 1px solid var(--wikt-palette-blue-2,#CCCCFF); }
div.NavHead.fi-decl-header-row,
div.NavHead.fi-decl-header-row:hover,
div.NavHead.fi-decl-header-row:active,
div.NavHead.fi-table-header-row,
div.NavHead.fi-table-header-row:hover,
div.NavHead.fi-table-header-row:active,
.fi-decl th,
.fi-table th,
.fi-table .fi-table-notes { background-color: var(--wikt-palette-blue-2,#CCCCFF); }
.fi-decl td,
.fi-table td { background-color: var(--wikt-palette-blue-0,#F2F2FF); border: 1px solid var(--wikt-palette-blue-1,#E6E6FF); }
.fi-decl-poss { border: 1px solid var(--wikt-palette-cyan-2,#CCEEFF); background: var(--wikt-palette-cyan-2,#CCEEFF); }
.fi-decl-poss .fi-decl-poss-header { background: var(--wikt-palette-cyan-2,#CCEEFF); }
.fi-decl-poss .fi-decl { border: 1px solid var(--wikt-palette-cyan-2,#CCEEFF); }
.fi-decl-poss .fi-decl th { background: var(--wikt-palette-cyan-1,#DDF4FF); }
.fi-decl-poss .fi-decl td { background-color: var(--wikt-palette-cyan-0,#F2FAFF); border: 1px solid var(--wikt-palette-cyan-1,#DDF4FF); }