/*
 * Everything the theme adds on top of the shared icon package.
 * Load after segfa.css. segfa.css itself is generated — edit it upstream.
 */

/*
 * Icon positioning. The icon classes this theme replaced applied their own
 * vertical positioning to every icon on the site, so ~130 call sites were laid
 * out against it. The shared package sets no vertical-align, which would drop
 * each icon to the baseline. These rules keep the previous position so the
 * swap is not a visual change.
 *
 * Width is deliberately not set here: the package already defaults to
 * proportional width, and anything wanting a fixed box asks with fa-fw.
 */
.fal,
.far,
.fas,
.fab,
.fad,
.icon-power {
	vertical-align: middle;
	position: relative;
	top: -1px;
	text-transform: none;
}

/* Instant Book bolt. Bespoke — no Font Awesome equivalent. */
@font-face {
	font-family: 'seg-bolt';
	src: url('seg-bolt.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}

.icon-power {
	font-family: 'seg-bolt';
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-power:before {
	content: "\e9b5";
}

/*
 * The ticket glyph is drawn horizontally; this estate shows tickets angled.
 * Applied here rather than at each call site so it also reaches the ticket
 * icons whose class comes from a database value and has no markup to edit.
 */
.fa-ticket {
	transform: rotate(-45deg);
}
