@charset "UTF-8";
@import url(quickSearch.css);

.topNav {
  width: 100%;
  box-sizing: border-box;
  border-top: 3px solid #fff;
  height: 90px;
  /*从上往下线性渐变背景*/
  background: linear-gradient(#9c266e 0%, #9c266eEE 20%, #9c266e99 60%, transparent);
  box-sizing: border-box;
  font-size: 18px;
  color: white;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: center;

}

.topNav .mid {
  transition: .2s;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  pointer-events: none;
}

.topNav .mid .logo a {
  pointer-events: auto;
}

/* ---------------------------------------- */
.topNav .mid .logo {
  margin: 0 50px;
  border-radius: 100%;
  background-color: white;
  box-shadow: 0 11px 33px 0 #00000011;
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  transition: 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  transform: translateY(-70px);
  padding-top: 160px;
}

.topNav .mid .logo a:hover .logo-img {
  filter: saturate(100) brightness(1.3);
}

.topNav .mid .logo .logo-img {
  transition: 0.2s;
  /* width: 152px;
  height: 109px; */
  width: 130px;
  height: 100px;
  /*背景图片*/
  background: transparent url("../images/topNav/logo.png") no-repeat center / contain;
}

.topNav .mid .logo:hover {}

.topNav .mid .logo:hover .logo-img {
  background-image: url("../images/topNav/logo.png");
  filter: revert;
}


/* ---------------------------------------- */
.topNav .left,
.topNav .right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.topNav .left.mobile,
.topNav .right.mobile {
  display: none;
}

.topNav .left.mobile .logo {
  transition: .2s;
  width: 200px;
  height: 40px;
  object-position: center left;
  object-fit: contain;
  /*背景图片*/
  background: transparent url(../images/topNav/logo-mobile.png) no-repeat center / contain;
}

[isMobile] .topNav {
  background-color: #9c266e;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

[isMobile] .topNav[type="white"] .left .logo {
  background-image: url(../images/topNav/logo-mobile-purple.png);

}

[isMobile] .topNav>.pc {
  display: none;
}

[isMobile] .topNav .left.mobile {
  display: inline-flex;
  align-items: center;
}

[isMobile] .topNav .right.mobile {
  display: inline-flex;
}


.topNav .left>ul,
.topNav .right>ul {
  margin: auto;
  width: max-content;
  display: flex;
  align-items: center;
  height: 100%;
  width: 480px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topNav .left>ul>li,
.topNav .right>ul>li {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
  box-sizing: border-box;
  transition: 0.2s;
  font-size: 18px;
  /*文本阴影*/
  text-shadow: 0px 0px 10px #00000099;
  box-sizing: border-box;
  position: relative;
}

.topNav .left>ul>li>.text,
.topNav .right>ul>li>.text {
  transition: 0.618s;
  width: 120px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
}

.topNav .left>ul>li>.text a,
.topNav .right>ul>li>.text a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.topNav .left>ul>li .bt-line .topNav .right>ul>li .bt-line {
  pointer-events: none;
  transition: 0.2s;
  position: absolute;
  margin: auto;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 40px;
  height: 4px;
  background-color: transparent;
  opacity: 0;
}

.topNav .left>ul>li .bt-light,
.topNav .right>ul>li .bt-light {
  pointer-events: none;
  transition: 0.5s;
  position: absolute;
  margin: auto;
  bottom: -1px;
  width: 150px;
  height: 50px;
  overflow: hidden;
  opacity: 0;
}


.topNav .left>ul>li:hover .bt-light,
.topNav .right>ul>li:hover .bt-light {
  opacity: 1;
}

.topNav .left>ul>li:hover>.sub,
.topNav .right>ul>li:hover>.sub {
  opacity: 1;
  pointer-events: auto;
  transform: scaleY(1);
}

.topNav .left>ul>li[disabled],
.topNav .right>ul>li[disabled] {
  pointer-events: none;
  cursor: not-allowed;
}

.topNav .left>ul>li[active] .bt-light,
.topNav .right>ul>li[active] .bt-light {
  opacity: 1;
}

.topNav .left>ul>li>.sub,
.topNav .right>ul>li>.sub {
  z-index: 1;
  position: absolute;
  margin: auto;
  /* top: 100px; */
  top: 80px;
  width: max-content;
  opacity: 0;
  transition: 0.2s;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  background-color: white;
  box-shadow: 0 5px 20px 0 #00000022;
  color: #666;
  pointer-events: none;
  /*文本阴影*/
  text-shadow: none;
  border-radius: 10px;
  transform: scaleY(0.8);
  transform-origin: center top;
  border-top: 5px solid #9c266e;
}


.topNav .left>ul>li>.sub+.bt-line,
.topNav .right>ul>li>.sub+.bt-line {
  opacity: 0;
}

.topNav .left>ul>li>.sub::before,
.topNav .right>ul>li>.sub::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 11px;
  background-color: transparent;
  margin: auto;
  top: -11px;
  right: 0px;
  left: 0;
  z-index: -1;
}

.topNav .left>ul>li>.sub:after .topNav .right>ul>li>.sub:after {
  /* 向下的直角三角形箭头 */
  content: "";
  position: absolute;
  margin: auto;
  top: -10px;
  right: 0px;
  left: 0;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom-color: white;
}

.topNav .left>ul>li>.sub>li .topNav .right>ul>li>.sub>li {
  text-align: center;
  width: 100%;
  white-space: nowrap;
  color: #666;
  font-size: 14px;
  cursor: pointer;
}

/* .topNav .right>ul>li>.sub>li * {
  color: #666;
} */

.topNav .left>ul>li>.sub>li a,
.topNav .right>ul>li>.sub>li a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 15px 25px;
}

.topNav .left>ul>li>.sub>li:first-of-type,
.topNav .right>ul>li>.sub>li:first-of-type {
  border-radius: 10px 10px 0 0;
}

.topNav .left>ul>li>.sub>li:first-of-type[active],
.topNav .right>ul>li>.sub>li:first-of-type[active] {
  border-radius: 5px 5px 0 0;
}

.topNav .left>ul>li>.sub>li:last-of-type,
.topNav .right>ul>li>.sub>li:last-of-type {
  border-radius: 0 0 10px 10px;
}

.topNav .left>ul>li>.sub>li:last-of-type[active],
.topNav .right>ul>li>.sub>li:last-of-type[active] {
  border-radius: 0 0 10px 10px;
}

.topNav .left>ul>li>.sub>li:hover,
.topNav .right>ul>li>.sub>li:hover {
  background-color: #eee;
  color: #9c266e;
}

.topNav .left>ul>li>.sub>li[active],
.topNav .right>ul>li>.sub>li[active] {
  background-color: #9c266e;
  color: white;
  transition: 0.5s;
  pointer-events: none;
}

.topNav .right .search-btn {
  width: 30px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
  color: white;
  margin-right: 10px;
  font-size: 18px;
  /*文本阴影*/
  text-shadow: 0px 0px 10px #00000099;
  cursor: pointer;
  transition: 0.2s;
}

.topNav .right .search-btn img {
  transition: 0.2s;
  width: 18px;
  height: 18px;

  object-position: center;
  object-fit: contain;
}

.topNav .right .search-btn:hover img {
  font-size: 24px;
  transform: scale(1.2);
}

.topNav .right .menuBarBtn {
  transition: 0.2s;
  margin-left: 10px;
  width: 60px;
  height: 60px;
  /*背景图片*/
  background: #9c266e url("../images/mobile/menu.svg") no-repeat center/contain;
  background-size: 20px 20px;
  cursor: pointer;
  transition: 0.382s;
}

.topNav .right .menuBarBtn:active {
  transform: translate(1px, 1px);
  opacity: 0.618;
}

.topNav .right .menuBarBtn:hover {
  opacity: 0.618;
}

.topNav .right .screen-menu {
  position: fixed;
  width: 100vw;
  height: 100vh;
  left: 0;
  top: 0;
  background-color: #764079EE;
  transform: translateX(100%);
  transition: 0.2s ease;
  opacity: 0;
  pointer-events: none;
}

.topNav .right .screen-menu[show] {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0%);
}

