/* 导航栏容器 */
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: transparent;
	z-index: 999;
	transition: 0.5s;
}
.navbar.nav-bgc{
	/* background-color: rgba(255,255,255,0.9); */
	background-color: rgba(0,0,0,0.25);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar.nvaprodl{
	background-color: #fff;
}

.navbar-container {
	width: 1400px;
	margin: 0 auto;
}

/* Logo */
.navbar-brand {
	display: -webkit-box;
	display: -moz-box;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
}
.navbar-brand img{
	display: block;
	width: auto;
	height: 28px;
	filter: brightness(0) invert(1);
	transition: 0.3s;
}
.navbar.nav-bgc .navbar-brand img{
	filter: brightness(1) invert(0);
}

/* 导航菜单 */
.navbar-menu {
	display: flex;
	list-style: none;
	justify-content: center;
	padding: 20px 0;
}
.navbar-item {
	position: relative;
}
.navbar-item + .navbar-item{
	margin-left: 32px;
}
.navbar-item.nav-first{
	display: none;
}

.navbar-link {
	display: block;
	color: #fff;
	padding: 0 30px;
	line-height: 30px;
	text-transform: uppercase;
	font-size: 16px;
	border-radius: 999px;
	background-color: rgba(255,255,255,0.5);
	font-weight: 400;
}
.navbar.nvaprodl .navbar-link{
	color: #000;
}

.navbar-link.on{
	color: #fff;
	background-color: var(--main-color);
}
.navbar-link:hover {
	color: #fff;
	background-color: var(--main-color);
}

/* 下拉菜单 */
.dropdown-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #fff;
	min-width: 200px;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all var(--transition-speed) ease;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
	z-index: 1001;
}

.dropdown-item {
	position: relative;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-link {
	display: block;
	color: #333;
	text-decoration: none;
	padding: 12px 15px;
	white-space: nowrap;
	text-align: left;
}
.dropdown-item.has-dropdown .dropdown-link{
	padding-right: 40px;
}

.dropdown-link:hover {
	color: var(--main-color);
}

/* 三级菜单 */
.dropdown-menu .dropdown-menu {
	top: 0;
	left: 100%;
	background-color:#fff;
	z-index: 1002;
}

/* 四级菜单 */
.dropdown-menu .dropdown-menu .dropdown-menu {
	/* background-color: #fff; */
	z-index: 1003;
}

/* 悬停时显示下拉菜单 */
/* .navbar-item:hover>.dropdown-menu,
.dropdown-item:hover>.dropdown-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
} */

/* 指示器箭头 */

.dropdown-item.has-dropdown>.dropdown-link::after {
	content: '\e61d';
	font-family: 'iconfont';
	font-weight: bold;
	display: inline-block;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 14px;
}

/* 汉堡菜单按钮 */
.navbar-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 21px;
	cursor: pointer;
}

.navbar-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: #ee2827;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.mobile-language{
	display: none;
}

