.comments-editor {
  margin-bottom: 48px;
}

.comments-button {
  display: flex;
  gap: 15px;
  width: 300px;
}

.comments-button .item-news__btn {
  height: 42px;
  width: 118px;
  max-width: 118px;
  margin: 0;
  padding: 0;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
}

.comments-list-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgb(198, 204, 210);
}

.comments-list-item .comment-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

/*.comments-list-item.no-approved .comment-author-info::after */
.comments-list-item.no-approved .info-status
{
  /*content: 'Awaiting approval';*/
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  margin-left: auto;
  padding: 2px 18px;
  font-weight: 300;
  font-size: 12px;
  color: rgba(32, 32, 32, 0.5);
  background-color: transparent;
  border-radius: 100px;
}

.comments-list-item.no-approved {
  opacity: 0.5;
}

/*.comments-list-item.no-approved,
.comments-list-item.no-approved .comment-quote{
  color: #a4a4a4;
}

.comments-list-item.no-approved .comment-quote{
  border-left: 3px solid #d5d5d5;
}*/

.comments-list-item .user-avatar {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  margin: 0;
}

.comments-list-item .user-name {
  font-weight: 400;
  font-size: 14px;
}

.comments-list-item .comment-content {
  width: auto;
  margin-bottom: 18px;
  padding: 12px;
  font-weight: 300;
  font-size: 12px;
  background-color: #ecf2f9;
  border: 1px solid rgba(32, 32, 32, 0.05);
  border-radius: 12px;
}
.comment-wrapper {
  width: 100%;
}

.comment-header {
  margin-bottom: 10px;
  font-style: italic;
  font-size: 13px;
  font-weight: 300;
  opacity: 0.75;

  width: 100%;
  display: flex;
  justify-content: space-between;
}

.comments-list-item .comment-quote {
  border-left: 3px solid grey;
  padding-left: 10px;
  margin: 10px 0;
  font-style: italic;
  background-color: #f9f9f9;
  border-radius: 5px;
  padding: 10px;
  color: #333;
}

.comment-info {
  display: flex;
}

.comment-reply {
  margin-left: 100px;
  margin-top: 40px;
  width: calc(100% - 100px);
}

.single iframe {
  border-radius: 16px;
}

.comment-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  width: 100%;
}

.info-comment {
  font-size: 14px;
  flex-grow: 1;
}

.info-date {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  padding: 2px 18px;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0%;
  background-color: #ecf2f9;
  border-radius: 100px;
}

.comment-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.comment-submit {
  position: absolute;
  bottom: 20px;
  right: 0;
  cursor: pointer;
}

.btn-comment {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 75px;
  height: 30px;
  padding: 2px 14px;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0%;
  background-color: #ecf2f9;
  border-radius: 100px;
  cursor: pointer;
  transition: box-shadow 0.4s;
}

.btn-comment:hover {
  box-shadow: inset 0 0 0 2px #92bdff;
}

.btn-comment .icon {
  width: 12px;
}

/* modal - edit*/
#editCommentModal .modal-content {
  background-color: #ecf2f9;
}

#editCommentModal .modal-body {
  padding: 0 20px;
}

#editCommentModal .modal-header {
  padding: 12px 18px 20px;
  border: none;
  display: flex;
  justify-content: space-between;
}

#editCommentModal .modal-title {
  margin: 0;
  font-size: 24px;
  font-weight: 300;
}

#editCommentModal .close.close-modal {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  font-size: 24px;
  background-color: transparent;
  opacity: 0.25;
}

#editCommentModal .close.close-modal span {
}

/* mce */

div.mce-edit-area {
  width: 100%;
  margin-bottom: 10px;
  padding: 12px;
  border-radius: 12px;
}
.modal div.mce-edit-area {
  background-color: #e1ebf6;
}

#tinymce,
#tinymce p {
  padding: 0 !important;
  background-color: transparent !important;
}

