@charset "utf-8";

/* 게시판 표 - 전체 구조 */
.tbl_head01 table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px; /* 행 사이 여백 */
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-table-text);
  font-family: var(--font-main);
}

/* 게시판 각 행 디자인 */
.tbl_head01 tbody tr {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  border-radius: 8px;
}

/* hover 시 부드럽게 떠오름 효과 */
.tbl_head01 tbody tr:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  background-color: var(--color-table-highlight);
}

.tbl_head01 tbody tr td {
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  height: 50px;
}

/* ① 기본 상태에 투명 border 세팅 */
.tbl_head01 tbody tr td:first-child,
.tbl_head01 tbody tr td:last-child {
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
}

/* ② hover에서는 색만 변경 */
.tbl_head01 tbody tr:hover td:first-child {
  border-left-color: var(--color-main);
}
.tbl_head01 tbody tr:hover td:last-child {
  border-right-color: var(--color-main);
}
/* 셀 여백 및 테두리 부드럽게 */
.tbl_head01 td,
.tbl_head01 th {
  border: none;
}

/* 헤더 셀만 하단 테두리 추가 */
.tbl_head01 thead th {
  font-weight: 600;
  color: #555;
  font-size: 14px;
}

/* 공지사항 강조 */
.bo_notice td {
  background: var(--color-table-notice);
  font-weight: bold;
}

/* 댓글 수 배지 */
.cnt_cmt {
  background: var(--color-sub-3);
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 20px;
  margin-left: 6px;
}

/* 게시판 목록 */
#bo_list {
  position: relative;
  margin-bottom: 20px;
}
#bo_list:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_list .td_board {
  width: 120px;
  text-align: center;
}
/* 게시판 목록 열 리팩토링 */
#bo_list .td_chk {
  width: 5%;
  min-width: 30px;
  text-align: center;
}
#bo_list .chk_box {
  width: 2%;
  min-width: 30px;
  text-align: center;
  padding-left: 10px !important;
}

#bo_list .td_num,
#bo_list .td_num2 {
  width: 6%;
  min-width: 50px;
  text-align: center;
}

#bo_list .td_name,
#bo_list .td_nick {
  width: 10%;
  min-width: 80px;
  text-align: center;
}

#bo_list .td_date,
#bo_list .td_datetime {
  width: 12%;
  min-width: 80px;
  text-align: center;
}

#bo_list .td_subject {
  width: auto;
  min-width: 200px;
  max-width: 100%;
  word-break: break-word;
}

#bo_list .td_group,
#bo_list .td_mb_id,
#bo_list .td_mng {
  width: 8%;
  min-width: 70px;
  text-align: center;
}

#bo_list .td_numbig {
  width: 80px;
  text-align: center;
}
#bo_list .txt_active {
  color: #5d910b;
}
#bo_list .txt_expired {
  color: #ccc;
}
#bo_list tbody tr {
  border-left: 2px solid transparent;
}
#bo_list tbody tr:hover {
  border-left: 2px solid #253dbe;
}
#bo_list tbody .even td {
  background: var(--basic-bg);
}

#bo_cate {
  margin: 25px 0;
}
#bo_cate h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_cate ul {
  zoom: 1;
}
#bo_cate ul:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_cate li {
  display: inline-block;
  padding: 2px;
}
#bo_cate a {
  display: block;
  line-height: 28px;
  padding: 5px 15px;
  border-radius: 30px;
  border: 1px solid #d6e9ff;
  color: #6794d3;
}
#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {
  text-decoration: none;
  background: #3a8afd;
  color: #fff;
}
#bo_cate #bo_cate_on {
  z-index: 2;
  background: #3a8afd;
  color: #fff;
  font-weight: bold;
  border: 1px solid #3a8afd;
  -webkit-box-shadow: inset 0 2px 5px rgb(33, 135, 202);
  -moz-box-shadow: inset 0 2px 5px rgb(33, 135, 202);
  box-shadow: inset 0 2px 5px rgb(33, 135, 202);
}
.td_subject img {
  margin-left: 5px;
}

