body {
  /* 新細明體 要排在 Microsoft Himalaya 的前面，否則在 windows 上的中文標點呈現會有問題。 */
  font-family: "Times New Roman", Kailasa, "新細明體", 'Microsoft Himalaya', "Songti TC";
  font-size: 22px;
  line-height: 1.5rem;
}

.italic {
  font-style: italic;
}

.red {
  color: red;
}

p.normal{
  /* Kailasa for Tibetan on Mac */
  font-family: "Times New Roman", "Songti TC", NSimSun, SimSun, "新細明體", Kailasa, 'Microsoft Himalaya', "Arial Unicode MS";
}

.bo {
  /* Kailasa for Tibetan on Mac */
  font-family:"Gandhari Unicode",Tahoma,"細明體", "新細明體","Times New Roman",Kailasa,'Microsoft Himalaya',"Arial Unicode MS";
  font-size: 1.3rem;
}
p.kp {
  font-family: "楷體-繁", "標楷體"
}
p.orig {
  font-size: 1.1em;
  font-weight: bold;
}
p.text-center {
  text-align: center;
}
p.wylie {
  font-size: 1rem;
}

p.shift {
  color: #7A0099;
}
#bookTitle {
  margin-bottom: 1em;
}
#bookTitle h1 {
  font-size: 1.5rem;
  font-weight:bold;
}
#bookTitle ul {
  list-style-type: disc;
  font-size: smaller;
}
#bookTitle li {
  margin-left: 1em;
}
.biblStruct {  
  margin-bottom: 1rem;
}

/*定義圖片格式*/
#ybhBox img.bookIcon {
  border:0;
  width:28px; 
}

div#goNextOne {
  float:right;
  font-size:20px;
  color:blue;
  margin:1cm; 
}

div#goNextOne:hover {
  float:right;
  color:red;
  margin:1cm;
  cursor:pointer;cursor:hand; 
  text-decoration:underline;
}

.linkStyle {
  display:inline;
}

/*設定所有的div格式*/

div.YBh_head {
  font-family: "Times New Roman", "Kaiti TC", "DFKai-sb";
  cursor:pointer;
  vertical-align: middle; 
  font-weight:bold;
  padding:0.1cm 0 0.1cm 0;
  color:#4BA047;
  clear:both;
}

div.ybhDiv{
  margin-left:6px;
}

div.juan_close{
  font-size:20px;
}

/*卷首資訊相關*/
div.jhead {
  font-size: 1rem;
  font-weight: bold;
  padding: 0cm 0 0.5cm 0cm;
}

div.trailer {
  color:black;
  font-size:14px;
  font-weight:bold;
}

div.byline {
  font-weight:bold;
  color:#000088;
  padding:0 0 0.5cm 4cm;
}

div.juhead {
  padding:1.5cm 0 0.5cm 1cm;
  font-weight:bold;
  font-size:16px;
  color:black;
}

div.juan_open {
  color:green; font-weight:bold;
  padding: 1cm 0 0.5cm 4px;
  font-size:14px;
}

div.lg {
  display: table;
  color: #008040;
  margin-left: 4em!important;
}

div.lg-cell {
  display: table-cell;
  padding-left: 1rem;
}

div.lg-row {
  display: table-row;
}

a.link2oth{
  color:blue;
  font-weight:lighter;    
}

a.link2oth:hover{
  cursor:pointer;
  color:#FF0000;
  text-decoration:underline;
}

a.shift {
  font-size: 1rem;
}

/*分別指定各個譯本的背景顏色*/
div#scrollT1579 {
  background:#EFFFCE;
}

div#scrollT1581 {
  background:#FFEDC8;
}

div#scrollT1582 {
  background:#FFE7B3;
}

div#scrollT1583 {
  background:#FFDF9D;
}

div#scrollT1584 {
  background:#E9FFB9;
}

div#scrollT1602 {
  background:#E1FFA4;
}

div#scrollT1580 {
  background:#EBEBD8;
}

div#scrollT1828 {
  background:#E2E2C7;
}

div#scrollT1829 {
  background:#DCDCBA;
}

div#scrollT2259 {
  background:#D6D6AF;
}

