html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* scroll-behavior: smooth; */
}

body {
  margin: 0;
  font-size: 16px;
  color: #3e3e3e;
  word-spacing: 0;
  letter-spacing: 0;
  z-index: 1;
  background: #f7f8fa;
}

body::-webkit-scrollbar {
  display: none;
}

/*<!---->去掉苹果短的样式*/
input[type="button"],
input[type="txt"],
input[type="submit"],
input[type="reset"] {
  cursor: pointer;
  -webkit-appearance: none;
}
textarea {
  -webkit-appearance: none;
}

p {
  margin: 1.2em 0;
}

*,
:after,
:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1em 0em;
  font-weight: 500;
}

h1 {
  font-size: 1.8em;
}

h2 {
  font-size: 1.6em;
}

h3 {
  font-size: 1.4em;
}

h4 {
  font-size: 1.2em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 1em;
}

code,
pre {
  margin-bottom: 30px;
  font-family: Courier, Monaco, Terminal, monospace, Consolas, Inconsolata;
}

pre {
  color: #222;
  overflow: auto;
  font-size: 13px;
  padding: 16px 2px;
  text-shadow: none;
  background: #fff;
  border: solid 1px #f2f2f2;
}

code {
  color: #e96900;
  font-size: 14px;
  border-radius: 4px;
  background: #f8f8f8;
  word-wrap: break-word;
  border: solid 1px #dbe7f3;
}

pre code {
  border: 0;
  color: #2879d0;
  background: #fff;
  word-spacing: 0;
  letter-spacing: 0;
}

blockquote {
  display: block;
  padding: 15px 1rem;
  font-size: 0.9em;
  padding-right: 15px;
  margin: 0;
  color: #819198;
  border-left: 6px solid #dce6f0;
  background: #f2f7fb;
  overflow: auto;
  word-wrap: normal;
  word-break: normal;
}

blockquote p {
  margin: 0;
}

a {
  color: #1e6bb8;
  text-decoration: none;
  word-wrap: break-word;
  background-color: transparent;
}

b,
strong {
  font-weight: 500;
}

em {
  font-style: italic;
}

del {
  font-style: italic;
}

strong em {
  font-weight: 500;
}

hr {
  height: 1px;
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px dashed #a5a5a5;
}

img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

figcaption {
  margin-top: 10px;
  text-align: center;
  color: #999;
  font-size: 0.7em;
}

table {
  display: table;
  width: 100%;
  text-align: left;
}

tbody {
  border: 0;
}

table tr {
  border: 0;
  border-top: 1px solid #ccc;
  background-color: #fff;
}

table tr td,
table tr th {
  font-size: 1em;
  border: 1px solid #ccc;
  padding: 0.5em 1em;
  text-align: left;
}

table tr th {
  font-weight: 500;
  background-color: #f0f0f0;
}

.header {
  background: #104E8B;
  border-bottom: 1px solid #e8e8e8;
  /* box-shadow: 0 1px 16px rgba(0,0,0,0.1); */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 6;
}

.header .site {
  float: left;
  font-size: 16px;
  margin-left: 4px;
  font-weight: 500;
  line-height: 52px;
  color: #ffffff;
}

.header-menu {
  float: right;
  display: flex;
  align-items: center;
  height: 52px;
}

.header-menu > ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-menu > ul > li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 8px;
  color: #ffffff;
  box-sizing: border-box;
}

.header-menu li.current a {
  font-weight: 500;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  transition: background 0.3s;
}

