.headerlink-wrap {
	clear: both;
}

.headerlink-wrap.headerlink-navbar {
	float: none;
	line-height: 1;
	margin-bottom: 2px;
}

.headerlink {
	display: flex;
}

.headerlink-center {
	justify-content: center;
}

.headerlink-end {
	justify-content: end;
}

.headerlink li {
	list-style-type: none;
	margin: 0 2px;
}

.headerlink a {
	background-color: var(--headerlink-bg);
	border-radius: 4px;
	display: block;
	font-size: 13px;
	padding: 7px;
	text-decoration: none;
	transition: background-color 0.2s;
	white-space: nowrap;
}

.headerlink a:hover {
	background-color: var(--headerlink-hover-bg);
}

.headerlink[style*="transparent"] a:hover {
	--headerlink-hover-bg: var(--headerlink-bg);
}

.headerlink i {
	color: var(--headerlink-icon-color);
}

.headerlink span {
	color: var(--headerlink-text-color);
}

.sublist {
	display: none;
	flex-direction: column;
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 99;
}

.rtl .sublist {
	left: 0;
	right: auto;
}

.sublist li {
	margin: 2px 0 0;
}

.has-sublist {
	position: relative;
}
