/**
 * 分享组件
 */

.r-share__item {
  position: relative;
}
/* == 二维码弹框 == */
.r-share__item:hover .r-share-qrcode__wrap {
  opacity: 1;
  filter: alpha(opacity=100);
  bottom: 40px;
  transition: all 0.3s ease-out 0s;
}

.r-share-qrcode__wrap {
  padding: 0;
  margin: 0 0 0 -81px !important;
  opacity: 0;
  filter: alpha(opacity=0);
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 50px;
  width: 160px;
  line-height: 1;
  text-align: center;
  border: 1px solid #efefef;
  background: #fff;
  transition: all 0.3s ease-out 0s;
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.05);
  box-sizing: initial;
  pointer-events: none;
}

.r-share-qrcode__wrap:after,
.r-share-qrcode__wrap:before {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  margin-left: -8px;
  line-height: 0;
  border: 8px solid transparent;
  content: "";
}

.r-share-qrcode__wrap:before {
  bottom: -16px;
  border-top-color: #efefef;
}

.r-share-qrcode__wrap:after {
  z-index: 1;
  bottom: -15px;
  border-top-color: #fff;
}

.r-share-qrcode__wrap canvas,
.r-share-qrcode__wrap img {
  display: block;
  width: 100%;
  height: auto;
  padding: 10px 10px 0;
}

.r-share-qrcode__wrap span {
  display: block;
  padding: 0 0 10px;
  margin: 0 !important;
  color: #999;
  font-size: 12px !important;
  line-height: 1 !important;
}
