/* 全局变量 */
:root {
  --primary-color: #409eff;
  --link-color: #409eff;
  --section-padding: 2rem;
}

/* 通用样式 */
body {
  color: #5a5a5a;
  font-size: 14px;
  background-color: #f6f6f6;
}

dl,dt,dd,ul,li {
  list-style: none;
  margin: 0;
  padding: 0;
}

p {
  margin-top: 0.5rem;
  margin-bottom: 0;
}

a {
  text-decoration: none;
}

/* 章节 */
section {
  padding-top: 2rem;
}

/* 版块标题 */
section h2 {
  color: #333;
  font-size: 18px;
  font-weight: 500;
}

h3 {
  padding: 0;
  margin: 0;
  font-weight: 500;
}

h4 {
  font-weight: normal;
}

.btn-primary {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  padding: 6px 20px;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 20px;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-large {
  padding: 10px 30px;
}

.btn-white, .btn-white-blank {
  padding: 0.5rem 1.2rem;
  font-size: 18px;
  margin: 0 20px;
}

.btn-white,.btn-white:hover {
  color: var(--primary-color);
  background-color: #fff;
  border-color: #fff;
}

.btn-white-blank,.btn-white-blank:hover {
  color: #fff;
  background-color: transparent;
  border-color: #fff;
}

/* 工具类 */
.whtie {
  color: #FFF;
}

.row {
  margin-right: -20px;
}

/* 默认样式, 基于移动端优先的样式 */
.topbar {
  width: 100%;
  z-index: 1;
  transition: all 0.5s;
  position: fixed;
  background-color: #FFFFFF;
}

.topbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;  
}

.topbar-left {
  display: flex;
  align-items: center;
}

.topbar-menu li > a {
  text-decoration: none;
  color: #333;
}

.topbar-menu li > a:hover {
  color: var(--link-color);
}

.topbar-brand {
  display: block;
  margin-left: 0;
  margin-right: 3rem;
  height: 25px;
}

.topbar-menu {
  display: flex;
  align-items: center;
}

.topbar-menu li {
  height: 50px;
  line-height: 50px;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 14px;
  position: relative;
}

