@font-face {
    font-family: 'Noto Serif KR';
    src: url('/font/NotoSerifKR-Regular.woff2') format('woff2'),
        url('/font/NotoSerifKR-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans KR';
    src: url('/font/NotoSansKR-Regular.woff2') format('woff2'),
        url('/font/NotoSansKR-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HanaMinA';
    src: url('/font/HanaMinA.woff2') format('woff2'),
        url('/font/HanaMinA.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HanaMinB';
    src: url('/font/HanaMinB.woff2') format('woff2'),
        url('/font/HanaMinB.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body, html {
	font-family: '함초롬돋움', 'HCRDotum', 'Noto Sans KR', 'Noto Serif KR', 'HanaMinA', 'HanaMinB';
	margin: 0;
	padding: 0;
	height: 100%;
}

.body {
	color: #555;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.top {
	height: 50px;
	background-color: #0081e6;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 200;
	/* 스크롤바 숨기기 */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* Internet Explorer 10+ */
}
.top::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera*/
}

.middle {
	background-color: #ddd;
	height: 30px;
	position: fixed;
	top: 50px;
	left: 0;
	width: 100%;
	z-index: 100;
	/* 스크롤바 숨기기 */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* Internet Explorer 10+ */
}
.middle::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera*/
}

.bottom {
	flex: 1;
	background-color: #ffffff;
	padding-top: 80px;
  

	/* 스크롤바 숨기기 */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* Internet Explorer 10+ */
}
.bottom::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera*/
}

.cell > p > a {
	scroll-margin-top: 90px; /* 네비게이션 바 높이 +10만큼 여백 */
}

.container-fluid.navbar-custom {
	display: flex;
	align-items: center; 
	padding: 0px !important;
}

table, th, td {
	border: 1px solid grey;
	border-collapse: collapse;
	height: 1.8em;
	padding: 5px 5px;
	font-size: 0.9em;
}

table {
	width: 100%;
}

p {
	line-height: 1.6em;
	margin-bottom: 8px;
}

.app-name {
	padding-top: 35px;
	text-align: center;
}

.image > a > img {
    width: 100px;
    height: 100px;
}

.align-center {
	text-align: center;
}

.icon-div {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 50px;
	height: 50px;
}

.center-div {
	flex-grow: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 50px;
}

.index-close > img,
.navbar-icon > img {
	width: 35px;
	height: 35px;
}

.navbar-logo > a > img {
	width: 170px;
	height: 20px;
}

.home-logo > a > img {
    max-width: 70%; /* 이미지의 최대 너비를 부모 요소의 너비에 맞춤 */
    height: auto; /* 이미지의 높이를 자동으로 조정하여 원본 비율을 유지 */
    display: block; /* 이미지를 블록 요소로 설정하여 중앙 정렬 가능 */
    margin-left: auto; /* 이미지의 좌우 여백을 자동으로 설정하여 중앙 정렬 */
    margin-right: auto; /* 이미지의 좌우 여백을 자동으로 설정하여 중앙 정렬 */
	margin-top: 30px
}

.home-desc {
	text-align: center;
}

.hashtag {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}

.hashtag li {
	display: inline-block;
	border: 1px solid #32a0e6;
	border-radius: 30px;
	color: rgba(50, 160, 230, 1);
	font-size: 0.9rem;
	line-height: 18px;
	padding: 5px 12px;
	margin: 5px;
}

.hashtag li a {
	color: rgba(50, 160, 230, 1);
	text-decoration: none;
}

.hashtag li a:hover {
	text-decoration: none;
}

.docu {
	text-align: justify;
}

.licence_txt h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #23ffc2; /* 라인의 색상을 설정합니다. */
    margin-top: 10px; /* 라인과 텍스트 사이의 간격을 조절합니다. */
  }

  
  .basic_txt h3::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #23ffc2; /* 라인의 색상을 설정합니다. */
    margin-top: 10px; /* 라인과 텍스트 사이의 간격을 조절합니다. */
  }

