/**
 * Theme Name: WPBBP
 * Theme URI: https://wordpress.org/
 * Author: The WordPress & bbPress teams
 * Author URI: https://wordpress.org/
 * Description: A theme for bbPress v2.x Support Forums on wordpress.org sites
 * Version: 1.0
 * License: GNU General Public License v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Tags: WordPress, bbPress, Support, Forums
 * Text Domain: wpbbp
 * Domain Path: /languages/
 */

/**
 * This theme, like WordPress, is licensed under the GPL.
 * Use it to make something cool, have fun, and share what you've learned with others.
 */

/**
 * 1.0 General
 */

html,
body {
	background: #fff;
}

#headline {
	background: #f7f7f7;
	border-bottom: 1px solid #dfdfdf;
}

a:hover {
	text-decoration: none;
}

/**
* 2.0 Accessibility
*/

.hidden,
#accessibility {
	height: 0;
	width: 0;
	overflow: hidden;
	position: absolute;
	background: none;
	left: -999em;
}

.screen-reader-text {
	position: absolute;
	margin: -1px;
	padding: 0;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	word-wrap: normal !important;
}


/**
* 3.0 Clearfix
*/

.wrapper:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

#bbpress-forums h2,
#bbpress-forums div.reply {
	clear: both;
}

/**
 * 4.0 Overrides
 */
@media only screen and (min-width: 960px) {
	.col-6 #bbpress-forums {
		margin-left: 0;
	}
}

#bbpress-forums li.bbp-forum-info {
	width: 60%;
}

#bbpress-forums li.bbp-forum-topic-count,
#bbpress-forums li.bbp-forum-reply-count {
	width: 20%;
}

#pagebody ul.forum-info,
#pagebody ul.forum-feeds,
#pagebody ul.topic-info,
#pagebody ul.topic-tags,
#pagebody ul.topic-views,
#pagebody ul.topic-admin-links {
	margin-left: 0;
}

#pagebody ul a.feed {
	background: none;
	padding-left: 0;
}

.sidebar > div {
	margin-bottom: 22px;
}

ul#views {
	margin: 2px 0 20px;
	font-size: 12px;
}

#views li {
	list-style: none;
	display: inline;
}

#bbpress-forums p.bbp-topic-post-date,
#bbpress-forums p.bbp-reply-post-date {
	margin: 0;
	display: block;
}

/* Notices */
div.bbp-template-notice,
div.indicator-hint {
	background: #fff8e5;
	border: 1px solid #ffb900;
	border-bottom: 3px solid #ffb900;
	-webkit-border-radius: 0;
	border-radius: 0;
}

div.bbp-template-notice.error,
div.bbp-template-notice.warning {
	background: #fbeaea;
	border: 1px solid #dc3232;
	border-bottom: 3px solid #dc3232;
}

div.bbp-template-notice a {
	text-decoration: underline;
}

#bbpress-forums div.bbp-template-notice ul {
	margin-left: 20px;
}

#bbpress-forums div.bbp-template-notice ul li {
	list-style: disc;
}

.bbp-topic-content div.bbp-template-notice,
.bbp-reply-content div.bbp-template-notice {
	display: inline-block;
}

/* Reply button */
div.bbp-submit-wrapper {
	float: none;
}

#bbpress-forums .bbp-reply-form fieldset.bbp-form button,
#bbpress-forums .bbp-topic-form fieldset.bbp-form button {
	float: none;
	margin-top: 0;
}

#bbpress-forums .bbp-submit-wrapper .button,
#bbpress-forums .submit .button {
	display: inline-block;
	text-decoration: none;
	font-size: 12px;
	line-height: 23px;
	color: #333;
	text-shadow: 0 1px 0 #fff;
	height: 24px;
	margin: 0;
	padding: 0 10px 1px;
	border: 1px solid #bbb;
	-webkit-appearance: none;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	white-space: nowrap;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	background: #f3f3f3;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#f4f4f4));
	background-image: -webkit-linear-gradient(top, #fefefe, #f4f4f4);
	background-image: linear-gradient(to bottom, #fefefe, #f4f4f4);
}

#bbpress-forums .bbp-submit-wrapper .button:hover,
#bbpress-forums .submit .button:hover {
	color: #222;
	border-color: #999;
	background: #f3f3f3;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3));
	background-image: -webkit-linear-gradient(top, #fff, #f3f3f3);
	background-image: linear-gradient(to bottom, #fff, #f3f3f3);
}

/* Focus outline */
#bbpress-forums fieldset.bbp-form textarea,
#bbpress-forums fieldset.bbp-form select,
#bbpress-forums fieldset.bbp-form input {
	outline: 0;
}

#bbpress-forums fieldset.bbp-form textarea:focus,
#bbpress-forums fieldset.bbp-form select:focus,
#bbpress-forums fieldset.bbp-form input:focus {
	-webkit-box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
	box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
}

/* Search forms */
#bbp-search-form {
	position: relative;
	margin-top: 0;
}

#forum-welcome #bbp_search,
#forum-welcome #forumsearchbox {
	width: 280px;
}

#forum-welcome #forumsearchbox {
	margin-bottom: 20px;
}

#forum-welcome #searchform h3 {
	display: none;
}

.sidebar #ts,
.sidebar #rs {
	width: 90%;
	margin: 0 0 5px;
}

/* Sidebar */
.sidebar .topic-info li.reply-count:before,
.sidebar .forum-info li.reply-count:before {
	content: "\f125";
}

.sidebar .forum-info li.topic-count:before {
	content: "\f105";
}

.sidebar .topic-info li.wp-version:before {
	content: "\f120";
}

