/********************************comment list********************************************/
/**********************comment***********************************/
.comment.js-comment * {
  --primary-color: var(--basicColor);
  --primary-color-light: #7cb928;
  --primary-color-bold: #517710;
}
.stream-comment-item article.comment:not(:first-of-type) {
  border-top: 2px solid #d9d9d9;
  /* border-top: 2px solid var(--primary-color); */
  display: block;
}
.stream-comment-item .comment__actions .links {
  z-index: 99;
  padding: 20px;
  list-style-type: none;
  margin: 10px 0 0;
  background: #fff;
  float: right;
  min-width: auto;
  -webkit-box-shadow: 0px 0px 8px 2px #cccccc;
  -moz-box-shadow: 0px 0px 8px 2px #cccccc;
  box-shadow: 0px 0px 8px 2px #cccccc;
  display: none;
  top: 100%;
  margin: 0;
  cursor: pointer;
  border-radius: 24px;
}
.stream-comment-item .comment__actions.open .links {
  display: block;
  margin-top: 10px;
}
.stream-comment-item .comment__actions .links li {
  display: inline-block;
  width: 100%;
  padding: 0;
  display: flex;
}
body .stream-comment-item article .comment__content .comment__text .dropdown-menu > li > a {
  display: inline-block;
  border-bottom: 1px solid #d9d9d9;
  /* border-bottom: 2px solid var(--primary-color); */
  width: 100%;
  font-size: 12px;
  line-height: 14px;
  padding: 8px 0 8px;
  text-align: left;
  font-weight: 400;
  color: var(--black);
  background: none !important;
}

body .stream-comment-item article .comment__content .comment__text .dropdown-menu > li:last-child > a {
  border: none;
}
.stream-comment-item {
  background: #fff;
  /* float: left; */
  width: 100%;
  border: 0;
  margin: 0px 0 24px;
  border-radius: 0px 0px 24px 24px;
  padding: 0;
}
.stream-comment-item .comment-comment-form,
.stream-comment-item article.comment {
  border-top: 2px solid var(--primary-color-bold);
  /* border-top: 2px solid #d2d2d2; */
  display: block;
}
.stream-comment-item .comment-btn-wrapper.comment {
  padding: 0 30px;
}
.stream-comment-item .reply-btn-wrapper,
.stream-comment-item .comment-btn-wrapper.comment {
  margin-top: 20px;
  text-align: right;
}
.stream-comment-item .reply-btn-wrapper a,
.stream-comment-item .comment-btn-wrapper.comment a {
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: var(--primary-color);
  padding: 0 10px 0 0;
  margin: 0;
}
.stream-comment-item .reply-btn-wrapper .btn-hide,
.stream-comment-item .comment-btn-wrapper .btn-hide {
  display: none;
}
.stream-comment-item .reply-btn-wrapper a:hover,
.stream-comment-item .comment-btn-wrapper a:hover {
  color: var(--black);
}
/* .comment-comment-form > .field--name-field-comment-body textarea{ */
/* .comment-comment-form .form-group-inline > .field--name-field-comment-body textarea { */
.comment .comment__content form textarea {
  height: 36px;
  /* border: 2px solid #d9d9d9 !important; */
  /* border-radius: 24px; */
  outline: 0;
  /* overflow: hidden !important; */
  line-height: 1.2;
  /* white-space: nowrap; */
  /* background: #fff !important; */
  border: 0 !important;
  background: transparent !important;
  padding: 6px 12px !important;
}
.comment-comment-form > .field--name-field-comment-body {
  width: calc(100% - 180px);
  float: left;
  padding-right: 12px;
}
.comment:first-child {
  margin-top: 0;
}
.comment {
  margin-top: 0 !important;
}
.comment .comment__actions button svg {
  background: url(../../icons/down_arrow.svg) no-repeat center;
  width: 10px;
  height: 10px;
  cursor: pointer;
  vertical-align: middle;
}
.comment .comment__actions.open button svg {
  transform: rotate(180deg);
}
.comment .comment__actions button {
  height: 30px;
  width: 30px;
  padding: 0;
  line-height: 0.5;
}

.comment .comment__actions {
  position: absolute;
  /* top: 18px; */
  top: 21px;
  right: 15px;
}
.comment .comment-header-section {
  display: flex;
  justify-content: space-between;
  padding-bottom: 21px;
  padding: 24px 24px 22px 24px;
}
.comments article.comment > * {
  padding-left: 0 !important;
}
.comment .commentinfo_author {
  display: flex;
  align-items: center;
  width: 100%;
}
.comment .comment__metadata {
  font-size: 14px;
  line-height: 17px;
  color: var(--primary-color);
  font-weight: 400;
  padding-right: 32px;
  /* padding-right: 20px; */
}
.comment .comment__metadata > * {
  margin: 0;
  font-weight: 400;
}
.comment .comment-header-section .comment-created-time {
  width: 60%;
  text-align: right;
  /* padding-top: 2px; */
}
.comment .comment__text .field--name-field-comment-body {
  font-size: 16px;
  line-height: 19px;
}
.comment .comment__text,
.comment .comment__reply-btn {
  margin: 0;
  overflow: unset;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  text-align: left;
  display: flex;
}
.comment .comment__text .use-ajax {
  font-weight: 400;
}
.comment__content a.action-unflag,
.comment__content a.action-flag {
  display: none;
}
.comment.comment-unpublished * {
  color: #000;
}

