.header {
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: var(--header-h);
	background: #fff;
	z-index: 1000;
	box-sizing: border-box;
}

.header-coname {
	margin-left: 16px;
	font-size: 15px;
	white-space: nowrap;
}

.header-coname a, .header-coname a:visited {
	color: #000;
	text-decoration: none;
}

.header-navbar {
	display: flex;
	align-items: center;
	height: 100%;
	margin-right: 16px;
}

.header-navbar-user-info {
    padding: 12px 16px;
    font-size: 16px;
    color: #777;
    border-bottom: 1px solid #f5f5f5;
}

.header-navbar-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 100%;
	padding: 10px 12px;
	color: #000;
	text-decoration: none;
	font-size: 14px;
	font-family: 'Roboto';
	letter-spacing: 1px;
	border: none;
	outline: none;
	background: transparent;
	cursor: pointer;
	box-sizing: border-box;
	transition: background-color .2s ease;
}

.header-navbar-item:hover, .header-navbar-item-selected {
	background: #f5f5f5;
}

/* ---------- dropdown ---------- */
.header-navbar-sub {
	position: relative;
	display: flex;
	height: 100%;
}

.header-navbar-sub::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
}

.header-navbar-sub-content {
	display: none;
	margin-top: 20px;
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 180px;
	background: #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, .16), 0 2px 10px rgba(0, 0, 0, .12);
	overflow: hidden;
	z-index: 1100;
}

.header-navbar-sub-content-sub {
	display: flex;
	flex-direction: column;
}

.header-navbar-sub-content-sub a {
	display: block;
	padding: 12px 16px;
	color: #000;
	text-decoration: none;
	line-height: normal;
	white-space: nowrap;
}

.header-navbar-sub-content-sub a:hover {
	background: #f5f5f5;
}

.header-navbar-sub-content-sub a:not(:last-child) {
	border-bottom: 1px solid #f5f5f5;
}

.header-navbar-sub:hover .header-navbar-sub-content {
	display: block;
}

/* ---------- mobile menu ---------- */
.header-navbar-mobile {
	position: fixed;
	inset: 0;
	height: 0;
	width: 100%;
	background: rgba(0, 0, 0, 1);
	overflow: hidden;
	z-index: 2000;
	transition: height .3s ease;
}

.header-navbar-mobile-header {
	display: flex;
	justify-content: flex-end;
	padding: 20px;
}

.header-navbar-mobile-header-close {
	color: #818181;
	text-decoration: none;
	font-size: 26px;
	transition: color .2s ease;
}

.header-navbar-mobile-header-close:hover {
	color: #fff;
}

.header-navbar-mobile-content {
	padding-left: 20px;
	padding-right: 20px;
}

.header-navbar-mobile-item {
	display: block;
	padding: 16px;
	color: #818181;
	text-decoration: none;
	font-size: 14px;
	font-family: 'Roboto';
	letter-spacing: 2px;
	line-height: 24px;
	transition: background-color .2s ease, color .2s ease;
}

.header-navbar-mobile-item:hover {
	color: #fff;
}

.header-navbar-mobile-item-selected {
	background: #f5f5f5;
	color: #000;
}

.header-navbar-user-info-mobile {
    padding: 16px;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 10px;
}