/**
 * SyntaxHighlighter
 * http://alexgorbatchev.com/SyntaxHighlighter
 *
 * SyntaxHighlighter is donationware. If you are using it, please donate.
 * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
 *
 * @version
 * 3.0.83 (July 02 2010)
 * 
 * @copyright
 * Copyright (C) 2004-2010 Alex Gorbatchev.
 *
 * @license
 * Dual licensed under the MIT and GPL licenses.
 */
.syntaxhighlighter a,
.syntaxhighlighter div,
.syntaxhighlighter code,
.syntaxhighlighter table,
.syntaxhighlighter table td,
.syntaxhighlighter table tr,
.syntaxhighlighter table tbody,
.syntaxhighlighter table thead,
.syntaxhighlighter table caption,
.syntaxhighlighter textarea {
  -moz-border-radius: 0 0 0 0 !important;
  -webkit-border-radius: 0 0 0 0 !important;
  background: none !important;
  border: 0 !important;
  bottom: auto !important;
  float: none !important;
  height: auto !important;
  left: auto !important;
  line-height: 1.1em !important;
  margin: 0 !important;
  outline: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  position: static !important;
  right: auto !important;
  text-align: left !important;
  top: auto !important;
  vertical-align: baseline !important;
  width: auto !important;
  box-sizing: content-box !important;
  font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
  font-weight: normal !important;
  font-style: normal !important;
  font-size: 1em !important;
  min-height: inherit !important;
  min-height: auto !important;
}
.syntaxhighlighter {
  width: 100% !important;
  margin: 1em 0 1em 0 !important;
  position: relative !important;
  overflow: auto !important;
  font-size: 1em !important;
}
.syntaxhighlighter.source {
  overflow: hidden !important;
}
.syntaxhighlighter .bold {
  font-weight: bold !important;
}
.syntaxhighlighter .italic {
  font-style: italic !important;
}
.syntaxhighlighter .line {
  white-space: pre !important;
}
.syntaxhighlighter table {
  width: 100% !important;
}
.syntaxhighlighter table caption {
  text-align: left !important;
  padding: 0.5em 0 0.5em 1em !important;
}
.syntaxhighlighter table td.code {
  width: 100% !important;
}
.syntaxhighlighter table td.code .container {
  position: relative !important;
}
.syntaxhighlighter table td.code .container textarea {
  box-sizing: border-box !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  background: white !important;
  padding-left: 1em !important;
  overflow: hidden !important;
  white-space: pre !important;
}
.syntaxhighlighter table td.gutter .line {
  text-align: right !important;
  padding: 0 0.5em 0 1em !important;
}
.syntaxhighlighter table td.code .line {
  padding: 0 1em !important;
}
.syntaxhighlighter.nogutter td.code .container textarea,
.syntaxhighlighter.nogutter td.code .line {
  padding-left: 0em !important;
}
.syntaxhighlighter.show {
  display: block !important;
}
.syntaxhighlighter.collapsed table {
  display: none !important;
}
.syntaxhighlighter.collapsed .toolbar {
  padding: 0.1em 0.8em 0em 0.8em !important;
  font-size: 1em !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
}
.syntaxhighlighter.collapsed .toolbar span {
  display: inline !important;
  margin-right: 1em !important;
}
.syntaxhighlighter.collapsed .toolbar span a {
  padding: 0 !important;
  display: none !important;
}
.syntaxhighlighter.collapsed .toolbar span a.expandSource {
  display: inline !important;
}
.syntaxhighlighter .toolbar {
  position: absolute !important;
  right: 1px !important;
  top: 1px !important;
  width: 11px !important;
  height: 11px !important;
  font-size: 10px !important;
  z-index: 10 !important;
}
.syntaxhighlighter .toolbar span.title {
  display: inline !important;
}
.syntaxhighlighter .toolbar a {
  display: block !important;
  text-align: center !important;
  text-decoration: none !important;
  padding-top: 1px !important;
}
.syntaxhighlighter .toolbar a.expandSource {
  display: none !important;
}
.syntaxhighlighter.ie {
  font-size: 0.9em !important;
  padding: 1px 0 1px 0 !important;
}
.syntaxhighlighter.ie .toolbar {
  line-height: 8px !important;
}
.syntaxhighlighter.ie .toolbar a {
  padding-top: 0px !important;
}
.syntaxhighlighter.printing .line.alt1 .content,
.syntaxhighlighter.printing .line.alt2 .content,
.syntaxhighlighter.printing .line.highlighted .number,
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
.syntaxhighlighter.printing .line.highlighted.alt2 .content {
  background: none !important;
}
.syntaxhighlighter.printing .line .number {
  color: #bbbbbb !important;
}
.syntaxhighlighter.printing .line .content {
  color: black !important;
}
.syntaxhighlighter.printing .toolbar {
  display: none !important;
}
.syntaxhighlighter.printing a {
  text-decoration: none !important;
}
.syntaxhighlighter.printing .plain,
.syntaxhighlighter.printing .plain a {
  color: black !important;
}
.syntaxhighlighter.printing .comments,
.syntaxhighlighter.printing .comments a {
  color: #008200 !important;
}
.syntaxhighlighter.printing .string,
.syntaxhighlighter.printing .string a {
  color: blue !important;
}
.syntaxhighlighter.printing .keyword {
  color: #006699 !important;
  font-weight: bold !important;
}
.syntaxhighlighter.printing .preprocessor {
  color: gray !important;
}
.syntaxhighlighter.printing .variable {
  color: #aa7700 !important;
}
.syntaxhighlighter.printing .value {
  color: #009900 !important;
}
.syntaxhighlighter.printing .functions {
  color: #ff1493 !important;
}
.syntaxhighlighter.printing .constants {
  color: #0066cc !important;
}
.syntaxhighlighter.printing .script {
  font-weight: bold !important;
}
.syntaxhighlighter.printing .color1,
.syntaxhighlighter.printing .color1 a {
  color: gray !important;
}
.syntaxhighlighter.printing .color2,
.syntaxhighlighter.printing .color2 a {
  color: #ff1493 !important;
}
.syntaxhighlighter.printing .color3,
.syntaxhighlighter.printing .color3 a {
  color: red !important;
}
.syntaxhighlighter.printing .break,
.syntaxhighlighter.printing .break a {
  color: black !important;
}
.syntaxhighlighter {
  background-color: white !important;
}
.syntaxhighlighter .line.alt1 {
  background-color: white !important;
}
.syntaxhighlighter .line.alt2 {
  background-color: white !important;
}
.syntaxhighlighter .line.highlighted.alt1,
.syntaxhighlighter .line.highlighted.alt2 {
  background-color: #e0e0e0 !important;
}
.syntaxhighlighter .line.highlighted.number {
  color: black !important;
}
.syntaxhighlighter table caption {
  color: black !important;
}
.syntaxhighlighter .gutter {
  color: #afafaf !important;
}
.syntaxhighlighter .gutter .line {
  border-right: 3px solid #6ce26c !important;
}
.syntaxhighlighter .gutter .line.highlighted {
  background-color: #6ce26c !important;
  color: white !important;
}
.syntaxhighlighter.printing .line .content {
  border: none !important;
}
.syntaxhighlighter.collapsed {
  overflow: visible !important;
}
.syntaxhighlighter.collapsed .toolbar {
  color: blue !important;
  background: white !important;
  border: 1px solid #6ce26c !important;
}
.syntaxhighlighter.collapsed .toolbar a {
  color: blue !important;
}
.syntaxhighlighter.collapsed .toolbar a:hover {
  color: red !important;
}
.syntaxhighlighter .toolbar {
  color: white !important;
  background: #6ce26c !important;
  border: none !important;
}
.syntaxhighlighter .toolbar a {
  color: white !important;
}
.syntaxhighlighter .toolbar a:hover {
  color: black !important;
}
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a {
  color: black !important;
}
.syntaxhighlighter .comments,
.syntaxhighlighter .comments a {
  color: #008200 !important;
}
.syntaxhighlighter .string,
.syntaxhighlighter .string a {
  color: blue !important;
}
.syntaxhighlighter .keyword {
  color: #006699 !important;
}
.syntaxhighlighter .preprocessor {
  color: gray !important;
}
.syntaxhighlighter .variable {
  color: #aa7700 !important;
}
.syntaxhighlighter .value {
  color: #009900 !important;
}
.syntaxhighlighter .functions {
  color: #ff1493 !important;
}
.syntaxhighlighter .constants {
  color: #0066cc !important;
}
.syntaxhighlighter .script {
  font-weight: bold !important;
  color: #006699 !important;
  background-color: none !important;
}
.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a {
  color: gray !important;
}
.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a {
  color: #ff1493 !important;
}
.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a {
  color: red !important;
}
.syntaxhighlighter .keyword {
  font-weight: bold !important;
}
/**
 * SyntaxHighlighter
 * http://alexgorbatchev.com/SyntaxHighlighter
 *
 * SyntaxHighlighter is donationware. If you are using it, please donate.
 * http://alexgorbatchev.com/SyntaxHighlighter/donate.html
 *
 * @version
 * 3.0.83 (July 02 2010)
 * 
 * @copyright
 * Copyright (C) 2004-2010 Alex Gorbatchev.
 *
 * @license
 * Dual licensed under the MIT and GPL licenses.
 */