div#scrollT2801 {
  background:#DCDCB6;
}

div#scrollT2802 {
  background:#D3D3A5;
}

div#scrollX0794 {
  background:#CCCC95;
}

div#scrollYo-BA {
  background:#FFFFCC;
}

div#scrollYo-BB {
  background:#EFFFCE;
}

div#scrollYo-BC {
  background:#FFFFA2;
}

div#scrollYo-TG {
  background:#FFFF8C;
}

div#scrollYo-TJ {
  background:#FFFF77;
}

div#scrollTo-TK {
  background:#FFFF62;
}

div#scrollSh-ST {
  background:#E9F3F3;
}

div#scrollSh-SH {
  background:#DCEDED;
}

div#scrollSh-SS {
  background:#BEDEDE;
}

div#scrollSh-TS {
  background:#A7D1D1;
}

div#scrollBo-SW {
  background:#FFD988;
}

div#scrollH4037 {
  background:#FFD986;
}

div#scrollD4039 {
  background:#DFDFFF;
}

/*引用複製*/

div.tmp_div {
  border:1px solid #ccc;
  background-color:red;
  color:#FFFFFF;
  font-size:18px;
  width: 200px;
  position: absolute;
  right: 50px;
  top:50px;
}

div.tmp_div2 {
  border: 1px  #000000;
  background-color:#FFFFCC;
  font-size:16px;
  width:360px; 
  position: absolute;
  right: 50px;
  top:100px;
}

div#topArea {
  height:38px;
}

div#aHeader {
  float:left;
}

div#aOptions {
  padding-right:1cm;
  float:right;
}

div#aOptions span:hover {
  border:1px green solid;
}

span#refCopyCommander:hover {
  background-color: red;
}

input#allInOneClum {
  width:28px;
  height:28px;
  background-image:url(YBhAgainst/img/row.gif);
}

input#allInOneRow {
  width:28px;
  height:28px;
  background-image:url(YBhAgainst/img/clum.gif);
}

#ybhBox {
  height: 100%;
}
#ybhBox div#vBox {
  /* border:1px solid #899;  */
  clear:left; 
  /* margin: 2px 2px 2px 2px; */
  padding:0 0 2px 2px;
  /* position:relative; */
/*   height:96%;
   */
}

/* 預設的排版是自上而下的橫向 */
div.scrollableBody {
  margin:2px 6px 2px 2px;
  width:98%;
}

div.scrollable {
  clear:right;
  overflow:auto;
  padding-left:6px;
  border:1px solid #899;
  position:relative; 
  height:300px;
}

div.options {
  float: right;
  position: relative;  
  height: 0px; width:200px; top: -60px;right:28px; 
  z-index:100;
} 

div.options a div {
  color:blue;
  float:right;
  padding:3px;
  background-repeat: no-repeat;
}

div.options a div:hover {
  color:red;cursor:pointer;
}

div#ybhlocation {
  padding:0 6px 0 6px;
  font-weight:bold;
}

div#ybhlocation div {
  padding:2px 0px 1px 6px;
}

div.bookName {
  padding:2px 0px 2px 2px;
  color:blue;
}

div#ybh location div.rightContextDiv {
  color:red;
}

a.close img {
  url:(YBhAgainst/img/clb.jpg);
}

a.up img {
  url:(YBhAgainst/img/up1.jpg);
}

a.down img {
  url:(YBhAgainst/img/dn1.jpg);
}

div#ybh a.titleIcons img,div.options a img {
  width:30px;
  height:24px;
}

span.gaiji_span img {
  width:18px;
  height:18px;
}

/* a bet on future IEs */
#title2note[id] {
  position: fixed;
}

