tr td.trow1:first-child,
tr td.trow2:first-child,
tr td.trow_shaded:first-child {
	border-left: 0;
}

tr td.trow1:last-child,
tr td.trow2:last-child,
tr td.trow_shaded:last-child {
	border-right: 0;
}

.tborder {
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
}

.tborder tbody tr:last-child > td {
	border-bottom: 0;
}

.tborder tbody tr:last-child > td:first-child {
	-moz-border-radius-bottomleft: 6px;
	-webkit-border-bottom-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

.tborder tbody tr:last-child > td:last-child {
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

.thead {
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.thead_collapsed {
	-moz-border-radius-bottomleft: 6px;
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.thead_left {
	-moz-border-radius-topright: 0;
	-webkit-border-top-right-radius: 0;
	border-top-right-radius: 0;
}

.thead_right {
	-moz-border-radius-topleft: 0;
	-webkit-border-top-left-radius: 0;
	border-top-left-radius: 0;
}

.tcat_menu {
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 0 !important;
}

.tborder tbody:nth-last-child(2) .tcat_collapse_collapsed {
	-moz-border-radius-bottomleft: 6px !important;
	-moz-border-radius-bottomright: 6px !important;
	-webkit-border-bottom-left-radius: 6px !important;
	-webkit-border-bottom-right-radius: 6px !important;
	border-bottom-left-radius: 6px !important;
	border-bottom-right-radius: 6px !important;
}

button,
input.button,
input.textbox,
input.invalid_field,
input.valid_field,
select,
textarea,
.editor_control_bar,
blockquote,
.codeblock,
fieldset,
.pm_alert,
.red_alert,
.popup_menu,
.postbit_buttons > a,
a.button {
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

.post.classic .post_author {
	-moz-border-radius: 0 6px 6px 0;
	-webkit-border-radius: 0 6px 6px 0;
	border-radius: 0 6px 6px 0;
}

.popup_menu .popup_item_container:first-child .popup_item {
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
}

.popup_menu .popup_item_container:last-child .popup_item {
	-moz-border-radius-bottomleft: 6px;
	-moz-border-radius-bottomright: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

.pagination a {
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

.pollbar {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

div.error {
	-moz-border-radius: 6px;
    	-webkit-border-radius: 6px;
   	 border-radius: 6px;
}/* MyBB Teleguard v2.7 Theme Overlay */

:root {
    --tg-blue: #0000AA;
    --tg-cyan: #00AAAA;
    --tg-gray: #AAAAAA;
    --tg-white: #FFFFFF;
    --tg-yellow: #FFFF55;
    --tg-black: #000000;
}

body {
    background-color: var(--tg-black) !important;
    color: var(--tg-gray) !important;
    font-family: "Courier New", Courier, monospace !important;
}

/* TABLE & FORUM HEADERS */
.thead {
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
    border-bottom: 2px solid var(--tg-cyan) !important;
    text-transform: uppercase;
    font-weight: bold;
}

.tcat {
    background: #000055 !important;
    color: var(--tg-cyan) !important;
    border-bottom: 1px solid var(--tg-gray) !important;
}

.trow1, .trow2 {
    background: var(--tg-black) !important;
    color: var(--tg-gray) !important;
    border-bottom: 1px solid #222 !important;
}

/* LINKS */
a:link, a:visited {
    color: var(--tg-yellow) !important;
    text-decoration: none;
}

a:hover {
    background-color: var(--tg-gray) !important;
    color: var(--tg-black) !important;
}

/* BUTTONS */
.button, input.button, .btn {
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
    border: 1px solid var(--tg-cyan) !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    font-weight: bold;
}

.button:hover {
    background: var(--tg-gray) !important;
    color: var(--tg-black) !important;
}

/* FORUM CONTAINER */
#container {
    background: var(--tg-black) !important;
    border: 1px solid var(--tg-gray) !important;
    margin-top: 10px;
    padding: 10px;
}

/* POST BIT */
.post_content {
    border-left: 2px solid var(--tg-blue) !important;
    padding-left: 15px;
    margin-left: 5px;
}

.post_author {
    background: #111 !important;
    border-right: 1px solid var(--tg-blue) !important;
}

/* INPUTS */
textarea, input.textbox {
    background: #000 !important;
    color: var(--tg-yellow) !important;
    border: 1px solid var(--tg-gray) !important;
}
/* MyBB Teleguard TOTAL DARKNESS - Aggressive Overrides */

:root {
    --tg-blue: #0000AA;
    --tg-cyan: #00AAAA;
    --tg-gray: #AAAAAA;
    --tg-white: #FFFFFF;
    --tg-yellow: #FFFF55;
    --tg-black: #000000;
}

/* Force Black Background on everything */
* {
    background-color: transparent;
}

body, html, #container, .wrapper, .trow1, .trow2, .trow_sep, .post, .post_content, .post_author, .tcat, .modal, .modal_body, .modal_footer, .footer, .header, #header, #footer, .navigation, .pagination a, .pagination_current, .pagination .go_page {
    background-color: var(--tg-black) !important;
    background: var(--tg-black) !important;
    color: var(--tg-gray) !important;
}

body {
    font-family: "Courier New", Courier, monospace !important;
}

/* Headers */
.thead {
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
    border-bottom: 2px solid var(--tg-cyan) !important;
}

.tcat {
    background: #000055 !important;
    color: var(--tg-cyan) !important;
}

/* Specific MyBB Elements */
.post_author {
    border-right: 1px solid var(--tg-blue) !important;
}

.post_content {
    border-left: 2px solid var(--tg-blue) !important;
}

/* Links and Buttons */
a:link, a:visited {
    color: var(--tg-yellow) !important;
    text-decoration: underline;
}

a:hover {
    background-color: var(--tg-gray) !important;
    color: var(--tg-black) !important;
}

.button, input.button, .btn {
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
    border: 1px solid var(--tg-cyan) !important;
    border-radius: 0 !important;
}

/* Form fields */
textarea, input.textbox, select {
    background: var(--tg-black) !important;
    color: var(--tg-yellow) !important;
    border: 1px solid var(--tg-gray) !important;
}

/* Fix for any white gaps */
#content {
    background: var(--tg-black) !important;
}
/* MyBB Teleguard - TRUE VOID DARK MODE */

:root {
    --tg-blue: #0000AA;
    --tg-cyan: #00AAAA;
    --tg-gray: #AAAAAA;
    --tg-white: #FFFFFF;
    --tg-yellow: #FFFF55;
    --tg-black: #000000;
}

/* Global Background Kill */
* {
    border-color: #222 !important;
}

html, body, #container, #content, .wrapper, #footer, #header {
    background-color: var(--tg-black) !important;
    background: var(--tg-black) !important;
    color: var(--tg-gray) !important;
}

/* Forum Structure */
.trow1, .trow2, .trow_sep, .trow_reputation_positive, .trow_reputation_negative {
    background: var(--tg-black) !important;
    color: var(--tg-gray) !important;
}

.thead {
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
    border-bottom: 2px solid var(--tg-cyan) !important;
}

.tcat {
    background: #000044 !important;
    color: var(--tg-cyan) !important;
}

/* Posts and Content */
.post, .post_content, .post_author, .post_body {
    background-color: var(--tg-black) !important;
    color: var(--tg-gray) !important;
}

.post_author {
    border-right: 1px solid var(--tg-blue) !important;
    background: #050505 !important;
}

.post_content {
    border-left: 2px solid var(--tg-blue) !important;
}

/* Interactive Elements */
.button, input.button, .btn, .click_add_friend, .click_ignore_user {
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
    border: 1px solid var(--tg-cyan) !important;
    border-radius: 0 !important;
}

.button:hover, .btn:hover {
    background: var(--tg-gray) !important;
    color: var(--tg-black) !important;
}

/* Forms and Inputs (No White Search Bars!) */
input.textbox, textarea, select, .search_form {
    background: var(--tg-black) !important;
    color: var(--tg-yellow) !important;
    border: 1px solid var(--tg-gray) !important;
}

/* Navigation and Pagination */
.pagination, .pagination a, .pagination_current, .pagination .go_page {
    background: var(--tg-black) !important;
    color: var(--tg-yellow) !important;
    border: 1px solid var(--tg-blue) !important;
}

.pagination_current {
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
}

.navigation .active {
    color: var(--tg-white) !important;
}

/* Dropdowns and Modals */
.popup_menu, .modal, .modal_body, .modal_footer {
    background: var(--tg-black) !important;
    border: 2px solid var(--tg-blue) !important;
}

/* LINKS */
a:link, a:visited {
    color: var(--tg-yellow) !important;
    text-decoration: underline;
}

a:hover {
    color: var(--tg-white) !important;
    background: var(--tg-blue) !important;
}

/* Fix for those annoying white lines */
#header .menu ul {
    background: var(--tg-black) !important;
}
/* MyBB Teleguard - TRUE VOID DARK MODE - V2 */

:root {
    --tg-blue: #0000AA;
    --tg-cyan: #00AAAA;
    --tg-gray: #AAAAAA;
    --tg-white: #FFFFFF;
    --tg-yellow: #FFFF55;
    --tg-black: #000000;
}

/* 1. FORCE BLACK ON EVERYTHING (KILL ALL WHITE) */
* {
    background-color: transparent;
}

html, body, #container, #content, .wrapper, #footer, #header, #logo, .menu {
    background-color: var(--tg-black) !important;
    background: var(--tg-black) !important;
    color: var(--tg-gray) !important;
}

/* 2. THE TOP AND BOTTOM BARS */
#header, #footer, .menu, .lower, .upper {
    background-color: var(--tg-black) !important;
    background: var(--tg-black) !important;
    border: none !important;
}

#header .menu ul {
    background: var(--tg-black) !important;
}

