.sidebar-wrap {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10000;
}

.sidebar-wrap .query {
  margin-left: -11px;
  margin-bottom: -4px;
  position: relative;
  height: 117px;
  width: 108px;
}

.sidebar-wrap .query .query-bg {
  position: relative;
  cursor: pointer;
}

.sidebar-wrap .query .query-bg img {
  height: 117px;
  width: 108px;
}

.sidebar-wrap .query .query-bg .btn {
  position: absolute;
  height: 20px;
  text-align: center;
  bottom: 14px;
  font-size: 14px;
  font-weight: 400;
  color: #2b2b2b;
  line-height: 20px;
  width: 100%;
}

.sidebar-wrap .query .query-bg:hover .btn {
  color: #4480fa;
}

.sidebar-wrap .query .query-mess {
  cursor: pointer;
}

.sidebar-wrap .query .query-mess .wave-wrap {
  z-index: 10;
  position: absolute;
  left: -2px;
  top: 3px;
}

.sidebar-wrap .query .query-mess .wave-wrap .wave-center {
  position: absolute;
  z-index: 1000;
}

.sidebar-wrap .query .query-mess .wave-wrap .wave-center img {
  height: 26px;
  width: 26px;
}

.sidebar-wrap .query .query-mess .wave-wrap .wave-animation {
  position: absolute;
  left: 13px;
  top: 13px;
}

.sidebar-wrap .query .query-mess .wave1,
.sidebar-wrap .query .query-mess .wave2,
.sidebar-wrap .query .query-mess .wave3,
.sidebar-wrap .query .query-mess .wave4 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #83bafe;
  animation: waveMove 2s ease-in-out 0 infinite;
}

.sidebar-wrap .query .query-mess .wave3 {
  animation: waveMove 2s ease-in-out 0.5s infinite;
}

.sidebar-wrap .query .query-mess .wave2 {
  animation: waveMove 2s ease-in-out 1s infinite;
}

.sidebar-wrap .query .query-mess .wave1 {
  animation: waveMove 2s ease-in-out 1.5s infinite;
}

@keyframes waveMove {
  from {
    width: 26px;
    height: 26px;
    background-color: #83bafe;
  }
  to {
    width: 78px;
    height: 78px;
    background-color: rgba(131, 186, 254, 0);
  }
}

.sidebar-wrap .query .query-info {
  position: absolute;
  top: 0;
  left: -100px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border-radius: 5px;
  background-color: #1ab744;
  width: 130px;
  background-size: cover;
  font-size: 12px;
  font-weight: 400;
  color: #fff;
}

.sidebar-wrap .query .query-info::after {
  position: absolute;
  content: "";
  right: -7px;
  width: 14px;
  height: 14px;
  display: block;
  width: 7px;
  height: 14px;
  border: 7px solid transparent;
  border-left: 7px solid #1ab744;
  border-right: 0;
  box-sizing: border-box;
}

.sidebar-wrap .query .query-info1 {
  animation: messMove 20s ease-in-out infinite;
}

.sidebar-wrap .query .query-info2 {
  transition: 20s;
}

@keyframes messMove {
  0% {
    left: -100px;
    opacity: 0;
  }
  5% {
    left: -160px;
    opacity: 1;
  }
  18% {
    left: -160px;
    opacity: 1;
  }
  20% {
    left: -160px;
    opacity: 0;
  }
  100% {
    left: -100px;
    opacity: 0;
  }
}

.sidebar-wrap .query:hover .query-info {
  animation: messMove 5s ease-in-out;
}

.sidebar-wrap .enter {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 86px;
  background: #ffffff;
  box-shadow: 0px 6px 7px 0px rgba(0, 39, 134, 0.14);
  border-radius: 0 0 8px 8px;
}

.sidebar-wrap .enter .enter-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 85px;
  width: 65px;
  font-size: 12px;
  font-weight: 400;
  color: #2b2b2b;
  border-bottom: 1px solid #efefef;
  cursor: pointer;
}

.sidebar-wrap .enter .enter-item img {
  margin-bottom: 10px;
  width: 18px;
  height: 18px;
}

.sidebar-wrap .enter .enter-item .activeImg {
  display: none;
}

.sidebar-wrap .enter .enter-item .defaultImg {
  display: block;
}

.sidebar-wrap .enter .enter-item .weixin {
  position: absolute;
  top: -30px;
  right: 100px;
  padding: 7px;
  width: 166px;
  height: 236px;
  background: #FFFFFF;
  box-shadow: 0px 0px 8px 0px rgba(12, 39, 128, 0.23);
  border-radius: 8px;
}

.sidebar-wrap .enter .enter-item .weixin .weixin-inner {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  border: 1px solid #E9F2FF;
  display: flex;
}

.sidebar-wrap .enter .enter-item .weixin .weixin-inner .weixin-close {
  position: absolute;
  top: -16px;
  right: -14px;
  font-size: 15px;
  color: #CFCFCF;
}

.sidebar-wrap .enter .enter-item .weixin .weixin-inner .weixin-box {
  width: 100%;
  height: 100%;
}

.sidebar-wrap .enter .enter-item .weixin .weixin-inner .weixin-box .weixin-img {
  position: relative;
  margin: 0 auto;
  width: 108px;
  height: 111px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar-wrap .enter .enter-item .weixin .weixin-inner .weixin-box .weixin-img img {
  margin-bottom: 0;
  height: 98px;
  width: 98px;
}

.sidebar-wrap .enter .enter-item .weixin .weixin-inner .weixin-box .weixin-img .bg {
  position: absolute;
  height: 110px;
  width: 113px;
}

.sidebar-wrap .enter .enter-item .weixin .weixin-inner .weixin-box h3 {
  margin: 14px 0 16px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #2B2B2B;
}

.sidebar-wrap .enter .enter-item .weixin .weixin-inner .weixin-box p {
  text-align: center;
  font-size: 12px;
  font-weight: 400;
  color: #888E97;
  line-height: 17px;
}

.sidebar-wrap .enter .enter-item .weixin .weixin-inner .weixin-box .weixin-info1 {
  margin-top: 16px;
}

.sidebar-wrap .enter .enter-item .weixin .weixin-inner .weixin-box .weixin-info2 {
  color: #5A94F5;
}

.sidebar-wrap .enter .enter-item .weixin::before {
  position: absolute;
  right: -10px;
  top: 20%;
  content: "";
  display: block;
  width: 10px;
  height: 20px;
  padding: 0;
  border: 10px solid #fff;
  border-right: none;
  border-top-color: transparent;
  border-bottom-color: transparent;
  box-shadow: 0px 0px 0px 0px rgba(12, 39, 128, 0.23);
  box-sizing: border-box;
}

.sidebar-wrap .enter .enter-item:hover {
  color: #4480fa;
}

.sidebar-wrap .enter .enter-item:hover .defaultImg {
  display: none;
}

.sidebar-wrap .enter .enter-item:hover .activeImg {
  display: block;
}

.sidebar-wrap .enter .enter-item:hover .weixin .weixin-box {
  cursor: auto;
}

.sidebar-wrap .enter .enter-item:hover .weixin h3,
.sidebar-wrap .enter .enter-item:hover .weixin p {
  color: #2b2b2b;
}

.sidebar-wrap .backTop-wrap {
  margin-top: 20px;
  height: 36px;
}

.sidebar-wrap .backTop {
  width: 86px;
  height: 36px;
  background: #f6f9fc;
  box-shadow: 0px 4px 7px 0px rgba(0, 39, 134, 0.14);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sidebar-wrap .backTop img {
  height: 18px;
}
