@charset "utf-8";

.ddm-comment-box {
  width: 100%;
  border-top: 1px solid #d7d8da;
}

/*
  댓글 리스트
*/
.ddm-comment-box .comment-list {
  margin-top: 20px;
}

.ddm-comment-box .comment-list .title {
  padding: 10px 0 20px;

  font-size: 24px;
  font-weight: 700;

  border-bottom: 1px solid #f0f0f0;
}

.ddm-comment-box .comment-list .title .count {
  font-size: 24px;
  font-weight: 400;
  margin-left: 4px;
}

.ddm-comment-box .comment-list .comment-item {
  margin: 5px 0;
  padding: 10px 15px;
  border-bottom: 1px solid #f0f0f0;
}

.ddm-comment-box .comment-list .comment-item .comment-header {
  line-height: 26px;
  position: relative;
  display: flex;
}

.ddm-comment-box .comment-list .comment-item .comment-header .tag {
  color: #4c00ee;
  font-weight: 700;
  font-size: 11px;
  border: 1px solid #4c00ee;
  border-radius: 4px;
  padding: 0 8px;
  margin-right: 12px;
}

.ddm-comment-box .comment-list .comment-item .comment-header .name {
  font-size: 16px;
  font-weight: 700;
}

.ddm-comment-box .comment-list .comment-item .comment-header .datetime {
  font-size: 14px;
  color: #9394a4;
  margin-left: 20px;
}

.ddm-comment-box .comment-list .comment-item .comment-header .tools {
  position: absolute;
  top: 0;
  right: 0;

  cursor: pointer;
}

.ddm-comment-box .comment-list .comment-item .comment-header .comment-dropdown {
  position: absolute;
  top: 20px;
  right: 0;

  padding: 5px 20px 5px 12px;

  border: 1px solid #ddd;
  background: #f9f9f9;

  z-index: 1;
}

.ddm-comment-box .comment-list .comment-item .comment-header .comment-dropdown button {
  display: block;

  height: 24px;

  border: none;
  background-color: transparent;

  font-size: 12px;

  color: #9394a4;
  line-height: 24px;
}

.ddm-comment-box .comment-list .comment-item .comment-header .comment-dropdown button .fa {
  margin-right: 4px;
}

.ddm-comment-box .comment-list .comment-item .comment-header .comment-dropdown button:hover {
  color: #121212;
}

.ddm-comment-box .comment-list .comment-item .comment-body .review-scores {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.ddm-comment-box .comment-list .comment-item .comment-body .review-scores .review-item {
  margin-right: 20px;
  display: flex;
  align-items: center;
}

.ddm-comment-box .comment-list .comment-item .comment-body .review-scores .review-item .label {
  font-size: 14px;
  color: #4c00ee;
  margin-right: 10px;
}

.ddm-comment-box .comment-list .comment-item .comment-body .review-scores .review-item .score {
  position: relative;
  display: table-cell;
  margin: 0;
  width: 84px;
  height: 16px;
  background: url("https://image.daedamo.com/images/img/renew/star5_off.png") no-repeat;
  background-size: 100%;
}

.ddm-comment-box .comment-list .comment-item .comment-body .review-scores .review-item .score span {
  position: absolute;
  top: 0;
  left: 0;
  height: 16px;
  background: url("https://image.daedamo.com/images/img/renew/star5_on.png") no-repeat;
  background-size: 84px 16px;
}

.ddm-comment-box .comment-list .comment-item .comment-body .contents p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.5em;
  color: #606266;
}

.ddm-comment-box .comment-list .comment-item .comment-body .contents .comment-images {
  margin-top: 10px;
}

.ddm-comment-box .comment-list .comment-item .comment-body .contents .comment-images .image {
  margin: 0 2px 5px;
  width: auto;
  min-width: 40px;
  height: 160px;
  border-radius: 8px;

  vertical-align: top;
  overflow: hidden;
  display: inline-block;
}

.ddm-comment-box .comment-list .comment-item .comment-body .contents .comment-images .image img {
  max-height: 160px;
}

.ddm-comment-box .comment-list .comment-item .comment-footer {
  margin: 5px 0;
  height: 30px;
  text-align: right;
}

