@import url("/public/newtuitui/css/newCss/main.css");
.main-header {
  height: 70px;
  background-color: #00a8d4;
  line-height: 70px;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 120;
}

.main-header .pb-bs {
  box-shadow: 0px 2px 5px rgba(51, 51, 51, 0.2);
  z-index: 100;
}

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

.main-header .header-content {
  width: 1230px;
  margin: 0 auto;
  display: flex;
  height: 100%;
  align-items: center;
}

.main-header .log {
  width: 138px;
  margin-right: 50px;
  display: flex;
  align-items: center;
  height: 100%;
}

.main-header .serarch-warp {
  width: 200px;
  margin-right: 30px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background-color: #fff;
  height: 30px;
  border-radius: 15px;
}

.main-header .serarch-warp input {
  border: none;
  font-size: 12px;
  display: block;
  width: 150px;
}

.main-header .login-warp .login-bar {
  color: #fff;
}

.main-header .login-warp .login-bar > a {
  color: #fff;
  margin: 0 5px;
}

.main-header .login-warp .userInfor {
  display: none;
  align-items: center;
}

.main-header .login-warp .userInfor .avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  position: relative;
}

.main-header .login-warp .userInfor .avatar:hover .user-handlelist {
  display: block;
}

.main-header .login-warp .userInfor .avatar::after {
  position: absolute;
  width: 40px;
  height: 20px;
  content: "";
  background: url("/public/newtuitui/img/icon-hy01.png") no-repeat 0 0;
  background-size: 100%;
  bottom: -6px;
  right: -23px;
}

.main-header .login-warp .userInfor .avatar img {
  border-radius: 50%;
  width: 100%;
}

.main-header .login-warp .userInfor .avatar .user-handlelist {
  position: absolute;
  width: 140px;
  background-color: #fff;
  line-height: 30px;
  left: 50%;
  transform: translateX(-50%);
  top: 40px;
  border-radius: 4px;
  padding: 16px;
  display: none;
}

.main-header .login-warp .userInfor .avatar .user-handlelist::after {
  border: 7px solid transparent;
  border-bottom-color: #fff;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
}

.main-header .login-warp .userInfor .avatar .user-handlelist li a {
  display: flex;
  align-items: center;
  color: #4d4d4d;
}

.main-header .login-warp .userInfor .avatar .user-handlelist li a:hover {
  color: #000;
}

.main-header .login-warp .userInfor .avatar .user-handlelist li a:hover i {
  color: #000;
}

