/* Accessibility */
.gdbbx-accessibility-show-for-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Few Fixes */
.gdbbx-editor-fix {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 0 0 3px 3px !important;
  margin-top: 0 !important;
  width: 100%;
  resize: vertical;
}

#bbpress-forums .form-allowed-tags code {
  width: 100%;
}
#bbpress-forums #bbp-search-results .bbp-topic-title h3 {
  display: inline;
}
#bbpress-forums .bbp-reply-content h4.bbp-reply-title {
  border-bottom: 1px solid #DDD;
  margin: 0 0 1em;
  padding: 0 0 0.5em;
  width: 80%;
}
#bbpress-forums .gdbbx-forum-actions-bar {
  clear: both;
  text-align: right;
  margin: 15px 0;
  padding: 10px;
  background: #EAEAEA;
}
#bbpress-forums .gdbbx-forum-actions-bar a {
  font-size: 16px;
}
#bbpress-forums .gdbbx-row-actions .gdbbx-single-action {
  float: right;
}
#bbpress-forums .gdbbx-row-actions .gdbbx-single-action a {
  text-decoration: none;
  padding: 0 3px 1px;
  color: #FAA;
  border: 1px solid #FAA;
  background-color: #FEE;
  font-weight: 700;
  font-size: 12px;
}
#bbpress-forums .gdbbx-user-muted-users .bbp-user-section .gdbbx-muted-user {
  display: inline-flex;
  border: 1px solid #EEE;
  padding: 10px;
  gap: 20px;
  flex-wrap: nowrap;
  margin: 0 10px 10px 0;
}
#bbpress-forums .gdbbx-user-muted-users .bbp-user-section .gdbbx-muted-user a {
  text-decoration: none;
  font-size: 16px;
}
#bbpress-forums .gdbbx-user-muted-users .bbp-user-section .gdbbx-muted-user a img {
  float: left;
  margin: 0 5px 0 0;
}
#bbpress-forums .gdbbx-user-muted-users .bbp-user-section .gdbbx-muted-user span {
  text-decoration: none;
  padding: 0 3px 1px;
  color: #FAA;
  border: 1px solid #FAA;
  background-color: #FEE;
  font-weight: 700;
  font-size: 12px;
}

/* Feature: User Stats */
.gdbbx-bbcode-profile_items .gdbbx-value,
#bbpress-forums.gdbbx-user-stats .gdbbx-value {
  font-weight: bold;
}
.gdbbx-bbcode-profile_items .gdbbx-label.gdbbx-status-offline,
#bbpress-forums.gdbbx-user-stats .gdbbx-label.gdbbx-status-offline {
  color: #C00;
}
.gdbbx-bbcode-profile_items .gdbbx-label.gdbbx-status-online,
#bbpress-forums.gdbbx-user-stats .gdbbx-label.gdbbx-status-online {
  color: #298500;
  font-weight: bold;
}

/* Feature: Quote */
#bbpress-forums .gdbbx-bbcode-quote {
  padding: 0 0 0.5em 1em;
}
#bbpress-forums .gdbbx-bbcode-quote p:last-child {
  margin-bottom: 0 !important;
}
#bbpress-forums .gdbbx-bbcode-quote .gdbbx-quote-title {
  font-weight: bold;
  padding-bottom: 2px;
  margin-bottom: 5px;
  border-bottom: 1px solid #DDD;
}
#bbpress-forums .gdbbx-bbcode-quote.gdbbx-quote-is-private p {
  font-weight: bold;
  color: #800;
}