.ddm-comment-box .comment-list .comment-item .comment-footer .btn {
  padding: 0;
  margin: 0 5px;
}

.ddm-comment-box .comment-list .comment-item .comment-footer .btn .count {
  margin-left: 2px;
  color: #9394a4;
}

.ddm-comment-box .comment-list .comment-item .comment-footer .btn.on .count {
  color: #4c00ee;
}

.ddm-comment-box .comment-list .comment-item .comment-footer .btn.btn-report {
  margin-left: 5px;
  padding-left: 2px;
  font-size: 13px;
  color: #9394a4 !important;
}

.ddm-comment-box .comment-list .comment-item .comment-footer .btn.btn-good::before {
  content: url("https://image.daedamo.com/images/img/renew/icon/i_good_off_blue_16.svg");
  vertical-align: -3px;
}

.ddm-comment-box .comment-list .comment-item .comment-footer .btn.btn-good.on::before {
  content: url("https://image.daedamo.com/images/img/renew/icon/i_good_on_blue_16.svg");
}

.ddm-comment-box .comment-list .comment-item .comment-footer .btn.btn-nogood::before {
  content: url("https://image.daedamo.com/images/img/renew/icon/i_hate_off_blue_16.svg");
  vertical-align: -3px;
}

.ddm-comment-box .comment-list .comment-item .comment-footer .btn.btn-nogood.on::before {
  content: url("https://image.daedamo.com/images/img/renew/icon/i_hate_on_blue_16.svg");
}

.ddm-comment-box .comment-list .comment-item .comment-footer .btn.btn-report::before {
  content: url("https://image.daedamo.com/images/img/renew/i_siren.svg");
  vertical-align: -3px;
}

.ddm-comment-box .comment-list .comment-item.empty-data {
  height: 250px;
  color: #909399;

  display: flex;
  align-items: center;
  justify-content: center;
}

.ddm-comment-box .comment-list .comment-item.focused {
  background: lightyellow;
}

/*
  댓글 작성폼
*/
.ddm-comment-box .write_comment_box .title {
  font-size: 24px;
  margin: 10px 0 20px;
  font-weight: 700;
}

.ddm-comment-box .write_comment_box .form-item {
  margin: 5px 0;
  padding: 5px 0;
}

.ddm-comment-box .write_comment_box .form-item label {
  padding-right: 10px;
  width: 80px;

  color: #9394a4;

  font-size: 16px;
  text-align: right;

  display: inline-block;
}

.ddm-comment-box .write_comment_box .form-item.text {
  padding: 10px;
  width: 100%;

  border: 1px solid #d7d8da;
  border-radius: 6px;

  position: relative;
}

.ddm-comment-box .write_comment_box .form-item.text label {
  padding: 4px 12px;
  width: auto;

  color: #9394a4;
  font-size: 13px;
  font-weight: 700;
  background: #f7f8fb;
  border-radius: 50px;
  display: inline-block;
}

.ddm-comment-box .write_comment_box .form-item.text textarea {
  margin-top: 5px;

  width: 98%;
  height: 100px;

  color: #606266;

  border: none;
  overflow: auto;
  outline: none;

  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;

  resize: none;
}

.ddm-comment-box .write_comment_box .form-item.text textarea:focus,
.ddm-comment-box .write_comment_box .form-item.text textarea:focus-visible {
  border: none;
}

.ddm-comment-box .write_comment_box .form-item.text .information {
  color: #909399;
  font-size: 12px;
  text-align: right;
}

.ddm-comment-box .write_comment_box .form-item.text .information span {
  color: #d82e18;
}

.ddm-comment-box .write_comment_box .form-item.text .information .text-count {
  color: #606266;
}

.ddm-comment-box .write_comment_box .btn_submit {
  margin: 10px 20px;
  padding: 5px 14px !important;
  width: auto !important;
  height: auto !important;

  color: #fff;
  background: #4c00ee;

  border: none;
  border-radius: 20px;

  font-size: 15px;
  text-align: center;
  letter-spacing: 0;

  float: right;
}

/** 블라인드 댓글 */
.ddm-comment-box .comment-list .comment-item.blocked {
  position: relative;
}

