.con-frame,
.read-arrow-left,
.read-arrow-right {
  cursor: pointer;
}
.current-status {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
}
.choiceBox-wc .choice-item {
  margin-top: 5px;
}
.choiceBox-wc {
  margin-bottom: 5px;
}
.flexBox,
.exam-btns,
.set-top,
.hintBox,
.dragBox {
  display: flex;
  flex-direction: row;
}
.hintBox {
  align-items: center;
}
.right {
  color: #E91E63;
}
#exam-results-table,
#exam-results-table-mc,
#exam-results-table-ca {
  display: table;
  border-collapse: collapse;
  margin: auto;
}
.ansBox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
  align-items: center;
}
.ansBox > div:first-child {
  font-size: 24px;
  font-family: "微軟正黑體";
}
.ansBox > div:nth-child(2){
  font-size: 36px;
  font-family: 'Times New Roman';
}

.cell,
.cell2 {
  display: table-cell;
  border: 2px solid;
  padding: 2px;
  vertical-align: middle;
  height: 40px;
  font-size: 30px;
}
.cell {
  min-width: 100px;
}
.cell2 {
  width: 130px;
}
.cell2 img {
  width: 60%;
  height: auto;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.partNo {
  display: inline-block;
  vertical-align: middle;
  text-align: center;
  line-height: 50px;
  width: 50px;
  margin-right: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  color: white;
  font-family: 微軟正黑體;
  font-weight: bolder;
  font-size: 0.8em;
  border-radius: 25px;
}
.partNo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/button_bkg.png");
  background-size: cover;
  opacity: 0.25;
  z-index: 1;
}
button {
  cursor: pointer;
  background: transparent;
  border: 0;
  font-size: inherit;
  border-radius: 3px;
  background-color: #f2f2f2;
  font-size: 40px;
  padding: 5px 15px;
  margin: 0 5px;
}
.num_bkg1 {
  background-color: #67c0b2;
}

.num_bkg2 {
  background-color: #fd74a6;
}

.num_bkg3 {
  background-color: #b48cef;
}

.num_bkg4 {
  background-color: #fcac38;
}

.loading {
  text-align: center;
  padding: 20px;
  font-style: italic;
  color: #888;
}

