/*


modify


 */

/* ==========================================================================
   페이지 셸 (헤더 · 상단바 · 푸터 · 서브페이지)
   --------------------------------------------------------------------------
   네이비 셸 + 블루 포인트입니다.
   색 팔레트와 공통 부품은 layout.css 의 :root 에 있습니다.
   섹션 내부는 각 main_html/*.html 의 <style> 이 담당합니다.
   ========================================================================== */
:root {
  /* 섹션에서 함께 쓰는 이름들 (layout.css 의 팔레트를 그대로 가리킨다) */
  --paper: #ffffff; /* 페이지 바탕 */
  --paper-2: #f4f7fa; /* 한 단계 눌린 면 (카드 · 띠) */
  --ink: #123a63; /* 네이비 (제목 · 블록 · 셸) */
  --ink-line: #e3e8ee; /* 실선 */
  --ink-text: #1b2733; /* 본문 글자 */
  --ink-text-sub: #5c6b7a; /* 본문 보조 글자 */
  --ink-mute: #93a1ad; /* 라벨 · 날짜 */

  --accent: #1b6cb0; /* 블루 포인트 (layout.css --point-color 와 같은 값) */
  --accent-ink: #ffffff; /* 블루 위 글자색 */

  /* 이전 이름 호환 */
  --gold: #1b6cb0;
}

/* ==========================================================================
   상단 바 : 짙은 네이비 띠
   ========================================================================== */
#top_bar {
  background: #0d2c4a;
  color: rgba(255, 255, 255, 0.55);
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#top_bar .con_wrap .top_desc {
  color: rgba(255, 255, 255, 0.55);
}

#top_bar .con_wrap a {
  color: rgba(255, 255, 255, 0.7);
}

#top_bar .con_wrap .login .icon {
  stroke: rgba(255, 255, 255, 0.7);
}

#top_bar .con_wrap .login .login_btn:hover .icon {
  stroke: var(--accent);
}

/* ==========================================================================
   헤더 : 흰 한 줄 (로고 좌 · 메뉴 우)
   --------------------------------------------------------------------------
   메인(index)에서는 head.php 가 .overlay 를 붙여 히어로 사진 위에 '투명'하게
   겹치고, 스크롤하면 custom.js 가 .scr 을 붙여 '흰 헤더'로 바뀝니다.
   서브페이지는 처음부터 흰 헤더입니다.
   ========================================================================== */
#header {
  background: var(--white-color);
  color: var(--text-color);
  border-bottom: 1px solid var(--line-color);
}

/* 로고는 원본 색(네이비+블루) 그대로. 투명 겹침 상태에서만 흰색으로 반전한다 */
#header .hd_wrap h1 a {
  filter: none;
}

/* 로고 : logo.svg 는 171×40 (약 4.3:1) */
#header .hd_wrap h1 a {
  width: 162px;
  height: 38px;
}

/* 헤더 높이 : style.css 가 뒤에 로드되므로 .w_inner 를 더해 특이도를 올린다 */
#header .hd_wrap.w_inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  height: 8.8rem;
}

/* 메뉴는 오른쪽 끝으로 */
#header .gnb_container {
  margin-left: auto;
}

#header .gnb_container .gnb > ul {
  gap: 3.6rem;
}

/* 메뉴 글자 : 작은 한글 한 줄
   ※ style.css 가 뒤에 로드되므로(.gnb_container 를 더해) 특이도를 한 단계 올린다 */
#header .gnb_container .gnb > ul > li > a {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 8.8rem;
  letter-spacing: -0.01em;
  color: var(--text-color);
  transition: color 0.2s;
}

#header .gnb_container .gnb > ul > li > a:hover {
  color: var(--accent);
}

/* 현재 보고 있는 섹션 : 헤더 윗변에 포인트 바 */
#header .gnb_container .gnb > ul > li > a.active {
  color: var(--accent);
  box-shadow: inset 0 3px 0 var(--accent);
}

/* 대표 전화 : 헤더에서는 작은 글자 한 줄 */
#header .hd_tel {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: 3.2rem;
}

