html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
}

html {
  min-width: 375px;
}

body {
  font-family: Arial, sans-serif, "Microsoft JhengHei", 微軟正黑體;
  font-size: 20px;
}

a {
  text-decoration: none;
}

ol li {
    list-style-position: inside;
}

header {
  background-image: linear-gradient(to bottom, #def2fc, #fff);
}

.header_content {
  background: url(../images/header_bg.png);
  background-repeat: no-repeat;
  background-size: contain;
  max-width: 1200px;
  position: relative;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.content {
  max-width: 1200px;
  position: relative;
  margin: 0 auto;
}

/* header start */
.logo {
  width: 65%;
  max-width: 775px;
  text-align: center;
  padding-top: 20px;
  padding-left: 20px;
  float: left;
  display: block;
}

.logo_m {
  width: 90%;
  max-width: 775px;
  text-align: center;
  padding-top: 20px;
  padding-left: 5px;
  float: left;
  display: none;
}

.logo img, .logo_m img {
  width: 100%;
}

.moveto {
  color: #000066;
  background-color: #d6ddfb;
  padding: 10px;
  border-radius: 20px;
  border: 3px #7079b1 solid;
  display: block;
  float: right;
  margin: 20px;
  width: 320px;
  font-weight: bold;
}

.moveto_m {
  color: #000066;
  background-color: #d6ddfb;
  padding: 10px;
  border-radius: 20px;
  border: 3px #7079b1 solid;
  display: block;
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-weight: bold;
}

.moveto_m-active {
  width: 300px;
}

.moveto_text {
  text-align: right;
  font-size: 15px;
  line-height: 15px;
}

.moveto_text > img {
  width: 100%;
}

.moveto_m p {
  display: none;
  font-size: 15px;
  line-height: 18px;
  color: #000066;
}

.search_bar {
  position: relative;
}

.search_bar>label>select, .search_text {
  display: inline-block;
}

.search_bar>label>select {
  padding: 5px 17px;
  font-size: 25px;
  font-weight: bold;
  color: #fff;
  background-color: #007099;
  border: 1.5px #007099 solid;
  border-radius: 5px 0 0 5px;
  position: relative;
  left: 6px;
  vertical-align: top;
  height: 45px;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  padding-right: 40px;
}

.search_bar>label>select::-ms-expand {
    display: none;
}

.search_bar>label {
  position: relative;
}

.search_bar>label:after {
  content: '';
  position: absolute;
  right: 8px;
  margin-top: 15px;
  border-style: solid;
  border-width: 16px 9px 0 9px;
  border-color: #fff transparent transparent transparent;
  pointer-events: none;
}

.search_bar>label>select > option {
  color: #007099;
  background-color: #fff;
  font-weight: bold;
}

.search_bar {
  margin: 10px;
}

.search_bar label input {
  padding: 5px;
  box-sizing: border-box;
  font-size: 25px;
  font-weight: bold;
  border: 3px #007099 solid;
  border-radius: 0 5px 5px 0;
  max-width: 150px;
  vertical-align: top;
  height: 45px;
}

.search_text {
  position: relative;
  vertical-align: bottom;
}

.search_text .submit_btn {
  border: 0;
  background-color: rgba(0,0,0,0);
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 10px;
  background: url(../images/search.png);
  width: 23px;
  height: 21px;
}

.radical_popup {
  width: 80%;
  max-width: 250px;
  height: 200px;
  overflow-y: auto;
  margin: 0 auto;
  background: #fff;
  border: 2px #007099 solid;
  border-radius: 5px;
  text-align: left;
  padding: 10px;
  box-sizing: border-box;
  line-height: 30px;

  /* display: none; */
}

.radical_popup p {
  color: #007099;
}

.search_option>div {
  display: inline-block;
  text-align: left;
  vertical-align: top;
  margin: 5px 10px;
  line-height: 40px;
  font-weight: bold;
}

.search_option input[type=radio] {
  /* display: none; */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-left: 20px;
}

.search_option>div>label {
  margin-left: 18px;
  position: relative;
  cursor: pointer;
  display: block;
}

.checkmark {
  position: absolute;
  left: 0px;
  top: -1px;
  left: 13px\0;
  top: 6px\0;
  height: 18px;
  width: 18px;
  background-color: #fff;
  border-radius: 50%;
  border: 3px #007099 solid;
}

.search_option>div>label>input[type=radio]:checked ~ .checkmark {
  background-color: #007099;
}
/* header end */

h1 {
  font-size: 25px;
  margin: 20px 40px;
}

.content > p, .content > ul, .content > ol, .content > blockquote {
  margin: 40px 70px;
  line-height: 28px;
  font-weight: bold;
}

.content > ul, .content > ol, .content > blockquote {
  margin-left: 95px;
}

.content > ul li, .content > ol li, .content > blockquote p {
  margin: 10px 0;
}

.content > .welcome {
  width: 51%;
}

.content > p span, .content > h1 span, .content > ul span {
  font-weight: normal;
  font-style: italic;
}

.content > p a, .content > p strong, .content > ul strong, .greenhilite {
  color: #005a7a;
}

.book {
  max-width: 310px;
  float: right;
  margin-top: 20px;
}

.book img {
  width: 100%;
}

.footer {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  font-size: 16px;
  /* color: #646464; */
  margin-top:30px;
  font-weight: bold;
}

.footer img {
  margin: 20px 0;
}

@media (max-width: 1195px) {
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 20px;
  }
  .logo {
    width: 58%;
  }
  .moveto {
    width: 30%;
    font-size: 14px;
  }
  .search_bar>label>select {
    font-size: 20px;
  }
  .footer {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 20px;
  }
  h1 {
    font-size: 25px;
    margin: 20px;
  }
  .logo {
    display: none;
  }
  .logo_m {
    display: block;
  }
  .moveto {
    display: none;
  }
  .moveto_m {
    display: block;
  }
  .search_bar {
    margin: 40px 10px;
  }
  .search_bar>label>select {
    font-size: 25px;
    /* width: 75%; */
  }
  .search_option {
    margin-left: 5%;
  }
  .search_option>div {
    /* text-align: center; */
    width: 45%;
    line-height: 30px;
    margin: 5px 0;
  }
  .next_line1 {
    padding-left: 45px;
  }
  .book {
    float: none;
    margin: 20px auto;
    width: 50%;
  }
  .content > p, .content > ul, .content > ol, .content > blockquote {
    margin: 40px;
  }
  .content > ul, .content > ol, .content > blockquote {
    margin-left: 60px;
  }
  .content > .welcome {
    margin: 0;
    padding: 40px;
    box-sizing: border-box;
    width: 100% !important;
  }
  .footer {
    text-align: center;
    font-size: 16px;
  }
  .next_line {
    display: block;
  }
  .footer {
  }
}

@media (max-width: 680px) {
  .search_bar>label>select {
    width: 65%;
  }
  .search_bar>label>select {
    padding: 5px 10px;
    font-size: 20px;
    padding-right: 30px;
  }
  body {
    font-size: 18px;
  }
  h1 {
    font-size: 20px;
  }
  .logo_m {
    width: 80%;
  }
  .footer {
    font-size: 13px;
  }
}

@media (max-width: 615px) {
  .search_bar>label>select {
    font-size: 17px;
  }
  body {
    font-size: 17px;
  }
  .checkmark {
    left: 0px;
    top: 4px;
    height: 17px;
    width: 17px;
  }
}

@media (max-width: 540px) {

  h1 {
    font-size: 18px;
  }
  .moveto_m {
    width: 35px;
    height: 35px;
  }
  .moveto_m-active {
    width: 300px;
  }
  .moveto_text {
    font-size: 13px;
    line-height: 12px;
  }
  .moveto_m p {
    font-size: 13px;
    line-height: 12px;
  }
  .search_bar {
    margin: 20px 10px;
  }
  .search_bar>label>select {
    width: 65%;
    font-size: 15px;
  }
  .search_bar label input {
    max-width: 120px;
  }
  .search_option {
    margin-left: 0;
  }
  .search_option>div {
    font-size: 15px;
    line-height: 20px;
    margin: 5px 0;
  }
  .checkmark {
    left: 0px;
    top: 2px;
    height: 15px;
    width: 15px;
  }
  .search_option>div>label {
    margin-left: 5px;
  }
}

@media (max-width: 470px) {
  .search_bar>label>select {
    width: 72%;
  }
  .search_bar label input {
    max-width: 100px;
  }
  .search_option>div {
    line-height: 18px;
  }
}

@media (max-width: 430px) {
  .search_bar>label>select {
    width: 70%;
    font-size: 12px;
  }
  .search_option>div {
    font-size: 13px;
    line-height: 18px;
  }
/*
  .checkmark {
    left: 17px;
    top: 2px;
    height: 13px;
    width: 13px;
  }
*/  
  .footer {
    font-size: 12px;
  }
}

 @supports (-webkit-touch-callout: none){
	.checkmark {
    left: 18px;
    top: 3px;
    height: 14px;
    width: 14px;
  }
 } 

/* result start */
  .to_ch {
    font-weight: bold;
    font-size:25px;
  }
  .content_text {
    width: 100%;
    padding: 30px 70px;
    box-sizing: border-box;
  }
  .content_left {
    width: 340px;
    display: inline-block;
    vertical-align: top;
    margin-top: 40px;
  }
  .content_left img {
    width: 100%;
  }
  .content_left iframe {
     width: 320px;
     height: 650px;
  }
  .content_right {
    width: calc(100% - 350px);
    display: inline-block;
    vertical-align: top;
    margin-top: 40px;
    font-size: 25px;
  }
  .content_right td {
    padding: 5px 15px;
  }
  .content_bottom {
    width: 100%;
    margin: 20px 0;
    font-size: 25px;
  }

  .content_bottom label {
    /* margin-left: 30px; */
    position: relative;
    cursor: pointer;
    display: inline-block;
    margin-right: 4%;
  }

  .content_bottom .checkmark {
    left:0px;/*chrome*/
    left:15px\0;/*ie11*/
	top: 10px;
    height: 17px;
    width: 17px;
  }

  .content_bottom label>input[type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-left: 20px;
  }

  .content_bottom label>input[type=radio]:checked ~ .checkmark {
    background-color: #007099;
    border: 2px #fff solid;
  }
  #tblCi {
    margin-bottom: 40px;
  }
  .headerBlack {
    padding: 10px 15px;
    font-weight: bold;
    line-height: 30px;
  }
  .headerBlack:first-child {
    padding-right: 18%;
  }
  .ci {
    font-family: 標楷體, 新細明體, sans-serif;
    font-size: 37px;
    font-weight: bold;
    width: 30%;
  }
  .pinyinGreen, .jyutpingGreen, .pinyinPurple, .jyutpingPurple {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    color: #006f9c;
  }

  .pinyinGreen img, .jyutpingGreen img, .pinyinPurple img, .jyutpingPurple img, .pinyin12 img, .jyutping12 img {
    width: 30px;
    margin: 3px;
  }

  .top_btn {
    background-color: #006f9c;
    color: #fff;
    padding: 15px 5px;
    border-radius: 20px;
    display: block;
    float: right;
    width: 200px;
    text-align: center;
    line-height: 25px;
    position: relative;
    font-size: 20px;
  }

  .top_btn::before{
    content: '';
    border-style: solid;
    border-width: 0 12px 20px 12px;
    border-color: transparent transparent #fff transparent;
    position: absolute;
    top: 15px;
    left: 30px;

  }

  .ks1 td, .ks2 td {
    /* padding-top: 5px; */
  }
  /* .ks2 td:nth-child(n+3) {
    padding-top: 10px;
  } */
  .eng, .eng1 td, .eng2 td {
    padding-bottom: 5px;
  }

  @media (max-width:1195px) {
    .to_ch {
      font-size:20px;
    }
    .content_left {
    width: 270px;
    }
  .content_left iframe {
    width: 270px;
    }
    .content_right {
      font-size: 20px;
      width: calc(100% - 275px);
    }
    .content_bottom {
      font-size: 20px;
    }
    .ci {
      font-size: 30px;
    }
    .pinyinGreen img, .jyutpingGreen img, .pinyinPurple img, .jyutpingPurple img, .pinyin12 img, .jyutping12 img {
      width: 25px;
    }
    .headerBlack img {
      width: 120px;
      height: 31px;
    }
    .top_btn {
    padding: 10px 5px;
    width: 160px;
    line-height: 20px;
    font-size: 15px;
    }
    .top_btn::before {
    border-width: 0 8px 14px 8px;
    top: 12px;
    }
  }

  @media (max-width: 767px) {
    .to_ch {
      font-size:25px;
    }
    .content_text {
      padding: 30px 20px;
    }
    .content_left {
      width: 100%;
      margin: 40px auto;
      text-align: center;
    }
    .content_left iframe {
      width: 500px;
      height: 585px;
    }
    .content_right {
      width: 100%;
      margin: 0 auto;
      margin-bottom: 40px;
    }
    .pinyinGreen, .jyutpingGreen, .pinyinPurple, .jyutpingPurple {
      width: 100%;
      line-height: 30px;
      padding-left: 15%;
      box-sizing: border-box;
    }
    .ci {
      width: 35%;
    }
    .pinyinGreen img, .jyutpingGreen img, .pinyinPurple img, .jyutpingPurple img, .pinyin12 img, .jyutping12 img {
      width: 30px;
    }
    .headerBlack img {
      width: 130px;
      height: 34px;
    }
    .top_btn {
      display: none;
    }
    .content_right {
      font-size: 25px;
    }
    .content_bottom {
      font-size: 25px;
    }
    .ci {
      font-size: 40px;
    }
    .headerBlack:first-child {
      padding-right: 0;
    }
  }

  @media (max-width:680px) {
    .to_ch {
      font-size:20px;
    }
    .content_right {
      font-size: 20px;
    }
    .content_bottom {
      font-size: 20px;
    }
    .ci {
      font-size: 30px;
    }
    .pinyinGreen img, .jyutpingGreen img, .pinyinPurple img, .jyutpingPurple img, .pinyin12 img, .jyutping12 img {
      width: 25px;
    }
    .headerBlack {
      line-height: 25px;
    }
    .headerBlack img {
      width: 120px;
      height: 31px;
    }
  }

  @media (max-width: 540px) {
    .to_ch {
      font-size:18px;
    }
    .content_right {
      font-size: 18px;
    }
    .content_bottom {
      font-size: 18px;
    }
    .headerBlack {
      line-height: 20px;
    }
    .headerBlack img {
      width: 100px;
      height: 26px;
    }
    .content_left iframe {
      width: 400px;
      height: 500px;
    }
  }

  @media (max-width: 480px) {
    .headerBlack img {
      width: 80px;
      height: 21px;
    }
    .content_right {
      font-size: 15px;
    }
    .content_bottom {
      font-size: 15px;
    }
    .ci {
      font-size: 24px;
    }
    .pinyinGreen img, .jyutpingGreen img, .pinyinPurple img, .jyutpingPurple img, .pinyin12 img, .jyutping12 img {
      width: 20px;
    }
  }

  @media (max-width: 430px) {
    .to_ch {
      font-size:15px;
    }
    .content_right {
      font-size: 13px;
    }
    .content_bottom{
      font-size: 13px;
    }
  }

  @media (max-width: 410px) {
    .content_left iframe {
      width: 351px;
    }
  }
 @supports (-webkit-touch-callout: none){
	.content_bottom .checkmark {
	left: 16px;
	top: 4px;
	height: 17px;
	width: 17px;
	}
 }
/* result end */

label strong {
  display: none;
}

#dummy_content, #dummy_frame, #dummy_h1 {
        display:none;
 }

@media print {
   #dummy_content, #dummy_frame, #dummy_h1 {
        display:block;
    }

    #content_wrapper,
    #dummy_content .content_left,
    #dummy_content h1 {
        display:none;
    }

  body {
    font-size: 16px;
    overflow: visible;
  }

  .content_right {
    display: block;
  }
}
