/*


modify


 */

/* ==========================================================================
   화이트 셸 (법무사 사무소)
   --------------------------------------------------------------------------
   페이지 바탕은 흰색으로 고정한다. 섹션을 나눌 때는 색을 깔지 말고
   아주 옅은 회색(--background-color)이나 실선(--line-color)만 쓴다.
   섹션 내부 디자인은 각 main_html/*.html 의 <style> 이 담당한다.
   ========================================================================== */
:root {
  /* 히어로·강조 띠처럼 어두운 면을 쓸 때만 사용하는 값 */
  --shell-line: rgba(18, 49, 79, 0.12); /* 네이비 기운이 도는 옅은 경계선 */
  --shell-shadow: 0 1.6rem 4rem rgba(18, 49, 79, 0.08);
}

/* 페이지 전체를 흰 바탕으로. 서브(게시판)까지 같은 기준이라
   :not(.sub) 로 나눌 필요 없이 body 에 한 번만 준다. */
body {
  background: var(--white-color);
  color: var(--text-color);
}

#content {
  background: var(--white-color);
  color: var(--text-color);
}

#top_bar,
#header {
  background: var(--white-color);
  color: var(--text-color);
}

/* ── 푸터 : 짙은 네이비 바탕 + 밝은 회색 글자 ────────────────
   style.css 의 #footer { background: var(--footerbg-color) } 가
   나중에 로드되어 같은 특이도로 이기므로 #footer.footer 로 올린다 */
#footer.footer {
  background: var(--primary-deep);
  border-top-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
}

#footer.footer a {
  color: inherit;
}

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

/* 푸터 로고는 흰색 버전(logo_white.svg)을 그대로 쓰므로 반전하지 않는다 */
#footer.footer .f_logo img {
  opacity: 0.9;
}

#footer.footer .info li ~ li::before {
  background: rgba(255, 255, 255, 0.22);
}

/* ── 푸터 : 법률 안내 고지 ─────────────────────────────────── */
#footer.footer .ft_note {
  max-width: 76rem;
  margin-top: 2.4rem;
  font-size: 1.6rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.42);
}

/* ── 푸터 : 왼쪽 정렬 ─────────────────────────────────────
   본문이 모두 왼쪽에서 시작하므로 푸터도 같은 선에 맞춘다 */
#footer.footer .ft_info {
  justify-content: space-between;
  align-items: flex-start;
  gap: 6.4rem;
  text-align: left;
}

#footer.footer .left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#footer.footer .info {
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ── 반응형 ─────────────────────────────────────────────────
   정렬은 PC 와 같은 왼쪽이라 따로 되돌릴 것이 없다.
   (style.css 가 1024px 이하에서 .ft_info 를 세로 배치로 바꾼다) */
@media (max-width: 1024px) {
  #footer.footer .left {
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* 사업자 정보는 style.css 가 세로로 쌓으므로 줄간격만 벌린다 */
  #footer.footer .info li {
    line-height: 2;
    white-space: normal;
  }
}

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

/* 고정 헤더(.scr)와 모바일 메뉴판도 밝은 영역이므로 같이 되돌린다 */
#header .header_bottom,
#header .gnb_container,
#header .gnb {
  color: var(--text-color);
}

/* ── 로고 : 크기는 style.css 의 #header h1 a (210×40) 를 그대로 쓴다 ──
   logo.svg / logo_white.svg 는 171×40 이라 background-size:contain 으로
   높이 40px 에 딱 맞게 들어간다.
   푸터 로고도 img 원래 크기(171×40)를 그대로 두면 헤더와 같아진다. */

/* 상단 전화 앞 아이콘 : 네이비
   (style.css 의 #header .hd_tel .ico 와 같은 특이도라 .hd_wrap 을 더한다) */
#header .hd_wrap .hd_tel .ico {
  background: var(--primary-color);
}

