/*标题设置 */

.reveal h1,.reveal h2, .reveal h3, .reveal h4 {
  margin: 0 0 20px 0 !important; /* 默认是12px */
  text-align: center !important;
}

.reveal h3 {
  font-size: 140% !important; /* 默认字号偏小 */
  color: #006DAE !important;   /* 改变默认颜色 */
  font-style: italic !important;
}

.reveal h4 {
  font-size: 120% !important; /* 默认字号偏小 */
  color: #000000 !important;   /* 改变默认颜色 */
}

/* 标题inverse颜色（白色） 垂直居中 */
.reveal .inverse h2, .reveal .inverse h3, .reveal .inverse h4 {
  margin: 0 !important;
  color: white !important;
  position: absolute !important;
  top: 50% !important;
}

/* 标题文本垂直居中 */
.reveal .center-v h2, .reveal .center-v h3, .reveal .center-v h4 {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}


/* 设定文本居中*/
.center-h {
  text-align: center !important;
  font-size: 40px !important;
  color: #000000 !important;
}


/* 设定文本颜色*/
.white {
  color: white !important;
}

.red {
  color: red !important;
}

.blue {
  color: blue !important;
}

.green {
  color: green !important;
}

.orange {
  color: orange !important;
}

.yellow {
  color: yellow !important;
}

/* 设定footer位置大小*/
.reveal .footer{
  position:fixed;
  bottom: 11px !important;
  font-size: 12px !important;
}

/* 设定logo大小*/
.reveal .slide-logo{
  height: 100% !important;
  max-height: 1rem !important;
}


/* 调整字体大小 */

.font-115 {
  font-size: 115% !important;
}

.font-110 {
  font-size: 110% !important;
}

.font-105 {
  font-size: 105% !important;
}

.font-95 {
  font-size: 95% !important;
}

.font-90 {
  font-size: 90% !important;
}

.font-85 {
  font-size: 85% !important;
}

.font-80 {
  font-size: 80% !important;
}

.font-75 {
  font-size: 75% !important;
}


/*DT datatable信息设置  */

div.datatables{
  font-size: 90% !important;
}

.dataTables_info, .dataTables_paginate{
  font-size: 60% !important;
}

/* 图题表题字体*/

.reveal .slide figure >figcaption {
  font-size: 70% !important;
  margin-top: 0.75rem !important;
  margin-bottom: 0.75rem !important;
  font-weight: bold !important;
  font-style: italic !important;
  text-align: center !important;
}

/* 环境公式，字体控制，缩小上下margin*/
.reveal .slide p > span.math > div.MathJax_Display{
  font-size: 80% !important;
  margin-top: 0.25rem !important;
  margin-left: 0rem !important;
  margin-bottom: 0.25rem !important;
  text-align: center !important;
  padding-left: 0rem !important;
}
/* katex 设置*/
.reveal .slide p > span.math > span.katex-display{
  font-size: 80% !important;
  margin-top: 0.25rem !important;
  margin-left: 0rem !important;
  margin-bottom: 0.25rem !important;
  text-align: center !important;
  padding-left: 0rem !important;
}


.math-left {
  text-align: left !important;
  display: block;
  margin-left: 1em; /* 1em is usually a good starting point */
}

/* 行内公式，字体控制*/
.reveal .slide p > span.math.inline {
  /* 字号缩小*/
  font-size: 80% !important;
  /* 浅灰色 */
  background-color: #f0f0f0 !important;
}

/* 设置aside位置和颜色*/
.reveal .slide aside, .reveal .slide div.aside {
  bottom: 5px!important;
  color: hsl(0, 96%, 49%)!important;
}

/* 设置章节导航的字体和大小*/
.toc-sec{
  font-size: 110% !important;
  font-family: 'Ma Shan Zheng' !important;
  text-align: center !important;
  font-style: bold !important;
  color: white !important;
}
