body {
  margin: 0;
  padding: 0;
  font-family: Arial, 'Microsoft JhengHei';
  position: ;
  width: 100%;
  height: 100%;
  color: #000;
  background: url(../images/bg.jpg) no-repeat center top;
  background-size: cover;
  background-attachment: fixed;
}

a,
a:hover,
a:link,
a:focus {
  text-decoration: none;
  color: #4c4b50;
  display: inline-block;
}

img {
  max-width: 100%;
  height: auto;
}

ul li,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bg_logo {
  background: url(../images/ruby_logo.png) no-repeat;
  background-size: 100%;
  width: 70px;
  height: 31px;
  position: absolute;
  top: 17px;
  /* left: 21px; */
}

.fl_left {
  float: left;
}

.fl_right {
  float: right;
}

p {
  margin-top: 10px;
  margin-bottom: 10px;
}

select {
  color: #707070;
}

* {
  box-sizing: border-box;
  outline: none;
}

.container {
  width: 480px;
  height: 100%;
  margin: 0 auto;
  overflow: scoll;
}

.login_logo {
  padding-top: 20%;
}

.login_box {
  background: url(../images/login_bg.png) no-repeat left top;
  background-size: 100%;
  margin-top: 10%;
  min-height: 480px;
  padding-top: 33%;
  padding-right: 22%;
  padding-left: 8%;
  position: relative;
}

.login_box input {
  width: 95%;
  max-width: 335px;
  line-height: 1.5em;
  border-radius: 5px;
  border: 0;
  margin-bottom: 10px;
  padding: 10px;
  font-size: 18px;
}

.login_box a {
  margin-top: 5px;
  text-align: center;
  width: 95%;
  display: block;
}

.login_box button {
  position: absolute;
  top: 37%;
  right: 6%;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.container {
  position: relative;
  width: 100%;
}

.con_box {
  width: 414px;
  margin: 0 auto;
  padding-bottom: 30px;
}

.menu_box {
  padding-top: 130px;
}

.menu_box ul,
.menu_box ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu_box ul {
  margin: 0 auto;
  width: 239px;
  display: block;
}

.menu_box ul li {
  margin-bottom: 23%;
}

a.point_menu {
  position: fixed;
  bottom: 15px;
  width: 160px;
  z-index: 1;
  margin-left: 300px;
}

@media screen and (max-width: 600px) {
  a.point_menu {
    right: 15px;
  }
}

a.point_menu img {
  float: right;
  height: 41px;
}

.mask_menu ul,
.mask_menu ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mask_menu ul li a {
  color: #4c4b50;
  text-decoration: none;
  font-size: 28px;
  font-weight: bold;
}

.mask_menu {
  border-radius: 10px;
  width: 90%;
  margin-left: -45%;
  position: absolute;
  top: 15%;
  left: 50%;
  overflow: hidden;
}

.mask_menu ul li {
  background: rgba(255, 255, 255, .8);
  padding: 15px 10px;
  margin-bottom: 2px;
  text-align: center;
}


/*忘記密碼*/

.forget_box h1 {
  margin: 0;
  padding: 80px 10px 50px;
  text-align: center;
}

.form_style ul {
  margin: 5px 0 0 0;
  padding: 0 5px;
}

.form_style ul li {
  margin-bottom: 15px;
}

.form_style label {
  width: 23%;
  display: block;
  float: left;
  padding-top: 16px;
  margin-right: 3%;
}

.form_style input[type="text"] {
  height: 50px;
  border-radius: 5px;
  border: 0;
  -webkit-appearance: none;
  /*刪除safari預設*/
  box-shadow: 3px 3px 5px rgba(0, 0, 0, .3);
  width: 74%;
  line-height: 1.5em;
  padding: 10px;
  font-size: 16px;
}

.form_style input[type="password"] {
  height: 50px;
  border-radius: 5px;
  border: 0;
  -webkit-appearance: none;
  /*刪除safari預設*/
  box-shadow: 3px 3px 5px rgba(0, 0, 0, .3);
  width: 74%;
  line-height: 1.5em;
  padding: 10px;
  font-size: 16px;
}

.form_style span {
  text-align: center;
  display: block;
  margin-top: 35px;
}

.loading {
  background: url(../images/laoding.gif) no-repeat;
  background-size: cover;
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  z-index: 99;
}


/*select*/

.white {
  background-color: #fff;
}

.form_style .mainselection {
  width: 74%;
}

.mainselection select {
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: bold;
  padding: 2px 10px;
  width: 100%;
  height: 50px;
  -webkit-appearance: none;
}

.mainselection {
  overflow: hidden;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, .3);
  background: #fff url(../images/icon_arrow.png) no-repeat scroll 95% center;
}