.syntaxhighlighter {
  background-color: white !important;
}
.syntaxhighlighter .line.alt1 {
  background-color: white !important;
}
.syntaxhighlighter .line.alt2 {
  background-color: white !important;
}
.syntaxhighlighter .line.highlighted.alt1,
.syntaxhighlighter .line.highlighted.alt2 {
  background-color: #e0e0e0 !important;
}
.syntaxhighlighter .line.highlighted.number {
  color: black !important;
}
.syntaxhighlighter table caption {
  color: black !important;
}
.syntaxhighlighter .gutter {
  color: #afafaf !important;
}
.syntaxhighlighter .gutter .line {
  border-right: 3px solid #6ce26c !important;
}
.syntaxhighlighter .gutter .line.highlighted {
  background-color: #6ce26c !important;
  color: white !important;
}
.syntaxhighlighter.printing .line .content {
  border: none !important;
}
.syntaxhighlighter.collapsed {
  overflow: visible !important;
}
.syntaxhighlighter.collapsed .toolbar {
  color: blue !important;
  background: white !important;
  border: 1px solid #6ce26c !important;
}
.syntaxhighlighter.collapsed .toolbar a {
  color: blue !important;
}
.syntaxhighlighter.collapsed .toolbar a:hover {
  color: red !important;
}
.syntaxhighlighter .toolbar {
  color: white !important;
  background: #6ce26c !important;
  border: none !important;
}
.syntaxhighlighter .toolbar a {
  color: white !important;
}
.syntaxhighlighter .toolbar a:hover {
  color: black !important;
}
.syntaxhighlighter .plain,
.syntaxhighlighter .plain a {
  color: black !important;
}
.syntaxhighlighter .comments,
.syntaxhighlighter .comments a {
  color: #008200 !important;
}
.syntaxhighlighter .string,
.syntaxhighlighter .string a {
  color: blue !important;
}
.syntaxhighlighter .keyword {
  color: #006699 !important;
}
.syntaxhighlighter .preprocessor {
  color: gray !important;
}
.syntaxhighlighter .variable {
  color: #aa7700 !important;
}
.syntaxhighlighter .value {
  color: #009900 !important;
}
.syntaxhighlighter .functions {
  color: #ff1493 !important;
}
.syntaxhighlighter .constants {
  color: #0066cc !important;
}
.syntaxhighlighter .script {
  font-weight: bold !important;
  color: #006699 !important;
  background-color: none !important;
}
.syntaxhighlighter .color1,
.syntaxhighlighter .color1 a {
  color: gray !important;
}
.syntaxhighlighter .color2,
.syntaxhighlighter .color2 a {
  color: #ff1493 !important;
}
.syntaxhighlighter .color3,
.syntaxhighlighter .color3 a {
  color: red !important;
}
.syntaxhighlighter .keyword {
  font-weight: bold !important;
}
/* ==========================================
 * body
 * ========================================== */