/* 게시판 목록 공통 */
.selec_chk {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  outline: 0;
  z-index: -1;
  overflow: hidden;
}
.chk_box {
  position: relative;
}
.chk_box input[type="checkbox"] + label {
  position: relative;
  color: #676e70;
}
.chk_box input[type="checkbox"] + label:hover {
  color: #2172f8;
}
.chk_box input[type="checkbox"] + label span {
  float: left;
  width: 15px;
  height: 15px;
  display: block;
  background: #fff;
  border: 1px solid #d0d4df;
  border-radius: 3px;
}
.write_div .chk_box input[type="checkbox"] + label,
.bo_vc_w .chk_box input[type="checkbox"] + label {
  padding-left: 20px;
}
.write_div .chk_box input[type="checkbox"] + label span,
.bo_vc_w .chk_box input[type="checkbox"] + label span {
  position: absolute;
  top: 2px;
  left: 0;
  width: 15px;
  height: 15px;
  display: block;
  margin: 0;
  background: #fff;
  border: 1px solid #d0d4df;
  border-radius: 3px;
}
.chk_box input[type="checkbox"]:checked + label {
  color: #000;
}
.chk_box input[type="checkbox"]:checked + label span {
  background: url(./img/chk.png) no-repeat 50% 50% #3a8afd;
  border-color: #1471f6;
  border-radius: 3px;
}

#bo_btn_top {
  margin: 10px 0;
}
.bo_fx {
  margin-bottom: 5px;
  float: right;
  zoom: 1;
}
.bo_fx:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
.bo_fx ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#bo_list_total {
  float: left;
  line-height: 34px;
  font-size: 0.92em;
  color: #4e546f;
}

.btn_bo_user {
  float: right;
  margin: 0;
  padding: 0;
  list-style: none;
}
.btn_bo_user li {
  float: left;
  width: 40px;
  text-align: center;
  margin-left: 5px;
  background: #fff;
}
.btn_bo_user > li {
  position: relative;
}
.btn_bo_adm {
  float: left;
}
.btn_bo_adm li {
  float: left;
  margin-right: 5px;
}
.btn_bo_adm input {
  padding: 0 8px;
  border: 0;
  background: #d4d4d4;
  color: #666;
  text-decoration: none;
  vertical-align: middle;
}
.bo_notice td {
  background: var(--color-table-accent) !important;
  border-bottom: 1px solid #f8e6ee;
}
.bo_notice td a {
  font-weight: bold;
}
.bo_notice .notice_icon {
  display: inline-block;
  line-height: 25px;
  border-radius: 5px;
  font-weight: bold;
  color: var(--color-notice);
}

.more_opt {
  display: none;
  position: absolute;
  top: 45px;
  right: 0;
  background: #fff;
  border: 1px solid #b8bfc4;
  z-index: 999;
}
.more_opt:before {
  content: "";
  position: absolute;
  top: -8px;
  right: 13px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 8px 6px;
  border-color: transparent transparent #b8bfc4 transparent;
}
.more_opt:after {
  content: "";
  position: absolute;
  top: -6px;
  right: 13px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 8px 6px;
  border-color: transparent transparent #fff transparent;
}
.more_opt li {
  border-bottom: 1px solid #f1f1f1;
  padding: 10px;
  float: inherit;
  width: 90px;
  margin: 0;
  color: #6b757c;
  text-align: left;
}
.more_opt li:last-child {
  border-bottom: 0;
}
.more_opt li button,
.more_opt li a {
  width: 100%;
  border: 0;
  background: #fff;
  color: #6b757c;
}
.more_opt li:hover a,
.more_opt li:hover button {
  color: #000;
}
.more_opt li i {
  float: right;
  line-height: 20px;
}

.td_num strong {
  color: #000;
}
.bo_cate_link {
  float: left;
  display: inline-block;
  margin-right: 10px;
  background: #e2eaf6;
  color: #3a8afd;
  font-weight: normal !important;
  height: 20px;
  line-height: 10px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 0.95em;
} /* 글제목줄 분류스타일 */
.bo_cate_link:hover {
  text-decoration: none;
}
#bo_list .bo_tit {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 10px;
}

#bo_list .bo_tit_link {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#bo_list .bo_icons {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85em;
}

/* 모바일에서 아이콘 숨김 */
@media screen and (max-width: 767px) {
  #bo_list .bo_icons {
    display: none;
  }
}

.bo_current {
  color: #e8180c;
}
#bo_list .profile_img img {
  border-radius: 50%;
}
#bo_list .cnt_cmt {
  background: #e9eff5;
  color: #3a8afd;
  font-size: 11px;
  height: 16px;
  line-height: 16px;
  padding: 0 5px;
  border-radius: 3px;
  vertical-align: middle;
}

#bo_list .bo_tit .title_icon {
  margin-right: 2px;
}

#bo_list .bo_icons {
  display: inline-flex;
  gap: 4px;
  margin-left: 5px;
  vertical-align: middle;
}

