#head-container {
  height: 176px;
  &.head-without-menu {
    height: 88px;
    .vue-affix {
      .head-container {
        height: 88px;
        .head-content {
          .head-main {
            flex-basis: 88px;
          }
        }
        .head>.logo {
          height: 88px;
        }
      }
    }
  }
  .vue-affix {
    z-index: 99;
    position: fixed !important;
    top: 0 !important;
    .head-container {
      height: 176px;
      background: linear-gradient(180deg, #ffffff 0%, #f3f7ff 100%);
      .head-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        .head-main {
          flex: 0 0 120px;
          min-width: 0;
        }
      }
      .head {
        min-width: 0;
        &>.logo {
          height: 120px;
          width: 500px;
          max-width: 500px;
          cursor: pointer;
          display: flex;
          align-items: center;
          flex-shrink: 0;
          margin-right: 28px;
          img {
            display: block;
            width: 420px;
            max-width: 100%;
            height: auto;
            object-fit: contain;
          }
        }
        >.scale-logo {
          >img {
            width: 440px;
            max-height: 86px;
            max-width: 100%;
          }
        }
      }
      .menu {
        position: relative;
        flex: 0 0 56px;
        min-height: 56px;
        box-sizing: border-box;
        background: transparent;
        &:before {
          content: '';
          position: absolute;
          z-index: 0;
          top: 0;
          bottom: 0;
          left: 50%;
          width: 100vw;
          transform: translateX(-50%);
          background: linear-gradient(105deg, #6574ff 0%, #3b82f6 55%, #2296ee 100%);
          box-shadow: 0 5px 16px rgba(37, 99, 235, .18);
        }
        ul {
          position: relative;
          z-index: 1;
          height: 56px;
          list-style: none;
          margin: 0;
          padding: 0;
          display: flex;
          align-items: stretch;
          justify-content: space-between;
          &>li {
            flex: 1 1 0;
            a {
              display: flex;
              align-items: center;
              justify-content: center;
              min-width: 0;
              height: 56px;
              line-height: 56px;
              padding-left: 10px;
              padding-right: 10px;
              cursor: pointer;
              color: rgba(255, 255, 255, .88);
              font-size: 16px;
              text-decoration: none;
              white-space: nowrap;
              transition: color .2s, background-color .2s;
              i {
                color: rgba(255, 255, 255, .72);
                font-size: 14px;
                vertical-align: 2px;
              }
              &:hover {
                color: #fff;
                background-color: rgba(255, 255, 255, .1);
                i {
                  color: #fff;
                }
              }
            }
            &.is-active {
              a {
                position: relative;
                color: #fff;
                font-weight: 600;
                background-color: rgba(255, 255, 255, .14);
                &:after {
                  content: '';
                  position: absolute;
                  left: 25%;
                  right: 25%;
                  bottom: 0;
                  height: 3px;
                  border-radius: 2px 2px 0 0;
                  background-color: #fff;
                }
              }
            }
            &+li {
              margin-left: 0;
            }
          }
        }
      }
      .tail {
        flex-shrink: 0;
        &>.search {
          .el-input {
            width: 400px;
            .el-input__inner {
              width: 356px;
              height: 42px;
              font-size: 14px;
              line-height: 40px;
              border-top-left-radius: 2px;
              border-bottom-left-radius: 2px;
              border-right: none;
            }
            .el-input-group__append {
              width: 44px;
              text-align: center;
              border-top-right-radius: 2px;
              border-bottom-right-radius: 2px;
              background-color: @primaryColor;
              border-color: @primaryColor;
              padding: 0;
              .el-button {
                color: #fff !important;
                background-color: transparent!important;
                border-color: transparent!important;
              }
            }
          }
        }
        &>.user {
          margin-left: 15px;
          &>.user-info {
            .el-button {
              color: #333333 !important;
              font-size: 20px;
            }
            .el-badge {
              margin-left: 6px;
              .el-badge__content {
                margin-top: 5px;
              }
            }
            .head-portrait {
              margin-left: 18px;
              display: block;
              width: 36px;
              height: 36px;
              background: center no-repeat #EEEEEE;
              background-size: cover;
              border-radius: 50%;
            }
          }
          &>.user-into {
            ul {
              list-style: none;
              margin: 0;
              padding: 0;
              &>li {
                .el-button {
                  color: #333333 !important;
                  font-size: 13px;
                  &.btn-login:hover {
                    color: @primaryColor !important;
                  }
                  &.btn-register:hover {
                    color: @primaryColor !important;
                  }
                }

                &+li {
                  position: relative;
                  padding-left: 12px;
                  margin-left: 12px;
                  &:before {
                    content: '';
                    position: absolute;
                    left: -1px;
                    top: 50%;
                    width: 1px;
                    height: 12px;
                    margin-top: -6px;
                    background-color: #CCCCCC;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

@media (max-width: 980px) and (min-width: 761px) {
  #head-container {
    .vue-affix {
      .head-container {
        .head>.logo {
          width: 350px;
          max-width: 350px;
          margin-right: 16px;
          img,
          &.scale-logo>img {
            width: 330px;
            max-width: 100%;
            max-height: 68px;
          }
        }
        .tail>.search .el-input {
          width: 214px;
          .el-input__inner {
            width: 170px;
          }
        }
        .menu ul>li a {
          min-width: 0;
          padding-left: 6px;
          padding-right: 6px;
          font-size: 14px;
        }
      }
    }
  }
}
.questionnaireDialog{
  border-radius: 20px !important;
  .el-dialog__header{
    border-bottom: 1px dashed #DCDFE6;
    font-size: 16px;
    font-family: PingFang SC-Bold, PingFang SC;
    font-weight: bold;
    color: #303133;
  }
  .thi-type{
    display: flex;
    align-items: center;
    img{
      width: 15px;
      height: 15px;
      margin-right: 8px;
    }
  }
  .el-dialog__body{
    padding: 0;
  }
  .content-wrap{
    .content{
      font-size: 18px;
      font-family: Source Han Sans CN-Medium, Source Han Sans CN;
      color: #333333;
      padding: 29px 24px 0;
    }
    .btn-wrap{
      display: flex;
      justify-content: center;
      padding: 58px 24px 31px;
      .el-button{
        padding: 9px 80px;
      }
    }

  }
}
.noticeMessageDialog{
  border-radius: 20px !important;
  .el-dialog__body{
    padding: 0px 5px;
    .noticeMessageDialogContent{
      min-height: 500px;
      max-height: 500px;
      overflow-y: auto;
      background-color: #fff;
      .detail-main {
        padding: 15px;
        box-sizing: border-box;
        &>.header {
          &>.title {
            font-size: 24px;
          }
          &>.detail {
            margin-top: 10px;
            display: flex;
            align-items: center;
            .publisher,
            .publish-date {
              font-size: 12px;
              &>.label {
                color: #909399;
              }
              &>.value {
                color: #606266;
              }
            }
            .publish-date {
              margin-left: 60px;
            }
          }
        }
        &>.main-cont {
          border-top: 1px solid #f5f7fa;
          padding-top: 10px;
          margin-top: 10px;
          .content {
            word-break: break-all;
            word-wrap: break-word;
            line-height: 1.5;
            p {
              margin: 0!important;
            }
          }
        }
      }
    }
  }
}
.head-more-popup-menu {
  margin-top: -10px!important;
  padding: 0!important;
  .el-dropdown-menu__item {
    width: 140px;
    font-size: 15px;
    text-align: center;
    line-height: 56px;
    &:hover {
      color: @primaryColor!important;
      background-color: transparent!important;
    }
    &+.el-dropdown-menu__item {
      border-top: 1px solid #EEEEEE;
    }
  }
  .popper__arrow {
    display: none!important;
  }
}
.head-user-info-popper {
  //width: 264px;
  padding: 18px!important;
  box-sizing: border-box;
  .user-info-wrap {
    &>.info-body {
      &>.head {
        .head-portrait {
          display: block;
          width: 58px;
          height: 58px;
          background: center no-repeat #EEEEEE;
          background-size: cover;
          border: 2px solid #fff;
          border-radius: 50%;
        }
        .true-name {
          margin-left: 10px;
          color: @primaryColor;
          font-size: 16px;
          font-weight: bold;
        }
      }
      &>.tail {
        .el-button {
          color: #999999 !important;
          font-size: 12px;
          padding: 0;
          &.btn-logout {
            margin-bottom: 4px;
          }
        }
      }
    }
    &>.info-foot {
      margin-top: 24px;
      white-space: nowrap;
      .info-menu {
        .el-button {
          width: 100%;
        }
      }
      .el-button {
        font-size: 13px;
        padding: 6px 12px;
        color: #606266 !important;
        i {
          margin-right: 6px;
          color: @primaryColor !important;
          vertical-align: -1px;
        }
        &:hover,
        &:focus {
          color: @primaryColor !important;
        }
        &+.el-button {
          margin-left: 15px;
        }
      }
    }
  }
}
.head-user-info-dialog {
  &.el-dialog {
    &>.el-dialog__header {
      border-top: 3px solid @primaryColor;
      .el-dialog__headerbtn {
        top: 16px;
        right: 16px;
        .el-dialog__close {
          font-size: 26px;
        }
      }
    }
    &>.el-dialog__body {
      padding: 10px 50px 40px;
      .el-form {
        .el-form-item {
          margin-bottom: 20px;
          .el-input {
            .el-input__inner {
              border-color: #F7F8FA;
              background-color: #F7F8FA;
            }
            .el-input__suffix-inner {
              .el-button {
                font-size: 13px;
                padding-left: 12px;
                padding-right: 12px;
              }
            }
          }
        }
      }
      .tip-group {
        color: #CCCCCC;
        font-size: 12px;
        .el-button {
          color: #333333;
          &+.el-button {
            margin-left: 25px;
          }
        }
      }
      .head-login {
        &>.header {
          .menus {
            &>.menu {
              position: relative;
              font-size: 16px;
              cursor: pointer;
              &.is-active {
                font-weight: bold;
                &:after {
                  content: '';
                  position: absolute;
                  left: 50%;
                  bottom: -8px;
                  width: 18px;
                  height: 4px;
                  margin-left: -9px;
                  background-color: @primaryColor;
                  border-radius: 2px;
                }
              }

              &+.menu {
                margin-left: 40px;
              }
            }
          }
        }
        .main {
          margin-top: 40px;
        }
        .footer {
          padding-top: 10px;
        }
        .wechat-login {
          margin-top: 26px;
          text-align: center;
          display: flex;
          justify-content: center;
          align-items: center;
          .line-span {
            display: inline-block;
            height: 1px;
            width: 50px;
            background-color: #EEEEEE;
          }
          .qr-code-a {
            padding: 0 16px;
            text-decoration: none;
            cursor: pointer;
            .icon-weixin {
              color: #00C800;
              font-size: 26px;
              vertical-align: middle;
            }
            span {
              color: #333;
              vertical-align: middle;
              font-size: 12px;
              padding-left: 4px;
            }
          }
        }
        .manager-login {
          margin-top: 15px;
          text-align: center;
          display: flex;
          justify-content: center;
          align-items: center;
          a {
            color: #1D93FE;
            text-decoration: none;
            font-size: 13px;
            span {
              vertical-align: middle;
            }
            img {
              width: 16px;
              vertical-align: middle;
              padding-left: 2px;
            }
          }
        }
      }
      .head-register,
      .head-forget-pwd {
        &>.header {
          &>.title {
            position: relative;
            font-size: 16px;
            font-weight: bold;
            &:after {
              content: '';
              position: absolute;
              left: 50%;
              bottom: -8px;
              width: 18px;
              height: 4px;
              margin-left: -9px;
              background-color: @primaryColor;
              border-radius: 2px;
            }
          }
        }
        .main {
          margin-top: 40px;
        }
        .footer {
          padding-top: 10px;
        }
      }
      .agreement {
        font-size: 14px;
        .agree{
          color: #ccc;
        }
        .andConnector{
          color: #ccc;
        }
        .registration{
          color: #1D93FE;
          cursor: pointer;
        }
        .privacy{
          color: #1D93FE;
          cursor: pointer;
        }
      }
    }
  }
}
.confirmButton {
  color: #fff !important;
}
.home-cart-flyer {
  position: fixed;
  z-index: 3000;
  pointer-events: none;
  background: center / cover no-repeat #EEEEEE;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
  transform-origin: center;
  transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity 1s ease;
}
.head-cart-dialog {
  &.el-dialog {
    max-width: calc(100% - 20px);
    margin-top: 5vh !important;
    &>.el-dialog__body {
      padding: 0;
    }
    &>.el-dialog__header {
      padding: 0;
    }
    .el-dialog__headerbtn {
      z-index: 1;
      top: 18px;
      right: 20px;
    }
  }
  .head-cart-iframe {
    display: block;
    width: 100%;
    height: 760px;
    max-height: 88vh;
    border: 0;
  }
}
@media screen and (max-width: 768px) {
  .head-cart-dialog {
    &.el-dialog {
      width: calc(100% - 20px) !important;
      margin-top: 3vh !important;
    }
    .head-cart-iframe {
      height: 74vh;
    }
  }
}
.el-dialog__wrapper .el-dialog__title {
  color: @primaryColor;
}
.update-account-model {
  .account-content {
    .describe-message {
      color: #606266;
      font-size: 16px;
      line-height: 30px;
    }
    .user-account {
      position: relative;
      margin-top: 30px;
      font-size: 14px;
      input {
        -webkit-appearance: none;
        background-color: #FFF!important;
        background-image: none;
        border-radius: 4px;
        border: 1px solid #DCDFE6;
        border-color: #DCDFE6!important;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        color: #606266;
        display: inline-block;
        font-size: inherit;
        height: 40px;
        line-height: 40px;
        outline: 0;
        padding: 0 15px;
        -webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
        transition: border-color .2s cubic-bezier(.645,.045,.355,1);
        width: 100%;
      }
    }
  }
  .account-foot {
    margin-top: 50px;
    text-align: right;
    .cancel-btn {
      color: #1D93FE;
      border-color: #369ffe;
      background-color: rgba(29, 147, 254, 0.05);
      outline: 0;
    }
    .summit-btn {
      margin-left: 10px;
      color: #fff;
      border-color: #1D93FE;
      background-color: #1D93FE;
    }
    button {
      font-size: 12px;
      border-radius: 3px;
      padding: 10px 20px;
    }
  }
}