/*定义公共淡入淡出效果 fadenum*/
@-webkit-keyframes fadenum {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadenum {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-o-keyframes fadenum {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadenum {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.item {
  display: none;
  /* animation: fadenum .3s ease; */
}

.show {
  display: block;
}

aside#sidebar {
  float: right;
  font-size: 14px;
  line-height: 1.3;
  background: transparent 0 0 no-repeat;
}

aside#sidebar blockquote {
  padding: 0 0 0 10px;
  margin: 15px 0;
  font-size: 15px;
  background: #fafafa;
  border-left: 10px solid #e9e9e9;
}

aside#sidebar a.button {
  display: block;
  color: #fff;
  height: 38px;
  padding-top: 16px;
  padding-left: 48px;
}

.clearfix:after {
  display: block;
  content: "";
  clear: both;
}

.container {
  position: relative;
  margin: 0 auto;
}

.searchbar {
  background-color: #ffffff;
  width: 100%;
  height: 55px;
  border-radius: 8px;
  margin: 0 auto;
  margin-top: 80px;
  border: 1px solid #e8e8e8;
  /* box-shadow: 2px 2px 12px #d9d9d960, -2px -2px 12px #d9d9d960; */
}

.search-icon {
  display: inline;
  position: absolute;
  /* background-color: #002fa7; */
  height: 28px;
  width: 28px;
  top: 14px;
  left: 11px;
}

.search-input {
  width: calc(99% - 100px);
  height: 55px;
  line-height: normal;
  background-color: rgba(0, 0, 0, 0);
  border: none; /*取消默认的边框以设置自定义边框*/
  outline: none; /*取消浏览器默认的蓝光边框以设置自定义的输入框*/
  box-shadow: none;
  font-size: 16px;
  color: rgb(123, 123, 123);
  margin-left: 45px;
}

.search-input:focus {
  line-height: normal;
  border: none;
  outline: none;
  background-color: rgba(0, 0, 0, 0);
  -webkit-appearance: none;
}

input::-webkit-input-placeholder {
  font-size: 13px;
  letter-spacing: 1px;
  color: #ccc;
}

.search-btn {
  display: inline;
  position: absolute;
  height: 30px;
  width: 30px;
  top: 13px;
  right: 10px;
}
.search-btn:hover {
  opacity: 0.6;
}

.search-engine {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 15px 0 0 0;
  border-radius: 8px;
  box-shadow: 0 5px 20px 0 #d8d7d7;
  transition: all 0.3s;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  display: none;
  z-index: 999;
}

.search-engine-list::after {
  content: "";
  width: 100%;
  height: 20px;
  position: absolute;
  top: -20px;
  left: 1px;
}

.search-engine-list li {
  float: left;
  width: 30%;
  line-height: 30px;
  font-size: 14px;
  padding: 5px 10px 5px 10px;
  margin: 0 10px 10px 0;
  background: #f9f9f9;
  color: #999;
  cursor: pointer;
  list-style-type: none;
}

.search-engine-list li img {
  float: left;
  width: 25px;
  border-radius: 15px;
  margin-right: 5px;
  margin-top: 2.5px;
}

#content-wrap {
  margin-top: 30px;
  margin-bottom: 20px;
  min-height: calc(100vh - 310px);
}

#content-wrapper {
  margin-top: 50px;
  min-height: calc(100vh - 160px);
}

#main-content {
  float: left;
}

#main-content img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

#art-title {
  display: block;
  text-align: center;
  margin: 0 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 1px dashed #000;
  font-family: Courier, Helvetica, Arial, serif;
}

.new-nav {
  display: flex; 
  align-items: center; /* 垂直居中 */
  justify-content: space-between; /* 左右分布 */
  width: 100%;
  height: 50px;
  margin-top: 12px;
  line-height: 1;
  background: #f7f7f7;
  border-radius: 8px 8px 0px 0px;
  border: 1px solid #e8e8e8;
  flex-wrap: nowrap;
}

.new-baidu-span {
  height: 50px;
  line-height: 50px;
  margin-left: 18px;
  font-weight: 500;
  color: #333333;
  white-space: nowrap;
}

.bitcoin {
  margin-left: auto; /* 显式声明居右 */
}

.bitcoin_price {
  margin-right: 18px;
}

.bitcoin_up_time {
  color: #33333320;
}

.container-news {
  width: 100%;
  height: 300px;
  margin-bottom: 25px;
  background: #ffffff;
  overflow-x: auto;
  border-radius: 0px 0px 8px 8px;
  border-bottom: 1px solid #e8e8e8;
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
}