#bo_list .bo_icons i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  font-size: 12px;
  border-radius: 3px;
  background: #f5f5f5;
  color: #666;
  transition: all 0.2s ease-in-out;
}

/* 각각의 상태별 강조 색상 */
#bo_list .bo_icons .text-new {
  background: #dbfbe4;
  color: #23b36b;
}

#bo_list .bo_icons .text-hot {
  background: #ffe2e2;
  color: #f14444;
}

#bo_list .bo_icons .text-file {
  background: #fff5cc;
  color: #b78d00;
}

#bo_list .bo_icons .text-link {
  background: #e5edff;
  color: #446fe0;
}

/* 마우스 오버 효과 (선택사항) */
#bo_list .bo_icons i:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* 1) 팝업 래퍼: 화면 전체 fixed → 일반 흐름으로 */
.bo_sch_wrap {
  display: block; /* 항상 표시 */
  position: static; /* fixed 제거 */
  width: auto;
  height: auto;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: auto;
  background: transparent; /* 배경 제거 */
}

/* 2) 검색 폼 컨테이너: 중앙 팝업 → 상단 카드형 */
.bo_sch {
  position: static; /* absolute + 50% 중앙 정렬 제거 */
  top: auto;
  left: auto;
  transform: none;
  background: #fff;
  box-shadow: none;
  width: 100%;
  max-width: var(--layout-width, 1100px);
  margin: 50px auto; /* 상/하 여백 */

  font-family: var(--font-main), sans-serif;
  display: flex;
  gap: 5px;
  justify-content: center;
}

/* 3) 어두운 오버레이는 불필요 → 제거 */
.bo_sch_bg {
  display: none;
  background: transparent;
  width: 0;
  height: 0;
}

/* 4) 폼 내부 레이아웃 정리(가로 정렬), 닫기 버튼 숨김 */
.bo_sch h3 {
  /* 보이게 쓰고 싶으면 이 블록 삭제 */
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  font-family: inherit;
}
.bo_sch legend {
  /* 시각적으로 숨김(접근성 유지) */
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.bo_sch .bo_sch_cls {
  display: none;
} /* 닫기(X) 버튼 숨김 */

.bo_sch form {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  max-width: 600px;
  font-size: 1.2em;
}

.bo_sch select {
  height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
}

.bo_sch .sch_bar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
  border: 0;
  box-shadow: none;
  width: 100%;
  font-family: inherit;
}

.bo_sch .sch_input {
  flex: 1 1 auto;
  height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0 12px;
  background: #fff;
  font-family: inherit;
}

.bo_sch .sch_btn {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-main-hover);
  border-radius: 6px;
  background: var(--color-main);
  color: #fff;
  line-height: 40px;
}

/* 5) 반응형: 모바일에서는 세로 스택 */
@media (max-width: 768px) {
  .bo_sch {
    margin: 12px auto;
    border-radius: 6px;
  }
  .bo_sch form {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 20px 0;
  }
  .bo_sch .sch_bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .bo_sch .sch_input {
    width: 100%;
  }
  .bo_sch select {
    height: 38px;
  }
  .bo_sch .sch_btn {
    height: 38px;
    line-height: 38px;
  }
}

/* 게시판 쓰기 */
#char_count_desc {
  display: block;
  margin: 0 0 5px;
  padding: 0;
}
#char_count_wrap {
  margin: 5px 0 0;
  text-align: right;
}
#char_count {
  font-weight: bold;
}

