@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: #0bb107;
    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:#0bb107;

  }

  .list_view_button.active_webzin,
  .gallery_view_button.active_webzin,
  .magazine_view_button.active_webzin {
    background-color: #ececec;
    border: 1px solid #0bb107;
    color:#0bb107;
  }

/* 갤러리 목록 */
.gallery-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.gallery-item {
    width: calc(25% - 10px); /* 4개씩 나누기 */
    box-sizing: border-box;
    margin-bottom: 20px; /* 아이템 간의 간격 */
    border: 1px solid #e1e1e1;
    padding: 10px;
    transition: transform 0.3s ease; /* 확대/축소 효과 추가 */
  }

  .gallery-item:hover {
    transform: scale(1.05); /* 마우스 오버 시 요소를 약간 확대 */
  }
.gallery_thumb_area {
  width: 100%;
  height: 64px; /* 고정 높이 */
  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 span {display:inline;margin-bottom: 5px;}
.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: #007bff;
    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; /* 이미지 주위에 여백 */
    width:132px;
    height:170px;
}
.bo_v_container {
    display: flex;
    margin-top:10px;
    flex-wrap: wrap;
    padding: 10px;
    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: 30%;
}
.right-section {
    max-width: 70%; /* 전체 너비의 절반으로 설정 */
    height:auto;
    border: 1px solid #ccc; /* 테두리 */
    border-radius: 10px; /* 모서리 */
    padding: 10px; /* 내부 여백 */
    margin-bottom: 0px;
}
    .right-section h3 {
        margin-top: 0;
    }
    .right-section ul {
    list-style: none; /* 리스트의 기본 스타일 제거 */
    padding: 0; /* 내부 여백 제거 */
}
.right-section li {
    display: inline-block;
    width: 48%;
    margin-right: 2%;
    margin-bottom: 10px;
    vertical-align: top;
    box-sizing: border-box;
}
.right-section li:nth-child(odd) {
    clear: both;
}
.right-section li:nth-child(odd) {
    margin-right: 0;
}


/* 탭 내용 스타일 */
.view_tabcontent {
    display: block;
    padding: 6px 12px;
    border-top: none;
}

/* 탭 내용 보여주기 */
.show {
    display: block;
}