/* ThrottleStop.net classic layout — sits on top of GeneratePress */

/* ---------- page frame ---------- */
html body {
	background: #d9dadc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='%23d9dadc'/%3E%3Crect width='1' height='1' fill='%23d0d1d3'/%3E%3C/svg%3E");
	font: 13px/1.6 Verdana, Tahoma, "DejaVu Sans", sans-serif;
	color: #222;
	padding-top: 14px;
}
body a { color: #0645ad; }
body a:visited { color: #4b2c8a; }
body a:hover { color: #b3111d; }
body h1, body h2, body h3, body h4 { font-family: Tahoma, Verdana, sans-serif; }

body .site-header,
body .main-navigation,
body .ts-adbar,
body .site.grid-container,
body .site-footer {
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
	border-left: 1px solid #a9abaf;
	border-right: 1px solid #a9abaf;
	box-sizing: border-box;
}
body .site-header { border-top: 1px solid #a9abaf; }

/* ---------- header ---------- */
body .site-header {
	background: linear-gradient(#c8202e, #9d1420);
	border-bottom: 1px solid #6e0d15;
}
body .inside-header {
	padding: 13px 18px;
	display: flex;
	align-items: center;
}
body .site-branding-container { display: flex; align-items: center; }
body .site-logo img.header-image {
	width: 58px;
	height: 58px;
	border: 2px solid #fff;
	border-radius: 4px;
	background: #fff;
	margin-right: 12px;
}
body .site-header .main-title { margin: 0; line-height: 1; }
body .site-header .main-title a,
body .site-header .main-title a:visited {
	color: #fff;
	font: bold 30px/1 Tahoma, Verdana, sans-serif;
	letter-spacing: -1px;
	text-shadow: 1px 1px 0 #5c0b11;
	text-decoration: none;
}
body .site-header .site-description {
	color: #f6d5d8;
	font: 11px/1.4 Verdana, sans-serif;
	margin: 5px 0 0;
}
body .ts-ver {
	margin-left: auto;
	text-align: right;
	color: #fde7e9;
	font-size: 11px;
	line-height: 1.5;
}
body .ts-ver b { display: block; color: #fff; font-size: 13px; }

/* ---------- navigation ---------- */
body .main-navigation {
	background: linear-gradient(#f6f6f6, #dcdcdc);
	border-bottom: 1px solid #a9abaf;
}
body .main-navigation .inside-navigation { padding: 0 10px; }
body .main-navigation .main-nav ul li a {
	color: #222;
	font: bold 12px/31px Tahoma, Verdana, sans-serif;
	line-height: 31px;
	padding: 0 15px;
	border-right: 1px solid #c3c3c3;
	border-left: 1px solid #fafafa;
	text-decoration: none;
}
body .main-navigation .main-nav ul li:hover > a,
body .main-navigation .main-nav ul li.current-menu-item > a {
	background: #fff;
	color: #9d1420;
}
body .main-navigation .menu-toggle,
body .main-navigation .mobile-bar-items a { color: #222; background: transparent; }

/* ---------- ad bar under nav ---------- */
body .ts-adbar {
	background: #fff;
	padding: 10px 18px 4px;
	border-bottom: 1px dotted #ccc;
}
.ts-ad { margin: 0 0 12px; text-align: center; min-height: 90px; }
.ts-ad-label { font-size: 10px; color: #999; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; text-align: left; }

/* ---------- content area ---------- */
body .site.grid-container { background: #fff; padding: 0; }
body.separate-containers .site-main { margin: 0; }
body.separate-containers .inside-article,
body.one-container .site-content { background: #fff; padding: 16px 18px 10px; }
body.separate-containers .site-main > * { margin-bottom: 0; }
body .entry-header .entry-title,
body .page-header h1 { font-size: 22px; color: #111; margin: 0 0 12px; font-weight: bold; }
body .entry-content h2 {
	font-size: 16px;
	color: #9d1420;
	border-bottom: 1px solid #ddd;
	padding-bottom: 3px;
	margin: 26px 0 10px;
	font-weight: bold;
}
body .entry-content h3 { font-size: 14px; margin: 18px 0 6px; font-weight: bold; }
body .entry-content h4 { font-size: 13px; margin: 16px 0 4px; font-weight: bold; }
body .entry-content p { margin: 0 0 10px; }
body .entry-content ul,
body .entry-content ol { margin: 0 0 12px 22px; }
body .entry-content li { margin-bottom: 4px; }
body .entry-content code { font: 12px "Courier New", monospace; background: #f3f3f3; border: 1px solid #ddd; padding: 0 3px; }

/* WordPress tables get the same grid look */
body .entry-content .wp-block-table table,
.ts-home table.grid {
	border-collapse: collapse;
	width: 100%;
	margin: 4px 0 14px;
	font-size: 12px;
}
body .entry-content .wp-block-table td,
body .entry-content .wp-block-table th,
.ts-home table.grid td { border: 1px solid #d3d3d3; padding: 5px 8px; vertical-align: top; }
.ts-home table.grid th,
body .entry-content .wp-block-table th { background: linear-gradient(#f4f4f4, #e2e2e2); text-align: left; border: 1px solid #c2c2c2; padding: 5px 8px; }
body .entry-content .wp-block-table tr:nth-child(even) td,
.ts-home table.grid tr:nth-child(even) td { background: #fafafa; }
body .entry-content .wp-block-table td:first-child { color: #555; width: 30%; }

/* old buttons from the block editor */
body .entry-content .wp-block-button__link,
body .entry-content .uagb-buttons-repeater {
	background: linear-gradient(#4aa333, #2c7a1c) !important;
	border: 1px solid #1f5c13 !important;
	border-radius: 3px !important;
	color: #fff !important;
	font: bold 14px Tahoma, Verdana, sans-serif !important;
	box-shadow: inset 0 1px 0 #7fd065;
	text-shadow: 0 -1px 0 #1f5c13;
}

/* ---------- homepage ---------- */
.ts-home .ts-sub { color: #555; margin: -6px 0 14px; font-size: 12px; }
.ts-home .ts-cols { display: flex; gap: 20px; }
.ts-home .ts-content { flex: 1; min-width: 0; }
.ts-home .ts-side { width: 250px; flex-shrink: 0; }

.ts-home .dlbox { border: 1px solid #b8c4d4; background: #f3f6fa; padding: 12px 14px; margin: 4px 0 16px; display: flex; gap: 16px; align-items: flex-start; }
.ts-home .dlbox table { border-collapse: collapse; font-size: 12px; flex: 1; margin: 0; border: 0; }
.ts-home .dlbox td { padding: 3px 8px 3px 0; vertical-align: top; border: 0; background: none !important; }
.ts-home .dlbox td:first-child { color: #555; width: 96px; white-space: nowrap; }
.ts-home .dlbtn, .ts-home .dlbtn:visited {
	display: block; width: 190px; text-align: center; text-decoration: none; color: #fff;
	font: bold 15px/1.2 Tahoma, Verdana, sans-serif; padding: 11px 6px 9px;
	background: linear-gradient(#4aa333, #2c7a1c); border: 1px solid #1f5c13; border-radius: 3px;
	box-shadow: inset 0 1px 0 #7fd065; text-shadow: 0 -1px 0 #1f5c13;
}
.ts-home .dlbtn small { display: block; font: 11px/1.4 Verdana, sans-serif; color: #e2f5dc; margin-top: 3px; }
.ts-home .dlbtn:hover { background: linear-gradient(#55b23c, #33891f); color: #fff; }
.ts-home .dlside { text-align: center; font-size: 11px; color: #555; }
.ts-home .dlside a.small { display: inline-block; margin-top: 7px; }
.ts-home .hash { font: 11px/1.5 "Courier New", monospace; word-break: break-all; color: #333; }

.ts-home .shot { float: right; margin: 2px 0 10px 16px; width: 250px; border: 1px solid #bbb; padding: 4px; background: #f7f7f7; font-size: 11px; color: #555; text-align: center; line-height: 1.4; }
.ts-home .shot img { width: 100%; height: auto; display: block; margin-bottom: 4px; }

.ts-home .tag { display: inline-block; font-size: 10px; font-weight: bold; padding: 0 4px; border: 1px solid; border-radius: 2px; vertical-align: 1px; line-height: 1.5; }
.ts-home .tag.st { color: #2c7a1c; border-color: #8cc47c; background: #eef8ea; }
.ts-home .tag.bt { color: #9a6200; border-color: #e3bd72; background: #fff7e6; }

.ts-home .note { border: 1px solid #e3cf8d; background: #fffbe8; padding: 8px 11px; margin: 10px 0 14px; font-size: 12px; }
.ts-home .note b { color: #7a5a00; }

.ts-home .box { border: 1px solid #c2c2c2; margin-bottom: 14px; font-size: 12px; }
.ts-home .box h4 { margin: 0; padding: 5px 9px; font: bold 12px Tahoma, Verdana, sans-serif; background: linear-gradient(#f4f4f4, #e0e0e0); border-bottom: 1px solid #c2c2c2; }
.ts-home .box .in { padding: 8px 10px; }
.ts-home .box ul { margin: 0; padding: 0; list-style: none; }
.ts-home .box li { padding: 3px 0; border-bottom: 1px dotted #ddd; margin: 0; }
.ts-home .box li:last-child { border-bottom: 0; }
.ts-home .box .date { color: #777; font-size: 11px; }
.ts-home .ts-side .ts-ad { min-height: 250px; }

.ts-home .faq dt { font-weight: bold; margin-top: 12px; }
.ts-home .faq dd { margin: 3px 0 0 0; }

/* ---------- footer ---------- */
body .site-footer .site-info {
	background: #f1f1f1;
	color: #555;
	border-top: 1px solid #c2c2c2;
	border-bottom: 1px solid #a9abaf;
	font-size: 11px;
}
body .site-footer .inside-site-info { padding: 12px 18px; display: block; text-align: left; }
body .site-footer .site-info a { color: #333; }
body .site-footer .footer-bar { margin: 0 0 6px; text-align: left; }
body .site-footer .footer-bar .widget_nav_menu li { margin: 0 12px 0 0; padding: 0; }
body .site-footer .footer-bar .widget_nav_menu li a { font-size: 11px; }
body .site-footer .copyright-bar { text-align: left; }
.ts-disclaimer {
	display: block;
	margin-top: 6px;
	font-size: 10.5px;
	line-height: 1.5;
	color: #a2a2a2;
}

/* ---------- small screens ---------- */
@media (max-width: 1000px) {
	html body { padding-top: 0; }
	body .site-header, body .main-navigation, body .ts-adbar, body .site.grid-container, body .site-footer { border-left: 0; border-right: 0; }
	body .inside-header { flex-wrap: wrap; }
	.ts-home .ts-cols, .ts-home .dlbox { flex-direction: column; }
	.ts-home .ts-side { width: auto; }
	.ts-home .shot { float: none; width: auto; margin: 0 0 12px; }
}
@media (max-width: 768px) {
	body .ts-ver { display: none; }
	body .site-header .main-title a { font-size: 24px; }
}

/* fixes */
.ts-home h1.entry-title { font: bold 22px/1.3 Tahoma, Verdana, sans-serif; color: #111; margin: 0 0 8px; letter-spacing: 0; }
body .main-navigation .main-nav ul li.menu-item-type-custom.current-menu-item > a { background: transparent; color: #222; }
body .main-navigation .main-nav ul li.menu-item-type-custom.current-menu-item:hover > a { background: #fff; color: #9d1420; }
