html {background: #202020; margin: 0; padding:0;}
body {
	background: #202020;
	color: #a0a0a0;
	text-align: center;
	line-height: 1.4;
	margin: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	overflow-y: scroll;
}

a:link, a:visited {
	color: #0072BC;
	text-decoration: none;
}

a:hover,a:active {
	color: #ccc;
	text-decoration: none;
}

#container {
	color: #a0a0a0;
	text-align: left;
	line-height: 1.4;
	margin: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	min-width: 990px;
}

.wrapper {
	width: 85%;
	min-width: 970px;
	max-width: 1500px;
	margin: auto auto;
}

#logo {
	background: #202020;
	padding: 10px 0;
	border-bottom: 1px solid #252525;
}

#content {
	background: #202020;
	width: auto !important;
	padding: 20px 10px;
	overflow: hidden;
}

#header ul.menu li a i {
   color:#a0a0a0;
}

#header ul.menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

#header ul.menu li {
	margin: 0 7px;
	display: inline;
}

#logo ul.top_links {
	font-weight: bold;
	text-align: right;
	margin: -10px 5px 0 0;
}


#panel .upper a.logout {
	font-weight: bold;
	padding-right: 20px;
	margin-left: 10px;
}

#panel .upper a.login,
#panel .upper a.lost_password {
	padding-left: 20px;
	margin-left: 10px;
	font-weight: bold;
}

#panel .upper a.register {
	padding-right: 20px;
	margin-left: 10px;
	font-weight: bold;
}

#panel .lower ul.panel_links {
	float: left;
}


#panel .lower ul.user_links {
	float: right;
}

#panel .lower ul.user_links li a {
	padding: 0;
	background-image: none;
}

#panel .upper {
	background: #0066a2;
	color: #fff;
	padding: 7px;
	clear: both;
}

#panel .upper a:link,
#panel .upper a:visited{
	color:#FFF;
}
#panel .upper a:hover,
#panel .upper a:active {
	color: #ccc;
}

#panel .lower {
	background: #353535;
	padding: 5px;
}

#panel .lower a:link,
#panel .lower a:visited {
	color:#ccc;
}
#panel .lower a:hover,
#panel .lower a:active {
	color: #fff;
}

#search {
	border: 0;
	padding: 0;
	margin: 0;
	float: right;
	vertical-align: middle;
}

#search input.button,
#search input.textbox {
	border-color: #353535;
}

#search input.button {
	background: #353535;
	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: #353535;
	padding: 6px;
	font-size: 12px;
	overflow: hidden;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
	color: #CCC;
}

#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: #353535;
}

#footer .upper ul.bottom_links {
	float: left;
	margin: 4px 0 0 0;
}

#footer .lower {
	color: #a0a0a0;
	background: #262626;
	padding: 6px 6px 12px 6px;
	overflow: hidden;
	font-size: 11px;
}

#footer .lower a:link,
#footer .lower a:visited {
	color: #ccc;
	font-weight: bold;
}

#footer .lower a:hover,
#footer .lower a:active {
	color: #fff;
	text-decoration: none;
	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: 25px;width: 25px;font-size: 25px;text-align: center;}

.forum_status i {display: inline-block;line-height: 25px;}

.forum_on {
color: #0066a2;
}

.forum_off, .forum_offlock, .forum_offlink {
color: #666;
}


.forum_off i:before {
    content: "\f114";
}

.forum_offlock i:before {
content: "\f023";
}

.forum_offlink i:before {
content: "\f064";
}

.subforumicon {
height: 10px;
width: 10px;
display: inline-block;
  margin: 0 5px;
}

.subforum_minion {
color: #0066a2;
}

.subforum_minioff, .subforum_miniofflock, .subforum_miniofflink {color: #666;}


.subforum_minioff i:before {
content: "\f114";
}


.subforum_miniofflock i:before {
content: "\f023";
}

.subforum_miniofflink i:before {
content: "\f0c1";
}

table {
	color: #a0a0a0;
	font-size: 13px;
}

.tborder {
	width: 100%;
    margin: auto auto;
    border: 1px solid #2e2e2e;
}

.tfixed {
	table-layout: fixed;
	word-wrap: break-word;
}

.thead {
	background: #0066a2;
	color: #ffffff;
	padding: 10px;
}

.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: #353535;
	color: #fff;
	padding: 6px;
	font-size: 12px;
}

