/* DocBolus bbPress presentation; no changes to the rest of the theme. */
#bbpress-forums {font-family:'Special Elite',Georgia,serif;color:#2a241e;font-size:1rem;line-height:1.55;}
#bbpress-forums .bbp-forums,#bbpress-forums .bbp-topics,#bbpress-forums .bbp-replies {border:2px solid #29251e;background:#f3e7c9;box-shadow:4px 5px 0 rgba(39,32,24,.22);}
#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer {background:#24241f;color:#f6e4b2;border-color:#24241f;}
#bbpress-forums li.bbp-header a,#bbpress-forums li.bbp-footer a {color:#f6e4b2;}
#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic,#bbpress-forums div.bbp-reply-content {background:transparent;border-top:1px solid #c9b991;}
#bbpress-forums li.bbp-body ul.forum:nth-child(even),#bbpress-forums li.bbp-body ul.topic:nth-child(even) {background:#eadba9;}
#bbpress-forums a {color:#a12d25;text-decoration:underline;text-underline-offset:2px;}
#bbpress-forums .bbp-forum-title,#bbpress-forums .bbp-topic-permalink {font-weight:700;font-size:1.08em;}
#bbpress-forums fieldset.bbp-form {background:#f1e5c7;border:2px solid #342c22;padding:1.2rem;}
#bbpress-forums input[type=text],#bbpress-forums input[type=password],#bbpress-forums input[type=email],#bbpress-forums textarea,#bbpress-forums select {background:#fff9e9;border:1px solid #71624e;color:#29241e;max-width:100%;}
#bbpress-forums button,#bbpress-forums input[type=submit],.dbf-preferences button {background:#a83227;color:#fff;border:2px solid #2d241e;border-radius:0;padding:.65em 1.2em;font-weight:700;box-shadow:3px 3px 0 #30271f;cursor:pointer;}
#bbpress-forums button:hover,#bbpress-forums input[type=submit]:hover,.dbf-preferences button:hover {background:#84271f;}
#bbpress-forums .bbp-template-notice {background:#f8edcb;border-color:#b69c56;color:#342b20;}
.dbf-newsletter {background:#e9dcae;padding:1rem;border-left:4px solid #a83227;}
.dbf-newsletter small {display:block;margin-top:.4rem;}
@media(max-width:650px){#bbpress-forums fieldset.bbp-form {padding:.7rem;}#bbpress-forums .bbp-forums,#bbpress-forums .bbp-topics,#bbpress-forums .bbp-replies {box-shadow:2px 3px 0 rgba(39,32,24,.15);}}

/* Registration: override bbPress fixed-width/floated form labels. */
#bbpress-forums .dbf-newsletter {
  display:block; box-sizing:border-box; width:100%; max-width:100%;
  margin:1rem 0; padding:1rem 1.15rem; clear:both;
  background:#e9dcae; border-left:4px solid #a83227;
  font-size:1rem; line-height:1.6; text-align:left;
}
#bbpress-forums .dbf-newsletter label,
#bbpress-forums fieldset.bbp-form .dbf-newsletter label {
  display:block !important; float:none !important; clear:none !important;
  width:auto !important; max-width:100% !important;
  margin:0 !important; padding:0 !important;
  font-size:1rem; line-height:1.6; font-weight:400; text-align:left;
  overflow-wrap:break-word;
}
#bbpress-forums .dbf-newsletter input[type=checkbox] {
  float:none !important; display:inline-block !important;
  width:auto !important; height:auto; margin:0 .45rem 0 0 !important;
  vertical-align:middle;
}
#bbpress-forums .dbf-newsletter small {
  display:block; margin:.6rem 0 0; font-size:.85rem; line-height:1.5;
}
#bbpress-forums fieldset.bbp-form .bbp-username label,
#bbpress-forums fieldset.bbp-form .bbp-email label {
  max-width:100%;
}

