*:not(.pg-icon,.fa,.blueimp-gallery-button,i) {
  font-family: "Pretendard GOV Variable", "Pretendard GOV", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

:root {
  --header-auth-h: 36px;
  --header-nav-h: clamp(60px, 5.5vw, 88px);
  --header-h: calc(var(--header-auth-h) + var(--header-nav-h));
  --banner-item-h: 48px;
  --banner-menu-h: 70px;
}

@media (max-width: 991px) {
  :root {
    --banner-menu-h: var(--banner-item-h);
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --header-nav-h: 76px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --header-nav-h: 60px;
  }
}

html {
  height: 100%;
}
body {
  min-height: 100vh;
  margin: 0;
  padding-top: var(--header-h);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
}

.content-body {
  flex: 1 0 auto;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
}

body > #page-footer,
.wrapper > #page-footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* body 직속 main(인덱스 페이지) — wrapper 없이 sticky-footer 가 동작하도록 잔여 높이 채움 */
body > main {
  flex: 1 0 auto;
  width: 100%;
}

/* 접근성 — 키보드 포커스 가시성 (primary 색상 solid 테두리) */
*:focus-visible {
  outline: 3px solid #29587f !important;
  outline-offset: 2px !important;
  border-radius: 2px;
}
/* :focus-visible 미지원 브라우저 폴백 — 마우스 클릭에는 outline 표시하지 않음 */
*:focus:not(:focus-visible) {
  outline: none;
}
/* 인접 요소(배너 메뉴 등) 위에 떠서 outline 이 잘리지 않도록 — 포커스 가능한 요소들에 z-index */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible {
  position: relative;
  z-index: 10;
}

/* 메뉴 열림 시 body 스크롤 잠금 — 모바일 풀페이지 메뉴 + 역할 드롭다운 공통 */
body:has(#fullpage-menu-toggle:checked),
body.menu-open {
  overflow: hidden;
}

table td a {
  color: #000;
}

table.bt tbody td:last-child {
  border-bottom: 1px solid #dee2e6;
}

table.bt tbody td.bt-block .bt-content {
  flex: 1;
}

table.bt tbody td.bt-block::before {
  content: "";
}

.logo {
  height: clamp(36px, 3.4vw, 52.5px);
  width: auto;
}

.logo-light {
  display: none;
}
.navbar.navbar-styled {
  background-color: #FFF;
  align-items: start;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 2px 8px -2px rgba(15, 23, 42, .08);
}

.navbar-bg-style {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}

.navbar .nav-link {
  color: #000;
}

.navbar.navbar-styled .navbar-nav .nav-link:hover {
  color: #29587f !important;
}

.navbar.navbar-styled .navbar-nav .nav-item.active .nav-link {
  color: #29587f !important;
}

.navbar.light .logo-light { display: inline-block; }
.navbar.light .logo-dark  { display: none; }
.navbar.light .nav-link   { color: #FFF; }

body.navbar-transparent { padding-top: 0 !important; }
body.navbar-transparent .navbar { background: transparent; }
.top-auth-bar {
  gap: 6px;
  flex-wrap: nowrap !important;
  overflow: visible;
}

.top-auth-btn {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: none;
  border-radius: 0;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}

.top-auth-btn:hover,
.top-auth-btn:focus {
  background-color: transparent;
  color: #fff;
  text-decoration: none;
}

.top-auth-divider {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.head-common-menu-class .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.head-common-menu-class .nav-item + .nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: #d4dae3;
  pointer-events: none;
}

.head-common-menu-class .navbar-nav {
  flex-wrap: nowrap;
}

.head-common-menu-class .nav-item.active .nav-link {
  font-weight: 700;
}

.head-common-menu-class .nav-item .nav-link {
  display: flex;
  gap: 2px;
  color: #333;
  white-space: nowrap;
  text-align: center;
  font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.04em;
  font-stretch: 98%;
  transform: scaleX(0.98);
  transform-origin: center center;
  height: var(--header-nav-h);
  padding: 0 clamp(14px, 1.4vw, 26px);
  margin: 0;
  background: none;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}

.head-common-menu-class .nav-item .nav-link:hover,
.head-common-menu-class .nav-item .nav-link:focus {
  font-weight: 700;
  background-color: transparent !important;
  box-shadow: 0 -4px 0 #29587f inset;
}

.head-common-menu-class .nav-item .nav-link.nav-link--external > i {
  font-size: 0.7em;
  vertical-align: super;
  margin-left: 4px;
  opacity: 0.85;
  -webkit-text-stroke: 1.2px currentColor;
  font-weight: 900;
  transition: opacity .18s ease, transform .18s ease;
}

.head-common-menu-class .nav-item .nav-link.nav-link--external:hover > i,
.head-common-menu-class .nav-item .nav-link.nav-link--external:focus > i {
  opacity: 1;
  transform: translate(1px, -1px);
}

.head-common-menu-class.light .nav-item .nav-link {
  color: #fff;
  background: none;
}

.head-common-menu-class .badge-light {
  color: #29587f;
  font-size: 12px;
}

.main-bg {
  background-image: url('../images/background/main-bg.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  height: 600px;
  padding-top: 200px;
  color: #FFF;
  margin-bottom: 25px;
}
.banner .banner-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 56px 16px;
  gap: 8px;
}

@media (max-width: 991px) {
  .banner .banner-title {
    padding: 40px 16px;
  }
}

.banner .banner-title > h4,
.banner .banner-title .depth2 {
  margin: 0;
  font-size: clamp(20px, 4.6vw, 32px);
  font-weight: 700;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 100%;
}

.banner .banner-title .depth1 {
  margin: 0 0 6px;
  font-size: clamp(14px, 3.2vw, 24px);
  font-weight: 500;
  opacity: 0.85;
  letter-spacing: 0.2px;
  word-break: keep-all;
  overflow-wrap: break-word;
  max-width: 100%;
}

.banner .banner-title > p {
  font-size: 0.7rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* 배너 타이틀 내 아이콘 이미지(legacy) — 작은 텍스트와 함께 보이도록 크기 제어 */
.banner .banner-title > img {
  max-width: 56px;
  height: auto;
  margin-bottom: 4px;
}
.banner .banner-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  background-color: rgba(0, 0, 0, .06) !important;
  border-bottom: 1px solid #efefef;
  z-index: 1;
}

.banner .banner-menu .banner-item {
  flex-shrink: 0;
  white-space: nowrap;
}
@media (min-width: 992px) {
  .banner .banner-menu {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding-left: calc((100% - 960px) / 2);
    padding-right: calc((100% - 960px) / 2);
  }
}
@media (min-width: 1200px) {
  .banner .banner-menu {
    padding-left: calc((100% - 1140px) / 2);
    padding-right: calc((100% - 1140px) / 2);
  }
}

.banner .banner-menu .banner-item {
  display: flex;
  align-items: center;
  height: var(--banner-item-h);
  padding: 0 2.2rem;
  color: #FFF;
  transition: all .2s;
  text-decoration: none;
}

/* share/print 액션 컨테이너(actions-only 메뉴)일 때만 우측에 절대 위치
   counsel 처럼 모든 항목이 실제 메뉴인 경우 :last-child 가 일반 nav-item 이어도 흐름 그대로 유지 */
.banner .banner-menu--actions-only .banner-item:last-child {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.banner .banner-menu .banner-item:not(.active):hover {
  text-decoration: none;
  background-color: rgba(255, 255, 255, .2);
}

.banner .banner-menu .banner-item.active {
  background-color: #fff;
  color: #29587f;
}

.banner .banner-menu .banner-item.active h5 {
  font-weight: 700;
}

.banner .banner-menu .banner-item h5 {
  font-weight: 400;
  margin: 0 auto;
  transition: all .2s;
}

.banner .banner-menu .banner-item h5.dropdown-toggle:hover {
  color: #c8d1db;
  cursor: pointer;
}

.banner .banner-menu .banner-item > i {
  margin: 0 0.3rem;
  background: rgba(0, 0, 0, .25);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  transition: all .2s;
  backdrop-filter: blur(24px);
}

.banner .banner-menu .banner-item > i:hover {
  background: rgba(0, 0, 0, .78);
  cursor: pointer;
}

@media (max-width: 991px) {
  .banner .banner-menu .banner-item {
    padding: 0 .875rem;
  }
  .banner .banner-menu .banner-item h5{
    font-size: 1rem;
  }
}

@media (min-width: 992px) {
  .banner .banner-menu .banner-item {
    height: var(--banner-menu-h);
  }
}

/* 모바일 — banner-menu(depth2)를 드롭다운으로 표시
   active 항목만 노출, 펼침 시 나머지 항목은 overlay로 띄워 레이아웃 shift 방지 */
@media (max-width: 991.98px) {
  .banner .banner-menu {
    position: relative;
  }
  .banner .banner-menu .banner-item.active {
    cursor: pointer;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }
  /* chevron — 텍스트 가운데 정렬을 깨지 않도록 우측에 absolute 배치 */
  .banner .banner-menu .banner-item.active::after {
    content: '';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .25s ease;
  }
  /* depth2 항목이 1개뿐이면 펼칠 게 없으므로 chevron 제거 + 기본 패딩 + 일반 링크 동작 */
  .banner .banner-menu:has(.banner-item:only-child) .banner-item.active,
  .banner .banner-menu .banner-item.active:only-child {
    cursor: default;
    padding-right: 2.2rem;
    padding-left: 2.2rem;
  }
  .banner .banner-menu:has(.banner-item:only-child) .banner-item.active::after,
  .banner .banner-menu .banner-item.active:only-child::after {
    display: none;
  }
  .banner .banner-menu.is-open .banner-item.active::after {
    transform: translateY(-30%) rotate(-135deg);
  }
  /* 비활성 항목 — 기본 숨김 (counsel: 모든 비활성 항목 / 8080 actions-only: :last-child 는 share/print 라 제외) */
  .banner .banner-menu .banner-item:not(.active) {
    display: none;
  }
  .banner .banner-menu--actions-only .banner-item:last-child {
    display: flex;
  }
  /* 펼침 시 단일 overlay 배경 (개별 항목이 아닌 전체 한 덩어리) */
  .banner .banner-menu.is-open::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(var(--dropdown-count, 0) * var(--banner-item-h));
    background-color: rgba(15, 23, 42, .88);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, .35);
    z-index: 19;
    animation: bannerMenuDropdownIn .22s ease both;
  }
  /* 펼침 — 비활성 항목들을 overlay 위에 투명 배경으로 배치 */
  .banner .banner-menu.is-open .banner-item:not(.active) {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    background-color: transparent;
    z-index: 20;
    color: rgba(255, 255, 255, .92);
    animation: bannerMenuDropdownIn .22s ease both;
    animation-delay: calc(var(--dropdown-index, 0) * 30ms);
    top: calc(100% + var(--dropdown-index, 0) * var(--banner-item-h));
  }
  .banner .banner-menu.is-open .banner-item:not(.active):active {
    background-color: rgba(41, 88, 127, .55);
    color: #fff;
  }
  /* actions-only 메뉴(:last-child = share/print)는 드롭다운에서 제외하고 우측 floating 유지 */
  .banner .banner-menu--actions-only.is-open .banner-item:last-child {
    position: absolute;
    right: 0;
    top: 50%;
    left: auto;
    transform: translateY(-50%);
    animation: none;
  }
}

@keyframes bannerMenuDropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* sub-nav 없이 share/print 아이콘만 있는 배너 메뉴 — Plan A
   · 모바일(<992): 숨김 (사용 빈도 낮음)
   · 데스크톱(≥992): 배너 바로 아래 = breadcrumb 줄에 우측 정렬로 floating
                     (.banner-menu--actions-only 클래스는 menu-top.html JS에서 동적 부여) */
.banner .banner-menu.banner-menu--actions-only {
  position: absolute;
  bottom: auto;
  left: auto;
  width: auto;
  padding: 0;
  margin: 0;
  background: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  z-index: 2;
}
.banner .banner-menu.banner-menu--actions-only .banner-item:last-child {
  position: static;
  transform: none;
  height: auto;
  padding: 0;
}
@media (max-width: 991.98px) {
  .banner .banner-menu.banner-menu--actions-only {
    display: none !important;
  }
}
@media (min-width: 992px) {
  .banner .banner-menu.banner-menu--actions-only {
    top: 100%;
    right: max(15px, calc((100vw - 960px) / 2 + 15px));
    margin-top: 8px;
  }
  .banner .banner-menu.banner-menu--actions-only .banner-item > i {
    background: #f1f5fa;
    color: #29587f;
  }
  .banner .banner-menu.banner-menu--actions-only .banner-item > i:hover {
    background: #29587f;
    color: #fff;
  }
}
@media (min-width: 1200px) {
  .banner .banner-menu.banner-menu--actions-only {
    right: max(15px, calc((100vw - 1140px) / 2 + 15px));
  }
}


.banner.top-bg {
  background: url('../images/background/top-bg.jpg');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #FFF;
  position: relative;
}

.banner.top-bg::after {
  content:'';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .16);
}

.banner.top-bg .container {
  display: flex;
  flex: 1;
  z-index: 1;
  justify-content: center;
}

/* depth3 (nav-sub) — 배너 바로 아래 sub-tab 영역 */
.nav-sub .nav-tabs {
  display: flex;
  justify-content: center !important;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0 4px;
  padding: 0 16px;
  background: #fafafa;
  border-bottom: 1px solid #e5e5e5;
  min-height: 50px;
}

/* depth3 — 항목이 없을 때 placeholder 자체 비활성화 (데스크톱·모바일 모두 배경/라인/높이 제거) */
.nav-sub:empty {
  display: none !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

.nav-sub .nav-tabs .nav-item .nav-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #6b7280;
  background: transparent;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0;
  white-space: nowrap;
  transition: color .15s ease, border-color .15s ease;
}

.nav-sub .nav-tabs .nav-item .nav-link.active {
  color: #29587f;
  font-weight: 700;
  border-bottom-color: #29587f !important;
}

.nav-sub .nav-tabs .nav-item .nav-link:not(.active):hover {
  color: #29587f;
  border-bottom-color: rgba(41, 88, 127, .25) !important;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .nav-sub .nav-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);   /* 기본: 3개 이상 → 3열 */
    gap: 0;
    padding: 0;
    background: #fafafa;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;        /* 마지막 행의 빈 셀에도 라인이 이어지도록 */
    min-height: 48px;
  }
  /* 항목 1개 → 1열 */
  .nav-sub .nav-tabs:has(.nav-item:only-child) {
    grid-template-columns: 1fr;
  }
  /* 항목 2개 → 2열 */
  .nav-sub .nav-tabs:has(.nav-item:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-sub .nav-tabs .nav-item {
    width: 100%;
    background: transparent;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
  }
  /* 3열 기본 — 3의 배수 위치는 right border 제거 */
  .nav-sub .nav-tabs .nav-item:nth-child(3n) {
    border-right: none;
  }
  /* 2열일 때는 2의 배수 위치 right border 제거 */
  .nav-sub .nav-tabs:has(.nav-item:nth-child(2):last-child) .nav-item:nth-child(2n) {
    border-right: none;
  }
  /* 1열일 때는 right border 자체 제거 */
  .nav-sub .nav-tabs:has(.nav-item:only-child) .nav-item {
    border-right: none;
  }
  .nav-sub .nav-tabs .nav-item .nav-link {
    width: 100%;
    height: 100%;
    padding: 10px 8px;
    font-size: 14px;
    text-align: center;
    white-space: normal;
    word-break: keep-all;
    border: none !important;
  }
  .nav-sub .nav-tabs .nav-item .nav-link.active {
    background: #fff;
    color: #29587f;
    font-weight: 700;
    border-bottom: 2px solid #29587f !important;
  }
}

