/* Content Styles
---------------------------------------- */

ul.topiclist {
	display: block;
	list-style-type: none;
	margin: 0;
	font-size: 14px;
}

ul.forums {
	background: transparent none repeat-x 0 0;
}

ul.topiclist > li {
	display: block;
	position: relative;
	list-style-type: none;
	margin: 0;
	padding: 14px 0 14px 0;
}

ul.topiclist > li.header {
	padding: 10px 0;
}

ul.forumlist h3, ul.topiclist h3 {
	text-transform: none;
	margin: 0 180px 1px 0;
}

ul.topiclist h3 {
	font-weight: normal;
}

ul.topiclist li.unread h3 {
	font-weight: bold;
}

ul.topiclist li.sticky h3:before {
	content: "\f08d";
	margin: 0 .5em 0 1px;
	font-family: FontAwesome;
	font-weight: normal;
}

div.announcement ul.topiclist li h3:before {
	content: "\f05a";
	margin: 0 .5em 0 1px;
	font-family: FontAwesome;
	font-weight: normal;
}

ul.topiclist li.reported h3 a {
	color: #c00;
}

ul.topiclist li.reported h3:before {
	content: "\f024";
	margin: 0 .5em 0 1px;
	font-family: FontAwesome;
	font-weight: normal;
	color: #c00;
}

ul.topiclist.topics {
	border-top: 1px solid #eee;
}

ul.topiclist.forums {
	border-left: 5px solid #333;
}

ul.topiclist.forums li.row {
	padding: 12px 0 15px 12px;
}

ul.topiclist.forums > li:nth-child(1) {
	border-top: 3px solid #e9e9e9;
}

ul.topiclist li.sticky:last-of-type {
	border-bottom: 3px solid #e9e9e9;
}

ul.topiclist ul li {
	display: inline;
	margin-right: 10px;
}

ul.topiclist dl {
	position: relative;
}

ul.topiclist li.unread li.stats {
	font-weight: bold;
}

ul.topiclist li.unread a.topictitle:after, ul.topiclist li.unread a.forumtitle:after {
	display: inline-block;
	position: relative;
	top: -1px;
	margin-left: .75em;
	padding: 0 5px 1px;
	text-transform: uppercase;
	font-size: 10px;
	line-height: 1.5em;
	content: "Uusi";
	color: #129;
	border: 1px solid #129;
	border-radius: 2px;
}

ul.topiclist li.unread a.topictitle:after:hover, ul.topiclist li.unread a.forumtitle:after:hover {
	text-decoration: none;
}

ul.topiclist dt, ul.topiclist dd {
	display: block;
	float: left;
	line-height: 1.5em;
}

ul.topiclist dt {
	width: 100%;
	margin-right: -360px;
}

ul.topiclist.forums dt {
	margin-right: -480px;
}

ul.topiclist.missing-column dt {
	margin-right: -350px;
}

ul.topiclist.two-long-columns dt {
	margin-right: -250px;
}

ul.topiclist.two-columns dt {
	margin-right: -80px;
}

ul.topiclist dt .list-inner {
	margin-right: 345px;
}

ul.topiclist.forums dt .list-inner {
	margin-right: 475px;
}

ul.topiclist.missing-column dt .list-inner {
	margin-right: 345px;
}

ul.topiclist.two-long-columns dt .list-inner {
	margin-right: 250px;
}

ul.topiclist.two-columns dt .list-inner {
	margin-right: 80px;
}