.comment .comment__text.iframe-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
}
.comment .comment__text.iframe-container .field--name-field-comment-body {
  width: 100%;
  margin-bottom: 44px;
}
.post-vote-wrapper > div a {
  font-size: 0;
  background: url(../../icons/comments/heart.svg) no-repeat center;
  width: 16px;
  /* height: 14px; */
  height: 15px;
  display: inline-block;
  margin-right: 7px;
  line-height: 26px;
}
.post-vote-wrapper > div {
  display: inline;
  cursor: pointer;
}
.post-vote-wrapper > div a.voted-like.voted,
.post-vote-wrapper > div a.voted {
  background: url(../../icons/comments/heart_hover.svg) no-repeat center;
}
.comment .comment__text .vote-widget {
  padding-left: 12px;
  margin-left: 12px;
  border-left: 1px solid #000;
  width: auto;
}
@media (min-width: 900px) {
  .comment .comments {
    margin-bottom: 0;
    margin-left: 84px;
  }
}
.comments {
  padding: 0 !important;
}
.comments .comment-comment-form,
.comments article.comment {
  border-top: 2px solid #d9d9d9 !important;
  /* border-top: 2px solid var(--primary-color) !important; */
}
/* .stream-comment-item .comment-comment-form{
  padding: 24px;
} */
.comments article.comment::before {
  content: "";
  background: url(../../icons/comments/right-arrow.png) no-repeat center;
  position: absolute;
  width: 35px;
  /* height: 35px; */
  height: 45px;
  left: -54px;
  top: 24px;
  /* top: 10px; */
}
@media (min-width: 600px) {
  .comment__content {
    max-width: 100% !important;
    /* padding: 24px; */
  }
}
.stream-comment-item .form-group {
  margin: 0;
}
.stream-comment-item .card__block,
.stream-comment-item .card {
  padding: 0;
  overflow: visible;
}
.stream-comment-item .comment__content {
  padding: 0 24px 20px 24px;
}
.stream-comment-item .comment-form__wrapper .comment__content {
  padding: 0;
}
.stream-comment-item .comment-form__wrapper .comment-comment-form {
  border: 0 !important;
}
/* .stream-comment-item .comment-form__wrapper { */
.comment-form__wrapper {
  padding: 24px;
  /* padding: 24px 0 0px; */
  border-top: 2px solid var(--primary-color-bold);
  /* border-top: 1px solid #d2d2d2; */
  z-index: 9;
}
/* .stream-comment-item .comment-form__wrapper .comment__avatar img { */
/* .comment .comment__avatar img { */
/* width: 48px !important;
  height: 48px !important;
  min-width: 48px !important; */
/* width: 32.5px !important;
  height: 32.5px !important; */
/* min-width: 32.5px !important; */
/* } */
/* .stream-comment-item .comment-form__wrapper .comment__avatar { */
.comment .comment__avatar {
  width: 48px !important;
  margin: 0;
  display: block;
}
.comment-form__wrapper .form-actions {
  margin-left: 12px !important;
}
.stream-comment-item .comment-btn-wrapper,
.stream-comment-item .reply-btn-wrapper {
  text-align: right;
  padding: 0 24px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
  margin-top: -5px;
}
.stream-comment-item .comment-btn-wrapper a,
.stream-comment-item .reply-btn-wrapper a {
  font-size: 13px;
  line-height: 15px;
  font-weight: 600;
  color: var(--primary-color);
  padding: 0px 0 18px;
}
.stream-comment-item.full-comments .comment-btn-wrapper .btn-show {
  display: none;
}
.stream-comment-item.full-comments .comment-btn-wrapper .btn-hide {
  display: inline-block;
}
.stream-comment-item .show-replies .reply-btn-wrapper .btn-show {
  display: none;
}
.stream-comment-item .show-replies .reply-btn-wrapper .btn-hide {
  display: inline-block;
}
/* .stream-comment-item .comment .comment__avatar img { */
.comment .comment__avatar img {
  border-radius: 50%;
  border: 1px solid #e6e6e6;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
}
.comment-form__wrapper.comment .comment__avatar img {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
}
.form-actions input.button[value="Preview"] {
  display: none;
}
.stream-comment-item .section-title {
  text-align: left;
  font-size: 18px;
  padding: 12px;
  line-height: 21px;
}
.comment .comment-created-time mark.badge.badge--pill {
  display: none;
}
.comment .comment__avatar {
  padding-right: 12px;
  width: 60px;
  min-width: 60px;
  height: 100%;
  float: left;
}
.comment-form__wrapper.comment .comment__avatar {
  padding-right: 12px;
  width: 48px;
  min-width: 48px;
  height: 100%;
  float: left;
}
.comment .comment-comment-form .mentions-input,
.comment .comment-comment-form .mentions-input .highlighter {
  background: #fff !important;
  height: 36px;
  /* padding: 0 12px; */
}
.comment .comment-comment-form .mentions-input textarea.form-textarea,
.comment .comment-comment-form .mentions-input .highlighter {
  border-radius: 24px;
  /* background: transparent; */
  border: 2px solid #d9d9d9 !important;
  background: #fff !important;
}
.comment .comment-comment-form .mentions-input {
  height: auto !important;
}
.comment .comment-comment-form .mentions-input .highlighter {
  display: none;
}