/* 3. THE MESSAGE EDITOR (SCEDITOR) */
.sceditor-container, .sceditor-toolbar, .sceditor-group, .sceditor-dropdown {
    background-color: var(--tg-black) !important;
    background: var(--tg-black) !important;
    border: 1px solid var(--tg-gray) !important;
}

.sceditor-container iframe, .sceditor-container textarea {
    background-color: var(--tg-black) !important;
    color: var(--tg-yellow) !important;
}

/* 4. FORUM STRUCTURE */
.trow1, .trow2, .trow_sep, .post, .post_content, .post_author, .tcat, .modal, .modal_body {
    background-color: var(--tg-black) !important;
    color: var(--tg-gray) !important;
}

.thead {
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
    border-bottom: 2px solid var(--tg-cyan) !important;
}

/* 5. INTERACTIVE */
.button, input.button, .btn {
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
    border: 1px solid var(--tg-cyan) !important;
    border-radius: 0 !important;
}

input.textbox, textarea, select {
    background: var(--tg-black) !important;
    color: var(--tg-yellow) !important;
    border: 1px solid var(--tg-gray) !important;
}

/* 6. LINKS */
a:link, a:visited {
    color: var(--tg-yellow) !important;
    text-decoration: underline;
}

a:hover {
    color: var(--tg-white) !important;
    background: var(--tg-blue) !important;
}
/* MyBB Teleguard - TRUE VOID DARK MODE - V3 */

