/**
 * Styles for the Plus forums
 *
 * @author      Jim Mock
 * @copyright   2022, ON1
 */

/*------------------------------------------------------------------------------
 * Navigation
 -----------------------------------------------------------------------------*/
body.bbpress #forum-navigation h3 a {
	color: #fff;
	font-weight: 500;
	text-decoration: none;
}

body.bbpress #forum-navigation h3 strong { font-weight: 900; }

body.bbpress #forum-navigation .bottom-border {
	border-bottom: 2px solid #303030;
	padding-left: 15px;
	padding-right: 15px;
}

/*------------------------------------------------------------------------------
 * Content
 -----------------------------------------------------------------------------*/
body.bbpress #site-main p { margin-bottom: 1.5rem; }
body.bbpress #site-main p:last-child { margin-bottom: 0; }
body.bbpress #site-main .restricted-wrapper p { color: #fff; }
body.bbpress #site-main .restricted-wrapper a { color: #fff; }

/*
body.bbpress #site-main .restricted { position: relative; }

body.bbpress #site-main .restricted .inner {
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

body.bbpress #site-main .restricted-wrapper ul {
	list-style: none;
	margin: 0 0 0 2.5rem;
	padding: 0;
}

body.bbpress #site-main .restricted-wrapper ul li { margin-bottom: 1rem; }
body.bbpress #site-main .restricted-wrapper ul li:last-child { margin-bottom: 0; }

body.bbpress #site-main .restricted-wrapper ul li::before {
	color: #0a7efa;
	content: '\f00c';
	font-family: 'Font Awesome 6 Pro';
	font-weight: 400;
	margin: 0 0.75rem 0 -1.75rem;
}
*/

body.bbpress #forums #bbpress-forums, body.bbpress #forums #bbpress-forums ul.bbp-lead-topic, body.bbpress #forums #bbpress-forums ul.bbp-topics, body.bbpress #forums #bbpress-forums ul.bbp-forums, body.bbpress #forums #bbpress-forums ul.bbp-replies, body.bbpress #forums #bbpress-forums ul.bbp-search-results, body.bbpress #forums #bbpress-forums div.bbp-the-content-wrapper input, body.bbpress #forums #bbpress-forums #bbp-your-profile fieldset span.description {
	font-size: 1rem;
	line-height: inherit;
}

body.bbpress #forums #bbpress-forums textarea.bbp-the-content {
	font-size: 1rem;
	min-height: 275px;
}

body.bbpress #forums #bbpress-forums div.bbp-forum-title h3, body.bbpress #forums #bbpress-forums div.bbp-topic-title h3, body.bbpress #forums #bbpress-forums div.bbp-reply-title h3, body.bbpress #forums #bbpress-forums .bbp-topics-front ul.super-sticky, body.bbpress #forums #bbpress-forums .bbp-topics ul.super-sticky, body.bbpress #forums #bbpress-forums .bbp-topics ul.sticky, body.bbpress #forums #bbpress-forums .bbp-forum-content ul.sticky { font-size: 1rem; }
body.bbpress #forums .forums-header, body.bbpress #forums .forums-dropdown { margin-bottom: 2rem; }
body.bbpress #forums .bbp-breadcrumb, body.bbpress #forums .bbp-pagination, body.bbpress #forums #bbpress-forums .bbp-forums-list li, body.bbpress #forums #bbpress-forums div.bbp-forum-author .bbp-author-role, body.bbpress #forums #bbpress-forums div.bbp-topic-author .bbp-author-role, body.bbpress #forums #bbpress-forums div.bbp-reply-author .bbp-author-role, body.bbpress #forums #bbpress-forums span.bbp-author-ip, body.bbpress #forums #bbpress-forums div.bbp-topic-tags p, body.bbpress #forums #bbpress-forums span.bbp-admin-links a, body.bbpress #forums #bbpress-forums .bbp-row-actions #favorite-toggle a, body.bbpress #forums #bbpress-forums .bbp-row-actions #subscription-toggle a, body.bbpress #forums #bbpress-forums .bbp-forum-info .bbp-forum-content, body.bbpress #forums #bbpress-forums p.bbp-topic-meta, body.bbpress #forums #bbpress-forums .bbp-topic-pagination, body.page .bbp-reply-form code, body.page .bbp-topic-form code, body.single-topic .bbp-reply-form code, body.single-forum .bbp-topic-form code, body.topic-edit .bbp-topic-form code, body.reply-edit .bbp-reply-form code, body.bbpress #forums #bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log, body.bbpress #forums #bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log, body.bbpress #forums #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log { font-size: 0.75rem; }
body.bbpress #forums #bbp-search-form input { font-size: 0.875rem; }
body.bbpress #bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log { display: none; }
body.bbpress #forums .bbp-breadcrumb p { margin-bottom: 0; }
body.bbpress #forums li.bbp-topic-title a.bbp-topic-permalink, body.bbpress #forums li.bbp-forum-info a.bbp-forum-title { font-weight: 700; }
body.bbpress #forums li.bbp-topic-title a.bbp-topic-permalink, body.bbpress #forums li.bbp-forum-info a.bbp-forum-title, body.bbpress #forums li.bbp-topic-freshness a, body.bbpress #forums li.bbp-forum-freshness a { color: #282828; }
body.bbpress #forums li.bbp-topic-title .bbp-topic-meta a, body.bbpress #forums li.bbp-forum-info .bbp-forum-content a { color: #0a7efa; }
body.bbpress #forums li.bbp-topic-freshness a, body.bbpress #forums li.bbp-forum-freshness a { font-size: 0.875rem; }

