/* The forum: the list of sections, a section's topics, a topic's posts. */

/*-------------------------------
		Breadcrumb
-------------------------------*/

.forum-navigation {text-align: center; margin: 5px auto 20px; padding: 10px 20px; font-size: 15px;}

.forum-navigation .here {color: #A49270;}

@media only screen and (max-width: 620px) {
	.forum-navigation {margin: 5px auto 20px; padding: 5px;}
}

/*-------------------------------
		Section and topic tables
-------------------------------*/

.forum-group {background: var(--panel); border: solid var(--border); border-width: 1px 0; margin-bottom: 30px; padding: 0 5px;}

.forum-group h2 {color: #A49270; text-align: center; font-size: 18px; padding: 5px 0;}

.forum-group header {padding: 10px;}

.forum-group header h2 {text-align: left; margin: 0; padding: 0;}

/* A topic title inside a header keeps the heading's gold, not the link colour */
.forum-group header h2 a {color: inherit; text-decoration: none;}

.forum-group header h2 a:hover {text-decoration: underline;}

table.forum {color: var(--text-light); background-color: var(--panel); border: 1px solid var(--border); border-collapse: collapse; width: 100%;}

.forum th {border: 1px solid var(--border); background-color: #060606; padding: 3px; color: var(--text);}

.forum td {border: 1px solid var(--border); padding: 6px 9px; text-align: center; background-color: #0b0b0b; color: var(--text);}

.forum td:first-child {text-align: left;}

/* the counts column must not wrap its digits */
.forum td:nth-child(2) {min-width: 40px; white-space: nowrap;}

.forum td > span {font-size: 13px;}

.forum td a {color: var(--text-strong); text-decoration: none; font-weight: bolder;}

.forum td a:hover {text-decoration: underline;}

.forum td p {text-indent: 10px; padding: 5px 2px;}

@media only screen and (max-width: 620px) {
	table.forum, .forum td {padding: 5px 7px;}
}

/* The gold trail of fresh topics under a section */
.forum .latest {margin: 15px 0 2px; font-size: 11px;}

.forum .latest a {color: #A49270; font-weight: normal;}

/* Topic titles are gold, section titles stay white */
.forum a.topic {color: #A49270;}

/* The topic row extras */
.forum .author, .forum .author a {color: var(--text); font-weight: normal;}

.forum .topic-pages {font-size: 10px; margin-top: 2px;}

.forum .topic-pages a {color: var(--text); font-weight: normal;}

/* The jump to the last post — the arrow the theme drew with a gif */
.forum .goto, .forum-posts .goto {font-weight: normal; text-decoration: none;}

.forum .last a.member {color: #bbb; font-weight: normal;}

/*-------------------------------
		Posts of a topic
-------------------------------*/

table.forum-posts {color: var(--text-light); background-color: var(--panel); border: 1px solid var(--border); border-collapse: collapse; width: 100%;}

.forum-posts th {border: 1px solid var(--border); background-color: #070707; padding: 7px 10px 5px 20px;
	display: flex; justify-content: space-between; align-items: baseline; color: var(--text); font-weight: normal;}

.forum-posts th a {color: #bbb; text-decoration: none;}

.forum-posts th a:hover {text-decoration: underline;}

.forum-posts th .owner {color: #A49270;}

.forum-posts td {border: 1px solid var(--border); padding: 8px 12px; background-color: #070707; color: var(--text);}

.forum-posts .post {text-align: left; font-size: 12px; min-height: 80px;}

.forum-posts .post p {text-indent: 10px; padding: 5px 2px;}

/*---------------------------------------------------------------
  Продакшн-состояния и починки
---------------------------------------------------------------*/

/* Production-only forum states: empty, closed, forms, collapsed pager. */

.forum-empty {margin: 24px 0; text-align: center; color: #8f8570;}

.forum .pin {margin-right: 4px;}

.forum .closed-mark {margin-left: 5px; color: #7a6765; font-size: 12px;}

.forum .last-empty {color: #555;}

.forum .page-gap {margin: 0 3px; color: #555;}

.forum .pages .neighbour-buttons {margin-bottom: 6px;}

.forum .new-topic,
.forum .new-post {margin: 16px auto; padding: 12px 14px; text-align: left;}

.forum .new-topic h2,
.forum .new-post h2 {margin: 0 0 8px; text-align: left; font-size: 15px; color: var(--link);}

.forum form label {display: block; margin: 8px 0 3px; color: #8f8570; font-size: 13px;}

.forum form input,
.forum form textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 7px 9px;
	border: 1px solid #292929;
	background: #090909;
	color: #ddd;
}

.forum form .button {margin-top: 10px;}

.forum .field-error {margin: 3px 0; color: #ff7979; font-size: 13px;}

.forum-archive-link {margin: 16px 0; text-align: center;}