:root {
    --tg-blue: #0000AA;
    --tg-cyan: #00AAAA;
    --tg-gray: #AAAAAA;
    --tg-white: #FFFFFF;
    --tg-yellow: #FFFF55;
    --tg-black: #000000;
}

/* THE ULTIMATE BACKGROUND KILLER */
*, ::before, ::after {
    background-color: transparent !important;
    border-color: #333 !important;
}

html, body, #container, #content, .wrapper, #footer, #header, #logo, .menu, .lower, .upper, .post, .post_content, .post_author, .post_body, .post_controls, .post_buttons {
    background-color: var(--tg-black) !important;
    background: var(--tg-black) !important;
}

/* SPECIFIC FIX FOR THE BOTTOM BARS */
.post_controls, .post_buttons, .postbit_buttons, .postbit_mirrored {
    background-color: var(--tg-black) !important;
    background: var(--tg-black) !important;
    border-top: 1px solid var(--tg-blue) !important;
}

/* SCEditor Fix */
.sceditor-container, .sceditor-toolbar, .sceditor-group, .sceditor-dropdown {
    background-color: var(--tg-black) !important;
    background: var(--tg-black) !important;
}

/* Headers */
.thead {
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
}

/* General Overrides */
.trow1, .trow2, .trow_sep, .tcat {
    background-color: var(--tg-black) !important;
    background: var(--tg-black) !important;
}

/* Links */
a:link, a:visited {
    color: var(--tg-yellow) !important;
}
/* MyBB Teleguard - TRUE VOID DARK MODE - V4 (Ultimate Button Scrub) */

:root {
    --tg-blue: #0000AA;
    --tg-cyan: #00AAAA;
    --tg-gray: #AAAAAA;
    --tg-white: #FFFFFF;
    --tg-yellow: #FFFF55;
    --tg-black: #000000;
}

/* 1. GLOBAL BLACKOUT */
*, ::before, ::after {
    background-color: transparent !important;
}

html, body, #container, #content, .wrapper, #footer, #header, .post, .post_content, .post_author, .post_body {
    background-color: var(--tg-black) !important;
    background: var(--tg-black) !important;
}

/* 2. BUTTONS & CONTROLS (THE BIG FIX) */
.button, input.button, .btn, .postbit_buttons > a, .postbit_buttons > a:link, .postbit_buttons > a:visited, .postbit_buttons span {
    background-color: var(--tg-blue) !important;
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
    border: 1px solid var(--tg-cyan) !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    display: inline-block;
    padding: 5px 10px !important;
}

.button:hover, .btn:hover, .postbit_buttons > a:hover {
    background-color: var(--tg-gray) !important;
    background: var(--tg-gray) !important;
    color: var(--tg-black) !important;
}

/* Specifically target the Reply/Quote buttons in the postbit */
.postbit_buttons a span {
    background: none !important;
}

/* 3. THEAD & TCAT */
.thead {
    background: var(--tg-blue) !important;
    color: var(--tg-white) !important;
    border-bottom: 2px solid var(--tg-cyan) !important;
}

.tcat {
    background: #000044 !important;
    color: var(--tg-cyan) !important;
}

/* 4. EDITOR & INPUTS */
.sceditor-container, .sceditor-toolbar, .sceditor-group, .sceditor-dropdown {
    background-color: var(--tg-black) !important;
    background: var(--tg-black) !important;
}

input.textbox, textarea, select {
    background: var(--tg-black) !important;
    color: var(--tg-yellow) !important;
    border: 1px solid var(--tg-gray) !important;
}

/* 5. LINKS */
a:link, a:visited {
    color: var(--tg-yellow) !important;
    text-decoration: underline;
}
