/* Kernel Dark theme — brand palette override */

body {
	background: #111827;
	color: #F3F4F6;
}

a:link,
a:visited {
	color: #fea300;
	text-decoration: none;
}

a:hover,
a:active {
	color: #F59E0B;
	text-decoration: underline;
}

#container {
	color: #F3F4F6;
}

#logo {
	background: #1f2937;
	border-bottom: 1px solid #4B5563;
}

#content {
	background: #111827;
}

#panel .upper {
	background: #1f2937;
	color: #F3F4F6;
	border-top: 1px solid #374151;
	border-bottom: 1px solid #4B5563;
}

#panel .upper a:link,
#panel .upper a:visited,
#panel .upper a:hover,
#panel .upper a:active {
	color: #F3F4F6;
}

#panel .lower {
	background: #1f2937;
	color: #9CA3AF;
	border-top: 1px solid #374151;
	border-bottom: 1px solid #4B5563;
}

#panel .lower a:link,
#panel .lower a:visited,
#panel .lower a:hover,
#panel .lower a:active {
	color: #9CA3AF;
}

#search input.button,
#search input.textbox {
	border-color: #4B5563;
}

#search input.button {
	background: #374151;
	color: #F3F4F6;
	font-weight: bold;
}

#footer .upper {
	background: #1f2937;
	border-top: 1px solid #374151;
	border-bottom: 1px solid #4B5563;
}

#footer a:link,
#footer a:visited,
#footer a:hover,
#footer a:active {
	color: #9CA3AF;
}

#footer .upper .language select,
#footer .upper .theme select {
	background: #374151;
	color: #F3F4F6;
	border-color: #4B5563;
}

#footer .lower {
	color: #6B7280;
}

#footer .lower a:link,
#footer .lower a:visited {
	color: #9CA3AF;
}

#footer .lower a:hover,
#footer .lower a:active {
	color: #fea300;
}

#footer .lower #current_time {
	color: #6B7280;
}

table {
	color: #F3F4F6;
}

.tborder {
	background: #1f2937;
	border: 1px solid #374151;
}

.thead {
	background: #1f2937;
	color: #F3F4F6;
	border-bottom: 2px solid #fea300;
}

.thead a:link,
.thead a:visited {
	color: #F3F4F6;
}

.thead a:hover,
.thead a:active {
	color: #fea300;
}

.thead input.textbox,
.thead select {
	border: 1px solid #4B5563;
}

.tcat {
	background: #1f2937;
	color: #F3F4F6;
	border-top: 1px solid #374151;
	border-bottom: 1px solid #4B5563;
}

.tcat a:link,
.tcat a:visited,
.tcat a:hover,
.tcat a:active {
	color: #F3F4F6;
}

.trow1 {
	background: #1f2937;
	border: 1px solid;
	border-color: #27303f #374151 #374151 #27303f;
}

.trow2 {
	background: #182230;
	border: 1px solid;
	border-color: #27303f #374151 #374151 #27303f;
}

.trow_shaded,
.post.unapproved_post {
	background: #3a2a14;
}

.post.unapproved_post .post_author {
	border-bottom-color: #D97706;
}

.post.classic.unapproved_post .post_author {
	border-color: #D97706;
}

.post.unapproved_post .post_controls {
	border-top-color: #D97706;
}

.trow_deleted,
.post.deleted_post {
	background: #2a2438;
}

.trow_selected,
tr.trow_selected td {
	background: #3a2e12;
	color: #F3F4F6;
	border-right-color: #D97706;
	border-bottom-color: #D97706;
}

.trow_selected a:link,
.trow_selected a:visited,
.trow_selected a:hover,
.trow_selected a:active {
	color: #F3F4F6;
}

.trow_sep {
	background: #374151;
	color: #F3F4F6;
	border-bottom: 1px solid #4B5563;
}

.tfoot {
	border-top: 1px solid #374151;
	background: #1f2937;
	color: #9CA3AF;
}

.tfoot a:link,
.tfoot a:visited {
	color: #9CA3AF;
}

