/********************************
 * Forums Module
 */
#forums_module {
	padding-top: 20px;
}

#forums_module img {
	text-decoration: none;
	border: none;
}

#forums_module h2 {
	padding: 0px;
	font-size: 1.125rem;
	color: #214583;
}

#forums_module p {
	padding: 0px;
	margin-top: 5px;
	margin-bottom: 5px;
}

#forums_module blockquote {
	border: 1px solid #aaaaaa;
	background-color: #fafafa;
	padding: 5px;
}

#forums_module .error_msg {
	background-color: #ffaaaa;
	border: 1px solid #ff0000;
	padding: 5px;
}

#forums_module.form .form_container {
	margin-bottom: 25px;
}

#forums_module .header-top.with-pagination {
	margin-bottom: 10px;
}

#forums_module .header-bottom.with-pagination {
	margin-top: 10px;
}

/* *** Subscription *** */

#forum-subscribe {
	float: right;
	margin-right: 12px;
}

#forum-subscribe > a > img {
	float: left;
	margin-top: -5px;
	margin-right: 8px;
}

#forums_module .forum-board-subscribe .board-subscribe svg,
#forums_module .forum-board-subscribe .board-unsubscribe svg,
#forums_module .forum-topic-subscribe .topic-subscribe svg,
#forums_module .forum-topic-subscribe .topic-unsubscribe svg,
#forums_module #forum-subscribe .board-subscribe svg,
#forums_module #forum-subscribe .board-unsubscribe svg,
#forums_module #forum-subscribe .topic-subscribe svg,
#forums_module #forum-subscribe .topic-unsubscribe svg {
	fill: #333333;
	height: 20px;
	margin-right: 6px;
	vertical-align: middle;
	width: 20px;
}


#forums_module .forum-topic-subscribe {
	margin-top: 8px;
}

#forums_module.form .instructions {
	font-weight: bold;
	padding: 0px 0px 15px 0px;
}

#forums_module.form .form_container {
	border-spacing: 2px;
}

#forums_module.form .required_message {
	text-align: right;
}

#forums_module.form .required_message span {
	background: url('/core/public/shared/assets/images/required.gif') no-repeat center left;
	padding-left: 20px;
}


#forums_module.form .form_item .label,
#forums_module.form .form_item.required .label {
	width: 35%;
	padding: 3px 5px 0px 0px;
	text-align: right;
	vertical-align: top;
}

#forums_module.form .form_item.required .field {
	background: url('/core/public/shared/assets/images/required.gif') no-repeat 5px 6px;
}

#forums_module.form .form_item .field {
	padding-left: 20px;
}

#forums_module.form .form_buttons {
	margin-top: 15px;
	text-align: center;
}

#forums_module.form .form_buttons .form_button {
	cursor: pointer;
}

#forums_module #boards tr:nth-child(1) td,
#forums_module #posts tr:nth-child(1) td,
#forums_module #topics tr:nth-child(1) td {
	padding: 10px;
	font-weight: bold;
}

/********************************
 * Searching
 */
#forums_module #forum-search {
	float: right;
	margin: 0px 7px 8px 0px;
	position: relative;
}

#forums_module #forum-search form > a {
	display: inline-block;
	padding: 0;
}

#forums_module #forum-search form > a svg {
	fill: #333333;
	height: 16px;
	position: relative;
	top: 3px;
	width: 16px;
}

#forums_module #forum-search-container {
	background: none repeat scroll 0 0 #ffffff;
	border: 2px solid #d3d3d3;
	color: #3e3e3e;
	display: none;
	padding: 8px 8px;
	position: absolute;
	top: 15px;
	right: 4px;
	z-index: 1000;
	width: 365px;
}

#forums_module #forum-search-container .top-row {
	margin-bottom: 4px;
	white-space: nowrap;
}

#forums_module #forum-search-container .bottom-row {
	line-height: 22px;
}

#forums_module #forum-search-container input[type=radio] {
	position: relative;
	top: 2px;
}

