.bnh-social-wrap {
  display: inline;
  float: right;
}

.bnh-social-new-wrap {
  display: block;
  float: left;
  text-align: center;
  position: relative;
}

.views-field .bnh-social-new-wrap,
.field-social .bnh-social-new-wrap {
  float: right;
  position: relative;
  left: 5px;
}

.bnh-social-wrap .bnh-social-count {
  color: #999999;
  line-height: 1.4em;
}

.bnh-social-item:hover .bnh-social-count {
  color: #333;
}

.bnh-social-wrap .bnh-social-item.bnh-social-total:hover .bnh-social-count {
  color: #666;
}

.bnh-social-wrap .bnh-social-email .bnh-social-count,
.bnh-social-wrap .bnh-social-print .bnh-social-count {
  display: none;
}

.bnh-social-wrap .bnh-social-item,
.bnh-social-wrap .bnh-social-logo,
.bnh-social-wrap .bnh-social-count,
.bnh-social-wrap .bnh-social-total-wrap,
.bnh-social-wrap .bnh-social-network-wrap {
  display: block;
  float: left;
}

.bnh-social-wrap .bnh-social-logo,
.bnh-social-wrap .bnh-social-count {
  height: 25px;
  vertical-align: middle;
}

.bnh-social-new-wrap .bnh-social-logo,
.bnh-social-new-wrap .bnh-social-count {
  height: 18px;
  display: block;
}

.bnh-social-new-wrap .bnh-social-logo {
  padding: 0 11px;
  margin-bottom: 5px;
}

.bnh-social-wrap .bnh-social-network-wrap .bnh-social-network {
  width: 100%;
}

.bnh-social-wrap .bnh-social-network-wrap .bnh-social-network:hover {
  background-color: #f5f5f5;
}

.bnh-social-wrap .bnh-social-item {
  padding: 10px 0;
  cursor: pointer;
  line-height: 1em;
}

.bnh-social-new-wrap .bnh-social-item {
  padding: 10px 0;
  margin-right: 15px;
  display: inline-block;
  cursor: pointer;
  vertical-align: top;
  font-size: 11px;
  color: #666;
  position: relative;
}

body.mobile .bnh-social-new-wrap .bnh-social-print {
  display: none !important;
}

.bnh-social-new-wrap .bnh-social-link .link-copied {
  width: 53px;
  padding: 2px 0;
  display: block;
  position: relative;
  left: -5px;
  margin-right: -13px;
}

.bnh-social-new-three-dots-content .bnh-social-link .link-copied {
  width: 100%;
  padding: 4px 0 0;
  display: block;
  position: relative;
  left: 0;
  margin-right: 0;
}

.bnh-social-new-wrap .bnh-social-item:hover {
  text-decoration: none;
}

.bnh-social-wrap .bnh-social-item.bnh-social-comment {
  width: 110px;
}

.bnh-social-wrap .bnh-social-item.bnh-social-email {
  width: 90px;
}

.bnh-social-wrap .bnh-social-item.bnh-social-print {
  width: 55px;
}

.bnh-social-wrap .bnh-social-item.bnh-social-total {
  width: 100px;
  padding-left: 0;
  padding-right: 0;
  cursor: default;
}

