/* 公共头部css */
.logo_text {
  margin-top: 15px;
  font-size: 36px;
  color: #fff;
  font-weight: 500;
}
.logo_text img {
  width: 180px;
  height: 46px;
  cursor: pointer;
}
/* 免费试用 */
.free_btn {
  padding-top: 25px;
  padding-right: 50px;
  height: 28px;
  line-height: 28px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 2px;
  position: relative;
  cursor: pointer;
  text-shadow: 1px 1px 2px rgba(128, 128, 128, 0.5);
  font-weight: 600;
}
.free_btn:after {
  position: absolute;
  content: "限时";
  right: 20px;
  top: 12px;
  padding: 0 6px 1px 6px;
  background: #ff3355;
  cursor: pointer;
  font-size: 12px;
  height: 16px;
  line-height: 16px;
  box-shadow: 1px 1px 2px 0px rgba(128, 128, 128, 0.5);
  border-radius: 2px;
}
/* 导航 */
#nav {
  height: 28px;
  margin-top: 20px;
  position: relative;
}
#nav li {
  margin-right: 50px;
  padding: 0 5px;
  margin-top: 10px;
  margin-bottom: 3px;
  cursor: pointer;
}
#nav li:last-child {
  margin-right: 0;
}

#nav .current a {
  font-weight: bold;
}
#nav li a {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
#nav li a.index {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 1);
  text-shadow: 1px 1px 6px rgba(77, 77, 77, 0.7);
}

.login {
  display: flex;
}
#nav .login {
  background: #fff;
  border-radius: 3px;
  margin: 5px 0 0 0;
  color: #242833;
  font-size: 16px;
  padding: 6px 12px 7px 12px;
  box-shadow: 1px 1px 6px 0px rgba(77, 77, 77, 0.7);
}
#nav .login:hover {
  background: #f5f8ff;
  box-shadow: 1px 1px 6px 0px rgba(77, 77, 77, 0.4);
}
#nav .login a {
  font-size: 16px;
  font-weight: 400;
  color: rgba(36, 40, 51, 1);
}
#nav li.user_center {
  margin-top: 5px;
  margin-bottom: 0;
  margin-right: 0;
  font-size: 14px;
  position: relative;
}
.user_center {
  display: flex;
}
.user_box {
  display: flex;
  align-items: center;
}
#nav a.user_box {
  font-size: 14px;
}
#nav li.user_center span {
  padding-right: 17px;
  position: relative;
}

.user_center .avatar {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
}
.logout {
  background: #fff;
  color: rgba(36, 40, 51, 1);
  font-size: 16px;
  border-radius: 3px;
  padding: 5px 12px;
  box-shadow: 1px 1px 6px 0px rgba(77, 77, 77, 0.7);
}
.logout:hover {
  background: #f5f8ff;
  box-shadow: 1px 1px 6px 0px rgba(77, 77, 77, 0.4);
}

.underline {
  width: 127px;
  height: 2px;
  background-color: #ffffff;
  position: absolute;
  bottom: -8px;
  left: 0px;
  transition: all 0.2s ease 0s;
}

/* 首页改版-10-27 */
.head_fixed {
  position: fixed;
  z-index: 9999;
  display: none;
  width: 100%;
  min-width: 1200px;
  height: 70px;
  background: #fff;
  box-shadow: 0px 0px 10px 0px rgba(220, 222, 230, 0.5);
}
.head_fixed #nav li a {
  font-weight: 400;
  color: #262629;
}
.head_fixed #nav li:hover a {
  color: #ff3355;
}
.head_fixed #nav li a.index {
  color: #ff3355;
  font-weight: 600;
  text-shadow: unset;
}
.head_fixed .underline {
  background: #ff3355;
}
.head_fixed #nav .login,
.head_fixed .logout {
  background: #ff3355;
  box-shadow: unset;
  color: #fff;
}
.head_fixed #nav .login a,
.head_fixed #nav .login:hover a {
  color: #fff;
}
.head_fixed #nav .login:hover,
.head_fixed .logout:hover {
  background: #f21339;
  box-shadow: unset;
}
.head_fixed .user_center .avatar {
  background: #ff3355;
}