.tcat a:link {
	color: #fff;
}

.tcat a:visited {
	color: #fff;
}

.tcat a:hover,
.tcat a:active {
	color: #fff;
}

.trow1, .trow2 {
    background: #262626;
    border-bottom: 1px solid #2e2e2e;
    border-left: 1px solid #2e2e2e;
    padding: 10px;
}

.trow_shaded {
	background: #5d1b1b;
}

.no_bottom_border {
	border-bottom: 0;
}

.post.unapproved_post {
	background: #ffdde0;
}

.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: #313c41;
}

.trow_sep {
	background: #444;
	color: #ccc;
	padding: 6px;
	font-size: 12px;
	font-weight: bold;
}

.tfoot {
	padding: 6px;
	background: #353535;
	color: #a0a0a0;
}

.tfoot a:link, 
.tfoot a:visited {
	color: #a0a0a0;
	text-decoration: none;
}

.tfoot a:hover,
.tfoot a:active {
	color: #ffffff;
	text-decoration: none;
}

.thead input.textbox,
.thead select {
	border: 1px solid #263c30;
}

.bottommenu {
	background: #efefef;
	color: #333;
	border: 1px solid #4874a3;
	padding: 10px;
}

.navigation {
	color: #ccc;
	font-size: 11px;
	background: #353535;
    padding: 5px;
	
}

.navigation a:link, .navigation a:visited {
	text-decoration: none;
	color:#ccc;
}



.navigation a:hover,.navigation a:active {
	color:#fff;
	text-decoration: none;
}

.navigation .active {
	color: #fff;
	font-size: 11px;
}

.smalltext {
	font-size: 11px;
}

.largetext {
	font-size: 16px;
	font-weight: bold;
}

fieldset {
	padding: 12px;
	border: 1px solid #2e2e2e;
    margin: 0;
	margin: 0;
}

fieldset.trow1,
fieldset.trow2 {
	border-color: #2e2e2e;
}

fieldset.align_right {
	text-align: right;
}

input.textbox {
	background: #353535;
	color: #ccc;
	border: 1px solid #353535;
	padding: 3px 5px;
	outline: 0;
	font-size: 13px;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
}

textarea {
	background: #1f1f1f;
	color: #ccc;
	border: 1px solid #2e2e2e;
	padding: 2px;
	line-height: 1.4;
	outline: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
}

select {
	background: #1f1f1f;
	padding: 3px;
	color: #ccc;
	border: 1px solid #2e2e2e;
	outline: 0;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
}

button,
input.button {
	padding: 5px 8px;
	cursor: pointer;
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 13px;
	background: #0066a2;
	color: #fff;
	outline: 0;
	border:none
}

button:hover,
input.button:hover {
	background: #444;
}

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: 100% !important;
	box-sizing: border-box !important;
}

.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: #0072BC;
	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 {
	padding: 10px 0;
}

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;
}

.expcolimage img {
	display:inline-block;
	width:16px;
	height:auto;
	position:relative;
}

.tcat_menu > .expcolimage {
	margin-top: 0;
}

blockquote {
	border-left: 3px solid #0066a2;
	margin: 0;
	background: #303030;
	padding: 10px;
}

blockquote cite {
	font-weight: bold;
	border-bottom: 1px solid #404040;
	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: #303030;
	border-left: 3px solid #0066a2;
	padding: 10px;
}

.codeblock .title {
	border-bottom: 1px solid #404040;
	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;
}

