body {
    font-family: 新細明體;
    font-size: 16px;
    margin: auto;
    line-height: 1.5;
    background-color: #FFF;
}

#container {
    margin: auto;
    width: 900px;
    background-color: #FFF;
    border: 1px solid #808080;
}

#topbody {
    height: 30px;
    width: 840px;
    margin: auto;
    background: white;
    margin-bottom: 1px;
    padding-right: 10px;
}

#topbody img {
    float: left;
    margin-top: 8px;
    margin-left: 5px;
    padding-top: 10px;
}

#topmenu {
    float: right;
    padding-top: 13px;
}

#header {
    width: 850px;
    height: 120px;
    margin: auto;
    margin-bottom: 5px;
    padding-top: 20px;
}

#mainContent {
    width: 850px;
    margin: auto;
    overflow: auto;
    margin-top: 5px;
    margin-bottom: 0px;
}

#sidebar {
    float: left;
    width: 170px;
    margin-right: 10px;
    background: #FFF;
    padding-top: 20px;
}

#content {
    float: right;
    width: calc(100% - 200px);
    min-height: 650px;
    margin-top: 5px;
    padding-left: 20px;
    background: #ECEADB;
    line-height: 1em;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    font-size: 1em;
}

#content::before,
#content::after {
    content: "";
    clear: both;
    display: table;
}


/*content_bar為標題預留設定*/

.content_bar {
    width: 95%;
    margin-top: 10px;
    margin-bottom: 10px;
    background: #ECEADB;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
}

.content_bar h1 {
    font-size: 1.2em;
    line-height: 1em;
    padding-top: 0.6em;
    margin: 10px 5px 10px 10px;
    color: #000000;
}

