body {
	background: #191919 url(../../../images/twc/background.png) top left repeat;
	color: #999;
}

a:link,
a:visited {
	color: #ccc;
}

a:hover,
a:active {
	color: #999;
}

#container {
	background: rgba(0, 0, 0, 0.4);
	color: #999;
	width: 90%;
	min-width: 990px;
	margin: 8px auto;
	padding: 20px;
	border: 1px solid #999;
	border-radius: 6px;
}

.wrapper {
	width: auto;
	min-width: 0;
	max-width: none;
}

table {
	color: #999;
}

/* Header */

#logo {
	background: #000 url(../../../images/twc/header2.png) top left repeat;
	border-bottom: 0;
	height: 123px;
	padding: 0;
	display: flow-root;
}

#logo .twc_logo img {
	float: left;
	height: 113px;
	margin: 10px 0 0 0;
}

.twc_header_right {
	float: right;
	text-align: right;
	padding: 6px 10px 0 0;
}

#header ul.twc_nav {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 11px;
	text-transform: uppercase;
}

#header ul.twc_nav li {
	display: inline-block;
	position: relative;
	z-index: 500;
	margin: 0;
	padding-left: 5px;
}

#header ul.twc_nav li a {
	display: inline-block;
	background: linear-gradient(to bottom, #a90000 0%, #c10000 50%, #a90000 100%);
	color: #fff;
	line-height: 14px;
	padding: 5px;
	border: 1px solid #000;
	border-radius: 3px;
	font-weight: bold;
	text-align: left;
	text-decoration: none;
}

#header ul.twc_nav li a:hover,
#container[data-page="index.php"] #header ul.twc_nav a.nav_forum,
#container[data-page="showteam.php"] #header ul.twc_nav a.nav_members,
#container[data-page="portal.php"] #header ul.twc_nav a.nav_site {
	background: #191919;
	color: #a90000;
	border-color: #a90000;
	text-shadow: 0 -1px 0 #111;
}

#header ul.twc_nav li.twc_dropdown > a::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: -2px 0 -2px 4px;
	vertical-align: top;
	background: url(../../../images/twc/arrow_down.gif) no-repeat;
}

#header ul.twc_nav li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}

#header ul.twc_nav li:hover ul {
	display: block;
}

#header ul.twc_nav li ul li {
	display: block;
	padding: 0;
}

#header ul.twc_nav li ul li a {
	display: block;
	min-width: 77px;
	white-space: nowrap;
}

#twc_search {
	display: flex;
	justify-content: flex-end;
	margin: 10px 0 0 0;
}

#twc_search_box {
	background: #fff url(../../../images/twc/search.gif) 5px center no-repeat;
	color: #000;
	width: 110px;
	height: 14px;
	padding: 5px 5px 5px 25px;
	border: 1px solid #000;
	border-left: 0;
	border-radius: 20px 0 0 20px;
	font-family: Tahoma, 'Trebuchet MS', Arial, sans-serif;
	font-size: 13px;
	outline: 0;
}

#twc_search_button {
	background: linear-gradient(to bottom, #a90000 0%, #c10000 50%, #a90000 100%);
	color: #fff;
	width: 110px;
	height: 26px;
	padding: 4px 6px;
	border: 1px groove #000;
	border-radius: 0 20px 20px 0;
	font-family: Tahoma, 'Trebuchet MS', Arial, sans-serif;
	font-size: 13px;
	font-weight: bold;
	cursor: pointer;
}

#twc_search_button:hover {
	background: #191919;
	color: #a90000;
	border: 1px solid #a90000;
	text-shadow: 0 -1px 0 #111;
}

.twc_icons {
	margin-top: 12px;
}

.twc_icons img {
	vertical-align: middle;
	opacity: 0.8;
	transition: opacity 0.3s ease-out;
}

.twc_icons a:hover img {
	opacity: 1;
}

#panel {
	background: #121212;
	color: #999;
	border: 1px solid #555;
	font-size: 11px;
}

#panel .upper {
	background: transparent;
	color: #999;
	border: 0;
	padding: 10px;
}

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

.twc_discord {
	padding: 15px 0 5px 0;
}

.twc_discord a {
	color: #fff;
}

.twc_discord img {
	width: 40px;
	height: 40px;
	vertical-align: middle;
	margin-right: 6px;
}

#content {
	background: transparent;
	padding: 15px 0;
}

.navigation {
	background: #5d0000 url(../../../images/twc/menu.png) top left repeat-x;
	color: #999;
	padding: 10px;
	font-weight: bold;
}

.twc_latest_donation {
	float: right;
	font-weight: normal;
}

.twc_donation_note:empty {
	display: none;
}

.twc_latest_donation .twc_donation_note::before {
	content: "- ";
}

.twc_sidebar .twc_donation_note::before {
	content: "\00bb  ";
}

.twc_usd_marker {
	color: #f00;
}

