body {
	background: #fff;
	color: #333;
	text-align: center;
	line-height: 1.4;
	margin: 0;
	overflow-y: scroll;

	font-family: Ubuntu, Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 16px;
}

a:link {
	color: #051793;
	text-decoration: none;
}

a:visited {
	color: #051793;
	text-decoration: none;
}

a:hover,
a:active {
	color: #051793;
	text-decoration: underline;
}

#container {
	color: #333;
	text-align: left;
	line-height: 1.4;
	margin: 0;
	min-width: 990px;

	font-family: Ubuntu, Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 16px;
}

.wrapper {
	width: 85%;
	min-width: 970px;
	max-width: 1500px;
	margin: auto auto;
}

#logo {
	background: #fff;
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 10px 0;
}

#content {
	background: #fff;
	width: auto !important;
	padding: 20px 10px;
	overflow: hidden;
}

#header ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#header ul.menu li {
	margin: 0 7px;
	display: inline;
}

#header ul.menu li a {
	padding-left: 20px;
	background-image: url(../../../images/headerlinks_sprite.png);
	background-repeat: no-repeat;
	display: inline-block;
	line-height: 16px;
}

#logo ul.top_links {
	font-weight: bold;
	text-align: right;
	margin: -10px 5px 0 0;
}

#logo ul.top_links a.search {
	background-position: 0 0;
}

#logo ul.top_links a.memberlist {
	background-position: 0 -20px;
}

#logo ul.top_links a.calendar {
	background-position: 0 -40px;
}

#logo ul.top_links a.help {
	background-position: 0 -60px;
}

#logo ul.top_links a.portal {
	background-position: 0 -180px;
}

#panel .upper a.logout {
	font-weight: bold;
	background: url(../../../images/headerlinks_sprite.png) right -80px no-repeat;
	padding-right: 20px;
	margin-left: 10px;
}

#panel .upper a.login,
#panel .upper a.lost_password {
	background: url(../../../images/headerlinks_sprite.png) 0 -100px no-repeat;
	padding-left: 20px;
	margin-left: 10px;
	font-weight: bold;
}

#panel .upper a.register {
	background: url(../../../images/headerlinks_sprite.png) right -80px no-repeat;
	padding-right: 20px;
	margin-left: 10px;
	font-weight: bold;
}

#panel .lower ul.panel_links {
	float: left;
}

#panel .lower ul.panel_links a.usercp {
	background-position: 0 -120px;
}

#panel .lower ul.panel_links a.modcp {
	background-position: 0 -140px;
}

#panel .lower ul.panel_links a.admincp {
	background-position: 0 -160px;
}

#panel .lower ul.user_links {
	float: right;
}

#panel .lower ul.user_links li a {
	padding: 0;
	background-image: none;
}

#panel .upper {
	background: #051793;
	color: #fff;
	border-top: 1px solid #444;
	border-bottom: 1px solid #000;
	padding: 10px;
	clear: both;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
	color: #fff;
}

#panel .lower {
	background: #efefef;
	color: #999;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #ccc;
	padding: 5px;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
	color: #666;
}

#search {
	border: 0;
	padding: 0;
	margin: 0;
	float: right;
	vertical-align: middle;
}

#search input.button,
#search input.textbox {
	border-color: #000;
}

#search input.button {
	background: #051793 url(../../../images/thead.png) top left repeat-x;
	color: #fff;
}

#search input {
	margin: -3px 0;
}

#quick_login .remember_me input {
	vertical-align: middle;
	margin: -3px 0 0 5px;
}

#footer {
	clear: both;
}

#footer ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#footer ul.menu li {
	margin: 0 5px;
	display: inline;
}

#footer .upper {
	background: #efefef;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	padding: 6px;
	font-size: 12px;
	overflow: hidden;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
	color: #777;
}

#footer .upper .language {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .language select {
	border-color: #ccc;
}

#footer .upper .theme {
	float: right;
	margin: -1px;
	margin-left: 15px;
}

#footer .upper .theme select {
	border-color: #ccc;
}

#footer .upper ul.bottom_links {
	float: left;
	margin: 4px 0 0 0;
}

#footer .lower {
	color: #666;
	padding: 6px 6px 12px 6px;
	overflow: hidden;
	font-size: 11px;
}

#footer .lower a:link,
#footer .lower a:visited {
	color: #444;
	font-weight: bold;
}

#footer .lower a:hover,
#footer .lower a:active {
	color: #333;
	text-decoration: underline;
	font-weight: bold;
}

#footer .lower #current_time {
	float: right;
	color: #888;
}

#debug {
	float: right;
	text-align: right;
	margin-top: 20px;
	font-size: 11px;
}

.scaleimages img {
	max-width: 100%;
}

.forum_status {
	height: 30px;
	width: 30px;
	background: url(../../../images/forum_icon_sprite.png) no-repeat 0 0;
	display: inline-block;
}

.forum_on {
	background-position: 0 0;
}

.forum_off {
	background-position: 0 -30px;
}

.forum_offclose {
	background-position: 0 -60px;
}

.forum_offlink {
	background-position: 0 -90px;
}

.subforumicon {
	height: 10px;
	width: 10px;
	display: inline-block;
	margin: 0 5px;
	background: url(../../../images/mini_status_sprite.png) no-repeat 0 0;
}

.subforum_minion {
	background-position: 0 0;
}

.subforum_minioff {
	background-position: 0 -10px;
}

.subforum_minioffclose {
	background-position: 0 -20px;
}

.subforum_miniofflink {
	background-position: 0 -30px;
}

table {
	color: #333;
	font-size: 16px;
}

.tborder {
	background: #fff;
	width: 100%;
	margin: auto auto;
	padding: 1px;
}

.tfixed {
	table-layout: fixed;
	word-wrap: break-word;
}

.thead {
	background: #051793;
	color: #ffffff;
	border-bottom: 1px solid #263c30;
	padding: 8px;
}

.thead a:link {
	color: #ffffff;
	text-decoration: none;
}

.thead a:visited {
	color: #ffffff;
	text-decoration: none;
}

.thead a:hover,
.thead a:active {
	color: #ffffff;
	text-decoration: underline;
}

.tcat {
	background: #0f0f0f;
	color: #fff;
	border-top: 1px solid #444;
	border-bottom: 1px solid #000;
	padding: 6px;
	font-size: 12px;
}

.tcat a:link {
	color: #fff;
}

.tcat a:visited {
	color: #fff;
}

.tcat a:hover,
.tcat a:active {
	color: #fff;
}

.trow1 {
	background: #f5f5f5;
	border: 1px solid;
	border-color: #fff #ddd #ddd #fff;
}

.trow2 {
	background: #efefef;
	border: 1px solid;
	border-color: #fff #ddd #ddd #fff;
}

.trow_shaded {
	background: #ffdde0;
	border: 1px solid;
	border-color: #fff #ffb8be #ffb8be #fff;
}

.no_bottom_border {
	border-bottom: 0;
}

.post.unapproved_post {
	background: #ffdde0;
}

.thread_start_datetime {
	color: #999;
}

.post.unapproved_post .post_author {
	border-bottom-color: #ffb8be;
}

.post.classic.unapproved_post .post_author {
	border-color: #ffb8be;
}

.post.unapproved_post .post_controls {
	border-top-color: #ffb8be;
}

.trow_deleted,
.post.deleted_post {
	background: #E8DEFF;
}

.trow_selected,
tr.trow_selected td {
	background: #FFFBD9;
	color: #333;
	border-right-color: #F7E86A;
	border-bottom-color: #F7E86A;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: #333;
}

.trow_sep {
	background: #ddd;
	color: #333;
	border-bottom: 1px solid #c5c5c5;
	padding: 6px;
	font-size: 12px;
	font-weight: bold;
}

.tfoot {
	border-top: 1px solid #fff;
	padding: 6px;
	background: #ddd;
	color: #666;
}

.tfoot a:link {
	color: #444;
	text-decoration: none;
}

.tfoot a:visited {
	color: #444;
	text-decoration: none;
}

.tfoot a:hover,
.tfoot a:active {
	color: #444;
	text-decoration: underline;
}

.thead input.textbox,
.thead select {
	border: 1px solid #263c30;
}

.bottommenu {
	background: #efefef;
	color: #333;
	border: 1px solid #4874a3;
	padding: 10px;
}

.navigation {
	color: #333;
	font-size: 12px;
}

.navigation a:link {
	text-decoration: none;
}

.navigation a:visited {
	text-decoration: none;
}

.navigation a:hover,
.navigation a:active {
	text-decoration: underline;
}

.navigation .active {
	color: #333;
	font-size: small;
	font-weight: bold;
}

.smalltext {
	font-size: 11px;
}

.largetext {
	font-size: 16px;
	font-weight: bold;
}

fieldset {
	padding: 12px;
	border: 1px solid #ddd;
	margin: 0;
}

fieldset.trow1,
fieldset.trow2 {
	border-color: #bbb;
}

fieldset.align_right {
	text-align: right;
}

input.textbox {
	background: #ffffff;
	color: #333;
	border: 1px solid #ccc;
	padding: 3px;
	outline: 0;
	font-size: 13px;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
}

input.textbox.portal_search {
    width: 68%;
}

textarea {
	background: #ffffff;
	color: #333;
	border: 1px solid #ccc;
	padding: 2px;
	line-height: 1.4;
	outline: 0;

	font-family: Ubuntu, Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 16px;
}

select {
	background: #ffffff;
	padding: 3px;
	border: 1px solid #ccc;
	outline: 0;

	font-family: Ubuntu, Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 16px;
}

button,
input.button {
	padding: 3px 8px;
	cursor: pointer;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	background: #df3439 url(../../../images/buttons_bg.png) repeat-x;
	border: 1px solid #bbb;
	color: #333;
	outline: 0;
}

button:hover,
input.button:hover {
	border-color: #aaa;
}

form {
	margin: 0;
	padding: 0;
}

input.error, textarea.error, select.error {
	border: 1px solid #f30;
	color: #f30;
}

input.valid, textarea.valid, select.valid {
	border: 1px solid #0c0;
}

label.error {
	color: #f30;
	margin: 5px;
	padding: 0px;
	display: block;
	font-weight: bold;
	font-size: 11px;
}

form #message {
	width: 500px;
}

.editor {
	background: #f1f1f1;
	border: 1px solid #ccc;
}

.editor_control_bar {
	background: #fff;
	border: 1px solid #ccc;
}

.post .editor_control_bar {
	background: #f5f5f5;
}

.popup_menu {
	background: #fff;
	border: 1px solid #ccc;
}

.popup_menu .popup_item {
	background: #efefef;
	color: #333;
}

.popup_menu .popup_item:hover {
	background: #051793;
	color: #fff;
}

.trow_reputation_positive {
	background: #ccffcc;
}

.trow_reputation_negative {
	background: #ffcccc;
}

.reputation_positive {
	color: green;
}

.reputation_neutral {
	color: #444;
}

.reputation_negative {
	color: red;
}

.repbox {
	font-size:16px;
	font-weight: bold;
	padding:5px 7px 5px 7px;
}

._neutral {
	background-color:#FAFAFA;
	color: #999999;
	border:1px solid #CCCCCC;
}

._minus {
	background-color: #FDD2D1;
	color: #CB0200;
	border:1px solid #980201;
}

._plus {
	background-color:#E8FCDC;
	color: #008800;
	border:1px solid #008800;
}

img {
	border: none;
}

img.attachment {
	border: 1px solid #E9E5D7;
	padding: 2px;
}