.new-ul {
  width: 99.8%;
  margin-top: 5px;
  margin-left: -20px;
  list-style-type: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.new-ul li {
  font-weight: 500;
  color: #1e6bb8;
  padding-top: 13px;
  padding-bottom: 13px;
  border-bottom: 1px solid #dbdbdb70;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer {
  font-size: 13px;
  background-color: #fff;
  margin-top: 35px;
  /* border-top: 1px solid #f1f1f1; */
  padding: 15px;
  color: #8c8c8c;
}

.footer a {
  display: inline;
  color: #8c8c8c;
}

.footer a:hover {
  color: #2879d0;
}

.footer .copy {
  float: left;
  line-height: 25px;
}

.footer .link {
  float: right;
}

.footer .link a {
  text-align: center;
  line-height: 24px;
  opacity: 0.9;
  transition: 0.3s;
}

.footer em {
  display: inline;
  height: 10px;
  /* border-right: solid 1px #fff; */
  margin-right: 3px;
}

.footer img {
  display: inline;
}

.nav-cell {
  margin-top: 0px;
}

.nav-cell h1 {
  display: inline-block;
  font-size: 30px;
  color: #3b2c28;
  font-weight: 500;
  line-height: 22px;
}

.nav-list,
.nav-list-art {
  margin-left: -10px;
  margin-right: -10px;
  margin-top: -15px;
  list-style: none;
  padding: 0px 4px;
  /* animation: fadenum .5s ease; */
}

.nav-list li {
  box-sizing: border-box;
  width: 20%;
  padding: 6px;
  float: left;
  margin-bottom: 0em;
}

.nav-list-art li {
  box-sizing: border-box;
  width: 50%;
  padding: 10px;
  float: left;
  margin-bottom: 0em;
}

.nav-item {
  padding: 20px;
  border-radius: 8px;
  display: block;
  border: 1px solid #e8e8e8;
  background: #ffffff;
  transition: all 0.3s ease;
  /* box-shadow: 2px 2px 12px #dbdbdb, -2px -2px 12px #ffffff; */
}

.nav-item:hover {
  transform: translateY(-4px); /* 鼠标悬浮时轻微上移 */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* 更柔和、立体的阴影 */
}

.nav-item:hover .nav-name {
  color: #183e77;
}

.nav-item .nav-img {
  float: left;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-right: 13px;
  margin-bottom: 20px;
  margin-top: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: fadenum 0.5s ease;
}

.nav-img2 {
  float: left;
  width: 1px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  margin-bottom: 25px;
  margin-top: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: fadenum 0.5s ease;
}

.nav-item .nav-name {
  font-size: 15px;
  color: #333333;
  font-weight: 500;
  line-height: 35px;
  height: 35px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  animation: fadenum 0.5s ease;
}

.nav-item p {
  font-size: 12px;
  color: #8c8c8c;
  line-height: 20px;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  animation: fadenum 0.5s ease;
}

@media only screen and (min-width: 1200px) {
  /* 电脑 */
  .container {
    width: 1100px;
  }

  #main-content {
    width: 750px;
  }

  aside#sidebar {
    width: 300px;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1199px) {
  /* iPadpro */
  .container {
    width: 730px;
  }

  #main-content {
    width: 490px;
  }

  aside#sidebar {
    width: 230px;
  }

  .nav-list li {
    width: calc(100% / 4);
  }
}

@media only screen and (max-width: 768px) {
  /* 手机 */
  .container,
  .header-mobile {
    width: 93%;
  }

  header .container {
    display: none;
  }

  header .header-mobile {
    display: block;
  }

  #main-content,
  aside#sidebar {
    float: none;
    width: 100%;
  }

  aside#sidebar {
    display: none;
    width: 480px;
    max-width: 100% !important;
  }

  .header-mobile {
    margin: 0 auto;
  }
  .container-news {
    height: 270px;
  }

  .Hot-News > ul {
    margin-top: -4px;
    margin-left: -35px;
    font-size: 14px;
  }

  .Hot-News > ul > li {
    height: 31.5px;
    line-height: 31.5px;
  }

  .Hot-News > ul > li > a {
    font-size: 14px;
  }

  .info {
    padding: 7px 10px;
  }

  .info-span {
    font-size: 14px;
    font-weight: 500;
  }

  #mobile-nav-site {
    float: left;
    color: #fff;
    font-size: 16px;
    line-height: 52px;
    font-weight: 500;
  }

  #mobile-nav-menu {
    float: right;
    color: #fff;
    font-size: 16px;
    padding-top: 12px;
  }

  .footer {
    font-size: 10px;
  }

  .circle {
    background-color: #ffffff90;
    border-radius: 50%;
    color: white;
    width: 60px;
    height: 60px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
}

@media (max-width: 768px) {
  #content-wrapper {
    margin-top: 50px;
    margin-bottom: 0;
  }

  .nav-list li {
    width: 50%;
  }

  .nav-list-art li {
    width: 100%;
  }
}
/* 加载动画 */
.loader {
  --height-of-loader: 3px;
  --loader-color: #0071e2;
  width: 50%;
  height: var(--height-of-loader);
  border-radius: 30px;
  margin-top: 2%;
  background-color: rgba(0, 0, 0, 0.2);
  position: relative;
  margin: 95px auto;
}

.loader span {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
}

.loader::before {
  content: "";
  position: absolute;
  background: var(--loader-color);
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  border-radius: 30px;
  animation: moving 1s ease-in-out infinite;
}

@keyframes moving {
  50% {
    width: 100%;
  }

  100% {
    width: 0;
    right: 0;
    left: unset;
  }
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 3px; /* 设置滚动条宽度 */
  height: 3px;
}

::-webkit-scrollbar-track {
  background-color: #f5f5f5; /* 设置滚动条背景颜色 */
}

::-webkit-scrollbar-thumb {
  background-color: #183e77; /* 设置滚动条前景颜色 */
  border-radius: 5px; /* 设置滚动条圆角 */
}
