﻿.header {
	width: 100%;
	background: #234382;
}

.header .top {
	width: 1280px;
	margin: 0 auto;
	padding: 18px 0 15px;
}

.header .top_nav,
.header .login2 ul span {
	float: left;
}

.header .search,
.header .login2 {
	float: right;
}

.header .search:hover {
	opacity: .7;
}

.header .top_nav li,
.header .login2 li {
	float: left;
	padding: 0 20px;
	border-right: 1px solid #fff;
	border-color: rgba(255, 255, 255, .7);
}

.header .top_nav li:first-child,
.header .login2 li:first-child {
	/* padding-left: 0; */
}

.header .top_nav li:last-child {
	/* padding-right: 0; */
	border: none;
}

.header .top_nav li a,
.header .login2 a {
	color: #fff;
	font-size: 14px;
	opacity: 0.7;
	font-weight: bold;
	font-family: Microsoft YaHei;
}

.header .top_nav li.active {
	position: relative;
}

.header .top_nav li.active::after {
	content: '';
	width: 22px;
	height: 2px;
	border-radius: 15px;
	background: #fff;
	position: absolute;
	top: -9px;
	left: 50%;
	transform: translateX(-50%);
}

.header .top_nav li.active a {
	opacity: 1;
}

.header .top_nav li a:hover,
.header .login2 li:hover a {
	opacity: 1;
}

.header .login2 {
	margin-right: 20px;
}

.header .search .search_but {
	border: none;
	display: block;
	width: 28px;
	height: 28px;
	background: url(https://www.jst-hosp.com.cn/Sites/Uploaded/UserUpLoad/20210512/20210512101032.png) no-repeat center center;
	margin-top: -5px;
	padding: 7px;
	border: 1px solid #fff;
	border-radius: 50%;
	cursor: pointer;
}

.mob_item {
	display: none;
}

@media only screen and (max-width:768px) {
	.header .top {
		width: 100%;
		box-sizing: border-box;
	}

	.header .search,
	.header .login2,
	.pc_item,
	.header .top_nav li.active::after {
		display: none;
	}

	.mob_item {
		display: flex;
		width: 100%;
		margin-bottom: 10px;
	}

	.mob_item:last-of-type {
		margin-bottom: 0;
	}

	.header .top_nav {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		float: none;
	}
} 