/* 원형 아이콘 배지는 쓰지 않는다 */
#header .hd_wrap .hd_tel .ico {
  display: none;
}

/* 대표 전화 : 포인트 색으로 또렷하게 (투명 겹침 상태에서는 흰색) */
#header .hd_wrap .hd_tel a,
#header .adm .hd_tel a {
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

/* 헤더 줄의 전화번호는 메뉴 글자보다 한참 크게 — 가장 먼저 눈에 띄어야 한다 */
#header .hd_wrap > .hd_tel a {
  font-size: 2.2rem;
}

/* 모바일 메뉴판 안의 전화번호 */
#header .adm .hd_tel a {
  font-size: 1.6rem;
}

/* 메뉴 안의 대표 전화는 PC 에서 숨긴다 (헤더 줄에 이미 있다) */
#header .gnb .adm {
  display: none;
}

/* ── 겹침 상태 (스크롤 전) : 배경 없이 사진 위에 그대로 얹는다 ─ */
#top_bar.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border-top-color: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.16);
  transition: transform 0.4s, opacity 0.3s;
}

#top_bar.overlay .con_wrap > * {
  border-right-color: rgba(255, 255, 255, 0.2);
}

#top_bar.overlay .con_wrap .top_desc,
#top_bar.overlay .con_wrap a {
  color: rgba(255, 255, 255, 0.72);
}

#top_bar.overlay .con_wrap .login .icon,
#top_bar.overlay .con_wrap .login .login_btn:hover .icon {
  stroke: var(--white-color);
}

#header.overlay {
  position: fixed;
  /* 상단 바(3.2rem + 경계선) 아래에 붙는다 */
  top: 3.3rem;
  left: 0;
  right: 0;
  z-index: 999;

  background: transparent;
  border-bottom: 0;
  color: var(--white-color);
  transition: top 0.4s, background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

/* 사진 위에서는 로고를 흰색으로 반전한다 */
#header.overlay .hd_wrap h1 a {
  filter: brightness(0) invert(1);
}

#header.overlay .gnb > ul > li > a,
#header.overlay .gnb > ul > li > a:hover,
#header.overlay .hd_tel a,
#header.overlay .adm a {
  color: var(--white-color);
}

#header.overlay .gnb > ul > li > a.active {
  color: var(--white-color);
  box-shadow: inset 0 3px 0 var(--white-color);
}

/* ── 스크롤 상태 : 흰 헤더로 바뀐다 ────────────────────────── */
/* 상단 바는 위로 접어 넣는다 */
#top_bar.overlay.scr_up {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

#header.overlay.scr {
  top: 0;
  background: var(--white-color);
  border-bottom: 1px solid var(--line-color);
  color: var(--text-color);
  box-shadow: 0 0.2rem 1.2rem rgba(18, 58, 99, 0.06);
}

#header.overlay.scr .hd_wrap h1 a {
  filter: none;
}

#header.overlay.scr .gnb > ul > li > a,
#header.overlay.scr .adm a {
  color: var(--text-color);
}

#header.overlay.scr .gnb > ul > li > a:hover,
#header.overlay.scr .gnb > ul > li > a.active,
#header.overlay.scr .hd_tel a {
  color: var(--accent);
}

#header.overlay.scr .gnb > ul > li > a.active {
  box-shadow: inset 0 3px 0 var(--accent);
}

/* 스크롤 후에는 헤더를 살짝 눌러 준다 */
#header.overlay.scr .hd_wrap {
  height: 7.2rem;
}

#header.overlay.scr .gnb > ul > li > a {
  line-height: 7.2rem;
}

