html {
	background-color: rgb(237, 237, 237);
}

body {
	font-family: "Open Sans", sans-serif;
	width: 90%;
	margin: 0 auto;
}

a {
	text-decoration: none;
	color: rgb(15, 15, 15);
}

a:hover {
	color: rgb(60, 60, 76);
}

p {
	margin: 8px;
}

fieldset {
	border: none;
}

dl {
	margin: 8px auto;
	display: flex;
}

dt {
	width: 200px;
	text-align: right;
}

dd {
	margin-left: 8px;
	width: 100%;
}

.bbc_u {
	text-decoration: underline;
}

.smalltext {
	font-size: 0.8em;
}

.centertext {
	text-align: center;
}

.blockheader {
	background-color: #40394e;
	color: white;

	padding: 8px;
	margin-top: 8px;

	font-weight: bold;
}

.block {
	background-color: rgb(250, 250, 250);

	padding: 8px;
	margin-bottom: 16px;
}

.altblock {
	background-color: #40394e;
	color: white;
}

.altblock a {
	color: rgb(240, 240, 240);
}

.altblock a:hover {
	color: rgb(200, 200, 200);
}

.narrowblock {
	width: 620px;
	margin: 0 auto;
}

.mediumblock {
	width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.caution {
	background-color: #e9dda2;
	padding: 8px;
	margin-bottom: 8px;
	font-weight: bold;
	color: rgb(110, 110, 110);
	border: 1px solid #d0c58f;
}

.error {
	background-color: #ffd0d8;
	padding: 8px;
	margin-bottom: 8px;
	font-weight: bold;
	color: rgb(80, 80, 80);
	border: 1px solid #eebdc5;
}

/* all pages */

.banner {
	margin: 8px auto;
}

#main_menu {
	background-color: rgb(250, 250, 250);
	height: 40px;
	text-transform: uppercase;
	font-size: 0.8em;
	display: flex;
	justify-content: space-between;
}

#main_menu ul {
	list-style: none;
	padding-left: 0px;
	margin: 0px;
	float: left;
}

#main_menu ul li {
	display: inline;
	padding: 4px 16px;
	line-height: 40px;
	vertical-align: middle;
}

#thread_finder {
	display: none;
	line-height: 40px;
	vertical-align: middle;
	margin-right: 16px;
}

#thread_finder input {
	color: rgb(15, 15, 15);
	text-transform: uppercase;
	border: none;
	background: none;
	text-align: right;
}

.breadcrumb {
	font-weight: bold;
	font-size: 0.8em;
}

.breadcrumb ul {
	list-style: none;
	padding-left: 0px;
}

.breadcrumb ul li {
	display: inline;
}

.pages {
	font-size: 0.8em;
	margin: 8px 0px;
}

/* registration */

#confirm_buttons {
	text-align: center;
	margin: 16px;
}

/* login */

.login {
	margin: 16px auto;
	padding: 8px;
	background-color: rgb(239, 242, 246);
}

#frmLogin {

}

#frmLogin dt {
	width: 300px;
}

/* about */

.about_image {
	margin: 16px 0px;
	text-align: center;
}

.about_quote {
	text-align: right;
	background-color: rgb(240, 240, 240);
	font-style: italic;
	width: 70%;
	margin: 16px auto;
	padding: 8px;
	font-family: Palatino,"Palatino Linotype","Palatino LT STD","Book Antiqua",Georgia,serif;
}

/* rules */

.rules {
	display: flex;
}

.rules_image {

}

.rules_content {
	margin-top: 8px;
}

/* board index */

.board {
	display: flex;
	border-bottom: 1px solid rgb(160, 160, 180);
	background-color: rgb(250, 250, 250);
}