.mainselection2 select {
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: bold;
  padding: 2px 10px;
  width: 100%;
  height: 50px;
  -webkit-appearance: none;
}

.mainselection2 {
  border: 1px solid #CCC;
  overflow: hidden;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background: #fff url(../images/icon_arrow.png) no-repeat scroll 95% center;
}


/*下方按鈕*/

.btn_box {
  overflow: hidden;
  margin-top: 40px;
}

.bottombox {
  overflow: hidden;
  margin-top: 40px;
  position: fixed;
  width: 85%;
  bottom: 15px;
  z-index: 2;
}

.bottombox img {
	width:80px;
}
@media screen and (min-width: 450px) {
  .bottombox {
    width: 425px;
  }
 }
 
.btn_box button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}


/*RH選擇*/

.box_mT {
  padding-top: 60px;
}

.box_mT h2 {
  text-align: center;
  width:170px;
  display:block;
  margin:0 auto;
  margin-bottom:10px;
  margin-top:0px;
}




.box_mT h2 img {
	width: 100%;
}

.box_mT h3 {
  text-align: center;
  margin: 0 auto;
  margin-bottom:10px;
  width:60px;
  display:block;
}

.RH_btn {
  padding-top: 0px;
  text-align: center;
  padding-bottom: 20px;
}

.RH_btn a {
  display: block;
  width:150px;
  margin:0 auto;
}

.RH_btn a img {
    width: 100%;
}
  
.RH_btn a:last-child {
  /*margin-bottom: 0;*/
}

.H_lesson {
  height: 330px;
  overflow-y: auto;
}

.lesson_box h4 {
  text-align: center;
  margin: 20px 0 20px;
}

.lesson_box:first-child h4 {
  /*margin-top: 10px;*/
}

.a_box {
  overflow: hidden;
  padding: 0 10%;
}

.a_box a {
  width: 50%;
  display: block;
  float: left;
  text-align: center;
  /* margin-bottom: 5%; */
  margin-bottom: 25px;
}

.a_box a:nth-child {
  clear: both;
}

.r_unit {
  margin-top: 20px;
}

.H_class_one ul li {
  background-repeat: no-repeat;
  background-size: 100%;
  display: block;
  margin-bottom: 5px;
  padding-top: 5px;
  padding-bottom: 15px;
  padding-left: 39%;
  padding-right: 3%;
  text-align: right;
  margin-bottom: 15px;
}

.H_class_one ul li a {
  display: inline-block;
  margin: 0 1%;
  width: 19.5%;
  text-align: center;
}

.H_class_one ul li a img {
  width: 100%;
}

.H_class_one ul li:nth-child(1) {
  background-image: url(../images/h_class/title_h1.png)
}

.H_class_one ul li:nth-child(2) {
  background-image: url(../images/h_class/title_h2.png);
}

.H_class_one ul li:nth-child(3) {
  background-image: url(../images/h_class/title_h3.png);
}

.H_class_one ul li:nth-child(4) {
  background-image: url(../images/h_class/title_h4.png);
}

.H_class_one ul li:nth-child(5) {
  background-image: url(../images/h_class/title_h5.png);
}

.H_class_one ul li:nth-child(6) {
  background-image: url(../images/h_class/title_h6.png);
}

.R_class_one {
  padding-top: 20px;
}

.R_class_one .item_box {
  text-align: center;
}

.R_class_one .item_box h4 {}

.R_class_one .item_box a {
  display: inline-block;
  margin: 0 7px;
}

.R_class_one .item_box a img {
  text-align: center;
}


/**/

.speak_01 {
  padding-top: 10px;
}