#autosave_wrapper {
  position: relative;
}
#autosave_pop {
  display: none;
  z-index: 10;
  position: absolute !important;
  top: 34px;
  right: 0;
  width: 350px;
  height: auto !important;
  height: 180px;
  max-height: 180px;
  border: 1px solid #565656;
  background: #fff;
  -webkit-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 2px 2px 3px 0px rgba(0, 0, 0, 0.2);
}
#autosave_pop:before {
  content: "";
  position: absolute;
  top: -8px;
  right: 45px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 8px 6px;
  border-color: transparent transparent #000 transparent;
}
#autosave_pop:after {
  content: "";
  position: absolute;
  top: -7px;
  right: 45px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 8px 6px;
  border-color: transparent transparent #fff transparent;
}
html.no-overflowscrolling #autosave_pop {
  height: auto;
  max-height: 10000px !important;
} /* overflow 미지원 기기 대응 */
#autosave_pop strong {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#autosave_pop div {
  text-align: center;
  margin: 0 !important;
}
#autosave_pop button {
  margin: 0;
  padding: 0;
  border: 0;
}
#autosave_pop ul {
  padding: 15px;
  border-top: 1px solid #e9e9e9;
  list-style: none;
  overflow-y: scroll;
  height: 130px;
  border-bottom: 1px solid #e8e8e8;
}
#autosave_pop li {
  padding: 8px 5px;
  border-bottom: 1px solid #fff;
  background: #eee;
  zoom: 1;
}
#autosave_pop li:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#autosave_pop a {
  display: block;
  float: left;
}
#autosave_pop span {
  display: block;
  float: right;
  font-size: 0.92em;
  font-style: italic;
  color: #999;
}
.autosave_close {
  cursor: pointer;
  width: 100%;
  height: 30px;
  background: none;
  color: #888;
  font-weight: bold;
  font-size: 0.92em;
}
.autosave_close:hover {
  background: #f3f3f3;
  color: #3597d9;
}
.autosave_content {
  display: none;
}
.autosave_del {
  background: url(./img/close_btn.png) no-repeat 50% 50%;
  text-indent: -999px;
  overflow: hidden;
  height: 20px;
  width: 20px;
}

/* 게시판 읽기 */
#bo_v {
  margin-bottom: 20px;
  background: #fff;
  box-sizing: border-box;
}

#bo_v_table {
  position: absolute;
  top: 0;
  right: 16px;
  margin: 0;
  padding: 0 5px;
  height: 25px;
  background: #ff3061;
  color: #fff;
  font-weight: bold;
  line-height: 2.2em;
}

#bo_v_title {
    
      padding: 14px 20px;
    border: 1px solid var(--view-bd, #e5e7eb);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .06);
    margin-top: 30px;
}
#bo_v_title .bo_v_cate {
  display: inline-block;
  line-height: 20px;
  background: #e2eaf6;
  color: #3a8afd;
  padding: 0 10px;
  border-radius: 3px;
}
#bo_v_title .bo_v_tit {
  display: block;
  font-size: 1.2em;
  word-break: keep-all;
  font-family: var(--font-main);
  text-align: center;
}

#bo_v_info {
  margin-top: 14px;
  color: #666;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 14px 20px;
  border: 1px solid var(--view-bd, #e5e7eb);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0,0,0,.06);
}
#bo_v_info h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

#bo_v_info .profile_info {
  display: flex;
    color: #666;
    flex-direction: row;
    justify-content: space-between;
    padding: 14px 20px;
}
#bo_v_info .profile_info .pf_img {

  margin-right: 10px;
}
#bo_v_info .profile_info .pf_img img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
#bo_v_info .profile_info .profile_info_ct {
  padding: 5px 0;
  flex: 1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 1.1em;
  align-items: center;
}
#bo_v_info .profile_info .profile_info_ct .pf_meta {
display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#bo_v_info strong {
  display: inline-block;
  font-weight: normal;
}
#bo_v_info .sv_member,
#bo_v_info .sv_guest,
#bo_v_info .member,
#bo_v_info .guest {
  font-weight: bold;
}
#bo_v_info .profile_img {
  display: none;
}
#bo_v_info .sv_member {
  color: #000;
}
#bo_v_info .if_date {
  margin: 0;
  color: #888;
}

#bo_v_file h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_v_file li {
  padding: 15px;
  position: relative;
  margin: 10px 0;
  border: 1px solid #dfdfdf;
  border-radius: 5px;
  -webkit-box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%);
  -moz-box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%);
  box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%);
}
#bo_v_file li i {
  float: left;
  color: #b2b2b2;
  font-size: 2.35em;
  margin-right: 20px;
}
#bo_v_file a {
  float: left;
  display: block;
  text-decoration: none;
  word-wrap: break-word;
  color: #000;
}
#bo_v_file a:focus,
#bo_v_file li:hover a,
#bo_v_file a:active {
  text-decoration: underline;
  color: #3a8afd;
}
#bo_v_file img {
  float: left;
  margin: 0 10px 0 0;
}
#bo_v_file .bo_v_file_cnt {
  color: #b2b2b2;
  font-size: 0.92em;
}
#bo_v_file li:hover {
  border-color: #bed4f4;
  color: #bed4f4;
}
#bo_v_file li:hover i {
  color: #3a8afd;
}
#bo_v_file li:hover .bo_v_file_cnt {
  color: #99c2fc;
}

