.rem-icon {
	background-image: url('really-icon.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/* Prevent the empty Impreza target from flashing before REM fills it. */
.rem-pending {
	visibility: hidden !important;
}

/* Optional: the target menu follows the height of its surrounding container. */
.rem-height-container,
.rem-height-chain,
.rem-height-menu {
	height: 100%;
	min-height: 0;
}

.rem-height-menu {
	align-items: stretch;
}

.rem-height-menu > li {
	height: 100%;
	min-height: 0;
}

.rem-height-menu > li > a {
	display: flex !important;
	align-items: center;
	box-sizing: border-box;
	height: 100%;
	min-height: 0;
}

/* Every item uses the rendered width of the longest menu item. */
.rem-width-longest > li {
	box-sizing: border-box;
	flex: 0 0 var(--rem-item-width) !important;
	width: var(--rem-item-width) !important;
}

.rem-width-longest > li > a,
.rem-width-distribute > li > a {
	display: flex !important;
	align-items: center;
	box-sizing: border-box;
	width: 100%;
	justify-content: center;
}

/* All items share the complete width of the target menu. */
.rem-width-distribute {
	display: flex !important;
	width: 100%;
}

.rem-width-distribute > li {
	flex: 1 1 0 !important;
	min-width: 0;
}