/*
.speak_01 h2 {
  margin: 0 !important;
  line-height: 1.3em;
}
.speak_01 h3
 {
  margin: 0 !important;
  line-height: 1.3em;
}
*/

.box_mT .speak_01 h2{margin:0 auto;width:100%;text-align:center;line-height: 1.3em;}
.box_mT .speak_01 h3{margin:0 auto;width:100%;text-align:center;line-height: 1.3em;}


.speak_01 .num_box {
  color: #ff2b54;
  font-size: 110px;
  line-height: 1.3em;
  text-align: center;
  position: relative;
}

.speak_01 .msg_box {
  background: rgba(255, 255, 255, .3);
  padding: 10px;
  border-radius: 10px;
}

.speak_01 .msg_box h4 {
  margin: 0;
  border-bottom: 1px solid #CCC;
  padding-bottom: 10px;
  padding-left: 5px;
}

.speak_01 .msg_box .msg_text {
  overflow-y: auto;
  height: 70px;
}

.finish_box {
  /*margin-bottom: 40px;*/
}

.finish_box span {
  text-align: center;
  display: block;
  width:140px;
  margin:0 auto;
  margin-top: 60px;
}

.finish_box a {
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  display: block;
  margin-top: 50px;
  color: #4d4d4d;
}

.recording_box .second {
  font-size: 50px;
  text-align: center;
  margin-top: 70px;
}

.recording_box ul {
  text-align: center;
  margin-top: 40px;
}

.recording_box ul li {
  display: inline-block;
}

.listen_box {
  display: block;
  text-align: center;
}

.listen_box img {
  max-width: 230px;
  margin-top: 5px;
}

.msg_box2 {
  font-size: 20px;
}

.msg_box2 p {
  margin-bottom: 10px;
  margin-top: 0;
  text-align: center;
  color: #4d4d4d;
  font-weight: bold;
}

.msg_box2 a {
  line-height: 1.5em;
  display: block;
  text-align: center;
  color: #4d4d4d;
  font-weight: bold;
}


/*聽打*/

.speak_02 {
  font-size: 25px;
  margin-top: 40px;
}

.speak_02 input.line_bottom {
  border: 0;
  border-bottom: 1px solid #000;
  border-radius: 0;
  background-color: transparent;
  width: 80px;
}

.speak_02 .sel_box {
  margin-top: 40px;
  margin-bottom: 40px;
}

.speak_02 .sel_box ul li {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 35px;
  line-height: 1.5em;
}

.speak_02 .sel_box ul li a {
  display: block;
}

.speak_02 .sel_box ul li.active {
  border: 3px solid #e4007f;
  border-radius: 5px;
}

.speak_02 h5 {
  margin: 0;
  display:block;
  width:150px;
  margin:auto;
  position:relative;
  top:20px;
  left:0px;
}


/*讀秒*/

.seconds_po {
  position: relative;
}

.seconds {
  position: absolute;
  top: 0px;
  right: -15px;
  width: 85px;
  height: 85px;
  background: url(../images/bigsecond.png);
  animation-name: play2;
  animation-duration: 21s;
  nimation-fill-mode: forwards;
  animation-timing-function: step-start;
}

@keyframes play2 {
  0% {
    background-position: 0 0;
  }
  4.7% {
    background-position: -85px 0;
  }
  9.4% {
    background-position: -170px 0;
  }
  14.1% {
    background-position: -255px 0;
  }
  18.8% {
    background-position: -340px 0;
  }
  23.5% {
    background-position: -425px 0;
  }
  28.2% {
    background-position: -510px 0;
  }
  32.9% {
    background-position: -595px 0;
  }
  37.6% {
    background-position: -680px 0;
  }
  42.3% {
    background-position: -765px 0;
  }
  47% {
    background-position: -850px 0;
  }
  51.7% {
    background-position: -935px 0;
  }
  56.4% {
    background-position: -1020px 0;
  }
  61.1% {
    background-position: -1105px 0;
  }
  65.8% {
    background-position: -1190px 0;
  }
  70.5% {
    background-position: -1275px 0;
  }
  75.2% {
    background-position: -1360px 0;
  }
  79.9% {
    background-position: -1445px 0;
  }
  84.6% {
    background-position: -1530px 0;
  }
  89.3% {
    background-position: -1615px 0;
  }
  94% {
    background-position: -1700px 0;
  }
  98.7% {
    background-position: -1785px 0;
  }
  100% {
    background-position: 0px 0;
  }
}