.user-online { color:#52931c;font-size:11px;}
.user-offline { color:#b31717;font-size:11px;}
.user-away { color:#FF5722;font-size:11px;}

.pm_alert {
	background: #52931c;
	text-align: center;
	padding: 8px;
	margin-bottom: 15px;
	font-size: 12px;
	color: #fff;
}

.pm_alert i {
	color:#FFF;
	margin-top:2px;
}

.pm_alert i:hover {
	color:#ccc;
}

.red_alert {
	background: #b31717;
	color: #FFF;
	text-align: center;
	padding: 8px;
	margin-bottom: 15px;
	font-size: 12px;
	word-wrap: break-word;
}
.pm_alert a:link, .pm_alert a:visited,
.red_alert a:link,.red_alert a:visited {
	color:#FFF;
}
.pm_alert a:hover, .pm_alert  a:active,
.red_alert a:hover,.red_alert  a:active  {
	color: #ccc;
}

.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: 1px solid #c00;
	background: rgba(204, 0, 0, 0.15);
	font-size: 12px;
}

div.error p {
	margin: 0;
	color: #a0a0a0;
	font-weight: normal;
}

div.error p em {
	font-style: normal;
	font-weight: bold;
	display: block;
	color: #C00;
}

div.error ul {}

.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: 6px 8px;
	margin-bottom: 3px;
}

.pagination a {
	background: #353535;
	color: #CCC;
}

.pagination .pagination_current {
	background: #0066a2;
	color: #fff;
	border: none;
	font-weight: bold;
}

.pagination a:hover {
	background: #0072BC;
	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;
	background: #262626;
}

.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 {}

.post .post_author {
	padding: 5px;
	overflow: hidden;
	border-bottom: 1px solid #2e2e2e;
}

.post.classic .post_author {
	float: left;
	width: 13%;
	margin: 0;
	border-right: 1px solid #2e2e2e;
	padding: 15px;
}

.post .post_author .buddy_status {
	vertical-align: middle;
	margin-top: -1px;
}

.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;
}

.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: 5px 0;
	color: #a0a0a0;
	line-height: 1.3;
	width: 140px;
}

.post.classic .post_author div.author_statistics {
	margin: 0 auto;
	float: none;
}

.post .post_head {
	font-size: 11px;
	padding: 5px 0;
	border-bottom: 1px solid #2e2e2e;
	color: #fff;
	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: 12px;
	padding: 10px 0;
}

.post.classic .post_content {
	float: left;
	width: 83.2%;
}

.post_content {
	padding: 0px 10px;
}

.post_content .signature {
	margin-top: 20px;
	border-top: 1px solid #2e2e2e;
	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: #2e2e2e;
	padding: 5px;
	overflow: hidden;
}
.postbit_buttons > a:link, .postbit_buttons > a:hover, .postbit_buttons > a:visited, .postbit_buttons > a:active {
	display: inline-block;
	padding: 3px 5px;
	margin: 2px;
	font-size: 11px;
	background: #0066a2;
	color: #FFF;
}
.postbit_buttons > a:hover {
	background: #353535;
}
.postbit_buttons a span:before {
	content: "";
	display: inline-block;
	font-family: FontAwesome;
	font-weight: normal;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin-right: 5px;
	font-size: 12px;
}
.postbit_buttons a.postbit_find span:before {
	content: "\f002";
}
.postbit_buttons a.postbit_reputation_add span:before {
	content: "\f067";
}
.postbit_buttons a.postbit_email span:before {
	content: "\f0e0";
}
.postbit_buttons a.postbit_website span:before {
	content: "\f0ac";
}
.postbit_buttons a.postbit_pm span:before {
	content: "\f199";
}
.postbit_buttons a.postbit_quote span:before {
	content: "\f10e";
}
.postbit_buttons a.postbit_multiquote span:before {
	content: "\f055";
}
.postbit_buttons a.postbit_multiquote_on span:before {
	content: "\f056";
	color: #DB1304;
}
.postbit_buttons a.postbit_edit span:before {
	content: "\f044";
}
.postbit_buttons a.postbit_qdelete span:before {
	content: "\f00d";
}
.postbit_buttons a.postbit_qrestore span:before {
	content: "\f067";
}
.postbit_buttons a.postbit_report span:before {
	content: "\f0a1";
}
.postbit_buttons a.postbit_warn span:before {
	content: "\f0e3";
}
.postbit_buttons a.postbit_purgespammer span:before {
	content: "\f071";
}
.postbit_buttons a.postbit_reply_pm span:before {
	content: "\f112";
}
.postbit_buttons a.postbit_reply_all span:before {
	content: "\f122";
}
.postbit_buttons a.postbit_forward_pm span:before {
	content: "\f064";
}
.postbit_buttons a.postbit_delete_pm span:before {
	content: "\f00d";
}
a.button:link, a.button:hover, a.button:visited, a.button:active {
	background: #0066a2;
	color: #FFF;
	display: inline-block;
	padding: 5px 8px;
	margin: 2px 2px 6px 2px;
	font-size: 14px;
}
a.button:hover {
	background: #353535;
  
}
a.button.small_button {
	font-size: 13px;
	margin: 0;
	padding: 3px 6px;
}
a.button span:before {
	content: "";
	display: inline-block;
	font-family: FontAwesome;
	font-weight: normal;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin-right: 5px;
}
a.button.new_thread_button span:before {
	content: "\f086";
}
a.button.new_reply_button span:before {
	content: "\f075";
}
a.button.closed_button span:before {
	content: "\f00d";
}
a.button.rate_user_button span:before {
	content: "\f123";
}
a.button.add_buddy_button span:before {
	content: "\f007";
}
a.button.remove_buddy_button span:before {
	content: "\f00d";
}
a.button.add_ignore_button span:before {
	content: "\f1f6";
}
a.button.remove_ignore_button span:before {
	content: "\f0f3";
}
a.button.report_user_button span:before {
	content: "\f0a1";
}