/* ── 모바일 ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* 상단 바는 반응형에서 통째로 숨기므로 헤더를 화면 맨 위로 올린다 */
  #header.overlay {
    top: 0;
  }

  #header .hd_wrap.w_inner,
  #header.overlay .hd_wrap,
  #header.overlay.scr .hd_wrap {
    height: 8rem;
  }

  /* 모바일 메뉴판 항목 높이 고정 : 스크롤(.scr) 시 PC용 7.2rem 규칙이
     특이도로 이겨 메뉴 높이가 널뛰는 것을 막는다 */
  #header.overlay.scr .gnb > ul > li > a {
    line-height: 5.6rem;
  }

  /* 메뉴판 항목은 헤더 상태(.overlay / .scr)와 상관없이 항상 같은 모양이어야 한다.
     PC용 '현재 섹션 = 윗변 3px 포인트 바' 규칙이 특이도로 이겨 들어오면
     메뉴를 연 채 스크롤할 때 파란 띠가 생겼다 사라져 높이가 변한 것처럼 보인다. */
  #header .gnb_container .gnb > ul > li > a,
  #header.overlay .gnb_container .gnb > ul > li > a,
  #header.overlay.scr .gnb_container .gnb > ul > li > a {
    line-height: 5.6rem;
    box-shadow: none;
  }

  #header .gnb_container .gnb > ul > li > a.active,
  #header.overlay .gnb_container .gnb > ul > li > a.active,
  #header.overlay.scr .gnb_container .gnb > ul > li > a.active {
    box-shadow: none;
    font-weight: 700;
  }

  #header .hd_wrap h1 a {
    width: 140px;
    height: 33px;
  }

  /* 메뉴판(흰색)이 열리면 로고가 그 위에 뜬다 — 반전을 되돌린다 */
  #header.overlay .hd_wrap h1.on a {
    filter: none;
  }

  /* ── 모바일 메뉴판 여닫기 ──────────────────────────────── */
  #header .gnb_container {
    left: 0;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.35s, visibility 0.35s;
  }

  #header .gnb_container.on {
    left: 0;
    transform: translateX(0);
    visibility: visible;
  }

  /* 흰 메뉴판 안에서는 항상 검정 글자 */
  #header.overlay .gnb_container.on .gnb > ul > li > a {
    color: var(--text-color);
  }

  /* 대표 전화 : 헤더 줄에서는 감추고 메뉴판 안에서만 보여 준다 */
  #header .hd_wrap > .hd_tel {
    display: none;
  }

  #header .gnb .adm {
    display: flex;
  }

  #header .gnb .adm .hd_tel a {
    color: var(--text-color);
  }

  #header .gnb {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }

  #header .gnb_container .gnb > ul {
    gap: 0;
  }

  #header .gnb_container .gnb > ul > li > a {
    font-size: 1.8rem;
    padding: 0;
  }

  /* ── 햄버거 버튼 : 판·테두리 없이 선 두 줄만 (열면 X) ────── */
  #header .mbtn {
    background: transparent;
    border: 0;
  }

  /* 기본(흰 헤더) : 어두운 선 */
  #header .mbtn::before,
  #header .mbtn::after,
  #header .mbtn span::before,
  #header .mbtn span::after {
    background: var(--text-color);
  }

  /* 사진 위에 투명하게 겹칠 때만 흰 선 */
  #header.overlay .mbtn::before,
  #header.overlay .mbtn::after,
  #header.overlay .mbtn span::before,
  #header.overlay .mbtn span::after {
    background: var(--white-color);
  }

  /* 스크롤해 흰 헤더가 되면 · 메뉴판이 열려 있으면 다시 어두운 선 */
  #header.overlay.scr .mbtn::before,
  #header.overlay.scr .mbtn::after,
  #header.overlay.scr .mbtn span::before,
  #header.overlay.scr .mbtn span::after,
  #header .mbtn.on span::before,
  #header .mbtn.on span::after,
  #header.overlay .mbtn.on span::before,
  #header.overlay .mbtn.on span::after {
    background: var(--text-color);
  }
}

/* ==========================================================================
   푸터 : 다크 3컬럼 (병원 소개 / 바로가기 카드 / 연락처)
   ========================================================================== */
#footer.footer {
  padding: 7.2rem 0 4rem;
  background: var(--footerbg-color);
  border-top: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.3rem;
}

#footer.footer a {
  color: inherit;
  transition: color 0.2s;
}