@keyframes play3 {
  0% {
    background-position: 0 0;
  }
  4.7% {
    background-position: -67px 0;
  }
  9.4% {
    background-position: -134px 0;
  }
  14.1% {
    background-position: -201px 0;
  }
  18.8% {
    background-position: -268px 0;
  }
  23.5% {
    background-position: -335px 0;
  }
  28.2% {
    background-position: -402px 0;
  }
  32.9% {
    background-position: -469px 0;
  }
  37.6% {
    background-position: -535px 0;
  }
  42.3% {
    background-position: -601px 0;
  }
  47% {
    background-position: -667px 0;
  }
  51.7% {
    background-position: -733px 0;
  }
  56.4% {
    background-position: -800px 0;
  }
  61.1% {
    background-position: -867px 0;
  }
  65.8% {
    background-position: -933px 0;
  }
  70.5% {
    background-position: -1000px 0;
  }
  75.2% {
    background-position: -1066px 0;
  }
  79.9% {
    background-position: -1133px 0;
  }
  84.6% {
    background-position: -1199px 0;
  }
  89.3% {
    background-position: -1266px 0;
  }
  94% {
    background-position: -1334px 0;
  }
  98.7% {
    background-position: -1400px 0;
  }
  100% {
    background-position: 0px 0;
  }
}


/*聽音拼字*/

.sound_box {
  text-align: center;
  margin-bottom: 80px;
}

.sound_box a {
  display: block;
}

.sound_box p:last-child {
  margin-top: 40px;
}

.sound_box input {
  margin: 0;
  margin-bottom: 30px;
  width: 100%;
  background: #FFF;
  border-radius: 5px;
  border: 0;
  height: 55px;
  box-shadow: 1px 1px 10px #CCC;
  padding: 10px;
}


/*聽音選圖*/

.sel_box2 {
  margin-top: 0px;
}

.sel_box2 ul {
  display: block;
  overflow: hidden;
}

.sel_box2 ul li {
  padding: 5px;
  text-align: center;
  width: 50%;
  float: left;
  height:150px !important;
}

.sel_box2 ul li span {
  border-radius: 5px;
  width: 140px;
  height: 140px;
  display: inline-block;
}

.sel_box2 ul li.active span {
  border: 3px solid #e4007f;
}

.sel_box2 ul li:nth-child(even) {
  text-align: left;
}

.sel_box2 ul li:nth-child(odd) {
  text-align: right;
}


/*檢討*/

.speak_03 h5 {
  text-align: center;
}

.list_box {
  font-size: 20px;
  line-height: 1.5em;
  height: 270px;
}

.st_01 {
  overflow: hidden;
  margin-bottom: 10px;
}

.st_01 a {
  float: left;
  width: 20%;
  text-align: center;
}

.st_01 p {
  float: right;
  width: 80%;
  margin: 0;
}

.st_02 {
  overflow: hidden;
  margin-bottom: 10px;
}

.st_02 a {
  float: left;
  width: 20%;
  text-align: center;
}

.st_02 .st_ul {
  float: right;
  width: 80%;
  margin: 0;
}

.st_02 ul {
  float: left;
}

.st_02 ul li {
  float: left;
  padding: 5px;
  display: block;
}

.st_02 ul li.active span {
  border: 3px solid #e4007f;
}

.st_02 ul li span {
  display: inline-block;
  background: #FFF;
  width: 80px;
  height: 80px;
  text-align: center;
  border-radius: 5px;
}

.st_02 ul li:nth-child(2n+1) {
  clear: both;
}

.st_02 ul li:nth-child(even) {
  text-align: left;
}

.st_02 ul li:nth-child(odd) {
  text-align: right;
}

.st_03 {
  overflow: hidden;
  margin-bottom: 10px;
  padding-left: 20px;
}

.st_03 p {
  margin: 0;
}