.quick_jump {
	width: 13px;
	height: 13px;
	padding-left: 13px;
	margin-top: -3px;
	border: none;
}

.pollbar {
	background: #0066a2;;
	height: 12px;
}

.pollbar .percent {
	display: none;
}

.posticons_label {
	white-space: nowrap;
}

#logo img, .logo img, header .logo img, #header .logo img {
    max-height: 55px !important;
    height: 55px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

#logo, .logo {
    background: transparent !important;
    border: none !important;
    padding: 5px 0 !important;
}	

/* ======================================================
   Modern Invision (IPS) Style Overrides for MyBB
   ====================================================== */

body, table, td, th, p, div {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    letter-spacing: -0.01em !important;
}

body {
    background-color: #121519 !important;
    color: #a3a8b3 !important;
}

.tborder, table.tborder {
    background: #1a1e24 !important;
    border: 1px solid #282d37 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
}

.thead, .tcat, .thead a, .tcat a {
    background: #222730 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-transform: none !important;
    padding: 12px 16px !important;
    border: none !important;
}

tr.trow1, tr.trow2, td.trow1, td.trow2 {
    background-color: #1a1e24 !important;
    color: #a3a8b3 !important;
    border-bottom: 1px solid #232832 !important;
    padding: 12px 16px !important;
}

.trow1 a, .trow2 a, td a {
    color: #e4e7eb !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.trow1 a:hover, .trow2 a:hover {
    color: #38bdf8 !important;
}

.smalltext, .smalltext a {
    color: #717784 !important;
    font-weight: 400 !important;
    font-size: 13px !important;
}

#navigation, .navigation {
    background: transparent !important;
    border: none !important;
    color: #717784 !important;
    font-size: 13px !important;
}

#panel, div#panel, #panel .lower, #panel .upper {
    background: #1a1e24 !important;
    border-color: #282f3a !important;
    color: #cbd5e1 !important;
}

#panel a, #panel span {
    color: #cbd5e1 !important;
}

/* ======================================================
   Modern Mobile Post Header Fixes
   ====================================================== */
.rating, #rating_thread, .thread_rating, td[id*="rating"], span[id*="rating"], div[class*="rating"], .inline_rating, td:has(.inline_rating) {
    display: none !important;
}

.post_head strong, .post_head a strong, .post_head [id^="post_number"] {
    display: none !important;
}

