@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="oneline-item"],
[data-role="oneline-item"].markdown-body {
  font-size: 12px
}

[data-role="comment-item"] .ck-editor__editable,
[data-role="oneline-item"] .ck-editor__editable {
  border: 0.0625rem solid #dee2e6
}

[data-role="comment-item"] .ck-editor__editable.ck-focused,
[data-role="oneline-item"] .ck-editor__editable.ck-focused {
  border: 0.0625rem solid #007bff !important;
  box-shadow: none !important
}

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

[data-role="comment-item"] figure.media oembed .media .align-self-center img {
  width: 155px
}
[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: ' 취소'
}

.btn-link.muted-link:active,
.btn-link.muted-link:focus,
.btn-link.muted-link.focus {
  text-decoration: none;
}

.btn-link.muted-link.active {
  color: #007bff !important
}

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

[data-role="comment-main"] .timeline-vscroll {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100vh - 14.3rem);
  overflow-y: auto;
}

.rb-comments-write {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: auto;
  width: 100%;
}

.rb-comments-write .card .card-footer {
  display: none
}

.rb-comments-write .card.active .card-footer {
  /* display: block */
}
.media[data-role="comment-item"] {
  min-width: 100% !important;
}
.media[data-role="comment-item"].border-bottom {
  border-bottom: 1px dotted #dee2e6 !important;
}
.media[data-role="comment-item"].border-bottom:last-child {
  border-bottom: 0 !important;
}

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

.rb-comments-write {
  background-color: #fff
}

.rb-comments-write .form-control {
  max-height: 250px;
  background-color: transparent;
  resize: none;
  -webkit-transition: height 1s;
  transition: height 1s;
  transition-delay: 1s;
  -webkit-transition-delay: 1s;
}

.rb-comments-write .input-group-text {
  border: 0
}

.rb-comments-write .form-control:focus {
  color: #495057;
  background-color: transparent;
  border: 0;
  outline: 0;
  box-shadow: none
}

[data-role="comment-input-wrapper"] .js-submit .fa {
  display: inline-block;
  margin-top: -3px;
  font-size: 20px;
  color: #0084FF;
}

.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%;
}

[data-role="comment-input"] {
  overflow: auto;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.pswp .ck.ck-editor__editable_inline>:first-child,
.modal .ck.ck-editor__editable_inline>:first-child {
  margin-top: 2px;
}

.pswp .ck.ck-editor__editable_inline>:last-child,
.modal .ck.ck-editor__editable_inline>:last-child {
  margin-bottom: 2px;
}

.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;
}
.ck.ck-block-toolbar-button,
.ck.ck-balloon-panel {
  z-index: 1060
}

.ck.ck-block-toolbar-button {
  margin-left: 10px;
  background-color: #e6e6e6
}
.ck.ck-balloon-panel {
  z-index: 999999;
}

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

[data-role="comment-input-wrapper"] [data-role="comment-input"] {
  max-width: 460px
}

.ck.ck-toolbar {
  background: #fff;
  padding: 0;
  border: none;
}
