        :root {
            --color-default: #5892B3;
            --color-sec: #ece1cf;
            /*--font-serif: '微軟正黑體','Songti TC','Noto Serif TC', serif;*/
            /*--font-sans: '微軟正黑體','Songti TC','Noto Sans TC', sans-serif;*/
            --font-serif: 'Noto Serif TC', serif;
            --font-sans: 'Noto Sans TC', sans-serif;
        }

        .gutter {
            width: 3px !important;
        }

        html,
        body {
            width: 100%;
        }

        body {
            font-family: 'Noto Sans TC', sans-serif;
            overflow: hidden;
			font-display:swap;
        }

        #logo {
            font-family: 'Noto Serif TC','微軟正黑體', serif;
            font-weight: 600;
            color: var(--color-default) !important;
        }

        .split {
            height: calc(100vh - 56px);
            /*overflow-y: auto;*/
        }

        #main {
            display: flex;
            flex-direction: column;
            background: var(--bg-theme);
            color: var(--font-theme-color);
            overflow: auto;
        }

        #menu {
			/*
            overflow: auto;
			*/
        }
		
		.menu-subarea	{
			padding:0 !important;
		}
		#menu-search-result	{

		}
        #menu-search-result li {
            border-top: 1px solid var(--color-sec);
            padding-top: 0.5em;
            padding-bottom: 0.25em;
            text-align: justify;
        }

        #menu-search-result li:first-child {
            border: none;
        }

        #book-container {
			/*
            width: 80%;
            margin: 2em auto;
			*/
            line-height: 1.75em;
            text-align: justify;
            font-size: 18px;
            letter-spacing: 1pt;
			
			width: 100%;
			max-width: 100%;
			overflow: auto;
			display: block;
			padding: 2em 10% !important;
			box-sizing: border-box;
			overflow-x:hidden;
			height: calc(100vh - 78px);
        }

        #book-container p.text_paragraph {
            text-indent: 2em;
        }

        #book-title-area {
            background: var(--bg-theme);
            z-index: 0;
        }

        .kepan-head {
            font-size: 1.5em;
            font-weight: 600;
        }

        .tab-btn {
            font-size: 0.9em;
            text-align: center;
            color: var(--color-default);
            cursor: pointer;
            white-space: nowrap;
            padding: 0 8px;
        }

        .tab-btn.active {
            background: var(--color-sec);
            border-radius: 16px;
        }

        .navbar .btn,
        nav .btn {
            color: var(--color-default) !important;
        }

        .breadcrumb a {
            color: var(--color-default);
            text-decoration: none;
            font-size: 0.9em;
        }

        .color-ball {
            width: 40px;
            height: 40px;
            padding: 10px 4px;
            font-size: 10px;
            text-align: center;
            cursor: pointer;
            word-break: keep-all;
        }

        #theme-a {
            background: #fff;
            color: #000;
            border: 1px solid #ece1cf;
        }

        #theme-b {
            background: url(images/bg-yellow.png);
            color: #41464A;
            border: 1px solid #ece1cf;
        }

        #theme-c {
            background: rgb(228, 230, 226);
            color: #000;
        }

        #theme-d {
            background: #41464b;
            color: #e9ecef;
        }

        .font-btn {
            font-size: 1.6em;
            cursor: pointer;
        }

        #btn-serif {
            font-family: 'Noto Serif TC', serif;
        }

        #btn-sans {
            font-family: 'Noto Sans TC', sans-serif;
        }

        .menu-icon-checked {
            border-bottom: 3px solid var(--color-default);
        }

        #font-size-btn {
            align-items: flex-end;
            font-family: monospace;
        }

        #font-size-btn span {
            font-size: 1em;
            cursor: pointer;
        }

        #settings-menu {
            position: absolute;
            top: 80px;
            right: 30px;
            z-index: 30;
            height: 580px;
            width: 320px;
            padding: 1em;
            overflow: auto;
            display: none;
        }

        #settings-menu h6 {
            font-size: 0.9rem;
            color: var(--color-default);
            font-family: var(--font-sans);
            font-weight: 500;
        }

        a.pb {
            text-decoration: none;
        }

        .pb::after {
            content: "[жаЂ"attr(data-page) "]";
            color: #8EABE3;
            font-size: 12pt !important;
            display: block;
            text-indent: 0;
            clear: both;
            font-family: monospace, "Noto Serif TC";
        }

        #search-form-sidebar {
            /*display: none;*/
        }

        .card {
            cursor: pointer;
        }

        .card span {
            align-self: center;
        }
		

#search-result , #search-kwic	{
	height:calc(100vh - 160px);
	overflow:auto;
}