.board_icon {
	padding: 12px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.board_text {
	flex-grow: 2;
	background-color: rgb(239, 242, 246);
	padding: 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.board_name {
	font-weight: bold;
}

.board_description {
	margin-top: 4px;
	font-size: 0.9em;
}

.board_stats {
	text-align: center;
	padding: 8px;
	font-size: 0.8em;
	width: 140px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.board_lastpost {
	width: 240px;
	padding: 8px;
	text-align: right;
	font-size: 0.8em;
	background-color: rgb(239, 242, 246);
}


/* thread list */

.threadlist table {
	margin: 8px 0px;
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	border: 1px solid rgb(70, 77, 90);
}

.tableheader {
	background-color: #40394e;
	color: white;
	font-size: 8pt;
	height: 22px;
	line-height: 22px;
}

.tableheader th {
	font-weight: normal;
}

.threadrow {
	background-color: rgb(239, 242, 246);
	height: 40px;
}

.threadrow:nth-child(even) {
	background-color: rgb(253, 254, 255);
}

.threadrow td {
	padding: 4px;
	vertical-align: middle;
	border: 1px solid rgb(200, 210, 220);
}

.thread_icon {
	text-align: center;
}

.thread_pages {
	font-size: 0.7em;
	margin-top: 2px;
	color: rgb(100, 100, 100);
}

.thread_lastread {
	width: 5%;
	text-align: center;
}

.thread_lastread div {
	opacity: 0.6;
	height: 24px;
	width: 60px;
	margin: 0 auto;
	border: 1px solid rgb(40, 40, 40);
	background-color: rgb(248, 249, 250);
	color: rgb(40, 40, 40);
	font-size: 10pt;
	line-height: 24px;
}

.thread_lastread div:hover {
	opacity: 1;
}

.thread_lastread .thread_lastread_clear {
	color: rgb(230, 120, 120);
	border-right: none;
}

.thread_lastread .thread_lastread_counter {
	width: 60px;
}

.thread_poster, .thread_replies, .thread_views {
	text-align: center;
}

.thread_lastpost {
	text-align: right;
	font-size: 0.7em;
}

.thread_poster {
	font-size: 0.8em;
}

/* the posts */

.thread_bar {
	display: flex;
	justify-content: space-between;
	background-color: rgb(216, 216, 216);
	color: rgb(8, 8, 8);
}

.thread_bar .pages a {
	color: rgb(8, 8, 8);
}

.thread_bar .pages a:hover {
	color: rgb(30, 30, 30);
	text-decoration: underline;
}

.thread_bar .pages {
	font-size: 11pt;
	line-height: 18pt;
	vertical-align: middle;
	margin-left: 16px;
}

.thread_actions {
	padding: 4px;
	padding-right: 12px;
	text-align: right;
}

.post_row {
	background-color: rgb(250, 250, 250);
	border: 1px solid rgb(160, 160, 180);
	border-bottom: none;
	margin: 8px 0px;
}

.post_subrow {
	display: flex;
	border-bottom: 1px solid rgb(160, 160, 160);
}

.poster {
	padding: 12px;
	border-right: 1px solid rgb(160, 160, 160);
	width: 200px;
	text-align: center;
}

.poster_name {
	font-weight: bold;
	font-size: 0.9em;
	margin-bottom: 8px;
}

.poster_title {
	font-size: 9pt;
}

.post {
	padding: 12px;
	width: 100%;
	min-height: 180px;
	font-size: 11pt;
}

.post_row:nth-child(odd) .post {
	background-color: rgb(246, 248, 250);
}

.post_row:nth-child(even) .post {
	background-color: rgb(236, 238, 240);
}

.post_info {
	font-size: 0.7em;
	background-color: #40394e;
	border-right: 1px solid rgb(160, 160, 160);
	color: white;
	width: 200px;
	padding: 12px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.post_info a {
	color: white;
}

.post_actions {
	background-color: #40394e;
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 4px 12px;
}

ul.action_buttons {
	list-style: none;
	padding: 4px 0px;
	margin: 0px;
}

ul.action_buttons li {
	display: inline;
}

.thispost_actions {
	text-align: right;
	align-self: flex-end;
}

.action_button {
	height: 16px;
	background-color: rgb(250, 250, 250);
	font-size: 14px;
	line-height: 14px;
	vertical-align: middle;
	border: 1px solid rgb(160, 160, 160);
	min-width: 70px;
	padding: 4px;
	color: rgb(100, 100, 100);
	display: inline-flex;
	justify-content: space-between;
	border-radius: 3px;
	opacity: 0.9;
}

.action_button i {
	padding-right: 8px;
}

.action_button:hover {
	opacity: 1;
}

/* post editor */

#post_editor dl {
	width: 100%;
}

#post_editor dt {
	width: 140px;
	font-weight: bold;
}

.icon_select {
	list-style-type: none;
	padding-left: 0px;
	margin: 0px;
}

.icon_select_item {
	white-space: pre;
	display: inline;
	width: 100px;
	margin-right: 16px;
}

.icon_select_item input[type=radio] {
	height: 24px;
	margin-right: 8px;
}

/* post formatting */

.quote a {
	color: rgb(120, 120, 120);
}

.post a {
	color: rgb(160, 100, 170);
}

.post a:hover {
	text-decoration: underline;
}

.post img.bbc_img, .private_message_body img.bbc_img {
	max-width: 640px;
	max-height: 480px;
}

/* big image */

img.bbc_img_big {
	border: 1px solid #40394e;
}

.bbc_large_img_container {
    display: inline-block;
    position: relative;
}

.bbc_large_img_container::after {
    content: "Resized Image";
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 10px !important;
    background-color: #40394e;
    padding: 5px;
    text-transform: uppercase;
    color: rgb(200, 200, 200) !important;
    font-weight: normal !important;
}

.quote_header, .nws_header {
	background-color: #ede6ad;
	font-size: 11px;
	padding: 4px 8px;
	color: rgb(120, 120, 120);
	font-weight: bold;
	border: 1px solid #d4cfa5;
}

.quote_content, .nws_content {
	background-color: #fff8ba;
	font-size: 13px;
	color: rgb(120, 120, 120);
	padding: 8px;
	margin: 0px;
	border: 1px solid #d4cfa5;
	border-top: none;
}

.hiddenheader 
{
	cursor: pointer;
}

.hiddenblock
{
	padding: 12px;
	display: none;
}

.nws_header
{
	background-color: #EEE3E8;
	border: 1px solid #AE8EAC;
	color: #757575;
}

.nws_content
{
	color: #454545;
	background-color: #EEE3E8;
	border: 1px solid #AE8EAC;
	border-top: 0;
}

.quote_content .youtube {
	height: 140px;
}

.quote_content .youtube-player {
	height: 140px;
	width: 200px;
}

/* spoiler tags */

.spoiler {
	padding: 0px 8px;
	background-color: #000;
	color: #000;
}

.spoiler:hover {
	color: #FFF;
}

/* search */

#searchform dl {
	width: 100%;
}

.search_result {
	background-color: #fff8ba;
	border: 1px solid #d4cfa5;
	margin: 16px 0px;
}

.search_result_bar {
	display: flex;
	border-bottom: 1px solid #d4cfa5;
	justify-content: space-between;
	padding: 4px;
}

.search_result_post {
	padding: 8px;
}

.search_result_actions {
	text-align: right;
	border-top: 1px solid #d4cfa5;
	padding: 8px;
}

/* profile */

.profile_content {
	display: flex;
}

#basicinfo .username {
	text-align: center;
	margin-bottom: 8px;
	font-size: 24px;
}

