@charset "utf-8";

/*!
 * kimsQ Rb v2.4.5 데스크탑 갤러리 게시판 테마 스타일 (bs4-gallery)
 * Homepage: http://www.kimsq.com
 * Copyright 2020 redblock inc
 * Licensed under RBL
 * Based on Bootstrap v4
*/

/**
 * 목차:
 *
 * 1 - 공통 rb-bbs
 * 2 - 목록 rb-bbs-list
 * 3 - 보기 rb-bbs-view
 * 4 - 쓰기 rb-bbs-write
 * 5 - 컴포넌트 Component
 * 6 - 유틸리티 Utilities
 * ----------------------------------------------------------------------------
 */


/**
 * 1 - 공통 rb-bbs
 * ----------------------------------------------------------------------------
 */

.badge-white {
  background-color: #fff;
  border: solid 1px #ddd;
  color: #777;
  letter-spacing: -1px;
  font-weight: normal;
}

.active .fa-bookmark-o:before {
  content: "\f02e" !important;
}


/**
 * 2 - 목록 rb-bbs-list
 * ----------------------------------------------------------------------------
 */

.rb-bbs-list .table {
  border-bottom: 1px solid #ddd
}

.rb-bbs-list .table thead th {
  color: #999;
  font-size: 11px;
  font-weight: normal
}

.rb-bbs-list .ico-replay::before {
  display: inline-block;
  width: 13px;
  height: 10px;
  margin: 4px 4px 0 1px;
  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAABkCAMAAACvvNBNAAAAclBMVEVMaXEtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUtlvUAAAAtlvXBtxldAAAAJHRSTlMAlgoDD071ePxpN7FZvfDjLRxb/gEGpEL5hxUkyNvqeXyAwuvQ8jQMAAAAqElEQVR42u2R1w7CMAxFu/feu4ze//9FWlRaWlwkBC9IPi+2cpzYSYTPUZwjk7rQaZNk8ENalfAC2pgoctqoRhzRxtKWERxlY+oO4pz2cKUnU7Ww5TkP/Sl/IDVo1srAW04QZBttRfcV0dW7aWHeEx2a9XJHQx1DFI9hz2kqz4tp88rS5Op4KDdr62hAlpDPI13gpkf/elYEhmGYXzAMrL5XO94phvlnbrKzELi3OthbAAAAAElFTkSuQmCC) 0 -30px no-repeat;
  background-size: 13px 50px;
  vertical-align: top;
  content: '';
}

.rb-bbs-list .card {
  margin-bottom: 30px;
}

.rb-bbs-list .card:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .5);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .5);
}

.rb-bbs-list .card .position-relative {
  transition: all 0.3s ease;
  max-width: 100%;
  backface-visibility: hidden;
  transform: translateZ(0px);
  margin: 0px;
  overflow: hidden;
  color: #ccc
}

.rb-bbs-list .card .position-relative .card-img-top {
  transition-timing-function: ease-in-out;
  transition-property: all;
  transition-duration: 0.5s;
  transition-delay: 0s;
}

.rb-bbs-list .card:focus .position-relative .card-img-top,
.rb-bbs-list .card .position-relative:hover .card-img-top {
  transform: scale3d(1.1, 1.1, 1.1);
}

.rb-bbs-list .card:focus .position-relative .opacity-0,
.rb-bbs-list .card .position-relative:hover .opacity-0 {
  opacity: 1 !important;
  transform: translate(0px, 0px);
  transition-timing-function: ease-in;
  transition-duration: 0.3s;
  background-color: rgba(0, 0, 0, 0.6) !important;
}

.rb-bbs-list .card-body a {
  display: -webkit-box;
  overflow: hidden;
  height: 38px;
  word-break: break-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-img-overlay .rb-hidden {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -30px;
  font-size: 47px;
}


/**
 * 3 - 보기 rb-bbs-view
 * ----------------------------------------------------------------------------
 */

.rb-bbs-view header .media-body h1 {
  padding: 4px 0 8px 0;
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  border-bottom: #dfdfdf dotted 1px;
}

.rb-bbs-view header .rb-meta {
  color: #c0c0c0;
  font-family: dotum;
  font-size: 11px;
  line-height: 20px;
}

.rb-bbs-view header .rb-meta .rb-divider:before {
  content: '|';
  color: #ddd;
}

.rb-bbs-view .post-gallery figure:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .5);
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .5);
}

.post-gallery .list-inline-item:not(:last-child) {
  margin-right: .2rem;
}
.rb-bbs-view [data-role="linkshare"] img {
  width: 38px
}

[data-role="btn_post_like"].active .fa-heart-o:before {
  content: "\f004";
}