#bo_v_link h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_v_file ul {
  margin: 0;
  list-style: none;
}
#bo_v_link li {
  padding: 15px;
  position: relative;
  margin: 10px 0;
  border: 1px solid #dfdfdf;
  border-radius: 5px;
  -webkit-box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%);
  -moz-box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%);
  box-shadow: 1px 1px 5px 0px hsl(232, 36%, 96%);
}
#bo_v_link li i {
  float: left;
  color: #b2b2b2;
  font-size: 2.35em;
  margin-right: 20px;
}
#bo_v_link a {
  float: left;
  display: block;
  text-decoration: none;
  word-wrap: break-word;
  color: #000;
}
#bo_v_link a:focus,
#bo_v_link li:hover a,
#bo_v_link a:active {
  text-decoration: underline;
  color: #3a8afd;
}
#bo_v_link .bo_v_link_cnt {
  color: #b2b2b2;
  font-size: 0.92em;
}
#bo_v_link li:hover {
  border-color: #bed4f4;
  color: #bed4f4;
}
#bo_v_link li:hover i {
  color: #3a8afd;
}
#bo_v_link li:hover .bo_v_link_cnt {
  color: #99c2fc;
}

#bo_v_top {
  zoom: 1;
  flex: 1 0 auto;
}
#bo_v_top:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_top h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_v_top ul {
  padding: 0;
  list-style: none;
  word-break: break-all;
}

#bo_v_bot {
  zoom: 1;
}
#bo_v_bot:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_bot h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_v_bot ul {
  padding: 0;
  list-style: none;
}

.bo_v_com > li {
  position: relative;
  float: left;
  margin-left: 5px;
}

.bo_v_nb {
  position: relative;
  margin: 20px 0;
  clear: both;
  text-align: left;
  font-size: 1.2em;
}
.bo_v_nb:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
.bo_v_nb li {
  border-top: 1px solid #f1f1f1;
  padding: 13px;
}
.bo_v_nb li:last-child {
  border-bottom: 1px solid #f1f1f1;
}
.bo_v_nb li:hover {
  background: #f6f6f6;
}
.bo_v_nb li i {
  font-size: 13px;
  color: #b3b3b3;
}
.bo_v_nb li .nb_tit {
  display: inline-block;
  padding-right: 20px;
  color: #b3b3b3;
}
.bo_v_nb li .nb_date {
  float: right;
  color: #b3b3b3;
}

#bo_v_atc {
  min-height: 200px;
  height: auto !important;
  height: 200px;
}
#bo_v_atc_title {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

#bo_v_img {
  width: 100%;
  overflow: hidden;
  zoom: 1;
}
#bo_v_img:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_img a.view_image {
  display: block;
}
#bo_v_img img {
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
}

#bo_v_con {
  margin: 10px 0 30px;
  width: 100%;
  line-height: 1.7em;
  min-height: 200px;
  word-break: break-all;
  overflow: hidden;
}
#bo_v_con a {
  color: #000;
  text-decoration: underline;
}
#bo_v_con img {
  max-width: 100%;
  height: auto;
}

#bo_v_act {
  margin-bottom: 30px;
  text-align: center;
}
#bo_v_act .bo_v_act_gng {
  position: relative;
}
#bo_v_act a {
  margin-right: 5px;
  vertical-align: middle;
  color: #4a5158;
}
#bo_v_act a:hover {
  background-color: #fff;
  color: #ff484f;
  border-color: #ff484f;
}
#bo_v_act i {
  font-size: 1.4em;
  margin-right: 5px;
}
#bo_v_act_good,
#bo_v_act_nogood {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 9999;
  padding: 10px 0;
  width: 165px;
  background: #ff3061;
  color: #fff;
  text-align: center;
}
#bo_v_act .bo_v_good {
  display: inline-block;
  border: 1px solid #dedede;
  width: 70px;
  line-height: 46px;
  border-radius: 30px;
}
#bo_v_act .bo_v_nogood {
  display: inline-block;
  border: 1px solid #dedede;
  width: 70px;
  line-height: 46px;
  border-radius: 30px;
}

#bo_v_sns {
  padding: 0;
  list-style: none;
  zoom: 1;
  float: left;
  display: inline-block;
}
#bo_v_sns:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_sns li {
  float: left;
  width: 135px;
  margin-right: 5px;
  text-align: left;
}
#bo_v_sns li a {
  height: 35px;
  line-height: 35px;
  text-align: center;
  border-radius: 5px;
  color: #fff;
  font-size: 0.95em;
}
#bo_v_sns li img {
  vertical-align: middle;
  margin-right: 5px;
}
#bo_v_sns li .sns_f {
  display: block;
  background: #3b5997;
}
#bo_v_sns li .sns_t {
  display: block;
  background: #09aeee;
}
#bo_v_sns li .sns_g {
  display: block;
  background: #ea4026;
}
#bo_v_sns li .sns_k {
  display: block;
  background: #fbe300;
}