.pdf-info-box {
	border: 2px solid #ccc; /* 회색 솔리드 테두리 */
	border-radius: 8px; /* 모서리 둥글게 */
	padding: 20px; /* 내부 여백 */
	position: relative; /* 상단 선 위치 조정을 위해 */
	margin-bottom: 30px;
}

.pdf-info-box::before {
	content: "원문강독편 PDF";
	position: absolute;
	top: -15px; /* 상단 선 위치 조정 */
	left: 50%;
	transform: translateX(-50%); /* 가운데 정렬 */
	background-color: #fff; /* 배경색 */
	padding: 0 10px; /* 좌우 여백 */
	font-weight: bold;
}

.book-info-box {
	border: 2px solid #ccc; /* 회색 솔리드 테두리 */
	border-radius: 8px; /* 모서리 둥글게 */
	padding: 20px; /* 내부 여백 */
	position: relative; /* 상단 선 위치 조정을 위해 */
	margin-bottom: 30px;
}

.book-info-box::before {
	content: "서적 정보";
	position: absolute;
	top: -15px; /* 상단 선 위치 조정 */
	left: 50%;
	transform: translateX(-50%); /* 가운데 정렬 */
	background-color: #fff; /* 배경색 */
	padding: 0 10px; /* 좌우 여백 */
	font-weight: bold;
}

.book-info-list {
	padding: 3px;
	margin: 10px;
}

.book-info-list li {
	margin-bottom: 0.25em;
	font-size: 0.8em;
}

.book-navi {
	overflow: hidden;
	background-color: #e9ecef;
	height: 35px;
	width: 100%;
	font-size: 16px;
}

.book-navi-img {
	width: 20px;
	height: 20px;
}

a.text-decoration-none {
	color: #555;
}

.EN {
	font-family: math;
}

.OR {
	font-size: 1.15em; /* 한자 원문은 살짝 크게 */
}

.body {
	font-size: 20px; /* 기준 사이즈로 사용 */
}

.container {
	max-width: 900px;
}

.cell {
	margin-bottom: 1em;
	text-align: justify;
}

.cell > p.EN {
	hyphens: auto;
}

.ref-sm {
	font-size: 5px;
	color: rgb(177, 175, 175);
}

.ref {
	font-size: 0.8em;
	color: #d89b18;
}

.search-ref {
	font-size: 1.15em;
	padding-top: 0.9em;
	/* content: "▶"; */
}

.AA {
	text-align: center;
	font-size: 1.8em;
}

.XX {
	text-align: center;
	color: #d89b18;
}

.ZZ, .Z0, .Z1, .Z2, .Z3, .SS, .S0, .S1, .S2, .S3 {
	border-left: 2px solid #b3b2b2;
}

.Z1, .S1 {
	padding-left: 40px;
}

.Z2, .S2 {
	padding-left: 80px;
}

.Z3, .S3 {
	padding-left: 120px;
}

.OO, .BB {
	font-weight: bold;
	padding-top: 30px;
	text-align: center;
	font-size: 1.6em;
}

.CC, .CP, .CK, .CH {
	padding-top: 30px;
	font-size: 1.4em;
}

.DD, .DP, .DK, .DH {
	padding-top: 60px;
	padding-left: 40px;
	font-size: 1.2em;
}

.EE, .EP, .EK, .EH {
	padding-top: 60px;
	padding-left: 80px;
	font-size: 1.1em;
}

.FF, .FP, .FK, .FH {
	padding-top: 60px;
	padding-left: 100px;
	font-size: 1em;
}

.badge {
    color: #FFFFFF;
    font-size: 0.5em;
    /* float: right; */
	padding: 1px 5px 3px 5px;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    -o-border-radius: 1px;
    border-radius: 2px;
}

.badge.color-p, .color-p {
    background-color: #a9d0f8 !important;
}

.badge.color-h, .color-h {
    background-color: #f4b7a2 !important;
}

.badge.color-k, .color-k {
    background-color: #e1d93e !important;
}

.badge.color-FN {
    background-color: #cac8c9 !important;
	float: none;
	font-size: 0.7em;
}

.outline {
	/* float: right; */
	color: #e3a11d;
    font-size: 0.8em;
}