/* 브레드크럼 — hscredit-web(8080) 동일. 컨테이너 최상단 좌측, 16px 회색 텍스트, · 구분자.
   Bootstrap 기본 grey pill 배경/패딩/라운드 제거 + 구분자 문자 변경 */
nav[aria-label="breadcrumb"] {
  text-align: left;
}
nav[aria-label="breadcrumb"] .breadcrumb {
  justify-content: flex-start;
  text-align: left;
  background: transparent;
  /* padding 은 Bootstrap 기본값 (0.75rem 1rem = 12px 16px) 유지 — 8080 과 동일 */
}

.breadcrumb {
  margin-bottom: 2px;
  font-size: 16px;
  letter-spacing: -0.025em;
}

.breadcrumb .breadcrumb-item a {
  color: #505050;
  font-size: 16px;
  letter-spacing: -0.025em;
}

.breadcrumb .breadcrumb-item {
  color: #505050;
  font-size: 16px;
  letter-spacing: -0.025em;
}

.breadcrumb .breadcrumb-item.active {
  color: #505050;
}

/* counsel 의 Bootstrap 빌드는 `/` 구분자 — 8080 의 `·` 로 통일 */
.breadcrumb-item + .breadcrumb-item::before {
  content: "·";
  color: #505050;
}
@media (max-width: 991.98px) {
  nav[aria-label="breadcrumb"] {
    display: none;
  }
}