.mce-top-part {
  margin-bottom: 16px;
}

.mce-container-body,
.mce-flow-layout-item > * {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#editCommentModal button {
  height: 34px;
}

#editCommentModal .modal-footer {
  gap: 8px;
  max-width: none;
  margin: 0 18px;
  padding: 16px 0;
  border-top: 1px solid #e1ebf6;
}

#editCommentModal .modal-footer button {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  width: 118px;
  height: 42px;
  margin: 0;
  font-size: 16px;
}

.mce-tinymce {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.mce-panel {
  border: none;
  background-color: transparent;
}

.mce-top-part {
  /* position: absolute;
  bottom: -65px;*/
}

.mce-top-part::before {
  -webkit-box-shadow: none;
  box-shadow: none;
}

.mce-btn-group .mce-btn {
  margin: 0;
}

.mce-btn {
  border: none;
  border-radius: 34px;
}
.mce-btn button {
  height: 34px;
}

.mce-btn-group:not(:first-child) {
  border-left: none;
  margin-left: 0;
}

.mce-ico {
  line-height: 18px;
  width: 22px;
  height: 18px;
  text-align: center;
}

.mce-statusbar {
  /*position: absolute;
  bottom: 0px;
  width: 100%;*/
}

.mce-branding {
  display: none;
}

.mce-statusbar > .mce-container-body {
}

.mce-container-body .mce-resizehandle {
  right: 20px;
  bottom: 20px;
}

.single .btn-comment img {
  margin: 0;
}

.comment-quote-response {
  display: flex;
  justify-content: space-between;
}

.comment-quote-response .comment-quote-author {
  font-weight: bold;
  font-size: 13px;
  line-height: 14.4px;
  letter-spacing: 0%;
  
}
.comment-quote-response .comment-quote-date {
  font-weight: 300;
  font-style: italic;
  font-size: 12px;
  line-height: 14.4px;
  letter-spacing: 0%;
}

.comments-editor-wrap {
  position: relative;
}
.loader.tmce {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: #333;
  z-index: 1000;
} 
.link {
  color: black;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 400;
}
.link:hover {
  color: darkblue; 
  text-decoration: none; 
}
.load-more {
  cursor: pointer;
  margin: auto;
}

.mce-menubtn.mce-fixed-width span {
  vertical-align: unset;
  line-height: 32px;
  text-align: center;
}
.mce-panel {
  background-color: #e1ebf6;
}

.mce-path {
  display: none;
}

.wrap-comments {
  position: relative;
}
.comments-list-item {
  position: relative;
}
.comments-list-item.reply::after {
  position: absolute;
  content: "";
  top: 50px;
  left: 25px;
  width: 26px;
  height: 100%;
  border-left: 1px solid #c6ccd2;
  border-bottom: 1px solid #c6ccd2;
  border-bottom-left-radius: 1.15rem;
}
.comments-list-item.reply {
  border-bottom: none;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.comment-content,
.comment-panel {
  margin-left: 50px;
}

.icon-loadmore-replies {
  width: 80%;
  margin: 25px auto; 
}

.is-admin {
  display: flex;
}
.text-approval {
  font-size: 14px;
  height: 30px;
  line-height: 30px;
}

@media (max-width: 768px) {
  .comments-list-item.reply::after {
      top: 50px;
  }
}


@media (min-width: 767.98px) {
  .comments-list-item.no-approved .comment-author-info::after {
    font-size: 13px;
  }

  .comments-list-item .user-avatar {
    width: 50px !important;
    height: 50px !important;
  }

  .comments-list-item .user-name {
    font-size: 18px;
  }

  .comments-list-item .comment-content {
    font-size: 16px;
  }

  .info-date {
    font-size: 14px;
  }

  .btn-comment {
    min-width: 85px;
    font-size: 14px;
  }
}


@media (max-width: 768px) {
  .comment-submit {
    position: relative;
  }
}