.p_num {
	color: #e3a11d;
    font-size: 0.8em;
	margin-right: 0.2em;
}

/* 하단 공유, 오류신고 */
.active-cell {
	background-color: #F0F5FD;
	border-left: 2px solid #2D73E2;
	animation: floating-blink 2s infinite;
}
.floating-img-button {
	display: none;
	position: fixed;
	bottom: 20px; /* 화면 아래에서의 위치를 조정할 수 있습니다 */
	right: 20px; /* 화면 오른쪽에서의 위치를 조정할 수 있습니다 */
	z-index: 1000; /* 다른 요소들 위에 표시되도록 z-index 설정 */
}
.floating-img-button img {
	width: 50px; /* 버튼 크기, 필요에 따라 조정 가능 */
	margin: 10px; /* 버튼 간의 간격 */
	cursor: pointer;
	border-radius: 50%;
	border: 2px solid #0081e6;
	animation: floating-blink 2s infinite;
}
@keyframes floating-blink {
	0% {
	  border-color: transparent;
	}
	50% {
	  border-color: #0081e6; /* 혹은 원하는 색상 */
	}
	100% {
	  border-color: transparent;
	}
}

/* 목차 마우스 오버 시 밑줄 */
/* .toc-p:hover {
	text-decoration: underline;
	text-decoration-color: #0081e6;
  } */
  

/* 음각 */
ng {
	display: inline-block;
	padding: 4px;
	line-height: 1;
	/* color: #fff; */
	border-radius: 8px;
	background: #e2e1e1;
}

/* 양각 */
ps {
	border-radius: 8px;
	border: 1px solid gray;
}

/* 임의 제목 */
ip {
	color: rgb(201, 199, 199);
	/* text-decoration: underline wavy;
	text-decoration-thickness: 1px; */
}

sup {
	font-size: clamp(10px, 0.85em, 16px);
	margin-right: 1.5px;
	/* margin-left: 3px; */
}

/* 소자 */
small {
	margin-right: 3px;
	margin-left: 3px;
	font-size: 0.8em;
	color: rgb(177, 175, 175);
}

.small {
	font-size: 0.8em;
	color: rgb(177, 175, 175);
}

.grey{
	color: rgb(177, 175, 175);
}

.carousel-control-prev-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff0000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E") !important;
   }
   
.carousel-control-next-icon {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ff0000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E") !important;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
	width: 25px;
	height: 25px;
}

.highlight {
	color: #cb1c1c;
	background-color: yellow;
}

.collapse-title {
	font-size: 0.7em;
}

.footnote-box {
	font-size: clamp(10px, 0.75em, 18px); 
	font-weight: normal;
	color: #555;
	background-color: #f8f9fa;
	margin-left: 3vw;
	text-align: left;
}

.card-body {
    padding: 0.3rem !important;
}

.OR.FN {
	font-size: 1em; 
}

/* 주석 대상 */
.footnote-src {
	font-weight: bold;
}

.footnote-src::after {
	content: "：";
}

/* 현재 목차 표시 */
.currentTOC {
	font-weight: bold;
	border-bottom: 2px solid #0081e6;
	animation: floating-blink 2s infinite;
}

.search-nav-input {
    flex: 1; /* 검색 입력란이 남은 공간을 모두 차지하도록 설정합니다. */
    max-width: 100%; /* 최대 너비를 100%로 설정하여 부모 요소의 크기에 맞게 조정됩니다. */
	background-color: #eefff8 !important;
	border-radius: 5px;
	outline-color: #eefff8;
	border-color: #eefff8;
	border-style: solid;
	background: url("../image/03_01.png") no-repeat scroll 8px center;
	background-size: 18px 18px;
	padding-left:35px;
	font-size: 20px;
}

.search-input {
	max-width: 55vw;
	background-color: #eefff8 !important;
	border-radius: 5px;
	outline-color: #eefff8;
	border-color: #23ffc2;
	border-style: solid;
	background: url("../image/03_01.png") no-repeat scroll 8px center;
	background-size: 18px 18px;
	padding-left: 35px;
	font-size: 20px;
}  

