@charset "utf-8";
.hidden {
  display: none !important;
}

[data-role="comment-container"] [data-role="comment-item"]:focus,
[data-role="comment-container"] [data-role="oneline-item"]:focus {
  background-color: #F5FFFE !important;
}

[data-role="comment-item"],
[data-role="comment-item"] .markdown-body {
  font-size: 13px;
  word-break: break-all;
}
[data-role="comment-item"].highlight,
[data-role="oneline-item"].highlight {
  padding: 15px;
  background-color: #F9F9F3
}
[data-role="comment-item"] [data-role="anchor-link"] {
  visibility: hidden;
}
[data-role="comment-item"]:hover [data-role="anchor-link"] {
  visibility: visible;
}

[data-role="oneline-item"],
[data-role="oneline-item"].markdown-body {
  font-size: 12px
}
[data-role="oneline-item"] [data-role="anchor-link"] {
  visibility: hidden;
}
[data-role="oneline-item"]:hover [data-role="anchor-link"] {
  visibility: visible;
}

[data-role="oneline-item"] blockquote {
  margin-bottom: 0;
  padding: 0 1em;
  color: #6a737d;
  border-left: 0.25em solid #dfe2e5;
}

[data-role="comment-item"] figure.image img {
  max-width: 100%;
  height: auto;
}
[data-role="comment-item"] [data-role="comment-hidden"],
[data-role="oneline-item"] [data-role="oneline-hidden"] {
  display: none
}
[data-role="comment-item"][data-hidden="true"] [data-role="comment-hidden"] {
  display: inline-block;
}
[data-role="oneline-item"][data-hidden="true"] [data-role="oneline-hidden"] {
  display: inline-block;
}

.js-like.active {
  color: #007bff !important
}

.js-like.active::after {
  content: ' 취소'
}

.js-new.active::before {
  padding-left: 3px;
  content: 'new';
  color: red;
  font-size: 80%
}

.rb-comments-write .card textarea {
  height: 34px;
  background-color: #fafbfc;
  -webkit-transition: height 1s;
  /* For Safari 3.1 to 6.0 */
  transition: height 1s;
  transition-delay: 1s;
  -webkit-transition-delay: 1s;
}

.rb-comments-write .card.active textarea {
  min-height: 70px !important;
  background-color: #fff;
}

[data-role="commentWrite-container"] .card-header,
[data-role="commentWrite-container"] .card-footer,
.rb-oneline-write .card .card-header,
.rb-oneline-write .card .card-footer {
  display: none
}

[data-role="commentWrite-container"].active .card-header,
[data-role="commentWrite-container"].active .card-footer,
.rb-oneline-write .card.active .card-header,
.rb-oneline-write .card.active .card-footer {
  display: block
}

.rb-comments-write .active .ck-editor__editable_inline {
  min-height: 120px;
}

.media[data-role="comment-item"].border-bottom {
  border-bottom: 1px dotted #dee2e6 !important;
}

.list-group-item[data-role="oneline-item"] {
  border-style: dotted;
  position: relative;
}

[data-role="comment-main"] .anchorjs-link {
  font-size: 25px !important
}
[data-role="comment-main"] .anchorjs-link:hover {
  text-decoration: none;
}

.list-group-item[data-role="oneline-item"] .anchorjs-link{
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -7px;
}

.form-control {
  background-color: #fafbfc;
}

.list-group:empty {
  margin-top: 0 !important;
  margin-bottom: 0 !important
}

.flex-column-reverse .list-group-item:last-child {
  margin-bottom: -1px;
}

/* notify */

#commentting-container,
[data-role=comment-container],
[data-role=moreBtn-container] {
  position: relative;
}

#comment-notify {
  visibility: hidden;
  width: 100%;
  position: absolute;
  z-index: 1;
  bottom: 30px;
  top: auto
}

#comment-notify .comment-notify-msg {
  width: 80%;
  margin: 0 auto;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 12px 6px;
  font-size: 14px;
}

#comment-notify.active {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 1.1s;
  animation: fadein 0.5s, fadeout 0.5s 1.1s;
}

@-webkit-keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}

/* notify */

/* attach trigger */

#commentting-container .comment-attach {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  padding: 8px 0;
  cursor: pointer;
}

#commentting-container span.comment-attach input[type='file'] {
  cursor: pointer;
  position: absolute;
  display: block;
  top: 0;
  right: -9px;
  margin: 0;
  padding: 0;
  opacity: 0;
  font-size: 0;
  width: 180%;
  height: 100%;
}

/* emoticon */

#commentting-container .emoticon-wrapper {
  display: none;
  overflow: hidden;
  padding: 15px 5px;
}

#commentting-container .emoticon-wrapper ul {
  padding: 0;
  margin: 0;
  width: 100%;
}

#commentting-container .emoticon-wrapper li {
  display: inline-block;
  float: left;
  text-align: center;
  width: 12.5%;
  cursor: pointer;
}

#commentting-container .emoticon-wrapper li img {
  width: 25px;
  height: 25px;
  border-radius: 100%;
}

[data-role|=oneline-input-wrapper],
[data-role|=comment-modify-btn-wrapper],
[data-role|=oneline-modify-btn-wrapper] {
  display: none;
}

/* loader */

#comment-spinner-wrap {
  position: absolute;
  left: 50%;
}

.comment-top5p {
  top: 5%;
}

.comment-bottom5p {
  bottom: 5%;
}

.ck-editor__editable.ck-blurred {
  border : 1px solid #ccc
}

.ck.ck-editor__editable:not(.ck-editor__nested-editable).ck-focused {
  outline: none;
  border-radius: 0;
  box-shadow: none;
}

figure.ck.ck-placeholder:before,
.ck figure.ck-placeholder:before {
  content: none;
}

.ck.ck-toolbar {
  border: 0;
  background-color: transparent
}
