html,
body,
ul,
ol,
dl,
li,
dd,
p,
h1,
h2,
h3,
h4,
h5,
h6,
div,
span,
table,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
}

ul,
ol,
li {
  list-style: none;
}

a,
a:link,
a:visited {
  text-decoration: none;
  color: #000;
}

html,
body {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-width: 1326px;
}
.wrap {
  max-width: 1240px;
  margin: 0 auto;
}
.clear {
  width: 100%;
  height: 0;
  clear: both;
}

.nav .nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 90%;
  padding: 20px 0;
  margin: 0 auto;
  color: #333333;
}
.nav .logo img {
  display: block;
  height: 72px;
}
.nav ul {
  display: flex;
  justify-content: left;
  justify-content: space-between;
  gap: 32px;
}

.nav ul > li {
  position: relative;
  display: inline-block;
  flex: auto;
  /* padding: 0 5px; */
}

.nav ul li.active {
  color: #940808;
  border-bottom: 2px solid #940808;
}
.nav ul li:hover {
  color: #940808;
  border-bottom: 2px solid #940808;
}
.nav ul li a {
  height: 52px;
  line-height: 52px;
  /* padding: 0 5px; */
  display: block;
  width: 100%;
  font-size: 20px;
  color: #333;
  text-align: center;
  text-decoration: none;
}

.nav ul li ol {
  z-index: 9999;
  position: absolute;
  top: 56px;
  display: none;
  background: #fff;
  box-shadow: #777 0 1px 2px;
  width: auto;
  min-width: 100%;
  white-space: nowrap;
  box-sizing: border-box;
}

.nav ul li ol li {
  display: block;
  /* height: 40px;
  line-height: 40px; */
  color: #000;
}

.nav ul li ol li:hover {
  /* background-color: transparent; */
  border-bottom: 0;
  background-color: #940808;
}
.nav ul li ol li:hover a {
  font-size: 18px;
  color: #ffffff;
}
.nav ul > li:hover ol {
  display: block;
}

.nav ul > li ol li a {
  color: #000;
  line-height: 2.5em;
  height: 2.5em;
  padding: 0 1em;
  text-align: left;
  font-size: 16px;
  border-bottom: 0;
}

.nav ul ol dl {
  z-index: 9999;
  position: absolute;
  display: none;
  margin-left: calc(100% + 1px);
  margin-top: -2.5em;
  width: auto;
  background: #fff;
  box-shadow: #777 0 0 2px;
}

.nav ul ol dl::before {
  content: "";
  position: absolute;
  top: 0.8em;
  left: -0.5em;
  width: 0;
  height: 0;
  border-right: 0.5em solid #999;
  border-top: 0.5em solid transparent;
  border-bottom: 0.5em solid transparent;
}

.nav ul ol > li:hover dl {
  display: block;
}
.nav ul ol > li:hover dl a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
}
.nav ul ol dl div {
  z-index: 9999;
  position: absolute;
  display: none;
  margin-left: calc(100% + 1px);
  margin-top: -2.5em;
  width: auto;
  background: #fff;
  box-shadow: #777 0 0 2px;
}

.nav ul ol dl div::before {
  content: "";
  position: absolute;
  top: 0.8em;
  left: -0.5em;
  width: 0;
  height: 0;
  border-right: 0.5em solid #999;
  border-top: 0.5em solid transparent;
  border-bottom: 0.5em solid transparent;
}
.nav ul li ol li dl dd:hover {
  background-color: #940808;
}
.nav ul li ol li dl dd:hover a {
  font-size: 18px;
  color: #ffffff;
}
.nav ul li ol li dl dd:hover p a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
}
.nav ul li ol li dl dd p:hover {
  background-color: #940808;
}
.nav ul li ol li dl dd p:hover a {
  font-size: 18px;
  color: #ffffff;
}
.nav ul ol dl > dd:hover div {
  display: block;
}

.crumb {
  position: relative;
  line-height: 4em;
}
.crumb a {
  font-size: 14px;
  color: #666666;
}
/**内容**/
section {
  min-height: 60vh;
}

/**category**/
.cate-children {
}

.cate-content {
}

.cate-content h1 {
  font-size: 2em;
  text-align: center;
  margin: 0.5em 0;
  border-bottom: 1px dashed #ccc;
  line-height: 2.5em;
}

.cate-content content {
  display: block;
  margin: 1em 0;
}
.cate-content .cate-content-hypxrl p span {
  font-family: "思源宋体";
}
.cate-content .cate-content-hypxrl a {
  display: block;
  margin: 0 auto;
  width: 100px;
  height: 34px;
  line-height: 34px;
  font-size: 16px;
  text-align: center;
  color: #ffffff;
  border-radius: 4px;
  background-color: #a80d0d;
  text-decoration: none !important;
}
.cate-content .cate-content-hypxrl h5 {
  margin-top: 36px;
}
/**分类子类**/
.cate-children {
  margin: 0 0 2em 0;
  font-size: 18px;
}

.cate-children ul li {
  margin: 1em 0;
  padding: 0.75em 0;
}
.cate-children ul li:not(:last-child) {
  border-bottom: 1px solid #eee;
}
.cate-children ul li > a {
  display: flex;
  font-weight: bold;
  align-items: center;
}

.cate-children ul li > a::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: #a90d0c;
  border-radius: 50%;
  margin-right: 10px;
}