input::placeholder { 
	text-align: center; 
}

.home-logo {
	text-align: center; /* 이미지가 부모 요소의 가로 중앙에 위치하도록 설정 */
}

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

/* Modal Wrapper */
#modal-wrapper {
	display: none;
	position: fixed;
	z-index: 200;
	left: 0;
	top: 0;
	width: 85%;
	max-width: 700px;
	height: 100%;
	overflow: auto;
	background-color: #f8f8f8;
	animation: slideInRight 0.3s ease-in-out;
}

#modal-wrapper-menu {
	display: none;
	position: fixed;
	z-index: 200;
	right: 0;
	top: 0;
	width: 210px;
	height: 586px;
	font-size: 18px;
	border-bottom-left-radius: 10px;
	border-top-left-radius: 10px;
	overflow: auto;
	background-color: #f8f8f8;
	/* 스크롤바 숨기기 */
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* Internet Explorer 10+ */
}
#modal-wrapper-menu::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera*/
}

/* 모달 열기 애니메이션 */
#modal-wrapper-menu.open {
	display: block;
	animation: slideInLeft 0.1s ease-in-out forwards;
}

/* 모달 닫기 애니메이션 */
#modal-wrapper-menu.close {
	animation: slideInLeftClose 0.1s ease-in-out forwards;
}
  
@keyframes slideInRight {
	from {transform: translateX(-100%);}
	to {transform: translateX(0);}
}
@keyframes slideInRightClose {
	from {transform: translateX(0);}
	to {transform: translateX(-100%);}
}
@keyframes slideInLeft {
	from {transform: translateX(100%);}
	to {transform: translateX(0);}
}
@keyframes slideInLeftClose {
	from {transform: translateX(0);}
	to {transform: translateX(100%);}
}
@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.modal-menu {
	position: fixed;
	right: 0;
	left: 0;
	margin-left: 10px;
	margin-right: 10px;
  }
  
.sticky {
	position: sticky; 
	top: 0;
	left: 0;
	width: 100%; /* 전체 너비를 차지하도록 설정 */
	max-width: 100%; /* 모달의 최대 너비와 일치하도록 설정 */
	background-color: #f8f8f8;
	z-index: 100;
}

.modal-header {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	height: 50px;
	padding: 0;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 7.5px;
	border: none;
	background-color: #f8f8f8;
  }
.toc-header-icon {
	margin-right: 20px;
}
.modal-title {
	font-size: 20px;
}
.modal-content {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.modal-body {
	flex: 1;
	overflow-x: auto;
	overflow-y: auto;
	padding: 0;
	padding-top: 5px;
}

.toc-main {
	overflow-x: auto;
    white-space: nowrap;
}

.toc-body {
	padding-left: 15px;
	margin-top: 20px;
	display: inline-block;
    width: auto; /* 콘텐츠의 실제 폭에 맞게 조절 */
}
.modal-content {
	background-color: #f8f8f8;
	border: none;
}
.menu-item {
	padding-left: 10px;
	padding-bottom: 12.5px;
	padding-top: 10px;
	border-bottom: 0.5px solid #b3b2b2;
	color: #555;
}
span.square > img {
	width: 35px;
}
span.wide > img {
	width: 75px;
}
.modal-close, .modal-close-menu {
	margin-left: auto;
	margin-right: -10px; /* 오른쪽으로 5px 이동시킵니다. */
	cursor: pointer;
	
}
.doc {
    list-style-type: none; /* 글머리표 없앰 */
    padding: 0; /* padding 초기화 */
    margin: 0; /* margin 초기화 */
	/* line-height: 20px; */
}
.doc li a {
	text-decoration: none;
	color: #555;
	line-height: 35px;
}
  /* Overlay */
  #overlay, #overlay-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 190;
	display: none;
  }

  .btn-link {
    width: 30px;
    height: 30px;
	margin-top: -15px;
	margin-left: 10px;
  }

.tocC {
    display: none;
}

h2.toc {
	font-size: 1.5em;
	margin-top: 3em;
}

h3.toc {
	font-size: 1.1em;
	line-height: 1.3em;
}