body {
  color: #333;
  background: url(../images/bg.jpg);
  background-attachment: fixed;
  font-family: normal Georgia, "Times New Roman", 'Source Han Serif SC', 'Source Han Serif TC', Times, SimSun, "FangSong", STFangSong, serif;
}
/* ==========================================
 * banner pic
 * ========================================== */
.vestibule {
  color: #FFC;
  background-image: url(../images/banner.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding-top: 20px;
  padding-bottom: 33%;
  margin: 0;
}
.vestibule > h1 {
  font: bold 2.5em "Crimson Text", Georgia, Times, "Times New Roman", serif;
  margin: 8px;
}
.vestibule > p {
  color: #FFF;
  font-size: 1.7em;
  float: left;
  padding: 8px 0 8px 10px;
}
/* ==========================================
 * content
 * ========================================== */
.ctx-main {
  border: solid transparent;
  box-shadow: 0px 0px 8px 8px #FFFFFF;
  border-image: url(../images/bg-border.png) 0 15 0 15 round;
  background: url(../images/bg-m.png) repeat-y center top;
  background-repeat: repeat;
  background-size: 100%;
  border-width: 0 15px;
  padding: 50px 0px 0px;
}
img.left {
  margin: 0 18px 6px 0;
}
img.atc-img,
p > img {
  max-width: 95%;
  height: auto;
  border: 5px solid #fff;
}
a {
  color: #36C;
}
a:hover {
  color: #06F;
}
p,
blockquote,
ul {
  margin-bottom: 1.2em;
}
blockquote {
  color: #555;
  background: url(../images/quote.gif) no-repeat;
  font-family: 'Lucida Calligraphy', 'Lucida Handwritint', KaiTi, STKaiti, sans-serif;
  padding-left: 22px;
  border: 0;
}
blockquote p {
  padding: 6px;
}
ul {
  margin-left: 0em;
  padding-left: 1.8em;
}
.clearer {
  clear: both;
  display: block;
  font-size: 0;
  line-height: 0;
  height: 0;
}
.pattern {
  background: #334127 url(../images/pattern.gif) repeat-x;
  clear: both;
  height: 12px;
}
/* ==========================================
 * title
 * ========================================== */
/* 以下两条选择器原来写成 `.content h1, h2, h3, h4, h5, h6`。
 * CSS 逗号列表里每个选择器都是独立的，只有 h1 被 .content 限定，
 * h2~h6 泄漏成了全局规则，页面上所有标题都会中招。
 * 实际后果：bootstrap 弹窗的 h4.modal-title 被加上 position: relative，
 * 而同级的 button.close 是 float 的非定位元素，绘制层级在定位元素之下，
 * 于是撑满整行宽的标题盖住了关闭按钮，命中测试同序 —— 按钮点不动。
 * 这里给每个选择器都补全 .content 限定。 */
.content h1 p,
.content h2 p,
.content h3 p,
.content h4 p,
.content h5 p,
.content h6 p {
  margin-top: 0;
}
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  margin: 20px 0 10px;
  padding: 0;
  position: relative;
  cursor: text;
  font-weight: bold;
  text-shadow: rgba(255, 255, 255, 0) 0 0.0625rem;
}
.content h1 {
  line-height: 1.3em;
  margin: 0em auto 1.2em auto;
  padding: 4px;
  border-radius: 5px;
  text-align: center;
  clear: both;
  text-shadow: 2px 2px 2px rgba(255, 255, 255, 0);
  background-color: rgba(218, 165, 32, 0);
  color: #4a4a49;
  box-shadow: 6px 6px 10px rgba(255, 255, 255, 0);
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  font-size: 36px;
  font-family: "Crimson Text", Georgia, Times, "Times New Roman", serif;
}
.content h1::before {
  background: url("../images/ornate-border.svg") center top no-repeat;
  transform: rotate(180deg);
  content: '';
  display: block;
  padding-bottom: 5.25rem;
  height: 0;
  width: 100%;
}
.content h1::after {
  background: url("../images/ornate-border.svg") center top no-repeat;
  content: '';
  display: block;
  padding-bottom: 3.25rem;
  height: 0;
  width: 100%;
}
.content h2 {
  line-height: 1.3em;
  margin: 20px auto;
  padding: 4px;
  text-align: center;
  clear: both;
  text-shadow: 2px 2px 2px rgba(255, 255, 255, 0);
  background-color: rgba(218, 165, 32, 0);
  color: #4a4a49;
  border-radius: 5px;
  box-shadow: 3px 3px 5px rgba(255, 255, 255, 0);
  font-size: 30px;
  font-family: "Crimson Text", Georgia, Times, "Times New Roman", serif;
}
.content h2::after {
  background: url("../images/ornate-border.svg") center top no-repeat;
  content: '';
  display: block;
  padding-bottom: 3.25rem;
  height: 0;
  width: 100%;
}
.content h3 {
  text-align: center;
  clear: both;
  text-shadow: 2px 2px 2px rgba(255, 255, 255, 0);
  background-color: rgba(218, 165, 32, 0);
  color: #4a4a49;
  /*
	line-height: 1.3em; border-radius: 5px; padding: 4px; 
	box-shadow: 0px 12px 8px -12px  @title-shadow-color; 
	*/
  border-bottom: 1px solid #4a4a49;
  font-size: 24px;
  font-family: "Crimson Text", Georgia, Times, "Times New Roman", serif;
}
.content h4 {
  /*
	*/
  border-bottom: 1px solid rgba(218, 165, 32, 0.65);
  color: #4a4a49;
  font-size: 22px;
  font-family: "Crimson Text", Georgia, Times, "Times New Roman", serif;
}
.content h5 {
  color: #4a4a49;
  font-size: 18px;
}
.content h6 {
  color: #4a4a49;
  font-size: 16px;
}
/* ==========================================
 * 分隔线
 * ========================================== */