#forums_module.nojs #forum-search:hover #forum-search-container,
#forums_module.nojs #forum-search:hover {
	display: block;
}

#forums_module #forum-search #forum-search-container .advanced {
	text-align: right;
}

#forums_module #forum-search-return {
	float: right;
	margin-right: 1%;
}

#forums_module .forum-board {
	margin: 4px 0px;
}

#forums_module .search-result {
	color: #ff0000;
	font-weight: bold;
}

/********************************
 * Forums Boards
 */
#forums_module #boards table {
	border: 1px solid #aaaaaa;
	background-color: #eeeeee;
	border-collapse: collapse;
}

#forums_module #boards td {
	height: 100px;
	padding: 10px;
	border-bottom: 1px solid #cccccc;
	vertical-align: top;
}

#forums_module #boards th {
	height: 25px;
	padding: 10px;
	border-bottom: 1px solid #cccccc;
	vertical-align: top;
	text-align: left;
}

#forums_module #boards .image img {
	border: 1px solid #cccccc;
}

#forums_module #boards td.no_records {
	text-align: center;
	height: inherit;
	padding: 20px 0;
}


/********************************
 * Forums Topics
 */
#forums_module #topics {
	position: relative;
}

#forums_module #topics table {
	border: 1px solid #aaaaaa;
	background-color: #eeeeee;
	border-collapse: collapse;
}

#forums_module #topics th {
	height: 25px;
	padding: 10px;
	border-bottom: 1px solid #cccccc;
	vertical-align: top;
	text-align: left;
}

#forums_module #topics .image img {
	border: 1px solid #cccccc;
}

#forums_module #topics td {
	height: 25px;
	padding: 10px;
	border-bottom: 1px solid #cccccc;
	vertical-align: top;
}

#forums_module #topics tr.moderator_actions td {
	white-space: nowrap;
	border-top: none;
	padding: 0 4px 0 0;
	text-align: right;
}

#forums_module #topics .poster_info {
	text-align: center;
}

#forums_module #topics .poster_name {
	color: #666;
	margin-bottom: 6px;
}

#forums_module .back_to {
	float: left;
	text-align: left;
	width: 50%;
}

#forums_module .header-right {
	float: right;
	text-align: right;
	width: 25%;
}

#forums_module .header-top .header-right {
	width: auto;
}

#forums_module .header-left {
	float: left;
	text-align: left;
	width: 75%;
}

#forums_module .log_in_out {
	float: right;
	text-align: right;
	width: 25%;
}

#forums_module .clear {
	clear: both;
	overflow: hidden;
}


/********************************
 * Pagination
 */
#forums_module .pagination {
	clear: both;
	margin: 0px 0px 0px 0px;
	position: relative;
	text-transform: inherit;
}

#forums_module .pagination span {
	clear: right;
	display: block;
	float: left;
}

#forums_module .pagination a {
	color: inherit;
}

#forums_module .pagination a:hover {
	color: #000000;
	text-decoration: none;
}

#forums_module .pagination span a {
	color: inherit;
	padding: 0px 8px;
}

#forums_module .pagination .visible {
	margin-right: 10px;
	width: 175px;
}

#forums_module .pagination .page {
	background: url('/core/public/shared/assets/images/pagination/expand.png') no-repeat scroll right center;
	margin: 0px 12px 0px 1px;
	padding: 0px 6px 0px 4px;
}

#forums_module .pagination .page:hover {
	background-image: url('/core/public/shared/assets/images/pagination/expand_over.png');
}

#forums_module .pagination .page-num.selected {
	color: #000000;
	font-weight: bold;
}

#forums_module .pagination .separator {
	margin: 0px 4px 0px 4px;
}

#forums_module .pagination .first-last a:hover {
	color: #000000;
}

#forums_module .pagination .next-prev a {
	height: 16px;
	width: 16px;
}

#forums_module .pagination .first {
	background: url('/core/public/shared/assets/images/pagination/first.png') no-repeat scroll left center;
	padding-left: 20px;
}

