/**
 * Forum style sheet
 * 
 * @author Martin Bean <martin@digitalpop.co.uk>
 **/


#content {
	width: 826px;
	margin: 0 auto;
	padding: 0 15px;
}


/**
 * Breadcrumb styles
 */
#breadcrumb {
	color: #7f7f5a;
	font-size: 11px;
	font-weight: bold;
	background-color: #fffeb4;
	margin: 0 0 1em 0;
	padding: 0.75em;
	border: 1px solid #e5e4a2;
	border-bottom: 1px solid #bfbe87;
}
#breadcrumb .divider {
	font-weight: normal;
	padding: 0 1px;
}
#breadcrumb a, #breadcrumb .current {
	color: #111;
}


/**
 * Pagination styles
 */
p.pagination {
	color: #4d4c3a;
	font-size: 11px;
	text-align: right;
	padding-top: 0.4em;
}
p.pagination a,
p.pagination span.selected {
	color: #464646;
	text-align: center;
	background: #e2e2e2 url(../images/wall-delete.gif) repeat-x 0 0;
	padding: 2px 5px;
	border: 1px solid #c0c0c0;
	border-color: #c0c0c0 #999 #999 #c0c0c0;
}
p.pagination a:hover,
p.pagination span.selected {
	color: #412973;
	background: #e2e2e2 url(../images/wall-delete-hover.gif) repeat-x 0 100%;
	border-color: #808080;
}
p.pagination span.selected {
	color: #000;
}


/**
 * Table styles for categories, topics etc.
 */
.table_wrapper {
	background: #ff9b0f url(../images/forum/table-wrapper.gif) repeat-x 0 0;
	margin-bottom: 1em;
	padding: 0 5px;
}
.table_wrapper .top {
	background: url(../images/forum/table-wrapper-top.gif) repeat-x 0 0;
}
.table_wrapper .top,
.table_wrapper .bottom {
	position: relative;
	height: 5px;
	margin: 0 -5px;
}
.table_wrapper .top .left,
.table_wrapper .bottom .left {
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: 0 0;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 5px;
}
.table_wrapper .top .right,
.table_wrapper .bottom .right {
	background-color: #fff;
	background-repeat: no-repeat;
	background-position: 0 0;
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	width: 5px;
	height: 5px;
}
.table_wrapper .top .left     { background-image: url(../images/forum/table-wrapper-top-left.gif); }
.table_wrapper .top .right    { background-image: url(../images/forum/table-wrapper-top-right.gif); }
.table_wrapper .bottom .left  { background-image: url(../images/forum/table-wrapper-bottom-left.gif); }
.table_wrapper .bottom .right { background-image: url(../images/forum/table-wrapper-bottom-right.gif); }

#content table {
	background: none;
	border-collapse: separate;
	margin-bottom: 0;
}
#content table thead th {
	background: none;
	font-size: 11px;
	text-align: center;
	text-transform: uppercase;
	padding: 0.25em 0.75em 0.5em;
	border: none;
}
#content table thead th.topics,
#content table thead th.last_post,
#content table thead th.categories {
	text-align: left;
}
#content table tbody td {
	font-size: 90%;
	background-color: #fff3dd;
	padding: 0.5em 0.75em;
	border-color: #fff #ff7e2b #e84e1c;
	border-style: solid;
	border-width: 1px 0;
}
#content table tbody td.count {
	text-align: center !important;
	font-size: 100%;
	width: 10%;
	vertical-align: middle;
}
#content table tbody td.last_post {
	width: 30%;
	vertical-align: middle;
}
#content table tbody td a.title {
	font-size: 12px;
	font-weight: bold;
	display: block;
	border-bottom: none;
}
#content table tbody td a {
	color: #412973;
	border-bottom: none;
}
#content table tbody td a:hover {
	color: #ea531b;
	text-decoration: underline;
}
#content table tbody td p {
	margin-bottom: 0;
}


/**
 * Forum posts style
 */