.content {
  background: url(../images/bgcontent.gif) no-repeat;
  background-size: 100%;
  clear: both;
  font-size: 1.2em;
  padding: 0 5px 12px;
}
.content .spacer {
  height: 42px;
}
.divider {
  background: url(../images/divider.gif) no-repeat;
  background-size: 100%;
  height: 20px;
  margin: 24px 0;
}
.item,
.item .body {
  clear: both;
}
.item img {
  border: 1px dashed #8A6;
}
.item .title {
  color: #445044;
  font-family: "Crimson Text", Georgia, Times, "Times New Roman", serif;
  font-size: 2em;
}
.item .title:first-letter {
  display: block;
  float: left;
  font-size: 2.4em;
}
.item .metadata {
  color: #666;
  font-size: 0.9em;
  float: left;
  padding: 0 0 6px 4px;
}
/* ==========================================
 *  foot
 * ========================================== */
.footer {
  color: #666;
  text-align: center;
  background: url(../images/bgfooter.gif) no-repeat;
  background-size: 100%;
  font-size: 1.1em;
  line-height: 41px;
  margin: 0 auto;
}
.footer .left {
  padding-left: 40px;
}
.footer .right {
  padding-right: 40px;
}
.footer a {
  color: #666;
  text-decoration: none;
}
.footer a:hover,
.footer .right a:hover {
  color: #333;
  text-decoration: underline;
}
.footer .right,
.footer .right a {
  color: #ACAF9B;
}
/* ==========================================
 * widgit
 * ========================================== */