h4.toc {
	font-size: 1em;
	margin-left: 1em;
	line-height: 1.3em;
}

.navbar-custom {
	/* position: relative; */
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

.search-layer {
	display: none;
	position: fixed;
	top: 50px;
	width: 100%;
	background-color: #eefff8;
	left: 0;
	right: 0;
	padding-top: 1px;
	padding-bottom: 1px;
	border-bottom: 2px solid #23ffc2;
}

.search-nav-input:focus {
    outline: none; /* 선택됐을 때 테두리 제거 */
}

.search-input:focus {
    outline: none; /* 선택됐을 때 테두리 제거 */
}

.line-below {
    position: relative;
}

.line-below::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px; /* 라인의 높이 */
    background-color: #ccc; /* 라인의 색상 */
    position: absolute;
    bottom: -2px; /* 버튼 아래에 10px 떨어져서 라인이 그려집니다 */
    left: 0;
}

/* 요소 감추기 */
.hidden {
	display: none;
}

.greybox {
	background:#f9f9f9;
	font-size:1.063em;
	margin-bottom: 15px;
	padding: 10px 10px;
	border-radius: 10px;
}

/* 저작권 페이지 보이기 감추기 토글 */
#spread2, #spread1 {
	display: none;
}

.btn.btn-link.list {
	width: 95px;
	margin: 0;
}

.toc-title {
	font-size: xx-large;
}

/* 저작권 CC4.0 이미지 */
.cc40 {
	text-align: center;
	margin: 20px;
}