#detailedinfo dl {
	width: 100%;
}

/* admin */

#admin_container {
	display: flex;
}

#admin_menu {
	width: 260px;
}

#admin_content {
	flex-grow: 5;
	margin: 0px 32px;
}

#admin_menu ul {
	margin-top: 0px;
	padding-left: 16px;
}

#admin_menu ul li {
	margin: 4px 0px;
}

#admin_menu a {
	color: rgb(160, 100, 170);
}

#admin_menu a:hover {
	text-decoration: underline;
}

#admin_content dt {
	width: 300px;
}

/* private messages */

.tableheader {
	background-color: #40394e;
	color: white;
	font-size: 8pt;
	height: 22px;
	line-height: 22px;
}

.tableheader a {
	color: white;
}

.private_message {
	display: flex;
	border: 1px solid #AAAAAA;
	margin-bottom: 16px;
}

.private_message_poster {
	text-align: center;
	width: 200px;
	padding: 16px;
	border-right: 1px solid #AAAAAA;
}

.private_message_info {
	padding: 8px;
}

.private_message_subject {
	margin-bottom: 4px;
}

.private_message_post {
	flex-grow: 5;
	display: flex;
	flex-direction: column;
}

.private_message_body {
	border-top: 1px solid #AAAAAA;
	flex-grow: 5;
	padding: 8px;
}

ul.private_message_buttons {
	text-align: right;
	margin-right: 8px;
	height: 32px;
}

/* challenges */

.challenge_tier {
	padding-left: 8px;
	font-weight: bold;
	font-size: 16pt;
}

.challenge_entries table {
	margin: 8px 0px;
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	border: 1px solid rgb(70, 77, 90);
}

.challenge_entries td {
	height: 24px;
}

.challenge_entries .entry_rank {
	text-align: right;
	padding-right: 8px;
}

.challenge_entries .entry_loadout, .challenge_entries .entry_version, .challenge_entries .entry_image {
	text-align: center;
}

.challenge_entries .entry_score {
	font-family: "Lucida Sans Typewriter","Lucida Console",monaco,"Bitstream Vera Sans Mono",monospace;
	font-size: 10pt;
	text-align: right;
	padding-right: 8px;
}

/* footer */

footer {
	margin: 32px auto;
	padding: 8px;
	text-align: right;
	font-size: 0.8em;
	display: flex;
	justify-content: space-between;
}