body.bbpress #forums li.bbp-topic-freshness .bbp-topic-meta a, body.bbpress #forums li.bbp-forum-freshness .bbp-topic-meta a {
	color: #0a7efa;
	font-size: 0.75rem;
}

body.bbpress #forums li.bbp-topic-freshness .bbp-topic-meta { margin: 0; }
body.bbpress #forums ul.status-closed li.bbp-topic-title .bbp-topic-meta a { color: #7c7c7d; }
body.bbpress #forums ul.status-closed li.bbp-topic-title a.bbp-topic-permalink, body.bbpress #forums ul.status-closed li.bbp-topic-freshness a { color: #7c7c7d; }
body.bbpress #forums #bbp_search_submit { z-index: 0; }

body.bbpress #forums .forums-dropdown .forum-dropdown {
	font-size: 0.875rem;
	padding-left: 0;
	padding-right: 0;
}

body.bbpress #forums .forums-dropdown select { font-size: 0.875rem; }

body.bbpress #bbpress-forums ul.bbp-lead-topic, body.bbpress #bbpress-forums ul.bbp-topics, body.bbpress #bbpress-forums ul.bbp-forums, body.bbpress #bbpress-forums ul.bbp-replies, body.bbpress #bbpress-forums ul.bbp-search-results {
	border: 1px solid #eaeaea;
	margin-bottom: 1.5rem;
}

body.bbpress #bbpress-forums li.bbp-header, body.bbpress #bbpress-forums li.bbp-footer {
	background: #fff;
	border-top: 1px solid #eaeaea;
	padding: 0.5rem 1rem;
}

body.bbpress #bbpress-forums li.bbp-body ul.forum, body.bbpress #bbpress-forums li.bbp-body ul.topic {
	border-top: 1px solid #eaeaea;
	padding: 1rem;
}

body.bbpress #bbpress-forums div.odd, body.bbpress #bbpress-forums ul.odd { background-color: #f6f6f7; }
body.bbpress #bbpress-forums .hentry.bbppu-unread > li:first-child { border-left: none; }
body.bbpress #bbpress-forums .hentry.bbppu-read > li:first-child { border-left: none; }
body.bbpress #bbpress-forums a.bbppu-hentry, body.bbpress #bbpress-forums ul.bbppu-hentry > li:first-child { padding-left: 0; }

body.bbpress #bbpress-forums .hentry.bbppu-unread > li:first-child::before {
	color: #21ce6e;
	content: '\f111';
	font-family: 'Font Awesome 6 Pro';
	font-size: 10px;
	font-weight: 900;
	vertical-align: text-top;
}

body.bbpress #forums #bbpress-forums .bbp-template-notice.info .bbp-forum-description .bbp-author-avatar, body.bbpress #forums #bbpress-forums .bbp-template-notice.info .bbp-author-avatar { display: none; }
body.bbpress #forums #bbpress-forums #bbp-your-profile select { max-width: 470px; }

body.bbpress #forums #bbpress-forums #bbp-your-profile .bbpm-notify label:last-child {
	margin-bottom: 0;
	text-align: left;
	width: 470px;
}

body.bbpress #forums #bbpress-forums #bbp-your-profile input[type=checkbox], body.bbpress #forums #bbpress-forums #bbp-your-profile input[type=radio] {
	margin-right: 0.313rem;
	width: auto;
}

body.bbpress #site-main #bbpress-forums .button.submit {
	background-color: #0a7efa;
	border: 1px solid transparent;
	border-radius: 0.25rem;
	color: #fff;
	display: inline-block;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 0;
	padding: 0.475rem 1.25rem;
	text-align: center;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	vertical-align: middle;
}

body.bbpress #forums #bbpress-forums div.bbp-forum-author, body.bbpress #forums #bbpress-forums div.bbp-topic-author { width: 160px; }
body.bbpress #forums #bbpress-forums .bbp-header div.bbp-reply-author, body.bbpress #forums #bbpress-forums .bbp-header div.bbp-reply-content, body.bbpress #forums #bbpress-forums .bbp-footer div.bbp-reply-author, body.bbpress #forums #bbpress-forums .bbp-footer div.bbp-reply-content { padding: 0; }

