@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

/* 충주김생체 */
@font-face {
  font-family: "ChungjuKimsaeng";
  src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2312-1@1.1/ChungjuKimSaengTTF.woff2") format("woff2");
  font-weight: normal;
  font-weight: 400;
  font-display: swap;
}

html, body {
  height: 100%; /* Ensure html and body take full viewport height */
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans", sans-serif;
}

header .sub{
  height: 131px;
}

footer {
  height: 182px;
}

a {
  color: #000;
  text-decoration: none;
}

:root,
[data-bs-theme=light] {
  --bs-primary: #572f21;
  --bs-primary-sub: #8e5434;
  --bs-success: #8e5434;
  --bs-secondary: #eeceb3;
  --bs-primary-rgb: 87, 47, 33;
  --bs-success-rgb: 142, 84, 52;
  --bs-secondary-rgb: 238, 206, 179;
  --bs-link-color: #572f21;
}

/* 공통 */
.container {
  max-width: 1280px;
  padding: 0;
}

.inner-container {
  max-width: 1240px;
}

header ul.nav li.hide {
  display: none;
}

main {
  padding-top: 131px;
  min-height: calc(100vh - 182px);
}

main.p-0-top {
  padding-top: 0px !important;
}

.fixed_height {
  height: calc(100vh - 123px);
}

/* 리스트그룹 */
list-group-item.active {
    z-index: 2;
    color: #fff;
    background-color: var(--bs-primary-sub);    
    border-color: var(--bs-list-group-active-border-color);
}

/* 공통 > Size*/
.w-5 { width: 5% !important;}
.w-10 { width: 10% !important;}
.w-20 { width: 20% !important;}
.w-30 { width: 30% !important;}
.w-40 { width: 40% !important;}

/* 공통 > Size > font*/
.fs--1 { font-size: 0.75rem;}
.fs--2 { font-size: 0.75rem;}

/* 공통 > Table*/
.table-light {
    --bs-table-color: #000;
    --bs-table-bg: var(--bs-secondary);
    --bs-table-border-color: #c6c7c8;
    --bs-table-striped-bg: #ecedee;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfe0e1;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #e5e6e7;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color)
}

.table-notice {
    border: #c6c7c8 solid 1px;
    border-top: #8e5434 solid 5px;
    --bs-table-color: #000;
    /* --bs-table-bg: var(--bs-secondary); */
    --bs-table-border-color: #c6c7c8;
    --bs-table-striped-bg: #ecedee;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfe0e1;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: var(--bs-primary-sub);
    --bs-table-hover-color: #fff;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color)
}
.table-notice tr {height: 50px;}
.table-notice td {vertical-align:middle;}

/* 공통 > Table 상단공지 */
.table-notice .list-top {background: var(--bs-secondary); color: #000;}
.table-notice .list-item {background: #fff; border-bottom: #c6c7c8 solid 1px;}
/* .table-notice .list-item:hover {box-shadow: 0 0 0 1px var(--bs-primary-sub) inset;} */
.table-notice .list-item:hover {border: var(--bs-primary-sub) solid 1px; border-top: var(--bs-primary-sub) solid 1px !important;}

/* 공통 > Pagenation*/
.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color: var(--bs-link-color);
    --bs-pagination-bg: var(--bs-body-bg);
    --bs-pagination-border-width: var(--bs-border-width);
    --bs-pagination-border-color: var(--bs-border-color);
    --bs-pagination-border-radius: var(--bs-border-radius);
    --bs-pagination-hover-color: var(--bs-link-hover-color);
    --bs-pagination-hover-bg: var(--bs-tertiary-bg);
    --bs-pagination-hover-border-color: var(--bs-border-color);
    --bs-pagination-focus-color: var(--bs-link-hover-color);
    --bs-pagination-focus-bg: var(--bs-secondary-bg);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: var(--bs-primary);
    --bs-pagination-active-border-color: var(--bs-primary);
    --bs-pagination-disabled-color: var(--bs-secondary-color);
    --bs-pagination-disabled-bg: var(--bs-secondary);
    --bs-pagination-disabled-border-color: var(--bs-success);
    display: flex;
    padding-left: 0;
    list-style: none;
}

/* 공통 > Button */
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bs-success);
    --bs-btn-hover-border-color: var(--bs-success);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bs-success);
    --bs-btn-active-border-color: var(--bs-success);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--bs-primary);
    --bs-btn-disabled-border-color: var(--bs-primary);
}

