/* Follow buttons */
.user-follow-link {
  margin-top:5px;
  max-width:125px;
  text-align: center;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  cursor:pointer;
  position: relative;
}
.user-follow-link .follow-user-error{
  height: 100%;
  font-weight: normal;
  font-size: 13px;
  line-height: 13px;
  color: red;
  white-space: normal;
  padding: 0;
  cursor: default;
}

.article-follow-block .user-follow-link {

  margin-left:0;
  display: inline-block;
  width: 110px;
}

.article-follow-block .user-follow-link a {
  padding-top: 9px !important;
  padding-bottom: 9px !important;

}

.profile-follow-block .follow-link-block {
  display:inline-block;
  width: 125px;
}
.page-user .profile-follow-block { margin-bottom: 20px; }
.follow-number-block {
  display:inline-block;
  position:relative;
  margin-left:10px;
}
.page-user .block-penton_follow_user .block-title {
    color: #58a7d3;
    margin-bottom: -10px;
    border: none;
}
.page-user .block-penton_follow_user .title-container { overflow: hidden; }
.page-user .pm-content .block-penton_follow_user .title { margin-bottom: 6px; }
.follow-number-block .follow-number-icon{
  background: url(baec99005ddea6171e158bd8349950631db65b6a.png)  no-repeat;
  width: 25px;
  height: 25px;
  display: inline-block;
  background-size: 22px;
  top: -1px;
  position: absolute;
}

.follow-number-block .follow-number {
  display: inline-block;
  margin-left: 26px;
  font-size: 16px;
  color: orange;
}

.followers {
    display: inline-block;
    margin-left: 26px;
    font-size: 16px;
    color: orange;
}

.followers.hide{
    display:none;
}

.user-follow-link *,
.user-follow-link a:link{
  box-sizing:border-box;
  display: inline-block;
  padding: 11px 0;
  width: 100%;
  text-decoration: none !important;
  font-size:120%;
  font-weight: bold;
  white-space: nowrap;
  color:#333;
}

.user-follow-link.loading a {
  padding-left: 0 !important;
  background: none !important;
}