ul.topiclist dd {
	border-left: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

ul.topiclist dfn {
	/* Labels for post/view counts */
	position: absolute;
	left: -999px;
	width: 990px;
}

ul.topiclist li.row dt a.subforum {
	background-image: none;
	background-position: 0 50%;
	background-repeat: no-repeat;
	position: relative;
	white-space: nowrap;
	padding: 0 0 0 12px;
}

.forum-image {
	float: left;
	padding-top: 5px;
	margin-right: 5px;
}

li.row {
	border-bottom: 1px solid transparent;
}

li.row strong {
	font-weight: normal;
}

li.header {
	padding: 7px 0 8px;
}

li.header dt, li.header dd {
	border-left-width: 0;
/*	margin: 2px 0 4px 0;
	padding-top: 2px;
	padding-bottom: 2px;*/
	font-size: 1em;
}

li.header dt {
	width: 100%;
	margin-right: -360px;
}

div.forabg li.header dt {
	margin-right: -480px;
}

li.header dt .list-inner {
	margin-right: 410px;
}

li.header dd {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

li.header dl.icon dt, li.header dl.icon dd {
	min-height: 0;
}

li.header dl.icon dt .list-inner {
	/* Tweak for headers alignment when folder icon used */
	padding-left: 0;
	padding-right: 50px;
}

/* Forum list column styles */
dl.icon {
	background-position: 10px 50%;		/* Position of folder icon */
	background-repeat: no-repeat;
}

dl.icon dt {
	background-repeat: no-repeat;
	background-position: 5px 95%;		/* Position of topic icon */
}

/*
dl.icon dt .list-inner {
	padding-left: 45px;					/* Space for folder icon */
/*}
*/

/*
dl.icon dt, dl.icon dd {
	min-height: 35px;
}
*/

dl a.icon-link {						/* topic row icon links */
	display: block;
	width: 30px;
	height: 30px;
	padding: 0;
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -15px;
	margin-left: 9px;
}

dd.posts, dd.topics, dd.views, dd.extra, dd.mark {
	width: 80px;
	text-align: center;
}

dd.posts, dd.topics, dd.views {
	width: 80px;
}

/* List in forum description */
dl.icon dt ol,
dl.icon dt ul {
	list-style-position: inside;
	margin-left: 1em;
}

dl.icon dt li {
	display: list-item;
	list-style-type: inherit;
}

dd.lastpost, dd.redirect, dd.moderation, dd.time, dd.info {
	width: 190px;
	margin-left: 10px;
}

ul.topiclist.forums dd.lastpost, dd.redirect, dd.moderation, dd.time, dd.info {
	width: 305px;
}

dd.redirect {
	line-height: 2.5em;
}

dd.time {
	line-height: 200%;
}

dd.lastpost > span, ul.topiclist dd.info > span, ul.topiclist dd.time > span, dd.redirect > span, dd.moderation > span {
	display: block;
}

dd.lastpost > span {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

dd.extra, dd.mark {
	line-height: 200%;
}

dd.option {
	width: 125px;
	line-height: 200%;
	text-align: center;
}

/* Post body styles
----------------------------------------*/
.post-body img.postimage {
	max-width: 100%;
}

/* Topic review panel
----------------------------------------*/
#review {
	margin-top: 2em;
}

#topicreview {
	overflow: auto;
}

#topicreview .post {
	height: auto;
}

#topicreview h2 {
	border-bottom-width: 0;
}

.post-ignore .post-item {
	display: none;
}

/* MCP Post details
----------------------------------------*/
#post_details {
	/* This will only work in IE7+, plus the others */
	overflow: auto;
	max-height: 300px;
}

/* Content container styles
----------------------------------------*/
.post-body {
	font-size: 15px;
	line-height: 1.5;
}

.post-body h2, .panel h2 {
	font-size: 1.6em;
}

.panel h3 {
	margin: 0.5em 0;
}

.panel p {
	font-size: 1.2em;
	margin-bottom: 1em;
	line-height: 1.4em;
}

.post-body p {
	font-size: 1.2em;
	margin-bottom: 1em;
	line-height: 1.4em;
}

dl.faq {
	font-size: 1.1em;
	margin-top: 1em;
	margin-bottom: 2em;
	line-height: 1.4em;
}

dl.faq dt {
	font-weight: bold;
}

.post-body dl.faq {
	font-size: 1.2em;
	margin-bottom: 0.5em;
}

.post-body li {
	list-style-type: inherit;
}

.post-body ul, .post-body ol {
	margin-bottom: 1em;
	margin-left: 3em;
}

.posthilit {
	padding: 0 2px 1px 2px;
	margin: 0 -1px;
}

/* Post signature */
.signature {
	margin-top: 1.5em;
	padding-top: 0.2em;
	font-size: 12px;
	border-top: 1px solid transparent;
	clear: left;
	line-height: 1.4em;
	overflow: hidden;
	width: 100%;
}

.signature.standalone {
	border-top-width: 0;
	margin-top: 0;
}

dd .signature {
	margin: 0;
	padding: 0;
	clear: none;
	border: none;
}

.signature li {
	list-style-type: inherit;
}

.signature ul, .signature ol {
	margin-bottom: 1em;
	margin-left: 3em;
}

/* Post noticies */
.notice {
	width: auto;
	margin-top: 1.5em;
	padding-top: 0.2em;
	font-size: 1em;
	clear: left;
}

/* Jump to post link for now */
ul.searchresults {
	list-style: none;
	text-align: right;
	clear: both;
}

/* BB Code styles
----------------------------------------*/
/* Quote block */
blockquote {
	overflow: hidden;
}

blockquote blockquote {
	/* Nested quotes */
}

blockquote div {
	border-left: 5px solid #eee;
	padding: .25em 1em;
}

blockquote cite {
	/* Username/source of quoter */
	font-style: normal;
	display: block;
	margin-bottom: .5em;
}

blockquote cite cite {
}

blockquote.uncited {
	padding-top: 25px;
}