.tfoot a:hover,
.tfoot a:active {
	color: #fea300;
}

.bottommenu {
	background: #1f2937;
	color: #F3F4F6;
	border: 1px solid #fea300;
}

.navigation {
	color: #9CA3AF;
}

.navigation .active {
	color: #F3F4F6;
}

fieldset {
	border: 1px solid #4B5563;
}

fieldset.trow1,
fieldset.trow2 {
	border-color: #4B5563;
}

input.textbox,
textarea,
select {
	background: #374151;
	color: #F3F4F6;
	border: 1px solid #4B5563;
}

input.textbox:focus,
textarea:focus,
select:focus {
	border-color: #fea300;
}

button,
input.button {
	background: #374151;
	border: 1px solid #4B5563;
	color: #F3F4F6;
}

button:hover,
input.button:hover {
	border-color: #fea300;
}

input.error, textarea.error, select.error {
	border: 1px solid #f87171;
	color: #f87171;
}

input.valid, textarea.valid, select.valid {
	border: 1px solid #4ade80;
}

label.error {
	color: #f87171;
}

.editor {
	background: #1f2937;
	border: 1px solid #4B5563;
}

.editor_control_bar {
	background: #1f2937;
	border: 1px solid #4B5563;
}

.post .editor_control_bar {
	background: #182230;
}

.popup_menu {
	background: #1f2937;
	border: 1px solid #4B5563;
}

.popup_menu .popup_item {
	background: #374151;
	color: #F3F4F6;
}

.popup_menu .popup_item:hover {
	background: #fea300;
	color: #111827;
}

.tt-suggestion.tt-is-under-cursor {
	background-color: #fea300;
	color: #111827;
}

.trow_reputation_positive {
	background: #15321c;
}

.trow_reputation_negative {
	background: #3a1414;
}

.reputation_positive {
	color: #4ade80;
}

.reputation_neutral {
	color: #9CA3AF;
}

.reputation_negative {
	color: #f87171;
}

._neutral {
	background-color: #374151;
	color: #9CA3AF;
	border: 1px solid #4B5563;
}

._minus {
	background-color: #3a1414;
	color: #f87171;
	border: 1px solid #991b1b;
}

._plus {
	background-color: #15321c;
	color: #4ade80;
	border: 1px solid #15803d;
}

img.attachment {
	border: 1px solid #4B5563;
	background: #374151;
}

hr {
	background-color: #4B5563;
	color: #4B5563;
}

.selectall {
	background: #3a2e12;
	border-bottom: 1px solid #D97706;
	color: #F3F4F6;
}

blockquote {
	border: 1px solid #4B5563;
	background: #1f2937;
}

blockquote cite {
	border-bottom: 1px solid #4B5563;
}

blockquote cite > span {
	color: #9CA3AF;
}

.codeblock {
	background: #111827;
	border: 1px solid #4B5563;
}

.codeblock .title {
	border-bottom: 1px solid #4B5563;
}

.highlight {
	background: #F59E0B;
	color: #111827;
}

.pm_alert {
	background: #3a2e12;
	border: 1px solid #F59E0B;
	color: #F3F4F6;
}

.red_alert {
	background: #3a1414;
	border: 1px solid #991b1b;
	color: #f87171;
}

.red_alert a:link,
.red_alert a:visited,
.red_alert a:hover,
.red_alert a:active {
	color: #f87171;
}

