/* @import url("reset.css"); */


html {
  width:100%;
  height: 100%;
  margin:0;
  padding:0;
  background: #fdf3d1;
  font-size: 18px;
  font-family: sans-serif, Arial, "儷黑", "LiHei", "微軟正黑體", "Microsoft JhengHei", "標楷體";
}

body{
  margin:0;
  padding:0;
  min-height: 100%;
  background:#fdf3d1;
  /* background: url("../images/bg_2023.jpg") no-repeat right bottom fixed #ff9481;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover; */
  position: relative;
}

body.secEvent-fix{
  background:#fffcd1;
}

.text-left{
  text-align: left!important;
}


p.errmsgB{
  display: none;
}

p.errmsgB.viewerr{
  display: block;
  font-size: .9rem;
  color:#FF0000;
  margin:.35rem 0;
}

p.smallinfo {
  display: flex;
  justify-content: center;
  align-items: center;
}

p.smallinfo a{
  width:24px;
  height:24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4fa7ec;
  color:#fff;
  text-decoration: none;
  border-radius: 12px;
  margin-left:.25rem;
}

.videoBoxs{
  display: flex;
}

.videoDes{
  width:70%;
  margin:0 auto;
  margin-bottom:3rem;
  padding: .35rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
} 

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* color */
.color-green{
  color:#64b05b!important;  
}

.color-pink{
  color:#db0064!important;  
}

.color-blue{
  color:#4e69bc!important;
}

.imgcodeBox{
  display: flex;
  align-items: center;
}

.imgcodeBox input{
  font-size: 1.1rem;
  margin-left:.5rem;
}

img#imgcode{
  width:120px;
  height:auto;
}

a#chgimgcode{
  text-align: center;
  padding:.35rem .5rem;
  text-decoration: none;
  background: #4a79bd;
  border-radius:5px;
  color:#fff;
  margin-left:.5rem;
  font-size: .9rem;
}


.d-flex{
  display: flex!important;
}

.item-center{
  align-items: center;
}

.justify-ecnter{
  justify-content: center;
}

.d-md-flex{
  display: flex!important;
}

.bgcolor1{
  background: #ffffff!important;
}

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

.mb-2{
 margin-bottom:1.2rem!important; 
}

.mb-3{
 margin-bottom:1.5rem!important; 
}

.mt-md-2{
  margin-top: 2rem!important;
}

.forPc{
  display: block!important;
}

.forMobile{
  display: none!important;
}

.textBlock{
  padding: 0 2rem;
  margin-bottom:3rem;
}

.textBlock p{
  font-size: 1.2rem;
}

.cusBtn{
  width:60%;
  height:auto;
  margin:0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #00ADBB;
  color:#fff;
  text-decoration: none;
  padding: 1.4rem .35rem;
  border-radius: 10px;
  font-size: 1.2rem;
  transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  margin-bottom:1rem;
}

.cusBtn:hover{
  background: #32cbd7;
  color:#333;
}


.videoTitle{
  text-align: center;
}

.videoTitle h1{
  color: #61abb8;
}


.videoWrapper{
  width:60%;
  margin:0 auto;
}


.videobox {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-top:2rem;
}

.videobox iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* mainWrapper s */

  .mainWrapper{
    width:1100px;
    margin:0 auto;
    
  }
  
  
  .mainWrapper {
      width: 100%;
      height: auto;
      /* background: url(../images/bg_2023.jpg) no-repeat right bottom fixed #1d4a77; */
      padding-bottom: 1.5rem;
  }
  
  .mainSubject-m{
    display: none;
  }
  
  .mainSubject{
    width:100%;
    text-align: center;    
    position: relative;
    position: 0;
    overflow: hidden;
    padding: 2rem 0;
    padding-bottom:0;
  }
  
  .mainSubject img{
    width:100%;
    height: auto;
    display: block;
  }
  
  .mainSubject img.man50,.mainSubject img.woman40,.mainSubject img.woman30{
    position: absolute;
    width: 25%;
    height:auto;
  }
  
  .mainSubject img.woman30{
    bottom: 50px;
    right: 120px;
    width: 15%;
    height:auto;
    z-index: 2;
  }
  
  .mainSubject img.woman40{
    bottom: -120px;
    right: 10px;
    z-index: 3;
  }
  
  .mainSubject img.man50{
    bottom:-80px;
    left:20px;
    
  }
  
  
  
  

