@font-face {font-family: "屏显臻宋"; src:url('屏显臻宋.ttf') format('truetype')}
@font-face {font-family: "KaiXinSong"; src: url(KaiXinSong.ttf) format('truetype')}
@font-face {font-family: 'CJKtest';src: url('CJKtest.woff');}
@font-face {font-family: 'CJKtest_b';src: url('CJKtestB.woff');}
@font-face {font-family:hei_xdhy_py; src:url('./hei_xdhy_py.woff') format('woff')}

body {font-family: /* "屏显臻宋", "KaiXinSong", "CJKtest","CJKtest_b", */ serif;}

/*以下为文字版相关设置*/
/*成语字头格式*/
cyhw,.hw {display:inline-block; font-size:24px;color:#000064; font-weight:400; background-color:; border-radius:1px;line-height:110%;}
cyhw:before,.hw:before {content:"【"; color:#800000; font-size:70%; }
cyhw:after,.hw:after {content:"】"; color:#800000; font-size:70%; }
/*成语拼音*/
cypy,.py {display:block; font-family:hei_xdhy_py; color:#800000; padding-left:12px;font-size:;line-height:110%;}
cypy2,.py2 {font-family:hei_xdhy_py; }
.py+br {display:none}
/*成语页码*/
cypg {display:inline-block; font-size:90%; color:#717171; margin-left:.5em;}
cypg:before {content:"第 "; }
cypg:after {content:" 页"; }

hr {border: 0;background: #AA8A57;height:1px}
a:link {color:currentColor; text-decoration:none;}
a:visited {color:currentColor}
a:link:hover {color:#b30015}
/*解释*/
js {font-size: 12pt;color: #7e1671;display: inline-block;border:.5px solid #F07C82;padding:.2em;border-radius: 4px;margin:.3em .8em;}
/*后用、也作*/
hy, yz {font-size: ;color:  ;display: block;margin:.3em;}
hy:before, yz:before {content:"❑"}
/*见例*/
jl {color:#2578B5 ;display: block;margin:0 .8em;}
jl:before {content:"◇"}
/*注意、来源*/
zyi, lai {font-size:12pt; color:#000064;display:block; font-weight:normal; margin:.3em;}
lai {font-size:10pt; text-align:right; font-weight:normal;}
/*参见*/
cj {font-size:13pt; color:#207F4C; display:block; margin:.3em;}
cj:before {content:"☞"}
/*注：*/
zhu {color:#000064; font-style:italic;}
/*校记*/
jiaoji {font-size:.8em; color:#c0c0c0;}

/*以下为“单字反查”相关设置*/
cyhw>a:link, cyhw>a:visited {color:currentColor}
div[w] {display:block; line-height:1em}
div[w]::before {content:""attr(w)""; background-color:#ffe7e5; border:1px solid #f9d6d2; border-radius:.2em; padding:.1em .2em; margin-right:.4em}
div[w] tilde::before {content:"～"; font-weight:bold; color:#4d0600}
div[w] comma::before {content:"，"; font-weight:bold; margin-right:-.4em}
div[w]>a:link, div[w]>a:visited {display:inline-block; color:currentColor}
div[w]>a+a:link {margin:0 0 .35em .75em}
div[w]>a:link:hover, span a:link:hover {color:#b30015}

/*以下为图像版相关设置*/
cybar {display:block; width:100%; margin: 0 0 .2em 0; border-radius:.1em; border:1px solid #666;}
/*
cybar:before {content:"本页成语"; display:block; padding:.1em .3em; color: white; background-color:#666;}
*/
cybar>a {display:inline-block; margin:0 .25em; font-size:1.1em; text-align:center; cursor:default; border-radius:.25em; border:1px solid transparent}
cybar>a:hover {transform:scale(1.04); -webkit-transform:scale(1.04); transform-origin:center}

book img, book2 img {width:100%;}

/* 图像下方上下页等 */
zm {display:block; width:100%; position: relative; text-align:center; margin-top:.5em;  font-size: .9em; background-color: #f0f0fa;} 
zm>a {margin:0 .5em;}
/* 目录页 */
div.cont1 {margin-left:.5em; font-weight:700; }