/* 移动端样式 */
@media (max-width: 768px) {
	.navbar {
		background-color: #fff;
		padding: 0;
		height: 50px;
	}
	.navbar.nav-bgc{
		background-color: #fff;
	}
	.navbar-brand img{
		filter: brightness(1) invert(0);
	}
	.navbar-container{
		height: 50px;
		display: flex;
		align-items: center;
		position: relative;
		justify-content: center;
	}
	.navbar-toggle {
		display: flex;
		position: absolute;
		top: 50%;
		transform: translateY(-50%);
		left: 0;
	}
	.navbar-menu {
		position: fixed;
		top: 50px;
		left: 0;
		width: 100%;
		flex-direction: column;
		justify-content: flex-start;
		background-color: #fff;
		height: 0;
		overflow: hidden;
		transition: height 0.3s ease;
		padding: 20px;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		border-top: 1px solid #f2f2f2;
		margin-top: 0;
	}

	.navbar-menu.active {
		height: calc(100vh - 50px);
		overflow-y: auto;
		opacity: 1;
		visibility: visible;
		pointer-events: all;
	}

	.navbar-item {
		width: 100%;
		padding-bottom: 0;
	}
	.navbar-item + .navbar-item{
		margin-left: 0;
	}
	.navbar-item.nav-first{
		display: block;
	}
	.navbar-link {
		padding: 13px 20px 13px 0;
		color: #666;
		font-size: 14px;
		border-bottom: 1px solid #f2f2f2;
		position: relative;
		line-height: 24px;
		text-transform: uppercase;
	}
	.navbar.nvaprodl .navbar-link{
		color: #fff;
	}
	
	.navbar-link.on{
		color: var(--main-color);
		background-color: transparent;
	}
	.navbar-link:hover {
		color: var(--main-color);
		background-color: transparent;
	}

	/* 移动端下拉菜单 */
	.dropdown-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		height: 0;
		overflow: hidden;
		transition: height 0.3s ease;
		box-shadow: none;
		background-color: transparent;
		width: 100%;
		padding: 0 15px;
	}

	.dropdown-menu.active {
		height: auto;
	}

	.dropdown-item {
		border-bottom: 1px solid #f2f2f2;
	}
	.dropdown-link{
		padding: 13px 20px 13px 0;
		color: #333;
		border-bottom: 1px solid rgba(255, 255, 255, 0.4);
		line-height: 24px;
		position: relative;
		text-align: left;
	}
	.dropdown-link.active{
		color:var(--main-color);
	}

	/* 多级菜单在移动端的缩进 */
	.dropdown-menu .dropdown-menu {
		background-color: transparent;
	}

	.dropdown-menu .dropdown-menu .dropdown-menu {
		
	}

	/* 箭头指示器 */
	.navbar-item.has-dropdown>.navbar-link::before {
		/* content: '';
		width: 12px;
		height: 2px;
		position: absolute;
		background-color: #fff;
		right: 2px;
		top: 50%;
		transform: translateY(-50%); */
		content: '\e61d';
		font-family: "iconfont" !important;
		color: #666;
		font-size: 16px;
		position: absolute;
		right: 2px;
		top: 50%;
		transform: translateY(-50%);
		font-weight: bold;
		transition: 0.5s;
	}
	.navbar-item.has-dropdown.active>.navbar-link::before {
		transform: translateY(-50%) rotate(90deg);
	}
	/* .navbar-item.has-dropdown>.navbar-link::after,
	.dropdown-item.has-dropdown>.dropdown-link::after {
		content: '';
		width: 2px;
		height: 12px;
		position: absolute;
		background-color: #fff;
		right: 7px;
		top: 50%;
		transform: translateY(-50%);
		transition: 0.3s;
		
		content: '\e61d';
		font-family: "iconfont" !important;
		color: #666;
		font-size: 16px;
		position: absolute;
		right: 2px;
		top: 50%;
		transform: translateY(-50%);
		font-weight: bold;
		transition: 0.5s;
	} */

	/* .navbar-item.has-dropdown.active>.navbar-link::after, */
	.dropdown-item.has-dropdown.active>.dropdown-link::before {
		transform: rotate(90deg) translateY(-50%);
	}
	.navbar-item.no-dropdown > .navbar-link::after{
		content: '\e61d';
		font-family: "iconfont" !important;
		color: #666;
		font-size: 14px;
		position: absolute;
		right: 2px;
		top: 50%;
		transform: translateY(-50%);
		font-weight: bold;
		display: none;
	}
	.mobile-language{
		display: -webkit-box;
		display: -moz-box;
		display: -webkit-flex;
		display: -moz-flex;
		display: -ms-flexbox;
		display: flex;
		align-items: center;
		font-size: 14px;
		margin-top: 30px;
		color: #fff;
	}
	.mobile-language a{
		display: inline-block;
		margin: 0 10px;
		color: #fff;
	}
}