@media screen and (max-width: 768px) {
    html, body, #container {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    #logo img {
        max-width: 100% !important;
        height: auto !important;
    }

    .tborder {
        width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    .post_author, .post_content {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .post_author {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 6px 12px !important;
        margin: 0 !important;
        background: rgba(0, 0, 0, 0.2) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .post_author .author_avatar img,
    .post_author img.avatar {
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        margin: 0 !important;
        float: none !important;
    }

    .post_author .author_information {
        display: flex !important;
        align-items: center !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    .post_author .author_information strong a {
        font-size: 14px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
    }

    .post_author .author_information .smalltext,
    .post_author .user_title,
    .post_author .author_statistics,
    .post_author .post_stats {
        display: none !important;
    }

    .post_head {
        padding: 4px 10px !important;
        font-size: 11px !important;
    }
}
/* Mobile Screen Containment Fix */
@media screen and (max-width: 768px) {
    html, body, #container, .wrapper, #content {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    .tborder, table {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: auto !important;
    }
}
/* Mobile Optimization for Forum List / Index View */
@media screen and (max-width: 768px) {
    /* Hide 'Threads', 'Posts', and 'Last Post' columns in forum lists on mobile */
    .tborder td:nth-child(3),
    .tborder td:nth-child(4),
    .tborder td:nth-child(5),
    .tborder th:nth-child(3),
    .tborder th:nth-child(4),
    .tborder th:nth-child(5) {
        display: none !important;
    }

    /* Expand forum name/description cell to full screen width */
    .tborder td:nth-child(2) {
        width: 100% !important;
        display: block !important;
        box-sizing: border-box !important;
    }
}

/* Responsive Editor Toolbar Styling */
div.sceditor-container {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

div.sceditor-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    background: #181c23 !important;
    border: 1px solid #282d37 !important;
    padding: 6px !important;
    gap: 4px !important;
    box-sizing: border-box !important;
}

div.sceditor-group {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    gap: 2px !important;
}

.sceditor-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* Clean Editor Container Layout */
.sceditor-container {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

.sceditor-container iframe, 
.sceditor-container textarea {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ======================================================
   SCEDITOR ICON TOOLBAR OVERRIDE
   ====================================================== */
div.sceditor-toolbar {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    padding: 6px !important;
    background: #181c23 !important;
    border-bottom: 1px solid #282d37 !important;
}

div.sceditor-group {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    gap: 2px !important;
}

/* Hide text labels inside buttons */
.sceditor-button div, 
.sceditor-button {
    font-size: 0 !important;
    text-indent: -9999px !important;
}

/* Base button box styling */
.sceditor-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 30px !important;
    background: #252a34 !important;
    border: 1px solid #353b48 !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    margin: 1px !important;
    position: relative !important;
}

.sceditor-button:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
}

/* Inject FontAwesome icons into pseudo-elements */
.sceditor-button:before {
    font-family: 'FontAwesome' !important;
    font-size: 14px !important;
    color: #e2e8f0 !important;
    text-indent: 0 !important;
    float: none !important;
    display: block !important;
}

/* Specific Icon Codes */
.sceditor-button-bold:before { content: "\f032"; }
.sceditor-button-italic:before { content: "\f033"; }
.sceditor-button-underline:before { content: "\f0cd"; }
.sceditor-button-strike:before { content: "\f0cc"; }
.sceditor-button-left:before { content: "\f036"; }
.sceditor-button-center:before { content: "\f037"; }
.sceditor-button-right:before { content: "\f038"; }
.sceditor-button-justify:before { content: "\f039"; }
.sceditor-button-font:before { content: "\f031"; }
.sceditor-button-size:before { content: "\f034"; }
.sceditor-button-color:before { content: "\f0d0"; }
.sceditor-button-bulletlist:before { content: "\f0ca"; }
.sceditor-button-orderedlist:before { content: "\f0cb"; }
.sceditor-button-link:before { content: "\f0c1"; }
.sceditor-button-unlink:before { content: "\f127"; }
.sceditor-button-image:before { content: "\f03e"; }
.sceditor-button-code:before { content: "\f121"; }
.sceditor-button-quote:before { content: "\f10e"; }
.sceditor-button-source:before { content: "\f002"; }

/* Fix Text Color inside SCEditor Text Area */
.sceditor-container iframe, 
.sceditor-container textarea {
    color: #ffffff !important;
}

/* Fix SCEditor Modal & Image Dropdown Popups */
.sceditor-dropdown, 
div.sceditor-dropdown {
    position: absolute !important;
    z-index: 99999 !important;
    background: #1e232a !important;
    border: 1px solid #353b48 !important;
    border-radius: 6px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.6) !important;
    padding: 12px !important;
    color: #ffffff !important;
}

.sceditor-dropdown input, 
.sceditor-dropdown button {
    background: #2b303c !important;
    color: #ffffff !important;
    border: 1px solid #444c5e !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
}

.sceditor-dropdown button:hover {
    background: #0284c7 !important;
}