/* pageSubject */

  .pageSubject{
    width: 60%;
    margin:0 auto;
    padding-top:1rem;
    margin-bottom:1.5rem;
  }
  
  body.commendIndexP .pageSubject{
    width: 100%;
  }
  
  .pageSubject.inforPage-subtitle{
    max-width:600px;
  }
  
  #commendIndexP .pageSubject{
    width: 100%;
  }
  
  
  .pageSubject img{
    width: 100%;
    max-width: 920px;
    min-width: 70%;
    height: auto;
    display: block;
    margin:0 auto;
  }
  
  .pageSubject.scrEvent.main-img{
    width:100%;
    padding-top: 0;
  }
  
  .pageSubject.scrEvent.main-img img{
    width:100%;
    min-width: 1100px;
    height:auto;
    display: block;
  }
  
  .mainContent{
    padding:2rem 1rem 2rem 1rem;
    width:100%;
    padding:2rem;
    margin-top:2rem;
    border-radius: 20px;
    position: relative;
    z-index: 5;
    box-sizing: border-box;
  }
  
  .mainContent.inforPage{
    margin-top:0;
    width:1100px;
    margin:0 auto;
  }
  
 .mainWrapper.indexPage{
   margin-bottom:0rem;
 }
  
  
  .mainWrapper.indexPage .mainContent{
    margin-top:0;
  }
  
  .giftBox{
    width:40%;
  }
  
  
  .giftBox img{
    width:100%;
    height:auto;
  }
  
  
  .eventHeader{
    width:100%;
    align-items: center;
    justify-content: center;
  }
  
  
  .quizeBanner{
    width:501px;
    height:auto;
  }
  
  .quizeBanner img{
    width:100%;
    height:auto;
  }
  
  .quizeBtn{
    width:100%;
    padding:0 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .quizeBtn a:link, .quizeBtn a:visited{
    display: flex;
    align-items: center;
    justify-content:center;
    flex-direction: column;
    width:auto;
    flex-grow: 1;
    padding:1.3rem 2rem;
    margin:0 .5rem;
    border-radius: 10px;
    background: rgb(249, 216, 74);
    background: linear-gradient(3deg, rgba(248, 187, 42, 1) 0%, rgba(252, 223, 95, 1) 100%);
    border: #fb0 solid 3px;
    text-decoration: none;
    margin-bottom:2rem;
    transition:all .3s ease-in-out;
    -webkit-transition:all .3s ease-in-out;
    -moz-transition:all .3s ease-in-out;
  }
  
  .quizeBtn .btnBox{
    padding-top:1.5rem;
  }
  
  .quizeBtn .btnBox.ranking{
    width:100%;
    justify-content: center;
  }
  
  .quizeBtn .btnBox.ranking a:link, .quizeBtn .btnBox.ranking a:visited{
    width:100%;
    padding:1rem 4rem;
    margin:0 .5rem;
    border-radius: 10px;
    background: #62d7d2;
    border: #62d7d2 solid 3px;
    text-decoration: none;
    margin-bottom:1rem;
    transition:all .3s ease-in-out;
    -webkit-transition:all .3s ease-in-out;
    -moz-transition:all .3s ease-in-out;
  }
  
  .quizeBtn a:hover{
    background: transparent;
    border: #1d4a77 solid 3px;
  }
  
  .quizeBtn a:hover p{
    color:#1d4a77!important;
  }
  
  .quizeBtn .btnBox.ranking a:hover{
    background: transparent;
    border: #62d7d2 solid 3px;
  }
  
  .quizeBtn .btnBox.ranking a:hover p{
    color:#19c1ba!important;
  }
  
  .quizeBtn p{
    margin:0;
  }
  
  .quizeBtn a p{
    font-size: 1.2rem!important;
    color:#1d4a77!important;
    font-weight: 500!important;
    margin:0!important;
    text-align: center;
  }

  .eventDes{
    width:90%;
    padding: 0 1.5rem;
    margin:0 auto;
    display: flex;
    justify-content: center;
  }
  
  .eventDes h1{
    letter-spacing: .15rem;
    font-weight: 300;
    color:#E73175;
    font-size: 3rem;
    margin:.35rem 0;
    //-webkit-text-stroke: 2px #fff;
  }
  
  .eventDes h2{
    font-weight: 500;
    color:#528e9b;
    margin:.35rem 0;
    //-webkit-text-stroke: 2px #fff;
  }
  
  /* .eventDes h4{
    background: #00adbb;
    color: #fff;
    border-radius: 30px;
    width: fit-content;
    padding: 0.25rem 2.5rem;
    font-weight:400;
  } */
  
  .eventDes h4{
    font-size: 2rem;
    color: #00adbb;
    border-radius: 30px;
    width: fit-content;
    padding: 0.25rem 2.5rem;
    font-weight:400;
  }
  
  .eventDes p{
    font-weight: 300;
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
    text-align: justify;
    text-justify:inter-ideograph;
  }
  
  .eventDes p b{
    line-height: 1.5;
  }
  
  /* .eventDesRow{
    align-items:center;
  } */
  
  .eventDesRow p{
    width:70%;
  }
  
  .eventDesRow img{
    width:30%;
    margin-left: 2rem;
  }
  
  
/* mainWrapper e */


/* footer s */

/* eventInfo */
.eventInfo{
  width:1100px;
  margin:0 auto;
  text-align: left;
  padding:1rem;
  box-sizing: border-box;
  border-radius:20px;
  background: #fff;
}

body.commendIndexP .eventInfo{
  padding:1.5rem 5rem;
}

.eventInfo h3{
  color:#1d4a77;
}

.eventInfo p{
  line-height: 1.4;
  font-size: 1rem;
  font-weight: 300;
}

footer{
  width: 100%;
  padding:.75rem 0;
  position: relative;
  padding-bottom:1rem;
}

footer .footerInfo{
  width:100%;
  text-align: center;
  margin-bottom:.55rem;
}

footer .footerInfo p{
  line-height: 1.4;
  font-size: .8rem;
  font-weight: 300;
}

body.indexP footer{
  background: #e9907e;
}

footer .container{
  width: 800px;
  display: flex;
  justify-content: space-evenly;
  margin:auto;
}

footer .container .logoBox{
  color: #000;
  font-size:0.7em;
  color:#7d7db6;
  width: 300px;
  
}

footer .container .logoBox p{
  color:#333;
 font-size: 9pt;
 margin-bottom: 0.35rem;
}

footer .container .logoBox .logoContent{
  display: flex;
  align-items: center;
}

footer .container .logoBox .logoContent img{
  width:60%;
  height:auto;
  align-self: center;
}

footer .container .logoBox .logoContent span{
  color:#333;
  margin-left:0.35rem;
}

footer .container img{
  width:70%;
  height: auto;
}

p.adNote {
    border: 1px solid #686868;
    color: #686868;
    padding: 0.25rem;
    font-size: .5rem;
    position: absolute;
    z-index: 9;
    bottom: 10px;
    right: 10px;
}

/* footer e */


h1#firstHeading{
    font-size:1.4em;
    font-weight: 600;
    font-family: sans-serif, Arial, "儷黑", "LiHei", "微軟正黑體", "Microsoft JhengHei", "標楷體";
    color: #000;
}