/*分別指定各個譯本的背景顏色*/
div#T1579 { background:#EFFFCE; }
div#T1581 { background:#FFEDC8; }
div#T1582 { background:#FFE7B3; }
div#T1583 { background:#FFDF9D; }
div#T1584 { background:#E9FFB9; }
div#T1602 { background:#E1FFA4; }
div#T1580 { background:#EBEBD8; }
div#T1828 { background:#E2E2C7; }
div#T1829 { background:#DCDCBA; }
div#T2259 { background:#D6D6AF; }
div#T2801 { background:#DCDCB6; }
div#T2802 { background:#D3D3A5; }
div#X0794 { background:#CCCC95; }
div#Yo-BA { background:#FFFFCC; }
div#Yo-BB { background:#EFFFCE; }
div#Yo-BC { background:#FFFFA2; }
div#Yo-TG { background:#FFFF8C; }
div#Yo-TJ { background:#FFFF77; }
div#To-TK { background:#FFFF62; }
div#Sh-ST { background:#E9F3F3; }
div#Sh-SH { background:#DCEDED; }
div#Sh-SS { background:#BEDEDE; }
div#Sh-TS { background:#A7D1D1; }
div#Bo-SW { background:#FFD988; }
div#H4037 { background:#FFD986; }
div#D4039 { background:#DFDFFF; }

 /* 參考資源-般若波羅蜜多心經 */
div#T0251 { background:#EFFFCE; }
div#T0252 { background:#DFDFFF; }
div#T0253 { background:#EFFFCE; }
div#T0254 { background:#DFDFFF; }
div#T0255 { background:#EFFFCE; }
div#T0256 { background:#DFDFFF; }
div#T0257 { background:#EFFFCE; }

/* YBh 解題 */
div#YBhAnnot-01 { background:#DFDFFF; }
div#YBhAnnot-02 { background:#EFFFCE; }
div#YBhAnnot-03 { background:#DFDFFF; }
div#YBhAnnot-04 { background:#EFFFCE; }
div#YBhAnnot-05 { background:#DFDFFF; }

div.bookDiv {
  border:1px solid #000;
}

div.bookDiv div.cont {
  padding-top:32px;
  overflow:auto;
}

div.bookDiv div.cont div.juan_text {
  padding-left:3em;
  margin-right:4em;
}

div.bookDiv div.menu {
  font-size: 0.8rem;
  border:1px solid #000;
  height:30px;
  float:right;
  margin-right:32px;
  text-align:right;
  background-color: #FFFFB4;
  color: #111;
  z-index:3;
  vertical-align: top; 
  display: flex;
  flex-direction: row-reverse;
}

div.bookDiv div.menu div {
  float: right;
  align-self: center;
}

div.bookDiv div.cont {
  clear:both;
}

div.bookDiv div.menu div img {
  width:18px;margin:2px;
  cursor:pointer;cursor:hand; 
}

div.imgBg:hover {
  background-color: #FFDEAD;
}

b.kwic, b.ss {
  color:red;
} 

b.ss {
  font-weight:bolder;
}

span.gword:hover {
  cursor:pointer;cursor:hand; 
  background-color: #FFDEAD;
}

span.gword {
  border:solid 2px #F4CBCB;
}

/*
顯示缺字資料的表格
*/

td.gaijiValue {
  color:red;
}

td.gaijiValue span {
  font-size:20px;
}

div.gaijiValue {
  float:right;
  right:1.5cm;
  position: absolute;
}

img.gaijiImg {
  border:1px solid #C0C0C0;
  padding:6px;
  margin-bottom:0px;
  margin-top:0px;
}

td.gaijiField {
  text-align:right;
}

#searchFunction { 
  position: absolute;
  display: none;
  background-color: #FFFF99;
  border: 1px #aa0000 solid;
  cursor: move;
  text-align: center;
  top: 10px;
  left: 30%;
  width: 300px;
  height: 32px;
}

#countMatch {
  padding:0 0.5cm 0 0.5cm;
}

#searchFunction div {
  float:left;
}

a.search_a span {
  display:none;
}

/*
設定樹狀節點的樣式
*/
a.x-tree-node-anchor span em {
  color:red;
}

.x-tree-node {
  font-family: "Songti TC", "Times New Roman", "新細明體", "Arial Unicode MS",cursive,arial,tahoma,helvetica,sans-serif,"新細明體-ExtB";
  font-size: 1rem;
}

.x-tree-node-el {
  line-height: 1.4rem;
  cursor:pointer;
}

/*
設定表單的樣式
*/

.x-small-editor .x-form-field {
  font:normal 18px "細明體", "新細明體", "Arial Unicode MS", cursive,arial, tahoma, helvetica, sans-serif;
}