/* 열람 화면 최하단 prev, next 버튼 */
.bottom-button {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.prev, .next {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fixed-button {
	text-decoration: none;
	width: 100%;
	height: 50px; 
}

a, .clickable {
    display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

a:active, .clickable:active, a.active, .clickable.active {
    transform: scale(0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 검색 결과 본문, 제목 스티키 */
.sticky-container {
	position: sticky;
	top: -70px;
	background-color: white;
	z-index: 10;
	width: 100%;
}

.search-class {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
	border-radius: 5px;
	margin-bottom: 15px;
}

.toggleButton {
    font-size: 0.6em;
    padding: 5px 5px;
    background-color: #f0f0f0;
    border: 1px solid #306eff;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 10px;
	margin-right: 10px;
}

.toggleButton:hover {
    background-color: #e0e0e0;
}

.search-class {
    background: #f1f1f1;
    font-size: 1.15em;
    padding: 10px 0 10px 20px;
	margin-top: 55px;
    font-weight: bold;
}

/* 스크롤 컨테이너에 대한 스타일 */
.search-body {
	overflow-y: auto;
	height: 100vh; /* 또는 원하는 높이 */
}

/* 콘텐츠 사이의 간격 */
.sticky-container + .cell {
	margin-top: 20px;
}

.circle-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: grey;
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* 검색결과 자세히, 간단히 */
.cell {
	position: relative;
	cursor: pointer;
  }
  
  .cell input[type="checkbox"] {
	display: none;
  }
  
  .cell label {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
  }
  
  .cell p {
	transition: all 0.3s ease;
  }
  
  .cell input[type="checkbox"]:checked ~ p {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
  }

.img-border {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 5px;
}

.img-center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* 다크 모드 스타일 */
html.dark-mode {
	background-color: #1a1a1a;
	color: #e0e0e0;
}

html.dark-mode body {
	background-color: #1a1a1a;
	color: #e0e0e0;
}

html.dark-mode .body {
	color: #e0e0e0;
	background-color: #1a1a1a;
}

html.dark-mode .bottom {
	background-color: #1a1a1a;
}

html.dark-mode .middle {
	background-color: #2a2a2a;
}

html.dark-mode .cell {
	color: #e0e0e0;
}

html.dark-mode .OR {
	color: #c0c0c0;
}

html.dark-mode .KO {
	color: #e0e0e0;
}

html.dark-mode .EN {
	color: #b0b0b0;
}

html.dark-mode .footnote-box {
	background-color: #2a2a2a;
	border-color: #444;
}

html.dark-mode .PP a {
	color: #6bb6ff;
}

html.dark-mode .highlight {
	background-color: #4a4a00;
	color: #ffff88;
}

html.dark-mode .modal-menu {
	background-color: #2a2a2a;
	color: #e0e0e0;
}

html.dark-mode .modal-toc {
	background-color: #2a2a2a;
	color: #e0e0e0;
}

html.dark-mode #modal-wrapper-menu {
	background-color: #2a2a2a;
	color: #e0e0e0;
}

html.dark-mode .modal-content {
	background-color: #2a2a2a;
	color: #e0e0e0;
}

html.dark-mode .modal-header {
	background-color: #2a2a2a;
	color: #e0e0e0;
}

html.dark-mode .menu-item {
	border-color: #444;
	color: #e0e0e0;
}

html.dark-mode .modal-body {
	background-color: #2a2a2a;
	color: #e0e0e0;
}

html.dark-mode .doc li a {
	color: #6bb6ff;
}

html.dark-mode .modal-close-menu img,
html.dark-mode .menu-item img {
	filter: invert(1) brightness(0.8);
}

html.dark-mode .active-cell {
	background-color: #2a3a4a;
	border-left-color: #6bb6ff;
}

html.dark-mode .greybox {
	background-color: #333;
	color: #e0e0e0;
}

html.dark-mode .toc a {
	color: #6bb6ff;
}

html.dark-mode .currentTOC {
	background-color: #333;
	color: #fff;
}

html.dark-mode .book-navi {
	background-color: #2a2a2a;
	color: #e0e0e0;
}

html.dark-mode .book-navi-img {
	filter: invert(1) brightness(0.9);
}

html.dark-mode .badge.color-FN {
	background-color: #4a4a4a !important;
	color: #c0c0c0;
}

html.dark-mode .badge.color-p,
html.dark-mode .color-p {
	background-color: #3a5a7a !important;
}

html.dark-mode .badge.color-h,
html.dark-mode .color-h {
	background-color: #6a4a3a !important;
}

html.dark-mode .badge.color-k,
html.dark-mode .color-k {
	background-color: #6a6a2a !important;
}

html.dark-mode .sticky-container {
	background-color: #1a1a1a;
}

html.dark-mode .search-class {
	background-color: #2a2a2a;
	color: #e0e0e0;
}

html.dark-mode .app-name img {
	filter: invert(1) brightness(0.9);
}

html.dark-mode .home-logo img {
	filter: invert(1) brightness(0.9);
}

html.dark-mode .hashtag li {
	border-color: #6bb6ff;
	color: #6bb6ff;
}

html.dark-mode .hashtag li a {
	color: #6bb6ff;
	text-decoration: none;
}

html.dark-mode .hashtag li a:hover {
	text-decoration: none;
}

html.dark-mode .book-info-box {
	border-color: #555;
}

html.dark-mode .book-info-box::before {
	background-color: #1a1a1a;
	color: #e0e0e0;
}

html.dark-mode .pdf-info-box {
	border-color: #555;
}

html.dark-mode .pdf-info-box::before {
	background-color: #1a1a1a;
	color: #e0e0e0;
}

html.dark-mode h4 img[src*="project.svg"] {
	filter: invert(1) brightness(0.9);
}

html.dark-mode input[type="text"],
html.dark-mode input[type="search"] {
	background-color: #333;
	color: #e0e0e0;
	border-color: #555;
}

html.dark-mode .search-layer {
	background-color: #2a2a2a;
}

html.dark-mode .img-border {
	border-color: #444;
}

html.dark-mode a {
	color: #6bb6ff;
}

html.dark-mode .line-below {
	border-bottom-color: #444;
}

/* 활성화된 테마 버튼 스타일 */
.active-theme {
	opacity: 1 !important;
	box-shadow: 0 0 10px rgba(0, 129, 230, 0.5);
	border: 2px solid #0081e6;
	border-radius: 4px;
}

.light-mode-btn,
.dark-mode-btn {
	opacity: 0.5;
	transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.light-mode-btn:hover,
.dark-mode-btn:hover {
	opacity: 0.8;
}