#bo_v_share {
  position: relative;
}
#bo_v_share:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_share .btn {
  padding: 0 10px;
  color: #555;
  font-weight: normal;
  font-size: 1em;
  width: 80px;
  line-height: 35px;
  height: 35px;
  border-color: #d5d5d5;
  border-radius: 5px;
}
#bo_v_share .btn:hover {
  background: #fff;
}
#bo_v_share .btn i {
  margin-right: 5px;
  color: #4b5259;
  vertical-align: middle;
}

/* 게시판 댓글 */
.cmt_btn {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  font-weight: bold;
  margin: 30px 0 0px;
  padding: 0 0 15px;
  font-family: var(--font-main);
}
.cmt_btn span.total {
  position: relative;
  display: inline-block;
  margin-right: 5px;
  font-size: 1em;
  color: #3a8afd;
}
.cmt_btn span.cmt_more {
  float: right;
  display: inline-block;
  width: 15px;
  height: 10px;
  background: url(./img/btn_cmt.png) no-repeat right 2px;
  margin-top: 5px;
}
.cmt_btn_op span.cmt_more {
  background-position: right -8px;
}
.cmt_btn b {
  font-size: 1.2em;
  color: #000;
}
.cmt_btn span.total:after {
  position: absolute;
  bottom: -17px;
  left: 0;
  display: inline-block;
  background: #3a8afd;
  content: "";
  width: 100%;
  height: 2px;
}
#bo_vc {
}
#bo_vc h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_vc article {
  margin: 20px 0;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}
#bo_vc article:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_vc article .profile_img img {
  border-radius: 50%;
}
#bo_vc article .pf_img {
  float: left;
  margin-right: 10px;
}
#bo_vc article .pf_img img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}
#bo_vc article .cm_wrap {
  float: left;
  max-width: 870px;
  width: 90%;
}
#bo_vc header {
  position: relative;
  width: 100%;
}
#bo_vc header:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_vc header .profile_img {
  display: none;
}
#bo_vc header .icon_reply {
  position: absolute;
  top: 15px;
  left: -20px;
}
#bo_vc .member,
#bo_vc .guest,
#bo_vc .sv_member,
#bo_vc .sv_guest {
  font-weight: bold;
}
.bo_vc_hdinfo {
  color: #777;
}
#bo_vc h1 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_vc .cmt_contents {
  line-height: 1.8em;
  padding: 0 0 20px;
}
#bo_vc p a {
  text-decoration: underline;
}
#bo_vc p a.s_cmt {
  text-decoration: underline;
  color: #ed6479;
}
#bo_vc_empty {
  margin: 0;
  padding: 80px 0 !important;
  color: #777;
  text-align: center;
}
#bo_vc #bo_vc_winfo {
  float: left;
}
#bo_vc .bo_vl_opt {
  position: absolute;
  top: 0;
  right: 0;
}

.bo_vc_act {
  display: none;
  position: absolute;
  right: 0;
  top: 40px;
  width: 58px;
  text-align: right;
  border: 1px solid #b8bfc4;
  margin: 0;
  list-style: none;
  background: #fff;
  zoom: 1;
  z-index: 9999;
}
.bo_vc_act:before {
  content: "";
  position: absolute;
  top: -8px;
  right: 5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 8px 6px;
  border-color: transparent transparent #b8bfc4 transparent;
}
.bo_vc_act:after {
  content: "";
  position: absolute;
  top: -6px;
  right: 5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 8px 6px;
  border-color: transparent transparent #fff transparent;
}
.bo_vc_act li {
  border-bottom: 1px solid #f0f0f0;
}
.bo_vc_act li:last-child {
  border-bottom: 0;
}
.bo_vc_act li a {
  display: inline-block;
  padding: 10px 15px;
}
.bo_vc_act li a:hover {
  color: #3a8afd;
}