#footer.footer a:hover {
  color: var(--white-color);
}

/* ── 3컬럼 ─────────────────────────────────────────────────── */
#footer.footer .ft_grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.2fr;
  gap: 5.6rem;

  padding-bottom: 4.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 컬럼 제목 : 흰 글자 한 줄 */
#footer.footer .ft_tt {
  display: block;
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);

  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white-color);
}

/* ① About */
#footer.footer .f_name {
  display: block;
  margin-bottom: 1.2rem;

  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white-color);
}

#footer.footer .f_logo {
  display: none;
}

#footer.footer .f_desc {
  max-width: 30rem;
  line-height: 1.9;
}

/* ② 2×2 아이콘 카드 */
#footer.footer .ft_cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

/* 카드 안 : 아이콘과 이름을 가로로 나란히 */
#footer.footer .ft_cards a {
  display: flex;
  align-items: center;
  gap: 1.4rem;

  padding: 1.8rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.3s, border-color 0.3s;
}

#footer.footer .ft_cards a:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
}

/* 아이콘 : 크게 · 얇은 선 · 흰색 */
#footer.footer .ft_cards .icon {
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  stroke: var(--white-color);
  stroke-width: 1.1;
}

#footer.footer .ft_cards b {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white-color);
}

/* ③ 연락처 : 라벨 + 값 (아이콘 없음) */
#footer.footer .ft_info2 li {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;

  padding: 0.6rem 0;
  line-height: 1.7;
}

#footer.footer .ft_info2 em {
  flex: 0 0 6rem;
  font-style: normal;
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.4);
}

#footer.footer .ft_info2 .ft_tel {
  font-size: 1.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--white-color);
}

/* ── 아래 줄 : 사업자 · 저작권 · SNS ───────────────────────── */
#footer.footer .ft_btm {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem 3.2rem;

  padding-top: 2.8rem;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
}

#footer.footer .ft_btm .biz {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2rem;
}

#footer.footer .ft_btm address {
  margin-left: auto;
  font-style: normal;
}

#footer.footer .ft_sns {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

#footer.footer .ft_sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
}

#footer.footer .ft_sns a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

#footer.footer .ft_sns .icon {
  width: 1.6rem;
  height: 1.6rem;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* 의료광고 심의 안내 : 푸터 맨 아래 한 문단 (병원 홈페이지 필수 안내) */
#footer.footer .ft_ad {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  font-size: 1.15rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 1024px) {
  #footer.footer .ft_grid {
    gap: 4rem 3.2rem;
  }
}

@media (max-width: 768px) {
  #footer.footer {
    padding: 5.6rem 0 3.2rem;
  }

  #footer.footer .ft_grid {
    grid-template-columns: 1fr;
    gap: 3.6rem;
  }

  #footer.footer .ft_btm {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }

  #footer.footer .ft_btm address {
    margin-left: 0;
  }

  #footer.footer .ft_btm .biz {
    flex-direction: column;
    gap: 0.4rem;
  }
}

/* 팝업 레이어 : 상자(.hd_pops_con)는 이미 흰 배경이므로 글자색만 되돌린다 */
#hd_pop {
  color: var(--text-color);
}

/* ==========================================================================
   서브페이지 (게시판 등)
   ========================================================================== */
main.sub .sub_content {
  background: var(--white-color);
  color: var(--text-color);
}

main.sub .page_title h3 {
  color: var(--text-color);
}

#hd_pop {
  width: auto;
}

#hd_pop p {
  opacity: 1;
}

#hd_pop .hd_pops_con {
  background: var(--white-color);
}

#hd_pop .hd_pops_con > * {
  opacity: 1;
}

/* 닫기 버튼은 오른쪽 위(박스 바깥쪽 아님) */
#hd_pop .hd_pops_footer {
  background: var(--primary-color);
}

#hd_pop .hd_pops_footer .hd_pops_close {
  background: var(--primary-color);
}

/* '오늘 하루 보지 않기' 버튼은 왼쪽에 고정 */
#hd_pop .hd_pops_footer .hd_pops_reject {
  background: var(--primary-color);
}