/* ********** Task #383285 Issue 3 26-11-24************ */
/* .comment-form__wrapper { */
/* padding: 24px 0;
  border-top: none; */
/* }  */
/* .comment .comment__content form textarea {
  width: 504px;
} */

/* ********** Task #383287 Issue 1 26-11-24************ */
/* .comment:first-child {
  padding-bottom: 10px;
} */
/* .stream-comment-item{ */
/* margin-bottom: 0; */
/* } */
/* Issue 3 */
.comment .form-actions input.button {
  font-weight: 500 !important;
}
.commentinfo__content .username {
  color: var(--primary-color);
  font-weight: 600;
}
.stream-comment-item .section-title {
  padding-left: 0px;
  color: var(--basicColor);
}
.quicktab-activity-stream .stream-comment-item.limited-comment .comments {
  display: none;
}
body .stream-comment-item .field-content article .comment__content .comment__text .dropdown-menu > li:last-child > a {
  border: 0;
  padding-bottom: 0;
}
body .stream-comment-item .field-content article .comment__content .comment__text .dropdown-menu > li:first-child > a {
  padding-top: 0;
}
/* .enhanced-detail-page .stream-comment-item .section-title {
  padding-bottom: 0px;
} */
/* .enhanced-detail-page .comment-form__wrapper{
  border: none;
}
.enhanced-detail-page article + .comment-form__wrapper {
  border-top: 2px solid var(--primary-color);
} */
body.enhanced-detail-page .comment .comment__actions {
  top: 35px;
}
body.enhanced-detail-page .comment .comment-header-section {
  align-items: center;
}

.comment .comment__actions .btn-icon-toggle:focus {
  background-color: transparent !important;
}

.comment .comment__actions .btn-icon-toggle:hover,
.comment .comment__actions.open .btn-icon-toggle {
  background-color: rgba(0, 0, 0, 0.07) !important;
}
.path-comment.custom_backend_edits .comment.comment-form__wrapper {
  background-color: #fff;
  border-radius: 24px;
  border: 0;
}
.comment .comment__text .use-ajax:hover,
.comment .comment__reply-btn a:hover {
  color: var(--primary-color);
}
.comment .comment__metadata a:hover {
  color: #000;
}
.stream-comment-item .comment__content a {
  color: var(--primary-color);
}
.stream-comment-item .comment__content a:hover {
  color: var(--black);
}
.stream-comment-item .comment__content a * {
  border: 0;
  font-weight: 400;
}
.stream-comment-item .comment__content a.mentions {
  font-weight: 700;
}
/***********hide replay button for replay comment************************/
.comments .comment__content .comment__reply-btn {
  display: none;
}
.comments .comment__content .vote-widget {
  border-left: 0;
  padding: 0;
  margin: 0;
}
.quicktab-activity-stream .stream-comment-item .comment .comment__author a {
  font-weight: 600;
  color: var(--primary-color);
}
.quicktab-activity-stream .stream-list-item .media .metainfo__content ,
.quicktab-activity-stream .stream-comment-item .comment .commentinfo__content {
  width: calc(100% - 60px);
  float: left;
  font-size: 16px;
  line-height: 19px;
  color: var(--primary-color);
  font-weight: 400;
}
.comment .comment__text .use-ajax {
  color: #000;
}
.comment .comment__text .use-ajax:hover {
  color: var(--primary-color);
}
.stream-comment-item:not(:has(  .card__comment_section >article + .comment-form__wrapper)) .section-title {
  color: var(--primary-color-bold);
}
.commentinfo__content .username:hover {
  color: #000;
}
