.box {
  position: relative;
  overflow: hidden;
  background-color: #FFFBFC;
  color: #AF3230;
}

.banner {
  width: 100%;
  height: 814px;
  overflow: hidden;
  background: url(../images/banner_bg.png) no-repeat top center;
}

.txt_container {
  width: 1200px;
  margin: 0 auto;
  height: 100%;
  position: relative;
  box-sizing: border-box;
  padding-top: 158px;
}

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

.txt01 img {
  margin-right: 24px;
}

.txt01 p {
  color: #333333;
  font-size: 44px;
  font-weight: bold;
  border-left: 2px solid #333333;
}

.txt02 {
  margin-top: -30px;
}

.txt03 {
  color: #333333;
  font-size: 25px;
  font-weight: bold;
  text-align: right;
  margin-top: 19px;
  box-sizing: border-box;
  padding-right: 180px;
}

.txt03 span {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: url(../images/circle_bg.png) no-repeat center top;
  text-align: center;
  line-height: 36px;
  color: #FFFFFF;
  font-size: 22px;
}

.txt03 img {
  display: inline-block;
  vertical-align: middle;
}

.xc {
  position: absolute;
  top: 80%;
  left: 5%;
  animation: xc 10s linear infinite alternate;
  -webkit-animation: xc 10s linear infinite alternate;
  -moz-animation: xc 10s linear infinite alternate;
  -o-animation: xc 10s linear infinite alternate;
  -ms-animation: xc 10s linear infinite alternate;
}

@keyframes xc {
  0% {
    -webkit-transform: scale(1.1) translateX(0);
    transform: scale(1.1) translateX(0);
  }
  25% {
    -webkit-transform: scale(1.2) translateX(-20px);
    transform: scale(1.2) translateX(-20px);
  }
  50% {
    -webkit-transform: scale(1.3) translateX(-40px);
    transform: scale(1.3) translateX(-40px);
  }
  75% {
    -webkit-transform: scale(1.2) translateX(-20px);
    transform: scale(1.2) translateX(-20px);
  }
  100% {
    -webkit-transform: scale(1.1) translateX(0);
    transform: scale(1.1) translateX(0);
  }
}

.cloud {
  position: absolute;
  top: 74%;
  right: -17%;
  animation: cloud3 10s linear infinite alternate;
  -webkit-animation: cloud3 10s linear infinite alternate;
  -moz-animation: cloud3 10s linear infinite alternate;
  -o-animation: cloud3 10s linear infinite alternate;
  -ms-animation: cloud3 10s linear infinite alternate;
}

@keyframes cloud3 {
  0% {
    -webkit-transform: scale(1.1) translateX(0);
    transform: scale(1.1) translateX(0);
  }
  25% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  50% {
    -webkit-transform: scale(1.3) translateX(-20px);
    transform: scale(1.3) translateX(-20px);
  }
  75% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1.1) translateX(0);
    transform: scale(1.1) translateX(0);
  }
}

.box_common {
  padding: 60px 0 0;
}

.box_container {
  background: url(../images/box_bg.png) no-repeat center 405px;
}

.box04 {
  padding-bottom: 60px;
  background: url(../images/box04_bg.png) no-repeat center bottom;
}

.title {
  color: #AF3230;
  font-size: 50px;
  text-align: center;
  font-weight: bold;
  height: 110px;
  background: url(../images/title_bg.png) no-repeat center bottom;
}

.yy_container {
  width: 1080px;
  margin: 0 auto;
  height: 519px;
  background: url(../images/yy_bg.png) no-repeat center top;
  box-sizing: border-box;
  padding-top: 62px;
}

.ajax_form {
  width: 408px;
  margin: 44px auto 0;
  padding-bottom: 80px;
}

.ajax_form p {
  margin-bottom: 15px;
}

.ajax_form input, .ajax_form select {
  width: 49%;
  height: 50px;
  background: #FFFFFF;
  border: 1px solid #D4D4D4;
  border-radius: 4px;
  box-sizing: border-box;
  padding-left: 20px;
  background: #fff;
  color: #999999;
  font-size: 19px;
  float: left;
  appearance: none;
  outline: none;
}

.ajax_form select {
  background: #fff url("../images/select_bg.png") 95% center no-repeat;
}

.ajax_form input#shoujihao, .ajax_form input.username {
  width: 100%;
}

.ajax_form select#city, .ajax_form select.exam_type {
  float: right;
}

.ajax_form input#fs {
  float: right;
  padding: 0;
  text-align: center;
  cursor: pointer;
  color: #DB3720;
  border: 1px solid #DB3720;
}

