/* bbPress in den Farben von prune-belly.de. Ergänzt das bbpress.css des Plugins, ersetzt es nicht. */

#bbpress-forums {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.55;
	color: var(--wp--preset--color--text-dark);
}
#bbpress-forums a { color: var(--wp--preset--color--primary); }
#bbpress-forums a:hover { color: var(--wp--preset--color--petrol); }

/* Brotkrumen, Suche, Abonnieren */
#bbpress-forums div.bbp-breadcrumb,
#bbpress-forums .bbp-pagination { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
#bbpress-forums div.bbp-search-form { margin-bottom: 1rem; }

/* Listen von Foren, Themen und Antworten */
#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-lead-topic {
	border: 1px solid var(--wp--preset--color--wave-1);
	border-radius: 12px;
	overflow: hidden;
	font-size: inherit;
}
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
	background: var(--wp--preset--color--primary);
	border: 0;
	color: #fff;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--small);
}
#bbpress-forums li.bbp-header *,
#bbpress-forums li.bbp-header a { color: #fff; }
#bbpress-forums li.bbp-footer { background: var(--wp--preset--color--light); color: var(--wp--preset--color--muted); }
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic,
#bbpress-forums div.reply,
#bbpress-forums div.topic { border-top: 1px solid var(--wp--preset--color--wave-1); }
#bbpress-forums div.odd,
#bbpress-forums ul.odd { background: #fff; }
#bbpress-forums div.even,
#bbpress-forums ul.even { background: #f5f9fc; }
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink { font-weight: 600; font-size: 1.05em; text-decoration: none; }
#bbpress-forums .bbp-forum-content,
#bbpress-forums .bbp-topic-meta,
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness { color: var(--wp--preset--color--muted); }
#bbpress-forums .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta { font-size: var(--wp--preset--font-size--small); }
#bbpress-forums div.bbp-forum-header,
#bbpress-forums div.bbp-topic-header,
#bbpress-forums div.bbp-reply-header {
	background: var(--wp--preset--color--light);
	border-top: 1px solid var(--wp--preset--color--wave-1);
	color: var(--wp--preset--color--muted);
}
#bbpress-forums div.bbp-reply-content,
#bbpress-forums div.bbp-topic-content { font-size: var(--wp--preset--font-size--medium); }
#bbpress-forums li.bbp-body div.type-topic.sticky,
#bbpress-forums .bbp-topics-front ul.super-sticky,
#bbpress-forums .bbp-topics ul.sticky { background: #fdf3ee; }

/* Hinweise */
#bbpress-forums div.bbp-template-notice {
	background: var(--wp--preset--color--light);
	border: 0;
	border-left: 4px solid var(--wp--preset--color--petrol);
	border-radius: 0 8px 8px 0;
	color: var(--wp--preset--color--text-dark);
}
#bbpress-forums div.bbp-template-notice.error,
#bbpress-forums div.bbp-template-notice.warning {
	background: #fdf3ee;
	border-left-color: var(--wp--preset--color--accent);
}

/* Formulare */
#bbpress-forums fieldset.bbp-form,
#bbpress-forums fieldset.bbp-form *,
#bbpress-forums .wp-editor-container { box-sizing: border-box; max-width: 100%; }
#bbpress-forums fieldset { min-width: 0; }
#bbpress-forums textarea { width: 100%; min-height: 10rem; }
#bbpress-forums fieldset.bbp-form {
	border: 1px solid var(--wp--preset--color--wave-1);
	border-radius: 12px;
	padding: 1rem 1.25rem;
}
#bbpress-forums fieldset.bbp-form legend { font-weight: 700; color: var(--wp--preset--color--primary); padding: 0 .3rem; }
#bbpress-forums input[type="text"],
#bbpress-forums input[type="email"],
#bbpress-forums input[type="password"],
#bbpress-forums select,
#bbpress-forums textarea,
.bbp-login-form input[type="text"],
.bbp-login-form input[type="password"] {
	font: inherit;
	max-width: 100%;
	padding: .45rem .6rem;
	border: 1px solid var(--wp--preset--color--wave-2);
	border-radius: 6px;
	background: #fff;
	color: var(--wp--preset--color--text-dark);
}
#bbpress-forums input:focus,
#bbpress-forums select:focus,
#bbpress-forums textarea:focus {
	outline: 2px solid var(--wp--preset--color--petrol);
	outline-offset: 1px;
}
#bbpress-forums .button,
#bbpress-forums button[type="submit"],
.bbp-login-form .button,
.bbp-login-form button[type="submit"] {
	font: inherit;
	font-weight: 600;
	padding: .55rem 1.2rem;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	cursor: pointer;
}
#bbpress-forums .button:hover,
#bbpress-forums button[type="submit"]:hover,
.bbp-login-form button[type="submit"]:hover { background: var(--wp--preset--color--footer); }

/* Notfallkasten und Meldeknopf aus pbs-core */
#bbpress-forums .pbs-notfall,
.pbs-notfall {
	background: var(--wp--preset--color--light);
	border-left: 4px solid var(--wp--preset--color--primary);
	border-radius: 0 8px 8px 0;
	color: var(--wp--preset--color--text-dark);
	font-size: var(--wp--preset--font-size--small);
}
#bbpress-forums .pbs-report button,
.pbs-report button {
	padding: 0;
	border-radius: 0;
	background: none;
	color: var(--wp--preset--color--muted);
	font-size: .85em;
	font-weight: 400;
	text-decoration: underline;
}
#bbpress-forums .pbs-report button:hover { background: none; color: var(--wp--preset--color--primary); }

@media (max-width: 600px) {
	#bbpress-forums fieldset.bbp-form { padding: .75rem; }
	#bbpress-forums div.bbp-reply-author { float: none; width: auto; text-align: left; }
	#bbpress-forums div.bbp-reply-content { margin-left: 0; padding: .5rem .75rem; }
}