.partTitle {
  font-size: 2em;
  cursor: pointer;
  line-height: 2em;
}
.con-frame-inner {
  display: none;
}
.audio_btn,
.read-chinese-btn {
  background-repeat: no-repeat;
  border: none;
  cursor: pointer;
  background-color: transparent;
}
.audio_btn {
  width: 46px;
  height: 46px;
  background: url(https://web.klokah.tw/text/image/button-play.png);
  margin-right: 20px;
}

.read-chinese-btn {
  width: 36px;
  height: 36px;
  background: url(https://web.klokah.tw/text/image/button-show.png);
}

.audio_btn:hover {
  background: url(https://web.klokah.tw/text/image/button-play-hover.png);
}
.read-chinese-btn:hover {
  background: url(https://web.klokah.tw/text/image/button-show-hover.png);
}
.wlBox {
  margin-left: 55px;
  margin-top: 10px;
}
.word-ab {
  line-height: 42px;
  font-size: 2.5em;
  font-family: "Times New Roman";
}

.word-ab,
.word-ch {
  font-weight: bolder;
  margin-left: 15px;
}

.word-ch {
  font-family: "微軟正黑體";
  font-size: 2em;
  color: #999;
}

.wl-ch-box {
  margin: 13px 0 13px 55px;
}

.field {
  padding: 15px 25px;
  background-color: white;
}

.con-frame-inner {
  background-image: url("../img/index_border.png");
  background-repeat: repeat-x;
  background-position: bottom;
  padding-bottom: 50px;
  margin: 10px 0;
}
.read-arrow-left,
.read-arrow-right {
  width: 50px;
  height: 50px;
}
.read-arrow-right {
  background: url(https://web.klokah.tw/text/image/button-next.png);
}
.read-arrow-right:hover {
  background: url(https://web.klokah.tw/text/image/button-next-hover.png);
}
.read-arrow-left {
  background: url(https://web.klokah.tw/text/image/button-prev.png);
}
.read-arrow-left:hover {
  background: url(https://web.klokah.tw/text/image/button-prev-hover.png);
}
.correct {
  background-color: #d4edda;
  color: #155724;
}
.ts1wrong {
  background-color: #cd5b5b;
  color: white;
}
.wrong {
  background-color: #f8d7da;
  color: #721c24;
}
.exam-btns {
  text-align: center;
  margin: 15px 0;
  justify-content: space-between;
  align-items: center;
}
.m-wrong {
  background-image: url("https://web.klokah.tw/text/image/pic-wrong.png");
  background-color: transparent;
}
.m-right {
  background-image: url("https://web.klokah.tw/text/image/pic-right.png");
}
.audio_playing {
  background-image: url("https://web.klokah.tw/text/image/button-stop.png") !important;
}
.exam-mark {
  position: absolute;
  width: 150px;
  height: 150px;
  bottom: 10%;
  right: 10%;
  z-index: 2;
}
.exam-mark-mc {
  right: 23%;
}
.exam-wrong {
  color: red;
  font-size: 1.8em;
  margin-top: 10px;
}
/*單字聽寫listenAbAndType*/

.set-top {
  align-items: center;
}

.number,
.hintText {
  font-size: 1.8em;
}

.marks-container {
  width: 500px;
  margin: 0 auto;
}

.input-marks {
  font-family: "Times New Roman", Times, serif !important;
  margin-left: 115px;
  margin-bottom: 3px;
}

.char-btn {
  font-size: 25px;
  margin: 0 8px;
  font-family: "Times New Roman", Times, serif;
}

.t-center {
  text-align: center;
}
.exam-input {
  font-family: "Times New Roman", Times, serif;
  border: 0;
  padding: 0;
  margin: 0 auto;
  background-color: transparent;
  position: static;
  text-align: left;
  font-size: 36px;
  min-height: 48px;
  line-height: 48px;
  outline: none;
  transition: border-color 0.3s;
  background-image: linear-gradient(
    to bottom,
    transparent calc(100% - 3px),
    #000 calc(100% - 3px),
    #000 100%
  );
  background-size: 100% 48px;
  background-attachment: local;
}


.hintBtn {
  background-color: #f2f2f2;
  padding: 10px 16px;
  cursor: pointer;
  margin-right: 10px;
  font-size: 1.5em;
  margin-top: 10px;
  align-items: center;
}

/*例句重組題buildSentence*/
#rsQ {
  list-style-type: none;
  display: flex;
  padding-left: 0;
  flex-wrap: wrap;
}
.rs-ch {
  font-size: 1.5em;
  margin-left: 2px;
}

.arrow {
  width: 3.2em;
  display: flex;
  align-items: center;
}

.border1 {
  padding: 0.5vw 1vw;
  border: 0.1vw solid rgba(51, 51, 51, 0.5);
  margin: 0.5vw;
  background-color: white;
  font-weight: bold;
  font-size: 2vw;
  color: #333;
  box-shadow: 0 0 0.2vw rgba(0, 0, 0, 0.15);
  align-self: center;
}

.cp2 {
  cursor: grab;
}

.arrow img {
  width: 100%;
}

.rsEnd {
  align-items: end;
  display: flex;
  padding-bottom: 1vw;
  font-size: 2vw;
  font-weight: bold;
}

.ts1wrong {
  background-color: #cd5b5b;
  color: white;
}

.ts1correct {
  background-color: rgb(69, 190, 69);
  color: white;
}

/*是非題trueAndFalse*/
.audio-tf,
.audio-wc,
.toggle-ab,
.toggle-ch {
  width: 128px;
  height: 49px;
  background-repeat: no-repeat;
  cursor: pointer;
  background-color: none;
}

.audio-tf img,
.audio-wc img, 
.toggle-ab img,
.toggle-ch img,
.tf-fasle img,
.tf-true img,
.audio-hint img {
  width: 100%;
}

.tf-fasle,
.tf-true {
  width: 299px;
  height: 154px;
  background-repeat: no-repeat;
  cursor: pointer;
  margin: 0 10px;
}

.audio-tf, .audio-wc{
  background-image: url(../img/exam/speaker.png);
}

.toggle-ab,
.toggle-ch {
  background-image: url(../img/exam/ab_toggle.png);
}

.tf-fasle {
  background-image: url(../img/exam/false.png);
}

.tf-true {
  background-image: url(../img/exam/true.png);
}

.tf-fasle-active {
  background-image: url(../img/exam/false_active.png);
}

.tf-true-active {
  background-image: url(../img/exam/true_active.png);
}

.audio_tf_playing,
.audio_hint_playing {
  background-image: url(../img/exam/speaker_active.png) !important;
}

.toggle-ch-active,
.toggle-ab-active {
  background-image: url(../img/exam/ab_active.png) !important;
}

.info {
  font-size: 24px;
  font-weight: bold;
  margin-left: 77px;
  margin-bottom: 10px;
}
.tf-top {
  margin: 15px 0;
}
.tf-top > div {
  margin-right: 12px;
}
.tf-ch {
  font-size: 26px;
  margin: 10px 0 10px 10px;
  font-family: "微軟正黑體";
}

.tf-ab {
  font-size: 36px;
  font-family: "Times New Roman";
}

/*選擇題*/
.mc-select {
  color: #03a9f4;
}

.choice-item:hover {
  color: #9e9e9e;
}

.mc-select:hover {
  color: #03a9f4;
}

.mc-toggle {
  width: 64px;
  height: 25px;
  background-repeat: no-repeat;
  cursor: pointer;
  background-size: contain;
}

.mc-toggle-active {
  background-image: url(../img/exam/ab_active.png) !important;
}

.mc-toggle {
  background-image: url(../img/exam/ab_toggle.png);
}

.mc-ab,
.choice-ab {
  font-size: 1.8em;
}

.mc-ch,
.choice-ch {
  font-size: 1.4em;
  margin-left: 5px;
}

.my-10 {
  margin: 10px 0;
}

.mc-set {
  border-bottom: 3px solid #a9a9a9;
}

@media screen and (max-width: 680px) {
  .partTitle {
    font-size: 7vw;
    line-height: 16vw;
  }
  .wlBox {
    margin: 0;
    align-items: center;
  }
  .wl-ch-box {
    margin: 3vw 0;
  }
  .audio-tf,
  .audio-wc,
  .toggle-ab,
  .toggle-ch {
    width: 23vw;
    height: 9vw;
    background-color: transparent;
    background-size: contain;
  }
  .marks-container {
    width: 100%;
  }
  .marks-container > :nth-child(2) {
    display: none;
  }
  .input-marks {
    margin: 3vw 0;
    display: flex;
    justify-content: space-around;
  }
  .hintBtn {
    padding: 2vw 4vw;
    border-radius: 1vw;
  }
  .exam-input {
    font-size: 9vw;
  }
  .exam-mark {
    width: 25vw;
    height: 25vw;
    bottom: 40vw;
    right: 0%;
  }
  .m-wrong,
  .m-right {
    background-repeat: no-repeat;
    background-size: contain;
  }
  .rs-ch {
    font-size: 6vw;
    line-height: 7vw;
  }
  .border1 {
    font-size: 8vw;
  }
  .arrow {
    width: 8vw;
  }
  .tf-fasle, .tf-true {
    width: 45%;
    height: 19vw;
    margin: 2vw 2% 0 2%;
    background-size: contain;
    background-position-x: center;
  }
  button {
    font-size: 9vw;
  }
  .tf-top {
    align-items: flex-start;
  }
  .field{
    padding: 0 2vw;
  }
  .cell {
    min-width: 12vw;
  }
  
  .cell, .cell2 {
    font-size: 6vw;
  }
}
