/* Archive additions on top of the old default.css */
.archive_banner {
	background: #7a1f1f;
	color: #fff;
	padding: 10px 16px;
	text-align: center;
	font-size: 15px;
	line-height: 1.4;
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.archive_banner a { color: #fff; font-weight: bold; text-decoration: underline; }
.archive_footer {
	text-align: center;
	padding: 16px;
	margin: 12px auto 24px;
	max-width: 900px;
	background: #fff;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; }
img.thumb { max-width: 100px; max-height: 100px; }
.maincontent img.thumb { width: auto; }
.archive_search { margin: 0; }
.archive_search input[type=text] { max-width: 60vw; }
#results .hit { padding: 6px 0; border-bottom: 1px solid #ddd; }
#results .hit img { max-width: 60px; max-height: 60px; vertical-align: middle; margin-right: 8px; }

@media (max-width: 760px) {
	.archive_banner { font-size: 12px; padding: 6px 10px; line-height: 1.3; }
	table.shell td.gutter { display: none; }
	table.shell, table.shell > tbody > tr > td, table.wide, table.layout { width: 100% !important; }
	table.layout > tbody > tr > td { display: block; width: auto !important; }
	table.layout > tbody > tr { display: flex; flex-direction: column; }
	td.leftpanel { order: 2; }
	img.logo { height: auto; width: 90%; }
	.centerline td { height: auto !important; }
	.maincontent table, .maincontent tbody, .maincontent tr { display: block; width: 100% !important; box-sizing: border-box; }
	.maincontent td { display: block; width: auto !important; height: auto !important; text-align: left; }
	.maincontent td.thumb_border { text-align: center; }
	body { word-wrap: break-word; }
}