/* body.mapBody{
  padding-top:81px;
} */

.fill{
    min-height: 100%;
    height: 100%;
}


.hideme, .hidemeS, .hidemeLas{
  opacity: 0;
}

.noteText2{
  font-size:1rem;
  color:#333;
  display: block;
}

.noteText{
  font-size:10pt;
  color:#e24696;
  display: block;
}

#bodyContent .noteText{
  margin-bottom:5px;
}

#loading {
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999999;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}


#loading img {
    width: 10%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
}




#bodyContent p{
    font-size:1.2em;
    margin-bottom:0.5em;
}

.col.indexContent{
    padding:80px;
    background: #4DB3C5;
    color:#fff;
    font-size:1.2em;
    line-height: 1.5;
}

h4.position-absolute{
  bottom:10px;
  left:15px;
}



button.distBtn{
  text-decoration: none;
}


/* index 引言說明區塊 */
/* imagRow-1 */
.imgRow-1{
  position: relative;
  height:250px;
  
  /* animation-name:showIn_firstImg;
  animation-duration:2s;
  animation-fill-mode:both;
  animation-delay:2.5s; */
}


.firstP{
  animation-name:showIn_firstImg;
  animation-duration:2s;
  animation-fill-mode:both;
  animation-delay:3s;
}


.textColumn{
  //background: #cee5eb;
  //padding:25px 25px 10px 25px;
  border-radius: 10px;
}

