/* 
    Created on : 2023年10月3日, 上午7:24:46
    Author     : FA
*/

/*
    字體檔
*/
@font-face {
    font-family: wingdings;
    src: url(wingding.ttf);
}

:root {
  --p5em-left: 7em;
  --f11-size16-width: 44em;
}

/*
   通用
*/
html{
    scroll-padding-top: 4rem;
}
body{
    padding:0;
}
section{
    margin: auto;
}
.fl1{
    display: flex;
    justify-content:flex-start;
}
.sm1{
    font-family: 'DFKai-sb',sans-serif,wingdings;
    text-align:left;
    font-size:13px;
    font-weight: 700;
    flex: 0 0 87px;
    margin-right: 2em;
    line-height: 2em;
    padding-top: 0.5em;
}
.sm1.vertical1{
    vertical-align: -1px;
}
.sm1.title{
    text-align: left;
}
.paragraph{
    font-family: 'Noto Sans TC','Microsoft JhengHei',sans-serif;
    font-size:18px;
    line-height: 2em;
    width: 100%;
    font-weight: 400;
    word-break:break-all;
}
.paragraph.size14{
    font-size:14px;
}
.paragraph .size14{
    font-size:14px;
}
.paragraph.size16{
    font-size:16px;
}
.paragraph.sutra{
    font-size:20px;
}
.fl1:has(.sutra) {
    margin: 1.5em auto;
}
.topic{
	text-align:center;
    font-size:32px;
	letter-spacing: 1em;
}
.paragraph.topic{
    font-size:32px;
	padding-left: 3em;
	letter-spacing: 1em;
}
.fl1:has(.topic) {
    margin: 1.5em auto;
}
.paragraph.size26{
    font-size:26px;
}
.s_color_1{
    color:rgb(0,51,204);
    font-weight:900;
}
.paragraph.itsh3{
    height:3em;
}

