/*
 * Kitely's look for the Elegance style. It makes the forums look like the website.
 *
 * This file loads after Elegance's stylesheet.css, and it only overrides its styles. Don't edit
 * stylesheet.css: it's compiled from Elegance's SCSS files, and it already has old edits by hand.
 *
 * The values come from the website's styles, in servers/Temu/client/src/style/values.ts. If the
 * website's look changes, update the variables below.
 *
 * This file is in servers/forums/patches in the Kitely repo. upgrade-phpbb.sh copies it into
 * the forums.
 */

/* Figtree, the website's font. The files come from the package @fontsource-variable/figtree. */
@font-face {
	font-family: 'Figtree Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 300 900;
	src: url(./fonts/figtree-latin-ext-wght-normal.woff2) format('woff2-variations');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Figtree Variable';
	font-style: normal;
	font-display: swap;
	font-weight: 300 900;
	src: url(./fonts/figtree-latin-wght-normal.woff2) format('woff2-variations');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Figtree Variable';
	font-style: italic;
	font-display: swap;
	font-weight: 300 900;
	src: url(./fonts/figtree-latin-ext-wght-italic.woff2) format('woff2-variations');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Figtree Variable';
	font-style: italic;
	font-display: swap;
	font-weight: 300 900;
	src: url(./fonts/figtree-latin-wght-italic.woff2) format('woff2-variations');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--k-font: 'Figtree Variable', 'Segoe UI', system-ui, sans-serif;
	--k-code-font: ui-monospace, 'Cascadia Mono', Consolas, monospace;

	--k-primary: #1e40a0;
	--k-primary-hover: #2c55c9;
	--k-primary-pressed: #16307a;
	--k-accent: #ffc266;

	--k-text: #15171c;
	--k-text-secondary: #3d4350;
	--k-text-muted: #5d6470;

	--k-border: #e4e6eb;
	--k-border-subtle: #eef0f3;
	--k-border-field: #c4c9d2;
	--k-table-head: #f7f8fa;
	--k-stripe: #f4f5f8;
	--k-row-hover: #dfe8fa;

	--k-gray-panel: linear-gradient(180deg, #f2f4f8, #eceff4);
	--k-gray-panel-border: #e1e5eb;
	--k-blue-panel: #ebf2ff;
	--k-blue-panel-border: #dbe7fa;
	--k-track: linear-gradient(90deg, #d9e5f6, #e0e7ef);
	--k-track-border: rgba(30, 64, 160, 0.1);

	--k-radius-xs: 6px;
	--k-radius-sm: 10px;
	--k-radius-md: 16px;
	--k-radius-lg: 22px;

	--k-shadow-panel: 0 1px 2px rgba(20, 30, 70, 0.05), 0 6px 16px -10px rgba(20, 40, 100, 0.16);
	--k-shadow-popup: 0 2px 6px rgba(20, 30, 70, 0.08), 0 24px 48px -16px rgba(20, 40, 100, 0.35);
	--k-shadow-track: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 28px -14px rgba(20, 40, 80, 0.4);
	--k-shadow-selected: 0 1px 2px rgba(20, 40, 80, 0.14), 0 4px 10px -4px rgba(20, 40, 80, 0.28);
	--k-shadow-button: 0 1px 2px rgba(20, 30, 70, 0.12), 0 3px 8px -4px rgba(20, 40, 100, 0.3);
	--k-quiet-hover: #eceff3;
	--k-quiet-pressed: #dce1e8;

	--k-warning-bg: #fff0e3;
	--k-warning-border: #fbd9bf;
	--k-warning-text: #b4430c;
	--k-error: #c62828;
	--k-error-bg: #fdecec;
	--k-error-border: #f5caca;
}


/* ------------------------------------------------------------------------------------------------
 * The page
 */

html, body, html.simple, body.simple {
	background: #fff;
	color: var(--k-text);
}

body {
	font-family: var(--k-font);
	font-size: 15px;
	line-height: 1.5;
}

/*
 * Elegance names its fonts in many rules, so this rule sets the font of every element. The icons
 * keep their own font, FontAwesome. The icons that are pseudo-elements set it themselves.
 */
body, body *:not(.icon):not(.fa) {
	font-family: var(--k-font);
}

body code, body pre, body .codebox code, body kbd, body samp {
	font-family: var(--k-code-font);
}

/*
 * The sizes of the text. Elegance's base size is 11 pixels, and it sets the size of each part in
 * pixels. The website's base size is 15 pixels. So each part gets a larger size here.
 */
p, ul.linklist > li, .navbar.secondary > ul > li > a, dl.details, fieldset, .navigation a,
.panel p, .content p, .content, dl.faq, .content dl.faq, table.table1 td, div.rules {
	font-size: 15px;
}
input, select, .inputbox {
	font-size: 15px;
}
textarea, .message-box textarea {
	font-size: 16px;
}
ul.topiclist dt, dd.posts, dd.topics, dd.views, dd.extra, dd.mark, dd.lastpost.empty {
	font-size: 14px;
}
.action-bar, .pagination, .pagination > ul > li, dd.lastpost, dd.redirect, dd.moderation,
dd.time, dd.info, dd.option, .forum-statistics, p.author, .postprofile dd, .postprofile dt,
.panel-container .postbody p.author, .tabs .tab, .minitabs .tab, .dropdown-extended ul li,
.notification_list ul li p, .error, .signature, table.table1 thead th {
	font-size: 13px;
}
a.forumtitle {
	font-size: 18px;
}
a.topictitle {
	font-size: 16px;
}

/* The text of a post is a little larger than the rest, so that it's easy to read */
.postbody .content, .postbody .content p {
	font-size: 16px;
	line-height: 1.6;
}
blockquote, blockquote cite, .attachbox, .attachbox dt, dl.file dt {
	font-size: 15px;
}
.codebox, .codebox code {
	font-size: 14px;
}

a {
	color: var(--k-primary);
}
a:hover {
	color: var(--k-primary-hover);
}
a.time {
	color: var(--k-text-muted);
}
a.time:hover, a.top:hover, a.top2:hover, a.feed-icon-forum:hover:after,
.pagination li.page-jump a:hover:after, h3 a:hover {
	color: var(--k-primary-hover);
}

h1, p.sitename {
	color: var(--k-text);
}

h2, .content h2, .panel h2 {
	color: var(--k-text);
	font-weight: 700;
	letter-spacing: -0.01em;
}

h2 {
	font-size: 26px;
}

/* The title of a forum or a topic is dark, like the titles of the website's pages */
h2 a, h2 a:visited {
	color: var(--k-text);
}
h2 a:hover {
	color: var(--k-primary);
}

h3, .post h3 {
	color: var(--k-text);
	font-weight: 700;
}

/* The lines between parts, such as above a signature or a list of thanks. They're easy to see. */
hr {
	border-color: transparent;
	border-top-color: #dfe3e9;
}
.signature, .notice {
	border-top: 1px solid #dfe3e9;
	padding-top: 10px;
}
hr {
	margin-bottom: 12px;
}

/*
 * The dot between an author and a date, such as "by Ann · Mon May 23", has some space at its sides.
 * Elegance shows a "»" there as plain text. Our copies of its templates show a dot, in an element
 * of its own.
 */
.author-separator {
	margin: 0 4px;
	font-size: 1.5em;
	font-weight: 700;
	line-height: 0;
	vertical-align: -0.1em;
	color: var(--k-text-muted);
}

/* An icon before a text, such as in Home or Contact Us, has a little space after it */
i.icon + span:not(.sr-only), i.fa + span:not(.sr-only) {
	margin-left: 4px;
}
.small-icon > a, .navbar.secondary > ul > li.small-icon > a {
	padding-left: 22px;
}

/* The page's width and its sides, like the website's */
.page-width {
	max-width: 1440px;
	min-width: 0;
	padding: 0 40px;
}
@media (max-width: 1176px) {
	.page-width {
		margin: 0 auto;
	}
}
@media (max-width: 909.95px) {
	.page-width {
		padding: 0 16px;
	}
}
.page-width .page-width {
	padding: 0;
}

/* The content isn't in a gray box. Its parts are white boxes on a white page. */
#wrap {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 16px 40px 24px;
}
@media (max-width: 909.95px) {
	#wrap {
		padding: 12px 16px 20px;
	}
}


