body, html {
    height: 100%;
  }
  body {
      min-height: 100%;
      display: flex;
      flex-direction: column;
  }
  a {
      text-decoration:none;
  }
  
  
  header{
      position: fixed;
      top: 0;
  }
  
  .content{
      padding-bottom: 100px;
  }
  
  footer{
      color: #FFFFFF;
      background: #656567;
      width: 100%;
      height: 80px;
      position: fixed;
      bottom: 0;
      font-size: 14px;
  }
  
  footer .container {
      height: 80px;
  }
  
  .footer_cont {
      height: 80px;
  }
  
  .hidden {
      display: none;
  }
  
  .footer_content {
      max-width: 315px;
      min-width: 315px;
      max-height: 42px;
      overflow: hidden; 
      margin-left: auto;
      margin-right: auto;
  }
  .footer_txt {
      float: left;
      width: 210px;
  }
  .footer_btn {
      float: right;
      margin-right: 0px;
      max-width: 100px;
      min-width: 100px;
  }

  


  /*
Copyright (c) 2009, Shawphy(shawphy.com). All rights reserved.
http://shawphy.com/2009/03/my-own-reset-css.html
Based on YUI http://developer.yahoo.com/yui/reset/ 
and Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html 
Licensed under the BSD License:
http://creativecommons.org/licenses/BSD/
version: 1.1 | 20090303
*/
*{
	font-size:14px;
}


header, menu, nav, section, footer, body, div, dl, dt, dd, ul, ol, li,
h1, h2, h3, h4, h5, h6, pre, code,
form, fieldset, legend, input, button,
textarea, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}
fieldset, img {
	border: 0;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
/*address, caption, cite, code, dfn,
em, strong, th, var, optgroup {
	font-style: normal;
	font-weight: normal;
}*/

abbr, acronym {
	border: 0;
	font-variant: normal;
}

input, button, textarea,
select, optgroup, option {
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
}
code, kbd, samp, tt {
	font-size: 100%;
}
/*@purpose To enable resizing for IE */
/*@branch For IE6-Win, IE7-Win */
input, button, textarea, select {
	*font-size: 100%;
}
body {
	line-height: 1.5;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th {
	text-align: left;
}
sup, sub {
    /* font-size: 100%; */
    vertical-align: baseline;
    vertical-align: super;
    font-size: smaller;
}
/* remember to highlight anchors and inserts somehow! */
:link, :visited , ins {
	text-decoration: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}


/*20120626 lala add*/
* tr td{
	overflow:hidden; 
	word-break: break-all;
}

/*20150203 Justin add*/
img {
	margin:0;
}
/*20170731 Justin add*/
strong {
	font-weight:bolder;
}

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

/*--新增文字--*/
@font-face {
  font-family: SourceHanSerif;
  src: url("font/SourceHanSerifTW-Bold.otf") format("opentype");;
}


/*-----css基本設定---------*/
*, body, h1, h2, h3, h4, h5, h6, a, p, select  {
	font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif, Arial, Helvetica;
}

span {
	font: inherit;
}
/*文字反選顏色*/
::selection, ::-moz-selection {
	background: #e78d09;
	color: #ffffff;
}

/*a:focus {
	background-color: #F7AD00 !important;
}*/
a {
	transition: .5s;
}
/*a:hover {
	filter:brightness(110%);
	transition: .5s;
}*/
/*a:focus img {
	-webkit-filter:saturate(0.2);
}*/


html {
	height: 100%;
	margin: 0;
}
body {
	margin: 0;
	min-height: 100%;
}

/*清除格式*/
.CleanFormat { 
	clear: both;
}
#article::after, section::after, header::after {
	content: "";
	display: block;
	clear: both;
}

/*分隔線*/
.Dividers {
	margin: 0 auto 10px;
	width: 80%;
	max-width: 300px;
	height: 1px;
}

/*------------------------WebStart----------------------*/
#wrap {
    display: block;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
/*-------------------------Header-----------------------*/

/*----上選單----*/

/*---------------------------Menu-----------------------*/

/*-----手機版選單------*/

/*-----社群選單-----*/

/*-------------------------BODY-------------------------*/
article {
    
}
section {
    display: block;
    position: relative;
    z-index: 10;
}

/*-------------------------FOOTER-----------------------*/
footer {
   
}
#copyright {
	font-size: 14px;
	line-height: 30px;
}


/*--------------------------共用項目-------------------------------*/

/*-----編輯內容------*/

/*--回頂端--*/

/*--------------------------內容開始-------------------------------*/