hr {
	background-color: #000000;
	color: #000000;
	height: 1px;
	border: 0px;
}

.clear {
	clear: both;
}

.float_left {
	float: left;
}

.float_right {
	float: right;
}

.hidden {
	display: none;
	float: none;
	width: 1%;
}

.hiddenrow {
	display: none;
}

.selectall {
	background: #FFFBD9;
	border-bottom: 1px solid #F7E86A;
	color: #333;
	text-align: center;
}

.expcolimage {
	float: right;
	width: auto;
	vertical-align: middle;
	margin-top: 3px;
}

.tcat_menu > .expcolimage {
	margin-top: 0;
}

blockquote {
	border: 1px solid #ccc;
	margin: 0;
	background: #fff;
	padding: 10px;
}

blockquote cite {
	font-weight: bold;
	border-bottom: 1px solid #ccc;
	font-style: normal;
	display: block;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
}

blockquote cite > span {
	float: right;
	font-weight: normal;
	font-size: 12px;
	color: #666;
}

blockquote cite span.highlight {
	float: none;
	font-weight: bold;
	padding-bottom: 0;
}

.codeblock {
	background: #fff;
	border: 1px solid #ccc;
	padding: 10px;
}

.codeblock .title {
	border-bottom: 1px solid #ccc;
	font-weight: bold;
	padding-bottom: 3px;
	margin: 0 0 10px 0;
}

.codeblock code {
	overflow: auto;
	height: auto;
	max-height: 200px;
	display: block;
	font-family: Monaco, Consolas, Courier, monospace;
	font-size: 13px;
}

.smilie {
	vertical-align: middle;
}

.smilie_pointer {
	cursor: pointer;
}

.separator {
	margin: 5px;
	padding: 0;
	height: 0px;
	font-size: 1px;
	list-style-type: none;
}

.popup_menu .popup_item_container {
	margin: 1px;
	text-align: left;
}

.popup_menu .popup_item {
	display: block;
	padding: 4px;
	white-space: nowrap;
	text-decoration: none;
}

.popup_menu a.popup_item:hover {
	text-decoration: none;
}

.subject_new {
	font-weight: bold;
}

.highlight {
	background: #FFFFCC;
	padding-top: 3px;
	padding-bottom: 3px;
}

.pm_alert {
	background: #FFF6BF;
	border: 1px solid #FFD324;
	text-align: center;
	padding: 5px 20px;
	margin-bottom: 15px;
	font-size: 11px;
}

.red_alert {
	background: #FBE3E4;
	border: 1px solid #A5161A;
	color: #A5161A;
	text-align: center;
	padding: 5px 20px;
	margin-bottom: 15px;
	font-size: 11px;
	word-wrap: break-word;
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:hover,
.red_alert a:active {
	color: #A5161A;
}

.high_warning {
	color: #CC0000;
}

.moderate_warning {
	color: #F3611B;
}

.low_warning {
	color: #AE5700;
}

.imminent_banned {
	color: #880000;
}

.high_banned {
	color: #FF0000;
}

.moderate_banned {
	color: #FF6600;
}

.low_banned {
	color: #008000;
}

.online {
	color: #15A018;
}

.offline {
	color: #C7C7C7;
}

div.error {
	padding: 5px 10px;
	border: 2px solid #FFD324;
	background: #FFF6BF;
	font-size: 12px;
}

div.error p {
	margin: 0;
	color: #333;
	font-weight: normal;
}

div.error p em {
	font-style: normal;
	font-weight: bold;
	padding-left: 24px;
	display: block;
	color: #C00;
	background: url(../../../images/error.png) no-repeat 0;
}

div.error ul {
	margin-left: 24px;
}

.pagination {
	font-size: 11px;
	padding-top: 10px;
	margin-bottom: 5px;
}

.tfoot .pagination,
.tcat .pagination {
	padding-top: 0;
}

.pagination .pages {
	font-weight: bold;
}

.pagination .pagination_current,
.pagination a {
	padding: 3px 6px;
	margin-bottom: 3px;
}

.pagination a {
	background: #f5f5f5;
	border: 1px solid #ccc;
}

.pagination .pagination_current {
	background: none;
	color: #333;
	border: none;
	font-weight: bold;
}

.pagination a:hover {
	background: #051793;
	color: #fff;
	border-color: #263c30;
	text-decoration: none;
}

.pagination .go_page img {
	margin-bottom: -4px;
}

.drop_go_page {
	background: #f5f5f5;
	padding: 4px;
}

.pagination_breadcrumb {
	background-color: #efefef;
	border: 1px solid #fff;
	outline: 1px solid #ccc;
	padding: 5px;
	margin-top: 5px;
	font-weight: normal;
}

.pagination_breadcrumb_link {
	vertical-align: middle;
	cursor: pointer;
}

.thread_legend,
.thread_legend dd {
	margin: 0;
	padding: 0;
}

.thread_legend dd {
	padding-bottom: 4px;
	margin-right: 15px;
}

.thread_legend img {
	margin-right: 4px;
	vertical-align: bottom;
}

.forum_legend,
.forum_legend dt,
.forum_legend dd {
	margin: 0;
	padding: 0;
}

.forum_legend dd {
	float: left;
	margin-right: 10px;
	margin-top: 7px;
}

.forum_legend dt {
	margin-right: 10px;
	float: left;
}

.success_message {
	color: #00b200;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

.error_message {
	color: #C00;
	font-weight: bold;
	font-size: 10px;
	margin-bottom: 10px;
}

#posts_container {
	padding: 0;
}

.ignored_post {
	border-top: 3px solid #333;
	padding: 15px;
}

.ignored_post .show_ignored_post {
	margin-top: -15px;
}

.ignored_post .show_ignored_post a.button span {
	background-position: 0 -400px;
}

.deleted_post_hidden {
	border-top: 2px solid #ccc;
	padding: 15px;
}

.deleted_post_collapsed {
	border-top: 3px solid #333;
	padding: 15px;
}

.deleted_post_collapsed .show_deleted_post {
	margin-top: -15px;
}

.deleted_post_collapsed .show_deleted_post a.button span {
	background-position: 0 -400px;
}

.post {
	overflow: hidden;
}

.post.classic {
	padding-top: 15px;
}

.post .post_author {
	border-bottom: 1px solid #ccc;
	border-top: 2px solid #ccc;
	background: #f5f5f5;
	padding: 5px;
	overflow: hidden;
}

.post.classic .post_author {
	border: 1px solid #ddd;
	float: left;
	width: 15%;
	margin: 0 1% 15px 0;
	border-left: 0;
	padding: 5px 1%;
}

.post .post_author .buddy_status {
	vertical-align: middle;
	margin-top: -4px;
}

.post .post_author div.author_avatar {
	float: left;
	margin-right: 3px;
}

.post.classic .post_author div.author_avatar {
	float: none;
	text-align: center;
	margin-bottom: 8px;
}

.post .post_author div.author_avatar img {
	padding: 5px;
	border: 1px solid #ddd;
	background: #fff;
}

.post .post_author div.author_information {
	float: left;
	padding: 6px 8px;
}

.post.classic .post_author div.author_information {
	float: none;
	padding: 0;
	text-align: center;
}

.post .post_author div.author_statistics {
	float: right;
	font-size: 11px;
	padding: 3px 10px 3px 5px;
	color: #666;
	line-height: 1.3;
}

.post.classic .post_author div.author_statistics {
	border-top: 1px dotted #ccc;
	margin: 6px 0 0 0;
	padding: 6px 6px 3px 6px;
	float: none;
}

.post .post_head {
	font-size: 11px;
	padding-bottom: 4px;
	border-bottom: 1px dotted #ddd;
	margin-bottom: 4px;
}

.post .post_head span.post_date {
	color: #666;
}

.post .post_head span.edited_post {
	font-size: 10px;
	color: #999;
}

.post .post_head span.edited_post a {
	color: #666;
}

.post_body {
	font-size: 14px;
	padding: 12px 0;
}

.post.classic .post_content {
	float: left;
	width: 79%;
	padding: 0 1% 5px 1%;
}

.post_content {
	padding: 9px 10px 5px 10px;
}

.post_content .signature {
	margin-top: 5px;
	border-top: 1px dotted #ddd;
	padding: 10px 0 4px 0;
}

.post .post_meta {
	margin: 4px 0;
	font-size: 11px;
	color: #999;
}

.post .post_meta a:link,
.post .post_meta a:visited {
	color: #777;
}

.post .post_meta a:hover,
.post .post_meta a:active {
	color: #777;
}

.post_controls {
	clear: both;
	background: #f5f5f5;
	border-bottom: 1px solid #ccc;
	padding: 5px;
	overflow: hidden;
}

.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	display: inline-block;
	padding: 2px 5px;
	margin: 2px;
	font-size: 11px;
	border: 1px solid #ccc;
	color: #555;
}

.postbit_buttons > a:hover {
	border-color: #bbb;
}

.postbit_buttons a span {
	padding-left: 20px;
	display: inline-block;
	height: 16px;
	background-image: url(../../../images/buttons_sprite.png);
	background-repeat: no-repeat;
}

.postbit_buttons a.postbit_find span {
	background-position: 0 0;
}

.postbit_buttons a.postbit_reputation_add span {
	background-position: 0 -20px;
}

.postbit_buttons a.postbit_email span {
	background-position: 0 -40px;
}

.postbit_buttons a.postbit_website span {
	background-position: 0 -60px;
}

.postbit_buttons a.postbit_pm span {
	background-position: 0 -80px;
}

.postbit_buttons a.postbit_quote span {
	background-position: 0 -100px;
}

.postbit_buttons a.postbit_multiquote span {
	background-position: 0 -120px;
}

.postbit_buttons a.postbit_multiquote_on span {
	background-position: 0 -140px;
}

.postbit_buttons a.postbit_edit span {
	background-position: 0 -160px;
}

.postbit_buttons a.postbit_qdelete span {
	background-position: 0 -180px;
}

.postbit_buttons a.postbit_qrestore span {
	background-position: 0 -200px;
}

.postbit_buttons a.postbit_report span {
	background-position: 0 -220px;
}

.postbit_buttons a.postbit_warn span {
	background-position: 0 -240px;
}

.postbit_buttons a.postbit_purgespammer span {
	background-position: 0 -540px;
}

.postbit_buttons a.postbit_reply_pm span {
	background-position: 0 -260px;
}

.postbit_buttons a.postbit_reply_all span {
	background-position: 0 -280px;
}

.postbit_buttons a.postbit_forward_pm span {
	background-position: 0 -300px;
}

.postbit_buttons a.postbit_delete_pm span {
	background-position: 0 -320px;
}

.post:not(.deleted_post) .postbit_qrestore,
.post:not(.deleted_post) .status_type,
.post.deleted_post .postbit_mirage {
    display: none;
}

a.button:link,
a.button:hover,
a.button:visited,
a.button:active {
	background: #df3439;
	color: #fff;
	display: inline-block;
	padding: 10px 10px;
	margin: 2px 2px 6px 2px;
	font-size: 14px;
}

a.button.small_button {
	font-size: 13px;
	margin: 0;
	padding: 3px 6px;
}

a.button span {
	display: inline-block;
}

a.button.new_thread_button span {
	background-position: 0 -340px;
}

a.button.new_reply_button span {
	background-position: 0 -360px;
}

a.button.closed_button span {
	background-position: 0 -380px;
}

a.button.rate_user_button span {
	background-position: 0 -400px;
}

a.button.add_buddy_button span {
	background-position: 0 -440px;
}

