/* right sidebar */

.yy-float-wrap {
  position: fixed;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  width: 210px;
  height: 544px;
  z-index: 33;
}
.yy-float-wrap .btn-slide-close {
  position: absolute;
  width: 16px;
  height: 86px;
  background: url('../img/main/btn-slide-close.png') no-repeat center;
  right: 164px;
  bottom: 110px;
  z-index: 3;
}
.yy-float-wrap .btn-slide-open {
  display: none;
  position: absolute;
  width: 15px;
  height: 86px;
  background: url('../img/main/btn-slide-open.png') no-repeat center;
  right: 164px;
  bottom: 110px;
  z-index: 3;
}
.yy-float-wrap .down-float-box {
  position: absolute;
  right: 0;
  top: 0;
  width: 152px;
  height: 655px;
  background: url('../img/main-min/float-bg-min.png') no-repeat center;
  z-index: 33;
  padding-top: 20%;
}
.yy-float-wrap .down-float-box .btn-slide-close,
.yy-float-wrap .down-float-box .btn-slide-open {
  top: 128px;
}
.yy-float-wrap .down-float-box ul {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}
.yy-float-wrap .down-float-box ul li {
  margin: 0 auto;
  width: 150px;
  height: 48px;
  margin-bottom: 10px;
  position: relative;
}
.yy-float-wrap .down-float-box ul li a {
  display: block;
  width: 150px;
  height: 46px;
  text-indent: -9999px;
  background: url('../img/main/float-btn.png') no-repeat;
}
.yy-float-wrap .down-float-box ul li a.float-btn-fanpage {
  background-position: 0px 0px;
}
.yy-float-wrap .down-float-box ul li a.float-btn-fanpage:hover {
  background-position: 0px -46px;
}
.yy-float-wrap .down-float-box ul li a.float-btn-tiktok {
  background-position: -147px 0px;
}
.yy-float-wrap .down-float-box ul li a.float-btn-tiktok:hover {
  background-position: -147px -46px;
}
.yy-float-wrap .down-float-box ul li a.float-btn-support {
  background-position: -295px 0px;
}
.yy-float-wrap .down-float-box ul li a.float-btn-support:hover {
  background-position: -295px -46px;
}
.yy-float-wrap .down-float-box ul li a.float-btn-youtube {
  background: url('../img/main/Social-Button-youtube.png') no-repeat;
  background-position: 0px 0px;
}
.yy-float-wrap .down-float-box ul li a.float-btn-youtube:hover {
  background-position: 0px -46px;
}
.yy-float-wrap .down-float-box ul li a.float-btn-giftcode {
  background: url('../img/main/POPUP-Social-Button-Giftcode.png') no-repeat 0px 0px;
}
.yy-float-wrap .down-float-box ul li a.float-btn-giftcode:hover {
  background-position: 0px -46px;
}
.yy-float-wrap .down-float-code {
  margin: 40px auto 14px;
  width: 180px;
  height: 150px;
  position: relative;
  right: 10px;
}
.yy-float-wrap .down-float-code .fb-page.fb_iframe_widget {
  right: 3px !important;
  top: 0 !important;
  margin-top: unset !important;
}
.yy-float-wrap .down-float-code .img-over-fanpage {
  position: absolute;
  z-index: -1;
  left: -11px;
  top: -7px;
}
.yy-float-wrap .code-line {
  display: block;
  position: absolute;
  background: url('https://ym.games.wanmei.com/images/main20200326/qrline.png') no-repeat;
  background: none;
  width: 160px;
  height: 90px;
  top: 0;
  left: -5px;
  z-index: 3;
  -webkit-animation: code 3s linear infinite 300ms 0 ease;
  -moz-animation: code 3s linear infinite 300ms 0 ease;
  -ms-animation: code 3s linear infinite 300ms 0 ease;
  animation: code 3s linear infinite 300ms 0 ease;
  -moz-animation: code 3s linear infinite;
  -webkit-animation: code 3s linear infinite;
  -o-animation: code 3s linear infinite;
  -ms-animation: code 3s linear infinite;
  animation: code 3s linear infinite;
}
.yy-float-wrap .btn-slide-close2,
.yy-float-wrap .btn-slide-open2 {
  top: 128px;
}
@media screen and (max-width: 425px) {
  .yy-float-wrap {
    display: none;
  }
}