#hd_pop .hd_pops_footer button {
  padding: 1.2rem 2.4rem;
  font-size: 1.4rem;
  border: 0;
  color: var(--white-color);
}

#hd_pop .hd_pops {
  position: fixed;
  border-radius: 0;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

/* 768px 이하에서 팝업이 뷰포트 안에 깔끔히 맞게 동작하도록 */
@media (max-width: 768px) {
  /* 전체 컨테이너 높이 자동 처리 */
  #hd_pop {
    height: auto;
  }

  /* 팝업 박스: 화면에 고정(스크롤과 함께 떠있지 않음), 좌우 여백 16px, 상단 40px */
  #hd_pop .hd_pops {
    position: fixed;
    /* top: 40px !important; */
    left: 16px !important;
    right: 16px !important;
    box-sizing: border-box;
    width: auto;
    max-width: calc(100vw - 32px);
    /* 좌우 16px씩 보장 */
    margin: 0 auto;
    overflow: auto;
    /* 내용이 길면 내부에서 스크롤 */
    max-height: calc(100vh - 40px - 16px);
    /* 상단 40px + 약간의 여유 */
    background: #fff;
    z-index: 10000;
  }

  #hd_pop .hd_pops_con {
    width: 100% !important;
    height: auto !important;
    background: #fff;
  }

  /* 이미지가 뷰포트를 넘지 않도록: 폭은 부모에 맞추고, 높이는 자동 */
  #hd_pop .hd_pops img {
    width: 100% !important;
    /* 부모(.hd_pops)의 너비를 따름 */
    height: auto !important;
    /* 높이는 자동 유지 */
  }
}

/* 게시판 카테고리 공통 — 메인 룩북 탭과 동일한 미니멀 텍스트 + 언더라인
   (.sub_content 스코프라 스킨별 #bo_cate 규칙보다 우선 적용됨) */
.sub_content #bo_cate {
  margin: 0 0 4.8rem;
}

.sub_content #bo_cate ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4rem;
  zoom: 1;
  border-bottom: 1px solid var(--line-color);
}

.sub_content #bo_cate ul:after {
  display: none;
}

.sub_content #bo_cate li {
  display: block;
  padding: 0;
}

.sub_content #bo_cate a {
  display: block;
  line-height: 1;
  padding: 0 0.4rem 1.6rem 0.4rem;
  margin-bottom: -1px;
  border: none;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--muted-color);

  font-size: 1.8rem;
  font-weight: 400;
  transition: 0.25s;
}

.sub_content #bo_cate a:focus,
.sub_content #bo_cate a:hover,
.sub_content #bo_cate a:active {
  text-decoration: none;
  background: none;
  color: var(--text-color);
}

.sub_content #bo_cate #bo_cate_on {
  z-index: 2;
  background: none;
  color: var(--text-color);
  font-weight: 500;
  border: none;
  border-bottom: 1px solid var(--text-color);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* 태블릿부터 선제 적용 — 탭이 줄바꿈으로 흐트러지기 전에 가로 스크롤로 전환.
   스크롤 컨테이너는 패딩 박스 밖을 잘라내므로 -1px 겹침 대신
   인셋 헤어라인 + margin 0으로 활성 밑줄 잘림 방지 */
@media (max-width: 1024px) {
  .sub_content #bo_cate ul {
    gap: 2.4rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* 스크롤 기능은 유지, 스크롤바만 숨김 */
    border-bottom: none;
    box-shadow: inset 0 -1px 0 var(--line-color);
  }

  .sub_content #bo_cate ul::-webkit-scrollbar {
    display: none;
  }

  /* 탭이 눌려 줄어들지 않게 고정 */
  .sub_content #bo_cate li {
    flex: 0 0 auto;
  }

  .sub_content #bo_cate a {
    margin-bottom: 0;
  }
}