.textColumn p{
  //color: #4DB3C5;
  color: #fff;
}


@keyframes showIn_firstImg{
  0%{
    opacity:0;
  }
  100%{
    opacity:1;
  }
}





.imgRow-1 img{
  position: absolute;
  width:48%;
  left:200px;
  bottom:-40px;
}

.imgRow-1 img:first-child{
  width:20%;
  left:110px;
  bottom:-10px;
}


/* imgRow-2 */

.imgRow-2{
  position: relative;
  height:250px;
}

.imgRow-2 img{
  position: absolute;
  width:38%;
  left:170px;
  bottom:-20px;
}

.imgRow-2 img:first-child{
  width:35%;
  left:80px;
  bottom:70px;
}

/* imgRow-3 */

.imgRow-3{
  position: relative;
  height:250px;
}

.imgRow-3 img{
  position: absolute;
  width:42%;
  left:30px;
  bottom:-20px;
}

.imgRow-3 img:first-child{
  width:38%;
  left:180px;
  bottom:20px;
}

/* imgRow-4 */

.imgRow-4{
  position: relative;
  height:250px;
}

.imgRow-4 img{
  position: absolute;
  width:45%;
  bottom:20px;
  right:35%;
}


/* aGift */

.aGiftRow .col p span:first-child{
  color:#cee5eb;
}


/* classRoom */
.card.mb-3{
  border:2px solid #0282a4;
}

.card-text{
  font-size: 0.9em;
  font-weight: 300;
  color:#666;
}

.card-link{
  position: absolute;
  bottom:10px;
}


a.card-link.classRoom{
  background:#e42b57;
  color:#fff;
  padding:5px 10px;
  border-radius: 5px;
  transition:all .3s ease-in-out;
  -webkit-transition:all .3s ease-in-out;
}

a.card-link.classRoom:hover{
  background: #f2899d;
}


/* mappage */
.mappage{
  background: #73baba;
  overflow: hidden;
  /* //padding-top:25px;  */
}

.indexBanner{
  position: relative;
}

.bannerItems{
  width:100%;
  height:100%;
  position:absolute;
  top:-3%;
  left:0%;
}

.bannerItems img.img{
  position:absolute;
  left: 0;
}

.bannerItems img.banner_01{
  width:38%;
  top:10%;
  animation-name:showIn;
  animation-duration:2s;
  animation-fill-mode:both;
  animation-delay:.5s;
}