.ext-strict .x-small-editor .x-form-text {
  height:20px !important;
}

/*
自定menu上的字的大小
*/

/*
.x-btn{
  font:normal 14px "細明體", "新細明體", "Arial Unicode MS", cursive,arial, tahoma, helvetica, sans-serif;
}
*/

.x-btn button {
  font:normal 12px "細明體", "新細明體", "Arial Unicode MS", cursive,arial, tahoma, helvetica, sans-serif;
  color:#333;
}

a.ref {
  background-color: #CBD4D5;
  font-size: 0.7rem;
  vertical-align: sub;
}

b.null_b {
  background-color: #FFFFD0;
}

p.forLocaltion {
  font-size: 20px;
}

div.showMsgArea {
  font-size: 1rem;
  font-family: "Times New Roman", Kailasa, "Microsoft Himalaya", "Songti TC", Helvetica;
  padding: 0.5em;
}

em.getApp {
  font-weight: bold;
  cursor: pointer;
  background-color: #FFDEAD;
}

em.getAppBo {
  font-size: 30px;
  cursor: pointer;
  background-color: #FFDEAD;
}

em.getAppWylie {
  font-size: 22px;
  cursor: pointer;
  background-color: #FFDEAD;
}

div.showApp {
  font-size: 16px;
  border: 1px solid #C0C0C0;
}

div.YBh_head_location {
  display:none;
}

#loading {
  font-family: "標楷體";
  position: absolute;
  display: none;
  background-color: #FFFF99;
  border: 1px solid #A84748;
  color: red;
  top: 43%;
  left: 50%;
  width: 140px;
  height: 36px;
  font-size: 18px;
}

#loading span {
  position: absolute;
  top: 6px;
}

#loading div {
  float: right;
  height: 32px;
  width: 60px;
  background: transparent url(../images/load.gif) no-repeat scroll right center;
}

p.figDesc {
  font-size: 14px;
}

table {
  font-size: 1rem;
}

table.app {
  font-size: 1rem;
}

table.app, table.app td {
  border: 1px solid black;
  border-spacing: 0;
}

table.app td {
  border: 1px solid black;
  padding: 5px;
}

table#selection-images-table {
  position: absolute;
  display: none;
  background-color: #E5E5E5;
  border-color: #8EA4E3;
}

table#selection-images-table tr td span {
  font-size: 18px;
}

table#selection-images-table tr td a {
  margin: 2px;
  cursor: pointer;
  cursor: hand;
  text-decoration:none;
}

table#selection-images-table tr td:hover {
  background-color: #F4F496;
}

td.wit {
  white-space: nowrap;
}

a#getReference-image,a#searchTool-image {
/*
  background:url("../images/cpRefx32.png") no-repeat scroll 0 0 transparent;
*/
  height: 36px;
  width: 36px;
}

/* 編輯註 註標 */
span.editor_note {
  vertical-align: super;
  font-size: 10px;
}

span.HL_Tag {
  color: #22224E;
  border-bottom: 1px dashed red;
}

span.HL_Tag:hover {  
  cursor: pointer;
  cursor: hand; 
  background-color:#E8E3B6;
}

span.inline_note {
  vertical-align: super;
  font-size: small;
}

span.note_anchor {
  vertical-align: super;
  font-size: 0.7rem;
  font-family: "Times New Roman";
}

.hand:hover {
  cursor: pointer;
}

div.back {
  display: none;
}

sub.pb {
  font-size: 0.7rem;
  font-family: "Times New Roman";
}

span.lower_half_circle {
  vertical-align: sub;
}

ul.list-bibl {
  list-style-type: disc;
}
ul.x-tree-root-ct {
  padding-left: 0;
}
.x-window-mc {
  font-size: 1rem;
  font-family: "Times New Roman", Kailasa, "Microsoft Himalaya", "Songti TC", Helvetica;
}

/* 校注、引用複製 popup window 標題 */ 
.x-window-tl .x-window-header {
  font-size: 1rem;
  font-family: "Kaiti TC";
}

span.shift {
  font-size: 1rem; 
}
