@charset "utf-8";
/***
  for 臺灣客語拼音學習網
  create 2022/5/13
  author Rita
***/

/* CSS Document */
body, html { padding:0; margin:0; overflow-x: hidden; }
html { overflow:-moz-scrollbars-vertical; overflow-y:scroll; overflow-x: hidden; height:100%;}
body {
  font-family: "jf-openhuninn", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  -webkit-overflow-scrolling: touch;
  background: url(../images/bg_top.jpg) top center no-repeat;
  background-size: 100% auto;
  background-color: #7cb342;
  padding-top: 60px;
}

.word {
  font-family: "Microsoft JhengHei", Arial, sans-serif;
  font-weight: 550;
}

a { text-decoration: none; }
a:hover { text-decoration: none;
          -o-transition:all .3s linear;
          -webkit-transition:all .3s linear;
          -moz-transition:all .3s linear;
          transition: all .3s linear;
}
a:hover, a:focus {
  text-decoration: none;
}
.wrapper { position: relative; }
.wrap-bottom {
  min-height: 367px;
  background: url(../images/bg_bottom.jpg) bottom center no-repeat;
  background-size: 100% auto;
}
/*
.major-title {
  font-size: 2.25rem;
  text-align: center;
  color: #841764;
  font-weight: bold;
  margin-bottom: 30px;
}
.major-title span {
  font-size: .75rem;
  color: #aaa;
  padding-left: 10px;
  text-transform: uppercase;
}
*/
.subtit {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.list {
  padding: 0 0 0 1.2rem;
  margin: 0 20px;
}


.header { text-align: center; }
.header .head-logo {
  display: block;
  width: 360px;
  height: 57px;
  background: url(../images/logo.svg) center no-repeat;
  background-size: cover;
  text-indent: -9999px;
  line-height: 9999;
  overflow: hidden;
  float: left;
  margin: 0;
  z-index: 9999;
}
.navbar {
  text-align: right;
  padding-top: 15px;
  margin: 0 -15px;
}
.navbar li {
  display: inline-block;
  vertical-align: middle;
}
.navbar li a {
  padding: 20px 10px;
  color: #6C0000;
  letter-spacing: 3px;
  font-size: 25px;
  border-right: 2px solid #6C0000;
}
.navbar li:last-child a { border: none; }
.navbar li a img {
  margin-right: 10px;
}
.navbar ul.nav ul { display: none; width: 100%; position: relative; z-index: 9999; list-style: none; padding: 15px 0; margin: 0; border-bottom-left-radius: 15px; border-bottom-right-radius: 15px; background-image: linear-gradient(to top, #FFFCDD 0%, #FFFCDD 70%, #7EC5E5 100%); opacity: 0.92; }
.navbar ul.nav ul a { color: #2E5856; display: block; text-align: center; padding: 10px 15px; }
.navbar ul.nav2 {
  display: none;
}

/* 首頁更新20220721 starr */
body.index {
  height: 100%;
  background-image: none;
}
body.index .header {
  position: relative;
  z-index: 9999;
}
body.index .navbar {
  display: none;
}
body.index .footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
}
body.index .wrapper {
  display: flex;
  height: calc(100% - 70px);
  background: url(../images/bg_index.png) bottom center no-repeat;
  background-size: 100% 100%;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
}
body.index .wrapper .container {
  position: relative;
}
body.index .container {
  max-width: 1280px;
}
body.index .wrapper .imgsun {
  width: 272px;
  height: 272px;
  background: url(../images/bg_sun.png) center no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  right: 15vw;;
}
.imgbtn {
  position: absolute;
  z-index: 9;
}
.imgbtn.img-lion {
  display: block;
  width: 528px; /* 77% */
  height: 384px;
  background: url(../images/img_lion.gif) center no-repeat;
  background-size: cover;
  bottom: 30px;
  left: -50px;
  z-index: 99;
}
.imgbtn.img-rabbit {
  display: block;
  width: 343px; /* 77% */
  height: 355px;
  background: url(../images/img_rabbit.gif) center no-repeat;
  background-size: cover;
  bottom: 250px;
  left: 45%;
  margin-left: -200px;
}
.imgbtn.img-ox {
  display: block;
  width: 265px; /* 77% */
  height: 293px;
  background: url(../images/img_ox.gif) center no-repeat;
  background-size: cover;
  bottom: 150px;
  right: 45%;
  margin-right: -230px;
}
.imgbtn.img-horse {
  display: block;
  width: 296px; /* 77% */
  height: 283px;
  background: url(../images/img_horse.gif) center no-repeat;
  background-size: cover;
  bottom: 50px;
  right: -20px;
  z-index: 99;
}
.imgbtn .button {
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  opacity: 0;
}
.imgbtn:hover .button {
  opacity: 1;
  transition: all .5s;
}

.imgbtn.img-lion .button {
  width: 217px;
  height: 140px;
  background: url(../images/button_lion.png) center no-repeat;
  background-size: cover;
  margin-top: 25px;
  margin-left: 270px;
}
.imgbtn.img-rabbit .button {
  width: 247px;
  height: 160px;
  background: url(../images/button_rabbit.png) center no-repeat;
  background-size: cover;
  margin-top: 30px;
  margin-left: 130px;
}
.imgbtn.img-ox .button {
  width: 246px;
  height: 159px;
  background: url(../images/button_ox.png) center no-repeat;
  background-size: cover;
  margin-top: -20px;
  margin-left: -110px;
}
.imgbtn.img-horse .button {
  width: 246px;
  height: 159px;
  background: url(../images/button_horse.png) center no-repeat;
  background-size: cover;
  margin-top: 40px;
  margin-left: -200px;
}
/* 首頁更新20220721 end */

.content {
  padding-top: 60px;
  padding-bottom: 120px;
  background: url(../images/bg_bottom.jpg) center bottom no-repeat;
  background-size: 100% auto;
}
.content .container { position: relative; }
.subbar {
  max-width: 1290px;
  margin: 0 auto 20px;
}

.breadcrumbs {
  margin-left: 7px;
  padding-left: 25px;
  background: url(../images/icon_point.png) left center no-repeat;
  margin-bottom: 0;
}
.breadcrumbs li {
  display: inline-block;
  vertical-align: middle;
  font-size: 15px;
  color: #4B3E3E;
  position: relative;
}
.breadcrumbs li::before {
  display: block;
  content: '/';
  width: 6px;
  height: 100%;
  position: absolute;
  right: -5px;
  top: 6px;
}
.breadcrumbs li:first-child a { background: url(../images/icon_home.png) left center no-repeat; padding-left: 30px; }
.breadcrumbs li a { display: block; padding: 5px; color: #4B3E3E; }
.breadcrumbs li a:hover { text-decoration: underline; }
.breadcrumbs li:last-child::before { display: none; }

.subbar .subhead {
  height: 105px;
  margin: 0;
  position: relative;
  align-content:  stretch;
}
.subbar .subhead .subhead-left {
  flex: 0 0 114px;
  height: 100%;
  background: url(../images/subhead_bg1.png) center no-repeat;
  background-size: cover;
}
.subbar .subhead .subhead-right {
  flex: 0 0 137px;
  height: 100%;
  background: url(../images/subhead_bg3.png) center no-repeat;
  background-size: cover;
}
.subbar .subhead h1 {
  display: flex;
  flex: 1;
  height: 100%;
  background: url(../images/subhead_bg2.png) center no-repeat;
  background-size: 100% 100%;
  padding: 15px 30px;
  justify-content: center;
  align-items: center;
  color: #6C0000;
  font-size: 35px;
}
.subbar .subhead h1 img {
  margin-right: 10px;
}

.submenu {
  margin-bottom: -50px;
  position: relative;
  z-index: 9;
}
.submenu > ul {
  padding: 0;
  margin: -2px 0 0 0;
  list-style: none;
  display: flex;
  justify-content: center;
  max-width: 1190px;
}
.submenu > ul li {
  flex: 1;
  justify-content: center;
}
.submenu > ul > li > a {
  display: block;
  font-size: 26px;
  color: #fff;
  padding: 20px 15px;
  text-align: center;
  padding-top: 60px;
  transition:  none;
  background: url(../images/submenu_bg.png) top center no-repeat;
  background-size: contain;
}
.submenu > ul > li:nth-child(1) > a {
  display: block;
  font-size: 26px;
  color: #fff;
  padding: 20px 15px;
  text-align: center;
  padding-top: 60px;
  transition:  none;
  background: url(../images/submenu_bg_hover.png) top center no-repeat;
  background-size: contain;
}
.submenu > ul > li > .dis {
  display: block;
  font-size: 26px;
  color: #fff;
  padding: 20px 15px;
  text-align: center;
  padding-top: 60px;
  transition:  none;
  pointer-events:none;
  background: url(../images/submenu_bg3.png) top center no-repeat;
  background-size: contain;
}
.submenu > ul > li > a:hover {
  background: url(../images/submenu_bg_hover.png) top center no-repeat;
  background-size: contain;
}
.submenu > ul > li .dropdown-toggle.show {
  background: url(../images/submenu_bg2.png) top center no-repeat;
}
.submenu .dropdown-menu {
  flex-direction: column;
  border: none;
  background: none;
  margin-top: -15px !important;
  width: 238px;
}

.submenu .dropdown-menu > li {
  background: url(../images/submenu_li.png) center no-repeat;
}
.submenu .dropdown-menu > li > a {
  display: block;
  padding: 10px 15px;
  height: 50px;
  line-height: 30px;
  font-size: 26px;
  color: #fff;
  text-align: center;
}
.submenu .dropdown-menu > li > a:hover {
  background: url(../images/submenu_ahover.png) center no-repeat;
  color: #fff;
  transition:  none;
}
.submenu .dropdown-menu > li:last-child {
  height: 59px;
  background: url(../images/submenu_li_last.png) center no-repeat;
}

.main {
  padding: 80px 120px;
  border: 1px solid #6C0000;
  border-radius: 30px;
  background: #fff;
  position: relative;
}
.main:before, .main:after {
  display: block;
  content: '';
  width: 34px;
  height: 33px;
  background: url(../images/icon_crew.png) center no-repeat;
  position: absolute;
  top: 15px;
}
.main:before { left: 15px; }
.main:after { right: 15px; }

.learning-one, .learning-two, .learning-three,
.learning-four, .learning-five, .learning-six {
  margin-bottom: 100px;
}

.learning-header {
  margin-bottom: 50px;
  position: relative;
  background: url(../images/line2.png) right 59% no-repeat;
}
.learning-header:before {
  display: block;
  content: '';
  width: 60px;
  height: 30%;
  background: #fff;
  position: absolute;
  left: 0;
  top: 0;
}
.learning-header img {
  display: inline-block;
  z-index: 1;
  position: relative;
}
.learning-header h2 {
  display: inline-flex;
  font-weight: normal;
  font-size: 30px;
  color: #6C0000;
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  border: 3px solid #9E8775;
  border-left: none;
  margin: 30px 0 0 -50px;
  padding: 15px 50px 15px 70px;
  vertical-align: middle;
  background: #fff;
}
.learning-header h2 .learning-z{
  margin: auto;
  margin-right: 10px;
}
.learning-header h2 span{
  display: inline-block;
  width: 45%;
  text-align: center;
}
.learning-header h2 .quarter span{
  display: inline-block;
  width: 19%;
  text-align: center;
}
.learning-header h2 .onethird span{
  display: inline-block;
  width: 30%;
  text-align: center;
}

.learning-btn {
  display: inline-block;
  vertical-align: middle;
  margin: 30px 0 0 60px;
}
.learning-btn a {
  display: inline-block;
  width: 78px;
  height: 78px;
  cursor: pointer;
}
.btn-switch {
  background: url(../images/btn_switch.png) center no-repeat;
  background-size: cover;
  text-indent: -999px;
  overflow: hidden;
}
.btn-switch:hover, .btn-play:focus {
  background-image: url(../images/btn_switch_hover.png);
}
.btn-switch.active {
  background-image: url(../images/btn_switch_active.png);
}
.btn-play {
  background: url(../images/btn_play.png) center no-repeat;
  background-size: cover;
  text-indent: -999px;
  overflow: hidden;
}
.btn-play:hover, .btn-play:focus, .btn-play.active {
  background-image: url(../images/btn_play_hover.png);
}

.learning-word.word2 {
  font-family: 'BpmfZihiKai', sans-serif;
  font-size: 117px;
  color: #3E6C6A;
}
.learning-word .word-wrap {
  display: inline-block;
  padding: 10px 20px;
  font-size: 79px;
  text-align: center;
}
.word-wrap .row {
  flex-direction: column;
  align-content: stretch;
  position: relative;
}
.word-wrap .row > div {
  min-width: 116px;
  padding: 10px 20px;
  color: #3E6C6A;
  font-size: 57px;
  position: relative;
  overflow: hidden;
}
.word-wrap .row > div:first-child {
  font-family:jf-openhuninn, Segoe UI, sans-serif;
  background: #3E6C6A;
  color: #fff;
  font-size: 79px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, .6);
  border-radius: 6px;
}
.word-wrap .row > div > a {
  display: none;
}
.word-wrap .row > div:hover > a {
  display: block;
  background: rgba(62, 108, 106, .8);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  cursor: pointer;
  z-index: 2;
}
.word-wrap .row > div:hover a img {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -25px;
  margin-left: -25px;
}

.word-wrap .row > div span {
  display: inline-block;
  width: 50%;
  padding: 0 5px;
}

.word-wrap.word-fix .row > div:nth-child(2) {
  border-left: 2px dashed #3E6C6A;
  border-right: 2px dashed #3E6C6A;
  
}
.word-wrap.word-fix .row > .col-bottom {
  margin-top: -35px;
  border: 2px dashed #3E6C6A;
  border-top: none;
  padding-top: 0;
  border-radius: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.word-wrap.word-fix .row > .col-bottom .plus {
  position: relative;
}
.word-wrap.word-fix .row > .col-bottom .plus:before {
  display: block;
  content: '+';
  color: red;
  position: absolute;
  right: 5px;
  top: 0px;
  font-size: 40px;
  font-weight: normal;
}

.learning-grid > div {
  padding: 15px;
  color: #3E6C6A;
  text-align: center;
  
}
.learning-grid .border-wrap {
  font-size: 50px;
  line-height: 1.3;
  border: 1px solid #3E6C6A;
  padding: 10px 25px;
  border-radius: 12px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, .5);
  position: relative;
}
.learning-grid .border-wrap:before {
  display: block;
  content: '';
  width: 73px;
  height: 72px;
  background: url(../images/ellipse-left.png) no-repeat;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}
.learning-grid .border-wrap:after {
  display: block;
  content: '';
  width: 72px;
  height: 74px;
  background: url(../images/ellipse-right.png) no-repeat;
  position: absolute;
  right: 0;
  bottom: -1px;
  z-index: 0;
}
.learning-grid .border-wrap a {
  display: none;
}
.learning-grid .border-wrap:hover a {
  display: block;
  background: rgba(62, 108, 106, .6);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  cursor: pointer;
}
.learning-grid .border-wrap:hover a img {
  position: absolute;
  top: 80%;
  left: 80%;
  width: 13%;
  margin-top: -10px;
  margin-left: 8px;
}
.learning-grid .border-wrap:hover a img.big {
  position: absolute;
  top: 80%;
  left: 80%;
  width: 10%;
  margin-top: -10px;
  margin-left: 30px;
}
.learning-grid .border-wrap:hover a img.big1 {
  position: absolute;
  top: 80%;
  left: 80%;
  width: 8%;
  margin-top: -15px;
  margin-left: 60px;
}
.learning-grid .border-wrap:hover a img.big2 {
  position: absolute;
  top: 80%;
  left: 80%;
  width: 8%;
  margin-top: -10px;
  margin-left: 50px;
}
.learning-grid .border-wrap:hover a img.big3 {
  position: absolute;
  top: 80%;
  left: 80%;
  width: 13%;
  margin-top: -10px;
  margin-left: 8px;
}

.learning-grid .border-wrap .row {
  background: #fff;
  flex-direction: column;
  align-content: stretch;
  border: 1px solid #3E6C6A;
  border-radius: 9px;
  padding: 30px 0;
  position: relative;
  z-index: 1;
}
.learning-grid .border-wrap .row > div span {
  display: inline-block;
  min-width: 33%;
  font-size: 3rem;
}
.learning-grid .border-wrap .row .col-spell {
  font-family: Segoe UI, sans-serif;
}




.learning-grid2 > div {
  padding: 20px;
  font-size: 2.3em ;/*50px*/
  color: #3E6C6A;
  text-align: center;  
}

.learning-grid2 .row {
  align-content: stretch;
}

.tab-box {
  border: 1px solid #3E6C6A;
  border-radius: 15px;
}
.tab-box .nav .nav-item {
  width: 50%;
}
.nav-pills { border-radius: 15px; border-bottom: 1px solid #3E6C6A; }
.nav-pills .nav-link { display: block; height: 100%; border-radius: 15px; background-color: #fff; }
.nav-pills li:first-child .nav-link {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  cursor: pointer;
}
.nav-pills li:last-child .nav-link {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  cursor: pointer;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  background-color: #3E6C6A;
  cursor: default;
}
.nav-link, .nav-link:focus, .nav-link:hover {
  color: #3E6C6A;
}
.nav-pills .nav-link img {
  /*-webkit-filter:grayscale(1);*/
  margin-bottom: 5px;
}
.nav-pills .nav-link.active img {
  /*-webkit-filter:grayscale(0);*/
}

.nav-pills .nav-link:visited {
  background-color: #89b254;
}
.nav-pills .nav-link.active:visited {
  background-color: #3E6C6A;
}


.tab-box .tab-content {
  padding: 15px;
}

.tab-box .tab-content .tab-pane .row {
  align-content: stretch;
  height: 170px;
}
.tab-box .tab-content .tab-pane .row > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*align-items: center;*/
  font-family: Segoe UI, sans-serif;
}
.tab-box .tab-content .tab-pane .mouth-img {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  position: relative;
}
.tab-box .tab-content .tab-pane .mouth-img a {
  cursor: pointer;
  display: none;
}
.tab-box .tab-content .tab-pane .mouth-img:hover a {
  display: block;
  background: url(../images/icon_sound.png) center no-repeat;
  background-color: rgba(0, 0, 0, .55);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
}
.tab-box .tab-content .tab-pane .col-12 {
  font-size: 100px;
  padding-bottom: 15px;
}
.tab-box .tab-content .tab-pane .col-6 span {
  display: block;
  font-weight: bold;
}
.tab-box .tab-content .tab-pane:last-child .row {
  margin: 0px;
}

.spelling-box {
  padding: 30px;
  background: #fff;
  box-shadow: 3px 3px 4px rgba(0, 0, 0, .25);
  border-radius: 10px;
  margin-bottom: 30px;
  margin: 0 auto 30px;
}
.learning-grid4 .col-left2,.learning-grid4 .col-right2{
  cursor: pointer;
}

.learning-grid4 .row.row-aw {
  margin: 5px 0;
}
.learning-grid4 .row.row-aw > div {
  height: 57px;
}
.learning-grid4 .row > div {
  text-align: center;
}
.learning-grid4 .row > div a, .learning-grid4 .row > div p {
  display: inline-block;
  width: 120px;
  height: 120px;
  color: #fff;
  font-size: 2.6rem;
  line-height: 115px;
  background: #BDBDBD;
  padding: 0 5px;
  margin: 0;
  border: 1px solid #3E6C6A;
  border-radius: 9px;
  text-align: center;
  font-family: Segoe UI, sans-serif;
  position: relative;
}
.learning-grid4 .row >.col-left1 a,.learning-grid4 .row >.col-right1 a{
  font-size: 4.5rem;
}
.learning-grid4 .row >.col-middle p{
  font-size: 3rem;
}
.learning-grid4 .row >.col-left2 a,.learning-grid4 .row >.col-right2 a{
  font-size: 2rem;
}

.learning-grid4 .row > div a em {
  display: inline-block;
  line-height: 0;
  position: absolute;
  right: 10px;
  bottom: 10px;
  cursor: pointer;
}
.learning-grid4 .spelling-box .row:first-child > div a:hover,
.learning-grid4 .spelling-box .row:last-child > div a:hover {
  color: #fff;
  background: #3E6C6A;
}
.learning-grid4 .row > div a.active, .learning-grid4 .row > div p.active {
  color: #fff;
  background: #3E6C6A;
}
.learning-grid4 .row > div p.active {
  color: #fff;
  background: #FD9950;
  border-color: #CC1515;
}

.learning-grid4 .row-aw > div:first-child { text-align: right; }
.learning-grid4 .row-aw > div:last-child { text-align: left; }
.learning-grid4 .row > div span {
  display: inline-block;
  color: #BDBDBD;
  font-size: 50px;
  text-align: center;
  width: 44px;
  height: 57px;
}
.learning-grid4 .row > div span.aw1 {
  /*transform: rotate(-45deg);*/
  background: url(../images/direction.png);
  background-size: cover;
}
.learning-grid4 .row > div span.aw2 {
  /*transform: rotate(45deg);*/
  background: url(../images/direction2.png);
  background-size: cover;
}

.learning-grid5 > div {
  padding-bottom: 30px;
}
.learning-grid5 .grid-box {
  border: 1px solid #3E6C6A;
  border-radius: 15px;
  height: 100%;
}
.learning-grid5 .grid-box h3 {
  font-weight: normal;
  font-size: 4.5rem;
  line-height: 1;
  padding: 15px 15px 30px 20px;
  margin: 0;
  background: #3E6C6A;
  color: #fff;
  border-radius: 15px;
  font-family: Segoe UI, sans-serif;
  /* text-align: center; */
  position: relative;
}
.learning-grid5 .grid-box h3 a {
  display: inline-block;
  width: 72px;
  height: 56px;
  background: url(../images/icon_sound_w.png);
  background-size: cover;
  cursor: pointer;
  position: absolute;
  right: 10%;
  top: 50%;
  margin-top: -27px;
}
.learning-grid5 .grid-box .row {
  margin: 20px;
}

.learning-grid5 .grid-box .row .col-img {
  display: flex;
  border: 1px solid #000;
  align-items: center;
  justify-content: center;
  padding: 15px;
  height: 280px;
  flex: 0 0 60%;
}
.learning-grid5 .grid-box .row .col-img img {
  max-width: 100%;
  max-height: 100%;
}
.learning-grid5 .grid-box .row .col-word {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  font-size: 4rem;
  flex: 0 0 40%;
}
.chang{
  margin: 10px 0px;
  width: 100%;
  text-align: center;
}
.chang a{
  cursor: pointer;
}

.learning-grid6 .col-lg-6 .chang {
  display: inline-flex;
  background: #3E6C6A;
  color: #fff;
  padding: 20px 40px;
  border-radius: 15px;
  font-size: 30px;
} 
.learning-grid6 .col {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
}
.learning-grid6 .col:nth-child(2){
  max-width: 10%;
}
.learning-grid6 .col:nth-child(1),.learning-grid6 .col:nth-child(3){
  max-width: 45%;
}
.learning-grid6 .col-lg-6 .chang .col:nth-child(2) {
  text-align: center;
  line-height: 3;
}
.learning-grid6 .col p {
  display: block;
  font-size: 4rem;
  font-family: Segoe UI, sans-serif;
  /* white-space: nowrap; */
  margin: 0;
}
.learning-grid6 .col .morew1{
  display: block;
  font-size: 3rem;
  font-family: Segoe UI, sans-serif;
  /* white-space: nowrap; */
  margin: 0;
}
.learning-grid6 .col .morew2{
  display: block;
  font-size: 2.7rem;
  font-family: Segoe UI, sans-serif;
  /* white-space: nowrap; */
  margin: 0;
}
.learning-grid6 .col .morew3{
  display: block;
  font-size: 2.2rem;
  font-family: Segoe UI, sans-serif;
  /* white-space: nowrap; */
  margin: 0;
}
.learning-grid6 .col .morew4{
  display: block;
  font-size: 2rem;
  font-family: Segoe UI, sans-serif;
  /* white-space: nowrap; */
  margin: 0;
}
.learning-grid6 .col .morew5{
  display: block;
  font-size: 1.6rem;
  font-family: Segoe UI, sans-serif;
  /* white-space: nowrap; */
  margin: 0;
}
.learning-grid6 .col p  .no1 {
  display: inline-block;
  padding-right: 13px;
  position: relative;
}
.learning-grid6 .col p .no1:before {
  display: block;
  content: '⁺';
  color: #FFE600;
  position: absolute;
  right: 0px;
  top: 0;
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
}
.learning-grid6 .col p  .no2 {
  display: inline-block;
  padding-right: 13px;
  position: relative;
}
.learning-grid6 .col p .no2:before {
  display: block;
  content: 'ˇ';
  color: #FFE600;
  position: absolute;
  right: -5px;
  top: 0;
  font-size: 4rem;
  font-weight: normal;
}
.learning-grid6 .col p  .no3 {
  display: inline-block;
  padding-right: 13px;
  position: relative;
}
.learning-grid6 .col p .no3:before {
  display: block;
  content: 'ˊ';
  color: #FFE600;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 3.4rem;
  font-weight: normal;
  line-height: 1.2;
}
.learning-grid6 .col p  .no4 {
  display: inline-block;
  padding-right: 13px;
  position: relative;
}
.learning-grid6 .col p .no4:before {
  display: block;
  content: 'ˋ';
  color: #FFE600;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 65px;
  font-weight: normal;
  line-height: 1.2;
}
.learning-grid6 .col .morew1 .no1:before,.learning-grid6 .col .morew1 .no2:before,.learning-grid6 .col .morew1 .no3:before,.learning-grid6 .col .morew1 .no4:before{
  font-size: 3rem;
  line-height: 1.2;
}
.learning-grid6 .col .morew2 .no1:before,.learning-grid6 .col .morew2 .no2:before,.learning-grid6 .col .morew2 .no3:before,.learning-grid6 .col .morew2 .no4:before{
  font-size: 2.7rem;
  line-height: 1.2;
}
.learning-grid6 .col .morew3 .no1:before,.learning-grid6 .col .morew3 .no2:before,.learning-grid6 .col .morew3 .no3:before,.learning-grid6 .col .morew3 .no4:before{
  font-size: 2.2rem;
  line-height: 1.2;
}
.learning-grid6 .col .morew4 .no1:before,.learning-grid6 .col .morew4 .no2:before,.learning-grid6 .col .morew4 .no3:before,.learning-grid6 .col .morew4 .no4:before{
  font-size: 2rem;
  line-height: 1.2;
}


.arrow {
  width: 100%;
  margin: 1px 0px;
}
.learning-grid6 .col .csstip {
  color: #fff;
  position: relative;
}
.csstip .csstiptext {
  font-size: 24px;
  visibility: hidden;
  min-width: 260px;
  background: #fff;
  color: #000;
  padding: 6px;
  border-radius: 6px;
  position: absolute;
  left: 70px;
  top: -70px;
  z-index: 1;
  border: 1px solid #3E6C6A;
}
.csstip .csstiptext:after {
  display: block;
  content: '';
  background: url(../images/csstips.png) no-repeat;
  width: 75px;
  height: 30px;
  position: absolute;
  bottom: -30px;
  z-index: 1;
}
.csstip:hover .csstiptext {
  visibility: visible;
}
.csstip:hover .csstiptext a {
  display: inline-block;
  vertical-align: text-top;
  font-size: 20px;
  color: #2F5DFF;
  text-decoration: underline;
  margin-left: 1rem;
}


.content-page { margin: -100px -60px 0; position: relative; z-index: 9; }
.content-page > div:last-child {
  text-align: right;
}
.content-page > div:nth-child(2) {
  text-align: center;
}
.content-page a {
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  font-size: 30px;
  color: #fff;
  text-align: center;
}
.btn-pre {
  width: 284px;
  height: 172px;
  line-height: 172px;
  background: url(../images/btn_pre.png) center no-repeat;
  background-size: cover;
}
.btn-pre:hover {
  background-image: url(../images/btn_pre_hover.png);
}
.btn-next {
  width: 284px;
  height: 172px;
  line-height: 172px;
  background: url(../images/btn_next.png) center no-repeat;
  background-size: cover;
}
.btn-next:hover {
  background-image: url(../images/btn_next_hover.png);
}
.btn-middle {
  margin-top: 30px;
  width: 295px;
  height: 114px;
  line-height: 114px;
  background: url(../images/btn_middle.png) center no-repeat;
  background-size: cover;
}
.btn-middle:hover {
  background-image: url(../images/btn_middle_hover.png);
}
.btn-middle img {
  margin-right: 10px;
}



.footer {
  background: #2992C7;
  padding: 10px 0;
}
.footer .foot-logo {
  display: inline-block;
  width: 252px;
  height: 40px;
  background: url(../images/logo_w.svg) center no-repeat;
  background-size: cover;
  text-indent: -9999px;
  line-height: 9999;
  overflow: hidden;
  margin: 15px 0;
}
.footer .AA { display: none; max-width: 100px; }
.footer .row {
  align-content: stretch;
  align-items: flex-end;
}
.footer .copyright {
  text-align: right;
  color: #fff;
  font-size: 14px;
  padding: 15px 0;
}
.footer .copyright > span {
  display: inline-block;
  line-height: 1.1;
  border-right: 1px solid #fff;
  padding-right: 10px;
  margin-right: 10px;
}


#sidescroll {
  /*display: none;*/
  position: fixed;
  right: 4vw;
  bottom: 5vh;
  z-index: 9;
}
#sidescroll a { display: block; line-height: 1; width: 107px; height: 107px; text-align: center; cursor: pointer; }
#sidescroll a { background-size: cover !important; }
#sidescroll #gotop {
  margin-bottom: 8px;
  background: url(../images/icon_gotop.png) center no-repeat;
}
#sidescroll #gotop:hover {
  background-image: url(../images/icon_gotop_hover.png);
}
#sidescroll #gotop1 {
  margin-bottom: 8px;
  background: url(../images/icon_gotop.png) center no-repeat;
}
#sidescroll #gotop1:hover {
  background-image: url(../images/icon_gotop_hover1.png);
}
#sidescroll #popmenu {
  background: url(../images/icon_menu.png) center no-repeat;
}
#sidescroll #popmenu:hover {
  background-image: url(../images/icon_menu_hover.png);
}




