.first,.second,.third,.fourth,.fifth,.six,.seven,.eight,.nine,.ten,.end {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  margin-left:-50%;
  top: 0;
  z-index: 10;
  display: none
}
.first .tan1 {
  position: absolute;
  width: 212px;
  bottom: 40px;
  right: 13px;
}
.first .tan1 .tan1Img {
  width: 100%;
}
.first .tan1 .close1 {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 50px;
  height: 50px;
}
.second {
  background-image: url(../i/bg2.jpg);
  background-size: cover;
}
.second .tan2 {
  position: absolute;
  width: 100%;
  height: 400px;
  top: 26px;
  left: 50%;
  margin-left: -50%;
}
.second .tan2 .tan2title {
  position: absolute;
  width: 32%;
  top: 0%;
  left: 50%;
  margin-left: -16%;
}
.second .tan2 ul {
  position: absolute;
  width: 78%;
  top: 25%;
  left: 50%;
  margin-left: -39%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.second .tan2 ul li {
  position: relative;
  display: inline-block;
  width: 31%;
  margin-right: 2%;
}
.second .tan2 ul li .tan2_1 {
  width: 100%;
  background-image: url(../i/selbg.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 5px 5px 20px;
  box-sizing: border-box;
  background-position: bottom center;
}
.second .tan2 ul li .tan2_4 {
  width: 100%;
  margin-top:5%;
}
.second .tan2 ul li .tan2close {
  position: absolute;
  width: 39px;
  left: -8px;
  top: -11px;
}
.second .continue {
  position: absolute;
  bottom:10px;
  right: 20px;
  width: 34px;
  display: none;
}
.second .caidan {
  position: absolute;
  top:10px;
  right: 20px;
  width: 96px;
}
.third .tan3 {
  position: absolute;
  width: 82px;
  height: 106px;
  bottom: -7px;
  left: 57%;
  padding-top: 40px;
  text-align: center;
  color: #fff;
  -webkit-animation: pulse 2s infinite ease-in-out;
  animation: pulse 2s infinite ease-in-out;
}
.third .tan3 img {
  width: 100%
}
@-webkit-keyframes pulse {
  0% {
      opacity: 1
  }
  
  50% {
      opacity: 0.5
  }
  
  100% {
       opacity: 0
  }
  
}
.fourth .tan4 {
  position: absolute;
  width: 212px;
  bottom: 40px;
  right: 13px;
}
.fourth .tan4 .tan4Img {
  width: 100%;
}
.fourth .tan4 .close4 {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 50px;
  height: 50px;
}
.fifth .tan5 {
  position: absolute;
  width: 212px;
  bottom: 40px;
  right: 13px;
}
.fifth .tan5 .tan5Img {
  width: 100%;
}
.fifth .tan5 .close5 {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 50px;
  height: 50px;
}
.six {
  background-image: url(../i/bg.jpg);
  background-size: cover
}
.six .tan6 {
  position: absolute;
  width: 100%;
  height: 306px;
  background-image: url(../i/tan6bg.png);
  background-size: cover;
  top: 30px;
  left: 0;
}
.six .tan6 .tan6title {
  position: absolute;
  top: 43px;
  width: 388px;
  left: 50%;
  margin-left: -194px;
}
.six .tan6 ul {
  position: absolute;
  top: 102px;
  width: 368px;
  left: 50%;
  margin-left: -172px;
}
.six .tan6 ul li {
  position: relative;
  display: inline-block;
  width: 42%;
  margin-right: 6%;
  margin-bottom: 10px;
}
.six .tan6 ul li img {
  width: 100%
}
.six .tan6 ul li span {
    position: absolute;
    color: #fff;
    font-size: 15px;
    top: 22%;
    left: 50%;
    margin-left: -50%;
    text-align: center;
    width: 100%;
    text-shadow: 0 0 10px #000;
    font-weight: 700;
}
.six .tan6 ul li .ed{
  display: none;
  width: 38%;
  position: absolute;
  left: 50%;
  margin-left: -19%;
  top: -1%;

}
.six .tan6 .tan6close {
  position: absolute;
  width: 40px;
  right: 87px;
  top: 10px;
}
.six .tan6nextbtn {
  position: absolute;
  width: 112px;
  bottom: 27px;
  left: 50%;
  margin-left: -56px;
}
.seven .tan7 {
  position: absolute;
  width: 212px;
  bottom: 40px;
  right: 13px;
}
.seven .tan7 .tan7Img {
  width: 100%;
}
.seven .tan7 .close7 {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 50px;
  height: 50px;
}
.eight {
  background-image: url(../i/bg.jpg);
  background-size: cover
}
.eight .tan8 {
  position: absolute;
  width: 100%;
  height: 80%;
  background-image: url(../i/tan8bg.png);
  background-size: cover;
  left: 0;
  background-position: center;
  top: 8%;
}
.eight .tan8 .bibg {
  position: absolute;
  width: 300px;
  height: 100%;
  left :50%;
  margin-left: -150px;
  top: 0;
}
.eight .tan8 .content {
  position: absolute;
  width: 518px;
  height: 100%;
  left: 50%;
  margin-left: -243px;
  top: 0;
}
.eight .tan8 .content .lastbtn {
  position: absolute;
  width: 50px;
  top: 50%;
  left: 0;
  margin-top: -10px;
  z-index: 100
}
.eight .tan8 .content .nextbtn {
  position: absolute;
  width: 50px;
  top: 50%;
  right: 0;
  margin-top: -10px;
  z-index: 100
}
.eight .tan8 .content .tan8title {
  position: absolute;
  width: 60%;
  left: 50%;
  margin-left: -30%;
  top: 66px;
}
.eight .tan8 .content .word {
  position: absolute;
  width: 18%;
  left: 50%;
  margin-left: -33%;
  top: 130px;
}
.eight .tan8 .content .answera {
    position: absolute;
    width: 86px;
    height: 29px;
    left: 50%;
    margin-left: -48px;
    top: 158px;
    background-image: url(../i/wordbg.png);
    background-size: cover;
    background-position: 0 0;
    color: #fff;
    text-align: center;
    line-height: 28px;
    padding-right: 5px;
}
.eight .tan8 .content .answerb {
    position: absolute;
    width: 86px;
    height: 29px;
    left: 50%;
    margin-left: 12%;
    top: 158px;
    background-image: url(../i/wordbg.png);
    background-size: cover;
    background-position: 0 0;
    text-align: center;
    color: #fff;
    line-height: 28px;
    padding-right: 5px;
}
.eight .tan8 .content .tips {
  position: absolute;
  color: #eb5862;
  top: 200px;
  left: 50%;
  margin-left: -33px;
  font-size: 12px;
  display: none
}
.swiper-container {
  width: 100%;
  height: 100%;
}
.tan8re {
  position: absolute;
  bottom:40px;
  left:50%;
  width: 100px;
  margin-left:-107px;
}
.tan8con {
  position: absolute;
  bottom:40px;
  left:50%;
  width: 100px;
  margin-left:2px;
}
.eight .tan8 .p1{
  font-size: 24px;
  color: #333;
  text-align: center;
  margin-top: 130px;
}
.eight .tan8 .p2{
  font-size: 24px;
  color: #333;
  text-align: center;
  margin-top: 0px;
}
.eight .tan8 p .num1 {
  color: #fff;
  background: #cc0000;
  padding: 0px 13px;
  border-radius: 82px;
  font-size: 26px;
  font-weight: 700;
  font-family: serif;
}
.eight .tan8 p .num2 {
  color: #cc0000;
  padding: 17px;
  font-size: 26px;
  font-weight: 700
}
.eight .tan8right {
  position: absolute;
  width: 70%;
  left: 50%;
  margin-left: -34%;
  top: 5%;
  display: none
}
.eight .tan8error {
  position: absolute;
  width: 46%;
  left: 52%;
  margin-left: -23%;
  top: 11%;
  display: none
}
.nine {
/*  background-image: url(../i/bg.jpg);*/
  background-size: cover
}
.nine .tan9 {
  position: absolute;
  bottom: 53px;
  right: 40px;
  width: 200px;
  height: 50px;
}
.nine .tan9 .tan9Img {
  width: 100%;
}
.nine .tan9 .close9 {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 50px;
  height: 50px;
}
.nine .tan9content {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(../i/bg9.jpg);
  background-size: cover;
  top: 0;
  left: 0;
}
.nine .tan9content .tan9title {
  position: absolute;
  top: 71px;
  width: 160px;
  left: 8%;
}
.nine .tan9content ul {
  width: 90%;
  margin: 0 auto;
  margin-top: 109px;
  margin-left: 8%;
}
.nine .tan9content ul li {
  position: relative;
  display: inline-block;
  width: 15%;
}
.nine .tan9content ul li .em{
  width: 100%;
}
.nine .tan9content ul li .ed{
  display: none;
  width: 50%;
  position: absolute;
  left: 30%;
  margin-left: -25%;
  top: 20%;

}
.nine .tan9content ul li span {
    position: absolute;
    color: #fff;
    font-size: 12px;
    top: 35%;
    left: 5%;
    width: 80%;
    text-shadow: 0 0 10px #000;
    font-weight: 700;
}
.nine .tan9close {
  position: absolute;
  width: 40px;
  right: 87px;
  top: 40px;
}
.nine .tan9nextbtn {
  position: absolute;
  width: 100px;
  bottom: 10px;
  left: 50%;
  margin-left: -50px;
}



/*X、XS机型的媒体查询*/
@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
  .first .tan1 {
    width: 250px;
  }

  .fourth .tan4 {
    width: 250px;
  }

  .fifth .tan5 {
    width: 250px;
  }

  .seven .tan7 {
    width: 250px;
  }
}


/*XR机型媒体查询*/

@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio:3) {
  
  .first .tan1 {
    width: 250px;
  }

  .fourth .tan4 {
    width: 250px;
  }

  .fifth .tan5 {
    width: 250px;
  }

  .seven .tan7 {
    width: 250px;
  }

}

 
/*XS MAX机型媒体查询*/

@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio:2) {

  .first .tan1 {
    width: 250px;
  }

  .fourth .tan4 {
    width: 250px;
  }

  .fifth .tan5 {
    width: 250px;
  }

  .seven .tan7 {
    width: 250px;
  }
}