.main-header .login-warp .userInfor .avatar .user-handlelist li a i {
  color: #717171;
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.main-header .login-warp .userInfor .avatar.vip-1::after {
  background-image: url("/public/newtuitui/img/icon-hy01.png");
}

.main-header .login-warp .userInfor .avatar.vip-2::after {
  background-image: url("/public/newtuitui/img/icon-hy02.png");
}

.main-header .login-warp .userInfor .avatar.vip-3::after {
  background-image: url("/public/newtuitui/img/icon-hy03.png");
}

.main-header .login-warp .userInfor .avatar.vip-4::after {
  background-image: url("/public/newtuitui/img/icon-hy04.png");
}

.main-header .login-warp .userInfor .history-warp {
  width: 22px;
  height: 22px;
  background: url("//photo.tuituisoft.com/picgo/20210122172118.png") no-repeat 0 0;
  background-size: 100%;
  margin-left: 39px;
  margin-right: 20px;
  position: relative;
}

.main-header .login-warp .userInfor .history-warp:hover .history-list {
  display: block;
}

.main-header .login-warp .userInfor .history-warp .history-list {
  width: 400px;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 3px;
  top: 33px;
  padding-top: 16px;
  display: none;
}

.main-header .login-warp .userInfor .history-warp .history-list .to-more {
  display: flex;
  background-color: #f3f3f3;
  align-items: center;
  justify-content: center;
  line-height: 30px;
}

.main-header .login-warp .userInfor .history-warp .history-list::after {
  border: 7px solid transparent;
  border-bottom-color: #fff;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
}

.main-header .login-warp .userInfor .history-warp .history-list .public-scroll {
  height: 400px;
  overflow-y: scroll;
  padding: 16px;
  padding-top: 0;
}

.main-header .login-warp .userInfor .history-warp .history-list .list-item {
  display: flex;
  line-height: 20px;
  margin-bottom: 20px;
}

.main-header .login-warp .userInfor .history-warp .history-list .list-item:last-child {
  margin-bottom: 0;
}

.main-header .login-warp .userInfor .history-warp .history-list .list-item:hover {
  background-color: #f4f4f4;
}

.main-header .login-warp .userInfor .history-warp .history-list .list-item .img-box {
  width: 40%;
  margin-right: 10px;
  height: 83px;
}

.main-header .login-warp .userInfor .history-warp .history-list .list-item .img-box img {
  border-radius: 4px;
  width: 100%;
}

.main-header .login-warp .userInfor .history-warp .history-list .list-item .desc {
  width: calc(60% - 10px);
  padding-top: 5px;
}

.main-header .login-warp .userInfor .history-warp .history-list .list-item .desc .detail {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.main-header .login-warp .userInfor .history-warp .history-list .list-item .desc .detail span {
  font-size: 12px;
  color: #ccc;
}

.main-header .login-warp .userInfor .msg-warp {
  color: #fff;
  position: relative;
  cursor: pointer;
}

.main-header .login-warp .userInfor .msg-warp span {
  color: #fff;
}

.main-header .login-warp .userInfor .msg-warp:hover .msg-list {
  display: block;
}

.main-header .login-warp .userInfor .msg-warp .count-tips {
  position: absolute;
  font-size: 10px;
  width: 20px;
  height: 20px;
  background-color: #f00;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  right: -12px;
  top: 8px;
}

.main-header .login-warp .userInfor .msg-warp .msg-list {
  position: absolute;
  width: 300px;
  background-color: #fff;
  left: calc(50% - 20px);
  transform: translateX(-50%);
  top: 53px;
  border-radius: 6px;
  margin: 0 16px;
  padding: 20px 0;
  line-height: 20px;
  padding-bottom: 0;
  display: none;
}

.main-header .login-warp .userInfor .msg-warp .msg-list ul {
  padding: 16px;
}

.main-header .login-warp .userInfor .msg-warp .msg-list ul li {
  width: 100%;
  margin-bottom: 10px;
}

.main-header .login-warp .userInfor .msg-warp .msg-list ul li:last-child {
  margin-bottom: 0;
}

.main-header .login-warp .userInfor .msg-warp .msg-list ul li a {
  display: block;
}

.main-header .login-warp .userInfor .msg-warp .msg-list .tit {
  text-align: center;
  border-bottom: 1px solid #eeeeee;
  color: #333;
  margin: 0 16px;
  padding-bottom: 10px;
}

.main-header .login-warp .userInfor .msg-warp .msg-list::after {
  border: 7px solid transparent;
  border-bottom-color: #fff;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
}

.main-header .login-warp .userInfor .msg-warp .msg-list .foot {
  background-color: #f3f3f3;
  text-align: center;
  padding: 10px 0;
  display: block;
}

.main-header .login-warp.islogin .login-bar {
  display: none;
}

.main-header .login-warp.islogin .userInfor {
  display: flex;
}

.main-header .nav-warp {
  flex: 1;
  display: flex;
}

.main-header .nav-warp .icon-xiala2 {
  color: #fff;
  display: inline-block;
  transition: .3s;
  margin-left: 2px;
}

.main-header .nav-warp .nav-item {
  display: block;
  padding: 0 12px;
  cursor: pointer;
  position: relative;
}

.main-header .nav-warp .nav-item::after {
  content: "";
  width: 15px;
  height: 20px;
  background: url("//photo.tuituisoft.com/picgo/20210122163311.png") no-repeat 0 0;
  position: absolute;
  right: 5px;
  top: 6px;
  background-size: 100% 100%;
  display: none;
}

.main-header .nav-warp .nav-item:hover > a {
  color: #fff;
  font-weight: 600;
}

.main-header .nav-warp .nav-item:hover > .icon-xiala2 {
  color: #fff;
  transform: rotate(180deg);
}

.main-header .nav-warp .nav-item:hover .child-list {
  display: block;
}

.main-header .nav-warp .nav-item > a {
  color: #fff;
  transition: 0.3s;
  font-size: 16px;
}

.main-header .nav-warp .nav-item > a:hover {
  color: #fff;
  font-weight: 600;
}

.main-header .nav-warp .nav-item.hot > a {
  color: #ffc95d;
}

.main-header .nav-warp .nav-item.hot::after {
  display: block;
}

.main-header .nav-warp .nav-item.active > a {
  color: #fff;
  font-weight: 600;
}

.main-header .nav-warp .child-list {
  position: absolute;
  padding: 0 20px;
  padding-top: 16px;
  width: 96px;
  box-shadow: 0px 2px 5px rgba(51, 51, 51, 0.2);
  border-radius: 6px;
  background-color: #fff;
  line-height: 20px;
  left: 50%;
  top: 50px;
  transform: translateX(-50%);
  display: none;
}

.main-header .nav-warp .child-list::after {
  border: 7px solid transparent;
  border-bottom-color: #fff;
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  content: "";
}

.main-header .nav-warp .child-list a {
  display: block;
  margin-bottom: 16px;
  color: #333;
}

.main-header .nav-warp .child-list a:hover {
  color: #00a8d4;
  text-decoration: underline;
}

.content-gray2 .curriculum-nav-cla-fix {
  top: 70px;
}