@keyframes showIn{
    0%{
        left:8%;
        opacity:0;
    }
    100%{
        left:13%;
        opacity:1;
    }
}


.bannerItems img.banner_02{
  width:25%;
  top:73%;
  animation-name:showIn_sec;
  animation-duration:2s;
  animation-fill-mode:both;
  animation-delay:1s;
}

@keyframes showIn_sec{
  0%{
    left:19%;
    opacity:0;
  }
  100%{
    left:24%;
    opacity:1;
  }
}

.bannerItems img.banner_03{
  width:17%;
  
  top:18%;
  animation-name:showIn_trd;
  animation-duration:2s;
  animation-fill-mode:both;
  animation-delay:1s;
}


@keyframes showIn_trd{
  0%{
    left:34%;
    opacity:0;
  }
  100%{
    left: 39%;
    opacity:1;
  }
}

.bannerItems img.banner_04{
  width:15%;
  left: 7%;
  top:48%;
  
  animation-name:popup;
  animation-duration:2s;
  animation-fill-mode:both;
  animation-delay:2s;
  
}


@keyframes popup {
  0%{
    transform: scale(1);
    opacity:0;
  }
  50%{
    transform: scale(1.4);
  }
  60%{
    transform: scale(1.1);
  }
  70%{
    transform: scale(1.2);
  }
  80%{
    transform: scale(1);
  }
  90%{
    transform: scale(1.1);
  }
  100%{
    transform: scale(1);
    opacity:1;
  }
}



.bannerItems img.banner_05{
  width:25%;
  top:8%;
  left:60%;
  animation-name:showIn_five;
  animation-duration:2s;
}

@keyframes showIn_five{
  0%{
    left:55%;
    opacity:0;
  }
  100%{
    left:60%;
    opacity:1;
  }
}


li.nav-item a{
  font-size:0.9em;
}

li.nav-item a:before{
  content:'|';
  color:#cecece;
  margin-right:20px;
}


li.nav-item:first-child a:before{
  content:'';
}








/* 隱私權政策 */
.pPolicyWrapper, .popInfoWrapper{
  width:100%;
  /* height:fit-content; */
  height: 100%;
  position: fixed;
  top:0;
  left:0;
  background: rgba(0,0,0,.6);
  display: none;
  padding: 1.5rem 0.5rem;
  box-sizing: border-box;
  z-index: 1001;
}

.pPolicyContent, .popinfoContent{
  width:80%;
  height:auto;
  max-height: 90%;
  margin: 2rem auto;
  background: #fff;
  border-radius: 10px;
  padding:30px;
  color: #333;
  position: relative;
}

.popinfoContent{
  width: 60%;
  height: 70%;
}

.popinfoBody{
  width:100%;
  height: 100%;
  overflow-y: scroll;
}

.popinfoBody img{
  width:100%;
  height:auto;
}

.pPolicyContent .ppText{
  height: 100%;
  overflow-y: scroll;
}

.pPolicyContent h2{
  line-height: 3;
  font-size: 1.2rem;
  line-height: 1.4;
  margin:.9rem  0;
  color: #1d4a77;
}

.pPolicyContent p{
  line-height: 1.4;
  font-size: 1rem;
}

.pPolicyContent ul{
  list-style: disc;
  margin-left: 0px;
}

.pPolicyContent ul li{
  line-height: 1.5;
}

a#closepPolicy, a#closePopinfo{
  position: absolute;
  top:-10px;
  right:-10px;
  width:40px;
  height: 40px;
  border-radius: 22px;
  border:2px solid #fff;
  background: #1d4a77;
  display: flex;
}

a#closepPolicy img,
a#closePopinfo img{
  width:60%;
  height: auto;
  margin:auto;
}

.contentRow .fb-share{
  display:flex;
  justify-content: space-between;
}

.contentRow .fb-share iframe{
  width:50%;
  height:765px;
}