a.button.remove_buddy_button span {
	background-position: 0 -480px;
}

a.button.add_ignore_button span {
	background-position: 0 -460px;
}

a.button.remove_ignore_button span {
	background-position: 0 -500px;
}

a.button.report_user_button span {
	background-position: 0 -520px;
}

.quick_jump {
	background: url(../../../images/jump.png) no-repeat 0;
	width: 13px;
	height: 13px;
	padding-left: 13px; /* amount of padding needed for image to fully show */
	margin-top: -3px;
	border: none;
}

.pollbar {
	background: url(../../../images/pollbar.png) top left repeat-x;
	border: 1px solid #3f3f3f;
	height: 10px;
}

.pollbar .percent {
	display: none;
}

.posticons_label {
	white-space: nowrap;
}

/** jGrowl Start **/

/** Special IE6 Style Positioning **/
.ie6 {
	position: absolute;
}

.ie6.top-right {
	right: auto;
	bottom: auto;
	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.top-left {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-right {
	left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.bottom-left {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

.ie6.center {
	left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
	width: 100%;
}

/** jGrowl Styling **/
.jGrowl {
	z-index: 9999;
	color: #ffffff;
	font-size: 12px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	position: fixed;
}

.jGrowl.top-left {
	left: 0px;
	top: 0px;
}

.jGrowl.top-right {
	right: 0px;
	top: 0px;
}

.jGrowl.bottom-left {
	left: 0px;
	bottom: 0px;
}

.jGrowl.bottom-right {
	right: 0px;
	bottom: 0px;
}

.jGrowl.center {
	top: 0px;
	width: 50%;
	left: 25%;
}

/** Cross Browser Styling **/

.jGrowl.center .jGrowl-notification,
.jGrowl.center .jGrowl-closer {
	margin-left: auto;
	margin-right: auto;
}

.jGrowl-notification {
	background-color: transparent;
	opacity: 0.9;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	zoom: 1;
	width: 250px;
	padding: 10px;
	margin: 10px;
	text-align: left;
	display: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	word-break: break-all;
}

.jGrowl .jGrowl-notification {
	min-height: 40px;
}

.jGrowl-notification .ui-state-highlight,
.jGrowl-notification .ui-widget-content .ui-state-highlight,
.jGrowl-notification .ui-widget-header .ui-state-highlight {
	border: 1px solid #000;
	background: #000;
	color: #fff;
}

.jGrowl-notification .jGrowl-header {
	font-weight: bold;
	font-size: .85em;
}

.jGrowl-notification .jGrowl-close {
	background-color: transparent;
	color: inherit;
	border: none;
	z-index: 99;
	float: right;
	font-weight: bold;
	font-size: 1em;
	cursor: pointer;
}

.jGrowl-closer {
	background-color: #000000;
	opacity: 0.9;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=(0.9*100));
	zoom: 1;
	width: 250px;
	padding: 10px;
	margin: 10px;
	text-align: left;
	display: none;
	border-radius: 5px;
	word-break: break-all;
	padding-top: 4px;
	padding-bottom: 4px;
	cursor: pointer;
	font-size: .9em;
	font-weight: bold;
	text-align: center;
}

.jGrowl-closer .ui-state-highlight,
.jGrowl-closer .ui-widget-content .ui-state-highlight,
.jGrowl-closer .ui-widget-header .ui-state-highlight {
	border: 1px solid #000;
	background: #000;
	color: #fff;
}

.jGrowl .jGrowl-notification.jgrowl_success {
    background: lightgreen;
    border: 1px solid lightgreen;
    color: #333;
}

.jGrowl .jGrowl-notification.jgrowl_error {
    background: red;
    border: 1px solid red;
    color: #333;
}

.jGrowl .jGrowl-notification.jgrowl_process, .jGrowl .jGrowl-closer {
    background: yellow;
    border: 1px solid yellow;
	color: #333;
}

/** Hide jGrowl when printing **/
@media print {
	.jGrowl {
		display: none;
}


}

/** jGrowl End **/

/** Modal Start **/

.blocker {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	z-index: 9999;
	padding: 20px;
	box-sizing: border-box;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.75);
	text-align: center;
}

.blocker:before{
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-right: -0.05em;
}

.blocker.behind {
	background-color: transparent;
}

.modal {
	width: 400px;
	text-align: left;
	background: #fff;
	display: inline-block;
	vertical-align: middle;
	position: relative;
	z-index: 2;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 0 10px #000;
	-moz-box-shadow: 0 0 10px #000;
	-o-box-shadow: 0 0 10px #000;
	-ms-box-shadow: 0 0 10px #000;
	box-shadow: 0 0 10px #000;
}

.modal a.close-modal {
	position: absolute;
	top: -12.5px;
	right: -12.5px;
	display: block;
	width: 30px;
	height: 30px;
	text-indent: -9999px;
	background: url(../../../images/close.png) no-repeat 0 0;
}

.modal-spinner {
	display: none;
	width: 64px;
	height: 64px;
	position: fixed;
	top: 50%;
	left: 50%;
	margin-right: -32px;
	margin-top: -32px;
	background: url(../../../images/spinner_big.gif) no-repeat center center;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-o-border-radius: 8px;
	-ms-border-radius: 8px;
	border-radius: 8px;
}

/** Modal End **/

/** Impromptu Start **/

/*! jQuery-Impromptu - v6.2.3 - 2016-04-23
* http://trentrichardson.com/Impromptu
* Copyright (c) 2016 Trent Richardson; Licensed MIT */

.jqifade{
	position: absolute;
	background-color: #777777;
}

iframe.jqifade{
	display:block;
	z-index:-1;
}

div.jqi{
	width: 400px;
	max-width:90%;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	position: absolute;
	background-color: #ffffff;
	font-size: 11px;
	text-align: left;
	border: solid 1px #eeeeee;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	padding: 7px;
}

div.jqi .jqicontainer{
}

div.jqi .jqiclose{
	position: absolute;
	top: 4px; right: -2px;
	width: 18px;
	cursor: default;
	color: #bbbbbb;
	font-weight: bold;
}

div.jqi .jqistate{
	background-color: #fff;
}

div.jqi .jqititle{
	padding: 5px 10px;
	font-size: 16px;
	line-height: 20px;
	border-bottom: solid 1px #eeeeee;
}

div.jqi .jqimessage{
	padding: 10px;
	line-height: 20px;
	color: #444444;
	overflow: auto;
}

div.jqi .jqibuttonshide{
	display: none;
}

div.jqi .jqibuttons{
	text-align: right;
	margin: 0 -7px -7px -7px;
	border-top: solid 1px #e4e4e4;
	background-color: #f4f4f4;
	border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
}

div.jqi .jqibuttons button{
	margin: 0;
	padding: 15px 20px;
	background-color: transparent;
	font-weight: normal;
	border: none;
	border-left: solid 1px #e4e4e4;
	color: #777;
	font-weight: bold;
	font-size: 12px;
}

div.jqi .jqibuttons button.jqidefaultbutton{
	color: #051793;
}

div.jqi .jqibuttons button:hover,
div.jqi .jqibuttons button:focus{
	color: #287ade;
	outline: none;
}

div.jqi .jqibuttons button[disabled]{
	color: #aaa;
}

.jqiwarning .jqi .jqibuttons{
	background-color: #b95656;
}

/* sub states */
div.jqi .jqiparentstate::after{
	background-color: #777;
	opacity: 0.6;
	filter: alpha(opacity=60);
	content: '';
	position: absolute;
	top:0;left:0;bottom:0;right:0;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
}

div.jqi .jqisubstate{
	position: absolute;
	top:0;
	left: 20%;
	width: 60%;
	padding: 7px;
	border: solid 1px #eeeeee;
	border-top: none;
	border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	-webkit-border-radius: 0 0 6px 6px;
}

div.jqi .jqisubstate .jqibuttons button{
	padding: 10px 18px;
}

/* arrows for tooltips/tours */
.jqi .jqiarrow{
 position: absolute; height: 0; width:0; line-height: 0; font-size: 0; border: solid 10px transparent;
}

.jqi .jqiarrowtl{
 left: 10px; top: -20px; border-bottom-color: #ffffff;
}

.jqi .jqiarrowtc{
 left: 50%; top: -20px; border-bottom-color: #ffffff; margin-left: -10px;
}

.jqi .jqiarrowtr{
 right: 10px; top: -20px; border-bottom-color: #ffffff;
}

.jqi .jqiarrowbl{
 left: 10px; bottom: -20px; border-top-color: #ffffff;
}

.jqi .jqiarrowbc{
 left: 50%; bottom: -20px; border-top-color: #ffffff; margin-left: -10px;
}

.jqi .jqiarrowbr{
 right: 10px; bottom: -20px; border-top-color: #ffffff;
}

.jqi .jqiarrowlt{
 left: -20px; top: 10px; border-right-color: #ffffff;
}

.jqi .jqiarrowlm{
 left: -20px; top: 50%; border-right-color: #ffffff; margin-top: -10px;
}

.jqi .jqiarrowlb{
 left: -20px; bottom: 10px; border-right-color: #ffffff;
}

.jqi .jqiarrowrt{
 right: -20px; top: 10px; border-left-color: #ffffff;
}

.jqi .jqiarrowrm{
 right: -20px; top: 50%; border-left-color: #ffffff; margin-top: -10px;
}

.jqi .jqiarrowrb{
 right: -20px; bottom: 10px; border-left-color: #ffffff;
}

/** Impromptu End */


/* TBA pinned threads: pin icon on sticky threads (replaces Important/Normal Threads separators) */
.forumdisplay_sticky span[id^="tid_"]::before {
	content: "\1F4CC";
	font-size: 11px;
	margin-right: 4px;
	vertical-align: 1px;
}


/* Thread list mini pagination (pill style) */
.tba_minipages {
	display: inline-flex;
	gap: 3px;
	margin-left: 8px;
	vertical-align: middle;
	opacity: 0.25;
	transition: opacity 0.15s ease;
}
tr.inline_row:hover .tba_minipages,
.tba_minipages:focus-within {
	opacity: 1;
}
.tba_minipages a,
.tba_minipages a:link,
.tba_minipages a:visited {
	display: inline-block;
	padding: 0 7px;
	line-height: 20px;
	font-size: 11px;
	font-weight: 600;
	color: #051793;
	background: rgba(5, 23, 147, 0.12);
	border-radius: 4px;
	text-decoration: none;
}
.tba_minipages a:hover,
.tba_minipages a:active {
	background: #051793;
	color: #fff;
	text-decoration: none;
}


/* Thread list author/date line */
.tba_thread_meta {
	font-size: 12px;
	line-height: 18px;
	color: #718096;
	margin-top: 1px;
}
.tba_thread_meta a,
.tba_thread_meta a:link,
.tba_thread_meta a:visited {
	color: #718096;
	font-weight: bold;
	text-decoration: none;
}
.tba_thread_meta a span,
.tba_thread_meta a strong,
.tba_thread_meta a em,
.tba_thread_meta a b,
.tba_thread_meta a i {
	color: inherit !important;
	font-weight: inherit !important;
	font-style: normal !important;
}
.tba_thread_meta a:hover {
	color: #051793;
	text-decoration: none;
}


/* Thread list combined replies / views column */
td.tba_stats {
	text-align: right;
	white-space: nowrap;
	font-size: 13px;
	line-height: 19px;
	padding-right: 12px;
}
.tba_stats_replies,
.tba_stats_replies a,
.tba_stats_replies a:link,
.tba_stats_replies a:visited {
	color: #353c41;
	text-decoration: none;
}
.tba_stats_replies a:hover {
	color: #051793;
	text-decoration: none;
}
.tba_stats_views {
	color: #718096;
}


/* ===== Mobile layout (phones and small tablets only; desktop unaffected) ===== */
@media screen and (max-width: 767px) {
	#container,
	#header,
	#panel,
	#logo,
	#content,
	#footer {
		width: auto !important;
		min-width: 0 !important;
	}
	.wrapper {
		width: auto !important;
		min-width: 0 !important;
		max-width: 100% !important;
		padding-left: 8px !important;
		padding-right: 8px !important;
		box-sizing: border-box;
	}
	#panel .upper,
	#panel .lower {
		width: auto !important;
	}
	#panel .welcome,
	#panel .upper .wrapper {
		white-space: normal !important;
	}
	#panel .lower ul.menu,
	#panel .upper .float_right {
		float: none !important;
	}
	#logo img {
		max-width: 100%;
		height: auto;
	}
	#footer .float_left,
	#footer .float_right {
		float: none !important;
	}
	#footer img,
	#content img {
		max-width: 100%;
		height: auto;
	}
	.publication-information,
	#footer div,
	#footer center,
	#footer p {
		width: auto !important;
		max-width: 100% !important;
		box-sizing: border-box;
	}

	/* Generic tables: never wider than the screen */
	table.tborder {
		width: 100% !important;
		max-width: 100%;
		table-layout: auto;
	}
	td.thead .float_right {
		float: none !important;
		margin-bottom: 4px;
	}
	td.thead .float_right .smalltext {
		white-space: normal;
	}

	/* Thread list: stack each thread into two lines */
	table.tba_threadlist,
	table.tba_threadlist > tbody {
		display: block;
		width: 100% !important;
	}
	table.tba_threadlist > tbody > tr {
		display: flex;
		flex-wrap: wrap;
		align-items: stretch;
		width: 100%;
	}
	table.tba_threadlist > tbody > tr > td {
		display: block;
		box-sizing: border-box;
		width: auto !important;
	}
	/* heading rows */
	table.tba_threadlist > tbody > tr > td[colspan] {
		flex: 1 1 100%;
	}
	table.tba_threadlist > tbody > tr > td.tcat {
		flex: 0 1 auto;
		text-align: left !important;
	}
	table.tba_threadlist > tbody > tr > td.tcat:first-child {
		flex: 1 1 auto;
	}
	/* thread rows: title full width, details underneath */
	tr.inline_row > td:nth-child(1),
	tr.tba_announce > td:nth-child(1) {
		flex: 1 1 100%;
		border-bottom: 0 !important;
		padding-bottom: 2px !important;
		overflow-wrap: anywhere;
	}
	tr.inline_row > td.tba_stats,
	tr.tba_announce > td.tba_stats {
		order: 1;
		flex: 1 1 100%;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
		border-top: 0 !important;
		border-bottom: 0 !important;
		text-align: left !important;
		font-size: 12px;
		line-height: 17px;
	}
	tr.inline_row > td.tba_stats div {
		display: inline;
	}
	tr.inline_row > td.tba_stats .tba_stats_views:before {
		content: "\00a0\00b7\00a0";
		color: #718096;
	}
	td.tba_lastpost {
		order: 2;
		flex: 1 1 auto;
		padding-top: 0 !important;
		border-top: 0 !important;
		text-align: left !important;
		white-space: normal !important;
	}
	td.tba_lastpost br {
		display: none;
	}
	tr.inline_row > td.tba_lastpost .lastpost > a:first-of-type:before {
		content: "\00b7\00a0";
		display: inline-block;
		padding-left: 4px;
		color: #718096;
	}
	td.tba_lastpost ~ td {
		order: 3;
		flex: 0 0 auto;
		padding-top: 0 !important;
		border-top: 0 !important;
	}
	.tba_minipages {
		opacity: 1;
		margin-left: 4px;
		flex-wrap: wrap;
	}
	.tba_thread_meta {
		overflow-wrap: anywhere;
	}
	.float_left,
	.float_right {
		max-width: 100%;
	}

	/* Posts: keep embedded media and long text inside the screen */
	.post_body {
		overflow-wrap: anywhere;
	}
	.post_body iframe,
	.post_body video,
	.post_body embed,
	.post_body object {
		max-width: 100% !important;
	}
	.post_body pre,
	.post_body code,
	.codeblock {
		max-width: 100%;
		overflow-x: auto;
	}
}