/* 폰 — 가로 스크롤 대신 세로 스택 리스트 */
@media (max-width: 768px) {
  .sub_content #bo_cate {
    margin-bottom: 3.2rem;
  }

  .sub_content #bo_cate ul {
    flex-direction: column;
    gap: 0;
    white-space: normal;
    overflow-x: visible;
    box-shadow: none;
    border-bottom: none; /* 항목별 라인으로 대체 */
  }

  .sub_content #bo_cate a {
    font-size: 1.6rem;
    padding: 1.4rem 0.4rem;
    margin-bottom: 0;
    border-bottom: 1px solid var(--line-color);
  }

  .sub_content #bo_cate #bo_cate_on {
    border-bottom: 1px solid var(--text-color);
  }
}

.sub_content .bo_cate_link {
  float: left;
  display: inline-block;
  margin-right: 10px;
  background: none;
  color: var(--point-color);
  font-weight: normal !important;
  height: auto;
  line-height: 10px;
  padding: 8px 16px;
  border-radius: 0;
  font-size: 0.95em;
}

.sub_content #bo_v_title .bo_v_cate {
  display: inline-block;
  line-height: 1;
  background: var(--background-color);
  color: var(--point-color);
  padding: 4px 24px;
  border-radius: 0;

  margin-bottom: 16px;
}

.sub_content .bo_tit {
  display: block;
  color: #000;
  font-weight: 400;
}

.sub_content .bo_tit svg {
  width: 16px;
  height: 16px;

  margin-left: 16px;
}

.sub_content .bo_tit svg.feather-lock {
  margin-left: 0;
  stroke: var(--point-color);
}

.sub_content #bo_list .td_datetime {
  width: auto;
  text-align: center;
  width: 90px;
  white-space: nowrap;
}

.sub_content #bo_list .td_name {
  width: 90px;
  text-align: center;
  padding: 10px 0;

  white-space: nowrap;
}

.sub_content #bo_list td {
  height: 6.4rem;
  word-break: break-all;
}

.sub_content #bo_list .bo_notice td {
  border-bottom: 1px solid var(--point-color);
  background: var(--background-color);
}

.sub_content .bo_current {
  color: #e8180c;
  white-space: nowrap;
  font-size: 1.4rem;
}

.sub_content #bo_w .bo_w_flie .file_wr {
  position: relative;
  border: 1px solid #ccc;
  background: #fff;
  color: #000;
  vertical-align: middle;
  border-radius: 0;
  padding: 16px 5px;
  height: auto;
  margin: 0;
}

.sub_content #bo_v_title .bo_v_tit {
  display: block;
  font-size: 2.4rem;
  font-weight: 400;
  margin: 5px 0 0;
  word-break: break-all;
}

.sub_content #bo_v_info .profile_info {
  margin: 4rem 0 1.6rem 0;
  display: inline-block;
}

.sub_content #bo_v_img {
  width: 100%;
  overflow: hidden;
  margin: 4rem 0 4rem 0;
  zoom: 1;
}

.sub_content #bo_v_con {
  margin: 4rem 0 4rem 0;
  width: 100%;
  line-height: 1.7em;
  min-height: 200px;
  word-break: break-all;
  overflow: hidden;
}

.sub_content #bo_v_file ul {
  margin: 0;
  list-style: none;
}

.sub_content #bo_v_link li {
  padding: 15px;
  position: relative;
  margin: 10px 0;
  border: 1px solid #dfdfdf;
  border-radius: 0;
  -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%);
}

.sub_content #bo_v_link li i {
  float: left;
  color: #b2b2b2;
  font-size: 2.35em;
  margin-right: 40px;
}

.sub_content #bo_v_link a {
  float: none;
  display: block;
  text-decoration: none;
  word-wrap: break-word;
  color: #000;
}

.sub_content #bo_v_link a:focus,
.sub_content #bo_v_link li:hover a,
.sub_content #bo_v_link a:active {
  text-decoration: underline;
  color: #000;
}

.sub_content #bo_v_link .bo_v_link_cnt {
  color: #b2b2b2;
  font-size: 0.92em;
}

.sub_content #bo_v_link li:hover {
  border-color: var(--point-light);
  color: var(--point-light);
}