.widget {
  margin: auto;
}
.widget h2 {
  margin: auto;
  padding: 5px 10px 5px 10px;
  /* 侧栏标题在 .content 之外，原来是靠上面那条泄漏的全局 h2 规则拿到
	 * text-shadow 的。那条规则补上 .content 限定后这里会丢掉阴影，
	 * 所以显式声明同样的值，保持改动前后视觉一致。
	 * （margin / font-weight 本来就是自己定义的，特异性更高，不受影响） */
  text-shadow: rgba(255, 255, 255, 0) 0 0.0625rem;
  color: #000000;
  background: #8B4513;
  border: 1px solid #803530;
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.2), 10px 0px 5px rgba(0, 0, 0, 0.4);
  text-align: center;
  text-transform: uppercase;
  font-size: 1.3em;
  line-height: 1.5em;
  font-weight: 200;
  letter-spacing: 0.01em;
}
.widget-content {
  background: url('../images/toc-bg.jpg') repeat scroll 0 0;
  transition: 1s;
  overflow: hidden;
  margin-bottom: 15px;
  padding: 10px 20px 20px 20px;
  border: 1px solid #803530;
  color: #333;
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.2), 10px 10px 5px rgba(0, 0, 0, 0.4);
  font-weight: 200;
  font-size: 1em;
  font-smooth: always;
  line-height: 1.2em;
  letter-spacing: 0.02em;
}
.widget-item-control {
  float: right;
  height: 20px;
  margin-top: -20px;
  position: relative;
  z-index: 10;
}
.img-text-lst {
  list-style: none;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  outline: none;
}
.img-text-lst li {
  border-bottom: 1px dashed #6D3D1B;
  padding: 0.7em 0;
  margin: 0;
  vertical-align: baseline;
  outline: none;
}
.img-text-lst div {
  padding: 0;
  padding-bottom: 0px;
  vertical-align: baseline;
  outline: none;
}
.img-text-itm {
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  outline: none;
}
.item-thumbnail {
  float: left;
  margin: 0 5px 5px 0;
  height: 72px;
  padding: 5px;
  outline: none;
}
.item-thumbnail img {
  padding: 0px;
  margin-right: 8px;
  border-radius: 5px;
  -moz-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
}
.item-thumbnail img.img-hov {
  -webkit-filter: saturate(0);
  -moz-filter: saturate(0);
}
.item-thumbnail img.img-hov:hover {
  -webkit-filter: saturate(1.1);
  -moz-filter: saturate(1.1);
}
.img-text-lst .item-title {
  padding-bottom: 0.2em;
}
.img-text-lst .item-title a {
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  color: #333;
  margin: 0;
  padding: 0;
  padding-bottom: 0px;
  vertical-align: baseline;
  outline: none;
}
.img-text-lst .item-title a:visited {
  color: #333;
}
.img-text-lst .item-title a:hover {
  color: #333;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
}
/* ==========================================
 * 目录
 * ========================================== */