/* 공통 > Button > radio-style*/
.radio-style-1 {
  color: #572f21;
  border: #572f21 solid 1px;
  padding: 1rem;
  padding-left: 40px;
}

/* 공통 > nav-tab-style */
.nav {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: var(--bs-secondary-color);
    --bs-nav-link-hover-color: var(--bs-primary-sub);
    --bs-nav-link-disabled-color: var(--bs-secondary-color);
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.nav-underline {
    --bs-nav-underline-gap: 1rem;
    --bs-nav-underline-border-width: 0.125rem;
    --bs-nav-underline-link-active-color: var(--bs-primary);
    gap: var(--bs-nav-underline-gap);
}


/* 메인1 */
.main-header {
  -webkit-transition: 0.2s;
  transition: 0.2s;
}
.main-header.active {
  background-color: white !important;
  border-color: rgb(89, 89, 89) !important;
  border-radius: 130px;
}

.main-visual {
  background-image: url(../img/bible-hands-and-family-at-funeral-cemetery-or-bu-2025-04-06-07-40-59-utc.jpg);
  background-size: cover;
  background-position: center;
  background-position: center top;
  height: 250px;
}

/* 메인2 */
.main-header.type2 nav {
  height: 90px;
}

.main-header.type2 nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  /* nav 아래부터 */
  height: 0px;
  /* 서브메뉴 높이에 맞게 조정 */
  background: #fff;
  border-top: 1px solid #eee;
  width: 100%;
  -webkit-box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  -webkit-transition: height 0.3s ease;
  transition: height 0.3s ease;
}

.main-header.type2 nav.show::after {
  height: 145px;
}

.main-header.type2 nav ul.nav {
  position: relative;
  height: 100%;
}

.main-header.type2 nav ul.nav>div {
  position: absolute;
  width: 100%;
  height: 0;
  top: 100%;
  z-index: 10;
}

.main-header.type2 nav ul.nav>div.show {
  height: 145px;
}

.main-header.type2 nav ul.nav>li {
  position: relative;
  height: 100%;
}

.main-header.type2 nav ul.nav>li>a {
  position: relative;
  display: block;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: "ChungjuKimsaeng", sans-serif;
  color: black;
}

.main-header.type2 nav ul.nav>li>a::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 5px;
  background-color: var(--bs-success);
  bottom: 0;
  display: none;
}

.main-header.type2 nav ul.nav>li:hover>a {
  color: var(--bs-success) !important;
}

.main-header.type2 nav ul.nav>li:hover>a::after {
  display: block;
}

.main-header.type2 nav ul.nav>li a:hover {
  -webkit-transition: 0.2s;
  transition: 0.2s;
  color: var(--bs-success);
}

.main-header.type2 nav ul.nav>li .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 130%;
  height: 0;
  z-index: 1000;
  -webkit-transform: translateX(-35%);
  transform: translateX(-35%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  pointer-events: none;
  padding-top: 12px;
}

.main-header.type2 nav ul.nav>li .sub-menu li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: start;
  text-align: left;
  padding: 8px 0;
}

.main-header.type2 nav ul.nav>li .sub-menu.show {
  pointer-events: inherit;
  height: 145px;
}

/* 헤더2 끝*/