#forums_module .pagination .first:hover {
	background-image: url('/core/public/shared/assets/images/pagination/first_over.png');
}

#forums_module .pagination .prev {
	background: url('/core/public/shared/assets/images/pagination/previous.png') no-repeat scroll left center;
}

#forums_module .pagination .prev:hover {
	background-image: url('/core/public/shared/assets/images/pagination/previous_over.png');
}

#forums_module .pagination .next {
	background: url('/core/public/shared/assets/images/pagination/next.png') no-repeat scroll right center;
	float: none;
	height: 16px;
	width: 16px;
}

#forums_module .pagination .next:hover {
	background-image: url('/core/public/shared/assets/images/pagination/next_over.png');
}

#forums_module .pagination .last {
	background: url('/core/public/shared/assets/images/pagination/last.png') no-repeat scroll right center;
	padding-right: 20px;
}

#forums_module .pagination .last:hover {
	background-image: url('/core/public/shared/assets/images/pagination/last_over.png');
}

#forums_module .pagination .page-popup {
	background: #ffffff;
	border: 2px solid #d3d3d3;
	color: #3e3e3e;
	display: none;
	left: 197px;
	padding: 2px 8px;
	position: absolute;
	top: 17px;
	z-index: 1000;
}

#forums_module .pagination .page-popup .page-input {
	margin: 0px 4px;
}

#forums_module.nojs .pagination .page:hover ~ .page-popup,
#forums_module.nojs .pagination .page-popup:hover {
	display: block;
}



/********************************
 * Forums Posts
 */
#forums_module #posts table {
	border: 1px solid #aaaaaa;
	background-color: #eeeeee;
	border-collapse: collapse;
}

#forums_module #posts td {
	height: 100px;
	padding: 10px;
	border-bottom: 1px solid #cccccc;
	vertical-align: top;
}

#forums_module #posts th {
	height: 25px;
	padding: 10px;
	border-bottom: 1px solid #cccccc;
	vertical-align: top;
	text-align: left;
}


#forums_module #posts table td.actions a {
	color: #757575;
	display: block;
	float: right;
	height: 16px;
	margin-left: 8px;
}

#forums_module #posts table td.actions a:hover {
	color: #000;
}

#forums_module #posts table td.actions a.reply span,
#forums_module #posts table td a.reply-with-quote span {
	display: block;
	float: left;
	width: 16px;
	height: 16px;
	margin: 1px 3px 0 0;
	background: url('/core/public/shared/assets/images/icons/reply-quote.png') no-repeat;
	background-position: 0px 0px;
}

#forums_module #posts table td.actions a.reply:hover span {
	background-position: -16px 0;
}

#forums_module #posts table td.actions a.reply-with-quote span {
	background-position: -32px 0;
}

#forums_module #posts table td.actions a.reply-with-quote:hover span {
	background-position: -48px 0;
}


#forums_module #posts .post_footer {
	border: none;
	background-color: #eeeeee;
}

#forums_module #posts .post_footer td {
	height: 10px;
	border: none;
	padding: 0px;
	vertical-align: bottom;
}

#forums_module #posts .star {
	margin: -2px;
	padding: 0px;
	cursor: pointer;
}

#forums_module #posts .link_row td {
	height: 8px;
	padding: 10px;
	margin: 0px;
	background-color: #fafafa;
	border: 1px solid #cccccc;
}

#forums_module #posts .image {
	height: 100px;
	width: 100px;
	border: 1px solid #cccccc;
	color: #cccccc;
}


#forums_module #posts .post_quote {
	border: 1px solid #aaaaaa;
	background-color: #fafafa;
	margin: 8px;
	padding: 0px;
	font-size: 0.75rem;
	text-indent: 5px;
}

#forums_module #posts .post_quote_title {
	background-color: #b0cde8;
	font-size: 0.75rem;
	display: block;
	padding: 0px;
	margin: 0px;
	text-decoration: none;
}

#forums_module #posts .poster_info {
	text-align: center;
}

#forums_module #posts .poster_name {
	color: #666;
	margin-bottom: 6px;
}


