/* 公共 */
.inner,
.content,
.links,
.copyright {
    position: relative;
    width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.wrap>.content {
  width: 1400px;
  padding-top: 25px;
}

/* 页头start */
body {
    overflow-x: hidden;
    background: none;
}
.header-top {
  background: url("../images/layout/header-bg.png") no-repeat bottom center / 100% auto, linear-gradient(to bottom, #8cc0ff 0%, #e8f3ff 40%, transparent 100%);
  border-bottom: 4px solid #80ADE4;
}
.top-bar {
  height: 36px;
  line-height: 36px;
  font-size: calc(var(--font-size-base) - 2px);
  color: #0E4CA2;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-date em { font-style: normal; }
.top-links a {
  color: #0E4CA2;
  margin: 0 4px;
}
.top-links a:hover { color: #1e5aab; }
.top-links .divider { margin: 0 2px; }
.top-links .iconfont { margin-right: 2px; }
.logo-area { padding: 15px 0 10px; }
.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 37px;
  position: relative;
}
.site-logo { display: inline-block; }
.site-logo img {
  display: block;
  height: 95px;
  width: auto;
}
.nav-toggle {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #1e5aab;
  border-radius: 1px;
}
.search-wrap { text-align: center;margin-bottom: 20px }
.search-box {
  display: inline-flex;
  align-items: center;
  width: 580px;
  max-width: 100%;
  height: 52px;
  border: 1px solid #1e5aab;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}
.search-icon {
  flex-shrink: 0;
  margin-left: 16px;
  color: #245CAA;
}
.search-input {
  flex: 1;
  border: none;
  padding: 0 12px;
  outline: none;
  background: transparent;
  color: #245CAA;
}
.search-input::placeholder{
  color: #245CAA;
}
.search-btn {
  flex-shrink: 0;
  height: 100% !important;
  background: #1e5aab;
  color: #fff;
  border: none;
  padding: 0 28px;
  cursor: pointer;
}
.search-btn:hover { background: #164785; }
.hot-search {
  margin-top: 8px;
  font-size: calc(var(--font-size-base) - 2px);
  color: #0E4CA2;
}
.hot-search a {
  color: #0E4CA2;
  margin: 0 6px;
}
.main-nav {
  background: #1e5aab;
  height: 80px;
  box-sizing: border-box;
  border-bottom: 1px solid #5A8EC9;
}
.main-nav .layout-width { height: 100%; }
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}
.nav-list li {
  position: relative;
  flex: 1;
  text-align: center;
}
.nav-list li a {
  height: 100%;
  color: #fff;
  font-size: var(--font-size-title);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-list li a:hover,
.nav-list li.active a { background: rgba(0, 0, 0, .12); }
.nav-list li.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #fff;
}
.nav-mask {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .45);
}
.nav-drawer {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  z-index: 1001;
  background: #fff;
  transition: right .3s ease;
  overflow-y: auto;
}
.nav-drawer.open { right: 0; }
.nav-mask.show { display: block; }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #e8eef5;
}
.drawer-logo img {
  display: block;
  width: 75%;
}
.drawer-close {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.drawer-close::before,
.drawer-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #1e5aab;
}
.drawer-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.drawer-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.drawer-list li { border-bottom: 1px solid #e8eef5; }
.drawer-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  color: #1e5aab;
  font-size: 16px;
  font-weight: 600;
}
.drawer-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #c5d3e3;
  border-right: 2px solid #c5d3e3;
  transform: rotate(45deg);
}
body.nav-open { overflow: hidden; }
@media (max-width: 992px) {
  .logo-area { padding: 12px 0 16px; }
  .logo-row {
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0 4px;
  }
  .site-logo img { height: 48px; }
  .nav-toggle { display: block; }
  .search-box { width: 100%; }
  .search-btn { padding: 0 20px; }
  .main-nav { display: none; }
}
@media (max-width: 768px) {
  .search-wrap{
    margin-bottom: 10px;
  }
  .top-bar {
    height: auto;
    line-height: 1.6;
    padding: 6px 0;
  }
  .top-bar-inner {
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
  }
  .top-date,
  .top-links { font-size: 12px; }
  .hot-search { font-size: 12px; }
}
/* 页头end */

/* 页脚start */
.friend-links {
  background: #DFF2FF;
  padding: 14px 0;
}
.friend-links-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.friend-label {
  flex-shrink: 0;
  color: #333;
}
.friend-btns {
  flex: 1;
  display: flex;
  gap: 12px;
}
.friend-btns a {
  flex: 1;
  display: block;
  text-align: center;
  background: #fff;
  color: #333;
  padding: 10px 16px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: color .2s;
}
.friend-btns a:hover { color: #1e5aab; }
.site-footer {
  background: #1e5aab;
  color: rgba(255,255,255,.92);
  padding: 20px 0;
  font-size: calc(var(--font-size-base) - 2px)
}
.site-footer .popover .qrcode {
  width: 134px;
  height: 134px;
}
.site-footer .popover-title {
  display: none;
}
.footer-inner {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.footer-col {
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  padding: 16px 20px;
}
.footer-info {
  flex: 1;
  min-width: 0;
}
.footer-info p {
  margin: 0;
  line-height: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
}
.footer-info a {
  color: rgba(255,255,255,.92);
}
.footer-info a:hover { color: #fff; }
.footer-police-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
}
.footer-badge {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-badge img {
  display: block;
  height: 56px;
  width: auto;
  object-fit: contain;
}
.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.92);
  white-space: nowrap;
  cursor: pointer;
}
.social-item:hover,.social-item:active, .social-item:focus { color: #fff; }
.social-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
@media (max-width: 992px) {
  .friend-links-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .friend-btns {
    width: 100%;
    flex-direction: column;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-info p { justify-content: center; text-align: center; }
  .footer-badge,
  .footer-social { justify-content: center; }
}
@media (max-width: 768px) {
  .footer{
    font-size: 14px;
  }
  .footer-social {
    flex-wrap: wrap;
    gap: 16px;
  }
}
/* 页脚end */

/* 侧边栏start */
.float-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  background: rgba(232, 241, 251, .95);
  box-shadow: -2px 0 10px rgba(30, 90, 171, .12);
  border-radius: 8px;
}
.float-sidebar .popover .qrcode {
  width: 134px;
  height: 134px;
}
.float-sidebar .popover-title {
  display: none;
}
.float-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 5px;
  font-size: calc(var(--font-size-base) - 2px);
  border-bottom: 1px solid rgba(30, 90, 171, .12);
  width: 94px;
  text-align: center;
  transition: background .2s;
  cursor: pointer;
}
.float-sidebar .popover{
  left: auto !important;
  right: 94px;
}
.float-item:last-child {
  border-bottom: none;
  padding: 14px 10px;
}
.float-item:hover {
  background: rgba(255, 255, 255, .6);
}
.float-item:last-child:hover, .float-item:first-child:hover {
  border-radius: 0 0 8px 8px;
}
.float-item img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.float-item.back-top img {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .float-sidebar { display: none; }

  /* 公共 */
.inner,
.content,
.links,
.copyright {
    width: 100%;
}
.wrap>.content {
  width: 100%;
  padding-top: 10px;
}
}

/* 字体 */
.jfontsize {
    float: right;
    height: 32px;
    margin: -1px 0;
    padding: 0 20px;
}

.jfontsize a {
    float: left;
    box-sizing: content-box;
    display: block;
    width: 24px;
    height: 24px;
    border: 1px solid #ddd;
    margin: 0 4px;
    padding: 3px;
    background-color: #fff;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.jfontsize a i {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    background-image: url(/material/images/jfont.png);
    background-repeat: no-repeat;
}

#jfontsize-p2 i {
    background-position: 0 0;
}

#jfontsize-m2 i {
    background-position: -24px 0;
}

#jfontsize-d2 i {
    background-position: -48px 0;
}

a#jfontsize-p2:hover i {
    background-position: 0 -24px;
}

a#jfontsize-m2:hover i {
    background-position: -24px -24px;
}

a#jfontsize-d2:hover i {
    background-position: -48px -24px;
}
.detail-main {
    padding-top: 40px;
    padding-bottom: 40px;
}
/* 侧边栏end */
