/********************************************************
 * Forum style
********************************************************/

div.forumlogos {
	float: left;
	clear: left;
	width: 200px;
	padding: 8px 8px 0 0;
}

div.forumlogos .logo {
	float: left;
}

div.forumlogos .move {
	float: right;
}

div.forumkey {
	background: url(../images/icons/forum_key.png) no-repeat;
	float: left;
	height: 73px;
	margin-bottom: 1em;
	width: 329px;
}

div.forumbox form.filter div.advanced {
	display: none;
}

div.forumbox form.filter div.buttons input,
div.forumbox form.filter div.buttons a {
	float: left;
	margin-left: 4px;
}

div.forumbox form.filter div.buttons a.buttonactive {
	width: 70px;
}

div.forumbox form.filterdoubleauto span {
	height: 46px;
}

div.forumbox form.filterdoubleauto div.advanced {
	display: block;
}

div.forumbox form.filterdoubleauto div.advanced span {
	display: inline;
	float: none;
}

div.forumbox div.body table.tableforum {
	padding: 0;
	margin: 1.5em 0 0;
	table-layout: fixed;
	width: 100%;
}

div.forumbox div.body table.tablepost h1,
div.forumbox div.body table.tablepost h2, 
div.forumbox div.body table.tablepost h3, 
div.forumbox div.body table.tablepost h4,
div.forumbox div.body table.tablepost h5, 
div.forumbox div.body table.tablepost h6, 
div.forumbox div.body table.tablepost p,
div.forumbox div.body table.tablepost blockquote, 
div.forumbox div.body table.tablepost pre, 
div.forumbox div.body table.tablepost dl,
div.forumbox div.body table {
	margin-left: 0;
	margin-right: 0;
}

div.forumbox div.body table.tablepost blockquote {
	border-left: 4px solid #ccc;
	color: #666;
	padding-left: 10px;
}

div.forumbox div.body table.tablepost blockquote span.quoteheading {
	color: #bbb;
	display: block;
	font-weight: bold;
}

div.forumbox div.bodyforuminfo p {
	float: left;
	width: 340px;
}

div.forumbox div.bodyforuminfo ul {
	float: left;
	width: 160px;
}

/* Polls! */
div.forumbox table.tablepoll {
	width: 100%;
}

div.forumbox table.tablepoll div.poll {
	padding: 5px;
}

div.forumbox table.tablepoll div.poll div.barouter {
	background-color: #ccc;
	margin: 0;
}

div.forumbox table.tablepoll div.poll div.barinner {
	background-color: #999;
	color: #fff;
}

div.forumbox table.tablepoll div.poll p.option {
	margin: 0 0 5px 5px;
}

div.forumbox table.tablepoll div.poll div.buttons {
	text-align: center;
}

div.forumbox table.tablepoll div.poll input.button {
	font-size: 1.3em;
	margin-bottom: 0px;
	width: 300px;
}

/* Now for the tables */
table.tableforum tbody.fav .forumfav { background-position: left 0px; }
table.tableforum .forumfav { background-position: left -16px; }
table.tableforum .forumlastread { background-position: left -32px; text-decoration: none; }
table.tableforum .forumfav, table.tableforum .forumlastread { background-image: url(../images/icons/forum.png); padding-left: 14px; }
table.tableforum tbody.fav .ajaxicon, .ajaxicon { background: url(../images/icons/content_ajax.gif) no-repeat left center; padding-left: 18px; }

table.tableforum a {
	text-decoration: none;
}

table.tableforum a:hover,
table.tableforum .holder a {
	text-decoration: underline;
}

table.tableforum a.avatar {
	background-color: #000;
	display: block;
	float: left;
	padding: 5px;
	text-align: center;
	text-decoration: none;
}

table.tableforum a.avatar img {
	display: block;
	float: left;
}

table.tableforum div.online {
	background-color: #6c0;
	border-left: 1px solid #000;
	color: #fff;
	float: right;
	font-size: 9px;
	height: 50px;
	line-height: 8px;
	text-align: center;
	width: 14px;
}

table.tableforum td {
	box-sizing: border-box;
	padding: 5px;
	vertical-align: middle;
}

table.tableforum thead th {
	border-right: 1px solid #ccc;
	border-top: 1px solid #ccc;
	box-sizing: border-box;
	color: #666;
	font-weight: bold;
	padding: 3px 5px;
}

table.tableforum thead th.fav {
	border-right: none;
	width: 4%;
}

table.tableforum thead th.icon {
	border-top: none;
	width: 4%;
}

table.tableforum thead th.category {
	width: 25%;
}

table.tableforum thead th.latest {
	width: 55%;
}

table.tableforum thead th.topics,
table.tableforum thead th.posts {
	text-align: right;
	width: 6%;
}

table.tablethread thead th.thread {
	width: 60%;
}

table.tablethread thead th.author {
	width: 15%;
}