/* v1.0.2: use a dedicated full-width flex row, not bbPress floated labels. */
#bbpress-forums fieldset.bbp-form .dbf-newsletter,
#bbpress-forums .dbf-newsletter {display:block!important;width:100%!important;max-width:none!important;box-sizing:border-box!important;float:none!important;clear:both!important;}
#bbpress-forums fieldset.bbp-form .dbf-newsletter label.dbf-newsletter-choice,
#bbpress-forums .dbf-newsletter label.dbf-newsletter-choice {display:flex!important;align-items:flex-start!important;gap:.65rem!important;float:none!important;clear:both!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important;text-align:left!important;}
#bbpress-forums .dbf-newsletter label.dbf-newsletter-choice input[type=checkbox] {display:block!important;flex:0 0 auto!important;width:18px!important;height:18px!important;min-width:18px!important;margin:.15rem 0 0!important;}
#bbpress-forums .dbf-newsletter .dbf-newsletter-copy {display:block!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important;line-height:1.55!important;overflow-wrap:normal!important;word-break:normal!important;}
#bbpress-forums .dbf-newsletter .dbf-newsletter-copy strong {display:inline!important;}
#bbpress-forums .dbf-newsletter small {display:block!important;clear:both!important;width:100%!important;max-width:none!important;}

/* v1.0.3: keep bbPress label width rules away from the layout container. */
#bbpress-forums .dbf-newsletter .dbf-newsletter-choice { display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;width:100%!important;max-width:none!important; }
#bbpress-forums .dbf-newsletter .dbf-newsletter-copy { display:block!important;width:100%!important;min-width:0!important;max-width:none!important; }
#bbpress-forums .dbf-newsletter .dbf-newsletter-copy label { display:block!important;float:none!important;position:static!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;white-space:normal!important;line-height:1.6!important; }
#bbpress-forums .dbf-newsletter .dbf-newsletter-choice input[type=checkbox] {margin:3px 0 0!important;}


/* v1.0.4: permanent fix for bbPress fixed-width newsletter label. */
.bbp-login-form .dbf-newsletter-copy label {width:auto!important;max-width:none!important;display:block!important;}

