@charset "utf-8";
/* 텍스트 웹진형 버튼 */
.gallery_view_buttons {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right; /* 우측 정렬 */
}
.view_buttons {
  display: inline-block; /* 요소를 가로로 배치 */
  width: 70px !important;
  margin-left: auto;
  }
  .view_buttons button {
      background: none;
      border: none;
      cursor: pointer; /* 커서 모양 변경 */
      padding: 0px; /* 패딩 추가 */
  }

  .view_buttons button i {
    font-size: 30px !important;
    color: #6eaf44;
    display: flex; /* 아이콘을 수직으로 중앙 정렬하기 위해 Flexbox 사용 */
    align-items: center; /* 수직 중앙 정렬 */
  }
  .view_buttons button:hover i {
      color: #0cf008; /* 호버 시 아이콘 색상 */
  }
  .list_view_button,
  .gallery_view_button,
  .magazine_view_button {
    padding: 0px 0px;
    margin-right: 0px;
    cursor: pointer;
    border: 1px solid #dddddd;
    border-radius: 5px; /* 모서리 둥글게 조절 */
    color:#6eaf44;

  }

  .list_view_button.active_webzin,
  .gallery_view_button.active_webzin,
  .magazine_view_button.active_webzin {
    background-color: #ececec;
    border: 1px solid #6eaf44;
    color:#6eaf44;
  }

/* 갤러리 목록 */
.gallery-wrapper {display: flex;flex-wrap: wrap;justify-content: flex-start;gap: 10px;width: 100%;}
.gallery-item {width: calc(25% - 10px);box-sizing: border-box;margin-bottom: 10px;border: 1px solid #e1e1e1;padding: 10px;}
.gallery-item:hover {transform: scale(1.05);}

@media (max-width: 768px) {.gallery-item {width: calc(50% - 5px); /* 2개씩 정렬 */}}

.gallery_thumb_area {width: 100%;height: auto; overflow: hidden;}
.gallery_thumb_area img {width: 100%;height: 100%;object-fit: cover;}
.gallery_item_info {padding: 10px 0;text-align: left;}
.gallery_item_info .gallery_td_subject {margin-bottom: 10px;}
.gallery_item_info .gallery_bo_tit {font-size: 1.1em;font-weight: bold;}

#gallery_list .thumb_area {margin-top: 0px;margin-bottom: 0px;}
#gallery_list .gallery_td_subject {padding: 0;}
#gallery_list .gallery_td_subject {padding-top: 0 !important;padding-bottom: 0 !important;}

.gallery_list_info {text-align: center; /* 내부 요소를 가운데 정렬 */}
.gallery_list_info span {display: inline-block; /* 인라인 요소지만 크기 조정 가능 */margin-bottom: 0px;}
.remaining-days { font-weight: bold; color: red; display: inline; }
.new_icon {color: rgba(0, 255, 0, 0.747);}
/* 글제목줄 카테분류 */
.gallery_bo_cate_link {
    display: inline-block;
    margin-right: 10px;
    font-weight: normal !important;
    height: auto;
    line-height: 18px;
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 1em;
    background-color: #f0f0f0;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery_bo_cate_link:hover {text-decoration: none;background-color: #6eaf44;color: #fff;box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);}

/* 뷰 페이지*/
.button-container {text-align: center;margin-top: 20px;}
.button-container button {padding: 10px 20px;width:160px;margin: 0 10px;font-size: 16px;
    border: none;border-radius: 5px;background-color: #e0e0e0;color: #252525;cursor: pointer;transition: background-color 0.3s;}
.button-container button:hover {background-color: #ececec;color:#fff}
/* 스크랩*/
#bo_v_img img {border: 1px solid #ddd;border-radius: 5px; padding: 5px;}

/* 뷰 상단 프로필 좌/우 */
.bo_v_container {display: flex;margin-top:20px;flex-wrap: wrap;/* padding: 20px;border: 1px solid #ddd; border-radius: 10px;box-shadow: 0 0 10px rgba(0,0,0,0.1); */height:auto;}
.left-section, .right-section {flex: 1;padding: 1px;}
.left-section {max-width: 100%;left:0px;}
.custom-img-size {height: auto;object-fit: cover;}
.right-section {
  max-width: 65%;
  background: #f9f9f9;
  /* border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1); */
}
.right-section .bo_v_cate {display: block;font-size: 18px;font-weight: bold;margin-bottom: 10px;text-align: center;}
.right-section ul {width:100%;list-style: none;padding: 0;margin: 0;}
.right-section li {width:100%;font-size: 1.2em;align-items: center;padding: 10px 0px;border-bottom: 1px solid #ddd;}
.right-section li:last-child {border-bottom: none;}
.right-section li i {margin-right: 8px;color: #6eaf44;font-size: 16px;width: 20px;text-align: center;}
.right-section a {color: #6eaf44;text-decoration: none;}
.right-section a:hover {text-decoration: underline;}
@media (max-width: 768px) {
  .left-section, .right-section {max-width: 100% !important;width:100%;flex: none;}
  .left-section {margin-bottom: 20px;}
  .custom-img-size {width: 100%; height: auto; }
}

/* 작품사진 시작 */
.image-gallery {display: grid;grid-template-columns: repeat(4, 1fr);gap: 20px;margin-top: 20px;}
/* 각 이미지를 링크로 */
.image-gallery a {display: block;position: relative;}
/* 이미지 */
.image-gallery img {width: 100%;height: 300px;transition: transform 0.3s ease, opacity 0.3s ease;}
.image-gallery a:hover img {transform: scale(1.0);opacity: 0.8;}

@media (max-width: 1024px) {.image-gallery {grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 468px) {.image-gallery {grid-template-columns: 1fr;}}
/* 작품사진 종료 */

/* 슬라이드 제목 */
.fancybox-caption-title {
    font-size: 16px;font-weight: bold;padding: 20px;background-color: rgba(0, 0, 0, 0.3);
    color: #fff;position: absolute;top: 0;left: 0;right: 0;text-align: center;z-index: 1;}
#bigimg { width: 100%; height: auto; overflow: hidden; z-index: 1; text-align: center; cursor: pointer; background:none; position: relative;}
.file-description { font-size: 14px; color: #666; margin-top: 5px; }

/* 슬라이드이미지 view_img_contents.php */
.table-container {overflow: hidden;border-radius: 10px;box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);background-color: none;border: 1px solid #cdcdcd;}
/* 큰 이미지 테이블 */
.img-table {border-collapse: collapse;border-radius: 0px;overflow: hidden;width: 100%;}
.img-table td {padding: 0;}
/* 썸네일 테이블 */
.thumb-table {border-collapse: collapse;border-radius: 0px;width: 100%;}
/* 썸네일 이미지 */
.thumb {padding: 0px;border: 0px solid #ccc;cursor: pointer;border-radius: 0px;}
.thumb img {padding: 0px;border: 1px solid #ccc;cursor: pointer;border-radius: 10px;transition: transform 0.3s ease;}
.thumb img:hover {transform: scale(1.3);}
.table-container table {width: 100%;margin: 0 auto;}
.thumbpre_next {color: #0067CE;cursor: pointer;}
.thumbpre_next:hover {color: #991212;}