/* Compact user bar (top right) */
.tba_userbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 6px;
	text-align: right;
}
.tba_usericon {
	flex: 0 0 auto;
	color: #fff;
}
#panel .upper a.tba_username,
#panel .upper a.tba_username:link,
#panel .upper a.tba_username:visited {
	display: inline-grid;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}
.tba_username .tba_un,
.tba_username .tba_un_ghost {
	grid-area: 1 / 1;
}
.tba_username .tba_un_ghost {
	font-weight: bold;
	visibility: hidden;
	height: 0;
	overflow: hidden;
}
#panel .upper a.tba_username:hover {
	text-decoration: none;
}
#panel .upper a.tba_username:hover .tba_un {
	font-weight: bold;
}
.tba_logout,
#panel .upper .tba_logout a,
#panel .upper .tba_logout a:link,
#panel .upper .tba_logout a:visited {
	color: #fff;
	font-weight: normal;
	text-decoration: none;
}
#panel .upper .tba_logout a:hover {
	text-decoration: underline;
}


/* Thread list top/bottom bars: pagination + sort */
td.tba_bar,
td.tfoot.tba_bar {
	background: #051793;
	color: #fff;
	padding: 6px 8px;
}
.tba_bar_inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	min-height: 28px;
}
.tba_bar_pages {
	display: flex;
	align-items: center;
}
.tba_bar .pagination {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 2px;
	margin: 0;
	padding: 0;
	font-size: 12px;
}
.tba_bar .pagination .pages {
	display: none;
}
.tba_bar .pagination a,
.tba_bar .pagination a:link,
.tba_bar .pagination a:visited,
.tba_bar .pagination .pagination_current {
	display: inline-block;
	margin: 0;
	padding: 0 8px;
	line-height: 26px;
	border: 0 !important;
	border-radius: 4px;
	background: none !important;
	color: #fff !important;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
}
.tba_bar .pagination a:hover {
	background: rgba(255, 255, 255, 0.15) !important;
	text-decoration: none;
}
.tba_bar .pagination .pagination_current {
	background: #fff !important;
	color: #051793 !important;
}
.tba_bar .pagination a.go_page {
	text-transform: none;
	font-weight: normal;
	margin-left: 8px;
	color: rgba(255, 255, 255, 0.85) !important;
}
.tba_bar .pagination a.go_page:hover {
	color: #fff !important;
}
.tba_bar .drop_go_page {
	color: #333;
	text-transform: none;
}
.tba_bar_tools {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	font-size: 12px;
}
.tba_bar a.tba_bar_link,
.tba_bar a.tba_bar_link:link,
.tba_bar a.tba_bar_link:visited {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}
.tba_bar a.tba_bar_link:hover {
	text-decoration: underline;
}
.tba_sort {
	position: relative;
	display: inline-block;
}
.tba_sort_btn {
	background: #fff;
	color: #051793;
	border: 0;
	border-radius: 4px;
	padding: 5px 10px;
	font-family: inherit;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	cursor: pointer;
	line-height: 16px;
}
.tba_sort_btn:hover,
.tba_sort.open .tba_sort_btn {
	background: #e6e9f7;
}
.tba_sort_menu {
	display: none;
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 100;
	min-width: 220px;
	padding: 10px;
	background: #fff;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
	text-align: left;
}
.tba_sort.open .tba_sort_menu {
	display: block;
}
.tba_sort_form select,
.tba_sort_form input.button,
.tba_sort_form button {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 6px 0;
}
.tba_sort_form input.button:last-child,
.tba_sort_form > :last-child {
	margin-bottom: 0;
}


/* Thread list bars: rewind / fast-forward icons instead of Previous / Next text */
.tba_bar .pagination a.pagination_previous,
.tba_bar .pagination a.pagination_next {
	font-size: 0 !important;
	width: 30px;
	height: 26px;
	padding: 0 !important;
	vertical-align: middle;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 16px 16px !important;
}
.tba_bar .pagination a.pagination_previous {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M11.5 5v14L2 12zM22 5v14l-9.5-7z'/%3E%3C/svg%3E") !important;
}
.tba_bar .pagination a.pagination_next {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12.5 5v14L22 12zM2 5v14l9.5-7z'/%3E%3C/svg%3E") !important;
}
.tba_bar .pagination a.pagination_previous:hover,
.tba_bar .pagination a.pagination_next:hover {
	background-color: rgba(255, 255, 255, 0.15) !important;
}


/* Compact pager in thread list bars: « ‹ Page [n] of N › » */
.tba_pager {
	display: flex;
	align-items: center;
	gap: 2px;
	color: #fff;
	font-size: 12px;
}
.tba_pg {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 4px;
	color: #fff;
	text-decoration: none;
}
.tba_pg svg {
	width: 16px;
	height: 16px;
	display: block;
}
a.tba_pg:link,
a.tba_pg:visited {
	color: #fff;
	text-decoration: none;
}
a.tba_pg:hover,
a.tba_pg:focus-visible {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	outline: none;
}
.tba_pg_disabled {
	opacity: 0.3;
	cursor: default;
}
.tba_pg_label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 6px;
	white-space: nowrap;
	font-weight: bold;
	cursor: text;
}
.tba_pg_input {
	box-sizing: content-box;
	min-width: 2ch;
	height: 24px;
	padding: 0 6px;
	margin: 0;
	border: 0;
	border-radius: 4px;
	background: #fff;
	color: #051793;
	font-family: inherit;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}
.tba_pg_input::-webkit-outer-spin-button,
.tba_pg_input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
.tba_pg_input:hover {
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.tba_pg_input:focus {
	outline: none;
	box-shadow: 0 0 0 2px #9fb1ff;
}
@media screen and (max-width: 767px) {
	.tba_pg {
		width: 34px;
		height: 34px;
	}
	.tba_pg_input {
		font-size: 16px;
		height: 30px;
	}
	.tba_pg_label {
		font-size: 13px;
	}
}


/* ===== Sort button + menu (v2) ===== */
.tba_bar .tba_sort_btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 28px;
	padding: 0 10px 0 9px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 6px;
	font-family: inherit;
	font-size: 12px;
	font-weight: bold;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.tba_bar .tba_sort_btn:hover,
.tba_bar .tba_sort.open .tba_sort_btn {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.7);
}
.tba_bar .tba_sort_btn:focus-visible {
	outline: 2px solid #9fb1ff;
	outline-offset: 1px;
}
.tba_sort_btn svg {
	display: block;
	width: 14px;
	height: 14px;
}
.tba_sort_caret {
	opacity: 0.8;
	transition: transform 0.2s ease;
}
.tba_sort.open .tba_sort_caret {
	transform: rotate(180deg);
}

