* {
	box-sizing: border-box;
}

#forums_module h2 {
	color: #214583;
	font-size: 1.25rem;
	padding: 0;
	line-height: 1.375rem;
	margin-top: 5px;
}

#forums_module #topics tr td.poster_info .poster_name.user-dialog,
#forums_module #posts tr td.poster_info .poster_name.user-dialog {
	color: inherit;
	margin-bottom: 0px;
}

#forums_module #posts tr td .image-enlarge {
	border: 0px;
	margin-top: 15px;
}

/* search form and container */
#forums_module.form .form_container label {
	display: inline;
	font-weight: normal;
}

#forums_module.form .form_container .form_item .label,
#forums_module.form .form_container .form_item .field {
	padding-bottom: 5px;
}

#forums_module #forum-search #forum-search-container input,
#forums_module #forum-search #forum-search-container label {
	display: inline;
	font-size: 0.8125rem;
	margin-bottom: 5px;
}

#forums_module #forum-search #forum-search-container .top-row #keywords {
	display: block;
	padding-top: 8px;
	padding-bottom: 8px;
	width: 100%;
}

#forums_module #forum-search #forum-search-container .advanced a {
	font-size: 0.8125rem;
}

/* pagination */
#forums_module .pagination .visible {
	width: 140px;
}

#forums_module tr th .pagination .page-num a {
	padding: 0 4px;
}


@media (max-width: 991px) {
	#forums_module #topics tbody,
	#forums_module #topics tr,
	#forums_module #posts tbody,
	#forums_module #posts tr {
		width: 100%;
		display: block;
	}

	#forums_module #boards th,
	#forums_module #topics th,
	#forums_module #posts th {
		display: block;
		width: 100%;
		height: auto;
	}

	#forums_module #boards tr td,
	#forums_module #topics tr td,
	#forums_module #posts tr td {
		display: block;
		height: auto;
		width: 100%;
		border-bottom: 0px;
		padding-top: 0px;
		padding-bottom: 0px;
	}

	#forums_module #boards h2 {
		padding-top: 1.5rem;
	}

	#forums_module .form_container tr td {
		display: block;
		height: auto;
		width: 100%;
	}

	#forums_module #boards tr td:last-child,
	#forums_module #topics tr td:last-child,
	#forums_module #posts tr td:last-child {
		border-bottom: 1px solid #cccccc;
		padding-bottom: 1.5rem;
	}

	#forums_module #boards tr:last-child td,
	#forums_module #posts .post_footer tr td:last-child {
		border-bottom: none;
	}

	#forums_module tr td small {
		font-size: 100%;
	}

	#forums_module #boards tr td .image,
	#forums_module #topics tr td .image {
		padding-top: 1.5rem;
	}

	#forums_module #topics tr td.poster_info,
	#forums_module #posts tr td.poster_info {
		text-align: left;
		padding-bottom: 0px;
		padding-top: 10px;
	}

	/* headers footers */
	#forums_module tr th .header-top,
	#forums_module tr th .header-top .header-left,
	#forums_module tr th .header-top .header-right,
	#forums_module tr th .header-bottom {
		width: 100%;
		text-align: left;
		display: inline-block;
	}

	#forums_module tr th .header-top .header-right {
		text-align: right;
	}

	#forums_module tr th .header-bottom .back_to,
	#forums_module tr th .header-bottom .header-right,
	#forums_module #posts tr th .header-bottom .header-left {
		width: 50%;
	}

	#forums_module #topics tfoot th,
	#forums_module #posts tfoot th {
		border-bottom: 0px;
	}

	/* pagination */
	#forums_module tr th .pagination {
		width: 100%;
		text-align: center;
		display: inline-block;
	}

	#forums_module tr th .pagination .visible {
		width: 100%;
		padding-bottom: 4px;
		font-weight: bold;
	}

	#forums_module .pagination span {
		float: none;
		display: inline-block;
	}

	#forums_module tr th .pagination .page-selector.page {
		display: block;
		padding-bottom: 6px;
		padding-left: 0px;
		background: none;
		margin: 0 auto;
		width: 230px;
	}

	#forums_module tr th .pagination .page-selector.page a,
	#forums_module tr th .pagination span a {
		font-weight: normal;
	}

	#forums_module tr th .pagination .page-selector.page a {
		background: url("/core/public/shared/assets/images/pagination/expand.png") no-repeat scroll right;
		padding-right: 15px;
	}

	#forums_module tr th .pagination .page-popup {
		left: 35%;
		top: 52px;
		padding: 8px 20px;
	}

	/* actions */
	#forums_module #topics tr.moderator_actions td {
		text-align: right;
		padding-left: 10px;
		padding-right: 10px;
	}

	#forums_module #posts .post_footer tr td {
		height: auto;
	}

	#forums_module #posts .post_footer tr td.actions {
		padding-top: 20px;
	}

	#forums_module #posts .post_footer tr td.actions a {
		float: right;
		font-weight: 500;
		margin-bottom: 5px;
	}

	/* document links */
	#forums_module #posts tr.link_row td {
		height: auto;
		border-top: 0px;
		border-left: 0px;
	}

	#forums_module #posts tr.link_row td:last-child {
		padding-bottom: 10px;
	}

	#forums_module #posts tr td .edited-by {
		font-weight: normal;
	}


	/* forms */
	#forums_module.form .form_container input[type="text"],
	#forums_module.form .form_container input[type="password"],
	#forums_module.form .form_container select,
	#forums_module.form .form_container textarea {
		width: 100% !important;
	}

	#forums_module.form .form_container .form_item .label,
	#forums_module.form .form_container .form_item .field,
	#forums_module.form .form_container .form_item.required .label {
		display: block;
		width: 100%;
		text-align: left;
		padding-bottom: 5px;
		background: none;
		padding-left: 0;
	}

	#forums_module.form .form_item.required > .label:after {
		content: url("/core/public/shared/assets/images/required.gif");
		padding-left: 5px;
	}


	/* search container */
	#forums_module #forum-search #forum-search-container {
		height: 200px;
		width: 278px;
		right: 0px;
	}

	/* enlarge image */
	#forums_module #posts .modal-window {
		background: #fff none repeat scroll 0 0;
		border-radius: 3px;
		left: 10%;
		margin: 0 !important;
		padding: 8px;
		top: 6%;
		width: 80%;
	}

	#forums_module #posts .modal-window img {
		border: medium none;
		height: auto;
		text-decoration: none;
		width: 100%;
	}

	#forums_module.form.advanced-search .button-spacer {
		display: none;
	}
}


@media (max-width: 479px) {
	/* headers footers */
	#forums_module #topics tr th .header-bottom {
		margin-top: 20px;
	}

	/* pagination */
	#forums_module tr th .pagination .page-popup {
		left: 30%;
	}

	#forums_module tr th .pagination .page-num a {
		padding: 0 1px;
	}
}