.st_03 span {
  border-bottom: 1px solid #000;
  width: 40px;
  display: inline-block;
}

.st_03 ul {
  margin-top: 10px;
}

.st_03 ul li {
  text-align: center;
  line-height: 1em;
}

.st_03 ul li.active {
  color: #f00;
}


/**/

.mB0 {
  margin-bottom: 0 !important;
}

.m0 {
  margin: 0 !important;
  margin-top:-10px !important;
}


/**/

.class_box h2 {
  text-align: center;
}


/**/

.score_table2 {
  border-radius: 10px;
  overflow: hidden;
}

.score_table2 table tr:nth-child(even) {
  background: rgba(251, 225, 238, .65);
}

.score_table2 table tr:nth-child(odd) {
  background: rgba(255, 255, 255, .65);
}

.score_table2 table tr th {
  font-size: 13px;
}

.score_table2 table tr td,
.score_table2 table tr th {
  text-align: center;
  padding: 6px 0px;
  font-size: 13px;
}

.score_table3 {
  border-radius: 10px;
  overflow: hidden;
}

.score_table3 table tr:nth-child(odd) {
  background: rgba(251, 225, 238, .65);
}

.score_table3 table tr:nth-child(even) {
  background: rgba(255, 255, 255, .65);
}

.score_table3 table tr:nth-child(1) {
  background: rgba(255, 255, 255, .65);
}

.score_table3 table tr th {
  font-size: 13px;
}

.score_table3 table tr td,
.score_table3 table tr th {
  text-align: center;
  padding: 6px 0px;
  font-size: 13px;
}

.class_box p {
  text-align: right;
  padding-top: 15px;
  margin: 0 0 5px;
  color: #4d4d4d;
}


/*遊戲-bingo*/

.con_box_game {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 30px;
}

.bingo_box {
  position: relative;
}

.title_box {
  padding: 0 5px;
  position: absolute;
  top: 10px;
  left: 0;
}

.white_box {
  margin-top: 10px;
  position: relative;
}

.sel_m2_box {
  position: absolute;
  top: 0;
  left: 0;
  padding: 3px;
}

.sel_m2_box .fl_left {
  width: 75%;
}

.sel_m2_box .fl_left span {
  cursor: pointer;
}

.sel_m2_box .fl_right {
  width: 25%;
  padding: 3px 3px 0;
  position: relative;
}

.sel_m2_box ul li {
  width: 33.333333%;
  float: left;
  display: block;
  padding-left: 1px;
  padding-top:1px;
}

.time_box {
  position: absolute;
  top: 4.8%;
  right: 5%;
  width: 20%;
}

.time_box span {
  width: 20%;
  display: block;
  float: left;
  padding-right: 3px;
}

.time_box span img {
  width: 100%;
}

.again_box {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -20%;
  margin-top: -20%;
  width: 38%;
}

.again_box .p1 {
  position: absolute;
  top: 49%;
  left: 73%;
  width: 20%;
}

.again_box .p2 {
  position: absolute;
  top: 50%;
  left: 81%;
  width: 25%;
}

.again_box .p3 {
  position: absolute;
  top: 34%;
  left: 60%;
  width: 44%;
}

.again_box .p1 img {
  animation: s1 2s infinite;
  transform: scale(0, 0);
}

.again_box .p2 img {
  animation: s1 1.5s infinite;
  animation-delay: .8s;
  transform: scale(0, 0);
}

.again_box .p3 img {
  animation: s1 1.5s infinite;
  animation-delay: 1s;
  transform: scale(0, 0);
}

.again_box .add {
  position: absolute;
  top: 54%;
  width: 100%;
  text-align: center;
}

.again_box .add img {
  max-width: 27%;
}

.again_box .again {
  text-align: center;
  margin-top: -15%;
}

.again_box .again img {
  max-width: 47%;
}

