@font-face {
  font-family: 'SourceHanSansCN';  /* project id 825298 */
  src: url("../fonts/SourceHanSansCN/sfont.eot"); /* IE9 */
  src: url("../fonts/SourceHanSansCN/sfont.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
  url("../fonts/SourceHanSansCN/sfont.woff") format("woff"), /* chrome, firefox */
  url("../fonts/SourceHanSansCN/sfont.ttf") format("truetype"), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
  url("../fonts/SourceHanSansCN/sfont.svg#Source Han Sans CN Normal") format("svg"); /* iOS 4.1- */
  font-style: normal;
  font-weight: normal;
}

@font-face {
  font-family: 'TimesNewRoman';  /* project id 825298 */
  src: url("../fonts/TimesNewRoman/times.ttf") format("truetype"); /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
  font-style: normal;
  font-weight: normal;
}





*:focus {
  outline: none !important;
  outline-offset: 1px;
  box-shadow: none;
}

/* 滚动条整体 整体如果不设置，只设置滑块和轨道是没有效果的 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  border-radius: 10px;
}
/* 滑块 */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #E5E5E5;
}
/* 轨道 */
::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: #fff;
}

html,
body {
  font-family: 'SourceHanSansCN';
  color: #000;
}

.pre {
  font-family: 'SourceHanSansCN';
} 

a {
  text-decoration: none;
  text-decoration-color: initial;
  /* text-decoration: initial; */
  text-decoration-color: #eeebee;
  color: #000000;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: #2067FB;
  text-decoration-color: #878787;
  color: #2067FB;
}

.rst-content a,
body a:hover,
body.theme-dark a:hover {
  color: #2067FB;
}

/* .rst-content {
  padding-top: 30px;
  padding-right: 0;
  margin-right: 20px;
} */

/* .rst-content a {
  color: var(--text-color2);
} */

.rst-content > main {
  padding-top: 30px;
  border-top: 1px solid var(--border-main-color);
}

.form-control:focus {
  box-shadow: none;
  border-color: #cecece;
}

header.bg-primary {
  background-color: var(--bg-main-color) !important;
  border-bottom: 1px solid var(--border-main-color);
}

.bg-primary .navbar-dark a {
  color: #000;
  font-size: 20px;
}

.bg-primary .navbar-dark a:hover {
  color: #2067FB
}

footer.bg-primary {
  background-color: #333 !important;
}

.custom-footer-content {
  padding: 13px !important;
  font-size: 14px;
  line-height: 20px;
}

a.text-decoration-none {
  display: none;
}

.custom-content-container {
  /* border-left: 1px solid var(--border-main-color); */
  /* margin-left: 10px; */
  padding: 0 20px 0 40px ;
  padding-top: 0 !important;
}
@media (max-width: 1200px) {
  .custom-content-container{
    padding-left: 15px;
    padding-right: 15px;
  }
}
.custom-content-container .align-items-baseline {
  height: 60px;
  align-items: center !important;
}

.custom-content-container .align-items-baseline div {
  margin-top: 0 !important;
}

.custom-content-container .align-items-baseline div:last-child {
  display: none;
}

.custom-content-container .custom-content-hr {
  display: none;
  /* margin-top: 0 !important;
  margin-bottom: 0 !important; */
}

p {
  margin-bottom: 16px;
  line-height: 32px;
}


.custom-content-container .row main section {
  margin: 40px 0;
}

:is(.custom-content-container main) :is(h2, h3, h4, h5, h6) {
  margin: 40px 0 20px
}

.custom-content-container .row main > section {
  margin-top: 0;
}


.table-responsive .docutils :is(.row-odd, .row-even) td:first-child {
  /* padding-left: 36px; */
}


.breadcrumb-item.active {
  color: #000;
}


figure img {
  box-shadow:none;
}
.toc .toctree-expand,
.toc .toctree-expand:focus, 
.toc .current> .toctree-expand,
.toc  .current> .toctree-expand:focus  {
  background: transparent;
  box-shadow: none;
}
.toc .toctree-expand:before {
  width: 7px;
  height: 7px;
  border: none;
  background: url(../images/icon-right.png) no-repeat center;
  background-size: contain;
}
.toc .toctree-expand::after {
  display: none;
}
li.toctree-l1.current .toctree-expand:before {
  transform: translate(-50%, -50%) rotate(90deg);
  -webkit-transform: translate(-50%, -50%) rotate(90deg);
  -moz-transform: translate(-50%, -50%) rotate(90deg);
  -ms-transform: translate(-50%, -50%) rotate(90deg);
  -o-transform: translate(-50%, -50%) rotate(90deg);
}