/* ------------------------------------------------------------------------------------------------
 * The header. It's one row, like the website's header: the logo, the main links, and the search
 * box. It stays at the top of the window when the page scrolls, on a white background.
 */

#page-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--k-border-subtle);
}

/* A link to a part of the page, such as a post, scrolls the part to below the header */
html {
	scroll-padding-top: 96px;
}

/*
 * In a short window, such as a phone in landscape, the header scrolls with the page. It would take
 * too much of the window. Also, a menu from the header is often taller than the window. When the
 * header scrolls with the page, the user can scroll to the end of the menu.
 */
@media (max-height: 500px) {
	#page-header {
		position: static;
	}
	html {
		scroll-padding-top: 0;
	}
	#page-header .dropdown .dropdown-contents {
		max-height: none;
	}
}

.headerbar {
	color: var(--k-text);
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0 auto;
}
.headerbar > .inner {
	display: flex;
	align-items: center;
	gap: 20px;
	height: 80px;
}
@media (max-width: 909.95px) {
	.headerbar > .inner {
		gap: 8px;
		height: 64px;
	}
}

.site-description {
	float: none;
	width: auto;
	flex-shrink: 0;
}

/* The tail of the "y" fills the bottom of the logo. So the logo is a little lower, and its letters
 * are level with the links. */
.logo {
	float: none;
	margin: 0;
	padding: 0;
	position: relative;
	top: 4px;
}
/*
 * The letters are the same size as in the website's header. Our image has a margin around the
 * letters, so it's a little taller than the website's logo, which is 48px (40px on a phone).
 */
.logo img {
	height: 52px;
	width: auto;
	/*
	 * The logo has its width before the image loads. Elegance's script measures the header when the
	 * page loads, and it moves the main links that don't fit to the menu.
	 */
	aspect-ratio: 280 / 120;
}
@media (max-width: 909.95px) {
	.logo img {
		height: 44px;
	}
}

/*
 * A search box is a pill, like the website's search fields. Its buttons are inside the pill. This
 * includes the search box in the header, and the boxes that search a forum or a topic.
 */
.search-box fieldset {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid var(--k-border-field);
	border-radius: 999px;
	box-shadow: var(--k-shadow-button);
	overflow: hidden;
}
.search-box fieldset:focus-within {
	border-color: var(--k-primary);
}
.search-header {
	border: 0;
	border-radius: 999px;
	box-shadow: none;
}
.headerbar .search-header {
	position: static;
	flex-shrink: 0;
	margin: 0;
}
.search-header .inputbox, .search-box .inputbox, .search-box .inputbox:hover,
.search-box .inputbox:focus {
	border: 0;
	border-radius: 0;
	height: 34px;
	padding: 0 6px 0 14px;
	font-size: 14px;
	box-shadow: none;
}
.search-box .button-search, .search-box .button-search-end {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 34px;
	padding: 0 10px;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: var(--k-text-secondary);
	box-shadow: none;
}
.search-box .button-search:hover, .search-box .button-search-end:hover {
	background: var(--k-quiet-hover);
	color: var(--k-text);
}
.search-box .button-search-end {
	padding-right: 13px;
}

/*
 * The bar above and below a list of topics or posts, with buttons such as Post Reply. All its
 * controls are 36 pixels high, with some space between them.
 */
.action-bar {
	margin: 18px 0;
}
.action-bar .button, .action-bar .search-box fieldset {
	height: 36px;
	box-sizing: border-box;
}
.action-bar .button:not(.button-search):not(.button-search-end) {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0 16px;
	margin-right: 10px;
	line-height: 1;
}
.action-bar .dropdown-container, .action-bar .search-box {
	margin-right: 10px;
}
.action-bar .dropdown-container .button:not(.button-search):not(.button-search-end),
.action-bar .jumpbox {
	margin-right: 0;
}
.action-bar .search-box .inputbox, .action-bar .search-box .button-search,
.action-bar .search-box .button-search-end {
	height: 34px;
}
/*
 * The search box is wide enough for a few words. The search box in the header has the same size,
 * so the header's box sets the height too.
 */
