/* The forum (ForumWP). Loaded on forum pages only, after ForumWP's own styles; see inc/forum.php.
   A light touch on purpose: the forum keeps ForumWP's own layout and look, and this file only
   brings in the site's accent colours. ForumWP wraps everything it draws, popups included, in
   .fmwp. */

/* Lists, topics and profiles use the whole page column, not the 760px text measure. */
.esee-forum .entry-content > * { max-width: none; }

/* Links */
.esee-forum .fmwp a { color: var(--accent-ink); }
.esee-forum .fmwp a:hover { color: var(--text); }

/* Buttons (New topic, Reply, Search, Log In, Sign Up, Submit). ForumWP leaves these to the theme,
   and the theme has no general button style, so without this they are the browser's grey ones. */
.esee-forum .fmwp input[type="button"],
.esee-forum .fmwp input[type="submit"],
.esee-forum .fmwp .fmwp-button.fmwp-primary-button {
	-webkit-appearance: none; appearance: none; height: auto; min-height: 40px; padding: 0 20px;
	border: 1px solid var(--accent-dark); border-radius: var(--radius); background: var(--accent-dark);
	color: #fff; font: 700 14px/1 var(--font-body); cursor: pointer; transition: background var(--ease);
}
.esee-forum .fmwp input[type="button"]:hover,
.esee-forum .fmwp input[type="submit"]:hover,
.esee-forum .fmwp .fmwp-button.fmwp-primary-button:hover { background: var(--accent-ink); border-color: var(--accent-ink); }

/* Fields: the site's border and the accent colour on focus. 16px keeps phones from zooming in. */
.esee-forum .fmwp input[type="text"],
.esee-forum .fmwp input[type="email"],
.esee-forum .fmwp input[type="password"],
.esee-forum .fmwp input[type="url"],
.esee-forum .fmwp select,
.esee-forum .fmwp textarea {
	min-height: 40px; padding: 8px 12px; border: 1px solid #b9b5aa; border-radius: var(--radius);
	background: #fff; color: var(--text); font: inherit; font-size: 16px;
}
.esee-forum .fmwp input:focus-visible,
.esee-forum .fmwp select:focus-visible,
.esee-forum .fmwp textarea:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 1px; }

/* Sign in and sign up: a form at a comfortable width instead of the full column. */
.esee-forum #fmwp-login-form-wrapper,
.esee-forum .fmwp-form { max-width: 460px; }
.esee-forum #fmwp-loginform label { display: block; }
.esee-forum #fmwp-loginform .input,
.esee-forum .fmwp-form .fmwp-forms-field { width: 100%; }
.esee-forum #fmwp-loginform .login-remember label { display: inline; }

/* ForumWP's blue, where it shows: the tag suggestions list and nested replies. */
.esee-forum .fmwp-ac-results { border-color: var(--accent-dark); }
.esee-forum .fmwp-ac-results .fmwp-ac-match,
.esee-forum .fmwp-ac-results .fmwp-ac-over { background-color: var(--accent-dark); }
.esee-forum .fmwp-topic-main-wrapper .fmwp-topic-wrapper .fmwp-reply-row.fmwp-child-reply,
.esee-forum .fmwp-profile-wrapper .fmwp-reply-row.fmwp-child-reply,
.esee-forum .fmwp-user-replies .fmwp-reply-row.fmwp-child-reply { background-color: #f6f4ef; }

/* Phones: room between the New topic button, the sort menu and the search icon. */
.esee-forum .fmwp-forum-nav-bar-line-mobile, .esee-forum .fmwp-topics-list-head-line-mobile { gap: 10px; }