.sidebar .topic-info li.topic-resolved:before {
	content: "\f546";
}

/* Sticky topics */
#bbpress-forums ul.sticky li.bbp-topic-title a.bbp-topic-permalink:before,
#bbpress-forums ul.super-sticky li.bbp-topic-title a.bbp-topic-permalink:before {
	content: "\f109";
	color: #ffb900;
}

.bbp-forum-content ul.sticky,
.bbp-topics ul.sticky,
.bbp-topics ul.super-sticky,
.bbp-topics-front ul.super-sticky {
	background-color: #fff8e5 !important;
}

/* Font Size */
#bbpress-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results {
	font-size: 13px;
}

#bbpress-forums div.bbp-topic-author,
#bbpress-forums div.bbp-reply-author {
	font-size: 12px;
}

#bbpress-forums div.bbp-topic-author a.bbp-author-name,
#bbpress-forums div.bbp-reply-author a.bbp-author-name {
	font-size: 13px;
	font-weight: bold;
}

#bbpress-forums .bbp-author-role {
	margin: 0;
	border: 0;
	background-color: initial;
}

#bbpress-forums div.bbp-forum-author .bbp-author-title,
#bbpress-forums div.bbp-reply-author .bbp-author-title,
#bbpress-forums div.bbp-topic-author .bbp-author-title {
	font-size: 11px;
	font-style: italic;
	margin: 0;
	word-wrap: break-word;
}

/* Colors */
a {
	color: #0073aa;
}

a:visited {
	color: #0073aa;
}

a:hover,
a:focus,
a:active {
	color: #0073aa;
	text-decoration: underline;
}

p a,
p a:hover {
	border-bottom: none;
}

#headline a {
	text-decoration: none;
}

#bbpress-forums ul.status-closed,
#bbpress-forums ul.status-closed a,
#bbpress-forums p.bbp-topic-meta a,
#bbpress-forums ul.sticky.status-closed li.bbp-topic-title a.bbp-topic-permalink:before,
#bbpress-forums ul.super-sticky.status-closed li.bbp-topic-title a.bbp-topic-permalink:before,
#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,
#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,
#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log,
span.bbp-admin-links,
span.bbp-admin-links a {
	color: #555d66;
}

#bbpress-forums ul.bbp-lead-topic li.bbp-body {
	border: 1px solid #ffe399;
}

#bbpress-forums ul.bbp-lead-topic li.bbp-body div.topic {
	background-color: #fff8e5;
}

#bbpress-forums ul.bbp-lead-topic li.bbp-body div.status-trash.even,
#bbpress-forums ul.bbp-lead-topic li.bbp-body div.status-spam.even {
	background-color: #fee;
}

#bbpress-forums ul.bbp-lead-topic li.bbp-body div.status-trash.odd,
#bbpress-forums ul.bbp-lead-topic li.bbp-body div.status-spam.odd {
	background-color: #fdd;
}

#bbpress-forums ul.bbp-lead-topic li.bbp-body div.status-pending.even,
#bbpress-forums ul.bbp-lead-topic li.bbp-body div.status-pending.odd {
	background-color: #fef7f1;
}

#bbpress-forums .bbp-breadcrumb {
	clear: both;
}

/* Ratings */

#bbpress-forums .review-ratings {
	overflow: auto;
	margin-bottom: 2em;
}

#bbpress-forums .reviews-filtered-msg {
	width: initial;
}

/* User badges */

#bbpress-forums .by-moderator {
	border-left: 3px solid #33B4CE;
}
#bbpress-forums .by-plugin-author,
#bbpress-forums .by-plugin-contributor,
#bbpress-forums .by-theme-author,
#bbpress-forums .by-theme-contributor {
	border-left: 3px solid green;
}

#bbpress-forums .author-badge {
	color: #fff;
	padding: 0 8px;
	display: inline-block;
	float: left;
	margin-left: -8px;
	font-style: italic;
	text-shadow: 1px 1px 3px #666;
}

#bbpress-forums .author-badge-moderator {
	background-color: #33B4CE;
}

#bbpress-forums .author-badge-plugin, #bbpress-forums .author-badge-theme {
	background-color: green;
}

@media screen and ( min-width: 960px )  {

	div.content {
		width: 692px;
	}

	div.sidebar {
		width: 212px;
	}
}

@media only screen and (max-width: 480px) {
	div.content {
		width: 100%;
	}

	#bbpress-forums .bbp-pagination-count,
	#bbpress-forums .bbp-pagination-links {
		float: none;
	}

	#bbpress-forums div.bbp-topic-author img.avatar,
	#bbpress-forums div.bbp-reply-author img.avatar {
		width: 50px;
		height: 50px;
		max-width: 50px;
		max-height: 50px;
	}

	#bbpress-forums .bbp-body div.bbp-topic-author,
	#bbpress-forums .bbp-body div.bbp-reply-author {
		float: none;
		width: auto;
		padding-left: 70px;
		margin-top: 0;
	}

	#bbpress-forums div.bbp-topic-author a.bbp-author-name,
	#bbpress-forums div.bbp-reply-author a.bbp-author-name {
		display: block;
	}

	#bbpress-forums .bbp-author-role {
		margin: 0;
		padding: 0;
	}

	#bbpress-forums p.bbp-topic-post-date,
	#bbpress-forums div.bbp-topic-ip,
	#bbpress-forums p.bbp-reply-post-date,
	#bbpress-forums div.bbp-reply-ip {
		margin: 0;
		display: block;
	}

	#bbpress-forums .author-badge {
		position: absolute;
		top: -3px;
		left: -10px;
	}
}
