/* Modules/Forum */

a.postread, a.postread:visited {
	font-weight: normal;
}

a.postunread, a.postunread:visited {
	font-weight: bold;
}

a.postnew, a.postnew:visited {
	font-style: italic;
	font-weight: bold;
}

blockquote.ilForumQuote {
	margin: 0 20px 10px;
	padding: 5px;
	border: 1px solid #b6b6b6;
	font-size: 90%;
}

div.ilForumQuoteHead {
	font-weight: bold;
	font-size: 90%;
	margin: 0 0 10px;
}

/* Modules/Forum */
#ilFrmPostList {
	list-style: none;
	margin: 0;
	padding: 0;
	background-color: @il-main-dark-bg;
}

.ilFrmPostImage {
	float: left;
	width: 100px;
	overflow: hidden;
	img {
		vertical-align: top;
		margin: 5px 20px 5px 5px;
		border: none;
		max-width: 100%;
		@media only screen and (min-width: @grid-float-breakpoint) {
			margin: 0 !important;
			padding: 5px 8px 5px 5px;
		}
	}
}

.ilFrmPostClear {
	clear: both;
	width: 1px;
	height: 1px;
	line-height: 1px;
}

.ilFrmPostTitle {
	margin-top: 15px;
	font-size: 120%;
	@media only screen and (max-width: @grid-float-breakpoint-max) {
		margin-top: 5px;
		font-size: 100%;
	}
}

div.ilFrmPostHeader span.small {
	color: @il-text-light-color;
}

.ilFrmPostContentContainer {
	margin: 0 0 10px;
	width: 80%;
	float: left;
	@media only screen and (max-width: @grid-float-breakpoint-max) {
		width: 100%;
	}
	img {
		@media only screen {
			width: 100%;
			height: auto !important;
		}
	}
}

.ilFrmPostContent {
	margin-top: 20px;
}

.ilFrmPostRow {
	padding: 3px;
	border-top: 1px solid #f0f0f0;
	div.ilForm {
		width: 100%;
		max-width: 1000px;
		div.ilFormValue {
			width: auto;
		}
		div.ilFormOption {
			width: 150px;
		}
		&, input[type=text], textarea {
			@media only screen and (max-width: @grid-float-breakpoint-max) {
				width: 100%;
			}
		}
	}
	img.ilUserIcon {
		@media only screen and (max-width: @grid-float-breakpoint-max) {
			width: 50px;
			height: 50px;
		}
	}
}

@media only screen and (min-width: @screen-lg-desktop) {
	.sort_by_posts .ilFrmPostRow {
		&.ilFrmPost-level-2 {
			padding-left: 50px;
		}
		&.ilFrmPost-level-3 {
			padding-left: 100px;
		}
		&.ilFrmPost-level-4 {
			padding-left: 150px;
		}
		&.ilFrmPost-level-5 {
			padding-left: 190px;
		}
		&.ilFrmPost-level-6 {
			padding-left: 220px;
		}
		&.ilFrmPost-level-7 {
			padding-left: 240px;
		}
		&.ilFrmPost-level-8 {
			padding-left: 260px;
		}
		&.ilFrmPost-level-9 {
			padding-left: 280px;
		}
		&.ilFrmPost-level-10 {
			padding-left: 300px;
		}
	}
}

.ilFrmPostCensorshipAdvice {
	margin: 0;
	padding: 0;
	font-weight: bold;
}

.ilFrmPostAttachmentsContainer {
	margin: 20px 0 0;
	font-weight: bold;
	a {
		font-weight: normal;
	}
	img {
		vertical-align: middle;
	}
}

.ilFrmPostCommands {
	float: right;
	margin: 0 0 3px;
}

.ilModeratorPosting {
	background-color: @il-posting-by-moderator-bg;
	padding: 0 5px;
}

.ilPostingNeedsActivation {
	background-color: @il-posting-needs-moderation-bg;
	padding: 0 5px;
}

.ilFrmBottomToolbar {
	margin-top: 20px;
}

.ilForumTreeTitle {
	display: inline-block;
}

.ilForumTreeTitleUnread {
	font-weight: bold;
}

.ilForumTreeUnlinkedContent {
	display: block;
	line-height: 0.9em;
	margin-bottom: 10px;
	text-decoration: none;
	cursor: text;
	font-size: smaller;
	color: @il-text-color;
	padding-left: 23px;
}

.frm-thread-scrollable-print {
	overflow: auto;
}