.comment {
  /*margin-bottom: 0px;*/
  min-height: 57px;
  a{ color: #8c8c8c;
    &:hover{ color: #0083FB; }
  }
  p,a{ font-size: 12px; }
  .comment-total-votes { margin-right: 10px; }
  .comment-main-col {
    padding-left: 50px;
    padding-right: 0px;
    & > small{ & + a { margin-left: 2px; } }
    &:hover{
      .comment-controls{ opacity: 1; }
    }
    &.comment-removed {
      position: relative;
      opacity: 0.5;
      &::before{
        background-color: #F6F8F8;
        content: "";
        width: 40px;
        position: absolute;
        height: 100%;
        left: 0;
      }
      >.comment-content {
        color: #ff0000;
      }
    }
  }
  .comment-author-name { color: #0087ff; }
  .comment-date-from-now{ color: #8c8c8c; }
  .comment-badge{ margin: 0 1px; font-size: 10px; font-weight: 400; padding: 2px 5px;}
  .comment-controls {
    opacity: 0;
    float: right;
    transition: all .3s
  }
  /*.subcomments { margin-top: 0px; }*/
  /*.comment-content {
    font-size: 14px;
    line-height: 20px;
  }*/
  /*commentNext{
      margin-top: 0px;
  }*/
  &.selected {
    border: 1px solid #ff0000;
  }
}

//new comments in activities
.ac-comment{ //div in activity
  .comment-toggle, .show-more{ display: inline-block; margin-bottom: 15px; }
}

.ac-comment-ac{
  color:#0083FB;
  padding: 0 15px 10px;
  display: inline-block;
  text-decoration: none;
}

.comment-area{
  display: none;
}

.customEntry-comments{
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  border-bottom: 1px solid #5B5757;
  margin-bottom: 10px;
  .custom-comments-toggle{
    float: right;
    text-decoration: none;
  }
}
.filters{
  font-size: 12px;
  margin-bottom: 20px;
 }

.postbox{ position: relative;
  .avatar{
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
  }
  .textarea-wrapper{ margin: 0 0 15px 50px; }
}

.ngo-badge-group{
  clear: left;
  display: block;
  text-align: center;
  font-size: 10px;
}
.ngo-badge{
  .badge-green;
  width: 14px;
  height: 14px;
  font-size: 10px;
  color: #fff;
  line-height: 13px;
  .border-radius(100px);
  display: inline-block;
  vertical-align: top;
  display: inline-block;
  margin: 1px;

}
.block-comments{
  border-top: 1px solid #DEDEDE;
  background-color: #F6F8F8;
  .avatar{ &, img{ width: 32px; height: 32px; margin-top: 1px; } }
  .textarea-wrapper{ /*margin: 0 0 15px 40px;*/ margin:0 0 8px 40px; position: relative; textarea{ resize: none; } }
  .btn-add-comment-fa{
    border: 0 none;
    background: transparent;
    background-color: #FFF;
    position: absolute;
    top: 8px;
    right: 3px;
  }
  .comment-area{ /*padding-top:15px;*/ padding-top: 8px; }
  .comments{
    font-size: 12px;
    line-height: 16px;
    word-wrap: normal;
    word-break: break-word;
    .comment-main-col{ padding-left: 40px;}
    .comment-avatar-col{
      img{ width:32px; height: 32px;}
    }
  }
  .subcomments{
    .comment-main-col{
      padding-left: 25px;
      &.comment-removed {
        &::before{ width: 25px; }
      }
    }
    .comment-avatar-col{
      img{ .user-avatar-minithumb; }
    }
  }
  .comment .comment .comment .comment .subcomments{ > .comment{ margin-left: -25px; .comment{margin-left: -25px; } } }
}
.comment .comment .comment .comment .subcomments{ > .comment{ margin-left: -50px; } }



/**
 * Vote summary window
 */

.comment-vote-summary {
  display: none;
  position: absolute;
  background-color: #f6f8f8;
  list-style: none;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);

  max-height: 400px;
  overflow: auto;
  min-width: 200px;

  li {
    padding: 2px 0;
    a{
      font-weight: 700;
      display: block;
      color: #7B7B7B;
      &:hover{ color: #000; }
    }
    &:first-of-type {
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
    }

    &:last-of-type {
      border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;
    }
  }

  img {
    border-radius: 100px;
    width: 25px;
    height: 25px;
    margin-right: 2px;
  }
}

noscript ul {
  margin: 0px;
  padding: 0px;
}

#reason-form{
  display: inline-block;
  border: 1px solid #DDDDDD;
  padding: 15px;
  background-color: #FFFFFF;
  .border-radius(4px);
}

.active-area-placeholder {
  position: relative;
}

.active-area-popup {
  width: 200px;
  max-height: 200px;
  position: absolute;
  display: none;
  list-style-type: none;
  padding: 0px;
  margin: 0px;
  background: #fff;
  box-shadow: 1px 1px 4px 0px rgba(50, 50, 50, 0.75);
  overflow-y: scroll;
  overflow-x: hidden;
  z-index: 999;
  .border-radius(4px);

  li {
    padding: 5px;
    margin: 0px;
    border-bottom: 1px solid #dedede;
    cursor: pointer;
    &:first-child{ &:hover{ .border-radius(4px 4px 0 0);}}
    &:last-child{ &:hover{ .border-radius(0 0 4px 4px);}}
    &:hover {
      background-color: #0083FB;
      color: #fff;
    }
  }

  img {
    width: 30px;
    height: 30px;
    margin: 0;
  }
}
