/**
 * @file
 * Styles for breadcrumbs.
 */

.breadcrumb {
	background-color: var(--color);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	font-size: 0.75rem;
	line-height: 1;
	color: #fff;
	position: relative;
	z-index: 1;
}

.breadcrumb ol {
	display: flex;
	align-items: center;
	list-style-type: none;
	margin-top: 0;
	margin-bottom: 0;
	padding: 0;
	min-height: 36px;
}

.breadcrumb li:not(:last-child)::after {
	content: "\203A";
	padding: 0 10px;
	font-weight: 500;
}

.breadcrumb li:first-child {
	margin-right: 20px;
}

.breadcrumb li:first-child::after,
.breadcrumb li:last-child::after {
	content: none;
}

.breadcrumb li:last-child {
	display: block;
	white-space: nowrap;
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
}

.breadcrumb li {
	display: flex;
	align-items: center;
}

.breadcrumb li:first-of-type a {
	width: 16px;
	height: 30px;
	background: url(../../img/logo_o.png) no-repeat center center;
	background-size: contain;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
	display: inline-block;
	filter: invert(1);
}

.breadcrumb a,
.breadcrumb a:visited {
	color: #fff;
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.path-frontpage .breadcrumb li {
	display: none;
}

@media screen and (min-width: 768px) {
	.breadcrumb {
		font-size: var(--font16);
	}

	.breadcrumb ol {
		min-height: 50px;
	}

	.breadcrumb li:first-of-type a {
		width: 23px;
	}
}