/* ==========================================================================
   메인 오버레이 헤더 (두 줄)
   --------------------------------------------------------------------------
   메인(index)에서만 head.php 가 .overlay 를 붙인다.
     · 처음에는 히어로 사진 위에 겹친 투명 헤더 (글자·로고 흰색)
     · 스크롤하면 custom.js 가 .scr 을 붙인다 → 흰 배경 + 어두운 글자
   서브페이지에는 .overlay 가 없으므로 기존 흐름형 헤더 그대로다.
   ========================================================================== */

/* 위 줄 : 로고(좌) + 대표 전화(우) */
#header .header_top .hd_wrap {
  display: flex;
  align-items: center;
  height: 9.6rem;
}

#header .header_top .hd_util {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  margin-left: auto;
}

/* 헤더 오른쪽 상담 버튼 : 랜딩페이지의 첫 번째 전환 지점이라
   메뉴 중에서 이것만 색을 채워 눈에 띄게 둔다 */
#header .hd_cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;

  height: 4.4rem;
  padding: 0 2.4rem;

  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 0.4rem;

  font-size: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  transition: 0.3s;
}

#header .hd_cta:hover {
  background: var(--point-color);
}

/* 히어로 사진 위에 겹쳐 있는 동안에는 네이비가 사진에 묻히므로 포인트색으로 띄운다.
   (.overlay 헤더는 링크 색을 일괄로 어둡게 덮으므로 글자색도 함께 되돌린다) */
#header.overlay .hd_cta {
  background: var(--point-color);
}

#header.overlay .hd_cta:hover {
  background: var(--white-color);
  color: var(--primary-color);
}

#header.overlay .hd_cta,
#header.overlay.scr .hd_cta {
  color: var(--white-color);
}

/* 스크롤해 흰 헤더가 되면 본문과 같은 네이비로 되돌린다 */
#header.overlay.scr .hd_cta {
  background: var(--primary-color);
}

#header.overlay.scr .hd_cta:hover {
  background: var(--point-color);
  color: var(--white-color);
}

#header .hd_cta .icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  stroke-width: 2;
}

@media (max-width: 1024px) {
  /* 반응형에서는 햄버거 버튼과 겹치므로 감춘다
     (전화·상담은 우측 고정 버튼 #side_lnk 로 안내한다) */
  #header .header_top .hd_util,
  #header .header_bottom .hd_cta {
    display: none;
  }
}

/* 아래 줄 : 메뉴(왼쪽) + 상담 버튼(오른쪽) */
#header .header_bottom .hb_wrap {
  display: flex;
  align-items: center;
}

#header .header_bottom .gnb_container {
  display: flex;
  flex: 1;
  min-width: 0;
}

#header .header_bottom .gnb {
  display: flex;
  align-items: center;
  /* style.css 의 flex-end(우측 정렬)보다 특이도가 높아 이 값이 이긴다 */
  justify-content: flex-start;
  margin-left: 0;
  margin-right: auto;
}

#header .header_bottom .gnb > ul > li > a {
  line-height: 6.4rem;
}

/* 메뉴 안의 대표 전화는 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 {
  color: rgba(255, 255, 255, 0.6);
}

#top_bar.overlay .con_wrap .login .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: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white-color);
  transition: top 0.4s, background 0.4s, border-color 0.4s;
}

#header.overlay .header_top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

/* 어두운 원본 로고를 흰색으로 반전 */
#header.overlay .hd_wrap h1 a {
  filter: brightness(0) invert(1);
}

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

/* 겹쳐 있을 때는 전화 앞 아이콘도 사진 위에서 보이도록 밝게 */
#header.overlay .hd_wrap .hd_tel .ico {
  background: rgba(255, 255, 255, 0.18);
}

/* ── 스크롤 상태 : 흰 배경 + 어두운 글자 ────────────────────── */
/* 상단 바는 위로 접어 넣는다 */
#top_bar.overlay.scr_up {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

#header.overlay.scr {
  top: 0;
  background: var(--white-color);
  border-bottom-color: transparent;
  box-shadow: 0 0.2rem 1.6rem rgba(18, 49, 79, 0.1);
  color: var(--text-color);
}