.ajax_form input.button {
  cursor: pointer;
  width: 100%;
  height: 50px;
  line-height: 50px;
  border-radius: 42px;
  width: 427px;
  background: linear-gradient(0deg, #EC4830, #C03927);
  color: #fff;
  padding: 0;
  font-size: 26px;
  float: none;
}

.box_top {
  width: 1200px;
  height: 247px;
  background: url(../images/box_top.png) no-repeat center top;
}

.box_center {
  width: 1200px;
  height: auto;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 40px;
  background: url(../images/box_center.png) center center;
}

.line {
  height: 1px;
}

.box_inner {
  margin-top: -168px;
}

.box_bottom {
  height: 73px;
  width: 1200px;
  background: url(../images/box_bottom.png) no-repeat center top;
}

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

.gift_title {
  color: #333333;
  font-size: 30px;
  font-weight: bold;
  width: 533px;
  height: 56px;
  background: url(../images/jp_title_bg.png) no-repeat center top;
  box-sizing: border-box;
  padding-left: 39px;
  margin: 45px 0 24px;
  line-height: 70px;
}

.gift_title span {
  color: #AF3230;
}

.teacher_r {
  width: 790px;
  margin-left: 53px;
}

.teacher_r h2 {
  width: 272px;
  color: #AF3230;
  font-size: 26px;
  border-bottom: 2px solid #AF3230;
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.teacher_r p {
  color: #AF3230;
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0;
  line-height: 1.8;
}

.gift_list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gift_item {
  width: 251px;
  height: 273px;
  text-align: center;
  position: relative;
  background: url(../images/jp_bg.png) no-repeat center center;
}

.gift_item h3 {
  color: #FFBF50;
  font-size: 27px;
  font-weight: bold;
  line-height: 58px;
}

.gift_item p {
  width: 55%;
  margin: 0 auto;
  color: #FFFFFF;
  font-size: 16px;
  margin-top: 8px;
}

.gift_item span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 16%;
  color: #FFBF50;
  font-size: 16px;
}

.box03_table {
  width: 100%;
  text-align: center;
  border-spacing: 0;
  color: #FEF2E4;
  font-size: 18px;
  text-align: center;
  background: #CC0119;
  border-radius: 15px;
  overflow: hidden;
}

.box03_table th {
  color: #FEF2E4;
  font-size: 18px;
  height: 65px;
}

.box03_table td {
  width: 14%;
  height: 65px;
  border-right: 1px solid #CC0119;
  background-color: #E0302A;
}

.box03_table td a {
  margin: 0 auto;
  display: block;
  width: 104px;
  height: 34px;
  border: 1px solid #FEF2E4;
  border-radius: 17px;
  text-align: center;
  line-height: 34px;
  color: #FEF2E4;
  font-size: 16px;
}

.box03_table td:last-child {
  border-right: 0;
}

.box03_table tr:nth-child(2n) td {
  background-color: #EB3F32;
}

/* 城市 */

.city_list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 49px;
}

