:root body{
  --line-color:#32373d;
}
:root .bg_light{
  --line-color:#e3dfdf;
}

.messages-box-l{
  width: calc(65% - 20px);
  margin-right: 20px;
}
.messages-box-r{
  width: 35%;
}

@media (max-width: 900px) {
  .messages-box-l{
      width: 100%;
      margin: 0;
  }
  .messages-box-r{
      width: 100%;
  }
}
.wen-message-message-form {
  display: flex;
  flex-direction: column;
}

.required {
  width: 100%;
  background-color: var(--bg-thumb);
  height: 42px;
  padding: 0 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.form-textarea {
  padding: 10px;
}

.article-bar-bottom {
  margin-top: 6px;
}

.article-bar-bottom li {
  margin: 0 5px 0;
  border-radius: 19px;
  display: flex;
  justify-content: space-around;
  cursor: pointer;
}

.article-bar-bottom span {
  margin: 0 5px;
}

.sideline::before,
.reply-msg::before {
  background-color: var(--line-color);
  content: '';
  width: 1px;
  height: calc(100% - 8px);
  top: 8px;
  position: absolute;
  left: 24px;
  z-index: 1;
}

.blocks-bg-color{
  background-color: var(--bg-thumb);
}
.reply-msg::before {
  width: 26px;
  height: 1px;
  left: -33px;
  top: 13px;
}

.reply-msg-replies::before {
  display: none;
}

.reply-msg {
  margin-left: 58px;
  margin-top: 15px;
}

.reply-msg .user_profile {
  width: 26px;
  height: 26px;
}

.reply-msg .message-content {
  width: calc(100% - 26px - 10px);
}

.user_profile {
  width: 48px;
  height: 48px;
  background-color: #f9f3f3;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.user_profile img {
  width: 100%;
  height: auto;
}

.message-content {
  width: calc(100% - 48px - 10px);
  margin-left: 10px;
}
.message-time{
  margin-bottom: 4px;
}
.message-time span {
  margin-left: 10px;
}

.content-text-box {
  display: inline-block;
  padding: 6px 8px;
}

.content-text-box p {
  white-space: pre-line;
}

.replay-form {
  margin-top: 10px;
  position: relative;
}

.replay-form::before {
  content: '';
  width: 0;
  height: 0;
  border: 20px solid;
  border-color: transparent transparent var(--bg-thumb);
  top: -28px;
  left: 40px;
  position: absolute;
  z-index: -1;
}

.transparent-layer {
  display: none;
}

.form-comment .comment-radio[type=checkbox] {
  width: 16px;
  height: 16px;
  top: 0px;
  content: " ";
  display: inline-block;
  visibility: visible;
  border-radius: 3px;
  border: 1px solid #0067e4;
  overflow: hidden;
  cursor: pointer;
}

.form-comment .comment-radio[type=checkbox]:checked {
  background-size: 16px 16px;
}

.form-comment .text-width {
  width: 100%;
  box-shadow: none;
  background-color: var(--bg-primary);
}
.form-comment {
  margin: 0 0 10px 0;
}
.form-comment-btn{
  display: flex;
  justify-content: flex-end;
}
.form-comment label {
  display: inline-block;
}

.form-comment input,
.form-comment textarea {
  width: 100%;
  position: initial;
  border-radius: 6px;
  margin: 0;
}

.form-comment textarea {
  padding: 10px;
  background-color: var(--bg-primary);
}

.form-comment .postalcode-btn {
  margin: 5px 0 0 0;
}
.form-comment .clear-btn{
  margin-right: 10px;
  background: #4c617d;
}

.form-comment span {
  color: #1d54f3;
  margin-left: 4px;
}

.js-form-submit.postalcode-btn {
  margin-left: 0;
}

@media (max-width: 900px) {
  .form-submit {
    width: 100%;
  }

  .sideline::before {
    left: 18px;
  }

  .reply-msg::before {
    width: 22px;
    left: -28px;
  }

  .user_profile {
    width: 36px;
    height: 36px;
  }

  .message-content {
    width: calc(100% - 40px - 10px);
  }

  .reply-msg {
    margin-left: 46px;
  }

  .transparent-layer {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 101;
    top: 0;
    left: 0;
  }

  .form-comment {
    margin: 0 0 12px;
  }

  .message-content .replay-form {
    position: fixed;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
    background-color: var(--bg-thumb);
    padding: 15px 5px 10px;
    border-radius: 10px 10px 0 0;
    margin: 0;
    z-index: 102;
  }

  .message-content .replay-form::before {
    display: none;
  }
}