.tba_bar .tba_sort_menu {
	display: block;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-6px) scale(0.98);
	transform-origin: top right;
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
	pointer-events: none;
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 1000;
	width: 260px;
	min-width: 0;
	padding: 6px;
	background: #fff;
	color: #1f2937;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 10px;
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.08);
	text-align: left;
	font-size: 13px;
	font-weight: normal;
	text-transform: none;
}
.tba_bar .tba_sort.open .tba_sort_menu {
	visibility: visible;
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s;
}
.tba_sm_head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 8px 4px;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7280;
}
.tba_sm_close {
	display: none;
	border: 0;
	background: none;
	padding: 4px;
	color: #6b7280;
	cursor: pointer;
	border-radius: 6px;
}
.tba_sm_close svg {
	display: block;
	width: 18px;
	height: 18px;
}
.tba_sm_list {
	display: flex;
	flex-direction: column;
}
.tba_sm_item {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 8px;
	border: 0;
	border-radius: 6px;
	background: none;
	color: #1f2937;
	font-family: inherit;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
}
.tba_sm_item:hover,
.tba_sm_item:focus-visible {
	background: #eef1fb;
	outline: none;
}
.tba_sm_item.is_on {
	color: #051793;
	font-weight: bold;
}
.tba_sm_tick {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	visibility: hidden;
	color: #051793;
}
.tba_sm_tick svg {
	display: block;
	width: 16px;
	height: 16px;
}
.tba_sm_item.is_on .tba_sm_tick {
	visibility: visible;
}
.tba_sm_sep {
	height: 1px;
	margin: 6px 4px;
	background: #e5e7eb;
}
.tba_sm_row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 8px;
}
.tba_sm_lbl {
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7280;
}
.tba_seg {
	display: inline-flex;
	padding: 2px;
	background: #f1f3f8;
	border-radius: 8px;
}
.tba_seg button {
	border: 0;
	background: none;
	padding: 5px 9px;
	border-radius: 6px;
	font-family: inherit;
	font-size: 12px;
	color: #4b5563;
	cursor: pointer;
	white-space: nowrap;
}
.tba_seg button:hover {
	color: #051793;
}
.tba_seg button.is_on {
	background: #fff;
	color: #051793;
	font-weight: bold;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}
.tba_sm_select {
	position: relative;
	flex: 0 1 150px;
	min-width: 0;
}
.tba_sm_select select {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 30px;
	padding: 0 28px 0 10px;
	border: 1px solid #d8dce6;
	border-radius: 6px;
	background: #fff;
	color: #1f2937;
	font-family: inherit;
	font-size: 12px;
	cursor: pointer;
}
.tba_sm_select select:hover {
	border-color: #aab3c8;
}
.tba_sm_select select:focus {
	outline: none;
	border-color: #051793;
	box-shadow: 0 0 0 3px rgba(5, 23, 147, 0.15);
}
.tba_sm_select_caret {
	position: absolute;
	right: 8px;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	color: #6b7280;
	pointer-events: none;
}
.tba_sm_select_caret svg {
	display: block;
	width: 14px;
	height: 14px;
}
.tba_sort_backdrop {
	display: none;
}

/* Phones: bottom sheet */
@media screen and (max-width: 767px) {
	.tba_bar .tba_sort {
		position: static;
	}
	.tba_bar .tba_sort_menu {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		top: auto;
		width: auto;
		max-height: 85vh;
		overflow-y: auto;
		padding: 8px 10px calc(14px + env(safe-area-inset-bottom));
		border-radius: 16px 16px 0 0;
		transform: translateY(100%);
		transform-origin: bottom center;
		transition: transform 0.25s ease, opacity 0.2s ease, visibility 0s linear 0.25s;
		box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.25);
	}
	.tba_bar .tba_sort.open .tba_sort_menu {
		transform: none;
		transition: transform 0.25s ease, opacity 0.2s ease, visibility 0s;
	}
	.tba_sm_head {
		padding: 10px 8px 8px;
		font-size: 12px;
	}
	.tba_sm_close {
		display: block;
	}
	.tba_sm_item {
		padding: 13px 10px;
		font-size: 16px;
	}
	.tba_seg button {
		padding: 9px 12px;
		font-size: 14px;
	}
	.tba_sm_row {
		padding: 10px;
	}
	.tba_sm_select {
		flex-basis: 60%;
	}
	.tba_sm_select select {
		height: 40px;
		font-size: 16px;
	}
	.tba_sort_backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 999;
		background: rgba(15, 23, 42, 0.45);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.2s ease, visibility 0s linear 0.2s;
	}
	html.tba_sort_is_open .tba_sort_backdrop {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.2s ease, visibility 0s;
	}
	html.tba_sort_is_open,
	html.tba_sort_is_open body {
		overflow: hidden;
	}
}


/* ===== Sort menu (v3: trimmed) ===== */
.tba_sm_subhead {
	padding-top: 2px;
}
.tba_seg.tba_seg_full {
	display: flex;
	margin: 2px 6px 6px;
}
.tba_seg.tba_seg_full button {
	flex: 1 1 0;
	padding: 6px 4px;
	text-align: center;
}
.tba_sm_switch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 8px;
	border: 0;
	border-radius: 6px;
	background: none;
	color: #1f2937;
	font-family: inherit;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
}
.tba_sm_switch:hover,
.tba_sm_switch:focus-visible {
	background: #eef1fb;
	outline: none;
}
.tba_switch_track {
	position: relative;
	flex: 0 0 34px;
	width: 34px;
	height: 20px;
	border-radius: 10px;
	background: #cfd5e3;
	transition: background 0.15s ease;
}
.tba_switch_knob {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.3);
	transition: transform 0.15s ease;
}
.tba_sm_switch.is_on .tba_switch_track {
	background: #051793;
}
.tba_sm_switch.is_on .tba_switch_knob {
	transform: translateX(14px);
}
.tba_sm_switch.is_on {
	color: #051793;
	font-weight: bold;
}
.tba_bar .tba_sort_btn.is_filtered .tba_sort_current:after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 6px;
	border-radius: 50%;
	background: #ffcc33;
	vertical-align: middle;
}
@media screen and (max-width: 767px) {
	.tba_seg.tba_seg_full button {
		padding: 10px 4px;
		font-size: 14px;
	}
	.tba_sm_switch {
		padding: 13px 10px;
		font-size: 16px;
	}
	.tba_switch_track {
		flex-basis: 44px;
		width: 44px;
		height: 26px;
		border-radius: 13px;
	}
	.tba_switch_knob {
		width: 22px;
		height: 22px;
	}
	.tba_sm_switch.is_on .tba_switch_knob {
		transform: translateX(18px);
	}
}


/* ===== Mobile: thread list bar on one line, hide unused column headings ===== */
@media screen and (max-width: 767px) {
	table.tba_threadlist > tbody > tr > td.tba_bar {
		min-width: 0;
		max-width: 100%;
		overflow: visible;
	}
	.tba_bar .tba_bar_inner {
		flex-wrap: nowrap;
		gap: 6px;
		width: 100%;
		min-width: 0;
	}
	.tba_bar .tba_bar_pages {
		flex: 0 0 auto;
	}
	.tba_bar .tba_bar_tools {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: flex-end;
		margin-left: 0;
	}
	.tba_bar .tba_sort {
		display: flex;
		min-width: 0;
		max-width: 100%;
	}
	.tba_bar .tba_sort_btn {
		max-width: 100%;
		min-width: 0;
		height: 34px;
		padding: 0 8px;
		gap: 5px;
	}
	.tba_bar .tba_sort_icon,
	.tba_bar .tba_sort_caret {
		flex: 0 0 auto;
	}
	.tba_bar .tba_sort_current {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	.tba_pager {
		gap: 0;
	}
	.tba_pg {
		width: 30px;
	}
	.tba_pg_label {
		margin: 0 3px;
		gap: 4px;
	}
	.tba_pg_word,
	.tba_pg_first,
	.tba_pg_last {
		display: none !important;
	}
	/* black heading row: only "Thread / Author" (and the moderator select-all box) */
	table.tba_threadlist > tbody > tr > td.tcat:nth-child(2),
	table.tba_threadlist > tbody > tr > td.tcat:nth-child(3) {
		display: none !important;
	}
}


/* Users browsing: below the thread table, level with the Post Thread button */
.tba_usersbrowsing {
	float: left;
	max-width: 70%;
	margin: 10px 0 6px;
	line-height: 18px;
}
.tba_usersbrowsing br {
	display: none;
}
@media screen and (max-width: 767px) {
	.tba_usersbrowsing {
		float: none;
		max-width: none;
		margin: 8px 0;
	}
}


/* ===== Desktop width: match truebluearmy.com (960px column, 20px inset for header/footer) ===== */
@media screen and (min-width: 768px) {
	#container {
		min-width: 0;
	}
	.wrapper {
		width: auto !important;
		min-width: 0 !important;
		max-width: 960px !important;
		margin-left: auto !important;
		margin-right: auto !important;
		box-sizing: border-box;
	}
	#panel .wrapper,
	#logo .wrapper,
	#footer .wrapper {
		padding-left: 20px;
		padding-right: 20px;
	}
	#logo img {
		width: 450px;
		max-width: 100%;
		height: auto;
	}
}


/* ===== Grey nav bar: match truebluearmy.com ===== */
#panel .lower {
	background: #efefef;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #ccc;
	padding: 0;
}
#panel .lower .wrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	min-height: 32px;
	padding-top: 0;
	padding-bottom: 0;
}
#panel .lower br.clear {
	display: none;
}
#panel .lower ul.panel_links {
	float: none;
	margin: 0;
	padding: 0;
}
#panel .lower ul.panel_links:empty {
	display: none;
}
ul.tba_sitenav {
	display: flex;
	gap: 20px;
	margin: 0 0 0 auto;
	padding: 5px 0;
	list-style: none;
}
ul.tba_sitenav li {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.tba_sitenav a,
ul.tba_sitenav a:link,
ul.tba_sitenav a:visited {
	font-family: Ubuntu, Tahoma, Verdana, Arial, sans-serif;
	font-size: 16px;
	font-weight: normal;
	line-height: 22.4px;
	color: #666;
	text-decoration: none;
	background: none;
	padding: 0;
}
ul.tba_sitenav a:hover {
	color: #666;
	text-decoration: underline;
}
ul.tba_sitenav a.is_current {
	font-weight: bold;
}
@media screen and (max-width: 767px) {
	ul.tba_sitenav {
		gap: 16px;
	}
	ul.tba_sitenav a,
	ul.tba_sitenav a:link,
	ul.tba_sitenav a:visited {
		font-size: 15px;
	}
}


/* ===== Logo block: match truebluearmy.com header (24px above/below a 450x150 logo) ===== */
#panel .lower {
	height: 34px;
	box-sizing: border-box;
	overflow: hidden;
}
#panel .lower .wrapper {
	height: 100%;
	min-height: 0;
}
ul.tba_sitenav {
	padding-top: 0;
	padding-bottom: 0;
}
#logo {
	margin: 0 !important;
	padding: 24px 0 !important;
	background: #fff;
}
@media screen and (max-width: 767px) {
	#panel .lower {
		height: auto;
		min-height: 34px;
		overflow: visible;
	}
	#panel .lower .wrapper {
		min-height: 32px;
	}
	ul.tba_sitenav {
		padding-top: 5px;
		padding-bottom: 5px;
	}
}
#logo .wrapper > a {
	display: inline-block;
	vertical-align: top;
}
#logo img {
	display: block;
	width: 450px;
	max-width: 100%;
	height: auto;
	aspect-ratio: 3 / 1;
}
#logo ul.top_links {
	margin: 0 !important;
	padding: 0 !important;
	height: 0;
	overflow: hidden;
}