.topNav .right .screen-menu .closeMenuBtn {
  background-color: white;
  color: #9c266e;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  border-radius: 88px;
  right: 10px;
  top: 10px;
  position: absolute;
  transition: 0.2s;
}

.topNav .right .screen-menu .closeMenuBtn img {
  width: 16px;
  height: 16px;
  object-position: center;
  object-fit: contain;
}

.topNav .right .screen-menu .closeMenuBtn:active {
  transform: translate(1px, 1px);
  opacity: 0.618;
}

.topNav .right .screen-menu .closeMenuBtn:hover {
  opacity: 0.618;
}

.topNav .right .screen-menu>.el-menu {
  margin-top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  color: white;
}

.topNav .right .screen-menu .el-menu::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  border-radius: 88px;
  background-color: #9c266e;
}

.topNav .right .screen-menu .el-menu .el-menu-item {
  font-size: 20px;
  cursor: pointer;
  transition: .2s;
}

.topNav .right .screen-menu .el-menu .el-menu-item span {
  width: 100%;
}

.topNav .right .screen-menu .el-menu .el-menu-item a {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  display: block;
}

.topNav .right .screen-menu .el-menu .el-menu-item:hover {
  background-color: #ffffff11 !important;
}

.topNav .right .screen-menu .el-menu .el-menu-item[active],
.topNav .right .screen-menu .el-menu .el-menu-item.is-active {
  background-color: #9c266e !important;
}

