

/*
 * Vorro Light V1.3.12
 * Inner public-page hierarchy audit.
 *
 * Goal:
 * primary = graphite
 * secondary = light grey
 * rows = white/off-white
 * secondary text/links = dark graphite
 *
 * This layer is deliberately attached to inner public pages so inherited
 * stock MyBB colors cannot reintroduce white text on light-grey headers.
 */

/* =========================================================
   PRIMARY / SECONDARY TABLE HIERARCHY
   ========================================================= */

html body .tborder > tbody > tr > .thead,
html body .tborder > thead > tr > .thead,
html body td.thead {
	background: #3d4349 !important;
	background-image: none !important;
	color: #ffffff !important;
	border-color: #3d4349 !important;
}

html body .thead,
html body .thead strong,
html body .thead span {
	color: #ffffff !important;
}

html body .thead a,
html body .thead a:link,
html body .thead a:visited,
html body .thead a:hover,
html body .thead a:active {
	color: #ffffff !important;
}

/* The important fix: every secondary header in inner pages. */
html body td.tcat,
html body th.tcat,
html body .tcat,
html body .vorro-colhead {
	background: #e9ecef !important;
	background-image: none !important;
	color: #505a62 !important;
	border-color: #d6dce0 !important;
}

/* Force ALL descendants, not only the anchor itself. */
html body td.tcat *,
html body th.tcat *,
html body .vorro-colhead *,
html body .vorro-colhead-label,
html body .vorro-colhead-label strong,
html body .vorro-colhead-label span {
	color: #465058 !important;
}

/* Sort links: visible at rest, slightly darker on hover. */
html body td.tcat a,
html body td.tcat a:link,
html body td.tcat a:visited,
html body th.tcat a,
html body th.tcat a:link,
html body th.tcat a:visited,
html body .vorro-colhead a,
html body .vorro-colhead a:link,
html body .vorro-colhead a:visited {
	color: #3f474e !important;
	text-decoration: none !important;
}

html body td.tcat a:hover,
html body td.tcat a:active,
html body th.tcat a:hover,
html body th.tcat a:active,
html body .vorro-colhead a:hover,
html body .vorro-colhead a:active {
	color: #15191d !important;
	text-decoration: none !important;
}

/* Order arrows inherit dark neutral tone instead of white. */
html body .tcat img,
html body .vorro-colhead img {
	opacity: .72;
}

/* =========================================================
   ROWS / SEPARATORS
   ========================================================= */

html body .trow1,
html body tr:hover > .trow1 {
	background: #ffffff !important;
	color: #252a2e !important;
	border-color: #e1e5e8 !important;
}

html body .trow2,
html body tr:hover > .trow2 {
	background: #fafbfb !important;
	color: #252a2e !important;
	border-color: #e1e5e8 !important;
}

html body .trow_sep {
	background: #f0f2f3 !important;
	color: #5f6870 !important;
	border-color: #dce1e4 !important;
}

html body .tfoot {
	background: #f4f5f6 !important;
	color: #626c74 !important;
	border-color: #dce1e4 !important;
}

html body .tfoot a {
	color: #465058 !important;
}

/* =========================================================
   FORUM DISPLAY / SUBFORUM
   ========================================================= */

.vorro-thread-list,
.vorro-subforum-table {
	overflow: hidden;
}

.vorro-thread-list .vorro-colhead,
.vorro-subforum-table .vorro-colhead {
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}

.vorro-thread-list .inline_row > td,
.vorro-subforum-table tr > td.trow1,
.vorro-subforum-table tr > td.trow2 {
	vertical-align: middle;
}

/* Thread subject remains the strongest text in a row. */
.vorro-thread-list .inline_row a {
	color: #30363b;
}

.vorro-thread-list .inline_row a:hover {
	color: #111417;
}

/* Author/date/lastpost metadata are intentionally quieter. */
.vorro-thread-list .author,
.vorro-thread-list .thread_start_datetime,
.vorro-thread-list .lastpost,
.vorro-thread-list .lastpost a {
	color: #768089 !important;
}

.vorro-thread-list .inline_row > td[align="center"] {
	color: #5e6870;
}

/* User requirement: thread/table rows remain static on hover. */
.vorro-thread-list .inline_row:hover > .trow1,
.vorro-thread-list .inline_row:hover > .trow2,
.vorro-subforum-table tr:hover > .trow1,
.vorro-subforum-table tr:hover > .trow2 {
	background: inherit !important;
}

/* Forum title/action header */
.vorro-forum-head-title {
	display: flex;
	align-items: center;
	min-height: 22px;
}

.vorro-forum-head-actions a {
	color: #eef1f3 !important;
}

/* =========================================================
   THREAD LEGENDS / FORUM UTILITIES
   ========================================================= */

.vorro-thread-legends,
.vorro-forum-utilities {
	color: #667078;
}

.vorro-thread-legends .smalltext,
.vorro-forum-utilities .smalltext {
	color: #667078;
}

.vorro-forum-utilities input.textbox,
.vorro-forum-utilities select {
	background: #ffffff !important;
	color: #2d3338 !important;
	border-color: #cfd5da !important;
}

/* =========================================================
   MEMBER LIST / SEARCH / ONLINE / STATS / CALENDAR
   These pages also use tcat for sortable/secondary headings.
   ========================================================= */

html body table.tborder td.tcat[align="center"],
html body table.tborder td.tcat[align="right"] {
	color: #505a62 !important;
}

/* Member/search subject links */
html body .trow1 > a,
html body .trow2 > a {
	color: #3b444b;
}

html body .trow1 > a:hover,
html body .trow2 > a:hover {
	color: #15191d;
}

/* Calendar weekday secondary row must be readable. */
html body table.tborder thead .tcat,
html body table.tborder thead .tcat * {
	color: #465058 !important;
}

/* Inputs/selects on inner pages stay light. */
html body input.textbox,
html body textarea,
html body select {
	background-color: #ffffff !important;
	color: #252a2e !important;
	border-color: #cfd5da !important;
}

/* Buttons intentionally graphite. */
html body input.button,
html body button,
html body a.button {
	background: #343b42 !important;
	color: #ffffff !important;
	border-color: #343b42 !important;
}

/* Pagination */
html body .pagination a {
	background: #ffffff;
	color: #4b555d !important;
	border-color: #d7dce0;
}

html body .pagination .pagination_current {
	background: #3d4349;
	color: #ffffff;
	border-color: #3d4349;
}

/* =========================================================
   SMALL-SCREEN TABLE SAFETY
   ========================================================= */

@media (max-width: 760px) {
	.vorro-thread-list {
		font-size: 12px;
	}

	.vorro-thread-list .vorro-colhead,
	.vorro-subforum-table .vorro-colhead {
		padding-left: 8px !important;
		padding-right: 8px !important;
	}
}
