﻿@charset "utf-8";
/* CSS Document */

body {
  font-family: 'Arial', '微軟正黑體';
  background: #fff;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

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

ul li,
p {
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
}

.wrapper_bg {
  width: 100%;
  max-width: 1110px;
  margin: 0 auto;
  height: 100%;
  color: #333333;
}

.font-size1 {
  font-size: 40px;
  /* font-weight: bold; */
  /* line-height: 56px; */
  /* color: #fff; */
  line-height: 1.5em;
  margin-bottom: 10px;
}

.notic-detail {
  overflow: hidden;
  background: #f7f7f7;
  position: relative;
  padding: 20px 40px 25px;
  padding-bottom: 25%;
}

.news-date.font-size1 {
  color: #4b4b4b;
}

.notice-list .left h3,
.notic-detail h3 {
  font-size: 60px;
  color: #2e619c;
  font-weight: bold;
}

.notic-detail h3 {
  margin-top: 20px;
}

.text-justify {
  text-align: justify;
}

@media (max-width: 991px) {
  .font-size1 {
    font-size: 35px;
    line-height: 48px;
  }

  .notic-detail h3 {
    font-size: 50px;
  }
}

@media (max-width: 850px) {
  .font-size1 {
    font-size: 28px;
    line-height: 40px;
  }

  .notic-detail {
    padding: 15px 30px 20px;
    padding-bottom: 20%;
  }
}

@media (max-width: 767px) {
  .font-size1 {
    font-size: 22px;
    line-height: 35px;
  }

  .notic-detail {
    padding: 15px 25px 13px;
    padding-bottom: 20%;
  }

  .notic-detail h3 {
    font-size: 38px;
    margin-top: 10px;
  }
}

@media (max-width: 580px) {
  .font-size1 {
    font-size: 20px;
    line-height: 30px;
  }

  .notic-detail {
    padding: 12px 20px 10px;
    padding-bottom: 25%;
  }

  .notic-detail h3 {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .font-size1 {
    font-size: 18px;
    line-height: 28px;
  }
}

@media (max-width: 350px) {
  .notic-detail h3 {
    font-size: 22px;
  }
}

/*------------use-------------*/

.use-text {
  margin-top: 30px;
}

.use_mb {
  margin-bottom: 80px;
}

ul.font-size1.text-justify.use_list {
  padding-left: 55px;
}

ul.use_list li {
  list-style: disc;
  margin-bottom: 35px;
}

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

.use {
  font-family: '微軟正黑體';
  color: #b6292e;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 5px;
  font-size: 55px;
}

.useTxt_mb {
  margin-bottom: 25px;
}

@media (max-width: 991px) {
  .use-text {
    margin-top: 20px;
  }

  .use {
    font-size: 50px;
  }

  .use_mb {
    margin-bottom: 70px;
  }

  ul.font-size1.text-justify.use_list {
    padding-left: 40px;
  }
}

@media (max-width: 850px) {
  .use {
    font-size: 40px;
  }

  .use_mb {
    margin-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .use {
    font-size: 30px;
  }

  .use_mb {
    margin-bottom: 50px;
  }

  .use-text {
    margin-top: 15px;
  }

  ul.use_list li {
    margin-bottom: 25px;
  }

  ul.font-size1.text-justify.use_list {
    padding-left: 30px;
  }
}

@media (max-width: 680px) {
  .use {
    font-size: 28px;
  }

  .use-text {
    margin-top: 10px;
  }

  ul.font-size1.text-justify.use_list {
    padding-left: 25px;
  }

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

@media (max-width: 580px) {
  .use {
    font-size: 26px;
    margin-top: 35px;
  }

  .use_mb {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .use {
    font-size: 22px;
  }

  ul.font-size1.text-justify.use_list {
    padding-left: 20px;
  }

  ul.use_list li {
    margin-bottom: 10px;
  }

  ul.use_list.use_list_mb li {
    margin-bottom: 10px;
  }
}

@media (max-width: 400px) {
  .use {
    font-size: 21px;
  }

  ul.font-size1.text-justify.use_list {
    padding-left: 15px;
  }
}

/*------------personal-------------*/

.personal-text {
  margin-top: 30px;
}

.personal_mb {
  margin-bottom: 80px;
}

.personal {
  font-family: '微軟正黑體';
  color: #b6292e;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 5px;
  font-size: 55px;
}

@media (max-width: 991px) {
  .personal-text {
    margin-top: 20px;
  }

  .personal {
    font-size: 50px;
  }

  .personal_mb {
    margin-bottom: 70px;
  }
}

@media (max-width: 850px) {
  .personal {
    font-size: 40px;
  }

  .personal_mb {
    margin-bottom: 60px;
  }
}

@media (max-width: 767px) {
  .personal {
    font-size: 30px;
  }

  .personal_mb {
    margin-bottom: 50px;
  }

  .personal-text {
    margin-top: 15px;
  }
}

@media (max-width: 680px) {
  .personal {
    font-size: 28px;
  }

  .personal-text {
    margin-top: 10px;
  }
}

@media (max-width: 580px) {
  .personal {
    font-size: 26px;
    margin-top: 35px;
  }

  .personal_mb {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .personal {
    font-size: 22px;
  }
}

@media (max-width: 400px) {
  .personal {
    font-size: 21px;
  }
}

/*------------questionnaire-------------*/

.questionnaire {
  margin: auto 15px;
}

.questionnaire_top {
  text-align: center;
}

.questionnaire_top img {
  max-width: 80%;
  margin: 20px auto;
}

.questionnaire_top p {
  text-align: center;
}

.questionnaire_form {
  border: 1px solid #b5b5b5;
  border-radius: 5px;
  background-color: #fff;
  font-size: 18px;
  margin-bottom: 40px;
}

.questionnaire_form .qu_formbox {
  border-bottom: 1px solid #b5b5b5;
  padding: 10px 20px;
}

.questionnaire_form p {
  text-align: center;
}

.qu_formbox .number_box {
  border-radius: 50%;
  height: 25px;
  width: 25px;
  display: inline-block;
  background: #fff;
  border: 1px solid #333333;
}

.qu_formbox .number {
  display: block;
  color: #333333;
  line-height: 25px;
  text-align: center;
}

.qu_formbox .title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.qu_formbox .required {
  background-color: #ff0600;
  color: #fff;
  font-size: 16px;
  padding: 5px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 10px;
}

/* choose_button_style */

.choose_button {
  display: table;
  margin-top: 15px;
}

.choose_button input[type='radio'] {
  display: none;
}

.choose_button input[type='radio']+label {
  cursor: pointer;
  padding: 5px 15px;
  border: 1px solid #7d7d7d;
  background-color: #e8e8e8;
  font-weight: 400;
  text-align: center;
  font-size: 18px;
  color: #333333;
  margin: -1px 0 10px -1px;
}

.choose_button input[type='radio']:checked+label {
  background-color: #b81c22;
  color: #fff;
}

.choose_button input[type='radio']+label:first-of-type {
  border-radius: 5px 0px 0px 5px;
}

.choose_button input[type='radio']+label:last-of-type {
  border-radius: 0px 5px 5px 0px;
}

/* choose_button2_style */

.choose_button2 input[type='checkbox'] {
  /* width: 40px; */
  /* height: 40px; */
  /* -webkit-border-radius: 50%; */
  display: none;
}

.choose_button2 input[type='checkbox']+label {
  display: inline-block;
  width: 100%;
  margin-top: 10px;
  margin-left: 5px;
  text-align: left;
  -webkit-box-sizing: border-box;
}

.choose_button2 .checkbox-label::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid #dcdcdc;
  vertical-align: middle;
  -webkit-border-radius: 50%;
  margin-right: 10px;
  -webkit-box-sizing: border-box;
}

.choose_button2 .checkbox-button::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background: #fff;
  border: 1px solid #dcdcdc;
  vertical-align: middle;
  -webkit-border-radius: 50%;
  margin-right: 5px;
  -webkit-box-sizing: border-box;
  -webkit-transition: background ease-in 0.3s;
  position: absolute;
  left: -40px;
}

.checkbox-button {
  position: relative;
}

.choose_button2 input[type='checkbox']:checked+label .checkbox-button::before {
  background-color: #b81c22;
  width: 20px;
  height: 20px;
  position: absolute;
  left: -35px;
  top: 0.1rem;
}

.qu_formbox select {
  /*Chrome和Firefox裡面的邊框是不一樣的，所以複寫了一下*/
  border: solid 1px #7d7d7d;
  /*很關鍵：將預設的select選擇框樣式清除*/
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  /*在選擇框的最右側中間顯示小箭頭圖片*/
  background: url('../tw_img/arrow.png') no-repeat right center transparent;
  /*為下拉小箭頭留出一點位置，避免被文字覆蓋*/
  background-color: #e8e8e8;
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  margin-top: 15px;
}

/*清除ie的預設選擇框樣式清除，隱藏下拉箭頭*/
.qu_formbox select::-ms-expand {
  display: none;
}

.qu_formbox_bottom {
  padding: 10px 20px;
}

.qu_formbox_bottom p {
  text-align: left;
}

.window_botton .confirm_btn {
  width: 100%;
  text-align: center;
  background-color: #b81c22;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 40px;
}

.window_botton .modal-header {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  border-bottom: 1px dashed #eaaaac;
}

.window_botton .modal-body p {
  border-bottom: 1px solid #d2d2d2;
  font-size: 20px;
  padding: 10px;
}

.window_botton .modal-body .right {
  font-weight: bold;
  display: inline-block;
}

.window_botton .modal-body p:last-child {
  border-bottom: 0px;
}

.window_botton .modal-footer {
  border-top: 0px;
  text-align: center;
}

.window_botton .modal-footer .btn {
  width: 45%;
  color: #fff;
  font-size: 18px;
}

.window_botton .modal-footer .modify_btn {
  background-color: #db8387;
}

.window_botton .modal-footer .submit_btn {
  background-color: #b81c22;
}

/** Modal_2 **/
.window_botton .modal-header2 {
  border-bottom: 0px;
  padding: 5px 5px 0px;
}

.window_botton #exampleModal2 .modal-body img {
  width: 70%;
  margin: auto;
  text-align: center;
  display: block;
  margin-bottom: 20px;
}

.window_botton #exampleModal2 .modal-body p {
  border-bottom: 0px;
  text-align: center;
  padding: 0px;
}

.window_botton #exampleModal2 .modal-footer .btn {
  width: 100%;
  background-color: #b81c22;
}

/**news_detail**/

.news_detail {
  background-color: #f0f1f5;
  padding: 20px;
}

.news_detail span {
  white-space-collapse: collapse !important;
}

.news_detail .title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.news_detail ul {
  margin: 15px;
}

.news_detail ul li {
  list-style: disc;
}

.news_detail img {
  display: block;
  margin: auto;
  width: auto !important;
  height: auto !important;
}

img.newsDetailImg {
  display: block;
  margin: auto;
}

/**login**/

.login_box {
  background: url(../tw_img/login/login_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100vh;
  position: relative;
}

.login_box img {
  display: block;
  min-width: 339px;
  margin: 80px auto 30px;
}

.login_box form {
  display: block;
  margin: auto;
  width: 30%;
}


.login_box form input {
  background-color: rgba(76, 65, 46, 0.7);
  border: 1px solid #4c412e;
  color: #fff;
  height: auto;
  font-size: 18px;
  padding: 8px 0px 8px 38px;
}

.login_box .form-group {
  position: relative;
}

.login_box form .account {
  background: url(../tw_img/login/login_icon.png) no-repeat;
  width: 21px;
  height: 21px;
  display: block;
  position: absolute;
  bottom: 12px;
  left: 10px;
}

.login_box form .password {
  background: url(../tw_img/login/login_icon02.png) no-repeat;
  width: 21px;
  height: 21px;
  display: block;
  position: absolute;
  bottom: 12px;
  left: 10px;
}

/*webkit瀏覽器專用*/
.login_box ::-webkit-input-placeholder {
  color: #ececec;
}

/*Firefox 4-18瀏覽器專用*/
.login_box input::-moz-placeholder {
  color: #ececec;
}

/*Firefox 19+瀏覽器專用*/
.login_box input::-moz-placeholder {
  color: #ececec;
}

/*IE10瀏覽器專用*/
.login_box:-ms-input-placeholder {
  color: #ececec;
}

.login_box form a {
  width: 100%;
  background-color: #b81c22;
  font-size: 20px;
  color: #fefefe;
  margin-top: 20px;
  margin-bottom: 50px;
  display: inline-block;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
}

.login_footer {
  background: url(../tw_img/login/footer_bg.jpg);
  min-height: 58px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/**login_detail**/
.login_detail_box {
  height: 100vh;
  display: flex;
  align-items: center;
}

.login_detail {
  text-align: center;
  width: 100%;
  display: flex;
}

/*
.login_detail .QR img{
    width: 100%;
   
}*/
.login_detail .QR {
  padding: 0px;
}

.login_detail .right_box {
  padding-left: 20px;
  padding-right: 30px;
  align-self: center;
}

@media (max-width: 768px) {
  .login_detail {
    justify-content: center;
    flex-direction: column;
  }

  .login_detail_box {
    height: auto;
  }
}

.login_detail .title {
  font-size: 28px;
  color: #333333;
  margin: 0px auto 20px;
}

.login_detail .right_box p {
  font-size: 20px;
}

.login_detail .right_box a {
  width: 100%;
  font-size: 30px;
  background-color: #db8387;
  color: #ffffff;
  display: inline-block;
  border-radius: 5px;
  padding: 5px;
  margin-top: 20px;
  text-decoration: none;
}

.login_detail_bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
  opacity: 0.5;
}

.detail_modal {
  display: block;
  text-align: center;
  font-weight: bold;
}

.detail_modal .modal-body .title {
  color: #333333;
  font-size: 35px;
  margin-top: 20px;
  margin-bottom: 30px;
}

.detail_modal .modal-body .point_box {
  color: #605f5f;
  font-size: 40px;
}

.detail_modal .modal-body .point {
  color: #b81c22;
  font-size: 80px;
}

#jump_box .modal-dialog {
  margin: 10% auto;
}

.detail_modal .modal-footer {
  border-top: 0px;
  text-align: center;
}

.detail_modal .modal-footer .jump_btn {
  width: 100%;
  background-color: #b81c22;
  font-size: 24px;
  color: #fefefe;
  margin: 20px auto;
  display: inline-block;
  padding: 10px;
  text-align: center;
  border-radius: 5px;
}

/**problem**/

.problem {
  background-color: #f7f7f7;
  color: #333;
}

.probtn {
  margin-bottom: 10px;
}

.problem .probtn {
  background: #fff;
  width: 100%;
  display: flex;
}

.problem .tablinks {
  width: 100%;
  display: inline-block;
  margin: auto;
  text-align: center;
  padding: 8px;
  border-bottom: 4px solid #e0e0e0;
  cursor: pointer;
}

.problem .probtn .active {
  color: #b81c22;
  border-bottom: 4px solid #b81c22;
}

.points_box,
.meal_box,
.other_box {
  display: none;
}

.problem .tab_content {
  padding: 20px;
}

.problem .tab_content .title {
  font-size: 22px;
  font-weight: bold;
}

.problem .set {
  position: relative;
  width: 100%;
  height: auto;
  background-color: #f4d5d7;
  margin-top: 20px;
  border: 1px solid #b81b22;
}

.problem .set p {
  font-size: 18px;
  color: #333;
  padding-right: 24px;
}

.set>a>p>span {
  display: inline-block;
  background: #b81b22;
  color: #fff;
  text-align: center;
  margin-right: 6px;
  padding: 8px 12px;
}

.problem .set>a i {
  position: relative;
  float: right;
  margin-top: -25px;
  color: #b81b22;
  font-size: 18px;
  margin-right: 7px;
}

.problem .accordion-content {
  display: none;
}

.problem .accordion-content p {
  background-color: #fff;
  font-size: 16px;
  padding: 10px;
}

.problem .accordion-content .red {
  color: #b81b22;
}

@media (max-width: 480px) {
  .problem .set p {
    font-size: 16px;
  }

  .problem .accordion-content p {
    font-size: 14px;
  }
}

/*------------scratch-------------*/

.scratch {
  margin: auto 15px;
}

.scratch_top {
  text-align: center;
}

.scratch_top .scratch_textimg {
  margin: 20px auto;
}

.scratch_box .scratch_btn {
  text-align: center;
  position: relative;
}

.scratch_box .start_btn {
  background-color: #ff373a;
  border-color: #c30a0d;
  color: #fff;
  font-weight: bold;
  border-radius: 5px;
  padding: 8px 15px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-decoration: none;
}

.scratch_box .number {
  background-color: #b81c22;
  text-align: center;
  color: #fff;
  padding: 10px;
  border-radius: 20px;
  width: 80%;
  margin: 20px auto;
  font-weight: bold;
}

.scratch_box .number span {
  color: #fcd844;
}

.scratch_box .scr_title {
  text-align: center;
  margin: 20px auto;
}

.scratch_box .scr_title img {
  width: 32%;
  vertical-align: middle;
}

.scratch_box .scr_title .text {
  color: #795000;
  font-weight: bold;
  margin: auto 5px;
}

.scratch_box .scr_text {
  margin-bottom: 50px;
}

/*scratch_detail*/

.scratch_detail {
  background: url(../tw_img/scratchbg.jpg) center;
  background-size: cover;
  min-height: 950px;
}

.scratch_detail .scratch_detail_img {
  text-align: center;
  padding: 40px 20px;
}

.scratch_detail .container {
  background: url(../tw_img/scratch05-2.png) no-repeat;
  position: relative;
  margin: 0 auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  padding: 0px;
  width: 400px;
  height: 516px;
}

.scratch_detail .canvas {
  position: absolute;
  top: 0;
}

.scratch_detail .form {
  padding: 60px 30px;
  text-align: center;
}

.scratch_detail .wh_text {
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin: 10px auto 15px;
}

.scratch_detail .ye_text {
  color: #fdcb2e;
  font-weight: bold;
  text-align: center;
  margin: 10px auto;
}

.scratch_detail .form img {
  width: 80%;
}

@media (max-width: 480px) {
  .scratch_detail {
    overflow: hidden;
    margin-left: -10px;
  }
}

@media (max-width: 370px) {
  .scratch_detail {
    overflow: hidden;
    margin-left: -32px;
  }
}

/*modal*/
.scratch_detail .modal-content {
  background: url(../tw_img/scratch_modal.png) top center no-repeat;
  padding: 100px 10px;
  padding-bottom: 0px;
  box-shadow: none;
  border: 0px;
}

.scratch_detail .modal-body .title {
  text-align: center;
  font-weight: bold;
  color: #fff;
  margin: 8px auto;
}

.scratch_detail .modal-body .scratch_modal_img {
  background-color: #e9e9e9;
  border: 3px solid #8a191d;
  text-align: center;
  padding: 0px 10px 20px;
  padding-bottom: 20px;
}

.scratch_detail .modal-body .scratch_modal_img img {
  width: 40%;
  margin: 20px auto;
}

.scratch_detail .modal-body .scratch_modal_img .text {
  color: #333333;
  font-weight: bold;
  margin: 15px auto;
  text-align: center;
}

.scratch_detail .modal-body .scratch_modal_img span {
  background-color: #ff4e4e;
  color: #fff;
  border-radius: 5px;
  padding: 10px;
}

.scratch_detail .modal-footer {
  border-top: 0px;
  text-align: center;
}

.scratch_detail .scratch_modal_btn {
  background-color: #770c0d;
  color: #fcd844;
  border: 1px solid #e62b2d;
  width: 45%;
  display: inline-block;
  text-align: center;
  padding: 8px 20px;
  margin: auto 5px;
  text-decoration: none;
}

/*scratch_detail_2*/

.scratch_detail_2 {
  background: url(../tw_img/background07.jpg) center;
  background-size: cover;
  display: table;
  width: 100%;
}

.scratch_detail_2 .container {
  position: relative;
  margin: 0 auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  margin: auto;
  text-align: center;
  padding-top: 39%;
  height: 100vh;
}

.scratch_detail_2 .canvas {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, 0);
  /* background-color: rgba(255,0,0,0.4) */
}

