/* ============================================================
   tngtabs2.css — template16 Modern Redesign
   CSS-only tabs (modern method)
   ============================================================ */

ul#tngnav {
	margin: 0 0 0 10px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

#tngnav li {
	margin: 0;
}

/* inactive tab */
#tngnav a {
	display: block;
	color: #444;
	background: #ddd4c7;
	border-right: 1px solid #b0a898;
	border-radius: 6px 6px 0 0;
	padding: 7px 16px;
	text-decoration: none;
	font-family: 'Quicksand', sans-serif;
	font-size: 10.5pt;
	font-weight: 600;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* hover tab */
#tngnav a:hover {
	background: var(--primary);
	color: #ffffff;
}

/* active/current tab */
#tngnav a.here {
	background: var(--primary);
	color: #5bbcd6;
	border-right: 1px solid #444;
	border-bottom: none;
	margin: 0;
	border-radius: 6px 6px 0 0;
}

/* legacy fallback */
#tabs div {
	margin: 0 2px 0 0;
	padding: 0;
	border-radius: 6px 6px 0 0;
}

#tabs a {
	display: block;
	background: #ddd4c7;
	color: #444;
	padding: 7px 14px;
	border-right: 1px solid #aaa;
	text-decoration: none;
	border-radius: 6px 6px 0 0;
	font-family: 'Quicksand', sans-serif;
	font-size: 10.5pt;
	font-weight: 600;
	transition: background-color 0.2s ease, color 0.2s ease;
}

#tabs a:hover {
	background: #063E53;
	color: #ffffff;
}

#tabs .here {
	background: #063E53;
	color: #5bbcd6;
}

/* Responsive */
@media (max-width: 600px) {
	ul#tngnav {
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		margin-left: 0;
	}

	#tngnav a,
	#tabs a {
		padding: 8px 12px;
		font-size: 10pt;
		white-space: nowrap;
	}
}