.bgf2 {
  background-color: #f2f2f2;
}

.bgf {
  background-color: #fff;
}

.p0 {
  padding: 0;
}

.active-box {
  font-size: 16px;
  line-height: 30px;
  color: #333;
}

.active-box .h2 {
  line-height: 60px;
  color: #333;
  font-weight: 600;
  margin: 20px 0 10px;
  font-size: 28px;
  display: block;
  text-align: center;
}

.active-box .txt {
  padding: 15px;
}

.active-box .btn-sub {
  background-color: #e30437;
  color: #fff;
  font-size: 16px;
  display: block;
  width: 180px;
  line-height: 50px;
  margin: 25px auto;
}

.gift-box {
  font-size: 16px;
  line-height: 30px;
  color: #333;
}

.gift-box .h2 {
  line-height: 60px;
  color: #333;
  font-weight: 600;
  margin: 20px 0 10px;
  font-size: 28px;
  display: block;
  text-align: center;
}

.about-box {
  font-size: 16px;
  line-height: 30px;
  color: #333;
}

.about-box .h2 {
  line-height: 60px;
  color: #333;
  font-weight: 600;
  margin: 20px 0 10px;
  font-size: 28px;
  display: block;
  text-align: center;
}

@media (min-width: 761px) {
  .head {
    background-color: #fff;
  }
  .head .logo {
    padding-top: 15px;
  }
  .head .ser_logo {
    /* margin-right: 35px; */
  }
  .line{
    width: 1px;
    background-color: #333;
    height: 50px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 25px;
  }
  .head .ser_logo img {
    height: 50px;
  }
  .head .ans_logo img {
    width: 150px;
  }
  .contact-box {
    font-size: 16px;
    line-height: 30px;
    color: #333;
  }
  .contact-box .h2 {
    line-height: 60px;
    color: #333;
    font-weight: 600;
    margin: 20px 0 10px;
    font-size: 28px;
    display: block;
    text-align: center;
  }
  .contact-box .box {
    position: relative;
    padding: 15px;
  }
  .contact-box .box p {
    line-height: 30px;
    margin-bottom: 10px;
    font-size: 16px;
  }
  .contact-box .box p img {
    vertical-align: middle;
    display: inline-block;
    float: left;
  }
  .contact-box .box p span {
    margin-left: 30px;
  }
  .contact-box .box table tr td {
    font-size: 16px;
    line-height: 50px;
    padding-left: 15px;
  }
  .contact-box .box table tr td:first-child {
    text-align: center;
  }
  .contact-box .location-m {
    position: absolute;
    right: 18px;
    top: 15px;
  }
  .contact-box .location-m .m-code {
    width: 150px;
  }
  .teach-box {
    font-size: 16px;
    line-height: 30px;
    color: #333;
  }
  .teach-box .h2 {
    line-height: 60px;
    color: #333;
    font-weight: 600;
    margin: 20px 0 10px;
    font-size: 28px;
    display: block;
    text-align: center;
  }
  .teach-box .txt {
    padding: 15px;
  }
  .teach-box .pl180 {
    padding-left: 180px;
  }
  .teach-box .pl180 .h3 {
    font-size: 22px;
    padding: 0;
    margin: 0 0 15px;
    display: block;
  }
  .teach-box .pl180 p {
    margin-bottom: 10px;
    line-height: 30px;
  }
}

@media (max-width: 760px) {
  .head {
    height: 3rem;
    background-color: #fff;
  }
  .head img {
    height: 1.4rem;
  }
  .head .logo {
    /* padding-top: 15px; */
  }
  
.line{
  width: 1px;
  background-color: #333;
  height: 30px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.8rem;
}
  .head .ser_logo {
    /* margin-right: 0.5rem; */
  }
  .head .ser_logo img {
    height: 0.8rem;
  }
  .head .fr{
    display: none;
  }
  .head .ans_logo img {
    height: 1rem;
  }
  .contact-box {
    font-size: 16px;
    line-height: 30px;
    color: #333;
  }
  .contact-box .h2 {
    line-height: 60px;
    color: #333;
    font-weight: 600;
    margin: 20px 0 10px;
    font-size: 28px;
    display: block;
    text-align: center;
  }
  .contact-box .box {
    position: relative;
    padding: 15px;
  }
  .contact-box .box p {
    line-height: 30px;
    margin-bottom: 10px;
    font-size: 16px;
  }
  .contact-box .box p img {
    vertical-align: middle;
    display: inline-block;
    float: left;
  }
  .contact-box .box p span {
    margin-left: 30px;
  }
  .contact-box .box table tr td {
    font-size: 16px;
    line-height: 32px;
    padding-left: 15px;
    vertical-align: top;
  }
  .contact-box .box table tr td:first-child {
    text-align: center;
  }
  .contact-box .location-m .m-code {
    width: 150px;
  }
  .btn-back {
    background-color: #006D67;
    height: 50px;
    width: 100%;
    text-align: center;
    display: block;
    line-height: 50px;
    color: #fff;
  }
  .teach-box {
    font-size: 16px;
    line-height: 30px;
    color: #333;
  }
  .teach-box .h2 {
    line-height: 60px;
    color: #333;
    font-weight: 600;
    margin: 20px 0 10px;
    font-size: 28px;
    display: block;
    text-align: center;
  }
  .teach-box .txt {
    padding: 15px;
  }
  .teach-box .intro_cn img {
    margin-right: 20px;
  }
  .teach-box .pl180 .h3 {
    font-size: 22px;
    padding: 0;
    margin: 0 0 15px;
    display: block;
  }
  .teach-box .pl180 p {
    margin-bottom: 10px;
    line-height: 30px;
  }
}