.scratch_detail_2 .form {
  /*padding: 60px 30px;*/
  text-align: center;
}

.scratch_detail_2 .wh_text {
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin: 0px auto;
}

.scratch_detail_2 .ye_text {
  color: #fdcb2e;
  font-weight: bold;
  text-align: center;
  margin: 0px auto;
}

.scratch_detail_2 .form img {
  width: 80%;
}

/*modal*/
.scratch_detail_2 .modal-content {
  background: url(../tw_img/scratch_modal.png) top center no-repeat;
  padding: 100px 10px;
  padding-bottom: 0px;
  box-shadow: none;
  border: 0px;
}

.scratch_detail_2 .modal-content.missed {
  background: url(../tw_img/scratch_modal_missed.png) top center no-repeat;
}

.scratch_detail_2 .modal-body .title {
  text-align: center;
  font-weight: bold;
  color: #fff;
  margin: 8px auto;
}

.scratch_detail_2 .modal-body .scratch_modal_img {
  background-color: #e9e9e9;
  border: 3px solid #8a191d;
  text-align: center;
  padding: 0px 10px 20px;
  padding-bottom: 20px;
}

.scratch_detail_2 .modal-body .scratch_modal_img img {
  width: 40%;
  margin: 20px auto;
}

.scratch_detail_2 .modal-body .scratch_modal_img .text {
  color: #333333;
  font-weight: bold;
  margin: 15px auto;
  text-align: center;
}

.scratch_detail_2 .modal-body .scratch_modal_img span {
  background-color: #ff4e4e;
  color: #fff;
  border-radius: 5px;
  padding: 10px;
}

.scratch_detail_2 .modal-footer {
  border-top: 0px;
  text-align: center;
}

.scratch_detail_2 .scratch_modal_btn {
  background-color: #770c0d;
  color: #fcd844;
  border: 1px solid #e62b2d;
  width: 45%;
  display: inline-block;
  text-align: center;
  padding: 8px 20px;
  margin: auto 5px;
  text-decoration: none;
}