/* Feature: Canned Replies */
#bbpress-forums .gdbbx-canned-replies {
  margin: 5px 0 15px;
}
#bbpress-forums .gdbbx-canned-replies .gdbbx-canned-replies-show {
  font-weight: bold;
}
#bbpress-forums .gdbbx-canned-replies .gdbbx-canned-replies-hide {
  font-weight: bold;
  display: none;
}
#bbpress-forums .gdbbx-canned-replies .gdbbx-canned-replies-list,
#bbpress-forums .gdbbx-canned-replies .gdbbx-canned-reply-content {
  display: none;
}
#bbpress-forums .gdbbx-canned-replies .gdbbx-canned-category {
  margin: 0;
  font-size: 18px;
}
#bbpress-forums .gdbbx-canned-replies .gdbbx-canned-replies-list legend .gdbbx-canned-replies-hide {
  float: right;
}
#bbpress-forums .gdbbx-canned-replies .gdbbx-canned-replies-list ul {
  margin: 8px 0;
  padding: 0 0 0 8px;
}
#bbpress-forums .gdbbx-canned-replies .gdbbx-canned-replies-list ul:last-of-type {
  margin: 8px 0 0;
}
#bbpress-forums .gdbbx-canned-replies .gdbbx-canned-replies-list ul .gdbbx-canned-reply {
  list-style: disc inside;
}

/* Feature: Front Forum */
#bbpress-forums .gdbbx-forum-index-block {
  margin: 15px 0 0;
  clear: both;
}
#bbpress-forums .gdbbx-forum-index-block .gdbbx-forums-inner-block {
  margin: 0 0 15px;
}
#bbpress-forums .gdbbx-forum-index-block .gdbbx-forums-inner-block h4 {
  background-color: #EEE;
  color: #111;
  line-height: 1.5em;
  margin: 0 0 5px;
  padding: 5px 10px;
}
#bbpress-forums .gdbbx-forum-index-block .gdbbx-forums-inner-block p {
  color: #333;
  margin: 0 0 10px;
  line-height: 16px;
}
#bbpress-forums .gdbbx-forum-index-block .gdbbx-forums-inner-block label {
  display: inline;
  line-height: inherit;
}
#bbpress-forums .gdbbx-forum-index-block .gdbbx-front-user a {
  color: inherit !important;
  text-decoration: none;
  border: 0;
  box-shadow: none;
}
#bbpress-forums .gdbbx-forum-index-block .gdbbx-front-user.gdbbx-user-color-bbp_keymaster {
  color: #D00;
}
#bbpress-forums .gdbbx-forum-index-block .gdbbx-front-user.gdbbx-user-color-bbp_moderator {
  color: #06C;
}
#bbpress-forums .gdbbx-forum-index-block .gdbbx-front-user.gdbbx-user-color-bbp_participant {
  color: #333;
}
#bbpress-forums .gdbbx-forum-index-block .gdbbx-front-user.gdbbx-user-color-bbp_spectator {
  color: #0D0;
}
#bbpress-forums .gdbbx-forum-index-block .gdbbx-front-user.gdbbx-user-color-bbp_blocked {
  color: #AAA;
}
#bbpress-forums .gdbbx-forum-index-block .bbp-author-avatar img {
  margin: 0 3px -2px 0;
  float: none;
}