/* Code block */
.codebox {
	padding: 3px;
	border: 1px solid transparent;
	font-size: 1em;
}

.codebox p {
	text-transform: uppercase;
	border-bottom: 1px solid transparent;
	margin-bottom: 3px;
	font-size: 0.8em !important;
	font-weight: bold;
	display: block;
}

blockquote .codebox {
	margin-left: 0;
}

.codebox code {
	/* Also see tweaks.css */
	overflow: auto;
	display: block;
	height: auto;
	max-height: 200px;
	white-space: normal;
	padding-top: 5px;
	font: 0.9em Monaco, "Andale Mono","Courier New", Courier, mono;
	line-height: 1.3em;
	margin: 2px 0;
}

/* Attachments
----------------------------------------*/
.attachbox {
	float: left;
	width: auto;
	max-width: 100%;
	margin: 5px 5px 5px 0;
	padding: 6px;
	border: 1px dashed transparent;
	clear: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.attachbox dt {
	text-transform: uppercase;
}

.attachbox dd {
	margin-top: 4px;
	padding-top: 4px;
	clear: left;
	border-top: 1px solid transparent;
	overflow-x: auto;
}

.attachbox dd dd {
	border: none;
}

.attachbox p {
	line-height: 110%;
	font-weight: normal;
	clear: left;
}

.attachbox p.stats
{
	line-height: 110%;
	font-weight: normal;
	clear: left;
}

.attach-image {
	margin: 3px 0;
	max-width: 100%;
}

.attach-image img {
	border: 1px solid transparent;
/*	cursor: move; */
	cursor: default;
}

/* Inline image thumbnails */
div.inline-attachment dl.thumbnail, div.inline-attachment dl.file {
	display: block;
	margin-bottom: 4px;
}

div.inline-attachment p {
	font-size: 100%;
}

dl.file {
	display: block;
}

dl.file dt {
	text-transform: none;
	margin: 0;
	padding: 0;
	font-weight: bold;
}

dl.file dd {
	margin: 0;
	padding: 0;
}

dl.thumbnail img {
	padding: 3px;
	border: 1px solid transparent;
	box-sizing: border-box;
}

dl.thumbnail dd {
	font-style: italic;
}

.attachbox dl.thumbnail dd {
	font-size: 100%;
}

dl.thumbnail dt a:hover img {
	border: 1px solid transparent;
}

/* Post poll styles
----------------------------------------*/
fieldset.polls {
}

fieldset.polls dl {
	margin-top: 5px;
	border-top: 1px solid transparent;
	padding: 5px 0 0 0;
	line-height: 120%;
}

fieldset.polls dl.voted {
	font-weight: bold;
}

fieldset.polls dt {
	text-align: left;
	float: left;
	display: block;
	width: 30%;
	border-right: none;
	padding: 0;
	margin: 0;
	font-size: 1.1em;
}

fieldset.polls dd {
	float: left;
	width: 10%;
	border-left: none;
	padding: 0 5px;
	margin-left: 0;
	font-size: 1.1em;
}

fieldset.polls dd.resultbar {
	width: 50%;
}

fieldset.polls dd input {
	margin: 2px 0;
}

fieldset.polls dd div {
	text-align: right;
	font-weight: bold;
	padding: 0 2px;
	overflow: visible;
	min-width: 8px;
}

.pollbar1, .pollbar2, .pollbar3, .pollbar4, .pollbar5 {
	border-bottom: 1px solid transparent;
	border-right: 1px solid transparent;
}

.vote-submitted {
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
}

/* Post header
----------------------------------------*/
.post-header {
	position: relative;
	display: block;
	margin-bottom: 1em;
	font-size: 15px;
}

.post-header h3 {
	font-size: 16px;
	font-weight: normal;
	text-transform: none;
	margin: 0 180px 1px 0;
}

.post-header ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.post-header li {
	display: inline;
	margin-right: 10px;
}

li.row li.author {
	margin-right: 0;
}

.post-header a.username, .post-header a.username-coloured {
	font-weight: bold;
}

.post-header a.avatar, li.topic-item a.avatar {
	position: absolute;
	top: 0;
	left: -70px;
}

li.topic-item a.avatar {
	top: 15px;
	left: 0;
}

li.topic-item ul {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.post-header img.avatar, li.topic-item img.avatar {
	height: 32px;
	width: 32px;
	vertical-align: middle;
	object-fit: cover;
	border-radius: 50px;
}

.post-header span.avatar, li.topic-item span.avatar {
	display: inline-block;
	width: 32px;
	height: 32px;
	font-size: 0;
	font-weight: bold;
	text-align: center;
	color: #fff;
	background-color: #ccc;
	border-radius: 50px;
}

.post-header span.avatar:first-letter, li.topic-item span.avatar:first-letter {
	font-size: 18px;
}

@media (min-width: 767px) {
	.post-header a.avatar {
		position: absolute;
		top: 0;
		left: -70px;
		line-height: 48px;
		margin-right: 10px;
	}

	.post-header img.avatar, .post-header span.avatar {
		width: 50px;
		height: 50px;
		line-height: 48px;
	}

	li.topic-item img.avatar, li.topic-item span.avatar {
		height: 36px;
		width: 36px;
		line-height: 34px;
	}
}

@media (max-width: 767px) {
	.post-item {
		padding-left: 0;
	}

	.post-header a.avatar {
		position: static;
		margin-right: 5px;
	}

	.post-header span.avatar, li.topic-item span.avatar {
		position: relative;
		top: 1px;
		width: 32px;
		height: 32px;
		line-height: 30px;
	}

	.post-item.search header {
		padding-left: 40px;
	}

	.post-item.search h3 {
		margin-right: 0;
	}

	.post-item.search a.avatar {
		position: absolute;
		left: 0px;
		top: 2px;
	}
}

li.meta, li.category, li.stats, li.meta a, li.category a {
	color: #999;
}

li.meta {
}

li.category, li.stats {
	position: absolute;
	top: 22px;
}

.post-item.search li.category {
	top: 10px;
}

.post-item.search li.stats {
	top: 9px;
}

li.category {
	font-size: 11px;
	top: 24px;
	right: 60px;
}

li.stats {
	right: 0px;
	width: 60px;
	margin-right: 0!important;
	color: #222;
}

li.category a {
	display: inline-block;
	line-height: 1.5;
	font-weight: bold;
	color: #fff;
	background: #b0b0b0;
	border-radius: 2px;
	padding: 0px 5px 1px;
}

li.category a:hover, li.category a:active, li.category a:focus {
	text-decoration: none;
	background: #222;
}

li.stats {
	margin-right: 0;
}

@media (max-width: 767px) {
	li.category{
		position: static;
	}

	.post-header li {
		margin-right: 3px!important;
	}

	li.category {
		display: none!important;
	}

	li.stats {
		width: auto;
		text-align: right;
	}

	ul.topiclist h3 {
		margin-right: 50px!important;
	}
}

.profile-rank {
	margin-left: 10px;
	color: #999;
}

.profile-posts {
	margin-left: .75em;
	font-size: 13px;
}

.profile-posts a {
	color: #999;
}

dd.profile-warnings {
	font-weight: bold;
}

dd.profile-contact {
	overflow: visible;
}

.profile-contact .dropdown-container {
	display: inline-block;
}

.profile-contact .icon_contact {
	vertical-align: middle;
}

.profile-contact .dropdown {
	margin-right: -14px;
}

.online {
	background-image: none;
	background-position: 100% 0;
	background-repeat: no-repeat;
}

/* Profile used on view-profile */
.profile-avatar img {
	max-width: 100%;
}

/* pm list in compose message if mass pm is enabled */
dl.pmlist dt {
	width: 60% !important;
}

dl.pmlist dt textarea {
	width: 95%;
}

dl.pmlist dd {
	margin-left: 61% !important;
	margin-bottom: 2px;
}

.action-bar div.dl_links {
	padding: 10px 0 0 10px;
}

div.dl_links {
	display: inline-block;
	text-transform: none;
}

.dl_links strong {
	font-weight: bold;
}

.dl_links ul {
	list-style-type: none;
	margin: 0;
	display: inline-block;
}

.dl_links li {
	display: inline-block;
}

.attachment-filename {
	width: 100%;
}

.ellipsis-text {
	display: inline-block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

table.fixed-width-table {
	table-layout: fixed;
}

/* Show scrollbars for items with overflow on iOS devices
----------------------------------------*/
.post-body::-webkit-scrollbar, #topicreview::-webkit-scrollbar, #post_details::-webkit-scrollbar, .codebox code::-webkit-scrollbar, .attachbox dd::-webkit-scrollbar, .attach-image::-webkit-scrollbar, .dropdown-extended ul::-webkit-scrollbar {
	width: 8px;
	height: 8px;
	-webkit-appearance: none;
	background: rgba(0, 0, 0, .1);
	border-radius: 3px;
}

.post-body::-webkit-scrollbar-thumb, #topicreview::-webkit-scrollbar-thumb, #post_details::-webkit-scrollbar-thumb, .codebox code::-webkit-scrollbar-thumb, .attachbox dd::-webkit-scrollbar-thumb, .attach-image::-webkit-scrollbar-thumb, .dropdown-extended ul::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, .3);
	border-radius: 3px;
}