.bo_vc_w {
  position: relative;
  margin: 10px 0;
  display: block;
}
.bo_vc_w:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
.bo_vc_w h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
.bo_vc_w #char_cnt {
  display: block;
  margin: 0 0 5px;
}
.bo_vc_w textarea {
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  vertical-align: middle;
  border-radius: 3px;
  padding: 5px;
  width: 100%;
  height: 120px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
#wr_secret {
}
.bo_vc_w_info {
  margin: 10px 0;
  float: left;
}
.bo_vc_w_info:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
.bo_vc_w_info .frm_input {
  float: left;
  margin-right: 5px;
}
.bo_vc_w_info #captcha {
  padding-top: 10px;
  display: block;
  clear: both;
}
.bo_vc_w .btn_confirm {
  clear: both;
  margin-top: 10px;
}
.bo_vc_w .btn_confirm label {
  display: inline-block;
  margin-right: 10px;
  border-radius: 3px;
  font-size: 1.5em;
  text-align: center;
}
.bo_vc_w .btn_submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: var(--btn-h, 38px);
    line-height: var(--btn-h, 38px);
    padding: 0 14px;
    border-radius: var(--btn-r, 9999px);
    border: 1px solid var(--btn-bd, #d0d6df);
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--btn-shadow, 0 1px 2px rgba(0, 0, 0, .08));
    text-decoration: none;
    cursor: pointer;
    transition: .15s;
}
.bo_vc_w .btn_confirm .secret_cm label {
  font-size: 1em !important;
}
.bo_vc_w_wr:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
.secret_cm {
  display: inline-block;
  float: left;
}

#bo_vc_send_sns {
  display: inline-block;
  float: left;
}
#bo_vc_sns {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
  zoom: 1;
}
#bo_vc_sns:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_vc_sns li {
  float: left;
  margin: 0 5px 0 0;
}
#bo_vc_sns .sns_li_f {
  border-radius: 3px;
  background: #3a589b;
  height: 40px;
  line-height: 40px;
  padding: 0 0 0 10px;
}
#bo_vc_sns .sns_li_t {
  border-radius: 3px;
  background: #00aced;
  height: 40px;
  line-height: 40px;
  padding: 0 0 0 10px;
}
#bo_vc_sns .sns_li_off {
  background: #bbb;
}
#bo_vc_sns a {
  display: inline-block;
  padding: 0 15px 0 5px;
}
#bo_vc_sns input {
  margin: 0 5px 0 0;
}

/*글쓰기*/
#bo_w .bo_v_option li {
  display: inline-block;
  float: left;
  text-align: left;
  margin: 0 5px 0 0;
}
#bo_w .bo_v_option li label {
  vertical-align: baseline;
}
#bo_w .bo_v_option .chk_box input[type="checkbox"] + label span {
  margin-left: 0;
  margin-right: 5px;
}
#bo_w .write_div {
  margin: 10px 0;
  position: relative;
}
#bo_w .write_div:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_w .bo_w_info:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_w .bo_w_info .frm_input {
  float: left;
  margin-bottom: 1%;
}
#bo_w #wr_password,
#bo_w #wr_homepage {
  margin-left: 1%;
}
#bo_w .wr_content.smarteditor2 iframe {
  background: #fff;
}
#bo_w .bo_w_tit {
  position: relative;
}
#bo_w .bo_w_tit .frm_input {
  padding-right: 120px;
}
#bo_w .bo_w_tit #btn_autosave {
  position: absolute;
  top: 5px;
  right: 5px;
  line-height: 30px;
  height: 30px;
}
#bo_w .bo_w_link label {
  position: absolute;
  top: 1px;
  left: 1px;
  border-radius: 3px 0 0 3px;
  height: 38px;
  line-height: 38px;
  width: 40px;
  font-size: 1.2em;
  text-align: center;
  color: #b2b2b2;
}
#bo_w .bo_w_link .frm_input {
  padding-left: 50px;
}
#bo_w .bo_w_flie .lb_icon {
  position: absolute;
  top: 0px;
  left: 0px;
  border-radius: 3px 0 0 3px;
  height: 38px;
  line-height: 38px;
  width: 40px;
  font-size: 1.2em;
  text-align: center;
  color: #b2b2b2;
}
#bo_w .bo_w_flie .frm_file {
  padding-left: 50px;
  margin-top: 3px;
}
#bo_w .bo_w_flie .file_wr {
  position: relative;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  vertical-align: middle;
  border-radius: 3px;
  padding: 5px;
  height: 40px;
  margin: 0;
}
#bo_w .bo_w_flie .frm_input {
  margin: 10px 0 0;
}
#bo_w .bo_w_flie .file_del {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.92em;
  color: #7d7d7d;
}
#bo_w .bo_w_select select {
  border: 1px solid #d0d3db;
  width: 100%;
  height: 40px;
  border-radius: 3px;
}
#bo_w .btn_submit {
  padding: 0 20px;
  font-size: 1.167em;
}
#bo_w .btn_cancel {
  border-radius: 3px;
  font-size: 1.167em;
}