body.bbpress #forums #bbpress-forums div.bbp-reply-author {
	padding: 1rem;
	width: 160px;
}

body.bbpress #forums #bbpress-forums div.bbp-forum-content, body.bbpress #forums #bbpress-forums div.bbp-topic-content { margin-left: 160px; }

body.bbpress #forums #bbpress-forums div.bbp-reply-content {
	margin-left: 160px;
	padding: 1rem;
}

body.bbpress.single-forum #forums #bbpress-forums div.bbp-forum-content { margin-left: 0; }

body.bbpress #forums #bbpress-forums .bbp-reply-author .bbp-author-name {
	color: #000;
	margin-top: 0.5rem;
}

body.bbpress #forums #bbpress-forums .bbpm-contact-btn {
	background-color: #0a7efa;
	border: 1px solid transparent;
	border-radius: 0.25rem;
	color: #fff;
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 0;
	padding: 0.313rem 1rem;
	text-align: center;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	vertical-align: middle;
}

body.bbpress #site-main .bbpm .bbpm-new .bbpm-results li { margin-bottom: 0.625rem; }
body.bbpress #site-main .bbpm .bbpm-new .bbpm-results li label { padding-left: 0.25rem; }

body.bbpress #site-main .bbpm .bbpm-new .bbpm-results input[type=radio] {
	float: left;
	height: 26px;
	margin-bottom: 0;
}

body.bbpress #site-main .bbpm .bbpm-new .recipient-avatar h3 {
	font-size: 1.25rem;
	font-weight: 700;
}

body.bbpress #site-main .bbpm .bbpm-new input[type=submit], body.bbpress #site-main .bbpm .bbpm-foot input[type=submit] {
	background-color: #0a7efa;
	border: 1px solid transparent;
	border-radius: 0.25rem;
	color: #fff;
	display: inline-block;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 0;
	padding: 0.475rem 1.25rem;
	text-align: center;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	vertical-align: middle;
}

body.bbpress #site-main .bbpm-messages .bbpm-heading {
	font-size: 1.25rem;
	font-weight: 700;
}

body.bbpress #site-main .bbpm-messages .bbpm-actions-cont .bbpm-actions { width: 300px; }

body.bbpress #site-main .bbpm-messages .bbpm-actions-cont .bbpm-actions select {
	float: left;
	margin-bottom: 0;
	width: 85%;
}

body.bbpress #site-main .bbpm .bbpm-actions input[type=submit] {
	background-color: #0a7efa;
	border: 1px solid transparent;
	border-radius: 0.25rem;
	color: #fff;
	display: inline-block;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 0;
	padding: 0.475rem 1.25rem;
	text-align: center;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
	vertical-align: middle;
}

body.bbpress #site-main #bbpress-forums .bbp-header .bbp-reply-content span {
	color: #676767;
	font-size: 0.875rem;
	font-weight: 500;
}

body.bbpress #site-main #bbpress-forums .bbp-header .bbp-reply-content span a { font-weight: 500; }
body.bbpress #site-main #bbpress-forums .bbp-meta .bbp-reply-post-date { font-size: 0.875rem; }

body.bbpress #site-main #bbpress-forums .bbp-meta .bbp-admin-links, body.bbpress #site-main #bbpress-forums .bbp-meta .bbp-reply-permalink {
	font-size: 0.75rem;
	padding-top: 0.25rem;
}

body.bbpress #site-main #bbpress-forums .bbp-reply-author .avatar, body.bbpress #site-main #bbpress-forums #bbp-user-avatar .avatar {
	border-radius: 100%;
	margin: 0 0 1rem 0;
}

body.bbpress #forums #bbpress-forums div.bbp-reply-content p:last-child { margin-bottom: 0; }

body.bbpress #site-main #bbpress-forums .bbp-template-notice {
	background-color: rgba(250, 183, 59, 0.25);
	border: none;
	color: #856404;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: initial;
	padding: 0.125rem 1rem;
}

body.bbpress #site-main #bbpress-forums .bbp-template-notice.info {
	background-color: rgba(10, 126, 250, 0.25);
	border: none;
	color: #0a7efa;
}

body.bbpress #site-main #bbpress-forums .bbp-template-notice p {
	margin: 0;
	padding: 0;
}

body.bbpress #site-main #bbpress-forums .bbp-template-notice.info a {
	color: #0a7efa;
	font-weight: 700;
}

body.bbpress #site-main #bbpress-forums input#bbp_topic_tags { max-width: 300px; }