.city_list li {
  cursor: pointer;
  position: relative;
  width: 130px;
  height: 36px;
  background: linear-gradient(180deg, #EC4830, #C03927);
  box-shadow: 0px 2px 5px 1px rgba(185, 11, 21, 0.18);
  border-radius: 2px;
  margin: 10px 22px 10px 0;
}

.city_list li:nth-child(8n) {
  margin-right: 0;
}

.city_list li p {
  line-height: 36px;
  font-size: 14px;
  color: #FFFFFF;
  text-align: center;
  cursor: pointer;
  margin: 0 auto;
  font-weight: bold;
}

.city_list li .city_qr {
  display: none;
  position: absolute;
  width: 114px;
  height: 114px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-sizing: border-box;
  z-index: 9;
}

.city_list li .city_qr img {
  display: block;
  width: 100%;
  margin: 0 auto;
}

.kfxjj {
  color: #333333;
  font-size: 20px;
  text-align: center;
  font-weight: bold;
  margin-top: 10px;
}

.kfxjj span {
  color: #AF3230;
}

.title05 {
  margin: 60px 0;
}

.more_list {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.more_list a {
  display: block;
  width: 295px;
  height: 201px;
  overflow: hidden;
}

.more_list a img {
  width: 100%;
  height: 100%;
  transition: transform 1s;
}

.more_list a:hover img {
  transform: scale(1.2);
}

@media only all and (max-width:1080px) {
  .banner {
    height: 16rem;
    background-size: auto 100%;
  }
  .txt_container {
    width: 100%;
    padding-top: 3rem;
  }
  .txt01 img {
    width: 2.5rem;
    margin-right: .4rem;
  }
  .txt01 p {
    font-size: .8rem;
    border-left: .05rem solid #333333;
  }
  .txt02 {
    margin: -0 auto 0;
    width: 90%;
  }
  .txt03 {
    font-size: .7rem;
    margin-top: .5rem;
    padding-right: 0;
    text-align: center;
  }
  .txt03 span {
    width: 1.3rem;
    height: 1.3rem;
    background-size: 100% 100%;
    line-height: 1.3rem;
    font-size: .6rem;
  }
  .txt03 img {
    width: 2rem;
  }
  .xc {
    width: 5rem;
  }
  .cloud {
    display: none;
  }
  .box_common {
    padding: 1rem 0 0;
  }
  .box_container {
    background: url(../images/box_bg.png) no-repeat center 405px;
  }
  .box04 {
    padding-bottom: 60px;
    background: url(../images/box04_bg.png) no-repeat center bottom;
  }
  .title {
    font-size: .8rem;
    height: 2rem;
    background-size: 100%;
  }
  .yy_container {
    width: 100%;
    height: 19.4rem;
    background-size: auto 100%;
    padding-top: 4rem;
  }
  .ajax_form {
    width: 90%;
    margin: .4rem auto 0;
    padding-bottom: .6rem;
  }
  .ajax_form p {
    margin-bottom: .4rem;
  }
  .ajax_form input, .ajax_form select {
    width: 49%;
    height: 1.8rem;
    border-radius: .2rem;
    box-sizing: border-box;
    padding-left: 5%;
    font-size: .7rem;
  }
  .ajax_form input.button {
    height: 1.8rem;
    line-height: 1.8rem;
    border-radius: 2rem;
    width: 100%;
    font-size: .7rem;
  }
  .box_top {
    width: 100%;
    height: 3.4rem;
    background-size: 100%;
  }
  .box_center {
    width: 100%;
    padding: 0 1rem;
    background-size: 100%;
  }
  .line {
    height: .01rem;
  }
  .box_inner {
    margin-top: -0;
  }
  .box_bottom {
    height: 1.5rem;
    width: 100%;
    background-size: 100%;
  }
  .teacher_line {
    flex-direction: column;
  }
  .teacher_line img {
    width: 50%;
  }
  .gift_title {
    font-size: .7rem;
    width: 100%;
    height: 1.8rem;
    background-size: 100% 100%;
    padding-left: 1.4rem;
    margin: .6rem 0 .5rem;
    line-height: 2.3rem;
  }
  .teacher_r {
    width: 100%;
    margin-left: 0;
  }
  .teacher_r h2 {
    width: 70%;
    font-size: .8rem;
    border-bottom: .1rem solid #AF3230;
    padding-bottom: .2rem;
    margin-bottom: .4rem;
  }
  .teacher_r p {
    font-size: .7rem;
    margin: .2rem 0;
  }
  .gift_list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
  }
  .gift_item {
    width: 50%;
    height: 10rem;
    background-size: 100% 100%;
  }
  .gift_item h3 {
    font-size: .8rem;
    line-height: 2rem;
  }
  .gift_item p {
    width: 55%;
    font-size: .6rem;
    margin-top: .3rem;
  }
  .gift_item span {
    font-size: .5rem;
  }
  .box03_table {
    font-size: .6rem;
    border-radius: .4rem;
  }
  .box03_table th {
    font-size: .7rem;
    height: 2rem;
  }
  .box03_table td {
    width: 20%;
    height: 2rem;
  }
  .box03_table td a {
    width: 3.2rem;
    height: 1.2rem;
    border-radius: 1rem;
    line-height: 1.2rem;
    font-size: .6rem;
  }
  /* 城市 */
  .city_list {
    display: flex;
    flex-wrap: wrap;
    margin: 0.5rem auto;
  }
  .city_list li {
    margin: .3rem 1.2% .3rem 0;
    width: 24%;
    height: 1.6rem;
    line-height: 1.6rem;
    background-size: 100% 100%;
  }
  .city_list li:nth-child(6n) {
    margin-right: 1.2%;
  }
  .city_list li:nth-child(4n) {
    margin-right: 0;
  }
  .city_list li p {
    line-height: 1.6rem;
    font-size: .7rem;
  }
  .city_list li .city_qr {
    width: 2.5rem;
    height: 2.5rem;
  }
  .city_list li .city_qr img {
    display: block;
    width: 100%;
    margin: 0 auto;
  }
  .more_list {
    width: 100%;
    flex-wrap: wrap;
  }
  .more_list a {
    width: 49%;
    height: 6rem;
    margin-right: 2%;
    margin-top: .4rem;
  }
  .more_list a:nth-child(2n){
    margin-right: 0;
  }
  .box06 {
    padding-bottom: .6rem;
  }
}