/* ************************导航栏************************ */
.layout__nav__bar {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 1200px;
  height: 66px;
  background-color: var(--bg-default-color);
  box-shadow: inset 0px -1px 0px 0px var(--border-default-color);
  /* display: flex;
  align-items: center; */
}

.layout__nav__bar .section__all {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.layout__nav__bar .slot__left {
  width: 248px;
  height: 36px;
  margin-right: 30px;
  cursor: pointer;
}

.layout__nav__bar .slot__left .web-logo img {
  width: 248px;
  height: 36px;
  cursor: pointer;
}

.layout__nav__bar .slot__mid {
  flex: 1;
  font-size: 16px;
}

.layout__nav__bar .slot__mid .nav-list {
  display: flex;
  /* justify-content: flex-start; */
  justify-content: space-around;
  align-items: center;
}

.layout__nav__bar .slot__mid .nav-item {
  position: relative;
  height: 66px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.layout__nav__bar .slot__mid .nav-item>a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.layout__nav__bar .slot__mid .nav-item:not(:last-child) {
  margin-right: 10px;
  /* margin-right: 22px; */
}

.layout__nav__bar .slot__mid .nav-item .dropdown-box {
  margin-left: -10px;
  padding: 5px 0;
  box-shadow: 0px 2px 4px 0px rgba(89, 89, 89, 0.5);

}

.layout__nav__bar .slot__mid .nav-item .dropdown-box a {
  display: inline-block;
  width: 100%;
  line-height: 14px;
  padding: 10px 15px 10px 10px;
  transition: all 0.5s;
  white-space: nowrap;
}

.layout__nav__bar .slot__mid .nav-item .dropdown-box a:hover {
  background-color: var(--theme-primary-color);
  color: var(--bg-default-color);
  transition: all 0.5s;
}

.layout__nav__bar .slot__mid .nav-item::after {
  position: absolute;
  content: ' ';
  width: 0;
  height: 4px;
  bottom: 0;
  left: 50%;
  z-index: 10;
  background-color: var(--theme-primary-color);
  transition: all 0.5s;
}

.layout__nav__bar .slot__mid .nav-item:hover::after {
  width: 100% !important;
  left: 0 !important;
  transition: all 0.5s !important;
}

.layout__nav__bar .slot__mid .nav-item .icon {
  display: inline-block;
  position: relative;
  transform: rotate(0);
  -webkit-transform: rotate(0);
  transition: all 0.3s;
}

.layout__nav__bar .slot__mid .nav-item:hover .icon {
  transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  transition: all 0.3s;
}

.layout__nav__bar .slot__mid .nav-item:hover .dropdown-box {
  display: block;
}

.layout__nav__bar .slot__right {
  width: 310px;
  margin-left: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.layout__nav__bar .slot__right .search-box {
  position: relative;
  width: 222px;
  height: 30px;
  padding-left: 8px;
  border-radius: 2px;
  border: 1px solid var(--theme-primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.layout__nav__bar .slot__right .search-box .hot-list {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  background-color: var(--bg-default-color);
  border-radius: 2px;
  box-shadow: 0 2px 7px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-default-color);
}

.layout__nav__bar .slot__right .search-box .hot-list a {
  display: block;
  /* width: 175px; */
  width: 432px;
  padding: 10px 8px;
  transition: all 0.3s;

}

.layout__nav__bar .slot__right .search-box .hot-list a:hover {
  color: var(--theme-primary-color);
  background-color: var(--bg-light-color);
  transition: all 0.3s;
}

.layout__nav__bar .slot__right .search-box .search-text {
  display: inline-block;
  /* width: 167px; */
  width: calc(432px - 66px - 12px);
  height: 30px;
  border-radius: 2px 0px 0px 2px;
  color: var(--text-main-color);
}

.layout__nav__bar .slot__right .search-box .dropdown-box {
  width: 167px;
}

.layout__nav__bar .slot__right .search-box .search-text::placeholder {
  font-size: 14px;
  color: var(--text-sub2-color);
  line-height: 14px;
}

.layout__nav__bar .slot__right .search-box .search-btn {
  width: 47px;
  height: 30px;
  background: var(--theme-primary-color);
  border-radius: 0px 2px 2px 0px;
  color: var(--bg-default-color);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}



.layout__nav__bar .slot__right .login-box {
  width: 30px;
  font-size: 14px;
  color: var(--theme-primary-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.layout__nav__bar .slot__right .logined-box {
  flex: 1;
  height: 66px;
}

.layout__nav__bar .slot__right .user-box {
  position: relative;
  flex: 1;
  height: 66px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.layout__nav__bar .slot__right .user-box .user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
}

.layout__nav__bar .slot__right .logined-box:hover .user-box .user-avatar {
  box-shadow: 0 0 7px 0 #AFD7FB;
  transition: all 0.3s;
}

.layout__nav__bar .slot__right .user-box .user-avatar img {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  object-fit: cover;
}

.layout__nav__bar .slot__right .user-box .user-info {
  position: absolute;
  flex-shrink: 0;
  width: 301px;
  height: 271px;
  top: 66px;
  right: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0px 2px 19px 0px #DCDCDC;
  border-radius: 4px;
  transition: all 0.3s;
  display: none;
  animation-name: animate__slidedown;
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

.layout__nav__bar .slot__right .user-box .user-info:not(.service) {
  background-image: url('https://info.compassedu.hk/pc/img/personal/login-bg-index-default.png?imageMogr2/auto-orient/thumbnail/x325>/blur/1x0/quality/10|imageslim');
}

.layout__nav__bar .slot__right .user-box .user-info.service {
  background-image: url('https://info.compassedu.hk/pc/img/personal/login-bg-index-light.png?imageMogr2/auto-orient/thumbnail/x325>/blur/1x0/quality/10|imageslim');
}

.layout__nav__bar .slot__right .user-box .user-info.service {
  height: 329px;
}

.layout__nav__bar .slot__right .logined-box:hover .user-box .user-info {
  display: block;
  transition: all 0.3s;
}

.layout__nav__bar .slot__right .user-box .user-info .detail-box {
  width: 300px;
  margin-bottom: 19px;
  padding: 0 15px;
  /* background-color: var(--bg-light-color); */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.layout__nav__bar .slot__right .user-box .detail-box .avatar {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  overflow: hidden;
  transition: all 0.3s;
  margin: 25px 0 10px;
}

.layout__nav__bar .slot__right .user-box .detail-box .name {
  height: auto;
  font-size: 16px;
}

.layout__nav__bar .slot__right .user-box .detail-box .avatar img {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  object-fit: cover;

}

.layout__nav__bar .slot__right .user-box .user-info .detail-box:hover .avatar {
  box-shadow: 0 2px 7px 0 #AFD7FB;
  transition: all 0.3s;
}

.layout__nav__bar .slot__right .user-box .user-info:not(.service) .detail-box:hover {
  color: var(--theme-primary-color);
  transition: all 0.3s;
}

.layout__nav__bar .slot__right .user-box .user-info.service .detail-box:hover {
  color: #F89D52 !important;
  transition: all 0.3s;
}

.layout__nav__bar .slot__right .user-box .user-info .link-box {
  width: 270px;
  height: 86px;
  margin: 0 auto;
  padding: 19px 20px;
  background-color: var(--bg-default-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0px 5px 13px 0px rgba(186,198,207,0.23);
  border-radius: 8px;
  backdrop-filter: blur(2px);
}

.layout__nav__bar .slot__right .user-box .user-info:not(.service) .link-box {
  margin-bottom: 14px;
}

.layout__nav__bar .slot__right .user-box .link-box .link-item {
  height: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  line-height: 14px;
  transition: all 0.3s;
}

.layout__nav__bar .slot__right .user-info:not(.service) .link-box .link-item:hover {
  color: var(--theme-primary-color) !important;  
  transition: all 0.3s;
}

.layout__nav__bar .slot__right .user-info.service .link-box .link-item:hover {
  color: #F89D52 !important;
  transition: all 0.3s;
}

.layout__nav__bar .slot__right .user-box .link-box .link-item .icon {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.layout__nav__bar .slot__right .user-box .service-entry {
  display: block;
  margin: 8px auto;
  width: 286px;
  height: 52px;
  background-image: url(https://info.compassedu.hk/mobile/new-logo/22.png?imageMogr2/auto-orient/thumbnail/576x112>/blur/1x0/quality/90|imageslim);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: all 0.3s ease;
}

.layout__nav__bar .slot__right .user-box .service-entry:hover {
  background-image: url(https://info.compassedu.hk/mobile/new-logo/31.png?imageMogr2/auto-orient/thumbnail/576x112>/blur/1x0/quality/90|imageslim);
  transition: all 0.3s ease;
}

.layout__nav__bar .slot__right .user-box .user-info .btn-box {
  position: relative;
  width: 100%;
  padding: 15px 0 19px;
  display: flex;
  justify-content: center;
  align-items: center;  
}

.layout__nav__bar .slot__right .user-box .user-info:not(.service) .btn-box {
  border-top: 1px solid #E0E4E8;
}

.layout__nav__bar .slot__right .user-box .user-info.service .btn-box::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-image: linear-gradient(45deg, rgba(249, 232, 222, 1), rgba(240, 205, 185, 1));
}

.layout__nav__bar .slot__right .user-box .btn-box a,
.layout__nav__bar .slot__right .user-box .btn-box div {
  position: relative;
  display: inline-block;
  text-align: center;
  font-size: 14px;
  line-height: 14px;
  text-shadow: 0px 2px 19px #DCDCDC;
  transition: all 0.3s;
  width: 50%;
}

.layout__nav__bar .slot__right .user-info:not(.service) .btn-box a:hover,
.layout__nav__bar .slot__right .user-info:not(.service) .btn-box div:hover {
  color: var(--theme-primary-color);
  transition: all 0.3s;
}


.layout__nav__bar .slot__right .user-info.service .btn-box a:hover,
.layout__nav__bar .slot__right .user-info.service .btn-box div:hover {
  color: #F89D52;
  transition: all 0.3s;
}

.layout__nav__bar .slot__right .user-info:not(.service) .btn-box .btn-setting {
  border-right: 1px solid #E0E4E8;
}

.layout__nav__bar .slot__right .user-info.service .btn-box .btn-setting {
  border-right: 1px solid #F0CDB9;
}

.dropdown-box {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-default-color);
  animation-name: animate__dropdown;
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

@keyframes animate__slide {
  0% {
    transform: translate3d(0, -30px, 0);
    opacity: 0.3;
  }

  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes animate__dropdown {
  0% {
    transform: translate3d(0, 30px, 0);
    opacity: 0.3;
  }

  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

/* 十周年 */
.tenyear .slot__mid{
  /* font-size: 14px; */
}

.tenyear .slot__mid .nav-item:not(:last-child) {
  margin-right: 24px;
}

.tenyear .slot__right {
  width: 275px;
}

.tenyear .slot__right .login-box {
  width: 28px;
}

.tenyear .slot__left {
  width: 234px;
  margin-right: 24px;
}

.tenyear .slot__left .web-logo {
  width: 234px;
  height: 36px;
  position: relative;
  display: block;
}

.tenyear .slot__left .web-logo::before {
  content: ' ';
  position: absolute;
  top: 2px;
  left: 169px;
  width: 1px;
  height: 32px;
  background-color: var(--theme-primary-color);
}

.tenyear .slot__left .web-logo::after {
  content: ' ';
  position: absolute;
  top: 0;
  right: 0;
  width: 49px;
  height: 36px;
  background-image: url('https://info.compassedu.hk/pc/img/layout/nav-tenyear4.png');
  background-size: 100% 100%;
}

/* 新增 */
.znz-pc-service {
  padding-top: 0 !important;
}
.layout__nav__bar__higher {
  height: calc(66px + 90px);
}

.layout__nav__bar__higher .section__all {
  flex-direction: column;
}

.layout__nav__bar__higher .slot__top {
  display: flex;
  height: 90px;
  /* width: 100%; */
  align-items: center;
  width: 1200px;
  margin: 0 auto;
}

.layout__nav__bar__higher .slot__top__box {
  width: 100%;
  position: relative;
  z-index: 9;
  background: #ffffff;
  height: 90px;
  border-bottom: 1px solid #E7E7E7;
}

.layout__nav__bar__higher .slot__top .slot__left {
  margin-right: 40px;
}

.layout__nav__bar__higher .slot__top .slot__right {
  /* width: 432px; */
  width: auto;
  flex: 1;
}

.layout__nav__bar__higher .slot__top .search-box {
  width: 432px;
  height: 42px;
  background: #FFFFFF;
  border-radius: 6px;
  border: 1px solid var(--theme-primary-color);
  padding-left: 12px;
}

.layout__nav__bar__higher .slot__top .slot__right .search-box .search-btn {
  width: 66px;
  height: 42px;
  border-radius: 6px;
}

.layout__nav__bar__higher .slot__top .slot__right .search-box .hot-list {
  width: 432px;
}

.layout__nav__bar__higher .slot__top .slot__right .call-phone {
  margin-left: 75px;
  font-weight: 500;
  font-size: 20px;
  color: #FF701A;
  line-height: 28px;
  font-family: PingFangSC-Medium, PingFang SC;
  display: flex;
  align-items: center;
}

.layout__nav__bar__higher .slot__top .slot__right .call-phone .call-phone-icon {
  width: 17px;
  height: 17px;
  margin-right: 11px;
}

.layout__nav__bar__higher .slot__top .slot__right .login-box {
  margin-left: 66px;
  width: 64px;
  height: 36px;
  background: var(--theme-primary-color);
  border-radius: 4px;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout__nav__bar__higher .slot__top .slot__right .logined-box {
  flex: none;
  height: 66px;
}

.layout__nav__bar__higher .slot__top .slot__right .user-box {
  justify-content: end;
}

.layout__nav__bar__higher .slot__mid {
  width: 100%;
  background: var(--theme-primary-color);
}

/* .layout__nav__bar__higher .slot__mid__service {
  width: 1200px;
  background: #ffffff;
} */

.layout__nav__bar__higher .slot__mid .nav-list {
  justify-content: space-between;
  width: 1200px;
  margin: 0 auto;
}

.layout__nav__bar__higher .slot__mid .nav-item>a {
  font-weight: 500;
  font-size: 20px;
  color: #FFFFFF;
  line-height: 16px;
  font-family: PingFangSC-Medium, PingFang SC;
}

.layout__nav__bar__higher .slot__mid .nav-item::after {
  position: absolute;
  content: ' ';
  width: 0;
  height: 4px;
  bottom: 0;
  left: 50%;
  z-index: 10;
  background: #FFFFFF;
  transition: all 0.5s;
}

.layout__nav__bar__higher .section__all {
  width: 100%;
  height: 66px;
}

.layout__nav__bar__higher .layout__nav__toggle {
  top: 90px !important;
  width: 1200px;
}