.action-bar .search-box .inputbox, .headerbar .search-header .inputbox {
	width: 300px;
}
.headerbar .search-header fieldset {
	height: 36px;
	box-sizing: border-box;
}
/*
 * On a smaller screen, the header's search box is narrower, to leave room for the main links. On a
 * tablet or a phone, the header has no search box. Instead, the breadcrumbs have a search button.
 */
@media (max-width: 1100px) {
	.headerbar .search-header .inputbox {
		width: 160px;
	}
}
@media (max-width: 909.95px) {
	.headerbar .search-header {
		display: none;
	}
	.navbar .linklist > li.responsive-search {
		display: block;
	}
}

/*
 * On a phone, the header has room only for the most important links. Elegance's script moves the
 * other links to the menu, but it can't move Members, because Members has a menu of its own. So it's
 * hidden. The page's footer has a Members link too.
 */
@media (max-width: 550px) {
	.navbar .nav-tabs .tab.members {
		display: none;
	}
}

/*
 * Elegance hides FAQ on a phone, with "!important". Then the script doesn't move it to the menu
 * either, so it's gone. This rule shows it, unless the script hid it to move it to the menu.
 */
.navbar .nav-tabs .tab.faq:not([style*="none"]) {
	display: block !important;
}
.navbar .nav-tabs .tab.faq .nav-link {
	display: inline-block !important;
}

/*
 * A link that the script moves to the menu, such as Home or Log Out, looks like the menu's other
 * items. Its icon has the same size, and its text starts at the same place.
 */
.dropdown li.responsive-clone.small-icon {
	padding: 0;
}
.dropdown li.responsive-clone.small-icon > a {
	padding: 7px 12px 7px 38px;
}
.dropdown li.responsive-clone.small-icon:after {
	left: 12px;
	font-size: 14px;
}
/* Some links, such as FAQ, have an icon of their own. The item shows only one icon. */
.dropdown li.responsive-clone.small-icon > a > i.icon {
	display: none;
}
.dropdown li.responsive-clone.small-icon > a > i.icon + span {
	margin-left: 0;
}
/*
 * On a phone, the search box fills the line under the buttons. The line with the pages, such as
 * "3 topics • Page 1 of 1", is under it, and on the left like the rest.
 */
@media (max-width: 700px) {
	.action-bar .search-box {
		float: none;
		clear: both;
		margin-right: 0;
	}
	.action-bar .search-box .inputbox {
		flex: 1;
		width: auto;
		min-width: 0;
	}
	.action-bar > .pagination {
		float: none;
		clear: both;
		text-align: left;
	}

	/* On a phone, the controls wrap to more lines, so they have space below them too */
	.action-bar .button:not(.button-search):not(.button-search-end), .action-bar .search-box,
	.action-bar .dropdown-container {
		margin-bottom: 10px;
	}
}
.action-bar .pagination {
	line-height: 36px;
}

/* A menu that opens from a button, such as Topic Tools or Jump To, opens below the button, or above it */
.dropdown-button-control .dropdown {
	top: 40px;
}
.dropdown-button-control.dropdown-up .dropdown {
	top: auto;
	bottom: 40px;
}

/* The link back to the forum, such as "Return to General Discussion". Its arrow is in line. */
a.arrow-left {
	display: inline-flex;
	align-items: center;
}
.arrow-left .icon {
	float: none;
}
.search-box .button .icon, .search-box .button:hover .icon {
	color: inherit !important;
}

/*
 * The main links are pills on a light blue track, between the logo and the search box. The selected
 * link is white. The track fills the space between them. If the links don't fit, Elegance's script
 * moves some of them to the Quick Links menu.
 */
#page-header .navbar.tabbed {
	flex: 1;
	min-width: 0;
	margin: 0;
}
.navbar .nav-tabs {
	background: var(--k-track);
	border: 1px solid var(--k-track-border);
	border-radius: 999px;
	box-shadow: var(--k-shadow-track);
	padding: 4px;
	filter: none;
}
.navbar .nav-tabs > ul,
.navbar .nav-tabs > ul > li {
	height: 36px;
}
.navbar .nav-tabs .nav-link {
	height: 36px;
	line-height: 36px;
	font-size: 15px;
	font-weight: 500;
}
.navbar .nav-tabs .leftside > li {
	margin-right: 4px;
}
.navbar .nav-tabs .leftside .tab:not(.quick-links) .nav-link {
	padding-left: 15px;
	padding-right: 15px;
}

/* The Quick Links button shows only an icon, so it's a circle */
.navbar .nav-tabs .quick-links .nav-link {
	padding: 0 11px;
}
.navbar .nav-tabs .quick-links .nav-link:after {
	left: 11px;
}

/* A link with a menu, such as Members, has room for its arrow */
.navbar .nav-tabs .leftside .tab:not(.quick-links) .nav-link.dropdown-toggle {
	padding-right: 34px;
}
.navbar .nav-tabs .nav-link.dropdown-toggle:before {
	right: 16px;
}

/* The icons on the right, such as FAQ and Notifications, are larger, with more space between them */
.navbar .nav-tabs .rightside > li {
	margin-left: 6px;
}
.navbar .nav-tabs .rightside .nav-link {
	width: 20px;
	padding: 0 8px;
}
.navbar .nav-tabs .rightside .nav-link:after {
	font-size: 18px;
	width: 20px;
	height: 20px;
	line-height: 20px;
	margin-top: -10px;
}
/* The Forums and Members links have an icon before the text */
.navbar .nav-tabs .leftside .tab.forums .nav-link,
.navbar .nav-tabs .leftside .tab.members .nav-link {
	padding-left: 34px;
}
.navbar .nav-tabs .leftside .forums .nav-link:after,
.navbar .nav-tabs .leftside .members .nav-link:after {
	left: 14px;
}