.navigation .active {
	color: #ccc;
	font-size: 13px;
}

/* Last post avatars and group legend */

.twc_lastpost {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 3px;
	text-align: right;
}

.avatars {
	width: 29px;
	height: 29px;
	margin: 2px;
	object-fit: cover;
}

.twc_inactive {
	color: #f00;
}

.twc_legend a {
	font-weight: bold;
	text-decoration: none;
}

.twc_legend a.admin {
	color: #800000;
	text-shadow: 1px 1px 3px #800000;
}

.twc_legend a.own {
	color: #ffd700;
	text-shadow: 1px 1px 3px #ffd700;
}

.twc_legend a.has {
	color: #32cd32;
}

.twc_legend a.mem {
	color: #00bfff;
}

.twc_legend a.dnt {
	color: #ff8000;
}

.twc_legend a.fri {
	color: #9b599a;
}

.twc_legend a.regi {
	color: #fff;
}

/* Tables */

.tborder {
	background: #000;
	border: 1px solid #000;
	border-radius: 6px;
	padding: 0;
}

.thead {
	background: linear-gradient(to bottom, #545454 0%, #282828 8%, #141414 50%, #000 92%, #050505 100%);
	color: #999;
	border-bottom: 0;
	border-radius: 6px 6px 0 0;
}

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

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

.thead strong {
	font-weight: normal;
	color: #ccc;
}

.tcat,
.trow_sep {
	background: #a90000 url(../../../images/twc/menu.png) top left repeat-x;
	color: #ccc;
	border: 0;
}

.tcat a:link,
.tcat a:visited {
	color: #ccc;
}

.tcat a:hover,
.tcat a:active {
	color: #e08b1b;
}

.trow1 {
	background: #232323;
	border-color: #000;
}

.trow2 {
	background: #282828;
	border-color: #000;
}

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

.trow_selected {
	background: #3a2a10;
}

.tfoot {
	background: linear-gradient(to bottom, #282828 0%, #141414 50%, #000 100%);
	color: #999;
	border-top: 0;
}

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

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

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

.forum_status {
	width: 42px;
	height: 42px;
	background: url(../../../images/twc/off.png) no-repeat 0 0;
}

.forum_on {
	background-image: url(../../../images/twc/on.png);
}

.forum_offclose {
	background-image: url(../../../images/twc/offlock.png);
}

.forum_offlink {
	opacity: 0.6;
}

/* DVZ Shoutbox */

#shoutbox {
	background: #232323;
	margin-bottom: 15px;
	border: 1px solid #000;
	border-radius: 6px;
	overflow: hidden;
}

#shoutbox .head {
	background: linear-gradient(to bottom, #545454 0%, #282828 8%, #141414 50%, #000 92%, #050505 100%);
	color: #999;
	padding: 6px 30px;
}

#shoutbox .head strong {
	color: #ccc;
}

#shoutbox .head a {
	color: #999;
}

#shoutbox.front .head {
	cursor: pointer;
}

#shoutbox.collapsed .head {
	opacity: 0.6;
}

#shoutbox.collapsed .body {
	display: none;
}

#shoutbox .panel {
	background: #282828;
	color: #999;
	padding: 6px;
	text-align: center;
	border-bottom: 1px solid #000;
}

#shoutbox .panel form {
	margin: 0;
}

#shoutbox input.text {
	width: 45%;
	padding: 3px 4px;
	background: #fff;
	color: #000;
	border: 1px solid #000;
	font-size: 13px;
}

#shoutbox .minposts,
#shoutbox .blocked {
	padding: 6px;
	font-size: 11px;
}

#shoutbox .panel.minposts,
#shoutbox .panel.blocked {
	background: #3a1010;
	color: #ff8080;
}

#shoutbox .panel p {
	margin: 0;
}

#shoutbox .window {
	background: #232323;
	overflow-y: auto;
}

#shoutbox .data {
	padding: 4px 6px;
	font-size: 12px;
}

#shoutbox .entry {
	display: flex !important;
	align-items: baseline;
	line-height: 1.3;
	transition: background-color 0.2s;
}

#shoutbox .entry::before {
	content: "\00bb";
	margin-right: 18px;
	color: #ccc;
}

#shoutbox .entry.new {
	background-color: #3a3410;
}

#shoutbox .entry:target {
	background-color: #10283a;
}

#shoutbox .avatar {
	display: none;
}

#shoutbox .user {
	order: 1;
	white-space: nowrap;
	font-weight: bold;
}

#shoutbox .info {
	order: 2;
	white-space: nowrap;
	color: #999;
}

#shoutbox .info::before {
	content: "\00a0-\00a0";
}

#shoutbox .info a {
	color: inherit;
}

#shoutbox .text {
	order: 3;
	color: #ccc;
	overflow-wrap: anywhere;
}