.posts {
	margin-bottom: 1em;
}
.forum.post {
	clear: both;
	padding: 0.7em;
	border: 0.3em solid #fffeb4;
}
div.post {
	margin-bottom: 0.5em;
	overflow: auto;
	-moz-border-radius: 0.4em;
	-webkit-border-radius: 0.4em;
}
.post.odd      { background-color: #fffeb4; }
.post.even     { background-color: #fffecd; }
.post.reported { background-color: #f7ecef; border-color: #f7ecef; }
.post .post_body {
	float: left;
	width: 67.5%;
}
.post .post_body h2 {
	font-size: 14px;
	margin: 0 200px 0.25em 0;
	float: left;
}
.post .post_body .moderator_actions {
	float: right;
	/*width: 200px;*/
	margin: 0;
}
.post .post_body .moderator_actions li {
	font-size: 11px;
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
}
.post .post_body p.author {
	font-size: 11px;
	margin-bottom: 1em;
	clear: both;
}
.post.reported .post_body .content p {
	color: #432e30;
	font-size: 11px;
	font-weight: bold;
	background-color: #ecd5d8;
	margin-bottom: 0;
	padding: 0.25em 0.5em;
	border: 3px solid #ecd5d8;
	-webkit-border-radius: 3px;
}
.post.reported .post_body .content img {
	max-width: 450px;
}
.post .post_body p.content img.smiley {
	vertical-align: text-bottom;
}
.post .post_author {
	float: right;
	font-size: 11px;
	width: 32.5%;
}
.post .post_author a.thumb {
	/*float: right;*/
	display: block;
	margin: 0 0 0.5em 25px;
	padding: 0.5em 0;
	border: none;
}
.post .post_author a.thumb img {
	display: block;
	width: 100px;
	height: 100px;
}
.post .post_author dl {
	margin: 0 0 0.75em 15px;
	padding-left: 10px;
	border-left: 1px solid #e5e4a2;
}
.post .post_author dl.user {
	margin-bottom: 0;
}
.post .post_author dl.user dt {
	font-weight: bold;
}
.post .post_author dl.user dd {
	padding-bottom: 0.4em;
}
.post .post_body p.author,
.post .post_author dl dd.role,
.post .post_author dl dt.posts,
.post .post_author dl dt.joined {
	color: #4d4c3a;
}
.post .post_author dl dt.posts,
.post .post_author dl dt.joined {
	float: left;
	width: 4em;
	margin-bottom: 0;
	clear: both;
}
.post .post_author dl dd.posts,
.post .post_author dl dd.joined {
	margin: 0 0 0 4em;
}
.post .post_author a.top {
	margin-left: 26px;
}


/**
 * Forum post form
 */
.forum_post label {
	font-weight: bold;
	float: left;
	width: 10em;
	clear: left;
	padding-top: 3px;
}
.forum_post input.text {
	width: 20em;
	margin: 0 0 0.75em 11em;
}
.forum_post .bbcode_palette {
	overflow: auto;
	padding: 0.25em 0;
}
.forum_post .bbcode_palette a {
	color: #464646;
	font-size: 11px;
	text-align: center;
	background: #e2e2e2 url(../images/wall-delete.gif) repeat-x 0 0;
	display: block;
	float: left;
	height: 14px;
	margin-right: 4px;
	padding: 3px 6px;
	border: 1px solid #c0c0c0;
	border-color: #c0c0c0 #999 #999 #c0c0c0;
}
.forum_post .bbcode_palette a:hover, .forum_post .bbcode_palette a.hover {
	color: #412973;
	background: #e2e2e2 url(../images/wall-delete-hover.gif) repeat-x 0 100%;
	border-color: #808080;
}
.forum_post .bbcode_palette a span {
	display: block;
	height: 14px;
}
.forum_post .bbcode_palette a.bold,
.forum_post .bbcode_palette a.italics,
.forum_post .bbcode_palette a.underline {
	width: 12px;
}
.forum_post .bbcode_palette a.bold      { font-weight: bold; }
.forum_post .bbcode_palette a.italics   { font-style: italic; }
.forum_post .bbcode_palette a.underline { text-decoration: underline; }

.forum_post .bbcode_palette a.quote span {
	background: url(../images/forum/quote-mono.gif) no-repeat 100% 0;
	padding-right: 16px;
}
.forum_post .bbcode_palette a.quote:hover span {
	background-image: url(../images/forum/quote-icon.gif);
}
.forum_post .bbcode_palette a.image span {
	background: url(../images/forum/image-mono.gif) no-repeat 100% 50%;
	padding-right: 20px;
}
.forum_post .bbcode_palette a.image:hover span {
	background-image: url(../images/forum/image-icon.gif);
}
.forum_post .bbcode_palette a.url span {
	background: url(../images/forum/url-mono.gif) no-repeat 100% 50%;
	padding-right: 18px;
}
.forum_post .bbcode_palette a.url:hover span {
	background-image: url(../images/forum/url-icon.gif);
}
.forum_post textarea {
	width: 41em;
	float: left;
	clear: both;
	margin-bottom: 0;
}
.forum_post fieldset.hint {
	font-size: 90%;
	background-color: #fcfbb2;
	float: right;
	width: 250px;
	margin: 1px 0 0 1em;
	padding: 1em;
	border-color: #bfbe87 #bfbe87 #e5e4a2 #e5e4a2;
	border-style: solid;
	border-width: 1px;
}
.forum_post fieldset.hint h3 {
	margin-bottom: 0.25em;
}
.forum_post fieldset.hint p {
	margin-bottom: 0;
}
.forum_post fieldset.hint .smileys {
	padding-bottom: 0.75em;
	overflow: auto;
}
.forum_post fieldset.hint .smileys a {
	background-image: none;
	margin: 0 2px 2px 0;
	padding: 0;
	border: none;
}
.forum_post fieldset.actions {
	margin: 0.75em 0 0 0;
	overflow: auto;
}


/**
 * Miscellaneous styles
 */
.actions {
	float: left;
	margin-bottom: 1em;
	width: 25%;
}
.box {
	border-left: 1px solid #e5e3a3;
	margin-bottom: 1em;
}
.forum {
	padding: 1em 0;
}
.null {
	text-align: center;
	margin: 0;
	padding: 0.5em 0;
}

#insert_link {
	background-color: #fffebc;
	position: absolute;
	top: 93px;
	left: 242px;
	z-index: 0;
	padding: 2px 0;
	border-color: #e5e4a2 #e5e4a2 #bfbe87 #bfbe87;
	border-style: solid;
	border-width: 1px;
}
#insert_link a {
	color: #40402d;
	font-size: 11px;
	display: block;
	padding: 3px 10px 0;
	overflow: auto;
	border: none;
}
#insert_link a:hover {
	color: #000;
	background-color: #e5e4a2;
}
#insert_link a .tag {
	color: #111;
	font-family: "Consolas", "Lucida Console", "Courier New", monospace;
	line-height: 1.7;
	display: block;
	width: 90px;
	float: left;
	vertical-align: bottom;
}
#insert_link a .replacement {
	display: block;
	margin-left: 100px;
}


/**
 * Leaderboard styles
 */
#leaderboard {
	width: 75%;
	margin: 0 auto 1.5em;
}
#content #leaderboard table .rank {
	text-align: center;
	width: 10%;
}
#content #leaderboard table td.rank {
	color: #c0b0ba;
	font-family: 'Trebuchet MS', Arial, sans-serif;
	font-size: 36px;
	/*font-weight: bold;*/
	vertical-align: middle;
}
#leaderboard .details {
	width: 360px;
	float: left;
	font-size: 12px;
	padding-top: 0.5em;
}
#leaderboard .details h2 {
	font-family: 'Trebuchet MS', Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
	margin: 0 0 0.5em;
}
#leaderboard .details h2 .forum_role {
	color: #57534b;
	font-size: 12px;
	display: block;
}
#leaderboard .details p {
	margin-top: 0.25em;
}
#leaderboard .thumb {
	display: block;
	width: 100px;
	float: right;
}