* {
  margin: 0;
  padding: 0;
}

/* @font-face {
  font-family: MiSans-Normal;
  src: url(../font/MiSans-Normal.ttf);
} */

html {
  scroll-behavior: smooth;
}

body {
  margin-top: .8rem;
}

a {
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
button,
select {
  border: 0;
  resize: none;
  outline: 0;
  background: transparent;
}

button {
  cursor: pointer;
}

img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*多行溢出*/
.line1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 2;
}

.line3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 3;
}

.line4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 4;
}

.line5 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-line-clamp: 5;
}

/* hover-图片放大1.1 */
.scale-box {
  overflow: hidden;
}

.scale-box .scale-img {
  width: 100%;
  height: 100%;
  transition: all .3s linear;
  cursor: pointer;
  object-fit: cover;
}

.scale-box:hover .scale-img {
  transform: scale(1.1);
}


/* 常用盒子阴影 */
.shadow_box {
  box-shadow: 0 .02rem .12rem 0 rgba(0, 0, 0, 0.1)
}

/* 水波纹效果 */
.btn-ripple {
  vertical-align: bottom;
}

.btn-ripple:not(:disabled):hover {
  opacity: 1;
  position: relative;
  overflow: hidden;
}

.btn-ripple:not(:disabled):hover::before {
  animation: ani_ripple 0.75s;
  z-index: 1;
  content: "";
  position: absolute;
  display: block;
  transition: all 0.6s;
  width: 100%;
  height: 0;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  padding-top: 100%;
  transform: translateX(-50%) translateY(-50%);
}

@keyframes ani_ripple {
  0% {
    background: rgba(0, 0, 0, 0.25);
    transform: translateX(-50%) translateY(-50%) scale(0);
  }

  to {
    background: transparent;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }
}

.main {
  width: 14.5rem;
  margin: 0 auto;
}

.banner {
  width: 100%;
  height: 5.8rem;
  display: flex;
  position: relative;
}

.banner img {
  object-fit: cover;
}

.bannerTit {
  position: absolute;
  font-family: Source Han Sans CN, Source Han Sans CN;
  font-weight: 400;
  font-size: 0.7rem;
  color: #FFFFFF;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.comNav {
  width: 100%;
  height: .9rem;
  border-bottom: 0.01rem solid #DBDBDB;
}

.comNavBox {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.comNavL {
  display: flex;
  height: 100%;
}

.comNavL a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin-right: .7rem;
  position: relative;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.18rem;
  color: #333333;
}

.comNavL a:hover,
.comNavL a.active {
  font-weight: bold;
  color: #0A2F60;
}

.comNavL a::after {
  content: '';
  width: 0;
  height: 0.03rem;
  background: #0A2F60;
  transition: all .3s;
  position: absolute;
  left: 0;
  bottom: 0;
}

.comNavL a:hover::after,
.comNavL a.active::after {
  width: 100%;
}

.comNavR {
  display: flex;
}

.comNavR a {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.14rem;
  color: #8D8D8D;
  display: flex;
  align-items: center;
}

.comNavR a::after {
  content: '>';
  margin: 0 .05rem;
}

.comNavR a:last-child:after {
  display: none;
}

.page {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .34rem;
}

.page a,
.page span {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.14rem;
  color: #7D7D7D;
}

.prev{
  margin-left: .2rem!important;
}

.next{
  margin-right: .2rem!important;
}

.pageNum {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page a {
  width: .32rem;
  height: .32rem;
  background: #FFFFFF;
  border-radius: .02rem;
  border: .01rem solid #DEDEDE;
  box-sizing: border-box;
  margin: 0 .04rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pageNum a.active,
.pageNum a:hover{
  background: #0A2F60;
  color: #FFFFFF;
}

.page a img{
  width: .16rem;
  height: .16rem;
}

.selectNum {
  width: .6rem;
  height: .32rem;
  border-radius: .02rem;
  border: .01rem solid #DEDEDE;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 .1rem;
  box-sizing: border-box;
  cursor: pointer;
  margin: 0 .08rem;
}


.selectNum input {
  width: 100%;
  cursor: pointer;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.14rem;
  color: #7D7D7D;
}

.selectNum img {
  width: .16rem;
  height: .16rem;
  flex-shrink: 0;
  cursor: pointer;
}

.optionNum {
  position: absolute;
  left: 0;
  top: calc(100% + .02rem);
  width: 100%;
  max-height: 1.6rem;
  background: #FFFFFF;
  box-shadow: 0 .02rem .12rem 0 rgba(0, 0, 0, 0.1);
  overflow-y: scroll;
  display: none;
}

.optionNum::-webkit-scrollbar {
  width: .05rem;
  background: transparent;
}

.optionNum::-webkit-scrollbar-thumb {
  width: .05rem;
  background: #0A2F60;
}

.optionNum p {
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.14rem;
  color: #7D7D7D;
  padding: 0 .1rem;
  line-height: .32rem;
  height: .32rem;
  cursor: pointer;
}

.optionNum p:hover {
  background: #0A2F60;
  color: #FFFFFF;
}

.pageBtn {
  width: 0.72rem;
  height: 0.32rem;
  background: #0A2F60;
  border-radius: 0.02rem 0.02rem 0.02rem 0.02rem;
  margin-left: .2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Microsoft YaHei, Microsoft YaHei;
  font-weight: 400;
  font-size: 0.14rem;
  color: #FFFFFF;
}


.home_level_g,.home_level_m,.home_level_p,.home_level_a,.home_level_gg{
    width: 0.5rem;
    height: 0.5rem;
    text-align: center;
    /*background: #36C228;*/
    border-radius: 0px 0px 0px 0px;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: bold;
    font-size: 22px;
    /*color: #0A2F60;*/
    line-height: 0.5rem;
    font-style: normal;
    text-transform: none;
}

.home_level_g{
    background: #36C228;
    color: #0A2F60;
}
.home_level_m{
    background: #F78D24;
    color: #0A2F60;
}
.home_level_p{
    background: #F61212;
    color: #0A2F60;
}
.home_level_a{
    background: #FCFF51;
    color: #0A2F60;
}
.home_level_gg{
    background: #36C228;
    color: #0A2F60;
}




.result_level_g,.result_level_m,.result_level_p,.result_level_a,.result_level_gg{
    width: 0.44rem;
    height: 0.44rem;
    text-align: center;
    margin: 0 auto;
    /*background: #36C228;*/
    border-radius: 0px 0px 0px 0px;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: bold;
    font-size: 22px;
    /*color: #0A2F60;*/
    line-height: 0.5rem;
    font-style: normal;
    text-transform: none;
}

.result_level_g{
    background: #36C228;
    color: #0A2F60;
}
.result_level_m{
    background: #F78D24;
    color: #0A2F60;
}
.result_level_p{
    background: #F61212;
    color: #0A2F60;
}
.result_level_a{
    background: #FCFF51;
    color: #0A2F60;
}
.result_level_gg{
    background: #36C228;
    color: #0A2F60;
}