#shoutbox .text::before {
	content: "\00a0--\00a0";
}

#shoutbox .mod {
	padding: 6px 8px;
	font-size: 9px;
	font-weight: bold;
	color: #999;
}

#shoutbox .mod:nth-of-type(2) {
	margin-right: 5px;
	border-left: 1px solid #333;
}

#shoutbox .ip {
	margin-right: 10px;
	color: #666;
}

/* Index columns */

.twc_columns {
	display: flex;
	align-items: flex-start;
	gap: 1%;
}

.twc_main {
	flex: 0 0 72%;
	min-width: 0;
}

.twc_sidebar {
	flex: 1 1 27%;
	min-width: 0;
}

ul.twc_stats {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.twc_stats li {
	padding-left: 18px;
	background: url(../../../images/twc/portal_istatistik.png) 0 center no-repeat;
}

ul.twc_stats li.twc_stats_more {
	background-image: url(../../../images/twc/pbullet.gif);
}

.twc_servers {
	text-align: center;
}

.twc_servers a {
	display: block;
	margin: 3px 0;
}

.twc_servers img {
	vertical-align: middle;
	margin: 0 3px;
}

.twc_promo {
	text-align: center;
}

.twc_promo hr {
	border: 0;
	border-top: 1px solid #444;
	margin: 12px 0;
}

.twc_promo_discord {
	width: 128px;
}

.twc_promo img {
	transition: transform 0.5s ease;
}

.twc_promo img:hover {
	transform: scale(1.2);
}

ul.twc_links {
	margin: 0;
	padding-left: 20px;
	font-weight: bold;
}

/* Forms */

input.textbox,
select {
	background: #fff;
	color: #000;
	border: 1px solid #aa1313;
}

textarea {
	background: #232323;
	color: #999;
	border: 1px solid #aa1313;
}

button,
input.button {
	background: #fff;
	color: #000;
	border: 1px solid #aa1313;
	border-radius: 5px;
	font-weight: bold;
}

button:hover,
input.button:hover {
	background: linear-gradient(to bottom, #fff 0%, #cacaca 77%, #adadad 100%);
}

a.button:link,
a.button:hover,
a.button:visited,
a.button:active {
	background: linear-gradient(to bottom, #a90000 0%, #c10000 50%, #a90000 100%);
	color: #fff;
	border: 1px solid #000;
	border-radius: 3px;
}

/* Posts */

.post {
	background: #282828;
}

.post .post_author div.author_statistics {
	border: 2px solid #a90000;
	border-radius: 8px;
	padding: 4px 10px;
	margin-top: 4px;
	text-align: center;
}

.post .post_author,
.post_controls {
	background: #1c1c1c;
	border-color: #333;
}

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

.post .post_author div.author_avatar img {
	background: #111;
	border-color: #333;
}

.post .post_head,
.post_content .signature,
.post.classic .post_author div.author_statistics {
	border-color: #333;
}

.postbit_buttons > a:link,
.postbit_buttons > a:hover,
.postbit_buttons > a:visited,
.postbit_buttons > a:active {
	background: #2b2b2b;
	color: #ccc;
	border-color: #000;
}

details.spoiler {
	background: #1a1a1a;
	border: 1px solid #333;
	padding: 4px 8px;
	margin: 4px 0;
}

details.spoiler summary {
	cursor: pointer;
	color: #ccc;
	font-weight: bold;
}

blockquote,
.codeblock {
	background: #1a1a1a;
	border-color: #333;
}

blockquote cite,
.codeblock .title {
	border-color: #333;
}

.editor,
.editor_control_bar,
.post .editor_control_bar {
	background: #2b2b2b;
	border-color: #333;
}

/* Misc */

.pagination a {
	background: #232323;
	border: 1px solid #aa1313;
}

.pagination .pagination_current {
	background: #f5f5f5;
	color: #000;
	border: 1px solid #aa1313;
}

.pagination a:hover {
	background: #f5f5f5;
	color: #000;
	border-color: #aa1313;
}

.pagination_breadcrumb,
.drop_go_page {
	background: #000;
	border: 1px solid #aa1313;
	outline: 0;
}

.popup_menu {
	background: #121212;
	border-color: #333;
}

.popup_menu .popup_item {
	background: #232323;
	color: #ccc;
}

.popup_menu .popup_item:hover {
	background: #a90000;
	color: #fff;
}

.modal {
	background: #121212;
	color: #999;
}

.pm_alert {
	background: #2b2610;
	border-color: #6b5a12;
	color: #ccc;
}

.red_alert {
	background: #3a1010;
	border-color: #a90000;
	color: #ff8080;
}

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

#footer .upper {
	background: #232323 url(../../../images/twc/menu.png) top left repeat-x;
	border: 1px solid #a90000;
	color: #999;
}

#footer .lower {
	color: #999;
}

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

#footer .lower #current_time {
	color: #999;
}