.modal-content { border: 1px solid #6C0000; border-radius: 10px; }
.modal-header { background: #FFA91B; border-bottom: 1px solid #6C0000; align-items:center; }
.modal-footer { justify-content:center; text-align: center; border: none; }
.modal-footer .page-button { padding: 0 0 5px; }
.modal-footer .page-button .btn { font-size: 1.125rem; padding: .65rem 1rem; }
.modal-header.major-title { border-top-left-radius: 10px; border-top-right-radius: 10px; }
.modal-header.major-title h2 { font-size: 40px; margin-bottom: -5px; }
.modal-header.major-title .close { border: none; background: #888; border-radius: 50%; color: #fff; font-size: 24px; width: 32px; height: 32px; line-height: 30px; opacity: 1; }
.modal-body { padding: 30px; }
.modal-wrap { max-width: 860px; margin: 0 auto; }
.modal-wrap .row > div { padding-bottom: 15px; }
.modal-wrap .container { padding:10px 15px; }
.btn-orange {
  display: block;
  border: 5px solid #FFA91B;
  padding: 20px 10px 20px 25px;
  border-radius: 60px;
  color: #6C0000;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, .4);
}
.btn-orange:hover {
  background: #FFFCDD;
  color: #6C0000;
}


/******page******/
.container-wrap {
  border-radius: 25px;
  border: 20px solid #EA905E;
  background: #3E6C6A;
  padding: 40px 60px;
  color: #fff;
  position: relative;
}
.container-wrap:after {
  display: block;
  content: '';
  width: 173px;
  height: 62px;
  background: url(../images/icon_eraser.png) no-repeat;
  position: absolute;
  left: 90px;
  bottom: -21px;
  z-index: 2;
}

.page-menu {
  display: flex;
  padding: 15px 0;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid #093836;
  margin-bottom: 30px;
}
.page-menu .col-hh {
  flex: 0 0 180px;
}
.page-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
/* .tab-title > li { flex: 1; } */
.tab-title > li a {
  display: block;
  padding: 8px 10px;
  color: #fff;
  border-radius: 10px;
  text-align: center;
}
.tab-title { list-style:none; display: flex;  }
.tab-title > li.active a, .tab-title > li:hover a { background: #EA905E; }
.tab-inner { padding:15px; min-height: 500px; }
.tab-mobile { display: none; position: relative; }
.tab-mobile .dropdown-toggle {
  display: block;
  padding: 8px 10px;
  color: #fff;
  background: #EA905E;
  border-radius: 10px;
  text-align: center;
  padding-right: 30px !important;
}
.tab-mobile .dropdown-toggle::after {
  position: absolute;
  right: 15px;
  top: 25px;
}
.tab-mobile .dropdown-toggle.show {  border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.tab-mobile .dropdown-menu { background: none; border: none; margin-top: -5px !important; width: 100%; background: #fff; border-top-left-radius: 0; border-top-right-radius: 0; }
.tab-mobile .dropdown-menu li a { display: block; font-size:  25px; padding: 10px; margin-bottom: -1px; color: #2E5856; border-radius: 0; text-align: center; }
.tab-mobile .dropdown-menu li:hover a { background: #FFFCDD; }
@media screen and (max-width: 768px) {
  .footer .foot-logo {
    width: 160px;
    height: 30px;
    margin: 5px 0;
  }
  .tab-title { display: none; }
  .nav-tabs{ display: none; }
  .tab-mobile { display: block; }
}

.class-wrap {
  padding-bottom: 29px;
  background: url(../images/line.png) center bottom no-repeat;
  background-size: 100% auto;
  margin-bottom: 70px;
}
.class-name {
  text-align: center;
  font-size: 40px;
  position: relative;
  background: url(../images/line3.png) center no-repeat;
  background-size: 100% auto;
}
.class-name a {
  display: inline-block;
  min-width: 440px;
  background: #2E5856;
  border-radius: 90px;
  padding: 23px 80px;
  border: 2px solid #EA905E;
  color: #Fff;
  position: relative;
}
.class-name a:before, .class-name a:after {
  display: block;
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: #EA905E;
  position: absolute;
  top: 50%;
  margin-top: -5px;
}
.class-name a:before {
  left: 15px;
}
.class-name a:after {
  right: 15px;
}
.class-name a > span {
  display: inline-block;
  vertical-align: middle;
  font-size: 18px;
  color: #FFF500;
  margin-left: 10px;
}
.sub-class {
  font-size: 35px;
  padding: 20px 10px 5px 90px;
  margin-top: 50px;
  margin-bottom: 50px;
  position: relative;
}
.sub-class:before {
  display: block;
  content: '';
  background: url(../images/icon_star.png);
  width: 87px;
  height: 84px;
  position: absolute;
  left: 0;
  top: 0;
}
.sub-class:after {
  display: block;
  content: '';
  background: url(../images/title_line.png);
  width: 209px;
  height: 15px;
  position: absolute;
  left: 60px;
  bottom: -15px;
}

.col-wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 0;
  padding-right: 0;
}
.col-wrap > div {
  padding-left: 10px;
  padding-right: 10px;
}
.square {
  display: block;
  font-size: 3rem;
  padding: 0 5px;
  text-align: center;
  min-height: 140px;
  line-height: 140px;
  font-family: "Segoe UI", sans-serif;
  cursor:  pointer;
  margin-bottom: 30px;
}
.square.square-blue {
  background: url(../images/blue_box.png) center no-repeat;
  background-size: 100% 100%;
  color: #82FFF7;
}
.square.square-pink {
  background: url(../images/red_box.png) center no-repeat;
  background-size: 100% 100%;
  color: #FF8282;
}
.square.square-white {
  background: url(../images/white_box.png) center no-repeat;
  background-size: 100% 100%;
  color: #ffffff;
}
.square.square-white2 {
  background: url(../images/white_box2.png) center no-repeat;
  background-size: 100% 100%;
  color: #ffffff;
}





/* ============= RWD ==================== */
@media (min-width: 576px) {
  .container {
    max-width: inherit;
  }  
}
@media (min-width: 1400px) {
  .container {
    max-width: 1660px;
  }
}

@media (max-width: 1400px) {
  .main {
    padding-left: 80px;
    padding-right: 80px;
  }  
  .learning-grid4 .row > div a, .learning-grid4 .row > div p {
    width: 90px;
    height: 90px;
    line-height: 85px;
  }
  .learning-grid6 .col-lg-6 .chang {
    padding: 20px;
  }
  .learning-grid6 .col .morew3 {
    font-size: 1.875rem;
  }
}

@media (max-width: 1200px) {
  .main {
    padding-left: 60px;
    padding-right: 60px;
  }   
  .learning-grid5 .grid-box h3 {
    font-size: 2.5rem;
  }
  .learning-grid5 .grid-box .row .col-word{
    font-size: 3.8rem;
  }
  .learning-grid4 .row > div a, .learning-grid4 .row > div p {
    width: 120px;
    height: 120px;
    line-height: 115px;
  }  
}

@media (max-width: 1025px) {
  .submenu > ul {
    margin-top: -15px;
    max-width: 880px;
  }
  .submenu > ul > li > a {
    padding-top: 60px;
    background-size: 100% auto;
  }
  .submenu > ul > li > a:hover {
    background-size: 100% auto;
  }
 
  .learning-word .word-wrap {
    padding-left: 15px;
    padding-right: 15px;
  }

  .learning-grid5 .grid-box .row .col-img {
    height: 220px;
  }

  #sidescroll { right: 0; }
  #sidescroll a { width: 80px; height: 80px; }

  body.index .wrapper { background-size: auto 120%; background-position: 27% -150px; }
  .imgbtn.img-lion { bottom: 10vh; left: -10vw; }
  .imgbtn.img-rabbit { bottom: 40vh; left: 45vw; }
  .imgbtn.img-ox { bottom: 28vh; right: 50vw; }
  .imgbtn.img-horse { bottom: 0; right: 5vw; }
  .learning-grid5 .grid-box .row .col-word{
    font-size: 3rem;
  }

  
}




@media (max-width: 992px) {
  body {
    padding-top: 0;
  }
  .header .head-logo {
    margin-top: 30px;
    width: 290px;
    height: 46px;
    /*margin-left: 30px;*/
  }
  .stellarnav.active .head-logo {
    display: block;
    margin-left: 42px;
  }

  .navbar { margin: 0; }
  .stellarnav .toggle-bar { margin-top: 15px; }
  #sidescroll { right: 0; }
  .submenu { display: none; }
  .subbar .subhead { margin-bottom: 30px; }
  .breadcrumbs { display: none; }
  
  .main {
    padding-left: 30px;
    padding-right: 30px;
  }  
  .content { padding-top: 50px; padding-bottom: 60px; }
  .content-page { margin: -40px -15px 0; }
  .content-page a {
    width: 220px;
    height: 133px;
    line-height: 133px;
  }
  .content-page .btn-middle {
    width: 220px;
    height: 96px;
    line-height: 96px;
    margin-top: 15px;
  }
  
  .learning-word.word2 {
    font-size: 60px;
  }
  .word-wrap .row > div {
    min-width: 66px;
    font-size: 42px;
  }
  .word-wrap .row > div:first-child {
    font-size: 48px;
  }
  .word-wrap.word-fix .row > .col-bottom {
    margin-top: -24px;
  }
  .word-wrap.word-fix .row > .col-bottom .plus:before {
    font-size: 24px;
    right: 0;
  }

  body.index .navbar { display: block; }
  body.index .wrapper { height: calc(100% - 120px); background-image: url(../images/bg_mobile.jpg); background-size: auto 100%; background-position: 27% bottom; }
  body.index .wrapper .imgsun { right: 10vw; }
  .imgbtn.img-lion { bottom: 10vh; left: -10vw; }
  .imgbtn.img-rabbit { bottom: 48vh; left: 39vw; }
  .imgbtn.img-ox { bottom: 40vh; }
  .imgbtn.img-horse { bottom: 10vh; right: 5vw; }

}
@media (min-width: 922px){
  .learning-grid6 .col-lg-6{width: 50%;}
}



@media (max-width: 790px) {
  .navbar ul.nav ul {
    position: static;
  }
  .subbar .subhead h1 {
    font-size: 28px;
  }
  .subbar .subhead h1 img {
    max-width: 30px;
  }
  .learning-btn {
    margin-left: 30px;
  }
  .learning-header h2 {
    font-size: 36px;
  }

  .learning-grid .border-wrap {
    font-size: 40px;
  }
  .learning-grid2 > div {
    padding: 5px;
    font-size: 40px;
  }
  .tab-box .tab-content .tab-pane .row {
    height: 140px;
  }
  .tab-box .tab-content .tab-pane .col-12 {
    font-size: 80px;
  }

  .learning-grid6 {
    display: block;
    text-align: center;
  }

  .footer .AA { display: inline-block; float: right; margin: 20px 0 0 15px; }
  .footer .copyright { text-align: left; }
  .footer .copyright > span { display: block; border: none; padding: 0; margin: 0; }
  
  .container-wrap {
    padding: 30px;
  }
  .class-name a {
    display: block;
    min-width: inherit;
  }
  .square {
    font-size: 50px;
    min-height: 106px;
    line-height: 106px;
    margin-bottom: 15px;
  }
  .container-wrap {
    border-width: 5px;
  }
  .container-wrap:after {
    transform: scale(0.6);
    left: 20px ;
    bottom: -34px;
  }
 
  .imgbtn.img-lion { width: 453px; height: 329px; /* 66%*/ }
  .imgbtn.img-rabbit { width: 294px; height: 304px; left: 45vw; }
  .imgbtn.img-ox { width: 227px; height: 251px; bottom: 38vh; right: 9vw; margin-right: 0; }
  .imgbtn.img-horse{ width: 253px; height: 242px; right: 14vw; }
  .imgbtn.img-lion .button { margin-top: 0px; margin-left: 230px; }
  .learning-grid5 .grid-box h3 {
    font-size: 3rem;
  }

  
  
}

@media screen and (max-width: 1180px){
 .imgbtn .button {
  opacity: 1;
 }
 .imgbtn.img-rabbit { bottom: 39vh; right: 52vw; }
 .imgbtn.img-lion .button { margin-top: -7%; margin-left: 50%; }
 .imgbtn.img-rabbit .button { margin-top: 15%; margin-left: 40%; }
 .imgbtn.img-ox .button { margin-top: 30%; margin-left: -30%; }
 .imgbtn.img-horse .button { margin-top: 15%; margin-left: -65%; }
 .imgbtn.img-ox .button, .imgbtn.img-rabbit .button, .imgbtn.img-lion .button, .imgbtn.img-horse .button {
  width: 200px;height: 128px; }
  body { padding-top: 3%; }
}


@media (max-width: 576px) {
  .learning-grid6 .col .morew5 {
    font-size: 1em;
   }

  .main {
    padding-top: 30px;
    padding-left: 13px;
    padding-right: 13px;
    padding-bottom: 60px;
  }
  .main:before, .main:after {
    width: 7px;
    height: 6px;
    background-size: cover;
  }

  .learning-one, .learning-two, .learning-three,
  .learning-four, .learning-five, .learning-six {
    margin-bottom: 30px;
  }  

  .learning-header {
    margin-bottom: 15px;
  }

  #sidescroll { right: 0; }
  #sidescroll a { width: 60px; height: 60px; }
  .subbar .subhead {
    height: 55px;
    margin-bottom: 20px;
  }
  .subbar .subhead .subhead-left {
    flex: 0 0 60px;
  }
  .subbar .subhead .subhead-right {
    flex: 0 0 72px;
  }
  .subbar .subhead h1 {
    padding: 15px;
    font-size: 16px;
  }
  .subbar .subhead h1 img {
    max-width: 20px;
    margin-right: 5px;
  }
  .learning-six { margin-bottom: 30px; }

  .content {
    padding-top: 20px;
    padding-bottom: 50px;
  }
  .content-page a {
    width: 120px;
    height: 73px;
    line-height: 73px;
    font-size: 24px;
  }
  .content-page .btn-middle {
    width: 120px;
    height: 53px;
    line-height: 53px;
    margin-top: 10px;
  }
  .content-page .btn-middle img { display: none; }

  .learning-header img {
    max-width: 100px;
  }
  .learning-header h2 {
    font-size: 1rem;
    margin-top: 15px;
    padding: 10px 15px 10px 45px;
  }
  h2.learning {
    font-size: 1rem;
    margin-top: 15px;
    padding: 10px 35px 10px 45px;
  }

  .learning-btn {
    margin: 18px 0 0 10px;
  }
  .learning-btn a {
    width: 44px;
    height: 44px;
  }
  
  .learning-word.word2 {
    font-size: 38px;
  }
  .learning-word .word-wrap { padding: 10px; }
  .word-wrap .row { margin-left: -10px; margin-right: -10px; }
  .word-wrap .row > div {
    min-width: 45px;
    padding: 10px;
    font-size: 20px;
  }
  .word-wrap .row > div:first-child {
    font-size: 30px;
  }
  .word-wrap .row > div span {
    padding: 0;
  }
  .word-wrap.word-fix .row > .col-bottom {
    margin-top: -17px;
  }
  .word-wrap.word-fix .row > .col-bottom:before {
    font-size: 12px;
    margin-top: -7px;
    margin-left: -7px;
  }
  .word-wrap .row > div:hover > a img {
    width: 26px;
  }
  .word-wrap .row > div:hover a img {
    margin-top: -13px;
    margin-left: -13px;
  }
  .word-wrap.word-fix .row > .col-bottom .plus:before {
    font-size: 14px;
  }
  .learning-grid .border-wrap {
    font-size: 30px;
  }
  .learning-grid > div {
    padding: 5px;
  }
  .learning-grid .border-wrap {
    padding: 0 5px;
    font-size: 25px;
  }
  .learning-grid .border-wrap .row {
    margin: 5px 0;
  }
  .learning-grid2 > div {
    font-size: 1em;
  }
  .tab-box .tab-content .tab-pane .row {
    height: 80px;
  }  
  .tab-box .tab-content .tab-pane .col-12 {
    font-size: 40px;
  }  
  .tab-box .nav .nav-item img {
    max-height: 20px;
  }
  .nav-pills li .nav-link {
    padding: 0px;
  }


  .spelling-box {
    padding: 10px;
    margin: 0 auto 30px;
  }
  .learning-grid4 div {
    padding: 5px;
  }
  .learning-grid4 .row > div a, .learning-grid4 .row > div p {
    display: inline-block;
    width: 90px;
    height: 90px;
    line-height: 85px;
  }
  .learning-grid4 .row.row-aw {
    margin: -30px 0;
  }
  .learning-grid4 .row > div span {
    /*font-size: 30px;*/
  }
  .learning-grid4 .row > div span.aw1, .learning-grid4 .row > div span.aw2 {
    font-size: 40px;
  }  
  .learning-grid4 .row > div a em {
    right: 5px;
    bottom: 5px;
  }
  .learning-grid4 .row > div a em img {
    width: 16px;
  }

  
  .learning-grid5 .grid-box h3 {
    font-size: 2.2rem;
    padding:  15px 10px 20px;
    border-radius: 10px;
  }
  .learning-grid5 .grid-box h3 a {
    width: 36px;
    height: 28px;
    margin-top: -14px;
    right: 8%;
  }
  .learning-grid5 .grid-box .row {
    margin: 10px;
  }
  .learning-grid5 .grid-box .row .col-img {
    height: 200px;
  }
  .learning-grid5 .grid-box .row .col-word {
    font-size: 36px;
  }
  .learning-grid6 .col-lg-6 .chang {
    color: #fff;
    padding: 20px 10px;
    font-size: 18px;
  }
  .learning-grid6 .col {
    max-width: 32%;
  }
  .learning-grid6 .col .arrow {
    max-width: 50px;
  }  
  .learning-grid6 .col p {
    font-size: 32px;
  }
  .learning-grid6 .col p span:before {
    right: 5px;
    font-size: 22px;
  }
  .csstip .csstiptext {
    min-width: 150px;
    font-size: 14px;
    left: 20px;
    top: -50px
  }
  .csstip:hover .csstiptext a {
    font-size: 12px;
    margin-left: 5px;
  }
  .csstip .csstiptext:after {
    width: 50px;
    height: 20px;
    background-size: cover;
    bottom: -20px;
  }
  .class-name, .sub-class {
    font-size: 22px;
  }
  .sub-class {
    padding: 25px 10px 10px 70px;
    margin: 10px 0 30px;
  }
  .sub-class:before {
    transform: scale(0.7);
    left: -15px;
  }
  .sub-class:after {
    left: 40px;
    bottom: -10px;
  }
  .container-wrap:after {
    transform: scale(0.4);
    left: -10px;
    bottom: -25px;
  }
  .class-name a { padding: 15px 30px; }
  .page-menu { font-size: 18px; }
  .page-menu .col-hh { flex: 1; text-align: center; }
  .square {
    /*font-size: 42px;*/
    font-size: 2.15em;
  }  
  body.index .wrapper { height: calc(100% - 130px); }
  body.index .wrapper .imgsun { width: 180px; height: 180px; }
  .imgbtn.img-lion { width: 309px; height: 225px; /* 45%*/ bottom: 10vh; left: -15vw; }
  .imgbtn.img-rabbit { width: 201px; height: 207px; bottom: 35vh; left: 65vw; }
  .imgbtn.img-ox { width: 155px; height: 171px; bottom: 28vh; right: 15vw; }
  .imgbtn.img-horse { width: 173px; height: 165px; bottom: 3vh; right: 6vw; }
  .imgbtn .button { transform-origin:0; transform:scale(0.6,0.6); opacity: 1; }
  .imgbtn.img-lion .button { margin-top: -30px; margin-left: 160px; }
  .imgbtn.img-rabbit .button { margin-top: -20px; margin-left: 80px; }
  .imgbtn.img-ox .button { margin-top: -35px; margin-left: -50px; }
  .imgbtn.img-horse .button { margin-top: -20px; margin-left: -120px; }

}


@media (max-width: 426px) {

  .header .head-logo {
    width: 240px;
    height: 38px;
    margin-left: 15px;
  }
  .stellarnav .toggle-bar {
    margin-top: 0;
  }
  .stellarnav.active .head-logo {
    margin-left: 27px;
  }

  #sidescroll a { width: 60px; height: 60px; }
  .subbar .subhead {
    height: 40px;
    margin-bottom: 10px;
  }
  .subbar .subhead .subhead-left {
    flex: 0 0 44px;
  }
  .subbar .subhead .subhead-right {
    flex: 0 0 52px;
  }
  .subbar .subhead h1 {
    padding: 10px;
    font-size: 15px;
  }
  
  .learning-word.word2 {
    font-size: 30px;
  }
  .word-wrap .row > div {
    min-width: auto;
  }
  .word-wrap .row > div:first-child {
    font-size: 24px;
  }
  .learning-grid4 .row > div a, .learning-grid4 .row > div p {
    width: 70px;
    height: 70px;
    line-height: 65px;
  }
  .btn-orange {
    padding: 15px 30px;
    font-size: 22px;
  }
  .learning-grid6 .col p {
    font-size: 28px;
  }
  .learning-grid6 .col .morew4 {
    font-size: 1.2rem;
  }
  .learning-grid6 .col .morew3 {
    font-size: 1.3rem;
  }
  .learning-grid6 .col .morew2 {
    font-size: 1.4rem;
  }
  .learning-grid6 .col .morew1 {
    font-size: 1.5rem;
  }
  .learning-grid6 .col .morew1 .no1:before,.learning-grid6 .col .morew1 .no2:before,.learning-grid6 .col .morew1 .no3:before,.learning-grid6 .col .morew1 .no4:before{
    font-size: 1.5rem;
    line-height: 1.5;
  }
  .learning-grid6 .col .morew2 .no1:before,.learning-grid6 .col .morew2 .no2:before,.learning-grid6 .col .morew2 .no3:before,.learning-grid6 .col .morew2 .no4:before{
    font-size: 1.4rem;
    line-height: 1.5;
  }
  .learning-grid6 .col .morew3 .no1:before,.learning-grid6 .col .morew3 .no2:before,.learning-grid6 .col .morew3 .no3:before,.learning-grid6 .col .morew3 .no4:before{
    font-size: 1.3rem;
    line-height: 1.5;
  }
  .learning-grid6 .col .morew4 .no1:before,.learning-grid6 .col .morew4 .no2:before,.learning-grid6 .col .morew4 .no3:before,.learning-grid6 .col .morew4 .no4:before{
    font-size: 1.2rem;
    line-height: 1.5;
  }
  .learning-grid6 .col p .no1:before,.learning-grid6 .col p .no2:before,.learning-grid6 .col p .no3:before,.learning-grid6 .col p .no4:before{
    font-size: 2.2rem;
    line-height: 1.2;
  }
  .learning-grid6 .col p .no1,.learning-grid6 .col p .no2,.learning-grid6 .col p .no3,.learning-grid6 .col p .no4{
    padding-right: 10px;
    margin-right: 0.1rem;
  }
  .container-wrap {
    padding: 15px;
  }
  .square {
    min-height: 75px;
    line-height: 75px;
    font-size: 32px;
  }  
  .learning-grid .border-wrap .row > div span{
    font-size: 1.8rem;
  }
  .learning-grid4 .row >.col-left1 a,.learning-grid4 .row >.col-right1 a{
    font-size: 3rem;
    line-height: 1;
  }
  .learning-grid4 .row >.col-middle p{
    font-size: 1.8rem;
  }
  .learning-grid4 .row >.big p{
    font-size: 1.6rem;
  }
  .learning-grid4 .row >.big1 p{
    font-size: 1.5rem;
  }
  .learning-grid4 .row >.col-left2 a,.learning-grid4 .row >.col-right2 a{
    font-size: 1.7rem;
    line-height: 2;
	width: 100%;
  }
  .learning-grid4 .row >.big a{
    font-size: 1.3rem;
    line-height: 2;
	width: 100%;
  }
  .learning-grid4 .row >.big1 a{
    font-size: 1.2rem;
    line-height: 2;
	width: 100%;
  }
  .learning-grid4 .row > div span {
    margin-top: 12%;
    width: 35%;
    height: 60%;
  }
  .learning-grid .border-wrap:hover a img {
    position: absolute;
    top: 80%;
	left: 80%;
    width: 13%;
    margin-top: -1px;
    margin-left: 8px;
  }
  .learning-grid .border-wrap:hover a img.big {
    position: absolute;
    top: 80%;
    left: 80%;
    width: 10%;
    margin-top: -8px;
    margin-left: 10px;
  }
  .learning-grid .border-wrap:hover a img.big1 {
    position: absolute;
    top: 80%;
    left: 80%;
    width: 8%;
    margin-top: -5px;
    margin-left: 30px;
  }
  .learning-grid .border-wrap:hover a img.big2 {
    position: absolute;
    top: 80%;
    left: 80%;
    width: 8%;
    margin-top: -5px;
    margin-left: 40px;
  }
  .learning-grid .border-wrap:hover a img.big3 {
    position: absolute;
    top: 80%;
	left: 80%;
    width: 13%;
    margin-top: -1px;
    margin-left: 3px;
  }
}

@media (max-width: 394px) {

  .learning-header:before {
    width: 40px;
    height: 30%;
  }
  .learning-header img {
    max-width: 80px;
  }
  .learning-header .imgclasssm {
    max-width: 60px;
  }

  .learning-word.word2 {
    font-size: 26px;
  }
  .word-wrap .row > div:first-child {
    font-size: 20px;
  }
  
 .class-wrap {
  padding-bottom: 29px;
  background: url(../images/line.png) center bottom no-repeat;
  background-size: 100% auto;
  margin-bottom: 50px;
 }

  .page-menu { font-size: 18px; }
  .class-name, .sub-class { font-size: 18px; }
  .class-name a:before, .class-name a:after {
    width: 5px;
    height: 5px;
  }
  .class-name a { padding: 15px; }
  .class-name a:before { left: 8px; }
  .class-name a:after { right: 8px; }
  .sub-class { padding: 30px 10px 5px 45px; }
  .sub-class:before {
    transform: scale(0.5);
    left: -25px;
  }
  .sub-class:after {
    transform: scale(0.5);
    left: -25px;
  }
  .square {
    min-height: 50px;
    line-height: 50px;
    font-size: 22px;
  }

  body.index .wrapper { height: calc(100% - 140px); }
  .imgbtn.img-lion { width: 274px; height: 200px; /* 40%*/ bottom: 7vh; left: -10vw; }
  .imgbtn.img-rabbit { width: 178px; height: 184px; bottom: 32vh; left: 55vw; }
  .imgbtn.img-ox { width: 138px; height: 152px; bottom: 22vh; right: 4vw; }
  .imgbtn.img-horse { width: 151px; height: 147px; bottom: 0vh; }

}

@media (max-width: 376px) {
  .imgbtn.img-lion { bottom: 9vh; left: -15vw; }
  .imgbtn.img-rabbit { left: 65vw; }
  .imgbtn.img-ox { bottom: 30vh; right: 10vw; }
  .imgbtn.img-horse { right: 5vw; }

  .learning-grid4 .row > div span {
    margin-top: 20%;
    width: 50%;
    height: 50%;
  }
}

@media (max-height: 550px) {
  body.index { height: auto; background: url(../images/bg_index.png) center no-repeat; background-size: auto 1000px; }
  body.index .wrapper { height: 600px; background:none; padding-top: 100px; position: relative; left: inherit; top: inherit; bottom: inherit; right: inherit; }
  body.index .footer { position: static; }
  body.index .wrapper .imgsun { top: -200px; }
  .imgbtn.img-rabbit { bottom: 320px; left: 55vw; }
  .imgbtn.img-ox { bottom: 300px; right: 30vw; }
  .imgbtn.img-horse { bottom: 20px; right: 15vw; }
  /*
  .imgbtn.img-lion, .imgbtn.img-rabbit, .imgbtn.img-ox, .imgbtn.img-horse {
    position: static;
    left: inherit;
    bottom: inherit;
    right: inherit;
    top: inherit;
  }
  */
}

@media (max-height: 400px) {
  body.index .wrapper { height: 500px; background-position: center -300px; }
  .imgbtn.img-lion { bottom: 0; }
  .imgbtn.img-rabbit { bottom: 250px; left: 50vw; }
  .imgbtn.img-ox { bottom: 250px; right: 10vw; }
  .imgbtn.img-horse { right: 5vw; }

}



/* 20220620new start*/
.des_nav{
  display: flex;
}
.bookmark{
  background-color: #FFD58E;
  padding: 10px 30px;
  color: #6C0000;
  letter-spacing: 4px;
  text-align: center;
  margin-right: 30px;
  margin-bottom: 20px;
  font-size: 1.3em;
  cursor: pointer;
}
.bookmark a{
  color: #6C0000;
}
.bookmark img{
  margin-right: 10px;
  /*width: 10%;*/
}
.learning-one .bookmark:hover{
  color: #6C0000;
  background-color: #FF8660;
}
.learning-one .des_nav .active, .learning-one .des_nav  .active a{
  color: white;
  background-color: #FF8660;
}
.illworld{
  margin:30px 0px;
  font-size: 1.3em;
  letter-spacing: 3px;
}
table {
  margin: 10px 0px;
  width: 100%;
}
table tr td{
  border: solid 1px #C4C4C4;
  padding: 20px;
  text-align: center;
  font-size: 1.2em;
  color: #6C0000;
  width: 20%;
}
table tr td:nth-child(2){
  text-align: left;
  width: 80%;
}
table tr td img{
  margin-right: 10px;
}
.bpmdes p,.bpmdes ul{
  margin-bottom: 0px;
}
.bpmdes .col-md-8 img{
  width: 100%;
}
.bpmdes .col-md-8:nth-child(19) img{
  width: auto;
}
.bpmdes .wrod {
  border: 2px #FF7B7B dashed;
  padding: 20px;
  font-size: 1.2em;
  margin: auto 0px;
}
.cur{
  cursor: pointer;
}
.page-menu .nav-tabs{
  border-bottom: none;
}
.page-menu .nav-tabs .nav-link{
  display: block;
  padding: 8px 15px;
  /* margin: 0px 30px; */
  color: #fff;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #3E6C6A;
}
.page-menu .nav-tabs .nav-link.active{
  display: block;
  padding: 8px 15px;
  color: #fff;
  border-radius: 10px;
  text-align: center;
  background-color: #EA905E;
}

.titlenew{
  width: 100%;
}
.titlenew .col-lg-5{
  padding: 0px;
  text-align: right;
  font-size: 0.8em;
}
.titlenew .col-lg-7{
  padding: 0px;
  margin: auto;
  font-size: 0.8em;
}
@media (max-width: 992px){

.titlenew .col-lg-5{
  text-align: center;
}
.titlenew .col-lg-7{
  text-align: center;
}
}
@media(max-width:528px){
  .des_nav{
    display: block;
  }
  .bookmark{
    margin-right: 0px;
  }
  .bpmdes .wrod {
    border: 2px #FF7B7B dashed;
    padding: 10px;
    font-size: 1.2em;
    margin: 20px 0px 0px 0px;
  }
  .bpmdes .col-md-8:nth-child(19) img{
    width: 100%;
  }
  .bpmdes .col-md-8,.col-md-4{
    padding-top: 20px;
  }
  table tr td{
    padding: 10px;
  }
  table tr td img{
    width: 70%;
  }
}
@media(max-width:767px){
  .bpmdes .wrod {
    border: 2px #FF7B7B dashed;
    padding: 10px;
    font-size: 1.2em;
    margin: 20px 0px 0px 0px;
  }
}
@media (max-width: 1185px) {
  .bpmdes .col-md-8:nth-child(19) img{
    width: 100%;
  }
}
/* 20220620new end*/
video::-webkit-media-controls-fullscreen-button {
  display: none;
}