.sideTocWrapper {
  position: fixed;
  top: 60px;
  width: 300px;
}
.sideToc {
  overflow: scroll;
  background: url('../images/toc-bg.jpg') repeat scroll 0 0 rgba(218, 165, 32, 0.35);
  color: #000000;
  cursor: pointer;
  font-size: 1em;
  font-weight: 450;
}
.tocWrap {
  position: fixed;
  right: 10px;
  top: 60px;
  width: 300px;
  z-index: 100;
  opacity: 0.3;
}
.tocWrap:hover {
  opacity: 0.8;
}
.toggler {
  position: relative;
  z-index: 101;
  border: 1px solid #803530;
  border-radius: 5px 5px 0 0;
  background: none repeat scroll 0 0 #8B4513;
  color: #000000;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
}
/* 目录展开与收起状态 */
.tocIdx {
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid #803530;
  border-radius: 0 0 5px 5px;
  background: url('../images/toc-bg.jpg') repeat scroll 0 0 rgba(218, 165, 32, 0.35);
  transition: 1s;
}
.tocIdx ul {
  margin: 0;
  padding-left: 30px;
}
.tocIdx ol {
  margin: 0;
  padding-left: 30px;
}
.tocIdx li {
  color: #000000;
}
.tocIdx a {
  color: #000000;
}
/* 目录层级收起/打开 */
.tocIdx > ul ul {
  overflow: hidden;
}
.toc-icon-open {
  list-style-image: url('../images/close.gif');
}
.toc-icon-close {
  list-style-image: url('../images/open.gif');
}
.toc-sub-open {
  width: auto;
  height: auto;
  transition: 1s width, 1s 1s height;
}
.toc-sub-close {
  width: 0px;
  height: 0px;
  transition: 1s width, 1s 1s height;
  overflow: hidden;
}
/* ==========================================
 * todo-list
 * ========================================== */
li.done0 {
  list-style-image: url('../images/icon-ballot_box_empty.png');
}
li.done1 {
  list-style-image: url('../images/icon-ballot_box_cross.png');
}
li.done2 {
  list-style-image: url('../images/icon-ballot_box_doing.png');
}
li.done3 {
  list-style-image: url('../images/icon-ballot_box_doing.png');
}
li.done4 {
  list-style-image: url('../images/icon-ballot_box_ok.png');
}
/* ==========================================
 * 表格
 * ========================================== */
table {
  /* font-size: 12px; */
  border-collapse: collapse;
}
th {
  padding: 8px;
  color: #FFFFFF;
  background: #349C49;
  border: 1px solid #C2DFC2;
  font-weight: normal;
}
td {
  padding: 8px;
  color: #000000;
  background: #F0F7F1;
  border: 1px solid #C2DFC2;
}
tbody tr.odd td {
  padding: 8px;
  color: #000000;
  background: #FFFFFF;
}
tbody tr:hover td {
  /* font-weight:bold; */
  color: #000000;
  background: #BCC7D4;
  transition: 0.5s;
}
/* DataTable插件的配色 */
table.dataTable tbody tr {
  background-color: #F0F7F1;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
  color: #000000;
}
.dataTables_wrapper .dataTables_filter input {
  background-color: #F0F7F1;
  border: #4A4A49;
  color: #4A4A49;
}
.dataTables_wrapper .dataTables_length select {
  background-color: #F0F7F1;
  border: #4A4A49;
  color: #4A4A49;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 0;
  margin-left: 0;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  color: #666 !important;
}
.pagination > .disabled > a,
.pagination > .disabled > a:focus,
.pagination > .disabled > a:hover,
.pagination > .disabled > span,
.pagination > .disabled > span:focus,
.pagination > .disabled > span:hover {
  color: #777;
  background-color: #fff;
  border-color: #ddd;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #333 !important;
}
.pagination > li > a,
.pagination > li > span {
  color: #337ab7;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  color: #fff;
  background-color: #337ab7;
  border-color: #337ab7;
}
/* ==========================================
 * 代码高亮调整
 * ========================================== */
