﻿/* =======================
   Base
======================= */
body {
	font-family: Arial, sans-serif;
	background: #f8f9fa;
	margin: 0;
	padding: 0;
}

/* =======================
   Header & Navigation
======================= */
header {
	background-color: #003366;
	color: #fff;
	padding: 1rem;
	text-align: center;
	font-size: 1.8rem;
	font-weight: bold;
}

/*
nav {
	background-color: #004080;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 1rem;
}

.menu {
	display: flex;
	flex: 1;
	justify-content: center;
}

	.menu a {
		color: #fff;
		text-decoration: none;
		padding: 0.75rem 1.25rem;
		transition: background 0.3s;
	}
*/

/* If needed, match your previous styling */
.navbar-nav .nav-link {
    color: #fff !important;
}

.navbar-nav .nav-link:hover {
    background-color: #0059b3;
}

.dropdown-menu {
    z-index: 5000; /* Ensure it appears above search box */
}
		.menu a:hover,
		.menu a:focus {
			background-color: #0059b3;
		}

.last-updated {
	color: #fff;
	font-size: 0.9rem;
	white-space: nowrap;
}

/* =======================
   Layout
======================= */
.page-container {
	max-width: 1200px;
	margin: 1rem auto;
	padding: 0 1rem;
}

/* =======================
   Ads
======================= */
.ad-728x90,
.ad-136x510 {
	background: #ccc;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	color: #333;
	max-width: 100%;
}

.ad-728x90 {
	width: 728px;
	height: 90px;
	margin-bottom: 1rem;
}

.ad-136x510 {
	width: 136px;
	height: 510px;
}

.inline-ad {
	margin: 20px 0;
	text-align: center;
}

/* =======================
   Status Cell Colors
======================= */
td.good {
	color: #228B22; /* green */
	font-weight: bold;
}

td.ok {
	color: #DAA520; /* goldenrod */
	font-weight: bold;
}

td.bad {
	color: #B22222; /* dark red */
	font-weight: bold;
}

/* =======================
   Benchmark Yields Box
======================= */
.infobox {
	background: #fff;
	border: 1px solid #ddd;
	margin-bottom: 1rem;
	font-size: 0.9rem;
}

.infoboxheader {
	background: #004080;
	color: #fff;
	padding: 0.5rem;
	font-weight: bold;
	text-align: center;
}

.yield-table td {
	padding: 0.4rem;
	border-top: 1px solid #ddd;
	text-align: left;
}

.yield-table tr:first-child td {
	border-top: none;
}

/* =======================
   Typography & Highlights
======================= */
h1 {
	margin: 1rem 0 0.5rem;
	font-size: 1.8rem;
	color: #003366;
}

.highlight {
	font-weight: bold;
	color: #004080;
}

/* Updates Links (Twitter, Email) */
.updates-links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.update-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: #004080;
	font-size: 1rem;
	font-weight: bold;
}

	.update-link img {
		width: 20px;
		height: 20px;
		margin-right: 8px;
	}

/* Info Section */
.info-section {
	margin-top: 30px;
}

#searchSuggestions {
	background-color: #fff;
	border: 1px solid #ddd;
	z-index: 2000; /* Ensure it appears above nav/header */
	max-height: 250px;
	overflow-y: auto;
}

	#searchSuggestions .list-group-item {
		cursor: pointer;
		color: #212529; /* Bootstrap body text color */
		font-size: 0.875rem; /* Smaller text */
		padding: 0.4rem 0.75rem; /* Slightly tighter spacing */
	}

		#searchSuggestions .list-group-item:hover {
			background-color: #f8f9fa;
		}



/* =======================
   Footer
======================= */
footer {
	background-color: #003366;
	color: #fff;
	padding: 1rem;
	text-align: center;
	margin-top: 2rem;
}

.footer-links a {
	color: #fff;
	text-decoration: none;
	margin: 0 0.25rem;
}

	.footer-links a:hover {
		text-decoration: underline;
	}

/* =======================
   Responsive
======================= */
@media (max-width: 992px) {
	nav {
		flex-direction: column;
		align-items: flex-start;
	}

	.last-updated {
		padding: 0.5rem 0;
	}

	.ad-728x90,
	.ad-136x510 {
		width: 100%;
		height: auto;
	}
}

th.sort-active {
	background-color: #e7f1ff !important; 
	font-weight: 600;
	color: #0d6efd !important; 
}

th.sortable {
	cursor: pointer;
	user-select: none;
	padding-right: 6px;
}

	th.sortable span {
		margin-left: 4px;
	}