@media screen and (max-width: 767px) {
  #bo_list .td_num,.td_num2,
  #bo_list .td_name,
  #bo_list .td_nick,
  #bo_list .td_hit,
  #bo_list th:nth-child(2), /* 번호 */
  #bo_list th:nth-child(4), /* 글쓴이 */
  #bo_list th:nth-child(5)  /* 조회수 */ {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  /* 태블릿에서는 날짜를 MM.DD 형식으로만 보여줌 (위 PHP 코드와 중복 처리) */
}

@media screen and (max-width: 767px) {
  .td_num,
  .td_num2,
  .td_name,
  .td_nick,
  .td_hit,
  th.td_num,
  th.td_name,
  th.td_hit {
    display: none !important;
  }
  .bo_tit a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .col_chk {
    width: 10%;
  }
  .col_subject {
    width: 70%;
  }
  .col_date {
    width: 20%;
  }

  .tbl_head01 table {
    table-layout: fixed;
    width: 100%;
  }
}

/* 기본은 데스크탑용 */
#bo_list .date-short {
  display: none;
}
#bo_list .date-full {
  display: inline;
}

/* 모바일 (예: 820px 이하) */
@media (max-width: 820px) {
  #bo_list .date-short {
    display: inline;
  }
  #bo_list .date-full {
    display: none;
  }
  #bo_list .bo_tit {
    margin-left: 10px;
  }
}
/* ============================
   본문(#bo_v_con) 카드화 & 타이포
============================ */
#bo_v_con {

  margin: 14px 0 20px;
  font-size: 15px;
  line-height: 1.8;
      padding: 14px 20px;
    border: 1px solid var(--view-bd, #e5e7eb);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .06);
}
#bo_v_con p {
  margin: 0 0 12px;
}
#bo_v_con a {
  color: var(--color-main, #3a8afd);
  text-decoration: underline;
}
#bo_v_con img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 첨부/링크 카드 간격 미세 조정(있으면) */
#bo_v_file li,
#bo_v_link li {
  border-radius: 12px;
}

/* =========================================================
   LIST 상단 버튼줄 — view(.bo_v_com)와 동일한 룩&필
   대상: .btn_bo_user a.btn_b01 / a.btn_b02 / a.btn_admin
   + 아이콘 숨기고 글자(= .sound_only)를 표시
========================================================= */

#bo_btn_top {
  display: flex;
  justify-content: space-between;
}

/* 0) 컨테이너: 가로 나열 / 우측 정렬 */
.btn_bo_user {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  font-family: var(--font-main, sans-serif); /* 부모 폰트 상속 */
  float: none; /* 기존 float 해제 */
}

.flex_column {
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.flex {
  display: flex;
  flex-direction: row;
  gap: 1em;
}

.btn_bo_user div {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 0.5rem;
}
.btn_bo_user div > li {
  float: none; /* 기존 float 해제 */
  width: auto; /* 아이콘폭(40px) 제거 */
  margin: 0;
  padding: 0;
  background: transparent; /* 배경 제거 */
  position: relative;
}
.btn_bo_user li {
  float: none; /* 기존 float 해제 */
  width: auto; /* 아이콘폭(40px) 제거 */
  margin: 0;
  padding: 0;
  background: transparent; /* 배경 제거 */
  position: relative;
}








@media (max-width: 640px) {
  #bo_btn_top {
    gap: 20px;
  }
  #bo_v_info {
    flex-direction: column;
    gap: 20px;
  }
  .bo_v_nb {
  font-size: 1em;
}
}


/* ============ 버튼 아이콘화 ============ */

/* 더 이상 아이콘 숨기지 않기 (이 규칙이 우선되도록 뒤에 선언) */
#bo_v_top .btn_bo_user i.fa { 
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
}





/* 라벨 텍스트 */
.btn__label{ display:inline; }

/* 반응형: 좁은 화면에서는 아이콘만 보이게 */
@media (max-width: 640px){
  #bo_v_title .bo_v_tit {
  font-size: 1em;
}
}

/* 툴팁 느낌을 주고 싶다면 title 속성 사용(별도 JS 불필요) */