.user-follow-link.follow {
  text-shadow: 0 1px 0 rgba(255,255,255,0.5);
  background-color: white;
  background-image: -moz-linear-gradient(top,#ffffff,#dedede);
  background-image: -webkit-gradient(linear,left top,left bottom,from(#ffffff),to(#dedede));
  background-image: -ms-linear-gradient(top,#ffffff,#dedede);
  background-image: linear-gradient(top,#ffffff,#dedede);
  background-image: -o-linear-gradient(top,#ffffff,#dedede);
  border: #F1F1F1 solid 1px;
  outline: none;
  position: relative;
}

.user-follow-link.follow:hover {
  background-color: #F8F8F8;
  background-image: -webkit-gradient(linear,left top,left bottom,from(#F8F8F8),to(#D9D9D9));
  background-image: -moz-linear-gradient(top,#F8F8F8,#D9D9D9);
  background-image: -o-linear-gradient(top,#F8F8F8,#D9D9D9);
  background-image: -ms-linear-gradient(top,#F8F8F8,#D9D9D9);
  background-image: linear-gradient(top,#F8F8F8,#D9D9D9);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.user-follow-link.follow a {
  padding-left: 22%;
  background: url(53e6d3f8dde69861404d6d0ebf1b4d3f0b7d7a15.png)  no-repeat 18%;
  background-size: 20%;
}


.user-follow-link.following {
  background-color: #55acee;
  border: 1px solid #3b88c3;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.user-follow-link.following *,
.user-follow-link.following a:link{
  color:#fff !important;
}

.user-follow-link.unfollow {
  background-color: #d9534f;
  border-color: #d43f3a;
}

.comment .user-follow-link {
  display: inline-block;;
  width: 85px;
  margin-left:5px;
  margin-top: 0px !important;
}

.comment .user-follow-link a {
  padding-top:4px !important;
  padding-bottom:4px !important;
}

.comment .username {
  padding-top:5px;
}


/* Profile feed*/
.profile-feed-block h3{
  color: #55acee;
}

.profile-feed-block .user-feed-item{
  background-color: #f3efe6;
  width: 286px;
  height: 286px;
  margin-bottom:10px;
  margin-right: 10px;
  float: left;
  padding: 15px;
  box-sizing: border-box;
}

.follow-item-type {
  text-transform: uppercase;
  color: darkgray;
  font-weight: bold;
  margin-bottom: 5px;
}

.follow-item-title{
  text-decoration: none !important;
  color: #0E5F8B;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 5px;
  font-size: 16px;
  height: 40px;
  overflow:hidden;
}

.follow-item-teaser {
  line-height:1.4;
  position: relative;

}

.user-feed-article .follow-item-teaser {
  height: 60px;
  overflow:hidden;
}

.user-feed-comment .follow-item-teaser {
  text-indent: 30px;
  font-style: italic;
  height: auto;
  max-height: 110px !important;
}

.user-feed-comment .follow-item-teaser::before{
  content: "\201C";
  font-size: 60px;
  color: orange;
  position: absolute;
  top: -20px;
  left: 45px;

}

.follow-item-author-block {
  font-size: 12px;
  margin-top:5px;
  color: gray;
  position: relative;
}

.user-feed-comment .follow-item-author-block {
  clear: both;
  padding-top:15px;
}


.follow-item-author-name,  .user-feed-article .follow-item-author-info div:last-child{
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 60%;
  padding-bottom: 5px;
}

.user-feed-comment .follow-item-author-name {
  width: 100% !important;
}

.follow-item-author-name {
  font-size: 15px;
}

.follow-item-author-name div {
  display: inline !important;
  max-height: 45px;
}

.follow-item-author-name div{
  display: inline-block;
  font-style: italic;
  margin-bottom: 5px;
}

.follow-item-author-name a{
  color: orangered !important;
}


.follow-item-author-name::before {
  color: gray;
  content: "by ";
  font-size: 12px;
  font-style: italic;
}

.user-feed-comment .follow-item-author-info div{
  display:inline;
}
.follow-item-author-info {
  overflow: hidden;
  max-height: 57px;
}

.follow-item-author-image {
  float: left;
  margin-right: 10px;
  position: relative;
}

.user-feed-comment .follow-item-author-image {
  width: 25%;
}

.user-feed-article .follow-item-author-image {
  width: 35%;
  min-height: 65px;
}

.follow-item-author-image img {
  width:100%;
  height:auto;
  border: solid lightgray;
  border-width: 1px 3px;
}

.follow-item-author-image::before {
  position: absolute;
  content: '';
  background: url(5d067cc2e5448c10d8b428b6f9807136cb94cded.png)  no-repeat;
  width: 50px;
  height: 30px;
  pointer-events: none;
  top: 75%;
  right: -14%;
}

.follow-item-stats {
  display: inline-block;
  height:20px;
  position: relative;
  margin-left: 14px;
  margin-top: 3px;
  padding-left: 17px;
  padding-right: 3px;
  background-color: #fff;

  position: absolute;
  bottom:2px;
}

.follow-item-stats-icon{
  display: block;
  position: absolute;
  top: -3px;
  left: -14px;
  height:27px;
  width: 27px;
  background: url(01bbc9dab109ecbe5927effdf33d57cc32001486.png)  no-repeat;
}

.follow-item-stats span{
  line-height: 20px;
  margin-right: 4px;
}

.follow-item-stats-articles{
  font-weight: bold;
  color: #ffb105;
}

.follow-item-stats-comments{
  font-weight: bold;
  color: #ff935b;
}

.follow-item-stats-articles-icon{
  display: inline-block;
  height:9px;
  width: 10px;
  background: url(a391c5a71ce1d307b318f1bf6b4187193bd21f63.png)  no-repeat;

}

.follow-item-stats-comments-icon{
  display: inline-block;
  height:9px;
  width: 9px;
  background: url(d76625c9f217bbd7b2c670ea24f3c1268c88020e.png)  no-repeat;
}

/* user profile page following block styles */
.block-penton_follow_user section.views-row {
  /* most is inherited from penton-idea-exchange.css */
  height: 210px;
}
.block-penton_follow_user .views-field-type {
  text-transform: uppercase;
  color: #999;
}
.block-penton_follow_user .views-field-created {
  display: none;
}
.block-penton_follow_user .views-field-body,
.block-penton_follow_user .author-name,
.block-penton_follow_user .author-title,
.block-penton_follow_user .author-company {
  color: #5d5d5d;
}
.block-penton_follow_user .views-field-body {
  margin-bottom: 8px;
}
.block-penton_follow_user sup {
  font-style: italic;
}
.block-penton_follow_user .views-field-type,
.block-penton_follow_user sup,
.block-penton_follow_user .author-title,
.block-penton_follow_user .author-company {
  font-size: 10px;
}
.following-article .author-image img.thumbnail {
  width: auto;
  max-height: 55px;
  padding: 1px;
  background: #fff;
  border: 1px solid #cacaca;
}
.following-comment .author-image img.thumbnail {
  width: auto;
  max-height: 30px;
  margin-bottom: 10px;
  padding: 1px;
  background: #fff;
  border: 1px solid #cacaca;
}
.block-penton_follow_user div.xpert-bubble {
  padding: 5px 0 0;
}
.following-article .author-image span.xpert:after {
  bottom: -68px;
  right: 5px;
}
.following-comment .author-image span.xpert:after {
  bottom: -42px;
  right: 10px;
}