/* On a phone, Elegance shows only the icons of these links. Then they're circles. */
@media (max-width: 550px) {
	.navbar .nav-tabs .leftside .tab.forums .nav-link,
	.navbar .nav-tabs .leftside .tab.members .nav-link {
		padding: 0 11px;
	}
	.navbar .nav-tabs .leftside .forums .nav-link:after,
	.navbar .nav-tabs .leftside .members .nav-link:after {
		left: 11px;
	}
}
.navbar .nav-tabs .dropdown {
	top: 40px;
}
.navbar .nav-tabs .tab {
	color: var(--k-text);
	background: transparent;
}
.navbar .nav-tabs .tab,
.navbar .nav-tabs .leftside .tab:first-child, .navbar .nav-tabs .leftside .tab.first-visible,
.navbar .nav-tabs .rightside .tab:last-child, .navbar .nav-tabs .rightside .tab.last-visible {
	border-radius: 999px;
}
.navbar .nav-tabs .tab:hover, .navbar .nav-tabs .tab.dropdown-visible {
	color: var(--k-text);
	background: rgba(255, 255, 255, 0.75);
	filter: none;
}
.navbar .nav-tabs .tab.selected, .navbar .nav-tabs .tab.selected:hover {
	color: var(--k-text);
	background: #fff;
	box-shadow: var(--k-shadow-selected);
	filter: none;
}
/* On a narrow screen, Elegance makes the boxes and the track square. Keep the round corners. */
@media (max-width: 700px) {
	.navbar.tabbed .nav-tabs, .navbar.tabbed .nav-tabs .tab {
		border-radius: 999px !important;
	}
	.navbar {
		border-radius: var(--k-radius-md);
	}
	.forabg, .forumbg, .post, .panel, .cp-main .forabg, .cp-main .post, .cp-main .panel {
		border-radius: var(--k-radius-md);
		margin-left: 0;
		margin-right: 0;
	}
	#wrap .headerbar, #wrap .navbar {
		margin-left: 0;
		margin-right: 0;
	}
}
.navbar .nav-tabs .tab > strong {
	background-color: var(--k-primary);
	color: #fff;
	border-radius: 999px;
	box-shadow: none;
	padding: 0 4px;
	top: -6px;
}
.navbar .nav-tabs .tab > strong .arrow {
	display: none;
}
.navbar .nav-tabs .responsive-menu .nav-link:after, .navbar .nav-tabs .account .nav-link:after,
.navbar .nav-tabs .pm .nav-link:after, .navbar .nav-tabs .notifications .nav-link:after,
.navbar .nav-tabs .mcp .nav-link:after, .navbar .nav-tabs .acp .nav-link:after,
.navbar .nav-tabs .faq .nav-link:after, .navbar .nav-tabs .logout .nav-link:after,
.navbar .nav-tabs .login .nav-link:after, .navbar .nav-tabs .register .nav-link:after,
.navbar .nav-tabs .members .nav-link:after, .navbar .nav-tabs .forums .nav-link:after {
	color: var(--k-text-secondary);
}

/* The links under the main links, such as Search and Login, or Subscribe Topic */
.navbar.secondary {
	color: var(--k-text-secondary);
	padding: 4px 0;
	margin: -6px 0 8px;
}
.navbar.secondary > ul > li > a {
	color: var(--k-text-secondary);
}
/*
 * If the secondary links don't fit in one line, they wrap to more lines. Elegance's script moves
 * them to a "..." menu instead, and it hides them with a style on each link. So these rules need
 * "!important" to override it.
 */
.navbar.secondary > ul > li.responsive-cloned-item {
	display: inline-block !important;
}
.navbar.secondary > ul > li.responsive-menu {
	display: none !important;
}
.navbar.secondary > ul > li:hover,
.navbar.secondary > ul > li.dropdown-visible {
	background: var(--k-quiet-hover);
	border-radius: 999px;
}
.navbar.secondary > ul > li:hover, .navbar.secondary > ul > li:hover:after,
.navbar.secondary > ul > li:hover:before, .navbar.secondary > ul > li.dropdown-visible,
.navbar.secondary > ul > li.dropdown-visible:after,
.navbar.secondary > ul > li.dropdown-visible:before {
	color: var(--k-text);
}


/* ------------------------------------------------------------------------------------------------
 * Panels and boxes
 */

/* The breadcrumbs, and other bars of links: a quiet gray panel */
.navbar {
	background: var(--k-gray-panel);
	border: 1px solid var(--k-gray-panel-border);
	border-radius: var(--k-radius-md);
	box-shadow: none;
	filter: none;
	padding: 2px 14px;
}
.page-body .navbar {
	margin-bottom: 16px;
}
.breadcrumbs .crumb {
	font-weight: 600;
	padding-left: 24px;
}
.breadcrumbs .crumb:first-child {
	padding-left: 0;
}
/* Long breadcrumbs wrap to more lines, and a long name wraps too. Nothing is cut short. */
.breadcrumbs .crumb a {
	white-space: normal;
}
/* The arrow is in the middle of the first line. A long name can wrap to a second line. */
.breadcrumbs .crumb:before {
	left: 7px;
	font-size: 9px;
	top: 15px;
}

/* The links at the bottom of the page, such as Contact Us and The Team */
#nav-footer > li.rightside {
	margin-left: 22px;
}
.breadcrumbs .crumb a, .icon-home.breadcrumbs:after {
	color: var(--k-text);
}
.breadcrumbs .crumb a:hover {
	color: var(--k-primary);
}
.breadcrumbs .crumb:before {
	color: var(--k-text-muted);
}

/* The lists of forums and topics, the posts, and the panels are white boxes */
.forabg, .forumbg, .panel, .post {
	background: #fff;
	border: 1px solid var(--k-border);
	border-radius: var(--k-radius-md);
	box-shadow: var(--k-shadow-panel);
	filter: none;
}
.forabg, .forumbg {
	padding: 0;
	overflow: hidden;
	margin-bottom: 20px;
}
.forabg + .forabg {
	margin-top: 20px;
}
.forumbg.forumbg-table {
	background: #fff;
	border: 1px solid var(--k-border);
	border-radius: var(--k-radius-md);
	padding: 0;
	overflow: hidden;
}
.panel {
	padding: 12px 18px;
	margin-bottom: 16px;
}
/* A post is light gray, so that the posts stand apart from the page and from each other */
.post {
	background: #fafafa;
	border-color: #e3e7ed;
	margin-bottom: 16px;
}
.post > .inner {
	padding: 12px 18px;
}
.bg1:not(.post), .bg2:not(.post), .bg3:not(.post),
table.zebra-list tr:nth-child(odd) td, ul.zebra-list li:nth-child(odd),
table.zebra-list tr:nth-child(even) td, ul.zebra-list li:nth-child(even) {
	background-color: #fff;
}
.panel.bg3 {
	border-radius: var(--k-radius-md);
	border: 1px solid var(--k-border);
	box-shadow: var(--k-shadow-panel);
}
.bg3.panel {
	background: var(--k-blue-panel);
	border-color: var(--k-blue-panel-border);
}
.bg3.panel:before, .bg3.panel:after {
	display: none;
}
.section-posting .bg3.panel {
	background: #fff;
	border-color: var(--k-border);
}