.quick-icon {
  max-width: 1240px;
}
.quick-icon .card {
  border-color: rgb(227, 227, 227);
  -webkit-box-shadow: 0 0 8px rgb(227, 227, 227);
          box-shadow: 0 0 8px rgb(227, 227, 227);
}
.quick-icon .card:nth-child(1) .icon-wrap, .quick-icon .card:nth-child(2) .icon-wrap {
  position: relative;
}
.quick-icon .card:nth-child(1) .icon-wrap img, .quick-icon .card:nth-child(2) .icon-wrap img {
  position: absolute;
  left: 53%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.quick-icon .card .icon-wrap {
  width: 100px;
  height: 100px;
  line-height: 100px;
}
.quick-icon .card .icon-wrap img {
  width: 50%;
  height: 50%;
}

.support-menu {
  max-width: 1240px;
}
.support-menu .sub-title-wrap a i {
  font-size: 2rem;
}
.support-menu .left {
  width: 50%;
}
.support-menu .left .notice {
  height: 100%;
}
.support-menu .left .notice .notice-wrap ul li {
  position: relative;
}
.support-menu .left .notice .notice-wrap ul li a {
  width: 95%;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 40px;
}
.support-menu .left .notice .notice-wrap ul li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 18px;
  height: 1px;
  background-color: black;
}
.support-menu .right {
  width: 50%;
}

/* 부고관리 */
input[type=date],
input[type=time] {
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--bs-border-color);
  border-radius: 5px;
}

input[type=date]::-webkit-calendar-picker-indicator,
input[type=time]::-webkit-calendar-picker-indicator {
  font-size: 1.25rem;
}

.channel-list ul li:not(:last-child) {
  position: relative;
}

.channel-list ul li:not(:last-child)::after {
  content: ">";
  position: absolute;
  font-weight: bold;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-border {
  border: 1px solid var(--bs-light);
  background-color: white;
}

.btn-border:hover {
  background-color: white;
  border: 1px solid var(--bs-light);
}

.btn-fill {
  border: none;
  background-color: var(--bs-success) !important;
  color: white !important;
}

.btn-fill:hover {
  background-color: var(--bs-success);
  color: white;
}

.btn-active {
  background-color: var(--bs-success);
  color: white;
}

.btn.accordion-button:hover {
  background-color: var(--bs-success);
  color: white;
}

.name-list::-webkit-scrollbar-thumb {
  background: var(--bs-success);
  /* 부트스트랩 primary 색상 */
  border-radius: 4px;
}

.name-list::-webkit-scrollbar-button {
  display: none;
}

.name-list::-webkit-scrollbar {
  height: 6px;
  /* 세로 스크롤 두께 대신 가로 */
}

.name-list::-webkit-scrollbar-track {
  background: rgb(226, 226, 226);
  /* 스크롤 트랙 색 */
  border-radius: 10px;
}

.img_box {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img_box>div {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.flex-c {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-check-input {
  margin-right: 0.5rem;
}

/* 체크박스, 라디오 박스 선택시 색 변경 */
.form-check-input:checked {
  background-color: var(--bs-success);
  border-color: var(--bs-success);
}

/*폼관련 태그를 눌렀을때 나오는 효과 색 변경*/
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: var(--bs-success);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-success-rgb), 0.25);
}

.category-list {
  width: 100%;
  background-color: white;
  position: absolute;
  border: 1px solid var(--bs-border-color);
  border-radius: 5px;
  z-index: 10;
}

.category-list li {
  cursor: pointer;
  padding: 5px 0 5px 10px;
}

.category-list li:hover {
  background-color: var(--bs-secondary);
}

.category-icon {
  position: relative;
}

.category-icon::before {
  content: "\ea4e";
  font-family: "remixicon";
  position: absolute;
  right: 10px;
  top: 50%;
  font-size: 20px;
  pointer-events: none;
}

.dropdown.category-icon::before {
  transform: translateY(-50%);
}

.row.gutter-0 {
  --bs-gutter-x: 0;
}

.card-header {
  background-color: var(--bs-secondary);
  color: var(--bs-primary);
  font-weight: bold;
  border: none;
  padding: 1rem;
}

.flatpickr-day.today:not(.selected):not(.startRange):not(.endRange) {
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

.clock-timepicker {
  display: block !important;
  width: 100% !important;
}

.clock-timepicker input.timeSelector {
  width: 100% !important;
  min-width: 0 !important;
}

.id-img-name {
  pointer-events: none !important;
}

.input-name:focus {
  box-shadow: none;
}

.dropdown-menu {
  --bs-dropdown-link-active-color: black;
  --bs-dropdown-link-active-bg: var(--bs-success);

}

/* 부고관리 끝 */