body.bbpress #site-main #bbpress-forums textarea {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
	font-size: 0.9375rem !important;
}

body.bbpress #site-main #bbpress-forums form .form-control:focus { border-color: #0a7efa; }

body.bbpress #site-main #bbpress-forums form .bbp-attachments-form a {
	font-size: 0.75rem;
	margin-top: 0.625rem;
}

body.bbpress #site-main #bbpress-forums form .bbp-attachments-form input {
	color: #7c7c7d;
	font-size: 0.875rem;
}

body.bbpress #site-main #bbpress-forums form .bbp-submit-wrapper {
	float: none;
	margin-bottom: 0.625rem;
}

body.bbpress #site-main #bbpress-forums fieldset.bbp-form {
	border: 1px solid #eaeaea;
	margin: 0;
}

body.bbpress #site-main #bbpress-forums fieldset.bbp-form label {
	color: #7c7c7d;
	font-size: 0.875rem;
	margin-bottom: 0.5rem;
	margin-top: 0.5rem;
}

body.bbpress #site-main #bbpress-forums fieldset.bbp-form input[type=text] {
	min-height: initial;
	height: calc(1.5em + 0.75rem + 2px);
	padding: 0.375rem 0.75rem;
}

body.bbpress #site-main #bbpress-forums fieldset.bbp-form select {
	min-height: initial;
	height: calc(1.5em + 0.75rem + 2px);
	padding: 0.375rem 1.75rem 0.375rem 0.75rem;
}

body.bbpress #site-main #bbpress-forums fieldset.bbp-form input, body.bbpress #site-main #bbpress-forums fieldset.bbp-form p, body.bbpress #site-main #bbpress-forums fieldset.bbp-form select, body.bbpress #site-main #bbpress-forums fieldset.bbp-form textarea { margin: 0; }
body.bbpress.single-forum #site-main #bbpress-forums .bbp-form p { margin-bottom: 1rem; }
body.bbpress.single-forum #site-main #bbpress-forums fieldset.bbp-form label { margin-top: 0; }
body.bbpress.single-forum #site-main #bbpress-forums #bbp_stick_topic_select, body.bbpress.single-forum #site-main #bbpress-forums #bbp_topic_status_select { max-width: 300px; }

body.bbpress.single-forum #site-main #bbpress-forums #bbppu-mark-as-read {
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

body.bbpress.single-forum #site-main #bbpress-forums #bbppu-mark-as-read .bbppu-loading { display: none; }

body.bbpress.single-forum #site-main #bbpress-forums #subscription-toggle {
	float: right;
	font-size: 0.875rem;
	margin: 0 0 1rem 0;
}

body.bbpress.single-forum #site-main #bbpress-forums .bbp-footer p { margin: 0; }
body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile fieldset label[for] { width: auto; }
body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile fieldset select { max-width: 300px; }
body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile fieldset.bbp-form label { margin-top: 0; }
body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile fieldset input[type=checkbox], body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile fieldset input[type=radio] { width: auto; }
body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile fieldset #bbp-digest-check-row label { float: none; }

body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile fieldset span.description {
	background-color: rgba(10, 126, 250, 0.25);
	border: none;
	border-radius: 3px;
	color: #0a7efa;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	margin: 0;
	padding-left: 1rem;
	padding-right: 1rem;
	width: auto;
}

body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile fieldset #bbp-digest-forum-list label {
	float: none;
	margin-bottom: 0;
	text-align: left;
}

body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile fieldset #bbp-digest-pool-selection { margin-bottom: 0; }
body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile #bbp-digest-time-row select { max-width: 100px; }

body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile fieldset.submit {
	margin-top: 1.875rem;
	padding: 0;
}

body.bbpress.bbp-user-edit #site-main #bbpress-forums #bbp-your-profile fieldset.submit button.submit { float: none; }

body.bbpress.single-topic #bbpress-forums #subscription-toggle {
	font-size: 0.875rem;
	margin-bottom: 1rem;
}

/*------------------------------------------------------------------------------
 * Mobile
 -----------------------------------------------------------------------------*/
/* Phones & small screens */
@media only screen and (min-width: 320px) and (max-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
	body.bbpress .restricted .inner.mb-3 { margin-bottom: 1rem !important; }
	body.bbpress .restricted h2.headline { font-size: 2rem; }

	body.bbpress .restricted.px-3 {
		padding-bottom: 3rem !important;
		padding-left: 15px !important;
		padding-right: 15px !important;
		padding-top: 3rem !important;
	}

	body.bbpress .restricted-wrapper .rounded-bottom.py-3 { padding-bottom: 0 !important; }

	body.bbpress .restricted-wrapper .btn.mr-2 {
		margin-bottom: 1rem !important;
		margin-right: 0 !important;
	}
}