.textSizeBox {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.textSizeBox .btnT {
    margin: 0.3rem;
    padding: 0.1rem 0.5rem;
    background: #666;
    color: #fff;
    cursor: pointer;
}

h2 {
    font-size: 1.2em;
    margin-top: 0;
}

h3 {
    margin: 5px 10px 5px 30px;
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 1em;
}

h4 {
    font-size: 1em;
    margin-top: 0;
    text-indent: 4em;
}

.section_text {
    margin-right: 25px;
    margin-bottom: 20px;
    margin-top: 10px;
    line-height: 1.8em;
    font-size: 1em;
    color: #404040;
    overflow: hidden;
}

.section_text li {
    list-style-type: none;
}

.section_text dt {
    text-indent: 2em;
}

.section_text dd {
    text-indent: 1.5em;
}

.section_text p {
    margin-right: 25px;
    margin-bottom: 20px;
    line-height: 1.8em;
    text-indent: 2em;
    font-size: 1em;
    color: #404040;
    overflow: hidden;
}

.section_prayer_text p {
    margin-left: 85px;
    margin-bottom: 20px;
    font-family: 微軟正黑體;
    line-height: 1.6em;
    text-indent: 1em;
    font-size: 1.1em;
    color: #404040;
}


/*禪堂風光等內文*/


/*禪堂風光等內文*/

.lecture_bar {
    width: 92%;
    margin: 1em auto;
    background: #666;
    padding: .5em;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.lecture_bar h2 {
    font-family: 新細明體;
    font-size: 1em;
    line-height: 1.5;
    margin: 0;
    color: white;
    width: calc(100% - 80px);
}

.lecture_bar h3 {
    font-family: 新細明體;
    font-size: 1em;
    color: white;
    margin: 0;
    width: 80px;
    text-align: right;
}

.lecture_bar a:link {
    text-decoration: underline;
    color: white;
}

.lecture_bar a:visited {
    text-decoration: none;
    color: yellow;
}

.lecture_bar a:hover {
    text-decoration: underline;
    color: #FC0;
}

.backhome {
    text-align: right;
    display: block;
    padding-right: 70px;
    color: #9a9a9a;
}

.lecture_bar_n {
    width: 550px;
    margin-right: 50px;
    margin-left: 25px;
    margin-bottom: 20px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #9a9a9a;
    display: flex;
    flex-direction: column;
}

.lecture_bar_n a:link {
    text-decoration: none;
    color: rgb(57, 57, 57);
}

.lecture_bar_n a:visited {
    text-decoration: none;
    color: rgb(57, 57, 57);
}

.lecture_bar_n a:hover {
    text-decoration: underline;
}

.next,
.pre {
    margin: 8px 0;
    position: relative;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
}

.pre a,
.next a {
    max-width: calc(100% - 80px);
    line-height: 1.5;
}

.next a {
    position: relative;
}

.next span,
.pre span {
    background: #4CAF50;
    padding: 5px;
    width: 60px;
    margin-right: 10px;
}

.next:hover>span,
.pre:hover>span {
    background: #1c601f;
    color: #fff;
}

.pre a:before {
    content: "";
    border-color: transparent #1c601f transparent transparent;
    border-width: 0.4em 0.4em 0.4em 0;
    border-style: solid;
    left: 0;
    top: calc(50% - 0.3em);
    right: auto;
    bottom: auto;
    position: absolute;
    transition: .3s;
    opacity: 0;
}

.next a:before {
    content: "";
    border-color: transparent transparent transparent #1c601f;
    border-width: 0.4rem 0 0.4rem 0.4rem;
    border-style: solid;
    opacity: 1;
    left: auto;
    top: calc(50% - 0.3em);
    right: 0;
    bottom: auto;
    position: absolute;
    transition: .3s;
    opacity: 0;
}

.pre:hover>:before {
    transform: translateX(-10px);
    opacity: 1;
}

.next:hover>:before {
    transform: translateX(10px);
    opacity: 1;
}

.lecture_bar2 {
    width: 550px;
    height: 60px;
    margin-right: 50px;
    margin-left: 25px;
    margin-bottom: 20px;
    background: #666;
    margin-top: -10px;
}

.lecture_bar2 h2 {
    float: left;
    font-family: 新細明體;
    font-size: 1em;
    color: white;
    padding-top: 0.4em;
}

.lecture_bar2 h3 {
    float: right;
    font-family: 新細明體;
    font-size: 1em;
    line-height: 2em;
    color: white;
}

.lecture p {
    margin-right: 50px;
    margin-left: 30px;
    margin-bottom: 20px;
    margin-top: 0px;
    font-family: 新細明體;
    line-height: 1.6em;
    text-indent: 2em;
    font-size: 1em;
    color: #404040;
}


/* .lecture span {
    margin-right: 50px;
    margin-left: 24px;
    margin-top: 0px;
    font-size: 1em;
    line-height: 1.8em;
    color: #404040;
} */

.lecture li {
    margin-top: 0px;
    margin-left: 2px;
    list-style-type: none;
    line-height: 1.4em;
    margin-bottom: 5px;
    font-family: 新細明體;
    font-size: 1em;
    color: #404040
}

.lecture dl {
    font-family: 新細明體;
    color: #404040;
}

.lecture dl,
dt,
dd {
    font-family: 新細明體;
    line-height: 1.6em;
    text-indent: 2em;
    font-size: .95em;
    color: #404040;
}

.lecture table {
    width: 550px;
    border-collapse: collapse;
    margin-left: 30px;
    margin-right: 50px;
    margin-bottom: 30px;
}

.lecture tr,
th,
td {
    padding-left: 5px;
    font-family: 新細明體;
    line-height: 1.6em;
    font-size: .9em;
    color: #404040;
    text-align: left;
    border: 1px solid #404040;
}

.lecture {
    margin-bottom: 20px;
}


/*禪堂風光等內文結束*/

.title_bar {
    width: 580px;
    height: 30px;
    margin-right: 50px;
    margin-left: 25px;
    margin-bottom: 15px;
    background: #777;
    margin-top: 10px;
}

.title_bar h2 {
    float: left;
    font-family: 新細明體;
    font-size: 1em;
    line-height: 0.4em;
    text-indent: 1em;
    color: white;
    padding-top: 0.7em;
}

.areasec ul {
    margin-top: 0px;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    margin-left: 1.1em;
    margin-bottom: 0.5em;
}

.areasec li {
    margin-left: 7px;
    list-style-type: disc;
    font-family: 微軟正黑體;
    width: calc(96% / 2);
    box-sizing: border-box;
    font-size: 1em;
    color: #404040;
    list-style-position: inside;
}

.full ul li {
    width: 100%;
}

.areasec li i {
    font-style: normal;
    font-size: .95em;
}

.areasec a:link {
    text-decoration: none;
    color: #484848;
}

.areasec a:visited {
    text-decoration: none;
    color: #000060;
}

.areasec a:hover {
    text-decoration: underline;
    color: #600000;
}

.image_wrapper {
    border: 0px solid #ffffff;
    margin-top: 3px;
    margin-bottom: 5px;
}

.fl_image {
    float: left;
    margin-right: 10px;
}

.fr_image {
    float: right;
    margin-left: 5px;
    margin-right: 10px;
}

#activity ul,
li {
    margin-top: 0px;
    margin-left: 2px;
    list-style-type: decimal;
    line-height: 1.4em;
    margin-bottom: 5px;
    font-family: 新細明體;
    font-size: 1em;
    color: #404040
}


/*禪堂風光  禪堂開示錄目錄*/

#contribution-index ul {
    display: block;
    margin-bottom: 20px;
    overflow: hidden;
    margin: 0;
    padding: 1em;
}

#contribution-index li {
    font-size: 1em;
    font-family: 微軟正黑體;
    list-style-type: disc;
    line-height: 2em;
    width: 80%;
    margin-right: 2%;
}