.topbar-menu li.active:after {
  content: "";
  height: 3px;
  width: 25px;
  background-color: var(--primary-color);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.main {
  padding-top: 50px;
  /* padding-bottom: 40px; */
}

.row {
  overflow: hidden;
}

.col-3 {
  width: 25%;
}

.col-20 {
  box-sizing: border-box;
  width: 20%;
  float: left;
  padding-right: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.card {
  background-color: #FFF;
  border-radius: 5px;
}

.card:hover {
  cursor: pointer;
  box-shadow: 1px 1px 3px #ccc;
}

.card:hover img {
  filter: brightness(70%);
}

.card img {
  width: 100%;
  height: 120px;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  object-fit: cover;
  filter: brightness(100%);
}

.card-title {
  font-size: 14px;
  height: 40px;
  height: 40px;
  line-height: 40px;
  font-weight: 400;
  padding-left: 15px;
}

.experience {
  text-align: center;
  padding: 0px 0 40px 0;
}

.experience a {
  display: inline-block;
}

/* 分页 */
.pagination {
  overflow: hidden;
  text-align: center;
}

.pagination .page-item {
  display: inline-block;
  margin-left: 5px;
  margin-right: 5px;
  font-size: 12px;
}

.pagination .page-link {
  display: block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  padding: 5px;
  background-color: #eee;
  color: #666;
}

.pagination .page-item:not(.disabled) .page-link:hover {
  color: var(--primary-color);
}

.pagination .page-item.active .page-link {
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.pagination .page-item.disabled .page-link {
  cursor: not-allowed;
}



.footer {
  background-color: #292929;
  color: #999;
  overflow: hidden;
  padding-bottom: 20px;
}

.footer-info {
  padding-top: 30px;
  padding-bottom: 30px;
}

.footer-info-left {
  list-style: none;
  display: flex;
}

.footer-info-left li {
  flex: 1;
  text-align: center;
  margin-bottom: 8px;
}

.footer-info-left li:last-child {
  margin-bottom: 0;
}

.footer-info-left > li > span {
  color: #fff;
  display: block;
  font-size: 14px;
  padding-bottom: 10px;
}

.footer-info-left>li>ul>li>a, .footer-info-left>li>ul>li>a:focus {
  color: #999;
  text-decoration: none;
  font-size: 14px;
}

.footer-info-left>li>ul>li>a:hover, .footer-info-left>li>ul>li>a:focus {
  color: var(--link-color);
  text-decoration: none;
}

.footer-info-right {
  display: flex;
}

.footer-info-right li {
  flex: 1;
  text-align: center;
}

.footer-info-right img {
  display: inline-block;
}

.footer-info-right span {
  display: block;
  margin-bottom: 10px;
}

.footer-copyright {
  font-size: 12px;
  text-align: left;
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom);
  display: flex;
  justify-content: space-between;
}

.footer-copyright > div {
  height: 20px;
  display: flex;
  align-items: center;
  line-height: 20px;
}

.footer-copyright img + span {
  margin-left: 0.3rem;
}

.footer-links {
  font-size: 12px;
  margin-top: 10px;
}

.footer-links a {
  display:inline-block;
  color: #999;
  text-decoration: none;
  margin-right: 5px;
  margin-bottom: 5px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.banner {
  position: relative;
}

.banner img {
  width: 100%;
}

.banner-enter {
  box-sizing: border-box;
  background-color: #FFF;
  position: absolute;
  text-align: center;
  width: 8rem;
  top: 50%;
  left: 50%;
  margin-top: -1.3rem;
  margin-left: -4rem;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  color: var(--primary-color);
}

.banner-enter:hover {
  transform: scale(1.05);
}

.container {
  max-width: 1260px;
  min-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 60px;
  padding-right: 60px;
  box-sizing: border-box;
}

.pages {
  padding-top: 80px;
  padding-bottom: 40px;
}

.content-wrapper {
  display: flex;
}

.content-body {
  width: 100%;
  flex: 1;
}

.document-item {
  background-color: #FFFFFF;
  margin-bottom: 15px;
  padding: 20px 20px 20px 20px;
  overflow: hidden;
}

.document-item h3 {
  font-size: 18px;
}

.document-item h3 a {
  color: #393939;
}

.document-item h3 a:hover {
  color: var(--primary-color);
}

.document-item img {
  width: 100px;
  height: 70px;
  float: left;
  margin-top: 10px;
  margin-right: 20px;
  object-fit: cover;
}

.content-right {
  width: 300px;
  margin-left: 15px;
}

.content-right dl {
  background-color: #FFFFFF;
  padding: 15px 0 10px 0;
  margin-bottom: 15px;
}

.content-right dt {
  font-size: 14px;
  font-weight: bold;
  padding: 0px 15px;
  margin-bottom: 10px;
}

.content-right dd {
  padding: 5px 15px;
}

.content-right dd a {
  display: block;
  text-decoration: none;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-right dd a:hover {
  color: var(--primary-color);
}

.content-right img {
  width: 100%;
}

.news {
  padding-top: 50px;
  padding-bottom: 40px;
}

.pages {
  padding-top: 80px;
  padding-bottom: 40px;
}

.breadcrumbs {
  padding: 15px 0;
}

.breadcrumbs a {
  color: var(--primary-color);
}

.breadcrumbs a.current {
  color: #666;
  cursor: not-allowed;
}

.breadcrumbs a::after {
  content: '/';
  margin-right: 8px;
  margin-left: 10px;
  color: #ccc;
}

.breadcrumbs a:last-child::after {
  content: '';
}

.editor {
  background-color: #FFFFFF;
  padding: 20px 40px;
  width: 100%;
  box-sizing: border-box;
}

.editor-title {
  font-size: 16pt;
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #eee;
  padding: 10px 0 20px 0;
}


.editor-paging {
  display: flex;
  justify-content: space-between;
}

.editor-paging a {
  color: var(--primary-color);
}

.editor-paging a:hover {
  text-decoration: underline;
}

.editor-content {
  margin-top: 20px;
  margin-bottom: 40px;
}

.editor-content img {
  max-width: 100%;
  height: auto;
  cursor: zoom-in;
}

.editor-content figure,
.editor-content figcaption {
  margin-left: 0;
  margin-right: 0;
}

.editor-content figure {
  margin-top: 1.4em;
}

.editor-content figcaption {
  margin-top: 0.6em;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: #999;
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
  font-weight: 500;
  margin-bottom: 0;
  color: #333333;
}

.editor-content h1 {
  font-size: 15pt;
  margin-top: 1.8em;
}

.editor-content h2 {
  font-size: 14pt;
  margin-top: 1.8em;
}

.editor-content h3 {
  font-size: 13pt;
  margin-top: 1.8em;
}

.editor-content h4 {
  font-size: 12pt;
  margin-top: 1.3em;
}

.editor-content h5,
.editor-content h6 {
  font-size: 12pt;
  margin-top: 1.3em;
}

.editor-content p,
.editor-content ul,
.editor-content ol,
.editor-content dl,
.editor-content li {
  font-size: 11pt;
  word-break: break-word;
  line-height: 1.6;
}

.editor-content p.doc-empty-paragraph {
  margin-top: .8em;
}

.editor-content h1:first-child,
.editor-content h2:first-child,
.editor-content h3:first-child,
.editor-content h4:first-child,
.editor-content h5:first-child,
.editor-content h6:first-child,
.editor-content p:first-child,
.editor-content ul:first-child,
.editor-content ol:first-child,
.editor-content dl:first-child,
.editor-content blockquote:first-child,
.editor-content pre:first-child {
  margin-top: 0;
}

.editor-content p,
.editor-content blockquote,
.editor-content pre {
  margin-top: 1em;
  margin-bottom: 0px;
}

.editor-content table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: 10px;
  font-size: 14px;
}

.editor-content table tr th {
  background: #f7f7f7 center right no-repeat;
  border: 1px solid #dddddd;
  padding: 7px 10px;
  text-align: left;
  word-wrap: break-word;
  word-break: break-all;
}

.editor-content table tr td {
  border: 1px solid #dddddd;
  padding: 7px 10px;
  text-align: left;
  vertical-align: top;
  word-wrap: break-word;
  word-break: break-all;
}

.editor-content pre {
  overflow: scroll;
}

.editor-content .attachment {
  display: block;
  cursor: pointer;
  padding: 10px 10px 10px 40px;
  margin: 10px 0;
  border: 1px solid #dddddd;
  color: #333;
  text-decoration: none;
  border-radius: 3px;
  background-size: 26px 26px;
}

.editor-content .tox-checklist>li:not(.tox-checklist--hidden) {
  line-height: 1.5;
}

.editor-content ul,
.editor-content ol,
.editor-content dl {
  margin-top: 1em;
  margin-bottom: 1em;
}

.editor-content ul {
  margin-left: 2em;
  padding-left: 0;
}

.editor-content ul li {
  list-style-type: disc;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.editor-content ul>ul>li {
  list-style-type: circle;
}

/* 学主持 */
.study {
  padding-top: 80px;
  padding-bottom: 40px;
}

.study-box {
  overflow: hidden;
  margin-left: -30px;
}

.study-item {
  float: left;
  margin-left: 30px;
  border-radius: 10px;
  background-color: #FFF;
  padding: 10px;
}

.study-item img {
  border-radius: 10px;
}