.high_warning { color: #f87171; }
.moderate_warning { color: #fb923c; }
.low_warning { color: #D97706; }
.imminent_banned { color: #991b1b; }
.high_banned { color: #f87171; }
.moderate_banned { color: #fb923c; }
.low_banned { color: #4ade80; }

.online { color: #4ade80; }
.offline { color: #6B7280; }

div.error {
	border: 2px solid #F59E0B;
	background: #3a2e12;
}

div.error p {
	color: #F3F4F6;
}

div.error p em {
	color: #f87171;
}

.pagination .pagination_current,
.pagination a {
	color: #F3F4F6;
}

.pagination a {
	background: #1f2937;
	border: 1px solid #4B5563;
}

.pagination .pagination_current {
	color: #F3F4F6;
}

.pagination a:hover {
	background: #fea300;
	color: #111827;
	border-color: #D97706;
}

.drop_go_page {
	background: #1f2937;
}

.pagination_breadcrumb {
	background-color: #1f2937;
	border: 1px solid #374151;
	outline: 1px solid #4B5563;
}

.success_message { color: #4ade80; }
.error_message { color: #f87171; }

.ignored_post,
.deleted_post_collapsed {
	border-top: 3px solid #4B5563;
}

.deleted_post_hidden {
	border-top: 2px solid #4B5563;
}

.post .post_author {
	border-bottom: 1px solid #4B5563;
	border-top: 2px solid #4B5563;
	background: #1f2937;
}

.post.classic .post_author {
	border: 1px solid #374151;
	border-left: 0;
}

.post .post_author div.author_avatar img {
	border: 1px solid #4B5563;
	background: #374151;
}

.post .post_author div.author_statistics {
	color: #9CA3AF;
}

.post.classic .post_author div.author_statistics {
	border-top: 1px dotted #4B5563;
}

.post .post_head {
	border-bottom: 1px dotted #374151;
}

.post .post_head span.post_date {
	color: #9CA3AF;
}

.post .post_head span.edited_post {
	color: #6B7280;
}

.post .post_head span.edited_post a {
	color: #9CA3AF;
}

.post_content .signature {
	border-top: 1px dotted #374151;
}

.post .post_meta {
	color: #6B7280;
}

.post .post_meta a:link,
.post .post_meta a:visited,
.post .post_meta a:hover,
.post .post_meta a:active {
	color: #9CA3AF;
}

.post_controls {
	background: #1f2937;
	border-bottom: 1px solid #4B5563;
}

.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	background: #374151;
	border: 1px solid #4B5563;
	color: #F3F4F6;
}

.postbit_buttons > a:hover {
	border-color: #fea300;
}

a.button:link,
a.button:hover,
a.button:visited,
a.button:active {
	background: #fea300;
	color: #111827;
	border: 1px solid #D97706;
	font-weight: bold;
}

.pollbar {
	border: 1px solid #4B5563;
}

.poll_votedfor {
	background: #374151;
	border: 1px solid;
	border-color: #4B5563 #374151 #374151 #4B5563;
}

.modal {
	background: #1f2937;
	box-shadow: 0 0 10px #000;
	color: #F3F4F6;
}

.modal a.close-modal {
	filter: invert(1);
}

div.jqi {
	background-color: #1f2937;
	color: #F3F4F6;
	border: solid 1px #4B5563;
}

div.jqi .jqistate {
	background-color: #1f2937;
}

div.jqi .jqititle {
	border-bottom: solid 1px #4B5563;
	color: #F3F4F6;
}

div.jqi .jqimessage {
	color: #F3F4F6;
}

div.jqi .jqibuttons {
	border-top: solid 1px #4B5563;
	background-color: #182230;
}

div.jqi .jqibuttons button {
	border-left: solid 1px #4B5563;
	color: #9CA3AF;
}

div.jqi .jqibuttons button.jqidefaultbutton {
	color: #fea300;
}

div.jqi .jqibuttons button:hover,
div.jqi .jqibuttons button:focus {
	color: #F59E0B;
}

.jqi .jqiarrowtl, .jqi .jqiarrowtc, .jqi .jqiarrowtr { border-bottom-color: #1f2937; }
.jqi .jqiarrowbl, .jqi .jqiarrowbc, .jqi .jqiarrowbr { border-top-color: #1f2937; }
.jqi .jqiarrowlt, .jqi .jqiarrowlm, .jqi .jqiarrowlb { border-right-color: #1f2937; }
.jqi .jqiarrowrt, .jqi .jqiarrowrm, .jqi .jqiarrowrb { border-left-color: #1f2937; }