/*
 * The title row of a box, such as the name of a group of forums. It's light blue with dark text,
 * like the track of the main links.
 */
.forabg ul.topiclist li.header, .forumbg ul.topiclist li.header,
.panel > .inner > h3:first-child, .panel > h3:first-child,
table.table1 thead th {
	background: var(--k-track);
	color: var(--k-text);
	border: 0;
	border-bottom: 1px solid var(--k-blue-panel-border);
	border-radius: 0;
	box-shadow: none;
	filter: none;
}
.forabg ul.topiclist li.header, .forumbg ul.topiclist li.header {
	margin: 0;
	padding: 8px 10px;
}
.panel > .inner > h3:first-child, .panel > h3:first-child {
	margin: -12px -18px 10px;
	padding: 10px 18px;
	border-radius: 15px 15px 0 0;
	font-weight: 700;
	font-size: 16px;
}
li.header dt, li.header dd {
	color: var(--k-text);
}
li.header dt, li.header dt a {
	font-size: 16px;
	font-weight: 700;
}
li.header dd {
	color: var(--k-text-secondary);
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.forabg ul.topiclist li.header a, .forumbg ul.topiclist li.header a,
.forumbg .header a, .forabg .header a, th a,
.panel > .inner > h3:first-child a, .panel > h3:first-child a {
	color: var(--k-text);
}
.forabg ul.topiclist li.header a:hover, .forumbg ul.topiclist li.header a:hover,
.forumbg .header a:hover, .forabg .header a:hover, th a:hover,
.panel > .inner > h3:first-child a:hover, .panel > h3:first-child a:hover {
	color: var(--k-primary);
}
.forabg ul.topiclist li.header .forum-toggle, .forumbg ul.topiclist li.header .forum-toggle {
	right: 14px;
	color: var(--k-text-muted);
}

/*
 * The rows of the lists of forums and topics, and their title rows. Elegance lays out the columns
 * with floats, so a short column sticks to the top of the row. Here the columns are in a flex row,
 * so that everything in a row is centered vertically. The columns keep Elegance's widths.
 */
ul.topiclist li dl.row-item {
	display: flex;
	align-items: center;
}
ul.topiclist li dl.row-item dt {
	flex: 1 1 auto;
	width: auto;
	min-width: 0;
	margin-right: 0;
}
ul.topiclist li dl.row-item dt .list-inner {
	margin-right: 0;
}
ul.topiclist li dl.row-item dd {
	float: none;
	flex: 0 0 auto;
	min-height: 0;
}

/* The icon of a forum or a topic, such as the speech bubbles, has some space at its sides */
dl.row-item {
	background-position: 16px 50%;
}
ul.topiclist li dl.row-item dt .list-inner {
	padding-left: 68px;
}

/*
 * The title of a list, such as Announcements or Topics, starts at the left, like the name of a group
 * of forums
 */
ul.topiclist li.header dl.row-item dt .list-inner {
	padding-left: 0;
	text-indent: 0;
}

/*
 * The rows of a list of topics have more space above and below the topic's name. The line with the
 * author floats, so the box contains its floats. Otherwise the line would hang below the space.
 */
.forumbg ul.topiclist li.row dl.row-item dt .list-inner {
	display: flow-root;
	padding-top: 10px;
	padding-bottom: 10px;
}

/* The rows of the lists of forums and topics */
li.row {
	border-top-color: transparent;
	border-bottom-color: var(--k-border);
}
li.row:last-child {
	border-bottom-color: transparent;
}
li.row:hover, table.table1 tbody tr:hover, table.table1 tbody tr.hover {
	background-color: var(--k-row-hover);
}
li.row strong {
	color: var(--k-text);
}
li.row .forum-lastpost strong, li.row .subforums-list strong {
	color: var(--k-text-muted);
}
a.forumtitle, a.topictitle {
	color: var(--k-text);
	font-weight: 600;
}
a.forumtitle:hover, a.topictitle:hover {
	color: var(--k-primary);
}
.forum_unread .forumtitle, .forum_unread_subforum .forumtitle, .forum_unread_locked .forumtitle,
.icon-link + .list-inner > a.forumtitle, .icon-link + .list-inner > a.topictitle,
.pm_unread .topictitle, a.subforum.unread,
.global_unread .topictitle, .announce_unread .topictitle, .sticky_unread .topictitle,
.topic_unread .topictitle, .topic_unread_mine .topictitle, .topic_unread_hot .topictitle,
.topic_unread_hot_mine .topictitle, .topic_unread_locked .topictitle,
.topic_unread_locked_mine .topictitle, .sticky_unread_mine .topictitle,
.sticky_unread_locked .topictitle, .sticky_unread_locked_mine .topictitle,
.announce_unread_mine .topictitle, .announce_unread_locked .topictitle,
.announce_unread_locked_mine .topictitle, .global_unread_mine .topictitle,
.global_unread_locked .topictitle, .global_unread_locked_mine .topictitle {
	color: var(--k-primary);
}
.forum-statistics, .forum-lastpost, .topic-status.sticky, .copyright, a.top, a.top2 {
	color: var(--k-text-muted);
}
.forum-statistics .value {
	color: var(--k-text);
}
.forum-description.toggle {
	background: #fff;
	color: var(--k-text-secondary);
	border: 1px solid var(--k-border);
	border-radius: var(--k-radius-sm);
	box-shadow: var(--k-shadow-popup);
	filter: none;
}
.forum-description.toggle span.arrow {
	border-right-color: #fff;
}

/* Tables, such as the list of members */
table.table1 tbody tr, table.table1 tbody td {
	border-color: var(--k-border-subtle);
}
table.table1 td {
	color: var(--k-text);
}
table.table1 tbody th {
	background-color: var(--k-table-head);
	border-bottom-color: var(--k-border);
	color: var(--k-text);
}
dl.details dt, table.info tbody th {
	color: var(--k-text);
}
dl.details dd {
	color: var(--k-text-secondary);
}

/* Messages */
div.rules, p.post-notice {
	background: var(--k-warning-bg);
	border: 1px solid var(--k-warning-border);
	border-radius: var(--k-radius-sm);
	color: var(--k-warning-text);
}
p.post-notice.deleted:before, p.post-notice.unapproved:before,
p.post-notice.reported:before, p.post-notice.error:before, .error {
	color: var(--k-warning-text);
}
.reported, li.reported:hover {
	background-color: var(--k-error-bg);
}


/* ------------------------------------------------------------------------------------------------
 * Posts
 */

.postbody, .content, .postprofile {
	color: var(--k-text);
}
.postprofile {
	border-color: #d9dee6;
}

/*
 * The column of the author's avatar and details is a little wider than Elegance's. The post's body
 * floats over the whole width, with a negative margin as wide as the column, so the margins change
 * too. The search results have a column of their own, so they keep Elegance's sizes.
 */
@media (min-width: 701px) {
	.post:not(.search) .postprofile {
		width: 180px;
	}
	.post:not(.search) .postprofile + .postbody {
		margin-left: -196px;
	}
	.post:not(.search) .postprofile + .postbody > div {
		margin-left: 196px;
	}

	/* Some space between the author's picture and name */
	.postprofile dt .avatar-container {
		margin-bottom: 8px;
	}
}

/*
 * On a phone, the author's small picture and name are in one line, centered vertically.
 *
 * The post's buttons are in the same line, on the right. phpBB keeps them within 40% of the post's
 * width, and it moves them to a "..." menu when they don't fit. But it doesn't know about the name.
 * So the line keeps that space free, and a long name wraps before it reaches the buttons.
 */
@media (max-width: 700px) {
	.postprofile dt {
		display: flex;
		align-items: center;
	}
	.post.has-profile .postprofile dt {
		padding-right: calc(40% + 16px);
	}
}
.postprofile strong {
	color: var(--k-text);
}
.postbody h3, .postbody h3 a {
	font-size: 17px;
	color: var(--k-text);
}
.postbody h3 a:hover {
	color: var(--k-primary);
}
.postlink {
	color: var(--k-primary);
	border-bottom-color: var(--k-primary);
}
.postlink:visited {
	color: var(--k-primary-pressed);
	border-bottom-color: var(--k-primary-pressed);
}
.postlink:hover {
	color: var(--k-primary-hover);
	background-color: transparent;
}
/* A quote in a post is white, because the post is gray. A quote in a quote is gray again. */
blockquote, .attachbox {
	background-color: #fff;
	border-color: var(--k-border);
	border-radius: var(--k-radius-sm);
}
blockquote {
	padding: 12px 16px;
	margin: 12px 0;
}
blockquote blockquote {
	margin: 12px 0 12px 8px;
}
blockquote cite {
	margin-bottom: 6px;
}
blockquote blockquote, blockquote .codebox, blockquote .attachbox {
	background-color: var(--k-stripe);
}
.codebox {
	background-color: #fff;
	border-color: var(--k-border);
	border-radius: var(--k-radius-sm);
}
.codebox p {
	border-bottom-color: var(--k-border);
}
.codebox code {
	color: var(--k-text);
}
.posthilit {
	background-color: #fff3c2;
	color: inherit;
}
.online-ribbon span {
	background-color: var(--k-primary);
	color: #fff;
}

/*
 * The Online ribbon across the post's top left corner. Elegance puts it 3 pixels outside the post.
 * Here it's inside the post, and it's cut to the post's round corner. Its text moves by the same 3
 * pixels, so it stays where it was.
 */
.online-ribbon {
	top: 0;
	left: 0;
	border-top-left-radius: calc(var(--k-radius-md) - 1px);
}
.online-ribbon span {
	top: 14px;
	left: -28px;
}

/* On a phone, Elegance's ribbon is smaller, and it's only 1 pixel outside the post */
@media (max-width: 700px) {
	.online-ribbon span {
		top: 7px;
		left: -13px;
	}
}
.pollbar1, .pollbar2, .pollbar3, .pollbar4, .pollbar5 {
	background-image: none;
	background-color: var(--k-primary);
	box-shadow: none;
	border-radius: var(--k-radius-xs);
}


/* ------------------------------------------------------------------------------------------------
 * Buttons and form fields
 */

/* A button is a white pill with a small shadow, like the website's outlined buttons */
.button, .buttons > .button.locked-icon, .dropdown-select {
	border: 1px solid var(--k-border);
	border-radius: 999px;
	background: #fff;
	color: var(--k-text);
	box-shadow: var(--k-shadow-button);
	filter: none;
	font-weight: 600;
	padding: 4px 14px;
}
.button:hover, .dropdown-visible .dropdown-select, .nojs .dropdown-container:hover .dropdown-select,
.dropdown-select:hover, .dropdown-visible .dropdown-select:hover {
	border-color: var(--k-border) !important;
	background: var(--k-quiet-hover);
	color: var(--k-text);
	filter: none;
}
.button:active {
	background: var(--k-quiet-pressed);
}
.button:hover:after, .button:hover:before, .dropdown-visible .dropdown-select:after,
.dropdown-visible .dropdown-select:before, .button .icon, .button:hover .icon {
	color: var(--k-text-secondary) !important;
}
/* A form field shows the focus with its blue border, so it doesn't need the outline too */
.button:focus-visible, a:focus-visible {
	outline: 2px solid var(--k-primary);
	outline-offset: 2px;
}

/* The main actions, such as Post Reply and New Topic, are blue */
.action-bar > a.button, .buttons > .button {
	border-color: var(--k-primary);
	background: var(--k-primary);
	color: #fff;
	box-shadow: var(--k-shadow-button);
}
.action-bar > a.button:hover, .buttons > .button:hover {
	border-color: var(--k-primary-hover) !important;
	background: var(--k-primary-hover);
	color: #fff;
}
.action-bar > a.button:active, .buttons > .button:active {
	background: var(--k-primary-pressed);
}
.action-bar > a.button .icon, .action-bar > a.button:hover .icon,
.buttons > .button:after, .buttons > .button:before, .buttons > .button .icon,
.buttons > .button:hover:after, .buttons > .button:hover:before, .buttons > .button:hover .icon {
	color: #fff !important;
}
.buttons > .button.locked-icon {
	color: var(--k-text-muted);
	background: #fff;
	border-color: var(--k-border);
}
.buttons > .button.locked-icon:after, .buttons > .button.locked-icon:before {
	color: var(--k-text-muted) !important;
}

/*
 * The post's buttons, such as Quote and Report, are in its top right corner. They're as far from
 * the post's right side as from its top.
 */
@media (min-width: 701px) {
	.has-profile .post-buttons {
		right: -4px;
	}
}
.post-buttons > li:last-child {
	margin-right: 0;
}

/* The buttons of the editor, such as Bold and Quote, have some space between them */
.format-buttons .button {
	margin: 0 2px 4px 0;
}

/* The small buttons of a post, such as Quote and Report, are quiet */
.post-buttons .button, .button.report-icon, .button.delete-icon {
	background: #fff;
	border-color: var(--k-border);
	color: var(--k-text-secondary);
	box-shadow: none;
	padding: 2px 8px;
}
.post-buttons .button:hover, .button.report-icon:hover, .button.delete-icon:hover {
	background: var(--k-quiet-hover);
}
.button.report-icon:after, .button.report-icon:before, .button.delete-icon:after,
.button.delete-icon:before {
	color: var(--k-error) !important;
}

/* The page numbers */
.pagination li a, .pagination li span {
	border-radius: 999px;
	min-width: 28px;
	line-height: 26px;
	box-sizing: border-box;
	text-align: center;
}
.pagination li a {
	color: var(--k-text);
	background: #fff;
	border-color: var(--k-border);
}
.pagination li.active span {
	color: #fff;
	background: var(--k-text);
	border-color: var(--k-text);
	background-image: none;
}
.pagination li a:hover, .pagination .dropdown-visible a.dropdown-trigger,
.nojs .pagination .dropdown-container:hover a.dropdown-trigger {
	color: var(--k-text);
	background: var(--k-quiet-hover);
	border-color: var(--k-border);
	background-image: none;
}
.pagination li.ellipsis span {
	color: var(--k-text-muted);
}
.pagination li.page-jump a:after {
	color: var(--k-text-secondary);
}

/* The arrow after "Jump to post" in the search results is centered on the text. The base style
   floats it to the right, which puts it at the top of the line. */
ul.searchresults a {
	display: inline-flex;
	align-items: center;
}
ul.searchresults a .icon {
	order: 1;
}

/* The form fields have the website's corners, and a blue border when they have the focus */
.inputbox, select, textarea.inputbox, input.inputbox {
	background-color: #fff;
	border: 1px solid var(--k-border-field);
	border-radius: var(--k-radius-sm);
	color: var(--k-text);
	padding: 5px 10px;
	box-sizing: border-box;
}
.inputbox:hover, select:hover {
	background-color: #fff;
	border-color: var(--k-text-muted);
	color: var(--k-text);
}
.inputbox:focus, select:focus {
	background-color: #fff;
	border-color: var(--k-primary);
	color: var(--k-text);
}
.inputbox::placeholder {
	color: var(--k-text-muted);
}
.inputbox:hover::placeholder {
	color: var(--k-text-muted);
}

/* Elegance's buttons in forms, such as Login and Submit */
input.button1, input.button2, a.button1, a.button2 {
	font-family: var(--k-font);
	font-size: 14px;
	font-weight: 600;
	border-radius: 999px;
	padding: 6px 18px;
	box-shadow: var(--k-shadow-button);
	background: #fff;
	border: 1px solid var(--k-border);
	color: var(--k-text);
	cursor: pointer;
}
input.button1, a.button1 {
	background: var(--k-primary);
	border-color: var(--k-primary);
	color: #fff;
}
input.button1:hover, a.button1:hover {
	background: var(--k-primary-hover);
	border-color: var(--k-primary-hover);
	color: #fff;
}
input.button2:hover, a.button2:hover {
	background: var(--k-quiet-hover);
	border-color: var(--k-border);
	color: var(--k-text);
}


/* ------------------------------------------------------------------------------------------------
 * Menus, popups and icons
 */

/* The messages and the questions that phpBB shows over the page, like the website's dialogs */
.phpbb_alert {
	background: #fff;
	border: 0;
	border-radius: var(--k-radius-lg);
	box-shadow: 0 0 0 1px rgba(20, 30, 70, 0.06), 0 2px 6px rgba(20, 30, 70, 0.08), 0 32px 64px -20px rgba(10, 20, 60, 0.5);
	padding: 20px 24px;
}
.phpbb_alert .alert_title {
	font-size: 20px;
	font-weight: 700;
	color: var(--k-text);
}
/* The title doesn't go under the close button */
.phpbb_alert h3 {
	padding-right: 40px;
}

/*
 * The close button is a gray "X" in the corner, like in the website's dialogs. It shows a frame
 * while the mouse points at it. The icon is the website's icon, Material's "Close".
 */
.phpbb_alert .alert_close {
	float: none;
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	margin: 0;
	border-radius: 50%;
	color: var(--k-text-secondary);
	transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}
.phpbb_alert .alert_close:hover {
	color: var(--k-text);
	box-shadow: inset 0 0 0 1px var(--k-border-field);
}
.phpbb_alert .alert_close:active {
	background: #e3e7ed;
	transition-duration: 0s;
}
.phpbb_alert .alert_close:before, .phpbb_alert .alert_close:hover:before {
	content: '';
	left: 8px;
	top: 8px;
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") center / 24px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") center / 24px no-repeat;
	color: inherit;
}
.phpbb_alert .alert_close:after {
	content: none;
}

