.menu {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}

// .resize-left-content {
//   height: calc(100vh - 80px);
//   overflow-y: auto;
//   overflow-x: hidden;
// }
.new-layout {
  margin: 16px;
  padding: 0 50px 20px;
  // background: #ffffff;
}
.newindex-layout {
  box-sizing: border-box;
  // min-width: 1024px
}
.newindex-content {
  padding: 20px;
}
.newindex-footer {
  background: #f2f2f2 !important;
  height: 50px;
}
.new-suspense {
  margin: 50% auto;
  text-align: center;
}
.new-chart-wrapper {
  margin: 4vh auto;
  width: 90vw;
  height: 720px;
}

.newpage-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 100;
  height: 64px !important;
  padding: 0 88px !important;
  line-height: 64px !important;
  // min-width: 1024px;
  background: linear-gradient(180deg, #ffe5cf 0%, #f2f2f2 100%);
}
.mobile-newpage-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  z-index: 100;
  min-width: auto;
  padding: 0 20px !important;
  height: 64px !important;
  line-height: 64px !important;
}
.newpage-mobile-header {
  height: 100%;
  :global {
    .newpage-mobile-menu-wrapper {
      height: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .mobile-menu-icon {
        color: #ffffff;
        float: right;
        font-size: 24px;
      }
      .mobile-menu-person-img {
        width: 28px;
        height: 28px;
        border-radius: 50%;
      }
    }
    .newpage-mobile-menu-list {
      position: absolute;
      top: 64px;
      left: 0;
      right: 0;
      background: linear-gradient(180deg, #ffe5cf 0%, #f2f2f2 100%);
      // color: #ffffff;
      padding: 10px 0;
      .mobile-search {
        padding: 5px 10px;
        .mobile-search-reset {
          height: 30px;
          line-height: 30px;
          color: #333333;
        }
      }
      .mobile-header-item {
        font-size: 16px;
        line-height: 20px;
        padding: 5px 10px;
        margin: 5px 10px;
        .mobile-login2p-btn {
          border-radius: 27px !important;
          width: 85px;
          height: 30px;
        }
      }
      .mobile-header-act {
        background: #3385ff;
        border-radius: 20px;
      }
      .mobile-center-wrapper {
        font-size: 16px;
        line-height: 20px;
        padding: 5px 10px;
        margin: 0 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .mobile-person-img {
          width: 28px;
          height: 28px;
          border-radius: 50%;
          display: inline-block;
          vertical-align: middle;
        }
        .mobile-person-name {
          display: inline-block;
          vertical-align: middle;
          margin-left: 10px;
        }
      }
      .mobile-person-content {
        display: block;
        background: #edeff6;
        color: #333333;
        padding: 5px 15px;
        .mobile-person-phone,
        .mobile-person-company {
          font-size: 16px;
          line-height: 20px;
        }
        .mobile-person-power {
          display: flex;
          justify-content: flex-start;
          flex-wrap: wrap;
          .mobile-person-power-one {
            border: 1px solid #376cbb;
            border-radius: 4px;
            color: #376cbb;
            padding: 4px 8px;
            line-height: 14px;
            margin-right: 10px;
            margin-top: 5px;
          }
        }
      }
    }
  }
}
.logo-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-right: 60px;
}
.headerLogo {
  width: auto;
  height: 40px;
}
.header-text {
  color: #ffffff;
  font-size: 18px;
  vertical-align: middle;
  user-select: none;
  white-space: nowrap;
}
.header-menu-wrapper {
  display: flex;
  color: rgba(255, 255, 255, 0.8);
  margin-right: 40px;
}
.header-item {
  padding: 0 20px;
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  &:hover {
    &::after {
      content: '';
      width: 100%;
      height: 3px;
      background: #faa12f;
      position: absolute;
      bottom: 0;
      left: 0;
    }
  }
}
.header-act {
  color: #ffffff;
  background: #000f1d;
  font-weight: bold;
}
.header-underline {
  position: relative;
  &::after {
    content: '';
    width: 100%;
    height: 3px;
    background: #faa12f;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}

.search-header-max {
  max-width: 939px;
  margin: 0 auto;
}
.reset-padding {
  padding: 0 !important;
}
.center-wrapper {
  position: relative;
  &:hover {
    :global {
      .person-center-wrapper {
        display: block;
      }
    }
  }
  :global {
    .header-avatar {
      width: 42px;
      height: 42px;
      display: inline-block;
      margin-top: -3px;
      margin-left: 20px;
      cursor: pointer;
    }
    .person-center-wrapper {
      display: none;
      position: absolute;
      top: 60px;
      right: 0;
      width: 262px;
      box-sizing: border-box;
      background: #ffffff;
      border: 1px solid #ededed;
      box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.08);
      border-radius: 8px;
      padding: 20px 20px 10px 20px;
      color: #333333;
      .person-wrapper {
        display: flex;
        .person-img {
          width: 54px;
          height: 54px;
          background: #d9d9d9;
          margin-right: 16px;
          border-radius: 50%;
        }
        .person-content {
          flex: 1;
          .person-name {
            font-size: 16px;
            font-weight: bold;
            line-height: 16px;
          }
          .person-phone {
            margin-top: 10px;
            color: #666666;
            line-height: 14px;
          }
          .person-company {
            margin-top: 6px;
            color: #666666;
            line-height: 14px;
          }
        }
      }
      .person-power-wraper {
        line-height: 14px;
        margin-top: 20px;
        color: #999999;
        .person-haspower {
          display: flex;
          align-items: flex-start;
        }
        .hightlight-text {
          color: #faa12f;
        }
        .person-haspower-label {
          line-height: 14px;
          padding: 2px 10px;
          border-radius: 4px;
          color: #faa12f;
          border: 1px solid #faa12f;
          word-break: keep-all;
        }
        .person-haspower-text {
          line-height: 20px;
          margin-left: 5px;
        }
        .person-nopower {
          text-align: center;
          .person-nopower-btn {
            width: 70px;
            height: 28px;
            text-align: center;
            line-height: 28px;
            border-radius: 4px;
            background: #faa12f;
            color: #ffffff;
            margin: 10px auto 0 auto;
          }
        }
      }
      .person-vip-card-wrapper{
        width: 222px;
        height: 87px;
        margin: 10px auto 0 auto;
        position: relative;
        .person-vip-card-img{
          width: 100%;
          height: 100%;
        }
        .person-vip-timetext{
          color:#F1A84A;
          line-height: 20px;
          position: absolute;
          bottom: 15px;
          left: 18px;
        }
      }
      .divide-line {
        margin: 20px 0 10px 0;
        width: 100%;
        border-top: 1px solid #ededed;
      }
      .person-line {
        width: 100%;
        border-radius: 8px;
        padding: 10px;
        line-height: 14px;
        cursor: pointer;
        &:hover {
          background: #faa12f;
          color: #ffffff;
        }
      }
    }
  }
}

.login2p-btn {
  display: inline-block;
  margin-left: 17px;
  border-radius: 27px !important;
  width: 85px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  color: #ffffff;
}
.login-title {
  color: rgba(0, 0, 0, 0.85);
  font-weight: 600;
  font-size: 20px;
  line-height: 32px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 16px 24px 16px 0;
}
.home-chart-wrapper {
  margin: 4vh auto;
  width: 90vw;
  height: 720px;
}
.qrcode-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 20px;
  &:hover {
    :global {
      .qrcode-box {
        display: flex;
      }
    }
  }
  :global {
    .qrcode-img {
      width: 36px;
      height: 36px;
      cursor: pointer;
    }
    .qrcode-box {
      display: none;
      position: absolute;
      top: 40px;
      right: 0;
      width: 450px;
      box-sizing: border-box;
      background: #ffffff;
      border: 1px solid #ededed;
      box-shadow: 0px 2px 11px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      padding: 40px 60px;
      justify-content: space-between;
      .qrcode-smbox {
        max-width: 156px;
        line-height: 22px;
        text-align: center;
        .qrcode-code {
          width: 122px;
          height: 122px;
          margin-bottom: 5px;
        }
      }
    }
  }
}

@media screen and (max-width: 1280px) {
  .newpage-header {
    padding: 0 30px !important;
  }
}
// @media screen and (max-width: 1024px) {
//   .newindex-layout {
//     min-width: 1024px;
//   }
//   .newpage-header {
//     min-width: 1024px;
//   }
// }

@media screen and (max-width: 820px) {
  .new-layout {
    margin: 8px;
    padding: 0px 20px 10px;
  }
  .newindex-layout {
    min-width: auto;
    padding: 15px;
  }
  .newpage-header {
    padding: 0 20px !important;
  }

  .new-chart-wrapper {
    margin: 8vh auto;
    height: 516px;
  }
  .newindex-content {
    padding: 0px;
  }
  // .newpage-web-header {
  //   display: none !important;
  // }
  // .newpage-mobile-header {
  //   display: block;
  // }
}