.eventDes img.walkingPic{
  width:40%;
  padding:0;
}


table.nameList{
  display: table;
  width:100%;
  border-spacing: 1px;
  background: #cecece;
  margin-bottom: 2rem;
}

table.nameList tr td{
  background: #fff;
  color:#333;
}

table.nameList tr th,table.nameList tr td{
  padding:.4rem 0;
}

table.nameList tr th{
  background: #d78894;
  color:#fff;
  font-size: 1.3rem;
  font-weight: 400;
}

table.nameList tr:nth-child(even) td{
  background: #e6f0ef;
}

table.nameList tr:nth-child(2) td{
  background: #83c0de!important;
  color:#fff;
}



table.nameList tr td{
  display: table-cell;
  width:auto;
  vertical-align: middle;
  text-align: center;
}


/* 集樂熊好送中獎名單 */
.listBtnWrapper{
  width:60%;
  margin:0 auto;
}

a.listbtn:link,a.listbtn:visited{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background: #509cff;
  color:#fff;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: 8px;
  width:100%;
  margin:0 auto;
  margin-bottom:3rem;
  transition:all .3s ease-in-out;
}

a.listbtn:hover{
  background: #2275e2;
}

a.listbtn.winnerlist{
  background: #c754a9;
}

.listImg{
  width:45%;
  height:120px;
  position: relative;
}

.listImg img{
  position: absolute;
  width:90%;
  height:auto;
  bottom:0;
  left:0;
}

.listbtn.winnerlist .listImg img{
  width:100%;
}

.listText{
  display: flex;
}


.btnBox{
  display: flex;
}


#ycAlertBox {
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
}

.alert-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

.alertBtnBox{
  display: flex;
  align-items: center;
  justify-content: center;
}

.alertBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  padding:.8rem;
  border-radius: .5rem;
  background: #60c3d7;
  color:#fff;
  text-decoration: none;
  margin:0 .35rem;
}

.alertBtn.cancelButton{
  background: #60c3d7;
}

.alertBtn.confirmButton{
  background: #60c3d7;
}


/* 愛篩檢活動首頁的css */
.sTypeBtnRow{
  display: flex;
  flex-direction: column;
  padding:.25rem 0;
}

.sTypeBtnRow a:not(.showQual):link,
.sTypeBtnRow a:not(.showQual):visited,
.sTypeBtnRow a:not(.showQual):hover{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding:.8rem;
  text-decoration: none;
  background: #22a1ec;
  margin-bottom:.15rem;
  color:#fff!important;
  border-radius: 5px; 
}

.sTypeBtnRow a:not(.showQual):after {
    content: '\02795';
    font-size: 1rem;
    color: #fff;
    float: right;
    margin-left: 5px;
}

.sTypeBtnRow a.changed:after {
    content: '\2796';
}

.sTypeResRow{
  display: none;
  background: #f4edea;
  padding:0 1rem;
}

.sTypeResRow.giftinfo h4{
  margin:.8rem 0;
}

.sTypeResRow.giftinfo h5{
  font-size: 1rem;
  position: relative;
  width: fit-content;
  margin:.35rem 0;
  color:#000;
  padding: .35rem;
  border-radius: 5px;
  background: #FFDD00;
}

.sTypeResRow.giftinfo h5::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #FFDD00 transparent transparent transparent;
}

.sTypeResRow.giftinfo img{
  width:100%;
  height:auto;
}

a#gogoroinfoBtn{
  width: fit-content;
  text-decoration: none;
  padding: 1rem;
  background: #1d4a77;
  color:#fff;
  margin:.5rem 0;
  margin-left:.5rem;
  margin-bottom:1.5rem;
  display: block;
  border-radius: 10px;
}

a#gogoroinfoBtn.inaGift{
  margin-left:2.5rem;
  margin-bottom:0;
}

ol.gogoroinfo li{
  text-align: left;
}