@keyframes s1 {
  0% {
    transform: scale(0, 0);
  }
  70% {
    transform: scale(1, 1);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}


/*遊戲-concentrate*/

.con_box_game {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 30px;
}

.bingo_box {
  position: relative;
}

.title_box {
  padding: 0 5px;
  position: absolute;
  top: 10px;
  left: 0;
}

.white_box {
  margin-top: 10px;
  position: relative;
}

.white_box .w_bg {
  position: absolute;
  top: 0;
  left: 0;
}

.sel_m_box {
  position: absolute;
  top: 0;
  left: 0;
  padding: 3px;
  width:100%;
}

.sel_m_box ul {
  width: 100%%;
}

.sel_m_box ul li {
  width: 25%;
  float: left;
  display: block;
  padding-left: 1px;
  padding-top: 1px;
}

.sel_m_box ul li span {
  cursor: pointer;
}

.sel_m_box ul li span img {
  max-width: 100%;
}

.time_box2 {
  position: absolute;
  top: 5.2%;
  right: 3%;
  width: 18%;
  max-height: 15px;
}

.time_box2 span {
  width: 20%;
  display: block;
  float: left;
  padding-right: 3px;
}

.time_box2 span img {
  width: 100%;
}


/*遊戲-snap*/

.snap_box {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.snap_box .correct {
  width: 20%;
  display: block;
  position: absolute;
  top: 3%;
  left: 4%;
}

.snap_box .wrong {
  width: 20%;
  display: block;
  position: absolute;
  top: 3%;
  right: 4%;
}

.snap_box .correct span {
  color: #fff;
  position: absolute;
  bottom: 11%;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 1.4em;
  padding-right: 10px;
}

.snap_box .wrong span {
  color: #fff;
  position: absolute;
  bottom: 11%;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 1.4em;
}

.pic_box {
  width: 46%;
  margin: 0 auto;
  margin-top: 6%;
  overflow: hidden;
}

.pic_box span {
  width: 50%;
  float: left;
  padding: 0 2px;
}

.snap_sel {
  width: 50%;
  margin: 0 auto;
  margin-top: 0%;
  position: relative;
}

.snap_sel p:nth-child(1) {
  position:
}

.snap_sel p:nth-child(3) {
  position: absolute;
  width: 44%;
  bottom: 10%;
  left: 9%;
}

.snap_sel p:nth-child(4) {
  position: absolute;
  width: 44%;
  bottom: 11%;
  right: 12%;
}

.load_time {
  background: url(../images/game/snap/light_01.png);
  height: 48%;
  animation-name: ss2;
  animation-duration: 6s;
  nimation-fill-mode: forwards;
  animation-timing-function: step-start;
  position: absolute;
  width: 70%;
  top: -9%;
  left: 17%;
  background-size: 100%;
}

@keyframes ss2 {
  0% {
    background: url(../images/game/snap/light_01.png);
    background-size: 100%;
  }
  16.6% {
    background: url(../images/game/snap/light_02.png);
    background-size: 100%;
  }
  33.2% {
    background: url(../images/game/snap/light_03.png);
    background-size: 100%;
  }
  49.8% {
    background: url(../images/game/snap/light_04.png);
    background-size: 100%;
  }
  66.4% {
    background: url(../images/game/snap/light_05.png);
    background-size: 100%;
  }
  83% {
    background: url(../images/game/snap/light_06.png);
    background-size: 100%;
  }
  100% {
    background: url(../images/game/snap/light_01.png);
    background-size: 100%;
  }
}


/*動畫*/

.light {
  position: absolute;
  top: 0;
  left: -10%;
  width: 60px;
  height: 138px;
  background-image: url(../images/ani.png);
  -webkit-animation: play 1s steps(3) infinite alternate;
  animation: play 1s steps(3) infinite alternate;
}

.light2 {
  position: absolute;
  top: 0;
  right: -10%;
  width: 60px;
  height: 138px;
  background-image: url(../images/ani_right.png);
  -webkit-animation: play 1s steps(3) infinite alternate;
  animation: play 1s steps(3) infinite alternate;
}

@-webkit-keyframes play {
  from {
    background-position: 0px;
  }
  to {
    background-position: -180px;
  }
}

@keyframes play {
  from {
    background-position: 0px;
  }
  to {
    background-position: -180px;
  }
}

@media(max-width:430px) {
  .menu_box {
    padding-top: 100px;
  }
  .con_box {
    width: 360px;
    margin: 0 auto;
  }
  .login_box a {
    margin-top: 0;
  }
  .login_box input {
    line-height: 1.3em;
    width: 95%;
    padding: 9px;
  }
  .login_box {
    padding-top: 34%;
    padding-left: 9%;
    padding-bottom: 225px;
    min-height: inherit;
  }
  .login_box button {
    top: 32%;
    width: 70px;
    right: 5.5%;
  }
  .menu_box ul {
    width: 195px;
  }
  .forget_box ul {}
  .forget_box input[type="text"] {
    width: 74%;
  }
  .forget_box span img {
    width: 80%;
  }
  .forget_box h1 {
    padding: 50px 10px 20px;
  }
  .forget_box h1 img {
    width: 70%;
  }
  .box_mT {
    padding-top: 50px;
  }
  /*.H_lesson {
    height: 400px;
  }*/
  .H_class_one ul li {
    padding-left: 39%;
    padding-right: 3%;
    text-align: right;
    margin-bottom: 0px;
  }
  .box_mT h2 {
    /*margin-bottom: 10px;*/
  }
  .btn_box button img {
    max-width: 100%;
  }
  .a_box {
    padding: 0%;
  }
  .a_box img {
    max-width: 100px;
  }
  .box_mT h3 img {
    max-width: 50px;
  }
  .RH_btn {
    /*padding-top: 40px;*/
  }
  .RH_btn a {
    /*margin-bottom: 25px;*/
  }
  
  .R_class_one {
    padding-top: 10px;
  }
  .R_class_one .item_box a {
    margin: 0 4px;
  }
  .R_class_one .item_box h4 {
    margin: 10px 0;
  }
  .R_class_one .item_box h4 img {
    max-width: 110px;
  }
  .R_class_one .item_box a img {
    max-width: 50px;
  }
  .a_box a {
    margin-bottom: 3%;
  }
  .r_unit {
    margin-top: 10px;
  }
  .recording_box ul li img {
    width: 95px;
  }
  .sound_box img {
    width: 100px;
  }
  .sel_box2 ul li span {
    width: 120px;
    height: 120px;
  }
  .mainselection select,
  .mainselection2 select {
    height: 45px;
  }
  .form_style input[type="text"] {
    height: 45px;
  }
  .student_info dl {
    margin: 5px 0;
  }
  .snap_box .wrong span {
    font-size: 1em;
  }
  .snap_box .correct span {
    font-size: 1em;
  }
  .conimg{min-height:79px !important;}
  .gingoimg{min-height:79px !important;}
  
  .seconds {
		animation-name: play3;
		width: 64px;
		height: 64px;
		background: url(../images/smallsecond.png);
	}
	
   .snap_sel {
	  margin-top: -4% !important;
	}

}

@media(max-width:375px) {
  .con_box {
    width: 320px;
    margin: 0 auto;
  }
  .login_box a {
    margin-top: 0;
  }
  .login_box input {
    line-height: 1.3em;
    width: 89%;
    padding: 6px;
    font-size: 16px;
  }
  .login_box {
    padding-top: 34%;
    padding-left: 9%;
  }
  .login_box button {
    top: 29.5%;
    width: 70px;
    right: 6%;
  }
  .menu_box ul {
    width: 185px;
  }
  .forget_box label {
    width: 65px;
  }
  .forget_box span {
    margin-top: 30px;
  }
  .btn_box {
    overflow: hidden;
    margin-top: 20px;
  }
  .sound_box img {
    width: 60px;
  }
  .sel_box2 ul li span {
    width: 100px;
    height: 100px;
  }
  
  .conimg{min-height:69px !important;}
  .gingoimg{min-height:69px !important;}
}


.menu_box ul li {
	  margin-bottom: 10%;
  }
.menu_box ul li:nth-child(2){margin-top:-30px;}

.RH_btn a:before {
	border-radius: 50%;
	width: 30px;
	height: 30px;
	content: '';
	text-align: center;
	color: #fff;
	background: transparent;
	float: right;
	position: relative;
	top: 15px;
	right: -10px;
	line-height: 30px;
}

.conimg{min-height:90px;width:100%;background-repeat:no-repeat;background-size:100%;}
.gingoimg{width:100%;min-height:90px;background-repeat:no-repeat;background-size:100%;}