[data-role="btn_post_like"].active .fa,
[data-role="btn_post_dislike"].active .fa {
  color: red;
}

[data-role="btn_post_like"].active.heartbeat .fa,
[data-role="btn_post_dislike"].active.heartbeat .fa {
  animation: heartbeat .8s;
}

.tag .badge~.badge {
  margin-left: .3rem
}

/**
 * 4 - 쓰기 rb-bbs-write
 * ----------------------------------------------------------------------------
 */
 .rb-bbs-write .ck-editor__editable_inline {
   min-height: 250px;
 }



/**
* 5 - 컴포넌트 Component
* ----------------------------------------------------------------------------
*/


.modal-lg {
  max-width: calc(100vw - 12.53rem);
}

.modal-lg .modal-content {
  /* min-height: calc(100vh - 5rem); */
}

.modal-lg .col-8 {
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
}

/* modal-pswp */

.pswp-comment .pswp__scroll-wrap {
  width: 60% !important;
  left: 70px !important;
}

.pswp-comment:not(.pswp--fs) .pswp__scroll-wrap {
  padding: 0;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .3);
  background-color: #000
}

.pswp-comment .rb__area {
  position: absolute;
  right: 70px;
  width: 30%;
  height: 100%;
  overflow: hidden;
  color: #333;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .3);
  background-color: #fff
}

.pswp-comment .pswp__bg {
  opacity: 0.9 !important;
}

.pswp-comment .pswp__scroll-wrap,
.pswp-comment .rb__area {
  top: 40px !important;
  height: 90% !important;
}

.pswp--fs.pswp-comment .rb__area {
  display: none
}

.pswp-comment .pswp__scroll-wrap {
  transform: translate3d(0px, 0px, 0px);
}

.pswp--fs.pswp-comment .pswp__scroll-wrap {
  transform: translate3d(190px, 0px, 0px);
}

.pswp-comment [data-role="article-body"] {
  min-height: 150px;
  max-height: 150px;
  overflow-y: auto
}

.pswp-comment .pswp__button--fs,
.pswp-comment .pswp__button--arrow--left:before,
.pswp-comment .pswp__button--arrow--right:before {
  background: url(./image/icon-set.png) 0 0 no-repeat;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: 0 0;
  height: 48px;
  width: 48px;
}

.pswp-comment .pswp__button--arrow--left:before {
  background-position: 0 -49px;
}

.pswp-comment .pswp__top-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100px;
  width: 100%;
  transition: opacity .3s;
  -webkit-font-smoothing: antialiased;
}

.pswp-comment:not(.pswp--fs) .pswp__ui--fit .pswp__top-bar,
.pswp-comment:not(.pswp--fs) .pswp__ui--fit .pswp__caption {
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)) !important;
}

.pswp-comment .pswp__ui--fit .pswp__top-bar,
.pswp-comment .pswp__ui--fit .pswp__caption {
  background: transparent !important
}

.pswp-comment .pswp__button--fs {
  margin: 30px;
  background-position: 0 -98px;
  height: 38px;
  width: 38px;
}

.pswp-comment .pswp__ui--idle .pswp__button--arrow--left,
.pswp-comment .pswp__ui--idle .pswp__button--arrow--right {
  transition: opacity .2s;
}

.pswp-comment .pswp__subject {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 21px;
  line-height: 1.28;
  color: #FFF;
  opacity: 0.75;
  padding: 0 30px;
}

.pswp-comment .pswp__counter {
  position: absolute;
  left: 0;
  top: 30px;
  font-size: 12px;
  line-height: 20px;
  color: #ccc;
  opacity: 0.75;
  padding: 0 30px;
}

.pswp-comment .pswp__caption__center {
  text-align: center;
}

.pswp-comment .btn-light {
  background-color: #ffffff;
  background-image: linear-gradient(-180deg, #fff 0%, #f5f5f5 90%);
}

.pswp-comment [data-role="article"] img {
  max-width: 100%;
  height: auto;
}

[data-role="btn_saved"].active::after {
  content: '됨'
}

[data-role="comment-none"] > div {
  height: 300px !important;
}


.pswp-comment [data-role="comment-main"] .timeline-vscroll {
  max-height: calc(100vh - 32.3rem) !important;
}


/**
 * 6 - 유틸리티 Utilities
 * ----------------------------------------------------------------------------
 */

 @keyframes heartbeat {
   0% {
     transform: scale( 1.8);
   }
   30% {
     transform: scale( 1);
   }
   60% {
     transform: scale( 1.8);
   }
   100% {
     transform: scale( 1);
   }
 }