#header.overlay.scr .header_top {
  border-bottom-color: var(--line-color);
}

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

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

#header.overlay.scr .hd_wrap .hd_tel .ico {
  background: var(--primary-color);
}

/* style.css 의 '#header.scr .header_bottom { position: fixed }' 는
   헤더 전체가 이미 고정이라 필요 없다 (겹쳐 떠 버리므로 되돌린다) */
#header.overlay.scr .header_bottom {
  position: static;
  background: transparent;
  border-bottom: 0;
}

/* 스크롤 후에는 두 줄이 화면을 많이 차지하므로 살짝 눌러 준다 */
#header.overlay.scr .header_top .hd_wrap {
  height: 7.2rem;
}

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

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

  /* 로고 줄 높이 : 로고와 우측 햄버거 버튼이 함께 들어가야 하므로
     style.css 의 12rem 을 그대로 쓴다. 아래 줄(메뉴)은 fixed 오버레이라
     높이를 차지하지 않으므로 이 값이 곧 헤더 높이가 된다 */
  #header .header_top .hd_wrap,
  #header.overlay .header_top .hd_wrap,
  #header.overlay.scr .header_top .hd_wrap {
    height: 12rem;
  }

  /* 메뉴판(흰색)이 열리면 로고가 그 위에 뜬다.
     이때까지 흰색 반전이 걸려 있으면 흰 판 위에서 보이지 않으므로 되돌린다 */
  #header.overlay .hd_wrap h1.on a {
    filter: none;
  }

  /* ── 모바일 메뉴판 여닫기 ────────────────────────────────
     style.css 는 left: -200% 로 화면 밖에 두는데, 폭 계산이 어긋나면
     판이 화면에 걸쳐 보인다. transform 으로 자기 폭만큼 확실히
     밀어내고, visibility 로 한 번 더 막는다.
     ※ modify.css 가 style.css 보다 먼저 로드되므로 .header_bottom 을
       더해 특이도를 올려야 style.css 의 left 값을 이긴다 */
  #header .header_bottom .gnb_container {
    left: 0;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.35s, visibility 0.35s;
  }

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

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

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

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

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

  /* 위 데스크톱 규칙(#header .header_bottom .gnb …)이 특이도가 더 높아
     style.css 의 모바일 메뉴판 값을 덮어쓰므로 여기서 되돌린다 */
  #header .header_bottom .gnb {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-left: 0;
    margin-right: 0;
  }

  #header .header_bottom .gnb > ul > li > a {
    line-height: 5.6rem;
  }
}

/* 서브페이지 흰 본문도 같은 이유로 글자색을 명시한다 (아래 .sub_content 참고) */

/* ── 서브페이지 (게시판 등) ───────────────────────────────────
   게시판 스킨은 밝은 배경 기준으로 만들어져 있으므로,
   서브 본문 영역만 밝은 판으로 남겨 가독성을 지킨다. */
main.sub .sub_content {
  background: var(--white-color);
  color: var(--text-color);
}

/* 서브페이지 제목도 메인 섹션 제목(.title h2)과 같은 명조 200·40px 으로 맞춘다 */
main.sub .page_title h3 strong {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 200;
  letter-spacing: -0.01em;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  /* 200 두께는 작아질수록 흐려지므로 폰에서는 400 으로 되돌린다 */
  main.sub .page_title h3 strong {
    font-size: 3.2rem;
    font-weight: 400;
  }
}

/* 공통 외곽선 버튼 : 네이비 (오시는 길 · 서브페이지에서 사용).
   layout.css 는 --point-color(청록)를 쓰지만, 버튼처럼 넓은 면은
   네이비가 더 또렷하고 신뢰감 있게 읽힌다. */
.default_btn {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.default_btn::before {
  background: var(--primary-color);
}

.default_btn:hover {
  color: var(--white-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.6rem;
  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.6rem;
  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.6rem;
}

.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.6rem;
  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: 1.6rem;
}

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