/*
 * TNG primary and secondary record-page tabs.
 *
 * These rules style TNG-generated tabs on person and family pages. Keep them
 * separate from templatestyle.css so tab-specific overrides remain easy to
 * find when TNG changes its tab markup.
 */
ul#tngnav {
	margin: 0 0 0 10px;
	padding: 0;
	list-style: none;
	border: 0;
}

#tngnav li {
	float: left;
	display: block;
	margin: 0 0 0 1px;
	padding: 0;
}

#tngnav a {
	display: block;
	position: relative;
	margin: 0;
	padding: 0.45em 1em 0.35em 8px;
	border-right: 1px solid var(--t500-color-border-strong);
	border-radius: 4px 4px 0 0;
	background: #f0f0f0;
	color: #444;
	font: 14px Arial, Helvetica, sans-serif;
	text-decoration: none;
}

#tngnav a:hover,
#tngnav a:focus {
	background: var(--t500-color-brand);
	color: var(--t500-color-on-brand);
}

#tngnav a.here {
	position: relative;
	z-index: 10;
	margin: 0;
	border-right-color: var(--t500-color-brand-deep);
	background: var(--t500-color-brand);
	color: var(--t500-color-nav-accent);
}

#tabs div {
	position: relative;
	float: left;
	margin: 0 1px 0 0;
	padding: 0 0 0.3em;
}

#tabs .divhere {
	z-index: 10;
}

#tabs a {
	padding: 0.2em 0.8em 0.5em;
	border-right: 1px solid var(--t500-color-border-strong);
	background: #f0f0f0;
	color: #444;
	font: 11px Arial, Helvetica, sans-serif;
	text-decoration: none;
}

#tabs a:hover,
#tabs a:focus {
	background: var(--t500-color-brand);
	color: var(--t500-color-on-brand);
}

#tabs .here {
	background: var(--t500-color-brand);
	color: var(--t500-color-nav-accent);
}