/* Feature: BBCodes */
#bbpress-forums .bbp-topic-content .gdbbx-bbcode-heading,
#bbpress-forums .bbp-reply-content .gdbbx-bbcode-heading {
  margin: 0.5em 0;
}
#bbpress-forums .bbp-topic-content .gdbbx-bbcode-heading:first-of-type,
#bbpress-forums .bbp-reply-content .gdbbx-bbcode-heading:first-of-type {
  margin-top: 0;
}
#bbpress-forums .syntaxhighlighter .gdbbx-bbcode-scode {
  padding: 1em 0;
  border: 1px solid #DDD;
}
#bbpress-forums .gdbbx-bbcode-spoiler {
  padding: 0 5px;
}
#bbpress-forums .gdbbx-bbcode-hr {
  clear: none;
  margin: 1em 0;
}
#bbpress-forums table.gdbbx-bbcode-nfo {
  border: 1px solid #222;
}
#bbpress-forums table.gdbbx-bbcode-nfo td.gdbbx-bbcode-el-title {
  background: #222;
  color: #FFF;
  border: none;
}
#bbpress-forums table.gdbbx-bbcode-nfo td.gdbbx-bbcode-el-content {
  padding: 0;
}
#bbpress-forums table.gdbbx-bbcode-nfo td.gdbbx-bbcode-el-content pre {
  color: #000;
  background: #FFF;
  font-size: 10px;
  line-height: 10px;
  font-family: monospace;
  border: none;
  margin: 0;
}
#bbpress-forums .gdbbx-bbcode-hide {
  margin: 6px 0 12px;
  border: 1px solid #CCC;
}
#bbpress-forums .gdbbx-bbcode-hide.gdbbx-hide-hidden .gdbbx-hide-title {
  color: #C00;
}
#bbpress-forums .gdbbx-bbcode-hide .gdbbx-hide-title {
  padding: 4px 8px;
  font-weight: bold;
  background-color: #CCC;
}
#bbpress-forums .gdbbx-bbcode-hide .gdbbx-hide-content {
  padding: 4px 8px;
  background-color: #FDFDFD;
}
#bbpress-forums .gdbbx-bbcode-attachment > br {
  display: none;
}

/* Feature: Signature */
#bbpress-forums .gdbbx-signature {
  border-top: 1px solid #DDD;
  margin-top: 15px;
  padding: 5px 0;
}
#bbpress-forums .gdbbx-signature p {
  margin: 0 0 5px;
}
#bbpress-forums .gdbbx-signature p:last-child {
  margin: 0;
}
#bbpress-forums #bbp-your-profile fieldset .gdbbx-editor-textarea fieldset.gdbbx-signature {
  display: inline;
  width: 60%;
}
#bbpress-forums #bbp-your-profile fieldset .gdbbx-editor-textarea fieldset.gdbbx-signature .description,
#bbpress-forums #bbp-your-profile fieldset .gdbbx-editor-textarea fieldset.gdbbx-signature textarea {
  width: 100%;
  margin: 10px 0 20px !important;
  box-sizing: border-box;
}

/* Feature: Private Topics and Replies */
#bbpress-forums div.topic.gdbbx-private-topic, #bbpress-forums div.reply.gdbbx-private-reply,
#bbpress-forums li.topic.gdbbx-private-topic,
#bbpress-forums li.reply.gdbbx-private-reply {
  background-color: #FFF8F8;
}
#bbpress-forums div.topic.gdbbx-private-topic-locked, #bbpress-forums div.reply.gdbbx-private-reply-locked,
#bbpress-forums li.topic.gdbbx-private-topic-locked,
#bbpress-forums li.reply.gdbbx-private-reply-locked {
  background-color: #FEE;
}
#bbpress-forums div.topic.gdbbx-private-topic-locked .bbp-topic-content, #bbpress-forums div.reply.gdbbx-private-reply-locked .bbp-reply-content,
#bbpress-forums li.topic.gdbbx-private-topic-locked .bbp-topic-content,
#bbpress-forums li.reply.gdbbx-private-reply-locked .bbp-reply-content {
  font-weight: bold;
}
#bbpress-forums .gdbbx-private-reply-hidden {
  display: none;
}

/* Feature: Thumbnail */
#bbpress-forums .gdbbx-topic-thumbnail {
  float: left;
  margin-right: 10px;
}
#bbpress-forums .gdbbx-topic-thumbnail a {
  display: block;
}
#bbpress-forums .gdbbx-topic-thumbnail img {
  height: 48px;
  width: auto;
}