/* 메인 컨텐츠 영역 — depth3/breadcrumb 다음 본문 영역의 일관된 상하 패딩.
   flex-grow 로 .content-body 잔여 공간을 채워, 짧은 페이지에서도 푸터가
   viewport 하단에 자연스럽게 붙고 화면 밖으로 밀리지 않도록 한다.
   (이전 min-height 방식은 배너/푸터 높이를 빼지 않아 푸터가 fold 아래로 밀려났음) */
.main-content {
  padding-top: 40px !important;
  padding-bottom: 80px !important;
  flex: 1 0 auto;
}
@media (max-width: 991.98px) {
  .main-content {
    padding-top: 56px !important;
    padding-bottom: 48px !important;
  }
}

/* main-content 안의 .card.mb-5 > .card-body.card-container 래퍼는 시각적 카드를 만들지 않음
   8080은 컨텐츠를 main-content 바로 안에 배치 — counsel 의 기존 마크업을 보존하되 카드 외관 제거 */
.main-content > .card.mb-5 {
  margin-bottom: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.main-content > .card.mb-5 > .card-body.card-container {
  padding: 0 !important;
  background: transparent !important;
}
.form-filter {
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.form-filter .form-group {
  margin-bottom: 0;
}
.form-filter button[type="submit"] {
  width: 50px;
  height: 36px;
  padding: .375rem;
}
.table-responsive .table.table-condensed thead tr:first-child {
  border-top: 1px solid #dbdbdb;
}
.table-responsive .table.table-condensed thead tr:last-child {
  border-bottom: 1px solid #dbdbdb;
}
.table-responsive .table.table-condensed thead th {
  color: #3c434b;
  background-color: #fcfcfc;
  font-weight: 600;
}
.table-responsive .table.table-condensed strong {
  font-weight: 500;
  color: #29587f;
}
.table-responsive .table.table-condensed th,
.table-responsive .table.table-condensed td {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  vertical-align: middle;
}
.table-responsive .table.table-condensed .badge {
  padding: 4px 6px;
  font-size: 0.875rem;
  font-weight: 400;
  margin-right: 2px;
}

.sub-bg {
  background-image: url('../images/background/sub-bg-1.png');
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
}

.textarea-limit-text {
  text-align: right;
  margin: 0.5rem 0 0 0;
  font-size: 12px;
}

.btn-primary {
  color: #fff;
  background-color: #29587f;
  border-color: #29587f;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #4383b2;
  border-color: #4383b2;
}

.btn-search {
  width: 50px;
  height: 34px;
  padding: .375rem;
}

.btn-circle {
  border-radius: 50%;
}

.nav-sub .nav-tabs {
  justify-content: center !important;
  border-bottom: 1px solid #e5e5e5;
}

.nav-sub .nav-tabs .nav-item .nav-link {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  font-size: 1.0rem;
  color: #5e5e5e;
  border-bottom: 3px solid transparent !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
}

.nav-sub .nav-tabs .nav-item .nav-link.active,
.nav-sub .nav-tabs .nav-item .nav-link:hover {
  color: #004ea2;
  border-bottom: 3px solid #004ea2 !important;
  text-decoration: none;
}

.navbar .navbar-toggler {
  font-size: 40px;
  color: #333;
}

.bg-grey {
  background-color: #f7f8f8;
}
.fullpage-menu-toggle {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

label.navbar-toggler,
label.fullpage-close-button {
  cursor: pointer;
  margin-bottom: 0;
}

.fullpage-menu-backdrop {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1029;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s 0.2s;
  margin: 0;
  cursor: pointer;
}

.fullpage-menu {
  position: fixed;
  top: calc(var(--header-h) - 1px);
  left: 0;
  right: 0;
  width: 100%;
  background-color: #FFF;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
  z-index: 1040;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  -webkit-clip-path: inset(0 0 100% 0);
  transition: clip-path 0.22s ease, visibility 0s 0.22s, -webkit-clip-path 0.22s ease;
}

.fullpage-menu-toggle:checked ~ .fullpage-menu-backdrop {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s 0s;
}

.fullpage-menu-toggle:checked ~ .fullpage-menu {
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 0.22s ease, visibility 0s 0s, -webkit-clip-path 0.22s ease;
}
.fullpage-menu-header {
  display: none !important;
}

.fullpage-menu-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.fullpage-menu-brand img {
  height: 32px;
  width: auto;
  display: block;
}

.fullpage-close-button {
  display: inline-flex;
  width: 40px;
  height: 40px;
  font-size: 24px;
  color: #475569;
  background: transparent;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.fullpage-close-button:hover,
.fullpage-close-button:focus {
  background: #f1f5f9;
  color: #0f172a;
}
.fullpage-menu .fullpage-menu-list {
  flex: 1 1 auto;
  align-self: center;
  width: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* 모바일 풀페이지 메뉴 안의 포커스 outline 이 overflow-y:auto 로 인한 가로 클리핑으로 잘리지 않도록 inset 처리 */
.fullpage-menu *:focus-visible {
  outline-offset: -3px !important;
}
.fullpage-menu-section {
  padding: 0 15px;
  border-bottom: 1px solid #f1f5f9;
}
.fullpage-menu-accordion > summary,
.fullpage-menu-external,
a.fullpage-menu-section,
div.fullpage-menu-section > h5 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding-top: 18px;
  padding-bottom: 18px;
  list-style: none;
}
a.fullpage-menu-section {
  text-decoration: none;
  color: inherit;
}
a.fullpage-menu-section:hover,
a.fullpage-menu-section:focus {
  text-decoration: none;
  color: inherit;
}
a.fullpage-menu-section:hover h5,
a.fullpage-menu-section:focus h5 {
  color: #29587f;
}
a.fullpage-menu-section > h5 { margin: 0; }
a.fullpage-menu-section:hover .fullpage-menu-chevron,
a.fullpage-menu-section:focus .fullpage-menu-chevron {
  color: #29587f;
  transform: translateX(2px);
}
.fullpage-menu-section h5 {
  margin: 0;
  padding-left: 14px;
  position: relative;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #64748b;
  text-transform: uppercase;
}

.fullpage-menu-section h5::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: #29587f;
  border-radius: 2px;
}
.fullpage-menu-external {
  text-decoration: none;
  color: inherit;
}
.fullpage-menu-external:hover,
.fullpage-menu-external:focus {
  text-decoration: none;
  color: inherit;
}
.fullpage-menu-external:hover h5,
.fullpage-menu-external:focus h5 {
  color: #29587f;
}
.fullpage-menu-external > h5 { margin: 0; }
.fullpage-menu-external:hover .fullpage-menu-chevron,
.fullpage-menu-external:focus .fullpage-menu-chevron {
  color: #29587f;
}
.fullpage-menu-accordion {
  padding-top: 0;
}
.fullpage-menu-accordion > summary {
  cursor: pointer;
  user-select: none;
}
.fullpage-menu-accordion > summary::-webkit-details-marker { display: none; }
.fullpage-menu-accordion > summary::marker { content: ''; }
.fullpage-menu-accordion > summary > h5 { margin: 0; }
.fullpage-menu-chevron {
  font-size: 18px;
  color: #94a3b8;
  transition: transform .2s ease, color .2s ease;
}
.fullpage-menu-accordion[open] > summary .fullpage-menu-chevron {
  transform: rotate(180deg);
  color: #29587f;
}
.fullpage-menu-accordion > ul {
  overflow: hidden;
  animation: fullpageAccordionOpen .22s ease;
}
@keyframes fullpageAccordionOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fullpage-menu-section ul {
  margin: 0;
  padding: 0 0 14px;
  list-style: none;
}

.fullpage-menu-section ul li {
  margin: 0;
}
.fullpage-menu-section ul li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 10px;
  color: #1e293b;
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.fullpage-menu-section ul li a:hover,
.fullpage-menu-section ul li a:focus {
  background: #eef4fb;
  color: #29587f;
  text-decoration: none;
  padding-left: 18px;
}

.fullpage-menu-section ul li a:has(.bi-window-stack)::after {
  display: none;
}

@media (max-width: 768px) {
  .fullpage-menu {
    width: 100%;
    max-width: none;
  }
}

.btn-rounded {
  border-radius: 1.2rem;
}

.input-group.input-group-styled .input-group-text {
  color: #c9c9c9;
  background-color: transparent;
}

.input-group.input-group-styled > .form-control:not(:first-child), .input-group > .custom-select:not(:first-child) {
  border-left: none;
}

.certbox {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  height: 260px;
  border: 2px solid #e3e3e3;
}

.cert-reading-box {
  width: 100%;
  height: 180px;
  border: 1px solid #d2d2d2;
  border-radius: 0.25rem;
  background-color: #ededed;
  overflow-y: auto;
}

.cert-reading-box .title {
  font-size: 1.3rem;
  font-weight: bold;
  padding: 10px;
  color: #004ea2;
}

.cert-reading-box .content {
  padding: 10px;
}

.select2-container .select2-selection--single {
  height: 34px;
}

.select2-container--default .select2-selection--single {
  border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 20px;
  padding: .375rem 20px .375rem .75rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 32px;
}

.link-box {
  display: block;
  background-color: #004ea2;
  font-weight: bold;
  text-align: center;
  word-break: keep-all;
  color: #FFF !important;
  padding: 0.65rem 1.3rem;
}

.board-subtitle {
  background-color: #004ea2;
  font-weight: bold;
  text-align: center;
  color: #FFF;
  padding: 0.65rem 1.3rem;
  width: 120px;
}

.board-subvalue {
  flex: 1 1 auto !important;
  padding: 0.65rem 0.3rem;
  text-align: left;
}

.link-back {
  display: flex;
  align-items: center;
  color: #212529;
  margin-top: 0.5rem;
}

.link-back i {
  font-size: 1.3rem;
  margin-right: 0.3rem;
  color: #004ea2;
}

.attachment-box {
  margin-top: 0.8rem;
  background-color: #f6f6f6;
  padding: 0.8rem 1.2rem;
}

.login-select-tabs {
  border-bottom: none;
  margin: 16px 0 24px;
  padding: 5px;
  background: #eef2f7;
  border-radius: 12px;
  display: flex;
  gap: 4px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .04);
}

.login-select-tabs .nav-item,
.login-select-tabs .nav-item.col-4 {
  flex: 1 1 0;
  max-width: none;
  padding: 0;
}

.login-select-tabs .nav-item .nav-link {
  background-color: transparent;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 8px;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}

.login-select-tabs .nav-item .nav-link:hover {
  color: #29587f;
  background-color: rgba(255, 255, 255, .6);
}

.login-select-tabs .nav-item .nav-link.active {
  background-color: #ffffff !important;
  color: #29587f !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .12), 0 0 0 1px rgba(41, 88, 127, .08);
}

.login-select-tabs .nav-item .nav-link:focus {
  background-color: rgba(255, 255, 255, .6);
  outline: none;
}

.login-select-tabs .nav-item .nav-link:active {
  transform: scale(0.98);
}
body.bg-primary-gradient > .container-fluid {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 24px 12px;
}

body.bg-primary-gradient > .container-fluid > .row {
  width: 100%;
  margin: 0;
}

.login-form-card {
  width: 100%;
  max-width: 446px;
  height: fit-content;
  border-radius: 1rem;
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
}

.login-form-card label {
  color: #767676;
  margin-bottom: .25rem;
}

.login-form-card .form-control {
  padding: 4px 12px !important;
  border-radius: 8px;
  height: 46px;
}


.login-form-card .btn[type="submit"] {
  padding: 4px 12px;
  border-radius: 8px;
  height: 46px;
}

.login-form-card .select2-container,
.login-form-card .select2-selection,
.login-form-card .select2-selection__rendered {
  height: 46px !important;
  border-radius: 8px;
}

.login-form-card .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
  padding: 0 12px;
}

.login-form-card .select2-container--default .select2-selection--single .select2-selection__arrow {
  width: 32px;
  height: 46px;
}

@media (max-width: 400px) {
  .login-form-card {
    padding: 1rem;
  }

  .login-select-tabs .nav-item .nav-link {
    font-size: 0.875rem;
    padding: 0.5rem 0.25rem;
  }

  .login-select-tabs .nav-item:first-child {
    padding-right: 4px;
  }

  .login-select-tabs .nav-item:last-child {
    padding-left: 4px;
  }

  .login-select-tabs .login-link {
    font-size: 0.75rem;
  }
}

.input-group .select2-container--default .select2-selection--single {
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.badge-large {
  font-size: 1rem;
  padding: 0.4rem 0.9rem;
  border-radius: 3rem;
}

.main-popup {
  display: none;
  position: fixed;
  top: 60px;
  right: 5px;
  z-index: 999;
  border: 1px solid #aaa;
  box-shadow: -0.3em 0.3em 0.7em #666666;
  background-color: #FFF;
  min-width: 200px;
  max-width: 400px;
}

.main-popup .popup-container {
  overflow-x: hidden;
  overflow-y: auto;
}

.main-popup .popup-container > p {
  margin: 0 !important;
}

.main-popup .popup-container img {
  max-width: 100% !important;
}

.main-popup .popup-footer {
  width: 100%;
  height: 30px;
  background: #424242;
}

.main-popup .popup-footer a {
  color: #FFF !important;
}

div.satisfaction-survey-list .card + .card {
  margin-top: 30px;
}
.subject-category-box .subject-box {
  height: 140px;
  padding-top: 30px;
  background-color: #e9ecef;
  margin-bottom: 20px;
  cursor: pointer;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.subject-category-box .subject-box.active {
  background-color: #1869bf;
}

.subject-category-box .subject-box .subject-title {
  color: #464547;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.subject-box .label {
  color: #004ea2;
  font-weight: bold;
  border-bottom: 2px solid #004ea2;
  padding-bottom: 5px;
  text-align: center;
  width: 110px;
  margin: 0 auto 10px auto;
}

.subject-category-box .subject-box:hover {
  background-color: #004ea2;
}

.subject-category-box .subject-box:hover .label {
  color: #FFF;
  border-bottom: 2px solid #FFF;
}

.subject-category-box .subject-box.active .label {
  color: #FFF;
}

.subject-category-box .subject-box:hover .subject-title {
  color: #FFF;
}

.subject-category-remove {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
}
.subject-category-remove a {
  color: #000;
}

.subject-category-box .subject-box:hover .label {
  border-bottom: 2px solid #000 !important;
}

.subject-category-select {
  border-top-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
}
.subject-category-select .label {
  border-bottom: 0px;
}
.fc-day-today
{
  background-color:inherit !important;
}
.fc .fc-daygrid-day-frame {
  min-height: 120px;
}
.fc-daygrid-event {
  border: transparent !important;
  background-color: transparent !important;
}
@media (min-width: 1240px) {
  .fc-daygrid-event .fc-daygrid-item {
    flex-direction: row !important;
  }
  .fc-daygrid-event .fc-daygrid-item span {
    font-size: 1rem !important;
  }
  .fc-daygrid-time {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}
.fc-daygrid-event .fc-daygrid-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.fc-daygrid-event .fc-daygrid-item span {
  font-size: 0.8rem;
  font-style: normal;
  color: #000;
  cursor: pointer;
}
.fc-daygrid-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0rem;
  padding-right: 0rem;
}
.fc-daygrid-time b {
  color: #000;
  font-size: 0.8rem !important;
}
.fc-daygrid-time small {
  color: #000;
  font-size: 0.7rem !important;
  font-weight: 600;
}
.fc-daygrid-time small.ONLINE {
  color: #00a0e9;
}
.fc-daygrid-time small.OFFLINE {
  color: #e100e9;
}
.fc-daygrid-expired {
  flex: 1 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fc-daygrid-expired:hover {
  background-color: rgba(210, 210, 210, 0.5);
}
.fc-daygrid-enabled {
  flex: 1 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fc-daygrid-enabled:hover {
  background-color: rgb(124, 209, 249);
}
.fc-daygrid-disabled {
  background-color: rgb(255, 195, 195);
}
.fc-daygrid-disabled:hover{
  background-color: rgb(242, 116, 116);
}

.fc-title {
  font-weight: bold;
}

#move-next, #move-prev i {
  -webkit-text-stroke: 1px;
}
.full-width {
  width: 100%;
}

select.full-width + .select2-container {
  width: 100% !important;
}

.fc-scrollgrid .fc-col-header thead th {
  height: 37px;
  background-color: #f9f9f9;
  vertical-align: middle;
}
.card:not(.note-editor) {
  border: none !important;
  border-radius: 1rem;
  width: 100%;
  overflow-y: auto;
  margin: 0 auto;
}

.card .card-container {
  padding: 2.5rem 1rem !important;
}

@media (min-width: 768px) {
  .card .card-container {
    padding: 2.5rem 3rem !important;
  }
}
.alert-counsel {
  font-weight: bold;
}
.notice-box ul {
  list-style-type: none;
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 0rem;
  font-weight: bold;
}

.notice-box .notice-header h5{
  color: #004ea2 !important;
  padding: 0 1.2rem;
  font-weight: bold;
}
.notice-box .notice-header hr{
  margin: 0 0.7rem 0.5rem 0.7rem;
  border-top: 2px solid #004ea2;
}

.notice-box ul li > .list {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  text-decoration: none !important;
  color: #000;
}

.notice-box ul li > .list > .title {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding: 0 1.2rem;
}

.notice-box ul li > .list > .date {
  padding: 0 1.2rem;
  text-align: right;
  width: 150px;
}

.notice-box ul li hr {
  margin: 0.5rem 0.7rem 0.5rem 1rem;
  border-top: 2px solid #f5f5f5;
}

.btn:focus, .btn.focus {
  outline: 0;
  box-shadow: none !important;
}

.gap-3 {
  gap: 12px;
}

.bg-primary {
  background-color: #29587f !important;
}

.bg-primary-gradient {
  background: linear-gradient(180deg, #4d80b1 0%, #b5cfe2 78%);
}
#page-footer {
  background-color: #f1f4f9 !important;
  color: #475569 !important;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(51, 65, 85, 0.1);
}
#page-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

#page-footer .footer-brand img {
  height: 40px;
  filter: none;
  opacity: 1;
}

#page-footer .footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  margin-left: 25px;
  transition: all 0.2s ease;
}

#page-footer .footer-links a:hover {
  text-decoration: underline;
}

#page-footer .footer-links a.privacy {
  color: #0f172a;
  font-weight: 700;
}

#page-footer hr {
  border: 0;
  border-top: 1px solid #cbd5e1;
  margin-bottom: 35px;
}

#page-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

#page-footer address {
  font-style: normal;
  font-size: 14px;
  color: #334155;
  margin-bottom: 8px;
}

#page-footer .contact {
  font-size: 14px;
  margin-bottom: 15px;
}

#page-footer .contact b {
  color: #94a3b8;
  margin-right: 8px;
  font-weight: 500;
}

#page-footer .copyright {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
@media (max-width: 768px) {
  #page-footer .footer-top,
  #page-footer .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
  }
  #page-footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
    text-align: center;
  }
  #page-footer .footer-links a {
    margin: 0;
  }
  #page-footer .footer-brand {
    width: 100%;
    text-align: center;
  }
  #page-footer .footer-brand img {
    margin: 0 auto;
  }
  #page-footer .footer-info {
    width: 100%;
    text-align: center;
  }
  #page-footer address,
  #page-footer .contact,
  #page-footer .copyright {
    text-align: center;
  }
}