@font-face {
  font-family: "socialshare";
  src: url('../fonts/iconfont.eot');
  /* IE9*/
  src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'),
    /* IE6-IE8 */
    url('../fonts/iconfont.woff') format('woff'),
    /* chrome, firefox */
    url('../fonts/iconfont.ttf') format('truetype'),
    /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
    url('../fonts/iconfont.svg#iconfont') format('svg');
  /* iOS 4.1- */
}

.social-share {
  font-family: "socialshare" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;

  * {
    font-family: "socialshare" !important;
  }

  .icon-tencent:before {
    content: "\f07a";
  }

  .icon-qq:before {
    content: "\f11a";
  }

  .icon-weibo:before {
    content: "\f12a";
  }

  .icon-wechat:before {
    content: "\f09a";
  }

  .icon-douban:before {
    content: "\f10a";
  }

  .icon-heart:before {
    content: "\f20a";
  }

  .icon-like:before {
    content: "\f00a";
  }

  .icon-qzone:before {
    content: "\f08a";
  }

  .icon-linkedin:before {
    content: "\f01a";
  }

  .icon-diandian:before {
    content: "\f05a";
  }

  .icon-facebook:before {
    content: "\f03a";
  }

  .icon-google:before {
    content: "\f04a";
  }

  .icon-twitter:before {
    content: "\f06a";
  }

  a {
    position: relative;
    text-decoration: none;
    margin: 4px;
    display: inline-block;
    outline: none;
  }

  .social-share-icon {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 32px;
    font-size: 20px;
    border-radius: 50%;
    line-height: 32px;
    border: 1px solid #666;
    color: #666;
    text-align: center;
    vertical-align: middle;
    transition: background 0.6s ease-out 0s;

    &:hover {
      background: #666;
      color: #fff !important;
    }
  }

  .icon-weibo {
    color: #ff763b !important;
    border-color: #ff763b;

    &:hover {
      background: #ff763b;
    }
  }

  .icon-tencent {
    color: #56b6e7 !important;
    border-color: #56b6e7;

    &:hover {
      background: #56b6e7;
    }
  }

  .icon-qq {
    color: #56b6e7 !important;
    border-color: #56b6e7;

    &:hover {
      background: #56b6e7;
    }
  }

  .icon-qzone {
    color: #FDBE3D !important;
    border-color: #FDBE3D;

    &:hover {
      background: #FDBE3D;
    }
  }

  .icon-douban {
    color: #33b045 !important;
    border-color: #33b045;

    &:hover {
      background: #33b045;
    }
  }

  .icon-linkedin {
    color: #0077B5 !important;
    border-color: #0077B5;

    &:hover {
      background: #0077B5;
    }
  }

  .icon-facebook {
    color: #44619D !important;
    border-color: #44619D;

    &:hover {
      background: #44619D;
    }
  }

  .icon-google {
    color: #db4437 !important;
    border-color: #db4437;

    &:hover {
      background: #db4437;
    }
  }

  .icon-twitter {
    color: #55acee !important;
    border-color: #55acee;

    &:hover {
      background: #55acee;
    }
  }

  .icon-diandian {
    color: #307DCA !important;
    border-color: #307DCA;

    &:hover {
      background: #307DCA;
    }
  }

  .icon-wechat {
    position: relative;
    color: #7bc549 !important;
    border-color: #7bc549;

    &:hover {
      background: #7bc549;
    }
  }

  .icon-wechat .wechat-qrcode {
    display: none;
    border: 1px solid #eee;
    position: absolute;
    z-index: 9;
    top: -205px;
    left: -84px;
    width: 200px;
    height: 192px;
    color: #666;
    font-size: 12px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 2px 10px #aaa;
    transition: all 200ms;
  }

  .icon-wechat .wechat-qrcode.bottom {
    top: 40px;
    left: -84px;

    &:after {
      display: none;
    }
  }

  .icon-wechat .wechat-qrcode h4 {
    font-weight: normal;
    height: 26px;
    line-height: 26px;
    font-size: 12px;
    background-color: #f3f3f3;
    margin: 0;
    padding: 0;
    color: #777;
  }

  .icon-wechat .wechat-qrcode .qrcode {
    width: 105px;
    margin: 10px auto;
  }

  .icon-wechat .wechat-qrcode .qrcode table {
    margin: 0 !important;
  }

  .icon-wechat .wechat-qrcode .help p {
    font-weight: normal;
    line-height: 16px;
    padding: 0;
    margin: 0;
  }

  .icon-wechat .wechat-qrcode:after {
    content: '';
    position: absolute;
    left: 50%;
    margin-left: -6px;
    bottom: -13px;
    width: 0;
    height: 0;
    border-width: 8px 6px 6px 6px;
    border-style: solid;
    border-color: #fff transparent transparent transparent
  }

  .icon-wechat:hover .wechat-qrcode {
    display: block;
  }
}