/*.cate-children ul li > a::after {
    content: ">";
    display: block;
    color: #ccc;
}*/

.cate-children ul li > a span {
  flex: 1;
}

.cate-children ul li > a:hover,
.cate-children ul li > a.active {
  text-decoration: none;
  color: #a90d0c;
}

.cate-children ul li > a:hover::before,
.cate-children ul li > a.active::before {
  background: #a90d0c;
}

.cate-children dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  margin: 0.5em 0 -0.5em 0px;
}

.cate-children dl dd {
  margin: 0.75rem 3em 0.75rem 0;
}

.cate-children dl.big dd {
  flex: 0 0 calc(33.33% - 3em);
  margin: 0.5em 3em 0.5em 0;
}

.cate-children dl dd a {
  display: block;
  font-weight: normal;
}

/**分类列表**/
.cate-list-nav {
  display: flex;
  justify-content: left;
  border-bottom: 1px solid #ccc;
}

.cate-list-nav a {
  display: block;
  height: 34px;
  line-height: 34px;
  margin: 0 1em 1px 0.5em;
  color: #333;
}

.cate-list-nav a:hover,
.cate-list-nav a.active {
  color: #a90d0c;
  font-weight: bold;
  border-bottom: 2px solid #a90d0c;
  margin-bottom: -1px;
  text-decoration: none;
}

.cate-list-content {
  margin: 1em 0;
}

.cate-list-content li a {
  display: block;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  height: 34px;
  line-height: 34px;
  margin: 5px;
  align-items: center;
}
.cate-list-content li .title {
  vertical-align: bottom;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cate-list-content li a::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  background: #ccc;
  border-radius: 50%;
  margin-right: 5px;
}

.cate-list-content li a span:first-child {
  flex: 1;
}

/**5行分隔**/
.cate-list-content li:nth-child(5n)::after {
  content: "";
  display: block;
  clear: both;
  border-bottom: 1px solid #eee;
  height: 0;
  margin: 1em 0;
}

/*分页*/
.pager {
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  justify-content: center;
  margin-bottom: 2em;
}

.page-limit {
  margin: 0 1rem;
  line-height: 2.1rem;
}

.page-limit span {
}

.page-limit select {
  width: auto !important;
  display: inline !important;
  font-size: 0.9rem;
}

.pagination {
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #007bff;
  background-color: #fff;
  border: 1px solid #dee2e6;
}

.page-link:hover {
  z-index: 2;
  color: #0056b3;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.page-link:focus {
  z-index: 3;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}

.pagination-lg .page-link {
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.pagination-lg .page-item:first-child .page-link {
  border-top-left-radius: 0.3rem;
  border-bottom-left-radius: 0.3rem;
}

.pagination-lg .page-item:last-child .page-link {
  border-top-right-radius: 0.3rem;
  border-bottom-right-radius: 0.3rem;
}

.pagination-sm .page-link {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.pagination-sm .page-item:first-child .page-link {
  border-top-left-radius: 0.2rem;
  border-bottom-left-radius: 0.2rem;
}

.pagination-sm .page-item:last-child .page-link {
  border-top-right-radius: 0.2rem;
  border-bottom-right-radius: 0.2rem;
}

/**footer**/
footer {
  margin-top: 2em;
  color: #333;
  background: #878787;
  padding: 1.5em 0;
}

@media (max-width: 768px) {
  html {
    font-size: calc(100vw / 24) !important;
  }
  html,
  body {
    min-width: 100%;
  }
  .wrap {
    width: 100%;
  }

  .nav {
    display: none;
  }
  .crumb {
    padding: 15px;
    box-sizing: border-box;
    line-height: 1.5;
  }
  .cate-content content {
    padding: 0 15px;
  }
  .cate-content h1 {
    line-height: 2;
    font-size: 18px;
  }
  .cate-content .cate-content-hypxrl a {
    display: block;
    margin: 0 auto;
    width: 80px;
    height: 28px;
    line-height: 28px;
    font-size: 14px;
    text-align: center;
    color: #ffffff;
    border-radius: 2px;
    background-color: #a80d0d;
    text-decoration: none !important;
  }
  .cate-children {
    padding: 0 15px;
    box-sizing: border-box;
  }
  .cate-children dl dd a {
    font-size: 14px;
  }
  .cate-children dl.big dd {
    flex: auto;
  }
  .cate-list-nav {
    max-width: 100%;
    overflow-y: auto;
  }
  .cate-list-nav dd {
    flex: none;
  }
  .cate-list-content {
    padding: 0 15px;
  }
  .cate-list-content li:not(:first-child) {
    padding: 5px 0;
  }
  .cate-list-content li a {
    gap: 5px;
    display: block;
    height: 100%;
    line-height: 1.5;
  }
  .cate-list-content li a::before {
    display: none;
  }
  .cate-list-content li a span {
    font-size: 14px;
  }
  .cate-list-content li a .title {
    display: block;
    /* overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical; */
  }
  .cate-list-content li a .date {
    color: #999999;
    display: block;
  }

  /* 分页 */
  .pager {
    flex-direction: column;
  }
  .page-link {
    font-size: 15px;
  }
  .page-limit {
    margin: 8px 0 0 0;
    line-height: 1.5;
    font-size: 14px;
    color: #999999;
  }

  .page-limit span {
  }

  .page-limit select {
    width: auto !important;
    display: inline !important;
    font-size: 0.9rem;
  }
}