.edited-by {
	clear: both;
	font-size: 0.6875rem;
	font-weight: bold;
	margin: 0px 0px 10px 0px;
}

#forums_module #boards #recent-activity a.new-topic,
#forums_module #topics a.new-topic {
	background: url('/core/public/shared/assets/images/new.png') no-repeat scroll right center transparent;
	padding: 0px 22px 0px 0px;
}

#forums_module #topics .poster_name.user-dialog,
#forums_module #posts .poster_name.user-dialog,
#forums_module #recent-activity .poster_name.user-dialog {
	color: #3598c5;
	cursor: pointer;
}

#forums_module .action-popup {
	background-color: #ffffff;
	border: 1px solid #e1e1e1;
	border-radius: 5px 5px 5px 5px;
	box-shadow: 0px 4px 7px #c8c8c8;
	color: #3e3e3e;
	display: none;
	font-size: 0.6875rem;
	margin: 0px;
	min-width: 140px;
	padding: 2px;
	position: absolute;
	z-index: 1000;
}

#forums_module .action-popup li {
	border: none;
	list-style: none;
	text-align: left;
	width: 140px;
}

#forums_module .action-popup li.left {
	clear: left;
	float: left;
}

#forums_module .action-popup li.right {
	clear: right;
	float: right;
}

#forums_module .action-popup li a {
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position: left center;
	display: block;
	padding: 4px 4px 4px 20px;
	white-space: nowrap;
}

#forums_module .action-popup li a:hover {
	background-color: #ffeb90;
}

#forums_module .ui-icon-profile {
	background-image: url('/core/website/modules/accounts/assets/images/profile.png');
}

#forums_module .ui-icon-profile:hover {
	background-image: url('/core/website/modules/accounts/assets/images/profile_over.png');
}

#forums_module .ui-icon-message {
	background-image: url('/core/website/modules/accounts/assets/images/message.png');
}

#forums_module .ui-icon-message:hover {
	background-image: url('/core/website/modules/accounts/assets/images/message_over.png');
}

.script-show {
	display: none;
}


#forums_module .modal-window-overlay {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.4);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99999999, endColorstr=#99999999)";
	z-index: 1000;
}

#forums_module .modal-window {
	padding: 8px;
	position: fixed;
	left: 50%;
	top: 50%;
	background: #fff;
	border-radius: 3px;
}

#forums_module .image-enlarge {
	display: block;
	border-radius: 2px;
	border: solid 1px #3598c5;
	padding: 0 2px;
	margin-bottom: 1px;
	text-decoration: none;
	color: #214583;
	background: url('/core/website/modules/forums/images/enlarge.png') no-repeat 2px 2px;
	text-indent: 18px;
}

#forums_module .close-modal-button-container {
	width: 0px;
	float: right;
}

#forums_module .close-modal-button {
	background: #000;
	width: 20px;
	height: 20px;
	border-radius: 20px;
	color: #fff;
	text-align: center;
	font-size: 1rem;
	font-weight: bold;
	float: right;
	position: relative;
	bottom: 21px;
	left: 15px;
	cursor: pointer;
	border: solid 2px #fff;
}


#forums_module #recent-activity {
	margin-bottom: 2em;
}

#forums_module #recent-activity td {
	border-bottom: 1px solid #aaaaaa;
}

#forums_module #online-users {
	margin-top: 2em;
}

/********************************
 * Homepage Topic List Content Box
 */

#forums_module.homepage_contentbox.topic_list {
	padding: 0px;
}

#forums_module.homepage_contentbox.topic_list .cms_list_item .cms_metadata1.cms_title,
#forums_module.homepage_contentbox.topic_list .cms_list_item .cms_metadata1.cms_title h1 {
	padding: 0px;
}

#forums_module.homepage_contentbox .cms_footer {
	padding-top: 10px;
}

@media (max-width: 767px) {
	#forums_module.form .form_item .label,
	#forums_module.form .form_item.required .label {
		text-align: left;
		width: inherit;
	}
}
