a {
	text-decoration: none;
	color: #333;
}

body {
	background: #eff3f5;
}


/*头部*/

.main,
.headBox {
	margin: 0 auto;
	width: 1180px;
	font-size: 14px;
}

.headBox {
	line-height: 70px;
}

.headBox::after {
	content: "";
	display: block;
	clear: both;
}

.head {
	width: 100%;
	height: 70px;
	background: #fff;
	box-sizing: border-box;
	line-height: 70px;
}

.logo {
	display: block;
	width: 160px;
	height: 70px;
	line-height: 70px;
	float: left;
	padding: 15px 0 15px 0;
	box-sizing: border-box;
}
.logo img{
	width:auto;
	height: 100%;
	display: block;
}
.menu {
	float: right;
}

.menu p {
	float: left;
}

.login {
	margin-left: 20px;
}

.menu p>a,
.login>a {
	display: block;
	line-height: 66px;
	padding: 0 20px;
	border-top: 4px solid #fff;
	transition: border .2s;
	-moz-transition: border .2s;
	-webkit-transition: border .2s;
}



.login {
	float: right;
}
.userHead{
	display: block;
	padding:12px 25px 16px;
	position: relative;
	border-top: 4px solid transparent;
	cursor: pointer;
}
.userHead:hover .userMenu{
	display: block;
}
.userHead img{
	width: 38px;
	height: 38px;
	border-radius: 100%;
	display: block;
}
.redDot{
	width: 10px;
	height: 10px;
	border-radius: 100%;
	position: absolute;
	right: 24.5px;
    top: 11px;
}
.userMenu{
	position: absolute;
    width: 100px;
    background: #fff;
    z-index: 100;
    top: 66px;
    right: 0;
    display: none;
}
.userMenu p{
	line-height: 33px;
	height: 33px;
}
.menu>p>.aciveMenu{
	border-top: 4px solid #de6666;
	color: #de6666;
}
.userMenu p a{
	padding: 0;
	display: block;
	width: 90%;
	height: 100%;
	margin: 0 auto;
	text-align: center;
	color: #666666;
	font-size: 14px;
	border-bottom: 1px solid #eff3f5;
}

.userMenu p a span{
	font-size: 16px;
    color: #666;
    font-weight: bold;
    margin-right: 3px;
}
.userMenu p a:last-of-type{
	border: none;
}

.menu p>a:hover,
.login>a:hover,.userHead:hover {
	box-shadow: 0 0 2px rgba(0, 0, 0, .1);
	border-top: 4px solid #de6666;
}

.userMenu p:hover{
	box-shadow:0 0 10px 0px #dedede;
}
.userMenu p:hover a,.userMenu p:hover span{
	color: #de6666;
}