/*---第一頁---*/
.Banner {
    display: block;
    width: 100%;
	margin-bottom: 20px;
}
.Banner img {
    display: block;
    width: 100%;
    height: auto;
}
.EvenName {
    font-size: 26px;
    margin: 0 auto 10px;
    width: 80%;
    max-width: 300px;
}
.EvenInfo {
    width: 80%;
    max-width: 300px;
    margin: -10px auto 10px;
    color: #707070;
    font-size: 16px;
}
#QrCode {
    width: 200px;
    border: 1px solid #000000;
    margin: 20px auto;
}
#QrCode img {
    display: block;
    width: 100%;
    height: auto;
}



#LinkTXT {
    width: 300px;
    margin: 50px auto;
}
#LinkTXT a {
    display: block;
    text-align: center;
    border-radius: 10px;
    font-size: 24px;
    font-weight: bold;
    line-height: 40px;
    letter-spacing: 5px;
    padding-left: 5px;
}




.NoteTxt {
    width: 80%;
    margin: 0 auto;
    max-width: 300px;
}
.NoteTitle {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}
.NoteInfo {
    font-size: 16px;
    color: #707070;
}

/*---電腦版與手機版控制---*/
.wStyle {
	display: block;
}

.mStyle {
	display: none;
}

/*---第二頁---*/
.EvenTxt {
    width: 80%;
    max-width: 300px;
    display: block;
    margin: 0 auto 10px;
    font-size: 16px;
    color: #707070;
}
.EvenBtn {
    display: block;
    margin: 0 auto;
    width: 240px;
}
.EvenBtn a {
    display: block;
    text-align: center;
    font-size: 18px;
    border-radius: 10px;
    line-height: 35px;
}

/*---------------------------自適應內容----------------------------*/
/*--高--*/
@media only screen and (max-height: 820px) {

}
@media only screen and (max-height: 600px) {

}

/*--寬--*/

@media only screen and (max-width: 1000px) {

}
@media only screen and (max-width: 870px) {

}
@media only screen and (max-width: 750px) {

}
@media only screen and (max-width: 715px) {
	
}
@media only screen and (max-width: 690px) {

}
@media only screen and (max-width: 670px) {
	
}
@media only screen and (max-width: 650px) {

}
@media only screen and (max-width: 600px) {
.wStyle {
	display: none;
}

.mStyle {
	display: block;
}
}
@media only screen and (max-width: 550px) {

}
@media only screen and (max-width: 500px) {

}
@media only screen and (max-width: 400px) {

}
@media only screen and (max-width: 360px) {

}
@media only screen and (max-width: 340px) {

}

* {
    padding: 0;
    margin: 0;
    font-size: 16px;
}

.button-area a{
    color: white;
}

.agree a:visited{
    color:#cc2c38;
}

/* *, body, h1, h2, h3, h4, h5, h6, a, p, select{
    font-family: 'Noto Sans TC', sans-serif;
} */


body {
    background-color: #fff8ee;
    font-family: 'Noto Sans TC', sans-serif;
}

header {
    width: 100%;
    position: unset;
    border: 0;
    border-top: 10px;
    border-style: solid;
    border-color: #aa0000;
}

header h1 {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 5px;
}

header h1 img {
    height: 45px;
}

.main h3 {
    text-align: center;
    font-weight: 200;
    margin-top: 10px;
    font-size: 22px;
    font-weight: bold;
}

.main ul {
    list-style: none;
    margin-top: 24px;
}

.main ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.main ul li img:first-child {
    width: 75%;
}

.main ul li img:last-child {
    width: 40px;
    height: 40px;
    margin-left: 20px;
}

.main .card-container {
    width: 95%;
    margin: 24px auto 0;
}

.main .card-container img {
    width: 100%;
}

.main .card-container .card-image,
.main .card-container .card-content {
    position: relative;
}

.main .card-container .card-image .shadow,
.main .card-container .card-content .shadow {
    position: absolute;
    bottom: 4px;
    left: 0;
    height: 20%;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.2)0%, rgba(0, 0, 0, 0)87%);
    background: -moz-linear-gradient(90deg, rgba(0, 0, 0, 0.2)0%, rgba(0, 0, 0, 0)87%);
    background: -webkit-linear-gradient(90deg, rgba(0, 0, 0, 0.2)0%, rgba(0, 0, 0, 0)87%);
    background: -o-linear-gradient(90deg, rgba(0, 0, 0, 0.2)0%, rgba(0, 0, 0, 0)87%);
}