table.tablethread thead th.lastpost,
table.tablethread thead th.board {
	width: 17%;
}

table.tablethread thead th.lastpost {
	border-right: none;
}

table.tablethread thead th.posts {
	width: 4%;
}

table.tablethreadsearch thead th.thread {
	width: 45%;
}

table.tablethreadsearch thead th.author {
	width: 13%;
}

table.tablepost thead th.details {
	border-top: none;
	width: 130px;
}

table.tablepost thead th.post {
	width: 670px;
}

table.tablepost thead th.filler {
	width: 110px;
}

table.tableforum tr td.topics,
table.tableforum tr td.posts {
	text-align: right;
}

table.tableforum tr.category td {
	background-color: #a71212;
	padding: 0 7px;
	height: 30px;
	line-height: 30px;
}

table.tableforum tr.category td span.heading {
	color: #fff;
	font-size: 1.3em;
}

table.tableforum tr.category td span.related {
	color: #f66;
	margin-left: 10px;
}

table.tableforum tr.category td span.related a {
	color: #f66;
	text-decoration: none;
}

table.tableforum tr.category td.buttons {
	background-color: #600;
	text-align: center;
}

table.tableforum tr.category td.buttons a,
table.tableforum tr.category td.buttons span {
	color: #fff;
	display: block;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

table.tableforum tr.category td.buttons:hover {
	background-color: #000;
}

table.tableforum tr.subcategory th {
	color: #666;
	padding: 10px;
}

table.tableforum tr.subcategory td.category a.board,
table.tablethread tr.subcategory td.thread a.thread,
table.tablepost tr.post td.details a.username {
	font-size: 1.2em;
}

table.tablethread tr.subcategorydeleted td.thread a.thread {
	color: #999;
}

table.tableforum tr.subcategory td.category a.board,
table.tablethread tr.subcategory td.threadpin a.thread,
table.tablepost tr.post td.details span.online {
	font-weight: bold;
}

table.tableforum tr.subcategory td.latest a,
table.tableforum tr.subcategory td.latest p,
table.tablethread tr.subcategory td.author p {
	color: #666;
	margin: 0;
	padding: 0;
}

table.tablethread tr.subcategory td.posts p,
table.tablethread tr.subcategory td.lastpost p,
table.tablethread tr.subcategory td.thread p {
	color: #666;
	font-size: 0.9em;
	margin: 0;
	padding: 0;
}

table.tablethread tr.subcategory td.posts a,
table.tablethread tr.subcategory td.lastpost a,
table.tablethread tr.subcategory td.thread p a,
table.tablethread tr.subcategory td.board a,
table.tablethread tr.subcategory td.author a {
	color: #999;
}

table.tableforum tr.subcategory td.latest p {
	color: #999;
	font-style: italic;
}

table.tableforum tr.subcategory td.latest a {
	font-style: normal;
}

table.tableforum tr.subcategory td.category,
table.tableforum tr.subcategory td.latest,
table.tableforum tr.subcategory td.topics,
table.tableforum tr.subcategory td.posts,
table.tablethread tr.subcategory td.thread,
table.tablethread tr.subcategory td.board,
table.tablethread tr.subcategory td.author {
	border-right: 1px solid #ccc;
	color: #666;
}

table.tableforum tr.subcategory td.fav,
table.tableforum tr.subcategory td.icon {
	text-align: center;
}

table.tablethread tr.subcategory td.deleted p {
	color: #999;
	margin: 0;
	padding: 0;
	text-align: center;
}

table.tableforum tr.subcategory td.fav a {
	text-decoration: none;
}

table.tablethread tr.subcategory td.icon span {
	background: url(../images/icons/forum_thread.png) no-repeat center 0px;
	display: block;
	height: 26px;
	width: 26px;
}

table.tablethread tr.subcategory td.threadread span { background-position: center -26px; }
table.tablethread tr.subcategory td.threadnew span { background-position: center -52px; }
table.tablethread tr.subcategory td.threadpoll span span { background-position: center -78px; }
table.tablethread tr.subcategory td.threadlock span span { background-position: center -104px; }
table.tablethread tr.subcategory td.threadstaff span span span { background-position: center -130px; }
table.tablethread tr.subcategory td.threadpin span span span span { background-position: center -156px; }
table.tablethread tr.subcategory td.threadposted span span span span span { background-position: center -182px; }
table.tablethread tr.subcategorydeleted td.icon span { background-position: center -208px; }

table.tableforum tr.subcategory:nth-of-type(2n-1) {
	background-color: #ececec;
}

table.tablepost tr.post td.details,
table.tablepost tr.post td.actions {
	background-color: #ececec;
}

table.tableforum tr.subcategorymove {
	background-color: #e8f2fe;
}

table.tablepost tr.postmod {
	background-color: #ccc;
}

table.tablepost tr.postdeleted {
	color: #999;
}

table.tablepost tr.post td {
	vertical-align: top;
}

table.tablepost tr.post td.details,
table.tablepost tr.post td.search {
	padding: 10px 5px 10px 10px;
}

table.tablepost tr.postmod td.details {
	font-size: 1.2em;
	line-height: 1;
}

table.tablepost tr.post td.details div.holder {
	width: 125px;
}

table.tablepost tr.post td.details span {
	display: block;
}

table.tablepost tr.post td.actions {
	border-left: 1px solid #ccc;
	color: #999;
	height: 1em;
	vertical-align: middle;
}

table.tablepost tr.postmod td.actions {
	border-bottom: none;
	border-left: 1px solid #999;
	vertical-align: middle;
}

table.tablepost tr.post td.actions span.pagination,
table.tablepost tr.post td.actions span.date {
	float: right;
}

table.tablepost tr.post td.actions a {
	color: #000;
	font-weight: bold;
	margin-right: 5px;
}

table.tablepost tr.post td.actions span.pagination a,
table.tablepost tr.post td.actions span.pagination span {
	color: #333;
	padding: 0 3px;
	margin-right: 0;
}

table.tablepost tr.post td.actions span.pagination span.current {
	background-color: #999;
	color: #ddd;
}

table.tablepost tr.post td.post {
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
}

table.tablepost tr.post td.post div.editpostholder textarea {
	height: 300px;
	max-width: 789px;
}

table.tablepost tr.post td.post div.editpostholder .editbuttons {
	border-top: 1px solid #ccc;
	margin-top: 5px;
	padding: 10px 0 5px;
	text-align: right;
}

table.tablepost tr.post td.post span.highlight {
	background-color: #66ff14;
	color: #66ad14;
	font-weight: bold;
}

table.tablepost tr.post td.post span.spoiler {
	background: url(../images/icons/spoiler.png);
	color: #000;
}

table.tablepost tr.post td.post span.spoiler:hover {
	background: none;
}

table.tablepost tr.post td.post p.edited,
table.tablepost tr.post td.post p.deleted {
	margin: 0;
}

table.tablepost div.holder {
	overflow: hidden;
}

table.tablepost div.holder img {
	max-width: 100%;
}

/* Forum Setup */
table.tableforum .forumupboard, div.tableform .forumuplogo { background-position: center -11px; cursor: n-resize; margin-bottom: 3px; }
table.tableforum .forumdownboard, div.tableform .forumdownlogo { background-position: center 0px; cursor: s-resize; margin-top: 3px; }
table.tableforum .forumupcat { background-position: center -33px; cursor: n-resize; margin-bottom: 3px; }
table.tableforum .forumdowncat { background-position: center -22px; cursor: s-resize; margin-top: 3px; }
table.tableforum .forumupboard, table.tableforum .forumdownboard, table.tableforum .forumupcat, table.tableforum .forumdowncat, div.tableform .forumuplogo, div.tableform .forumdownlogo { background-image: url(../images/icons/arrows.png); background-repeat: no-repeat; display: block; height: 11px; width: 100%; overflow: hidden; text-indent: -9999px; }
table.tableforum .forumupcat, table.tableforum .forumdowncat, div.tableform .forumuplogo, div.tableform .forumdownlogo { width: 20px; }

div.tableform div.forumlogosformdata {
	padding: 2px 0;
}

div.tableform div.forumlogosformdata span.logo {
	float: left;
	font-size: 2em;
	height: 42px;
	width: 102px;
}

div.tableform div.forumlogosformdata label {
	float: left;
	font-weight: normal;
	height: 42px;
	width: 100px;
}

div.tableform div.forumlogosformdata span.move {
	float: left;
	height: 42px;
	width: 24px;
}

div.tableform div.forumlogosformdata input.textname {
	width: 180px;
}

div.tableform div.forumlogosformdata input.textsummary {
	width: 470px;
}

div.tableform div.forumlogosformdata input.texturl {
	width: 410px;
}

div.tableform div.forumlogosformdata input.file {
	width: 255px;
}

table.tableforumform thead th.status {
	width: 16%;
}

table.tableforumform tbody.add tr.subcategory td {
	border-bottom: 5px solid #000;
}

table.tableforumform tr.category input.btnsubmit {
	background-color: #333;
	border: 2px solid #000;
	color: #fff;
	float: right;
	font-size: 1.1em;
	width: 140px;
}

table.tableforumform tr.category input.text {
	font-size: 1.1em;
	width: 400px;
}

table.tableforumform tr.subcategory textarea {
	width: 400px;
}

table.tableforumform tr.subcategory input.text {
	width: 134px;
}

table.tableforumform tr.subcategory select {
	width: 140px;
}

table.tableforumform tr.subcategory input.btnsubmit {
	background-color: #333;
	border: 2px solid #000;
	color: #fff;
	font-size: 1.1em;
}