/*
 * A menu, such as Quick Links or Topic Tools, is a white box. Each item is a row with small round
 * corners, and the row turns gray when the mouse points at it.
 */
.dropdown .dropdown-contents, .dropdown-extended .dropdown-contents {
	background: #fff;
	border: 1px solid var(--k-border);
	border-radius: var(--k-radius-sm);
	box-shadow: var(--k-shadow-popup);
	padding: 6px;
	/* A menu scrolls only if it's taller than the window. The header is above it. */
	max-height: calc(100vh - 120px);
	max-height: calc(100dvh - 120px);
}
.dropdown-up .dropdown-contents {
	border-bottom-width: 1px;
	border-radius: var(--k-radius-sm);
}
/*
 * The menus have no pointer arrow. The arrow is drawn with borders, so its borders are transparent.
 * It must stay in the page: in the menus that phpBB's script makes, such as the "..." menu of a
 * post's buttons, the list of items is inside the arrow's element.
 */
.dropdown .pointer, .dropdown .pointer-inner {
	border-color: transparent;
}

/* The arrow's element has no width, so a list inside it is as wide as its items */
.dropdown .pointer .dropdown-contents {
	width: max-content;
	min-width: 160px;
}
.post-buttons .dropdown a {
	font-size: 14px;
}
.dropdown .dropdown-contents > li:not(.separator) {
	border-top: 0;
	padding-right: 0;
	font-size: 15px;
	line-height: 1.4;
}
.dropdown .dropdown-contents > li > a,
.dropdown .dropdown-contents > li > label {
	display: block;
	padding: 7px 12px;
	color: var(--k-text);
	border-radius: var(--k-radius-xs);
}
.dropdown .dropdown-contents > li > a:hover,
.dropdown .dropdown-contents > li > label:hover {
	background: var(--k-quiet-hover);
	color: var(--k-text);
	text-decoration: none;
}
/* An item that's only text, such as "All times are UTC", lines up with the links */
.dropdown .dropdown-contents > li:not(.separator):not(:has(> a, > label)) {
	padding: 7px 12px;
}
.dropdown .dropdown-contents > li > a .icon {
	margin-right: 4px;
}
.dropdown li.separator {
	border-top-color: var(--k-border-subtle);
	margin: 6px 4px;
}
.jumpbox-cat-link {
	background-color: var(--k-table-head);
	color: var(--k-text);
}
.jumpbox-cat-link:hover {
	background-color: var(--k-row-hover);
	border-top-color: var(--k-row-hover);
	color: var(--k-text);
}
.jumpbox-forum-link, .jumpbox-sub-link, .dropdown-extended a.mark_read {
	background-color: #fff;
}
.jumpbox-forum-link:hover, .jumpbox-sub-link:hover {
	background-color: var(--k-row-hover);
}
.jumpbox .dropdown li {
	border-top-color: var(--k-border-subtle);
}