.sub_content #bo_v_link li:hover i {
  color: var(--point-color);
}

.sub_content #bo_v_link li:hover .bo_v_link_cnt {
  color: var(--point-light);
}

.sub_content #bo_v_file a {
  float: none;
  display: block;
  text-decoration: none;
  word-wrap: break-word;
  color: #000;
}

.sub_content .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;
}

.sub_content .cmt_btn span.total {
  position: relative;
  display: inline-block;
  margin-right: 5px;
  font-size: 1.4rem;
  color: var(--primary-color);
}

.sub_content .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;
}

.sub_content .cmt_btn_op span.cmt_more {
  background-position: right -8px;
}

.sub_content .cmt_btn b {
  font-size: 1.2em;
  color: #000;
}

.sub_content .cmt_btn span.total:after {
  position: absolute;
  bottom: -17px;
  left: 0;
  display: inline-block;
  background: var(--primary-color);
  content: "";
  width: 100%;
  height: 2px;
}

.sub_content #bo_w .bo_w_flie .lb_icon {
  position: absolute;
  top: 17px;
  left: 0px;
  border-radius: 0;
  height: 38px;
  line-height: 38px;
  width: 40px;
  font-size: 1.2em;
  text-align: center;
  color: #b2b2b2;
}

.sub_content #bo_w .bo_w_link label {
  position: absolute;
  top: 5px;
  left: 1px;
  border-radius: 0;
  height: 38px;
  line-height: 38px;
  width: 40px;
  font-size: 1.2em;
  text-align: center;
  color: #b2b2b2;
}

.sub_content .bo_sch {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  text-align: left;
  max-width: 600px;
  width: 100%;
  max-height: 400px;
  margin-left: auto;
  margin-top: auto;
  transform: translate(-50%, -50%);
  overflow-y: auto;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  border: 1px solid #dde7e9;
  background: #fff;
  border-radius: 0;
}

.sub_content .bo_sch form {
  padding: 6rem 4rem 1.6rem 4rem;
  display: block;
}

.sub_content .bo_sch select {
  border: 0;
  width: 100%;
  height: 40px;
  border: 1px solid #d0d3db;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.sub_content .bo_sch .sch_bar {
  display: inline-block;
  width: 100%;
  clear: both;
  margin-top: 15px;
  border: none;
  border-radius: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.sub_content .bo_sch .sch_input {
  width: 100%;
  height: 38px;
  border: 0;
  padding: 0;
  background-color: transparent;
  float: left;

  border: 1px solid #d0d3db;
}

.sub_content .bo_sch .sch_btn {
  height: 38px;
  float: right;
  color: var(--primary-color);
  background: none;
  border: 0;
  width: 40px;
}

.sub_content .bo_sch .bo_sch_cls {
  position: absolute;
  right: 0;
  top: 0;
  color: #b5b8bb;
  border: 0;
  padding: 12px 15px;
  font-size: 16px;
  background: #fff;
}

.sub_content .bo_sch_bg {
  background: #000;
  background: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 100%;
}

.sub_content .more_opt svg {
  width: 14px;
  height: 14px;
}

/*FAQ */
.sub_content .faq-container {
  /* max-width: 600px; */
  margin: 0 auto;
}

.sub_content .faq {
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 0;
  margin: 20px 0;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: 0.3s ease;
  background: #f9f9f9;
}

.sub_content .faq h3 {
  font-size: 2rem;
}

.sub_content .faq.active {
  background-color: #fff;
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.1),
    0 3px 6px rgba(0, 0, 0, 0.1);
}

.sub_content .faq-title {
  margin: 0 35px 0 0;
  cursor: pointer;
}

.sub_content .faq-text {
  display: none;
  margin: 30px 0 0;
  line-height: 1.5;
}

.sub_content .faq.active .faq-text {
  display: block;
}

.sub_content .faq-toggle {
  background-color: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding: 0;
  position: absolute;
  top: 50%;
  right: 30px;
  height: 30px;
  width: 30px;

  transform: translate(0, -50%);
}

