/* 头部 */
.overflow-one {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.head-bg {
  height: 61px;
  background: #FFFFFF;
  border-bottom: 1px solid #EEEEEE;
  font-family: "微软雅黑";
  box-sizing: border-box;
}
header {
  height: 60px;
  line-height: 60px;
  color: #424242;
}
header .container {
  padding: 0;
  width: 1200px;
  margin: 0 auto;
}
header a {
  color: #424242;
}
header h1 {
  font-size: 18px;
  font-weight: bold;
  margin-right: 70px;
  float: left;
  line-height: inherit;
  margin: 0 70px 0 0;
}
header nav a {
  padding: 0 9px;
  margin-right: 18px;
  height: 60px;
  float: left;
  transition: 0.2s;
}
header nav a:hover {
  color: #0072FF;
  text-decoration: none;
}
header nav .active {
  font-weight: bold;
  border-bottom: 4px solid #0072FF;
}
header .search {
  float: left;
  margin-left: 10px;
}
header .search input {
  width: 200px;
  height: 32px;
  border-radius: 20px;
  line-height: 32px;
  padding-left: 20px;
  outline: none;
  border: 1px solid #DDDDDD;
}
header .search input::-webkit-input-placeholder{
  color: #BBBBBB;
}
header .search input:-moz-placeholder {
  color: #BBBBBB;
}
header .search input::-moz-placeholder {
  color: #BBBBBB;
}
header .search input:-ms-input-placeholder {
  color: #BBBBBB;
}
header .search .search-btn {
  width: 60px;
  height: 32px;
  background: #0072FF;
  border-radius: 20px;
  text-align: center;
  margin-left: 6px;
  display: inline-block;
  line-height: 32px;
  cursor: pointer;
  transition: 0.2s;
  color: #fff;
}
header .search .search-btn:hover {
  opacity: 0.8;
}
header .login {
  width: 60px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid #DDDDDD;
  line-height: 30px;
  text-align: center;
  float: right;
  margin-top: 14px;
  cursor: pointer;
  transition: 0.2s;
}
header .login:hover {
  background: #0072FF;
  border-color: #0072FF;
  color: #fff;
}
header .after-login {
  float: right;
}
header .after-login a {
  margin-right: 20px;
  text-decoration: none;
}
header .after-login i {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}
header .after-login .notifications {
  background: url("/National_Library/oe_/https://ask.pdf365.cn/new_static/imgs/icon.png") -80px -20px;
}
header .after-login .notifications:hover {
  background: url("/National_Library/oe_/https://ask.pdf365.cn/new_static/imgs/icon.png") -50px -50px;
}
header .after-login .messages {
  background: url("/National_Library/oe_/https://ask.pdf365.cn/new_static/imgs/icon.png") -80px 0;
}
header .after-login .messages:hover {
  background: url("/National_Library/oe_/https://ask.pdf365.cn/new_static/imgs/icon.png") -10px -50px;
}
header .after-login .user-name {
  display: inline-block;
  height: 32px;
  border-left: 1px solid #EEEEEE;
  vertical-align: middle;
  line-height: 32px;
  max-width: 120px;
  position: relative;
}
header .after-login .user-name img {
  width: 32px;
  height: 32px;
  float: left;
  margin: 0 6px 0 20px;
  border-radius: 50%;
}
header .after-login .user-list-container {
  position: absolute;
  top: 32px;
  right: 0px;
  display: none;
  padding-top: 8px;
  z-index: 3;
}
header .after-login .user-name:hover .user-list-container {
  display: block;
}
header .after-login .user-list {
  width: 160px;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.15);
  box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  border-radius: 4px;
  padding: 5px 0 15px;
}
header .after-login .user-list li {
  height: 26px;
  line-height: 26px;
}
header .after-login .user-list li a {
  padding: 0 20px;
  color: #333;
  display: block;
  transition: 0.2s;
  width: 100%;
}
header .after-login .user-list li a:hover {
  background-color: #f5f5f5;
}
header .after-login .user-list li.logout {
  border-top: 1px solid #e5e5e5;
  padding-top: 9px;
  margin-top: 9px;
}