/* 二级菜单 */
.topNav .right .screen-menu .el-menu .el-submenu .el-menu .el-menu-item {}

.topNav .right .screen-menu .el-menu .el-submenu .el-menu .el-menu-item a {
  padding-left: 80px;
}

.topNav .right .screen-menu .el-menu .el-submenu .el-submenu__title {
  font-size: 20px;
  box-sizing: border-box;
  padding: 20px;
}

.topNav .right .screen-menu .el-menu .el-submenu .el-submenu__title i {
  color: white;
}

.topNav .right .screen-menu .el-menu .el-submenu .el-submenu__title:hover {
  background-color: #ffffff11 !important;
}

/* 一级菜单加粗  加箭头---------------------------------------- */
.topNav .right .screen-menu .el-menu>.el-menu-item,
.topNav .right .screen-menu .el-menu .el-submenu .el-submenu__title {
  font-weight: bold;
  display: flex;
  align-items: center;
}

.topNav .right .screen-menu .el-menu>.el-menu-item a:before,
.topNav .right .screen-menu .el-menu .el-submenu .el-submenu__title:before {
  content: "▶";
  color: currentColor;
  font-size: 12px;
  margin-right: 5px;

}


@media screen and (max-width: 1200px) {
  .right>ul>li>.text {
    width: 90px;
  }
}

@media screen and (max-width:1300px) {

  .topNav .left>ul,
  .topNav .right>ul {
    width: 360px;

  }

  .topNav .left>ul>li>.text,
  .topNav .right>ul>li>.text {
    width: 80px;
  }

  .topNav .mid .logo {
    margin: 0 20px;

  }
}



/*  顶部背景变成白色---------------------------------------- */
.topNav[type="white"] {
  color: #666;
  background: linear-gradient(#FFF 0%, #FFFFFFEE 20%, #FFFFFF99);
  box-shadow: 0 5px 20px 0 #00000022;
  /*遮罩模糊*/
  backdrop-filter: blur(5px);
}


.topNav[type="white"] .mid {}

.topNav[type="white"] .mid .logo {
  transform: translateY(-100px);
  padding-top: 200px;

}

.topNav[type="white"] .mid .logo .logo-img {
  transform: scale(0.8);
}

.topNav[type="white"] ul li {
  text-shadow: none;
}

.topNav[type="white"] ul li .bt-line {
  opacity: 1;
}

.topNav[type="white"] ul li .bt-light {
  display: none;
}

.topNav[type="white"] ul li[active] .text,
.topNav[type="white"] ul li:hover .text {
  color: #9c266e;
  font-weight: bold;
}

.topNav[type="white"] ul li[active] .text *,
.topNav[type="white"] ul li:hover .text * {
  color: #9c266e;
}

.topNav[type="white"] ul li[active] .bt-line,
.topNav[type="white"] ul li:hover .bt-line {
  background-color: #fff;
}

.topNav[type="white"] ul li[active]:not(:hover) .bt-line {
  opacity: 1;
}

.topNav[type="white"] .right .search-btn {
  color: #666;
  text-shadow: none;
  /*反色*/
  filter: invert(100%);
}

.topNav[type="white"] .right .search-btn:hover {
  color: #9c266e;
}



[isMobile] .topNav {
  padding: 0 20px;
  padding-right: 0;
  height: 60px;
}

[isMobile] .topNav .left .logo .logo-img {
  width: 30px;
  height: 30px;
}

[isMobile] .topNav .left .logo .text-img {
  width: 180px;
  height: 30px;
}

[isMobile] .topNav .right .screen-menu .el-menu span {
  font-family: AlimamaFangYuanTiVF-Thin;
}