.main .button-area{
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.main .agree{
    padding-bottom: 0px;
    text-align: center;
}

.main .card-container .card-content {
    background-color: white;
    box-sizing: border-box;
    padding: 8%;
}

.main .card-container .card-content {
    position: relative;
}

.main .card-container .card-content .shadow {
    top: -4px;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.2)0%, rgba(0, 0, 0, 0)87%);
    background: -moz-linear-gradient(270deg, rgba(0, 0, 0, 0.2)0%, rgba(0, 0, 0, 0)87%);
    background: -webkit-linear-gradient(270deg, rgba(0, 0, 0, 0.2)0%, rgba(0, 0, 0, 0)87%);
    background: -o-linear-gradient(270deg, rgba(0, 0, 0, 0.2)0%, rgba(0, 0, 0, 0)87%);
}

.main .agree,
.main .card-container .card-content .content {
    margin: 10% 0;
}

.main .card-container .card-content span {
    font-weight: bold;
}

.main .button-area span {
    background-color: #aa0000;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 15px;
    color: white;
    cursor: pointer;
    transition: 0.5s;
    display: flex;
    width: fit-content;
    align-items: center;
}

.main .button-area span:hover{
    background-color: #ff0004;
}

.main .button-area span i{
    font-size: 18px;
}

.main .button-area span:first-child {
    margin-right: 5px;
}

.main .input-container {
    width: 90%;
    margin: 10px auto;
}

.main .input-container textarea,
.main .input-container input {
    font-size: 16px;
    border: none;
    background-color: #efe8d9;
    width: 100%;
    box-sizing: border-box;
    padding:12px 15px;
    border-radius: 7px;
}

.main .input-container textarea{
    resize: none;
}

.main .input-container textarea:focus,
.main .input-container input:focus {
    outline: none;
}

.main .input-container input {
    height: 50px;
    line-height: 50px;
}

.main .input-container p:nth-child(3) {
    margin-top: 30px;
}

.hidden {
    display: none
}

.btn_left {
    background-color: #f30606;
    color: white;
}

.btn_right {
    background-color: #f30606;
    color: white;
}

.td_context {
    margin-bottom: 3%;
}

a:visited{
    color: white;
}

.EvenBtn a:hover{
    background: #eb444f !important;
}


.ai-select{
    background: #cc2c38;
    color: white;
    padding: 5px 10px;
    width: fit-content;
    border-radius: 5px;
    margin: 7px 0;
    cursor: pointer;
    transition: 0.5s;
}

.ai-select:hover{
    background: #eb444f;
}

.agree{
    margin: 20px 0 !important;
}

.option-box{
    display: none;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 15px;
    background: #f7e8d1;
    border-radius: 7px;
}

.option-box p{
    padding-bottom: 7px;
    font-weight: 600;
}

.ai-options{
    display: flex;
    margin-top: 0px!important;
}

.ai-option{
    padding: 7px 10px;
    background: #f7a72b;
    margin-right: 10px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: 0.5s;
    margin-bottom: 5px !important;
    letter-spacing: 1px;
}

.ai-option:hover{
    background: #cd333d;
    /* color:black; */
}

.ai-option.active{
    background: #cd333d;
}

.blessing{
    position: relative;
}

.think{
    display: none;
    position: absolute;
    color: #0e0e0e;
    font-size: 18px;
    top: 7px;
    left: 15px;
    transition: 0.5s;
    animation: thinking 0.7s 0.7s infinite ease-in-out alternate;
    -moz-animation: thinking 0.7s 0.7s infinite ease-in-out alternate;
}

.from{
    padding-bottom: 5px;
}

@keyframes thinking{
    0%{
        transform: scale(1);
    }
    10%{
        transform: scale(1)
    }
    100%{   
        transform: scale(0.7);
    }
}

.card-image{
    margin-bottom: 10px;
}

.card-image img{
    max-width: 100%;
}

.disabled {
    pointer-events: none; 
    opacity: 0.7;
}

.popup-area{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000a3;
    z-index: 999;
    display: none;
}

.popup-content{
    background: white;
    width: 88%;
    max-width: 375px;
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
    padding: 15px;
    border-radius: 10px;

}

.popup-content h2{
    font-size: 20px;
}

.popup-content .button-area{
    position: relative;
    float: right;
    padding-top: 40px;
    padding-bottom: 10px;
}

.popup-content span{
    padding: 7px 7px;
    background: #F44336;
    color: white;
    border-radius: 5px;
    margin-right: 3px;
    cursor: pointer;
    transition: 0.5s;
    font-size: 14px;
}

.popup-content span a{
    font-size: 14px;
}

.popup-content span:nth-last-child(1){
    margin-right: 0px;
}

.popup-content span:hover{
    background: #d90f0f;
}

.main{
    padding-bottom: 2rem;
}