.search-result	{
	/*margin:10px 0;*/
}
.search-result > span:nth-child(1)	{
	font-size:18px;
	/*
	font-weight:bold;
	color:#7582B8;
	*/
	cursor:pointer;
}
.search-result .well	{
	display:none;
}
.search-result-items	{
	margin-bottom:25px;
}
.search-result-bookLevel-counter	{
	color:gray;
}


#refAndCopy_config	{
	text-align:left;
	overflow:auto;
}
#refAndCopy_config > div.radio,#refAndCopy_config > div.checkbox,#refAndCopy_config > div.diver	{
	float:left;
	margin-left:10px;
	margin-top: 0;
}


#book-container ul	{
	margin-left:1em;
	list-style-type:none;
}
#book-container ul > li	{
	text-indent:-2em;
}
#pb_container	{
	display:none;
	background-color:#E3EEF7;
	border:1px solid #428bca;
	position:absolute;
	height: 25px;
    padding:0 5px;
}
#collate-window	{
	position:absolute;
	left:0;
	top:0;
	display:none;
	width:450px;
	border-color:#D69595;
	padding: 2px 10px 10px;
}
#collate-window > div[role="collate-window-header"]	{
	cursor:move;
	text-align:center;
	font-size:14px;
}

p	{
	text-indent:2em;
}
div[class="jing"] > p:first-child	{
	text-indent:0em;
}

div.switch_file_area	{
	text-align:center;
	/*border-bottom:lightgray dotted 1px;*/
	margin:0.3em 0;
}
div.switch_file_area:nth-of-type(1)	{
	border-bottom:none;
	border-top:lightgray dotted 1px;
	visibility:hidden;	/* 2021-12-06:??????????? */
}
div.switch_file_area > button	{
	margin:0 0.5em;
}

.kwic_hl	{
	color:red;
	fill:red;
	font-weight:bold;
}
.kwic_hl_bk	{
	background-color:yellow;
}

#kwic_table > tbody > tr	{
	cursor:pointer;
}
#kwic_table td	{
	border-bottom:1px solid var(--color-sec);
}
#kwic_table td b	{
	color:#bb7d3e;
}

#feedback_modal table	{
	border:none;
	width:95%;
}

#feedback_modal table td:nth-child(1)	{
	width:150px;
	color:graytext;
	text-align:right;
}
#feedback_modal table td	{
	padding-bottom:15px;
}

.jstree-search-now	{	
	background-color:yellow;
}


#da-links-container	{
	float: right;
	font-size: 20px;
	margin-right: 35px;
	position: relative;
	top:-43px;
}

#tree-menu-main , #tree-menu-toc-vols , #tree-menu-toc-appendix	{
	overflow:auto;
	height:calc(100vh - 48px - 40px - 57px);
}


.main-showing #main{
	background: url(images/main.jpg) no-repeat center center; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
	/*height: fit-content;*/
}
.main-showing #book-container{
   padding: 0 !important;
 }
.main-showing #back-top-btn{
   display: none;
}
.main-showing #fullscreen-btn	{
	display:none;
}
.main-showing .switch_file_area	{
	display:none;
}

#back-top-btn	{
	position: fixed;
	right: 3em;
	border-radius: 30px;
	/*background-color: #B6E3FA;*/
	padding: 10px;
	/*box-shadow: 5px 5px 10px #ACCCDB;*/
	border-color: #79AFCA;
	bottom: 4em;
	color: gray;
	cursor: pointer;
	opacity:0.4;
	width:3em;
	height:3em;
}

#back-top-btn:hover	{
	opacity:1;
}

#book-container table	{
	border: 1px solid black;
}

#book-container table.table-striped tbody tr:nth-of-type(2n+1)	{
	background-color: rgba(0,0,0,.05);
}

#book-container table th , #book-container table td	{
	font-size:80%;
}

#book-container table th	{
	text-align:center;
}

#book-container svg	{	/* inline svg 樣式 */
	letter-spacing:0pt;
}

#book-container svg[id="04.097"] , #book-container svg[id="03.020"] , #book-container svg[id="03.021"]	{	/* 這三張圖太大，給 60%即可 */
	width:60%;
}

#book-container .kepan-head[data-head-level="1"]	{
	font-size:xx-large;
	text-indent:0;
}

.inline_img_head	{
	text-indent:0;
	width: 705px;
	display: block;
	margin: auto;
}

.inline_img_head::before	{
	border-left: 15px solid #a08340;
	margin-right:1rem;
	content:"";
	height: 17px;
	display: inline-block;	
}



.shrink_point	{
    animation-duration: 1.1s;
    animation-iteration-count: 3;
    animation-name: shrink_point;	
	
	display: inline-block;
    margin: 5px 0 0 -1em;
    width: 0.8em;
	color:white;
	float:left;
	height:0.8em;
	border-radius:50px;
	background-color:white;
}

@keyframes shrink_point {
0% {
    background-color:#40b3ff;
}
100% {
    background-color:white;
}
}