/*loading animation*/
.modal-header h5{
    display:none;
}
.coverbk{
	position: fixed;
    width: 100vw;
    height: 100vh;
	top:0;
	left:0;
	background-color:#fff;
    z-index: 8;
}
.coverall {
    position: fixed;
    width: 50px;
    height: 50px;
    z-index: 9;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.coverall.out1 {
    animation: out1 1s forwards linear;
}
.loader {
    position: absolute;
    margin: auto;
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 8px solid lightblue;
    border-right-color: orange;
    animation: l2 1s infinite linear;
}
@keyframes l2 {
    to{
        transform: rotate(1turn)
    }
}
@keyframes out1 {
    0% {
        opacity:1
    }
    100% {
        opacity:0
    }
    100% {
        display:"none"
    }
}


/*
   首頁縮排
*/
.indent_2{
    text-indent: 2em;
}
.indent_3{
    text-indent: 4em;
}
.indent_4{
    text-indent: 3em;
}
.indent_5{
    text-indent: 5em;
}
.ralign{
    text-align:right;
}
.lalign{
    text-align:left;
}
.mix100{
	margin-left: 1em;
	text-indent: -1em;
}
.mix200{
	margin-left: 2em;
}
.mix400{
	margin-left: 4em;
}
.fl2:has(.mix100) {
  margin-top: 2em;
}
.fl2:has(.sutra) {
  margin-top: 2em;
}
.ml1{
	margin-left: 1em;
}
.ml2{
	margin-left: 1em;
}
/*

*/
.p5em{
    padding-left: var(--p5em-left);
}

/*
   字寬
*/
.w800{
    font-weight: 800;
}
.w600{
    font-weight: 600;
}
.w500{
    font-weight: 500;
}
.w400{
    font-weight: 400;
}
/*
   底線
*/
.underline{
    box-shadow: 0 3px #ff0000;
    /*    text-decoration: underline;
        text-decoration-color: rgba(255,51,0,1);
        text-decoration-thickness: 3px; */
}

/*
* modal bs
*/
.spinner-border.text-primary{
    opacity: 0;
}
.donation_body .m3{
    /*    display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;*/
}
/*.donation_body .s1,.donation_body .s3{
    display: none;
    opacity: 0;
}*/
.selectbox {
    padding: 1.7em 2em;
    background: blue;
    margin: 2em 2em 3em 2em;
    color: #fff;
    font-size: 20px;
    border-radius: 5px 5px 0 0;
    border-bottom: 5px solid #333;
    text-align: center;
}


.selectbox {
    background: rgba(0,0,255,0.8);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}

.selectbox:hover {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    animation-name: example;
    animation-duration: 0.2s;
    border-left: 8px solid red;
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
}

.donation_body .m2 > div{
    /*border: 1px solid pink;*/
    display: inline-block;
    margin: 1.5em 1.5em;
}
.donation_body .m2 > h5,.donation_body .m3 > h5{
    margin-bottom: 3em;
    text-align: center;
}

[class^='color--'] {
    cursor: pointer;
}

.color--1 .triangle {
    width: 100px;
    /* border-top: 100px solid #FFF; */
    /* border-right: 100px solid #333; */
    background: #333;
    color: #fff;
    line-height: 100px;
    text-align: center;
    font-size: 2em;
}
.color--2 .triangle {
    width: 100px;
    background: #FDE6E0;
    color: #000;
    line-height: 100px;
    text-align: center;
    font-size: 2em;
}
.color--3 .triangle {
    width: 100px;
    background: #E3EDCD;
    color: #000;
    line-height: 100px;
    text-align: center;
    font-size: 2em;
}
.color--4 .triangle {
    width: 100px;
    background: #CCE8CF;
    color: #000;
    line-height: 100px;
    text-align: center;
    font-size: 2em;
}
.color--default .triangle {
    border: 1px solid #999;
    width: 100px;
    background: #f5f5f5;
    color: #000;
    line-height: 100px;
    text-align: center;
    font-size: 2em;
}
.txtbox {
    margin-left: 15%;
    margin-right: 15%;
    display: flex !important;
    justify-content: center;
    gap: 3em;
    cursor: pointer;
    margin: 1.5em 4em !important;
    /*background: #ddd;*/
    align-items: end;
    padding: 10px 0;
    transition: 0.5s;
    background: linear-gradient(90deg, #ffecd2, #fcb69f 51%, #ffecd2) var(--x, 0)/ 200%;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
}
.txtbox:hover{
    --x: 100%;
}
.txtbox .pic img{
    width:60px;
}
.txtbox .txt{
    font-size: 2em;
}
.textselect_body .txtbox .pic img{
    width:80px;
}
.textselect_body .txtbox .txt{
    font-size: 2em;
	line-height:2.2em;
}

.sm1.lockselect{
    user-select: none;
}
.paragraph.lockselect{
    user-select: none;
}

.catalog{
    font-size: 20px;
    background: rgb(255, 255, 255);
    color: rgb(76, 96, 130);
    letter-spacing: 0.025rem;
    line-height: 2.5;
    border-bottom: 0.0625rem solid rgb(223, 232, 247);
    cursor: pointer;
    transition: color 0.1s linear;
}
.catalog:hover{
    color: rgb(0, 0, 0);
}

/*目錄縮排*/
.indent1{
	margin-left:0.5em;
}
.indent2{
	margin-left:1em;
}
.indent3{
	margin-left:1.5em;
}
.indent4{
	margin-left:2em;
}

.fl1.page{
    visibility: hidden;
    display:flex;
    height: 0;
    line-height: 3em;
    justify-content: center;
    text-decoration:none;
}
.fl1.page.showpage{
    visibility:visible;
    height: 42px;
}
.fl1.page:hover{
    color:gray;
}

.fl2{
    max-width:96%;
    margin: auto;
    display: flex;
    justify-content: center;
}
.fl2.booktitle{
    flex-direction: column;
    text-align:center;
    width: 315px;
}
.fl2.booktitle h1{
    font-size: 42px;
    letter-spacing: 10px;
}
.fl2.booktitle table{
    width: 200px;
    margin: auto;
}
.fl2.page{
    visibility: hidden;
    display:flex;
    height: 0;
    line-height: 3em;
    justify-content: center;
    text-decoration:none;
}
.fl2.page.showpage{
    visibility:visible;
    height: 42px;
}
.fl2.page:hover{
    color:gray;
}
.fl2 img{
    background: #f5f5f5;
    max-width:80%;
}
.page{
	user-select:none;
	cursor:auto;
}

.end1{
    padding-top:60px;
}
.end2{
    padding-top:300px;
}

.fl2.fancy {
	padding: 1em 0;
}
.fl2.fancy a {
	text-align: center;
}
.fl2.fancy img{
	background: #f5f5f5;
    max-width:80%;
}
.fancybox-image{
	background-color: #f5f5f5;
}

@keyframes example {
    0%   {
        border-left: 2px solid #ffffff;
    }
    25%  {
        border-left: 3px solid #ffe6e6;
    }
    50%  {
        border-left: 4px solid #ff8080;
    }
    100% {
        border-left: 5px solid #ff0000;
    }
}

/*
*
*/
body {

}

.searchbar{
    display: flex;
    position: fixed;
    justify-content: center;
    bottom:10px;
}
.searchbar>div{
    width:270px;
    border:3px #0d6efd solid;
    margin-right: 0.3em;
}
.searchbar input{
    border-radius: none;
}
.arrow{
    display: flex;
    background: #fff;
    position: relative;
}
.findprev,.findnext{
    line-height: 38px;
    cursor: pointer;
    padding:0 7px;
    /*display: none;*/
}
.findprev:hover,.findnext:hover{
    background-color: #ffcb00;
}
.findprev img,.findnext img{
    width:15px;
    vertical-align: middle;
}
.searchbar article {
	position: absolute;
	top: -23px;
	right: 0;
	color: #000;
	font-weight: 600;
	background: #5499fc;
	line-height: 1;
	padding: 2px 2px 0px 2px;
	cursor:default;
}
.findprev,.findnext,.findindex{
    display: none;
}

.lock_select{
	border: 2px black solid;
}

/*
    RWD
*/
@media screen and (max-width:400px){
    .menuwrap{
        transform: scale(0.8);
    }
    #plbTopMenu .menuwrap > ul {
        justify-content: center;
    }
    #plbTopMenu,#plbTopMenu .menuwrap > ul{
        padding-left: 0;
    }
}
@media screen and (max-width:500px){
    .txtbox {
        margin: 1em 2em !important;
    }
	.paragraph.topic{
		font-size: 32px;
		letter-spacing: 0.5em;
		padding-left:0;
	}
}
@media screen and (min-width:600px){
    .paragraph{
        font-size:20px;
    }
    .paragraph.sutra{
        font-size:24px;
        width: 32em;
    }
    .sm1{
        flex: 0 0 135px;
        font-size:16px;

    }
}
@media screen and (min-width:950px){
    body{
        /*padding:3em;*/
    }
    .paragraph{
        width: 35em;
    }
    .paragraph.p5em{
        width: var(--f11-size16-width);
    }
    section{
        width:950px;
    }
}
@media (max-width: 1000px){
    .selectbox {
        margin: 1em 0em 0em 0em;
    }
	.mix400{
		margin-left: 2em;
	}
}
@media screen and (max-width:2000px){
    .fl1.page{
        font-size:14px;
    }
}