.dbf-member-strip {background:#efe1b9;border:2px solid #30281f;padding:1.25rem 1.5rem;margin:0 0 1.5rem;box-shadow:4px 5px 0 rgba(39,32,24,.2);color:#29241e;font-family:'Special Elite',Georgia,serif;}
.dbf-member-strip h2 {margin:0 0 .6rem;font-family:'Permanent Marker',cursive;font-size:clamp(1.35rem,3vw,2rem);color:#30251f;}
.dbf-member-strip p {margin:.25rem 0 1rem;}
.dbf-member-actions {display:flex;flex-wrap:wrap;gap:.75rem;}
.dbf-member-actions a {display:inline-block;background:#aa3025;color:#fff!important;border:2px solid #30251f;box-shadow:3px 3px 0 #30251f;padding:.55rem 1rem;font-weight:bold;text-decoration:none!important;}
.dbf-member-actions a:hover,.dbf-member-actions a:focus {background:#81251e;}

/* v1.0.5: compact member strip; actions alongside the copy on wider screens. */
.dbf-member-strip {display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;padding:1rem 1.5rem;}
.dbf-member-copy {flex:1 1 380px;min-width:0;}
.dbf-member-strip h2 {margin:0 0 .25rem;}
.dbf-member-strip p {margin:.15rem 0 0;}
.dbf-member-actions {flex:0 0 auto;display:flex;align-items:center;gap:.75rem;}
.dbf-member-actions a {white-space:nowrap;}
@media (max-width:700px) {
 .dbf-member-strip {gap:.85rem;padding:1rem;}
 .dbf-member-copy {flex-basis:100%;}
 .dbf-member-actions {flex-wrap:wrap;}
}

/* v1.0.8: tidy bbPress front-end login, scoped to login form only. */
#bbpress-forums .bbp-login-form, .bbp-login-form {
  font-family:'Special Elite',Georgia,serif;
  color:#30251f;
}
#bbpress-forums .bbp-login-form fieldset.bbp-form, .bbp-login-form fieldset.bbp-form {
  background:#efe1b9;
  border:2px solid #30281f;
  box-shadow:4px 5px 0 rgba(39,32,24,.2);
  padding:1.25rem 1.5rem;
  margin:0;
}
#bbpress-forums .bbp-login-form .bbp-username,
#bbpress-forums .bbp-login-form .bbp-password,
.bbp-login-form .bbp-username,.bbp-login-form .bbp-password {margin:0 0 .8rem;}
#bbpress-forums .bbp-login-form .bbp-username label,
#bbpress-forums .bbp-login-form .bbp-password label,
.bbp-login-form .bbp-username label,.bbp-login-form .bbp-password label {
  display:block;float:none;width:auto;max-width:none;margin:0 0 .3rem;
}
#bbpress-forums .bbp-login-form input[type="text"],
#bbpress-forums .bbp-login-form input[type="password"],
.bbp-login-form input[type="text"],.bbp-login-form input[type="password"] {
  display:block;box-sizing:border-box;width:min(100%,380px);max-width:100%;
  min-height:40px;padding:.5rem .65rem;background:#fff9e9;
  border:1px solid #71624e;border-radius:0;color:#30251f;
}
#bbpress-forums .bbp-login-form .bbp-remember-me,
.bbp-login-form .bbp-remember-me {
  display:flex!important;align-items:center;gap:8px;flex-wrap:nowrap;
  margin:.5rem 0 1rem;clear:both;
}
#bbpress-forums .bbp-login-form .bbp-remember-me label,
.bbp-login-form .bbp-remember-me label {
  display:inline!important;float:none!important;width:auto!important;
  max-width:none!important;margin:0!important;padding:0!important;
  white-space:nowrap;
}
#bbpress-forums .bbp-login-form .bbp-remember-me input[type="checkbox"],
.bbp-login-form .bbp-remember-me input[type="checkbox"] {
  display:inline-block!important;float:none!important;flex:0 0 auto;
  width:18px!important;height:18px;margin:0!important;
}
#bbpress-forums .bbp-login-form .bbp-submit-wrapper,
.bbp-login-form .bbp-submit-wrapper {float:none;clear:both;margin:.6rem 0 0;}
#bbpress-forums .bbp-login-form .bbp-submit-wrapper button,
#bbpress-forums .bbp-login-form button[type="submit"],
.bbp-login-form .bbp-submit-wrapper button,.bbp-login-form button[type="submit"] {
  background:#a83227;color:#fff;border:2px solid #30281f;border-radius:0;
  padding:.65rem 1.25rem;font-family:'Special Elite',Georgia,serif;font-weight:700;
  box-shadow:3px 3px 0 #30281f;cursor:pointer;
}
#bbpress-forums .bbp-login-form button[type="submit"]:hover,
.bbp-login-form button[type="submit"]:hover {background:#82271e;}
.bbf-login-help {margin:1rem 0 0;font-size:.95rem;}
.bbf-login-help a {color:#a12d25;text-decoration:underline;text-underline-offset:2px;}
@media(max-width:650px) {
 #bbpress-forums .bbp-login-form fieldset.bbp-form,.bbp-login-form fieldset.bbp-form {padding:1rem;}
}

/* v1.0.12: Email Preferences link on a member's own bbPress profile. */
#bbpress-forums .dbf-profile-preferences, .dbf-profile-preferences {
  display:flex;align-items:center;flex-wrap:wrap;gap:.5rem 1rem;
  margin:1rem 0;padding:.8rem 1rem;background:#efe1b9;
  border:2px solid #30281f;box-shadow:3px 3px 0 #30281f;
}
#bbpress-forums .dbf-profile-preferences a, .dbf-profile-preferences a {
  display:inline-block;padding:.55rem .8rem;background:#a83227;color:#fff;
  border:2px solid #30281f;text-decoration:none;font-weight:bold;
  font-family:'Special Elite',Georgia,serif;
}
#bbpress-forums .dbf-profile-preferences a:hover, .dbf-profile-preferences a:hover {
  background:#82271e;color:#fff;
}
#bbpress-forums .dbf-profile-preferences span, .dbf-profile-preferences span {
  font-family:'Special Elite',Georgia,serif;color:#30251f;
}

/* v1.0.13: confirmation on member profile */
.dbf-preferences-saved { padding: 12px 16px; border: 2px solid #28211c; background: #f4e3ae; margin: 12px 0 18px; font-weight: bold; }

.dbf-am-registration-notice { border-left: 4px solid #a92f25; padding: 12px 16px; background: #f3e5c5; margin: 0 0 18px; }