/* ===== One shared left/right edge for header, content and footer ===== */
/* Desktop: 20px inside the 960px column (same line as truebluearmy.com's header) */
@media screen and (min-width: 768px) {
	#content > .wrapper {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}
/* Phones: one 16px gutter for everything */
@media screen and (max-width: 767px) {
	#container,
	#header,
	#panel,
	#panel .upper,
	#panel .lower,
	#logo,
	#content,
	#footer,
	#footer .upper,
	#footer .lower {
		padding-left: 0 !important;
		padding-right: 0 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.wrapper {
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
		width: auto !important;
		box-sizing: border-box;
	}
	ul.tba_sitenav {
		margin-right: 0;
	}
}
/* Post Thread button: flush with the right edge */
#content .float_right a.button.new_thread_button,
#content .float_right a.button {
	margin-right: 0 !important;
}


/* ===== Breadcrumb bar: match truebluearmy.com .tba-page-title ===== */
.tba-page-title {
	background: #051793;
	color: #fff;
}
.tba-page-title .wrapper {
	max-width: 960px;
	margin: 0 auto;
	box-sizing: border-box;
}
@media screen and (min-width: 768px) {
	.tba-page-title .wrapper {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}
.tba-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	padding: 14px 0;
	font-family: Ubuntu, Tahoma, Verdana, Arial, sans-serif;
	font-size: 16px;
	font-weight: normal;
	line-height: 25.6px;
	color: #fff;
}
.tba-crumb {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	min-width: 0;
}
.tba-breadcrumb a,
.tba-breadcrumb a:link,
.tba-breadcrumb a:visited {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	font-weight: normal;
}
.tba-breadcrumb a:hover,
.tba-breadcrumb a:focus-visible {
	color: #fff;
	text-decoration: underline;
}
.tba-breadcrumb__sep {
	color: rgba(255, 255, 255, 0.45);
}
.tba-breadcrumb__current {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 16px;
	font-weight: bold;
	line-height: 19.2px;
	color: #fff;
	overflow-wrap: anywhere;
}
#content {
	padding-top: 28px;
}


/* ===== Breadcrumb bar sticks to the top once scrolled past ===== */
.tba-page-title {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 900;
}
html {
	scroll-padding-top: 62px;
}


/* ===== User block docks into the breadcrumb bar while it is stuck ===== */
.tba-page-title-sentinel {
	height: 0;
	margin: 0;
	padding: 0;
}
.tba-page-title .wrapper {
	display: flex;
	align-items: center;
	gap: 16px;
}
.tba-page-title .tba-breadcrumb {
	flex: 1 1 auto;
	min-width: 0;
}
.tba_userbar--docked {
	flex: 0 0 auto;
	font-family: Ubuntu, Tahoma, Verdana, Arial, sans-serif;
	font-size: 16px;
	line-height: 25.6px;
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.tba-page-title.is_stuck .tba_userbar--docked {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
.tba_userbar--docked .tba_usericon {
	color: #fff;
}
.tba_userbar--docked a.tba_username,
.tba_userbar--docked a.tba_username:link,
.tba_userbar--docked a.tba_username:visited {
	display: inline-grid;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}
.tba_userbar--docked .tba_logout,
.tba_userbar--docked .tba_logout a,
.tba_userbar--docked .tba_logout a:link,
.tba_userbar--docked .tba_logout a:visited {
	color: #fff;
	font-weight: normal;
	text-decoration: none;
}
.tba_userbar--docked .tba_logout a:hover {
	text-decoration: underline;
}
@media screen and (max-width: 767px) {
	.tba-page-title .wrapper {
		gap: 10px;
	}
	.tba_userbar--docked {
		font-size: 14px;
	}
}


/* Docked user block: take no room until stuck; breadcrumb stays on one line */
.tba_userbar--docked {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
}
.tba-page-title.is_stuck .tba_userbar--docked {
	max-width: 60%;
}
.tba-page-title .tba-breadcrumb {
	flex-wrap: nowrap;
	white-space: nowrap;
}
.tba-breadcrumb .tba-crumb,
.tba-breadcrumb .tba-breadcrumb__home {
	flex: 0 0 auto;
}
.tba-breadcrumb .tba-crumb--current {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
}
.tba-breadcrumb .tba-breadcrumb__current {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow-wrap: normal;
}


/* ===== Watermark pattern behind the content (as truebluearmy.com .site-content) ===== */
/* The main site's pattern starts at the top of the breadcrumb bar; offset by the bar's 53.6px so the tiles line up */
#content {
	position: relative;
	isolation: isolate;
	background-color: #fff;
}

/* Pattern drawn on a pseudo-element so its opacity can be set without fading the content */
#content::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	pointer-events: none;
	background-image: url(https://truebluearmy.com/wp-content/themes/tba-theme/assets/images/pattern-chevron.png);
	background-repeat: repeat;
	background-size: 242px 139px;
	background-position: 0 -53.6px;
	opacity: 0.75;
}


/* Thread page: no rule above the first post (the title bar it separated is gone) */
#posts > .post:first-of-type .post_author {
	border-top: 0 !important;
}


/* ===== Thread page: posts as separate cards (as saintsweb.co.uk) ===== */
table.tba_postlist {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	border-radius: 0;
	box-shadow: none;
}
table.tba_postlist > tbody > tr > td#posts_container {
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
}
#posts > .post {
	background: #fff;
	border: 0;
	border-radius: 4px;
	box-shadow: 0 2px 4px -1px rgba(45, 55, 72, 0.1), 0 0 0 1px rgba(45, 55, 72, 0.06);
	margin: 0 0 20px 0;
	overflow: hidden;
}
#posts > .post .post_author {
	border-top: 0 !important;
}
table.tba_postlist > tbody > tr > td.tfoot {
	border-radius: 4px;
	box-shadow: 0 2px 4px -1px rgba(45, 55, 72, 0.1), 0 0 0 1px rgba(45, 55, 72, 0.06);
}
@media screen and (max-width: 767px) {
	#posts > .post {
		margin-bottom: 12px;
	}
}


/* ===== Thread page pagination bars (same pager as the thread list) ===== */
div.tba_bar.tba_bar--thread {
	clear: both;
	background: #051793;
	color: #fff;
	padding: 6px 8px;
	margin: 0 0 20px;
	border-radius: 4px;
	box-shadow: 0 2px 4px -1px rgba(45, 55, 72, 0.1);
}
div.tba_bar.tba_bar--thread.tba_bar--bottom {
	margin: 0 0 10px;
}
.tba_newreply_top {
	margin-bottom: 10px;
}
/* hide the bar when the thread only has one page */
div.tba_bar.tba_bar--thread:not(:has(.pagination, .tba_pager)) {
	display: none;
}
@media screen and (max-width: 767px) {
	div.tba_bar.tba_bar--thread {
		margin-bottom: 12px;
	}
}


/* ===== Thread page pagination: square pills, same as the thread-list row pages ===== */
.tba_threadpages .pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 3px;
	margin: 0;
	padding: 0;
	font-size: 11px;
	color: #051793;
}
.tba_threadpages .pagination .pages {
	display: none;
}
.tba_threadpages .pagination a,
.tba_threadpages .pagination a:link,
.tba_threadpages .pagination a:visited,
.tba_threadpages .pagination .pagination_current {
	display: inline-block;
	margin: 0;
	padding: 0 7px;
	line-height: 20px;
	font-size: 11px;
	font-weight: 600;
	color: #051793;
	background: rgba(5, 23, 147, 0.12);
	border: 0;
	border-radius: 4px;
	text-decoration: none;
}
.tba_threadpages .pagination a:hover {
	background: #051793;
	color: #fff;
	text-decoration: none;
}
.tba_threadpages .pagination .pagination_current {
	background: #051793;
	color: #fff;
}
/* Previous / Next as small arrow squares */
.tba_threadpages .pagination a.pagination_previous,
.tba_threadpages .pagination a.pagination_next {
	font-size: 0;
	min-width: 22px;
	padding: 0;
	text-align: center;
}
.tba_threadpages .pagination a.pagination_previous:before {
	content: "\25C2";
	font-size: 11px;
}
.tba_threadpages .pagination a.pagination_next:before {
	content: "\25B8";
	font-size: 11px;
}
/* MyBB's jump-to-page arrow isn't part of the square style */
.tba_threadpages .pagination a.go_page,
.tba_threadpages .pagination .drop_go_page {
	display: none !important;
}
.tba_threadpages {
	padding-top: 10px;
}
@media screen and (max-width: 767px) {
	.tba_threadpages .pagination a,
	.tba_threadpages .pagination .pagination_current {
		line-height: 28px;
		padding: 0 10px;
		font-size: 13px;
	}
	.tba_threadpages .pagination a.pagination_previous:before,
	.tba_threadpages .pagination a.pagination_next:before {
		font-size: 13px;
	}
	.tba_threadpages .pagination a.pagination_previous,
	.tba_threadpages .pagination a.pagination_next {
		min-width: 30px;
	}
}

.tba_threadpages .pagination a.pagination_previous:before,
.tba_threadpages .pagination a.pagination_next:before {
	font-size: 14px;
	line-height: 20px;
}
table.tba_postlist {
	margin-top: 12px;
}

.tba_threadpages .pagination a.pagination_previous,
.tba_threadpages .pagination a.pagination_next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 20px;
	line-height: 1;
	vertical-align: middle;
}
.tba_threadpages .pagination a.pagination_previous:before,
.tba_threadpages .pagination a.pagination_next:before {
	line-height: 1;
	font-size: 12px;
}
@media screen and (max-width: 767px) {
	.tba_threadpages .pagination a.pagination_previous,
	.tba_threadpages .pagination a.pagination_next {
		height: 28px;
	}
}


/* ===== Square page buttons: one fixed size for every state (normal, current, hover, arrows) ===== */
.tba_threadpages .pagination a,
.tba_threadpages .pagination a:link,
.tba_threadpages .pagination a:visited,
.tba_threadpages .pagination a:hover,
.tba_threadpages .pagination .pagination_current,
.tba_minipages a,
.tba_minipages a:link,
.tba_minipages a:visited,
.tba_minipages a:hover {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 24px;
	height: 20px;
	padding: 0 5px !important;
	border: 0 !important;
	line-height: 1 !important;
	font-weight: 600 !important;
	text-align: center;
	vertical-align: middle;
}
@media screen and (max-width: 767px) {
	.tba_threadpages .pagination a,
	.tba_threadpages .pagination a:link,
	.tba_threadpages .pagination a:visited,
	.tba_threadpages .pagination a:hover,
	.tba_threadpages .pagination .pagination_current {
		min-width: 36px;
		height: 28px;
	}
}

.tba_threadpages .pagination a.go_page,
.tba_threadpages .pagination a.go_page:hover {
	display: none !important;
}

.tba_threadpages .pagination .tba_gap {
	display: inline-flex;
	align-items: flex-end;
	height: 20px;
	padding: 0 1px;
	color: #051793;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
}
@media screen and (max-width: 767px) {
	.tba_threadpages .pagination .tba_gap {
		height: 28px;
		font-size: 13px;
	}
	.tba_threadpages .pagination a,
	.tba_threadpages .pagination a:link,
	.tba_threadpages .pagination a:visited,
	.tba_threadpages .pagination a:hover,
	.tba_threadpages .pagination .pagination_current {
		min-width: 30px !important;
	}
}