.list_sec ul li {
    float: left;
    width: 48%;
    margin-left: 2%;
}

#contribution-index a:link {
    text-decoration: none;
    color: #000;
}

#contribution-index a:visited {
    text-decoration: none;
    color: #000060;
}

#contribution-index a:hover {
    text-decoration: underline;
    color: #600000;
}


/*禪堂風光 禪堂開示錄目錄結束*/


/*禪修釋疑目錄*/

#dialogue-index ul {
    display: block;
    margin-left: 20px;
    margin-bottom: 20px;
    overflow: hidden;
}

#dialogue-index li {
    font-size: 1.25em;
    font-family: 微軟正黑體;
    list-style-type: none;
    line-height: 2.2;
}


/* #dialogue-index dl {} */

#dialogue-index ol li {
    font-size: .8em;
    margin-left: 10px;
    font-family: 新細明體;
    line-height: 1.8;
    color: #404040;
    text-indent: 0;
    width: 90%;
    list-style: square;
}

#dialogue-index a:link {
    text-decoration: none;
    color: #000;
}

#dialogue-index a:visited {
    text-decoration: none;
    color: #000060;
}

#dialogue-index a:hover {
    text-decoration: underline;
    color: #600000;
}

#dialogue-index p {
    margin-right: 50px;
    margin-left: 30px;
    margin-bottom: 20px;
    margin-top: 0px;
    font-family: 新細明體;
    line-height: 1.6em;
    font-size: 1em;
    color: #404040;
}


/*禪修釋疑目錄*/


/*禪修指引目錄頁*/

#guide {
    width: 600px;
    margin: auto;
    margin-left: 10px;
    overflow: hidden;
}

#guide a.ink {
    text-decoration: none;
    color: #484848;
}

#guide a.isited {
    text-decoration: none;
    color: #000060;
}

#guide a:hover {
    text-decoration: underline;
    color: #600000;
}

#guide h3 {
    font-family: 新細明體;
    margin: 5px 10px 5px 30px;
    font-size: 1em;
    line-height: 25px;
}

#guide p {
    font-family: 微軟正黑體;
    font-size: 1em;
    color: #404040;
    line-height: 18px;
}

#guide span {
    font-family: 新細明體;
    font-size: 1em;
    line-height: 22px;
    color: #404040;
}

#guide br {
    line-height: 30px;
}

#guide ul {
    float: left;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 620px;
}

#guide li {
    font-size: .9em;
    display: block;
    margin: 0 25px 10px 5px;
    padding-top: 5px;
    overflow: hidden;
    border-top: 1px solid #550055;
    float: left;
    width: 280px;
    list-style-type: none;
}

#guide_other ul {
    float: left;
    margin: 0;
}

#guide_other li {
    float: left;
    margin: 0 0 0 20px;
    width: 500px;
    height: 300px;
    list-style-type: none;
}

#guide_other a.ink {
    text-decoration: none;
    color: #484848;
}

#guide_other a.isited {
    text-decoration: none;
    color: #000060;
}

#guide_other a:hover {
    text-decoration: underline;
    color: #600000;
}

#guide img.figure {
    display: block;
    float: left;
    margin: 5px 5px 5px 0;
    border: 1px solid #484848;
}

.cleaner {
    clear: both;
    height: 0px;
}


/*禪修指引目錄頁結束*/


/*禪修百態目錄頁*/

#state {
    width: 630px;
    margin: auto;
    margin-left: 5px;
    overflow: hidden;
}

#state h3 {
    font-family: 微軟正黑體;
    margin: 2px 10px 5px 8px;
    font-size: 1em;
    line-height: 22px;
}

#state p {
    font-family: 新細明體;
    font-size: .9em;
    color: #404040;
    line-height: 18px;
    margin: 0px 15px 15px 5px;
}

#state br {
    margin-bottom: 5px;
}

#state img.figure {
    border: 1px solid #484848;
    padding: 1px;
}

#state ul {
    list-style: none;
    margin: 0;
    padding: 5px 0 0;
    width: 620px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#state li {
    margin: 0 0 0 5px;
    width: calc(97% / 3);
    list-style-type: none;
}

#state a:link {
    text-decoration: none;
    color: #484848;
}

#state a:visited {
    text-decoration: none;
    color: #000060;
}

#state a:hover {
    text-decoration: underline;
    color: #600000;
}


/*禪修百態目錄頁結束*/

.cleaner {
    clear: both;
    height: 0px;
}

#footer {
    height: 65px;
    width: calc(100% - 230px);
    margin-left: 205px;
    background: #484848;
    padding-top: 0px;
}