/* Feature: Report */
#bbpress-forums .gdbbx-report-wrapper {
  box-sizing: border-box;
  position: relative;
  margin: 1em 0 0;
  padding: 1em;
  border: 1px solid #DDD;
}
#bbpress-forums .gdbbx-report-wrapper * {
  box-sizing: border-box;
}
#bbpress-forums .gdbbx-report-wrapper input {
  margin: 0;
  width: 100%;
}
#bbpress-forums .gdbbx-report-wrapper button {
  margin: 0;
}
#bbpress-forums .gdbbx-report-wrapper p {
  margin: 0;
}
#bbpress-forums .gdbbx-report-wrapper p .description {
  margin: 0.25em 0 0.5em;
  font-size: 90%;
  font-style: italic;
}

/* Feature: Thanks */
#bbpress-forums .gdbbx-thanks-wrapper {
  border-top: 1px solid #DDD;
  margin-top: 10px;
  padding: 10px 0;
  overflow: auto;
}
#bbpress-forums .gdbbx-thanks-wrapper:empty {
  display: none;
}
#bbpress-forums .gdbbx-thanks-wrapper h6 {
  margin: 0 0 10px !important;
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.4em;
}
#bbpress-forums .gdbbx-thanks-wrapper .gdbbx-thanks-list {
  line-height: 16px;
}
#bbpress-forums .gdbbx-thanks-wrapper .gdbbx-thanks-list a {
  line-height: 16px;
  vertical-align: top;
}
#bbpress-forums .gdbbx-thanks-wrapper .gdbbx-thanks-list .avatar {
  width: 16px;
  vertical-align: top;
  display: inline-block;
  float: none !important;
  margin: 0 2px 0 0 !important;
}

/* Feature: Badges */
#bbpress-forums .gdbbx-badge-new-reply {
  float: left;
}
#bbpress-forums .gdbbx-badge-new-reply,
#bbpress-forums .gdbbx-badge-unread-forum,
#bbpress-forums .gdbbx-badge-unread-topic,
#bbpress-forums .gdbbx-badge-new-reply-topic,
#bbpress-forums .gdbbx-badge-new-posts,
#bbpress-forums .gdbbx-badge-new-topic {
  vertical-align: text-bottom;
  background: #111;
  color: #FFF;
  border-radius: 2px;
  padding: 0 4px 2px;
  margin: 0 4px 0 0;
  font-size: 90%;
  cursor: help;
}
#bbpress-forums .gdbbx-badge-unread-forum,
#bbpress-forums .gdbbx-badge-unread-topic {
  background: #009;
}
#bbpress-forums .gdbbx-badge-new-reply-topic {
  background: #090;
}

/* Feature: Meta Footer */
#bbpress-forums .gdbbx-footer-meta {
  background-color: #F4F4F4;
  padding: 8px;
  margin: 12px 0 0;
  overflow: auto;
}
#bbpress-forums .gdbbx-footer-meta .gdbbx-admin-links {
  float: right;
}
#bbpress-forums .gdbbx-footer-meta .gdbbx-admin-links a,
#bbpress-forums .gdbbx-footer-meta .gdbbx-admin-links span {
  color: #BBB;
  font-weight: 400;
  font-size: 10px;
  text-transform: uppercase;
  text-decoration: none;
}

/* Feature: User Settings */
.gdbbx-user-settings span.description {
  display: block;
  font-weight: normal;
  font-style: italic;
}

/* Feature: Not Found */
#bbpress-forums.bbpress-is-private-forum .bbp-breadcrumb {
  float: none;
}

/* Extra: Quantum Theme */
body.gd-quantum-theme #bbpress-forums .gdbbx-signature-form textarea {
  margin: 0;
}
body.gd-quantum-theme #bbpress-forums i.gdbbx-icon-mark {
  vertical-align: bottom;
}
body.gd-quantum-theme .gdbbx-bbcodes-toolbar {
  border-radius: 0;
  border-width: 2px;
}
body.gd-quantum-theme .gdbbx-bbcodes-toolbar .gdbbx-buttonbar-button button.gdbbx-button i {
  vertical-align: middle;
}
body.gd-quantum-theme .bbp-form.gdbbx-fieldset-auto-close .description {
  display: block;
}