/* ===== Thread page: secondary sticky bar (pages + New Reply) under the docked breadcrumb ===== */
.tba_subbar {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid #e3e6ee;
	box-shadow: 0 4px 10px -4px rgba(15, 23, 42, 0.18);
	color: #1f2937;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.tba-page-title.is_stuck .tba_subbar {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
.tba-page-title .tba_subbar .tba_subbar_inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding-top: 6px;
	padding-bottom: 6px;
}
.tba_subbar .tba_subbar_pages {
	padding-top: 0;
	min-width: 0;
}
.tba_subbar .tba_subbar_pages .pagination {
	flex-wrap: nowrap;
}
.tba_subbar a.tba_subbar_reply {
	flex: 0 0 auto;
	margin: 0 0 0 auto !important;
	padding: 6px 14px !important;
	line-height: 20px;
	font-size: 14px;
}
html.tba_has_subbar {
	scroll-padding-top: 110px;
}
@media screen and (max-width: 767px) {
	.tba_subbar .tba_subbar_pages .pagination a,
	.tba_subbar .tba_subbar_pages .pagination .pagination_current {
		min-width: 24px !important;
		height: 24px !important;
		font-size: 11px !important;
	}
	.tba_subbar .tba_subbar_pages .pagination .tba_gap {
		height: 24px;
		font-size: 11px;
	}
	.tba_subbar a.tba_subbar_reply {
		padding: 5px 10px !important;
		font-size: 13px;
	}
}


/* ===== Thread page: secondary bar is always shown (not just when docked) ===== */
.tba-page-title .tba_subbar {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
	transition: none;
}
.tba_moved_to_subbar {
	display: none !important;
}
html.tba_has_subbar #content {
	padding-top: 73px;
}
html.tba_has_subbar table.tba_postlist {
	margin-top: 0;
}


/* Previous / Next always show the arrow only (fix: phone bar rule was restoring the words) */
.tba_threadpages .pagination a.pagination_previous,
.tba_threadpages .pagination a.pagination_next {
	font-size: 0 !important;
}
.tba_threadpages .pagination a.pagination_previous:before,
.tba_threadpages .pagination a.pagination_next:before {
	font-size: 12px !important;
	line-height: 1 !important;
}


/* ===== Thread list: pager + sort + Post Thread in the white bar under the breadcrumb ===== */
.tba_subbar--list .tba_subbar_inner {
	color: #051793;
}
.tba_subbar--list .tba_bar_pages {
	flex: 0 0 auto;
}
.tba_subbar_right {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
	min-width: 0;
}
.tba_subbar--list .tba_bar_tools {
	margin-left: 0;
}
/* pager on white */
.tba_subbar--list .tba_pager,
.tba_subbar--list .tba_pg,
.tba_subbar--list a.tba_pg:link,
.tba_subbar--list a.tba_pg:visited {
	color: #051793;
}
.tba_subbar--list a.tba_pg:hover,
.tba_subbar--list a.tba_pg:focus-visible {
	background: rgba(5, 23, 147, 0.08);
	color: #051793;
}
.tba_subbar--list .tba_pg_input {
	background: #fff;
	color: #051793;
	box-shadow: 0 0 0 1px #c9cfdf;
}
.tba_subbar--list .tba_pg_input:hover {
	box-shadow: 0 0 0 1px #8f9bbd;
}
.tba_subbar--list .tba_pg_input:focus {
	box-shadow: 0 0 0 2px #051793;
}
/* sort button on white */
.tba_subbar--list.tba_subbar .tba_bar .tba_sort_btn,
.tba_subbar--list .tba_bar .tba_sort_btn {
	background: #fff;
	color: #051793;
	border: 1px solid rgba(5, 23, 147, 0.35);
}
.tba_subbar--list .tba_bar .tba_sort_btn:hover,
.tba_subbar--list .tba_bar .tba_sort.open .tba_sort_btn {
	background: rgba(5, 23, 147, 0.06);
	border-color: rgba(5, 23, 147, 0.6);
}
.tba_subbar--list .tba_bar .tba_sort_btn.is_filtered .tba_sort_current:after {
	background: #e0a800;
}
.tba_subbar--list .tba_bar .tba_sort_menu {
	top: calc(100% + 6px);
}
@media screen and (max-width: 767px) {
	.tba_subbar--list .tba_subbar_inner {
		gap: 8px;
	}
	.tba_subbar_right {
		gap: 8px;
	}
	.tba_subbar--list .tba_bar .tba_sort_btn {
		height: 30px;
	}
	.tba_subbar--list .tba_pg {
		height: 30px;
	}
	.tba_subbar--list .tba_pg_input {
		height: 26px;
	}
}

/* Narrow phones: sort button shows its icon only so the bar stays on one line */
@media screen and (max-width: 420px) {
	.tba_subbar--list .tba_sort_current {
		display: none;
	}
	.tba_subbar--list .tba_sort_icon {
		position: relative;
	}
	.tba_subbar--list .tba_sort_btn.is_filtered .tba_sort_icon:after {
		content: "";
		position: absolute;
		top: -3px;
		right: -4px;
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: #e0a800;
	}
}


/* Fix: phone sort sheet in the white bar (was squashed to zero height, and sat under the dimmed backdrop) */
@media screen and (max-width: 767px) {
	.tba_subbar--list .tba_bar .tba_sort_menu {
		top: auto;
	}
	html.tba_sort_is_open .tba-page-title {
		z-index: 1001;
	}
	/* lock page scroll on the viewport only, so the docked bars stay put while the sheet is open */
	html.tba_sort_is_open body {
		overflow: visible !important;
	}
}


/* ===== Thread list as a card: rounded, shadow, light heading band, slim footer ===== */
table.tba_threadlist {
	background: #fff !important;
	border: 0 !important;
	padding: 0 !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 2px 4px -1px rgba(45, 55, 72, 0.1), 0 0 0 1px rgba(45, 55, 72, 0.06);
}
/* heading band */
table.tba_threadlist td.tcat {
	background: #f4f6fb !important;
	background-image: none !important;
	color: #6b7280 !important;
	border-top: 0 !important;
	border-bottom: 1px solid #e3e6ee !important;
	padding-top: 9px !important;
	padding-bottom: 9px !important;
}
table.tba_threadlist td.tcat,
table.tba_threadlist td.tcat .smalltext,
table.tba_threadlist td.tcat strong {
	font-family: Ubuntu, Tahoma, Verdana, Arial, sans-serif;
	font-size: 11px;
	font-weight: bold;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b7280;
}
table.tba_threadlist input[type="checkbox"] {
	accent-color: #051793;
	cursor: pointer;
}
/* footer */
table.tba_threadlist tr.tba_listfoot > td {
	background: #f4f6fb;
	border-top: 1px solid #e3e6ee;
	border-bottom: 0;
	padding: 9px 12px;
	font-family: Ubuntu, Tahoma, Verdana, Arial, sans-serif;
	font-size: 12px;
	color: #6b7280;
}
table.tba_threadlist tr.tba_listfoot > td {
	text-align: left;
}
.tba_listfoot_info {
	display: inline-block;
}
a.tba_listfoot_top,
a.tba_listfoot_top:link,
a.tba_listfoot_top:visited {
	float: right;
	color: #051793;
	font-weight: bold;
	text-decoration: none;
}
a.tba_listfoot_top:hover {
	text-decoration: underline;
}
@media screen and (max-width: 767px) {
	table.tba_threadlist {
		border-radius: 3px;
	}
	table.tba_threadlist tr.tba_listfoot > td {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 8px;
	}
	a.tba_listfoot_top {
		float: none;
		white-space: nowrap;
	}
}
/* type polish */
table.tba_threadlist tr.inline_row span[id^="tid_"] > a,
table.tba_threadlist tr.inline_row span[id^="tid_"] > a:link,
table.tba_threadlist tr.inline_row span[id^="tid_"] > a:visited {
	font-family: Ubuntu, Tahoma, Verdana, Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
}
table.tba_threadlist tr.inline_row span.subject_new > a,
table.tba_threadlist tr.inline_row span.subject_new > a:link,
table.tba_threadlist tr.inline_row span.subject_new > a:visited {
	font-weight: bold;
}
.tba_stats_replies,
.tba_stats_replies a,
.tba_stats_replies a:link,
.tba_stats_replies a:visited {
	color: #4a5568;
}
td.tba_lastpost .lastpost {
	color: #718096;
}

table.tba_threadlist td.tcat {
	white-space: nowrap;
}


/* ===== Thread list heading v2: #666 band (nav link grey), light title-case labels at thread-title size ===== */
table.tba_threadlist td.tcat {
	background: #2b2b2b !important;
	border-bottom: 0 !important;
	padding-top: 8px !important;
	padding-bottom: 8px !important;
}
table.tba_threadlist td.tcat,
table.tba_threadlist td.tcat .smalltext,
table.tba_threadlist td.tcat strong {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: #f2f2f2;
}


/* ===== Thread list white bar: same square page buttons as thread pages ===== */
/* (override the old blue-bar pagination rules that also match here) */
.tba_subbar--list .tba_threadpages .pagination {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 3px;
	font-size: 11px;
	color: #051793;
}
.tba_subbar--list .tba_threadpages .pagination a,
.tba_subbar--list .tba_threadpages .pagination a:link,
.tba_subbar--list .tba_threadpages .pagination a:visited,
.tba_subbar--list .tba_threadpages .pagination .pagination_current {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 24px;
	width: auto;
	height: 20px;
	padding: 0 5px !important;
	margin: 0;
	border: 0 !important;
	border-radius: 4px;
	background: rgba(5, 23, 147, 0.12) !important;
	background-image: none !important;
	color: #051793 !important;
	font-size: 11px;
	font-weight: 600 !important;
	line-height: 1 !important;
	text-transform: none;
	text-decoration: none;
}
.tba_subbar--list .tba_threadpages .pagination a:hover {
	background: #051793 !important;
	color: #fff !important;
}
.tba_subbar--list .tba_threadpages .pagination .pagination_current {
	background: #051793 !important;
	color: #fff !important;
}
.tba_subbar--list .tba_threadpages .pagination a.pagination_previous,
.tba_subbar--list .tba_threadpages .pagination a.pagination_next {
	font-size: 0 !important;
}
.tba_subbar--list .tba_threadpages .pagination .tba_gap {
	color: #051793;
}
.tba_subbar--list .tba_bar_pages {
	padding: 0;
}
.tba_subbar--list .tba_threadpages {
	padding-top: 0;
}
@media screen and (max-width: 767px) {
	.tba_subbar--list .tba_threadpages .pagination a,
	.tba_subbar--list .tba_threadpages .pagination a:link,
	.tba_subbar--list .tba_threadpages .pagination a:visited,
	.tba_subbar--list .tba_threadpages .pagination .pagination_current {
		min-width: 24px !important;
		height: 24px !important;
	}
	.tba_subbar--list .tba_threadpages .pagination .tba_gap {
		height: 24px;
		font-size: 11px;
	}
}
/* narrow phones: keep the full page squares (same as thread pages) and the full "Post Thread" label */
@media screen and (max-width: 420px) {
	.tba_subbar .tba_threadpages .pagination {
		gap: 2px !important;
	}
	.tba_subbar .tba_threadpages .pagination .tba_gap {
		padding: 0 !important;
		min-width: 10px;
		justify-content: center;
		letter-spacing: 0;
	}
	.tba_subbar--list .tba_sort_caret {
		display: none;
	}
	.tba_subbar--list .tba_bar .tba_sort_btn {
		padding: 0 8px;
	}
	.tba_subbar--list a.tba_subbar_reply {
		padding: 0 7px !important;
		height: 30px;
		display: inline-flex !important;
		align-items: center;
		font-size: 12px !important;
		white-space: nowrap;
	}
	.tba_subbar--list .tba_subbar_inner,
	.tba_subbar--list .tba_subbar_right {
		gap: 6px;
	}
}