.sub_content .faq-toggle:focus {
  outline: 0;
}

.sub_content .faq-toggle .close {
  display: none;
}

.sub_content .faq.active .faq-toggle .close {
  color: #fff;
  display: block;
}

.sub_content .faq.active .faq-toggle .down {
  display: none;
}

.sub_content .faq.active .faq-toggle {
  background-color: #9fa4a8;
}

.sub_content #bo_w .btn_submit {
  padding: 0 20px;
  font-size: 1.167em;
}

.sub_content #bo_w .btn_submit {
  position: relative;
  z-index: 1;
  margin-top: 4rem;
  display: inline-flex;
  align-items: center;
  height: 4.8rem;
  border-radius: 0;
  padding: 0 2.4rem 0 8rem;
  overflow: hidden;
  color: var(--white-color);
  white-space: nowrap;
}

.sub_content #bo_w .btn_submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 4.8rem;
  border-radius: 0;
  background: var(--primary-color);
}

.sub_content #bo_w .btn_submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1) url(../lib/icon/edit-3.svg) no-repeat center
    center;
  filter: invert();
}

.sub_content #bo_w .btn_cancel {
  position: relative;
  z-index: 1;

  margin-top: 4rem;

  display: inline-flex;
  align-items: center;
  height: 4.8rem;
  border-radius: 0;
  padding: 0 2.4rem 0 8rem;
  overflow: hidden;

  color: var(--white-color);
  white-space: nowrap;
}

.sub_content #bo_w .btn_cancel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 4.8rem;
  border-radius: 0;
  background: var(--point-color);
}

.sub_content #bo_w .btn_cancel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1) url(../lib/icon/x.svg) no-repeat center center;

  filter: invert();
}

.sub_content #bo_w .frm_info {
  position: relative;
  line-height: 18px;
  color: var(--point-color);
  margin: 10px 0;
  display: inline-block;
  font-size: 1em;
}

.sub_content .chk_box input[type="checkbox"] + label {
  position: relative;
  /* padding-left: 24px; */
  color: #676e70;
}

.sub_content .btn_cke_sc {
  display: inline-block;
  padding: 0 10px;
  height: auto;
  border: 1px solid #ccc;
  background: #fafafa;
  color: #000;
  text-decoration: none;
  line-height: 1.9em;
  vertical-align: middle;
  cursor: pointer;
}

.sub_content #faq_sch {
  background: #f7f7f7;
  padding: 2.4rem;
  text-align: center;
  margin: 0 0 8rem 0;
}

.sub_content #faq_sch .btn_submit {
  position: relative;
  z-index: 1;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  height: 4.8rem;
  border-radius: 0;
  padding: 0 2.4rem 0 8rem;
  overflow: hidden;
  color: var(--white-color);
  background: transparent;
  white-space: nowrap;

  width: auto;

  font-weight: 400;
}

.sub_content #faq_sch .btn_submit .fa {
  display: none;
}

.sub_content #faq_sch .btn_submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 4.8rem;
  border-radius: 0;
  background: var(--point-color);
}

.sub_content #faq_sch .btn_submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1) url(../lib/icon/search.svg) no-repeat center
    center;
  filter: invert();
}

.sub_content #fregister p {
  position: relative;
  text-align: center;
  color: #fff;
  height: 50px;
  line-height: 50px;
  font-size: 1.1em;
  background: var(--point-color);
  margin: 0 0 10px;
  border-radius: 0;
  font-weight: 400;
}

.btn_submit:hover {
  background: var(--secondary-color);
}

.btn_submit {
  border: 0;
  background: var(--primary-color);
  color: var(--white-color);
  cursor: pointer;
  border-radius: 0;
}

#content #bo_w .btn_confirm {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 0.8rem;
  margin-top: 4rem;
}

#content #bo_w .btn_confirm > * {
  margin-top: 0;
}

#content #bo_w .btn_confirm::after {
  display: none;
}

.bbs-view-image img {
  height: auto !important;
}
