@charset "utf-8";


/*
  리뷰 탭
*/
.ddm-comment-box .review-tabs {
  margin: 30px 0 15px 0;

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

.ddm-comment-box .review-tabs .tab {
  margin: 0 5px;
  padding: 12px 24px;

  font-size: 19px;
  font-weight: 400;
  background: #fff;
  border: 1px solid #000;
  border-radius: 24px;

  display: inline-block;
}

.ddm-comment-box .review-tabs .tab span {
  font-size: 16px;
  display: none;
}

.ddm-comment-box .review-tabs .tab.on {
  color: #fff !important;
  background: #000;
}

.ddm-comment-box .review-tabs .tab.on span {
  display: inline-block;
}


/*
  리뷰 별점 통계
*/
.ddm-comment-box .review-score-box {
  margin: 28px auto;
  padding: 40px 60px;

  width: 500px;

  border: 1px solid #e3e5e9;
  border-radius: 12px;

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

.ddm-comment-box .review-score-box .summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.ddm-comment-box .review-score-box .summary .num {
  font-size: 80px;
  color: #000;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

.ddm-comment-box .review-score-box .summary .score {
  margin: 0;
  width: 168px;
  height: 36px;
  background: url('https://image.daedamo.com/images/img/renew/star5_off.png') no-repeat;
  background-size: 100%;
  position: relative;
  display: table-cell;
}

.ddm-comment-box .review-score-box .summary .score span {
  position: absolute;
  top: 0;
  left: 0;
  height: 36px;
  background: url('https://image.daedamo.com/images/img/renew/star5_on.png') no-repeat;
  background-size: 168px auto;
}

.ddm-comment-box .review-score-box .graph {
  margin-left: 40px;
}

.ddm-comment-box .review-score-box .graph ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.ddm-comment-box .review-score-box .graph ul li {
  margin: 0 0 6px;
  padding: 0;

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

.ddm-comment-box .review-score-box .graph ul li .num {
  margin-right: 4px;
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

.ddm-comment-box .review-score-box .graph ul li .bar {
  margin-left: 20px;

  width: 212px;
  height: 18px;
  background: #e6e6ea;

  display: flex;
  align-items: center;
}

.ddm-comment-box .review-score-box .graph ul li .bar span {
  min-width: 1px;
  max-width: 100%;
  height: 100%;
  background: #6438eb;
  display: inline-block;
}


/*
  리뷰 리스트
*/
.ddm-comment-box .comment-list .comment-item .comment-body .contents dl dt {
  padding: 4px 12px;

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

.ddm-comment-box .comment-list .comment-item .comment-body .contents dl dd {
  margin: 0 0 25px;
}

.ddm-comment-box .comment-list .comment-item .comment-body .contents dl dd:last-child {
  margin: 0;
}


/*
  리뷰 작성폼
*/
.ddm-comment-box .write_comment_box .form-item.scores ul {
  margin: 0;
  padding: 0;
  list-style-type: none;

  display: flex;
  align-items: center;
}

.ddm-comment-box .write_comment_box .form-item.scores ul li {
  margin: 0 30px 0 0;
  padding: 0;

  line-height: 24px;
  display: inline-block;
}

.ddm-comment-box .write_comment_box .form-item.scores ul li input {
  display: none;
}

.ddm-comment-box .write_comment_box .form-item.scores ul li input:checked ~ .star {
  background: url('https://image.daedamo.com/images/img/renew/icon/i_star1_on_blue_24.svg') no-repeat;
}

.ddm-comment-box .write_comment_box .form-item.scores ul li .star {
  padding: 0;
  width: 24px;
  height: 24px;
  background: url('https://image.daedamo.com/images/img/renew/icon/i_star1_off_gray_24.svg') no-repeat;
  float: right;
}

.ddm-comment-box .write_comment_box .form-item.scores ul li .star:hover {
  transform: scale(1.3);
}

.ddm-comment-box .write_comment_box .form-item.filelist > div {
  display: inline-block;
}

.ddm-comment-box .write_comment_box .form-item.filelist ul {
  margin: 0;
  padding: 0;

  list-style-type: none;
  display: none;
}

.ddm-comment-box .write_comment_box .form-item.filelist ul li {
  margin: 0 25px 0 0;
  padding: 0;

  font-size: 12px;
  color: #606266;

  display: inline-block;
}

.ddm-comment-box .write_comment_box .form-item.filelist ul li .btn-remove-file {
  color: #F56C6C !important;
  margin-left: 5px;
}

.ddm-comment-box .write_comment_box .form-item.filelist .filebox {
  margin-right: 5px;
  line-height: 28px;
}

.ddm-comment-box .write_comment_box .form-item.filelist .filebox label {
  padding: 0 10px;
  width: auto;

  color: #fff;
  background-color: #409EFF;
  border-radius: 4px;

  font-size: 13px;

  cursor: pointer;
}

.ddm-comment-box .write_comment_box .form-item.filelist .filebox label i {
  margin-right: 5px;
}

.ddm-comment-box .write_comment_box .form-item.filelist .filebox input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip:rect(0,0,0,0);
  border: 0;
}

.ddm-comment-box .write_comment_box .form-item.text {
  margin-right: 10px;
  width: 45%;

  display:inline-block;
}
.ddm-comment-box .write_comment_box .form-item.text textarea {
  font-size: 14px;
}
.ddm-comment-box .write_comment_box .form-item.text textarea::placeholder {
  color: #929292;
}


@media only screen and (max-width: 600px) {
  .ddm-comment-box .review-tabs {
    margin: 20px 5%;
    justify-content: center;
  }

  .ddm-comment-box .review-tabs .tab {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 20px;
  }

  .ddm-comment-box .review-tabs .tab span {
    font-size: 14px;
  }

  .ddm-comment-box .review-score-box {
    margin: 20px 5%;
    padding: 16px 24px;
    width: 90%;

    border-radius: 8px;
  }

  .ddm-comment-box .review-score-box .summary .num {
    margin: 0;
    font-size: 50px;
  }

  .ddm-comment-box .review-score-box .summary .score {
    margin: 8px 0;
    width: 100px;
    height: 20px;
  }

  .ddm-comment-box .review-score-box .summary .score span {
    height: 20px;
    background-size: 100px;
  }

  .ddm-comment-box .review-score-box .graph {
    margin-left: 30px;
  }

  .ddm-comment-box .review-score-box .graph ul li {
    margin: 0;
  }

  .ddm-comment-box .review-score-box .graph ul li .num {
    font-size: 14px;
    margin-right: 10px;
  }

  .ddm-comment-box .review-score-box .graph ul li .bar {
    margin: 0;
    width: 150px;
    height: 8px;
  }

  .ddm-comment-box .comment-list .comment-item .comment-body .contents dl dt {
    font-size: 12px;
    font-weight: 400;
  }

  .ddm-comment-box .write_comment_box .form-item.scores ul {
    display: block;
  }

  .ddm-comment-box .write_comment_box .form-item.scores ul li {
    margin: 0;
  }

  .ddm-comment-box .write_comment_box .form-item.scores ul li .star {
    margin: 0;
  }

  .ddm-comment-box .write_comment_box .form-item.filelist label {
    vertical-align: top;
  }

  .ddm-comment-box .write_comment_box .form-item.filelist ul {
    margin-bottom: 10px;
  }

  .ddm-comment-box .write_comment_box .form-item.filelist ul li {
    padding: 5px 0;

    display: block;
  }

  .ddm-comment-box .write_comment_box .form-item.filelist .filebox {
    display: block;
  }

  .ddm-comment-box .write_comment_box .form-item.filelist .filebox label {
    margin: 0;
  }

  .ddm-comment-box .write_comment_box .form-item.text {
    margin: 0 0 20px;
    width: 100%;
  }
}