/* Sort button text in the white bar: grey (same as the grey nav links) */
.tba_subbar--list.tba_subbar .tba_bar .tba_sort_btn,
.tba_subbar--list .tba_bar .tba_sort_btn,
.tba_subbar--list .tba_bar .tba_sort_btn:hover,
.tba_subbar--list .tba_bar .tba_sort.open .tba_sort_btn {
	color: #666;
}


/* ===== Thread list footer band: match the heading band (#2b2b2b, light 16px text) ===== */
table.tba_threadlist tr.tba_listfoot > td {
	background: #2b2b2b !important;
	border-top: 0 !important;
	padding: 8px 12px !important;
	font-family: Ubuntu, Tahoma, Verdana, Arial, sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #f2f2f2;
}
a.tba_listfoot_top,
a.tba_listfoot_top:link,
a.tba_listfoot_top:visited {
	color: #f2f2f2;
	font-weight: 500;
}
a.tba_listfoot_top:hover {
	color: #fff;
	text-decoration: underline;
}
@media screen and (max-width: 767px) {
	table.tba_threadlist tr.tba_listfoot > td {
		font-size: 14px;
	}
}


/* ===== Simplified page footer: one dark band, like truebluearmy.com ===== */
#footer.tba_footer {
	background: transparent;
	border: 0;
	margin-top: 0;
	padding: 0;
}
#content {
	padding-bottom: 40px;
}
.tba_footer_ad {
	display: flex;
	justify-content: center;
	padding: 0 16px 24px;
}
/* collapse the ad slot when no ad is served */
.tba_footer_ad #div-gpt-ad-1611917995016-0:not(:has(iframe)) {
	height: 0 !important;
	overflow: hidden;
}
.tba_footer_ad:not(:has(iframe)) {
	padding-bottom: 0;
}
.tba_footer_bar {
	background: #262626;
	color: #fff;
}
.tba_footer_bar .wrapper {
	display: flex;
	align-items: center;
	min-height: 62px;
}
@media screen and (min-width: 768px) {
	.tba_footer_bar .wrapper {
		padding-left: 20px !important;
		padding-right: 20px !important;
	}
}
.tba_footer_text {
	margin: 0;
	padding: 12px 0;
	font-family: Ubuntu, Tahoma, Verdana, Arial, sans-serif;
	font-size: 13px;
	line-height: 1.5;
	color: #fff;
}


/* ===== Footer band: copy of truebluearmy.com .site-footer (text left, social icons right) ===== */
.tba_footer_bar .wrapper {
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 16px;
}
.tba_footer_text a,
.tba_footer_text a:link,
.tba_footer_text a:visited {
	color: #fff;
	text-decoration: none;
}
.tba_footer_text a:hover {
	color: #fff;
	text-decoration: underline;
}
ul.tba_footer_social {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.tba_footer_social li {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.tba_footer_social a,
ul.tba_footer_social a:link,
ul.tba_footer_social a:visited {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #051793;
	color: #fff;
	font-size: 15px;
	text-decoration: none;
	transition: background 0.15s ease;
}
ul.tba_footer_social a:hover,
ul.tba_footer_social a:focus-visible {
	background: #c1282c;
	color: #fff;
	outline: none;
}

/* footer links: beat MyBB's #footer link colours */
#footer .tba_footer_text a,
#footer .tba_footer_text a:link,
#footer .tba_footer_text a:visited,
#footer ul.tba_footer_social a,
#footer ul.tba_footer_social a:link,
#footer ul.tba_footer_social a:visited,
#footer ul.tba_footer_social a:hover,
#footer ul.tba_footer_social a i {
	color: #fff !important;
}


/* Footer band on phones: text and icons side by side, both vertically centred */
@media screen and (max-width: 767px) {
	.tba_footer_bar .wrapper {
		flex-wrap: nowrap;
		align-items: center;
		gap: 16px;
		padding-top: 14px;
		padding-bottom: 14px;
		min-height: 0;
	}
	.tba_footer_text {
		flex: 1 1 auto;
		min-width: 0;
		padding: 0;
		font-size: 12px;
		line-height: 1.5;
	}
	ul.tba_footer_social {
		flex: 0 0 auto;
		gap: 12px;
	}
}


/* ===== Post reply / new thread / edit post: phone layout ===== */
@media screen and (max-width: 767px) {
	.tba_postform table.tborder {
		width: 100% !important;
		max-width: 100%;
		table-layout: fixed;
	}
	.tba_postform table.tborder td {
		overflow-wrap: anywhere;
		word-break: normal;
	}
	/* form rows: label above field */
	.tba_postform form table.tborder > tbody > tr > td.trow1,
	.tba_postform form table.tborder > tbody > tr > td.trow2 {
		display: block;
		width: auto !important;
		box-sizing: border-box;
	}
	.tba_postform form table.tborder > tbody > tr > td.trow1:first-child,
	.tba_postform form table.tborder > tbody > tr > td.trow2:first-child {
		padding-bottom: 2px;
		border-bottom: 0;
	}
	/* smilie box beside the editor: phones have their own keyboard */
	.tba_postform form table.tborder td table.tborder,
	.tba_postform form table.tborder td .smilie_inserter {
		display: none;
	}
	.tba_postform input.textbox,
	.tba_postform select,
	.tba_postform textarea {
		max-width: 100%;
		box-sizing: border-box;
	}
	.tba_postform input.textbox[name="subject"] {
		width: 100%;
	}
	.tba_postform textarea,
	.tba_postform .sceditor-container {
		width: 100% !important;
		box-sizing: border-box;
	}
	.tba_postform .sceditor-container iframe,
	.tba_postform .sceditor-container textarea {
		width: 100% !important;
		box-sizing: border-box;
	}
	.tba_postform .sceditor-toolbar {
		width: auto !important;
	}
	/* buttons */
	.tba_postform form > div[align="center"],
	.tba_postform form div[align="center"] {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
	}
	.tba_postform input.button {
		font-size: 15px;
		padding: 8px 14px;
	}
	/* thread review under the form */
	.tba_postform .scaleimages img,
	.tba_postform img {
		max-width: 100%;
		height: auto;
	}
	.tba_postform iframe,
	.tba_postform video {
		max-width: 100%;
	}
	/* 16px inputs stop iPhone zooming in when typing */
	.tba_postform input.textbox,
	.tba_postform textarea,
	.tba_postform select {
		font-size: 16px;
	}
}

@media screen and (max-width: 767px) {
	/* make the form table stack properly */
	.tba_postform form table.tborder,
	.tba_postform form table.tborder > tbody,
	.tba_postform form table.tborder > tbody > tr {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}
}
/* breadcrumb: every crumb can shorten with "…" so long trails never overlap the docked user name */
.tba-breadcrumb .tba-crumb {
	flex: 0 1 auto;
	min-width: 0;
	overflow: hidden;
}
.tba-breadcrumb .tba-crumb > a {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.tba-breadcrumb .tba-breadcrumb__home,
.tba-breadcrumb .tba-breadcrumb__sep {
	flex: 0 0 auto;
}

/* breadcrumb shortening order: "Forum" never shortens, middle crumbs (e.g. thread title on reply pages) first, current page last */
.tba-breadcrumb .tba-crumb:first-of-type {
	flex-shrink: 0;
}
.tba-breadcrumb .tba-crumb:not(:first-of-type):not(.tba-crumb--current) {
	flex-shrink: 8;
}
.tba-breadcrumb .tba-crumb--current {
	flex-shrink: 1;
}
@media screen and (max-width: 767px) {
	/* heading cells of the form tables also full width */
	.tba_postform table.tborder > tbody > tr > td {
		display: block;
		width: auto !important;
		box-sizing: border-box;
	}
	.tba_postform table.tborder,
	.tba_postform table.tborder > tbody,
	.tba_postform table.tborder > tbody > tr {
		display: block;
		width: 100% !important;
	}
	/* no empty space where the smilie box was */
	.tba_postform form table.tborder > tbody > tr > td.trow1:first-child:not(:last-child) br,
	.tba_postform form table.tborder > tbody > tr > td.trow2:first-child:not(:last-child) br {
		display: none;
	}
	.tba_postform form table.tborder > tbody > tr > td.trow1:first-child:not(:last-child),
	.tba_postform form table.tborder > tbody > tr > td.trow2:first-child:not(:last-child) {
		height: auto !important;
		padding-top: 8px;
	}
}

@media screen and (max-width: 767px) {
	.tba_postform form table.tborder > tbody > tr > td.trow1:first-child:not(:last-child) > div,
	.tba_postform form table.tborder > tbody > tr > td.trow2:first-child:not(:last-child) > div {
		display: none;
	}
	.tba_postform form table.tborder > tbody > tr > td.trow1:first-child:not(:last-child),
	.tba_postform form table.tborder > tbody > tr > td.trow2:first-child:not(:last-child) {
		line-height: 1.3;
		padding-bottom: 4px;
	}
}


/* ===== Post Reply / New Thread / Edit Post buttons: same flat red as Post Thread / New Reply ===== */
.tba_postform input.button,
.tba_postform input.button:hover,
.tba_postform input.button:focus {
	-webkit-appearance: none;
	appearance: none;
	background: #df3439 !important;
	background-image: none !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 0;
	box-shadow: none !important;
	font-family: Ubuntu, Tahoma, Verdana, Arial, sans-serif;
	font-size: 16px;
	font-weight: normal;
	line-height: 20px;
	padding: 10px 16px !important;
	cursor: pointer;
	text-decoration: none;
}
.tba_postform input.button:hover {
	background: #c42a2f !important;
}
.tba_postform input.button:focus-visible {
	outline: 2px solid #051793;
	outline-offset: 2px;
}
@media screen and (max-width: 767px) {
	.tba_postform input.button {
		font-size: 15px;
		padding: 9px 14px !important;
	}
}

/* ===== Mark all read button (thread list subbar, matches the sort button) ===== */
.tba_subbar_right a.tba_markread_btn {
	display: inline-flex;
	align-items: center;
	align-self: center;
	gap: 6px;
	height: 28px;
	box-sizing: border-box;
	padding: 0 10px 0 9px;
	border: 0.8px solid rgba(5, 23, 147, 0.35);
	border-radius: 6px;
	background: #fff;
	font: 700 12px Ubuntu, Tahoma, Verdana, Arial, sans-serif;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color 0.15s, background 0.15s;
}

.tba_subbar_right a.tba_markread_btn,
.tba_subbar_right a.tba_markread_btn:link,
.tba_subbar_right a.tba_markread_btn:visited,
.tba_subbar_right a.tba_markread_btn:hover,
.tba_subbar_right a.tba_markread_btn:focus-visible,
.tba_subbar_right a.tba_markread_btn i {
	color: #666;
	text-decoration: none;
}

.tba_subbar_right a.tba_markread_btn i {
	font-size: 12px;
}

.tba_subbar_right a.tba_markread_btn:hover,
.tba_subbar_right a.tba_markread_btn:focus-visible {
	border-color: #051793;
	background: #f3f5fc;
}

@media (max-width: 600px) {
	.tba_subbar_right a.tba_markread_btn span { display: none; }
	.tba_subbar_right a.tba_markread_btn { padding: 0 9px; }
}

/* ===== Hide thread tools under threads (printable version, send to friend, subscribe/unsubscribe, add poll) ===== */
ul.thread_tools,
ul.thread_tools li.printable,
ul.thread_tools li.sendthread,
ul.thread_tools li.subscription_add,
ul.thread_tools li.subscription_remove,
ul.thread_tools li.poll {
	display: none !important;
}