/* 高亮代码与bootstrap冲突，会错开一行。修改display回到block */
.btn-group-vertical > .btn-group:after,
.btn-group-vertical > .btn-group:before,
.btn-toolbar:after,
.btn-toolbar:before,
.clearfix:after,
.clearfix:before,
.container-fluid:after,
.container-fluid:before,
.container:after,
.container:before,
.dl-horizontal dd:after,
.dl-horizontal dd:before,
.form-horizontal .form-group:after,
.form-horizontal .form-group:before,
.modal-footer:after,
.modal-footer:before,
.modal-header:after,
.modal-header:before,
.nav:after,
.nav:before,
.navbar-collapse:after,
.navbar-collapse:before,
.navbar-header:after,
.navbar-header:before,
.navbar:after,
.navbar:before,
.pager:after,
.pager:before,
.panel-body:after,
.panel-body:before,
.row:after,
.row:before {
  /* block bad work with syntexhighlight 
	display: table;
*/
  display: block;
  content: " ";
}
/* 行内代码 */
.content h1 > code,
.content h2 > code,
.content h3 > code,
.content h4 > code,
.content h5 > code,
.content h6 > code,
li > code,
li > a > code,
p > code,
td > code {
  position: relative;
  top: -2px;
  margin: 1px 2px 1px 2px;
  padding: 0px 1px 1px 1px;
  white-space: nowrap;
  border: 1px solid #4A4A49;
  border-radius: 3px;
  font-size: 0.9em;
  background-color: rgba(74, 74, 74, 0.3);
  text-shadow: rgba(255, 255, 255, 0.7) 0 0.0625rem;
  color: #4A4A49;
}
th > code {
  color: #FFFFFF;
  background: #349C49;
  border: 1px solid #FFFFFF;
}
/* 非syntaxhighlighter的代码块 */
pre {
  color: #4A4A49;
  background-color: rgba(74, 74, 74, 0.3);
  border: 1px solid #4A4A49;
  font-size: 15px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px;
}
pre code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background: transparent;
}
/*
.highlight pre { background-color: #f8f8f8; border: 1px solid #cccccc; font-size: 13px; line-height: 19px; overflow: auto; padding: 6px 10px; border-radius: 3px; }
*/
/* 去掉syntaxhighlighter上的小问号 */
.syntaxhighlighter .toolbar {
  display: none;
}
/* ==========================================
 * 数学公式调整
 * ========================================== */
/*  .MathJax_Display { background-color: #FFFFFF; }  */
/*
span.MathJax{padding: 0 5px 0 5px;background-color: #CCCC99 }
span.math{padding: 0 5px 0 5px;background-color: #CCCC99 }
*/
/* .MathJax_Display>.MathJax{padding:0px;background-color:rgba(255,255,255,0)} */
.MathJax {
  color: #000000;
}
.MathJax_Display {
  padding: 0 5px 0 5px;
  background-color: #F0F0F0;
  color: #000000;
}
.content h1 .MathJax {
  background-color: rgba(218, 165, 32, 0);
  color: #4a4a49;
}
.content h2 .MathJax {
  background-color: rgba(218, 165, 32, 0);
  color: #4a4a49;
}
th .MathJax {
  color: #FFFFFF;
  background: #349C49;
}
/* ==========================================
 *  side-bar
 * ========================================== */
.side-blank-block {
  height: 60px;
}
/* ==========================================
 *  pop-image
 * ========================================== */
#photo-frame > .modal-dialog {
  width: 95%;
}
/* 兜底规则，配合文件开头 title 区块的选择器修正一起看。
 * .close 是 float 的非定位元素，绘制层级低于任何定位元素；同级的
 * h4.modal-title 撑满整行宽，一旦它被加上 position 就会盖住关闭按钮，
 * 命中测试同序，按钮直接点不动（曾由全局 h2~h6 规则泄漏引发）。
 * 这里显式定位并抬高层级，之后再有类似的样式泄漏也不会复发。
 * 用 .modal-header>.close 而非 #photo-frame 下的后代选择器，
 * 让所有 bootstrap 弹窗都受保护，不限于图片查看框。 */
.modal-header > .close {
  position: relative;
  z-index: 1;
}
