/* 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%;
}

/* Feature: User Stats */
#bbpress-forums .gdbbx-user-stats .gdbbx-value {
  font-weight: bold;
}
#bbpress-forums .gdbbx-user-stats .gdbbx-label.gdbbx-status-offline {
  color: #cc0000;
}
#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 #dddddd;
}
#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;
}
#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: #eeeeee;
  color: #111111;
  line-height: 1.5em;
  margin: 0 0 5px;
  padding: 5px 10px;
}
#bbpress-forums .gdbbx-forum-index-block .gdbbx-forums-inner-block p {
  color: #333333;
  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 #222222;
}
#bbpress-forums table.gdbbx-bbcode-nfo td.gdbbx-bbcode-el-title {
  background: #222222;
  color: #ffffff;
  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: #000000;
  background: #ffffff;
  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 #cccccc;
}
#bbpress-forums .gdbbx-bbcode-hide.gdbbx-hide-hidden .gdbbx-hide-title {
  color: #cc0000;
}
#bbpress-forums .gdbbx-bbcode-hide .gdbbx-hide-title {
  padding: 4px 8px;
  font-weight: bold;
  background-color: #cccccc;
}
#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 #dddddd;
  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 / Replies */
#bbpress-forums div.topic.gdbbx-private-topic,
#bbpress-forums div.reply.gdbbx-private-reply {
  background-color: #fff8f8;
}
#bbpress-forums div.topic.gdbbx-private-topic-locked,
#bbpress-forums div.reply.gdbbx-private-reply-locked {
  background-color: #ffeeee;
}
#bbpress-forums div.topic.gdbbx-private-topic-locked .bbp-topic-content,
#bbpress-forums div.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 #dddddd;
}
#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 #dddddd;
  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 {
  background: #111;
  border-radius: 2px;
  padding: 0 4px 1px;
  margin: 0 4px 0 0;
  font-size: 90%;
  color: #fff;
}
#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: #bbbbbb;
  font-weight: 400;
  font-size: 10px;
  text-transform: uppercase;
  text-decoration: none;
}

/* Extra: Quantum Theme */
body.gd-quantum-theme #bbpress-forums .gdbbx-signature-form textarea {
  margin: 0;
}
body.gd-quantum-theme .gdbbx-bbcodes-toolbar {
  border-radius: 0;
  border-width: 2px;
}