.ddm-comment-box .comment-list .comment-item.blocked .comment-body {
  filter: blur(10px) !important;
  -webkit-filter: blur(10px) !important;

  app-region: no-drag;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  margin: 10px 0 0;
  height: 130px;
  background: url(../../img/css_shared/view_blind.png) no-repeat 50% 50%;
  overflow: hidden;
  background-size: cover;
}

.ddm-comment-box .comment-list .comment-item.blocked .commend-blocked {
  width: 90%;
  font-size: 14px;
  font-weight: 700;
  text-align: center;

  position: absolute;
  top: 100px; /* .comment-body height 고정 */
  left: 50%;
  transform: translateX(-50%);
  color: #181c34eb;
}
.ddm-comment-box .comment-list .comment-item.blocked .commend-blocked i {
  margin-right: 6px;
}

.ddm-comment-box .comment-list .comment-item.blocked .commend-blocked .btn_blocked_remove {
  display: block;
  margin: 10px auto;
  border-radius: 8px;
  background: #4c00ee;
  color: #fff;
  padding: 8px 12px;
}

/* mobile */
.mobile .ddm-comment-box .comment-list .comment-item.blocked .commend-blocked {
  top: 94px;
}

@media only screen and (max-width: 600px) {
  .ddm-comment-box {
    max-width: 100vw;
    overflow: hidden;

    border-top: 20px solid #f4f4f4;
  }

  .ddm-comment-box a {
    text-decoration: none !important;
  }

  .ddm-comment-box .comment-list {
    margin: 0;
    /* border-top: 20px solid #f4f4f4; */
  }

  .ddm-comment-box .comment-list .title {
    padding: 15px 5%;

    font-size: 18px;
  }

  .ddm-comment-box .comment-list .title .count {
    font-size: 14px;
  }

  .ddm-comment-box .comment-list .comment-item {
    padding: 0 5%;
  }

  .ddm-comment-box .comment-list .comment-item .comment-header .name,
  .ddm-comment-box .comment-list .comment-item .comment-header .name .sv_wrap {
    font-size: 14px;
  }

  .ddm-comment-box .comment-list .comment-item .comment-header .name .guest {
    padding-left: 5px;
  }

  .ddm-comment-box .comment-list .comment-item .comment-header .datetime {
    font-size: 12px;
  }

  .ddm-comment-box .comment-list .comment-item .comment-header .tools .buttons {
    padding: 5px 0;
    width: 80px;
  }

  .ddm-comment-box .comment-list .comment-item .comment-header .tools .buttons .btn {
    padding: 0;
  }

  .ddm-comment-box .comment-list .comment-item .comment-body .review-scores {
    margin-bottom: 20px;
    display: block;
  }

  .ddm-comment-box .comment-list .comment-item .comment-body .review-scores .review-item {
    padding: 2px 0;
  }

  .ddm-comment-box .comment-list .comment-item .comment-body .review-scores .review-item .label {
    padding: 0;
    font-size: 13px;
    font-weight: normal;
  }

  .ddm-comment-box .comment-list .comment-item .comment-body .contents p {
    margin: 5px 0;
    font-size: 13px;
    line-height: 1.4em;
  }

  .ddm-comment-box .comment-list .comment-item .comment-body .contents .comment-images .image {
    min-width: 30px;
    height: 120px;
  }

  .ddm-comment-box .comment-list .comment-item .comment-body .contents .comment-images .image img {
    max-height: 120px;
  }

  .ddm-comment-box .mw_basic_comment_page {
    padding: 0 !important;
  }

  .ddm-comment-box .mw_basic_comment_page .pg_wrap {
    margin: 0 !important;
    padding: 10px 0 !important;
  }

  .ddm-comment-box .write_comment_box {
    padding: 0 5%;
    border-top: 20px solid #f4f4f4;
  }

  .ddm-comment-box .write_comment_box .title {
    margin: 15px 0;
    font-size: 18px;
  }

  .ddm-comment-box .write_comment_box .form-item label {
    font-size: 14px;
    font-weight: 400;
    margin-right: 20px;
  }

  .ddm-comment-box .write_comment_box .btn_submit {
    margin: 10px 0;
  }
}