/* The icons of the links have the color of the text, not the old orange */
.icon-search-new:after, .icon-search-unanswered:after, .icon-search-unread:after,
.icon-search-self:after, .icon-search:after, .icon-search-active:after,
.icon-search-advanced:after, .icon-acp:after, .icon-bookmark:after, .icon-bump:after,
.icon-contact:after, .icon-delete-cookies:after, .icon-download:after, .icon-faq:after,
.icon-home:after, .icon-logout:after, .icon-login:after, .icon-mark:after, .icon-mcp:after,
.icon-members:after, .icon-members:before, .icon-notification:after, .icon-pages:after,
.icon-pm:after, .icon-print:after, .icon-profile:after, .icon-register:after,
.icon-sendemail:after, .icon-subscribe:after, .icon-team:after, .icon-team:before, .icon-ucp:after,
.icon-unsubscribe:after, .icon-new-posts:after, .icon-forums:after, .icon-chat:after,
.icon-thanks:after, .icon-thanks_toplist:after {
	color: var(--k-text-secondary);
}
.icon-search-new:hover:after, .icon-search-unanswered:hover:after, .icon-search-unread:hover:after,
.icon-search-self:hover:after, .icon-search:hover:after, .icon-search-active:hover:after,
.icon-search-advanced:hover:after, .icon-acp:hover:after, .icon-bookmark:hover:after,
.icon-bump:hover:after, .icon-contact:hover:after, .icon-delete-cookies:hover:after,
.icon-download:hover:after, .icon-faq:hover:after, .icon-home:hover:after,
.icon-logout:hover:after, .icon-login:hover:after, .icon-mark:hover:after, .icon-mcp:hover:after,
.icon-members:hover:after, .icon-members:hover:before, .icon-notification:hover:after,
.icon-pages:hover:after, .icon-pm:hover:after, .icon-print:hover:after, .icon-profile:hover:after,
.icon-register:hover:after, .icon-sendemail:hover:after, .icon-subscribe:hover:after,
.icon-team:hover:after, .icon-team:hover:before, .icon-ucp:hover:after,
.icon-unsubscribe:hover:after, .icon-new-posts:hover:after, .icon-forums:hover:after,
.icon-chat:hover:after, .icon-thanks:hover:after, .icon-thanks_toplist:hover:after {
	color: var(--k-primary);
}
.icon-notification.non-zero:after, .icon-pm.non-zero:after {
	color: var(--k-primary);
}
.icon-time:after {
	color: var(--k-text-muted);
}


/* ------------------------------------------------------------------------------------------------
 * The footer
 */

/*
 * The credits and the links to Privacy and Terms are on a gray band, like the website's footer.
 * The band is as wide as the window. The shadow paints the gray beyond the sides of the page, and
 * clip-path keeps the shadow from showing above and below the band.
 */
body {
	padding-bottom: 0;
}
.copyright {
	background: #f0f2f6;
	box-shadow: 0 0 0 100vmax #f0f2f6;
	clip-path: inset(0 -100vmax);
	padding: 18px 0 12px;
	font-size: 13px;
}
.copyright p {
	font-size: 13px;
	margin-bottom: 4px;
}
.copyright a {
	color: var(--k-text-secondary);
}
.copyright a:hover {
	color: var(--k-primary);
}
