.comment-form-comment,
.comment-form-email,
.comment-form-author {
  position: relative;
  display: flex;
  flex-direction: column;
}
.comment-form-comment textarea,
.comment-form-email input,
.comment-form-author input {
  border: 1px solid transparent;
  background: #f8f7f7;
  padding: 20px;
  border-radius: 10px;
  font-family: "Ravi";
  transition: all 0.3s;
}
.comment-form-comment textarea:focus,
.comment-form-email input:focus,
.comment-form-author input:focus {
  border: 1px solid var(--color2);
  outline: none;
}
#review_form_wrapper .comment-reply-title,
#review_form_wrapper .comment-notes {
  display: none !important;
}
.comment-custom-field {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.comment-custom-field p {
  flex: 1;
  min-width: 250px;
  margin-bottom: 0 !important;
}
.comment-form label {
  margin-bottom: 10px;
}
#commentform .form-submit {
  margin-top: 3rem;
  text-align: center;
}
#commentform .form-submit .btn.btn-green {
  border: none;
  font-family: "Ravi";
  font-size: 16px;
  cursor: pointer;
}
#commentform .form-submit .btn.btn-green i {
  margin-right: -5px;
}
@media (max-width: 768px) {
  .comment-custom-field {
    flex-direction: column;
    gap: 15px;
  }
  .comment-custom-field p {
    width: 100%;
  }
}
.commentlist li {
  list-style: none;
  margin-bottom: 30px;
}
.comment_container {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  background: var(--color3);
  position: relative;
}
.comment-header {
  background-color: #e4f0ee;
  border-radius: 8px;
  padding: 10px 15px;
  margin-bottom: 15px;
  position: relative;
  display: flex;
  align-items: center;
}
.comment-header::before,
.comment-header::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 15px;
  height: 3px;
  background-color: #e0e0e0;
  transform: translateY(-50%);
  z-index: 1;
}
.is-admin .comment-header::before,
.is-admin .comment-header::after {
  background-color: var(--color2);
}
.comment-header::before {
  right: 100%;
  margin-right: 5px;
}
.comment-header::after {
  left: 100%;
  margin-left: 5px;
}
.header-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 10px 0;
  height: 60px;
}
.is-admin .header-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 5px 0;
}
.comment-author,
.comment-date {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #333;
  font-size: 16px;
}
span.comment-date-admin {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--color3);
  font-size: 18px;
}
.comment-author i {
  font-size: 18px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color2);
}
.is-admin .comment-author img {
  width: 100px;
  height: 39px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
}
.comment-body {
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}
.comment-footer {
  text-align: left;
  padding-top: 10px;
}
.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}
a.comment-reply-link::after {
  content: "\e900";
  font-family: "icomoon";
  transition: all 0.3s ease;
  transform: rotate(90deg);
  color: var(--color1);
  background-color: transparent;
  border: 2px solid var(--color1);
  padding: 2px;
  border-radius: 15px;
  margin-right: 10px;
}
a.comment-reply-link:hover {
  color: var(--color1);
}
a.comment-reply-link:hover::after {
  background-color: var(--color1);
  color: var(--color3);
  border-color: var(--color1);
}
.comment-body p {
  font-size: 18px;
}
.is-admin .comment_container {
  max-width: 90%;
  margin-right: auto;
  margin-left: 0;
  border-color: var(--color2);
}
.is-admin .comment-header {
  background-color: var(--color2);
}
.commentlist li {
  position: relative;
}
.reply-connector-icon {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 40px;
  height: 40px;
  background: var(--color2);
  color: var(--color3);
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  z-index: 10;
  margin-left: 40px;
}
.commentlist .children {
  padding-right: 60px;
  margin-top: 20px;
}
.comment-date i.icon-date {
  font-size: 20px;
}
.websima-error-msg {
  color: var(--color1);
  font-size: 14px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.websima-input-error {
  border: 2px solid var(--color1) !important;
}
@media (max-width: 768px) {
  .reply-connector-icon {
    margin-left: 20px;
  }
  .is-admin .comment_container {
    max-width: 100%;
  }
  .comment-author,
  .comment-date {
    font-size: 14px;
  }
}
span#reply-title {
  width: 100%;
  display: flex;
  background: var(--color2);
  color: var(--color3);
  padding: 10px;
  border-radius: 10px;
  margin: 1rem auto;
  justify-content: space-between;
  align-items: center;
}
div#respond {
  width: 100%;
}
a#cancel-comment-reply-link {
  color: var(--color3);
  font-size: 14px;
}
a#cancel-comment-reply-link:hover {
  color: var(--color1);
}