.containerBox.moviepage{
  width:80%;
  margin:0 auto;
}

@media (max-width: 767px) { 
  
  .containerBox.moviepage{
    width:100%;
    margin:0 auto;
  }
  
  .mainContent.inforPage{
    margin-top:0;
    width:100%;
  }
  
  .pageSubject.scrEvent.main-img img{
    width:100%;
    min-width: 100%;
    height:auto;
    display: block;
  }
  
  a#chgimgcode{
    margin-left:0;
  }
  
  .imgcodeBox{
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }
  
  .btnBox{
    width:100%;
  }
  
  .inforPage .btnBox{
    flex-direction: column;
  }
  
  a#gogoroinfoBtn.inaGift{
    margin:0 auto;
    margin-bottom:0;
  }
  
  /* .quizeBtn a.forGame:link, .quizeBtn a.forGame:visited { */
  a.btn-w50:link, a.btn-w50:visited {
      flex:1 1 0;
      padding: .8rem .8rem;
      margin: 0 0.5rem;
      border-radius: 20px;
      background: #ba827b;
      border: #fff solid 3px;
      text-decoration: none;
      margin-bottom: 1rem;
      transition: all .3s ease-in-out;
      -webkit-transition: all .3s ease-in-out;
      -moz-transition: all .3s ease-in-out;
  }
  
  
  
  body{
    margin:0;
    padding:0;
    min-height: 100%;
    background:#fdf0d5;
    /* background: url("../images/bg_2023_m.jpg") no-repeat right bottom fixed #ff9481;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover; */
    position: relative;
  }
  
  .listImg img{
    width:70%;
  }
  
  a.listbtn:link, a.listbtn:visited{
    margin-bottom: 1.4rem;
  }
  
  .videoBoxs{
    display: flex;
    flex-direction: column;
  }
  
  .videoDes{
    width:100%;
    margin:0 auto;
    margin-bottom:3.5rem;
    padding: 0;
  }
  
  .listText{
    display: flex;
    flex-direction: column;
  }
  
  a.listbtn:link,a.listbtn:visited{
    font-size: 1.2rem;
    justify-content: center;
  }
  
  .listBtnWrapper{
    width:100%;
    margin:0 auto;
  }
  
  .listImg{
    width:50%;
    height:80px;
    position: relative;
  }
  
  .contentRow .fb-share{
    display:flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
  }
  
  .contentRow .fb-share iframe:first-child{
    margin-bottom:1.5rem;
  }
  
  .contentRow .fb-share iframe{
    width:100%;
    height:765px;
  }
  
  /* .subjectBox{
    width:100%;
    height: auto;
  } */
  
  .quizeBanner{
    width:100%;
    height:auto;
  }
  
  .eventHeader{
    margin-bottom: 1rem;
  }
  
  .eventHeader.luckyDrawHeader{
    margin-bottom: .5rem;
  }
  
  .quizeBtn {
      padding: 1rem 0;
  }
  
  /* 愛推薦頁面（首頁）的進入活動按鈕 */
  
  
  
  
  .containerBox.forCommend .containRow .textContent.eventInfo{
    position: relative;
    margin-bottom:0;
  }
  
  .quizeBtn.commendBtn {
    width:100%;
    position: fixed;
    left:0;
    bottom:0;
    z-index: 10;
    padding:.5rem 0;
    background: #d8e1e7;
    border-top:2px solid #128be0;
  }
  
  .quizeBtn.commendBtn .btnBox{
    width:95%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    margin-top:0rem;
    margin-bottom:.5rem;
    padding-top:.5rem;
  }
  
  .quizeBtn.commendBtn .btnBox a{
    flex-grow: 1;
    padding:.5rem .5rem;
    margin:0 .25rem;
    margin-bottom:0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  
  
  .quizeBtn.commendBtn .btnBox a p{
    font-size: 1rem!important;
  }
  
  .quizeBtn.commendBtn .btnBox a p span{
    font-size: .8rem!important;
    color: #fffe2f;
  }
  
  .eventDes h4{
    margin:0 auto;
    padding: 0.25rem 0.5rem;
  }
  
  .eventDesRow{
    margin-bottom:.8rem;
  }
  
  .eventDesRow p{
    width: 100%;
  }
  
  .eventDesRow img {
      width: 60%;
      margin-left: 2rem;
      margin: 0 auto;
  }
  
  .popinfoContent{
    width: 85%;
    height: 80%;
    padding: 20px;
  }
  
  .eventDes h1{
    margin-bottom:1rem;
    line-height: 1.3;
  }
  
  .eventDes h1 span{
    display: block;
  }
  
  .mt-md-2{
    margin-top: 0!important;
  }
  
  .videoWrapper{
    width:100%;
    margin:0 auto;
  }
  
  .videobox{
    margin-top:0;
  }
  
  .pageSubject{
    width:100%;
  }
  
  .pageSubject img{
    width:100%;
    height: auto;
  }
  
  #loading img {
    width: 25%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
  }
  
  .forPc{
    display: none!important;
  }
  
  .forMobile{
    display: block!important;
  }
  
  .d-md-flex{
    display: block!important;
  }
  
  .mainWrapper{
    width:100%;
  }
  
  .mainSubject{
    display: none;
  }
  
  
  .mainSubject-m{
    display: block;
    width:100%;
    height:auto;
    padding-top:1rem;
  }
  
  .mainSubject-m img, .pageSubject-m img{
    width: 100%;
    height: auto;
    display: block;
    margin:0 auto;
  }
  
  .pageSubject-m{
    width:100%;
    height:auto;
  }
  
  
  .mainContent{
    border-radius: 0;
    padding:2rem 1rem 2rem 1rem;
    margin-top:0;
  }
  
  .mainContent.inforPage{
    padding:2rem 1rem .5rem 1rem;
  }
  
 
  

