/*!
 * Icon helpers for the vendored Font Awesome 5.8.1 Free.
 *
 * Replaces the former material-icons.css. Material Icons rendered by *ligature*
 * — the element's text content was the icon name — so a missing font degraded to
 * the literal word "menu" on screen. Font Awesome renders through a CSS class
 * and ::before content, so there is no text to leak, and the fonts it needs are
 * already vendored in ../webfonts/ (fa-solid-900, fa-regular-400).
 *
 * The size vocabulary (.md-18 … .md-48) is kept deliberately: it is used across
 * the templates and reads the same in the React theme later.
 */

.fa,
.fas,
.far,
.fab{
	vertical-align: middle;
	transition: .15s ease;
}

.fas.circle,
.far.circle{
	border-radius: 60px;
	background-color: var(--text-color);
	color: #fff;
	padding: 3px;
	margin-top: -4px;
	margin-right: 4px;
}

/* Rules for sizing the icon. */
.fas.md-18,
.far.md-18{
	font-size: 18px !important;
}
.fas.md-24,
.far.md-24{
	font-size: 24px !important;
}
.fas.md-36,
.far.md-36{
	font-size: 36px !important;
}
.fas.md-48,
.far.md-48{
	font-size: 48px !important;
}

/* Rules for using icons as black on a light background. */
.fas.md-dark { color: rgba(0, 0, 0, 0.54); }
.fas.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }

/* Rules for using icons as white on a dark background. */
.fas.md-light { color: rgba(255, 255, 255, 1); }
.fas.md-light.md-inactive { color: rgba(255, 255, 255, 0.3); }

/* Rules for using main colors. */
.fas.water,
.far.water{
	color: var(--water-color);
}
.fas.energy,
.far.energy{
	color: var(--energy-color);
}
.fas.materials,
.far.materials{
	color: var(--materials-color);
}
