@charset "utf-8";

/* *******************************************************
 * filename : widget.css
 * description : wr-gallery-more 스타일
 * date : 
******************************************************** */

.infscr-list {
  padding: 0 5px;
}

.infscr-list .list-item {
  padding: 5px;
}

.infscr-list .list-item .works-img img {
  width: 100%;
}


.infscr-list .list-item figure {
  position: relative;
  margin: 0;
}

.infscr-list .list-item figure figcaption {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .8);
  color: #fff;
  opacity: 0;
  transition: all 0.3s ease 0s;
  -webkit-transition: all 0.3s ease 0s;
}

.infscr-list .list-item figure figcaption .list-subject {
  padding: 0 15px;
}

.infscr-list .list-item a:hover figure figcaption {
  opacity: 1;
  transition: all 0.3s ease 0s;
  -webkit-transition: all 0.3s ease 0s;
}

.mfp-iframe-holder .mfp-content {
  max-width: 1200px;
  width: 90%;
  height: auto;
}

/* 카테고리 필터 스타일 */
.category-filter {
  position: sticky;
  top: 80px;
  display: flex;
  justify-content: center;
  gap: 0 20px;
  margin-bottom: 40px;
  padding: 20px 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
}

.category-filter .btn {
  border-radius: 20px;
  font-size: 0.875rem;
  color: #fff;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.category-filter .btn:hover {
  transform: translateY(-1px);
}

.category-filter .btn.active {
  background-color: #fff;
  border-color: #fff;
  color: #000;
}


@media all and (max-width:767px) {
  .category-filter {
    margin-bottom: 20px;
    gap: 0 10px;
  }

  .category-filter .btn {
    padding: 3px 10px;
  }
  .category-filter {
    top: 60px;
    padding: 10px 0;
  }

}



/* 작성버튼 */
.infscr-list-add-btn {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.modal-body section {
  padding: 0;
  margin-bottom: 0 !important;
}


.modal-body .list-group-item {
  background-color: #000;
}

.modal-body .list-group-item .form-group {
  align-items: center;
}

/* 파일 삭제 체크박스 라벨 스타일 */
.modal-body .custom-control-label {
  color: #fff;
  cursor: pointer;
}

.modal-body .custom-control-label span {
  color: #fff;
}

.modal-body .custom-control-label a {
  color: #007bff;
  text-decoration: underline;
}

.modal-body .custom-control-label a:hover {
  color: #0056b3;
}



/* 더보기 버튼 스타일 - 캡쳐 이미지와 동일한 기본 스타일 */
.gallery-more-btn {
  margin-top: 30px;
}

.gallery-more-btn a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: normal;
  position: relative;
  padding-bottom: 5px;
}

.gallery-more-btn a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

@media all and (max-width:767px) {
  .gallery-more-btn {
    margin-top: 20px;
  }
}


/* 호버 효과 */
.gallery-more-btn a:hover {
  color: #fff;
  text-decoration: none;
}

.gallery-more-btn a:hover::after {
  width: 80%;
  opacity: 0.7;
}

/* 클릭 효과 */
.gallery-more-btn a:active {
  transform: translateY(0);
}

/* 로딩 상태 */
.gallery-more-btn a.loading {
  pointer-events: none;
  opacity: 0.7;
}

.gallery-more-btn a.loading::after {
  animation: loading-line 1.5s ease-in-out infinite;
}

/* 펄스 효과 */
.gallery-more-btn a.pulse {
  animation: text-pulse 2s ease-in-out infinite;
}

.gallery-more-btn a.pulse::after {
  animation: line-pulse 2s ease-in-out infinite;
}

/* 마지막 페이지 상태 스타일 */
.gallery-more-btn a.last-page {
  color: #999;
  cursor: default;
  pointer-events: none;
}

.gallery-more-btn a.last-page::after {
  background-color: #666;
}

.gallery-more-btn a.last-page:hover {
  transform: none;
  color: #999;
}

.gallery-more-btn a.last-page:hover::after {
  width: 60px;
  background-color: #666;
  box-shadow: none;
}

/* 리플 효과를 위한 추가 스타일 */
.gallery-more-btn a {
  overflow: hidden;
}

.gallery-more-btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-effect 0.6s linear;
  pointer-events: none;
}



/* 파일 삭제 체크박스 강제 표시 */
.modal-body input[name*="bf_file_del"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.modal-body input[name*="bf_file_del"]+.custom-control-label {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #fff !important;
  cursor: pointer !important;
}

.modal-body #variableFiles {
  display: table !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
}

/* 기존 파일 정보 표시 영역 */
.modal-body #variableFiles .custom-control-checkbox {
  margin-top: 10px;
}

.modal-body #variableFiles .custom-control-checkbox .custom-control-label {
  padding-left: 1.5rem;
}

/* magnific-popup 버튼 */
.mfp-arrow {
  transform: translateY(-50%);
  margin-top: 0;
  width: 50px;
  height: 50px;
  opacity: 0.4;
  transition: all 0.3s;
}

.mfp-arrow::before,
.mfp-arrow::after {
  font-family: xeicon !important;
  display: inline-block;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;

  /*  */
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  margin: 0;
  width: auto;
  height: auto;
  border: none;
  font-size: 30px;
  color: #fff;
}

.mfp-arrow:active {margin-top: inherit;}

.mfp-arrow-right::before,
.mfp-arrow-left::before {
  content: none;
}

.mfp-arrow-left::after {content: "\e93b";}
.mfp-arrow-right::after {content: "\e93e";}

/* magnific-popup 닫기 */
.mfp-wrap>.mfp-close {
  font-size: 0;
  transition: all 0.3s;
}
.mfp-wrap > .mfp-close::after {
  font-family: 'xeicon' !important;
  content: '\e921';
  font-size: 20px;
  text-indent: 0;
  display: inline-block;
  vertical-align: middle;
}

@media all and (max-width:767px) {
  .mfp-arrow {width: 30px;}
  .mfp-arrow::before,
  .mfp-arrow::after {font-size: 20px;}
}

.mfp-custom-caption {
  position: absolute;
  top: 100%;
  margin-top: 10px;
  width: 100%;
  color: #fff;
  line-height: 1.5;
}

.caption-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-bottom: 10px;
}

.caption-title {
  font-size: 24px;
  font-weight: 700;
}

.caption-work {
  opacity: 0.88;
}

.caption-client {
  opacity: 0.88;
}

@media all and (max-width:767px) {
  .caption-header {
    flex-direction: column;
    align-items: start;
    gap: 5px 0;
    margin-bottom: 5px;
  }
  
  .caption-title {
    font-size: 15px;
  }

  .caption-work,
  .caption-client {
    font-size: 13px;
  }

  
}