/* gift */
  .giftBox{
    width:100%;
  }
  
  .eventDes{
    width:100%;
    padding:0;
    flex-direction: column;
  }
  
  .eventDes img.walkingPic{
    width:100%;
    padding:0;
  }
  
/* class Room */  

  a.card-link.classRoom{
    position: relative;
    text-align: center;
    background:#e42b57;
    color:#fff;
    padding:10px 15px;
    display:block;
    margin: 0 auto;
    border-radius: 5px;
    transition:all .3s ease-in-out;
    -webkit-transition:all .3s ease-in-out;
  }
    
  
  /* .imgcodeBox{
    flex-direction:column;
  } */
  
  /* 推薦碼活動 */
  
  
  /* footer */
  
  .eventInfo{
    width:95%;
    margin:0 auto;
    border:1px solid #d4eaec;
    text-align: left;
    padding:1rem;
    box-sizing: border-box;
    border-radius:10px;
    margin-bottom:1.5rem;
    background: #f9ea8e;
  }
  
  .eventInfo p{
    line-height: 1.4;
    font-size: 1rem;
    font-weight: 300;
    margin:0;
  }
  
  
  footer {
      width: 100%;
      padding: 0 0 0.75rem 0;
      position: relative;
      padding-bottom: 3rem;
  }
  
  body.commendIndexP footer{
    padding-bottom: 6rem;
  }
  
  footer .footerInfo {
      width: 90%;
      margin: 0 auto;
      text-align: left;
      margin-bottom: 0.55rem;
  }
  
  footer .footerInfo p {
      line-height: 1.4;
      font-size: .8rem;
  }
  
  footer .footerInfo p span {
      display: block;
  }
  
  footer .container {
      width: 100%;
      display: flex;
      justify-content: space-evenly;
      margin: auto;
      align-items: flex-start;
  }
  
  footer .container img {
      width: 100%;
      height: auto;
  }
}