.bnh-social-wrap .bnh-social-total-wrap {
  position: relative;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.bnh-social-wrap .bnh-social-total-wrap:hover,
.bnh-social-wrap .bnh-social-total-wrap:hover .bnh-social-network-wrap {
  -webkit-box-shadow: 0px 0px 5px 0px #aaa;
  -moz-box-shadow: 0px 0px 5px 0px #aaa;
  box-shadow: 0px 0px 5px 0px #aaa;
}

.bnh-social-wrap .bnh-social-network-wrap {
  display: block;
  position: absolute;
  opacity: 0;
  z-index: -999;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  width: 0;
  height: 0;
  overflow: hidden;
}

.bnh-social-wrap .bnh-social-network-wrap .bnh-social-item {
  padding: 15px 0;
}

.bnh-social-wrap .bnh-social-total-wrap:hover {
  background-color: #f7f7f7;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  margin-left: -5px;
  margin-right: -12px;
  padding-left: 5px;
  padding-right: 12px;
}

.bnh-social-wrap .bnh-social-total-wrap:hover .bnh-social-network-wrap {
  top: 45px;
  left: 0;
  right: 0;
  background-color: #fff;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  overflow: hidden;
  opacity: 1;
  z-index: 1;
  width: auto;
  height: auto;
}

.bnh-social-wrap .bnh-social-total .bnh-social-logo,
.bnh-social-wrap .bnh-social-total .bnh-social-count {
  float: right;
}

.bnh-social-wrap .bnh-social-network {
  text-align: center;
}

.bnh-social-wrap .bnh-social-network .bnh-social-logo,
.bnh-social-wrap .bnh-social-network .bnh-social-count {
  display: inline-block;
  float: none;
  padding: 0;
  vertical-align: bottom;
}

.bnh-social-wrap .bnh-social-linkedin .bnh-social-count {
  display: none !important;
}

.bnh-social-wrap .bnh-social-network .bnh-social-count.bnh-social-count-number {
  line-height: 1.4em;
  font-size: 1.2em;
}

.bnh-social-wrap .bnh-social-network.bnh-social-linkedin .bnh-social-count-number {
  line-height: 1.6em;
}

.bnh-social-wrap .bnh-social-network.bnh-social-reddit .bnh-social-count-number {
  line-height: 1.5em;
}

.bnh-social-wrap .bnh-social-network .bnh-social-count.bnh-social-count-number > span {
  padding-left: 10px;
}


/*** Images ***/

.bnh-social-wrap .bnh-social-logo {
  background-image: url(./img/share_sprite_12.png);
  background-repeat: no-repeat;
}

.bnh-social-wrap .bnh-social-count {
  padding-left: 10px;
}

.bnh-social-wrap .bnh-social-network .bnh-social-count .count-number-0 {
  display: none;
}

.bnh-social-wrap .bnh-social-total .bnh-social-count {
  padding-left: 10px;
  padding-right: 0;
  font-size: 120%;
  line-height: 1.2em;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.bnh-social-wrap .bnh-social-total .bnh-social-count.bnh-social-count-number {
  color: #666666;
  font-size: 150%;
  line-height: 1em;
}

.bnh-social-wrap .bnh-social-comment .bnh-social-logo {
  width: 30px;
  background-position: -47px 0px;
}

.bnh-social-wrap .bnh-social-comment:hover .bnh-social-logo {
  background-position: -47px -27px;
}

.bnh-social-wrap .bnh-social-email .bnh-social-logo {
  width: 32px;
  background-position: -103px 0px;
}

.bnh-social-wrap .bnh-social-email:hover .bnh-social-logo {
  background-position: -103px -27px;
}

.bnh-social-wrap .bnh-social-print .bnh-social-logo {
  width: 29px;
  background-position: -137px 0px;
}

.bnh-social-wrap .bnh-social-print:hover .bnh-social-logo {
  background-position: -137px -27px;
}

.bnh-social-wrap .bnh-social-total .bnh-social-logo {
  width: 22px;
  background-position: -79px 0px;
}

.bnh-social-wrap .bnh-social-total:hover .bnh-social-logo {
  /*background-position: -79px -27px;*/
}

.bnh-social-wrap .bnh-social-facebook .bnh-social-logo {
  width: 13px;
  background-position: 0px 0px;
}

.bnh-social-wrap .bnh-social-facebook:hover .bnh-social-logo {
  background-position: 0px -27px;
}

.bnh-social-wrap .bnh-social-twitter .bnh-social-logo {
  width: 30px;
  background-position: -16px 0px;
}

.bnh-social-wrap .bnh-social-twitter:hover .bnh-social-logo {
  background-position: -16px -27px;
}

.bnh-social-wrap .bnh-social-linkedin .bnh-social-logo {
  width: 27px;
  background-position: -210px 0px;
}

.bnh-social-wrap .bnh-social-linkedin:hover .bnh-social-logo {
  background-position: -210px -27px;
}

.bnh-social-wrap .bnh-social-reddit .bnh-social-logo {
  width: 31px;
  background-position: -242px 0px;
}

.bnh-social-wrap .bnh-social-reddit:hover .bnh-social-logo {
  background-position: -242px -27px;
}

.bnh-social-wrap .bnh-social-pinterest .bnh-social-logo {
  width: 19px;
  background-position: -276px 0px;
}

.bnh-social-wrap .bnh-social-pinterest:hover .bnh-social-logo {
  background-position: -276px -27px;
}

.bnh-social-wrap .bnh-social-instagram .bnh-social-logo {
  width: 25px;
  background-position: -297px 0px;
}

.bnh-social-wrap .bnh-social-instagram:hover .bnh-social-logo {
  background-position: -297px -27px;
}

.bnh-social-wrap .bnh-social-youtube .bnh-social-logo {
  width: 35px;
  background-position: -324px 0px;
}

.bnh-social-wrap .bnh-social-youtube:hover .bnh-social-logo {
  background-position: -324px -27px;
}

/*** Views ***/

.bnh-social-new-three-dots {
  display: block;
  padding: 0 5px;
  position: relative;
  cursor: pointer;
}

.node .bnh-social-new-three-dots {
  display: none;
}

.node-livestream .bnh-social-new-three-dots {
  display: block;
}

.bnh-social-new-dot {
  display: block;
  background-color: #616066;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin: 4px 0;
}

.bnh-social-new-three-dots-content-wrap {
  display: none !important;
  position: absolute;
  top: 0;
  right: -5px;
  clear: both;
  padding: 30px 10px 10px;
  transition: opacity 0.2s;
  z-index: 49;
}

.bnh-social-new-three-dots-content-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.bnh-social-new-wrap:hover .bnh-social-new-three-dots-content-wrap {
  display: block !important;
}

.bnh-social-new-three-dots-content {
  background-color: #fff;
  padding: 8px 20px 5px;
  border: solid 1px #b2b2b2;
  width: 130px;
  border-radius: 2px;
}

.bnh-social-new-three-dots-content .bnh-social-item {
  padding: 12px 0;
  margin-right: 0;
  display: block;
  cursor: default;
  vertical-align: top;
  font-size: 13px;
  color: #333;
  position: relative;
  clear: both;
}

.bnh-social-new-three-dots-content .bnh-social-item:hover {
  color: #7f7f7f;
  cursor: pointer;
}

.bnh-social-new-three-dots-content .bnh-social-label {
  float: left;
}

.bnh-social-new-three-dots-content .bnh-social-logo {
  float: right;
  padding: 0;
  cursor: pointer;
}

.bnh-social-new-three-dots-content .bnh-social-count,
.bnh-social-new-three-dots-content .bnh-flag-after {
  display: none;
}


/******* Node *******/

body.page-node .node .bnh-social-wrap {
  position: relative;
  top: -80px;
  height: 0;
}

/******* Views *******/

.views-field.views-field-bnh-social {
  float: left;
  height: 16px;
  position: relative;
  top: -5px;
}

.views-field .bnh-social-wrap .bnh-social-item {
  padding: 10px 0;
}

.views-field .bnh-social-wrap .bnh-social-network-wrap .bnh-social-item {
  padding: 11px 0;
}

.views-field .bnh-social-wrap .bnh-social-item.bnh-social-total {
  width: inherit;
}

.views-field .bnh-social-wrap .bnh-social-total-wrap:hover {
  margin-left: -10px;
  margin-right: -15px;
  padding-left: 10px;
  padding-right: 15px;
}

.views-field .bnh-social-wrap .bnh-social-total .bnh-social-count {
  font-size: 100%;
  line-height: 1.1em;
}

.views-field .bnh-social-wrap .bnh-social-logo,
.views-field .bnh-social-wrap .bnh-social-count {
  height: 16px;
}

.views-field .bnh-social-wrap .bnh-social-total-wrap:hover .bnh-social-network-wrap {
  top: 36px;
}

.views-field .bnh-social-wrap .bnh-social-network .bnh-social-count.bnh-social-count-number {
  line-height: 1.2em;
  font-size: 1em;
}

.views-field .bnh-social-wrap .bnh-social-total .bnh-social-logo {
  width: 14px;
  background-position: -51px -54px;
}

.views-field .bnh-social-wrap .bnh-social-facebook .bnh-social-logo {
  width: 9px;
  background-position: 0px -54px;
}

.views-field .bnh-social-wrap .bnh-social-facebook:hover .bnh-social-logo {
  background-position: 0px -71px;
}

.views-field .bnh-social-wrap .bnh-social-twitter .bnh-social-logo {
  width: 20px;
  background-position: -10px -54px;
}

.views-field .bnh-social-wrap .bnh-social-twitter:hover .bnh-social-logo {
  background-position: -10px -71px;
}

.views-field .bnh-social-wrap .bnh-social-linkedin .bnh-social-logo {
  width: 17px;
  background-position: -136px -54px;
}

.views-field .bnh-social-wrap .bnh-social-linkedin:hover .bnh-social-logo {
  background-position: -136px -71px;
}

.views-field .bnh-social-wrap .bnh-social-reddit .bnh-social-logo {
  width: 20px;
  background-position: -155px -54px;
}

.views-field .bnh-social-wrap .bnh-social-reddit:hover .bnh-social-logo {
  background-position: -155px -71px;
}

.views-field .bnh-social-wrap .bnh-social-pinterest .bnh-social-logo {
  width: 12px;
  background-position: -177px -54px;
}

.views-field .bnh-social-wrap .bnh-social-pinterest:hover .bnh-social-logo {
  background-position: -177px -71px;
}

.views-field .bnh-social-wrap .bnh-social-instagram .bnh-social-logo {
  width: 16px;
  background-position: -191px -54px;
}

.views-field .bnh-social-wrap .bnh-social-instagram:hover .bnh-social-logo {
  background-position: -191px -71px;
}

/* RESPONSIVE DESIGN */

@media screen and (max-width: 1060px) {
  body.page-node .node .bnh-social-wrap {
    float: none;
    top: 0;
    height: auto;
    margin-bottom: 10px;
  }

  body.page-node.logged-in .node .bnh-social-wrap {
    margin-top: 0;
    margin-bottom: 0;
  }

  body.page-node .bnh-social-wrap .bnh-social-item {
    padding-left: 0;
    padding-right: 0;
  }

  body.page-node .field-name-field-top-shot {
    margin-top: 15px;
  }
}

@media screen and (max-width: 767px) {
  body.mobile.page-node .bnh-social-wrap .bnh-social-item.bnh-social-total {
    font-size: 120%;
  }
}

@media screen and (max-width: 479px) {
  
  /* Node */

  body.mobile.page-node .node .bnh-social-wrap {
    margin-bottom: 5px;
  }

  body.mobile.page-node .bnh-social-wrap .bnh-social-item.bnh-social-comment {
    width: 80px;
  }

  body.mobile.page-node .bnh-social-wrap .bnh-social-comment .bnh-social-count {
    line-height: 1em;
    padding-left: 5px;
  }

  body.mobile.page-node .bnh-social-wrap .bnh-social-comment .bnh-social-logo {
    height: 16px;
    width: 20px;
    background-position: -31px -54px;
  }

  body.mobile.page-node .bnh-social-wrap .bnh-social-item.bnh-social-email {
    width: 70px;
  }

  body.mobile.page-node .bnh-social-wrap .bnh-social-email .bnh-social-logo {
    height: 16px;
    width: 22px;
    background-position: -65px -54px;
  }

  body.mobile.page-node .bnh-social-wrap .bnh-social-item.bnh-social-print {
    width: 40px;
  }

  body.mobile.page-node .bnh-social-wrap .bnh-social-print .bnh-social-logo {
    height: 16px;
    width: 20px;
    background-position: -88px -54px;
  }

  body.mobile.page-node .bnh-social-wrap .bnh-social-item.bnh-social-total {
    width: 75px;
    font-size: 80%;
  }

  body.mobile.page-node .bnh-social-wrap .bnh-social-total .bnh-social-logo {
    height: 16px;
    width: 14px;
    background-position: -51px -54px;
  }

  body.mobile.page-node .field-name-field-top-shot {
    margin-top: 0;
  }

  body.mobile .bnh-social-wrap .bnh-social-total-wrap:hover {
    margin-left: 0;
    padding-left: 0;
    margin-right: -10px;
    padding-right: 10px;
  }

  body.mobile .bnh-social-wrap .bnh-social-total-wrap:hover .bnh-social-network-wrap {
    top: 36px;
  }

  body.mobile .bnh-social-wrap .bnh-social-network-wrap .bnh-social-item {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  body.mobile .bnh-social-wrap .bnh-social-network .bnh-social-count.bnh-social-count-number {
    line-height: 1.1em;
  }

  /*** Icons ***/

  body.mobile .bnh-social-wrap .bnh-social-logo,
  body.mobile .bnh-social-wrap .bnh-social-count {
    height: 16px;
  }

  body.mobile .bnh-social-wrap .bnh-social-facebook .bnh-social-logo {
    width: 9px;
    background-position: 0px -54px;
  }

  body.mobile .bnh-social-wrap .bnh-social-facebook:hover .bnh-social-logo {
    background-position: 0px -71px;
  }

  body.mobile .bnh-social-wrap .bnh-social-twitter .bnh-social-logo {
    width: 20px;
    background-position: -10px -54px;
  }

  body.mobile .bnh-social-wrap .bnh-social-twitter:hover .bnh-social-logo {
    background-position: -10px -71px;
  }

  body.mobile .bnh-social-wrap .bnh-social-linkedin .bnh-social-logo {
    width: 17px;
    background-position: -136px -54px;
  }

  body.mobile .bnh-social-wrap .bnh-social-linkedin:hover .bnh-social-logo {
    background-position: -136px -71px;
  }

  body.mobile .bnh-social-wrap .bnh-social-reddit .bnh-social-logo {
    width: 20px;
    background-position: -155px -54px;
  }

  body.mobile .bnh-social-wrap .bnh-social-reddit:hover .bnh-social-logo {
    background-position: -155px -71px;
  }

  body.mobile .bnh-social-wrap .bnh-social-pinterest .bnh-social-logo {
    width: 12px;
    background-position: -177px -54px;
  }

  body.mobile .bnh-social-wrap .bnh-social-pinterest:hover .bnh-social-logo {
    background-position: -177px -71px;
  }

  body.mobile .bnh-social-wrap .bnh-social-instagram .bnh-social-logo {
    width: 16px;
    background-position: -191px -54px;
  }

  body.mobile .bnh-social-wrap .bnh-social-instagram:hover .bnh-social-logo {
    background-position: -191px -71px;
  }

  /* New social */

  body.mobile.page-node .node .new-social .bnh-social-new-wrap {
    position: static;
    float: none;
    display: inline-block;
    vertical-align: top;
  }

  body.mobile.page-node .node .new-social .bnh-social-new-wrap .bnh-social-item {
    display: none;
    margin-left: 0;
    margin-right: 14px;
  }

  body.mobile.page-node .node .new-social .bnh-social-new-wrap .bnh-social-item:last-child {
    margin-right: 0;
  }

  body.mobile.page-node .node .new-social .bnh-social-new-wrap .bnh-social-comment {
    display: inline-block;
  }

  body.mobile.page-node .node .new-social .bnh-social-new-wrap .bnh-social-item:first-child {
    margin-left: 0;
  }

  body.mobile.page-node .node .new-social .bnh-social-new-wrap .bnh-social-logo {
    padding-left: 5px;
    padding-right: 5px;
  }

  body.mobile.page-node .node .new-social .bnh-social-new-three-dots {
    display: block;
    position: absolute;
    top: 10px;
    right: 0;
  }

  body.mobile.page-node.bnh-social-new-show-all .node .new-social .bnh-social-new-three-dots {
    display: none;
  }

  body.mobile.page-node.bnh-social-new-show-all .node .new-social .bnh-social-item {
    display: inline-block;
    white-space: normal;
  }

  body.mobile.page-node .node .bnh-social-new-wrap .new-social .bnh-social-link .link-copied {
    left: -11px;
    margin-right: -25px;
  }
}

@media screen and (max-width: 360px) {

  /* New social */

  body.mobile.page-node .node .new-social .bnh-social-wrap .bnh-social-item.bnh-social-comment {
    width: 70px;
  }

  body.mobile.page-node .node .new-social .bnh-social-wrap .bnh-social-item.bnh-social-email {
    width: 60px;
  }

  body.mobile.page-node .node .new-social .bnh-social-wrap .bnh-social-item.bnh-social-print {
    width: 30px;
  }

  body.mobile.page-node .node .new-social .bnh-social-wrap .bnh-social-item.bnh-social-total {
    width: 65px;
    font-size: 80%;
  }
}
