/* cnzz统计代码 动态创建隐藏 */
a[title='站长统计'] {
  display: none;
}
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.text-justify {
  text-align: justify;
}
.clearfix:after {
  display: block;
  visibility: hidden;
  clear: both;
  height: 0;
  content: '.';
}
.clear {
  font-size: 0;
  line-height: 0;
  display: block;
  clear: both;
  height: 0;
}
.fl {
  float: left;
}
.fr {
  float: right;
}
a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.list-unstyled {
  list-style: none;
}
/* demo */
.demo .wrap:nth-child(odd) {
  background-color: #f6fdb1;
}
.demo .wrap > .cont {
  min-height: 20vh;
  background-color: #e0e0e0;
}
.wrap {
  overflow: hidden;
  padding-top: 0.8rem;
  position: relative;
  padding-bottom: 0.8rem;
}
.cont {
  min-width: 1240px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}
.tab-con > li:not(:first-child) {
  display: none;
}
nav {
  font-size: 0.2rem;
  z-index: 100;
  color: #fff;
  background-color: #0c4d9c;
}
nav .logo {
  height: 0.6rem;
}
nav ul {
  display: flex;
}
nav ul li + li {
  margin-left: 1.5vw;
}
nav ul li.active,
nav ul li:hover {
  font-weight: bold;
  position: relative;
}
nav ul li.active::after,
nav ul li:hover::after {
  position: absolute;
  right: 0;
  left: 0;
  display: block;
  width: 17px;
  height: 5px;
  margin: 0 auto;
  content: '';
  opacity: 1;
  border-radius: 5px;
  background: #fff;
}
nav .cont {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  height: 0.8rem;
}
nav.on {
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
}
.nav-mask {
  position: fixed;
  z-index: 99;
  top: 1rem;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  box-sizing: border-box;
  max-width: 750px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.38);
}
.icon-menu {
  display: none;
}
.pc-hide {
  display: none;
}
.pc-show {
  display: block;
}
@media (max-width: 750px) {
  .pc-hide {
    display: block;
  }
  .pc-show {
    display: none;
  }
  .icon-menu {
    position: relative;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: space-between;
    width: 0.5rem;
    height: 40%;
  }
  .icon-menu span {
    display: block;
    width: 100%;
    height: 0.04rem;
    transition: all 0.5s;
    transform-origin: center;
    border-radius: 0.04rem;
    background: #fff;
  }
  .icon-menu span:first-child {
    width: 50%;
  }
  .icon-menu span:nth-child(2) {
    width: 75%;
  }
  .icon-menu.on {
    align-items: center;
    justify-content: center;
  }
  .icon-menu.on span:first-child {
    width: 100%;
    transform: rotate(-45deg) translateY(0.04rem);
  }
  .icon-menu.on span:nth-child(2) {
    opacity: 0;
  }
  .icon-menu.on span:last-child {
    transform: rotate(45deg) translateY(-0.06rem);
  }
  .cont {
    min-width: unset;
    padding-right: 0.3rem;
    padding-left: 0.3rem;
  }
  body {
    max-width: 750px;
    min-height: 100vh;
    margin: 0 auto;
    box-shadow: 1px 1px 10px #ccc;
  }
  nav ul {
    display: none;
  }
  nav .menu-list {
    line-height: 0.7rem;
    position: absolute;
    top: 1rem;
    right: 0;
    display: none;
    width: 3rem;
    text-align: center;
    background: rgba(12, 77, 156, 0.78);
  }
  nav .menu-list li {
    margin-left: 0;
  }
  nav .menu-list li.active::after {
    width: 5em;
    height: 0.02rem;
    bottom: 0.3em;
  }
}
