@charset "utf-8";
/* CSS Document */
/* 左欄(表單)內容：白底 */
.leftBox { background-color:#fff;}

/* 表單簡介 */
/* 共用：左欄(表單)內容：白底 */
.leftBox { background-color:#fff; }

/* -------------------- 內頁 + 結果頁 */
/* 共用：表單簡介 */
.survey { width:100%; overflow:hidden; }
/* 圖片 */
.survey .ph { width:43%; float:left; height:0; padding:0 0 28%; overflow:hidden; }
/* 圖片右方內容 */
.survey .ph_right { width:57%; float:right; letter-spacing:1px; }
/* 大標 */
.survey p.tit { background-color:#444; color:#fff; font-size:23px; letter-spacing:2px; line-height:1.3; font-weight:500; font-family:'Noto Sans TC'; padding:13px 10px; }
/* 時間 */
.survey b.time { width:90%; display:block; font-size:20px; line-height:1.3; padding:10px 0px; margin:5px auto; }
/* 贈品 */
.survey .gratis { width:90%; font-size:20px; font-weight:500; font-family:'Noto Sans TC'; line-height:1.3; padding:15px 0px 15px 20px; margin:5px auto; background-color:#eee; border-left:3px solid #faae03; color: #C00;}

/* 內頁 - 問卷分享 */
.survey .share { width:95%; height:43px; margin:0px auto 5px; border-bottom:1px #ddd dashed; padding:0px 5px; }
.survey .share span { display:inline-block; float:left; font-size:15px; color:#888; line-height:38px; margin:0 10px 0 0; }
.survey .share a { display:inline-block; float:left; width:35px; height:35px; margin-right:10px; }
.share a.sharefb { background: url(../images/fb.svg) center no-repeat; background-size: 35px; }
.share a.sharetwitter { background: url(../images/twitter.svg) center no-repeat; background-size: 35px; }
.share a.shareline { background: url(../images/line.svg) center no-repeat; background-size: 35px; }

/* 共用：說明 */
.survey span.explain { display:block; width:100%; color:#333; font-size:18px; line-height:1.5; letter-spacing:1px; padding:2.5% 2.6% 2% 4%; margin:0 auto; clear:both; position:relative; }
.survey span.explain:before { content:""; display:inline-block; width:1px; height:50px; border-left:3px solid #faae03; position:absolute; left:2.7%; }

/* 警語 */
.iframe  {height: 650px;}
span.note { display:block; width:90%; color:#555; font-size:16px; line-height:1.3; letter-spacing:1px; padding:5px 0px 15px 0px; margin:0 auto; }
.winnerList span.note { width:99%; }

@media screen and (max-width:800px){
    .survey p.tit { padding:10px; }
    .survey b.time { margin:0px auto; }
    .survey .gratis { padding:10px 0px 10px 10px; }
}
@media screen and (max-width:740px){
    .survey p.tit { font-size:20px; }
    .survey b.time, .survey .gratis { font-size:18px; letter-spacing: normal; }
    .survey span.explain { padding:2.5% 2.6% 2.5% 5%; }
    .survey span.explain:before { left:3%; }
}
@media screen and (max-width:600px){ /* 大圖 */
    .iframe  {height: 1000px;}
    .survey .ph { width:100%; float:none; padding:0 0 54%; }
    .survey .ph_right { width:100%; float:none; }
    .survey span.explain { padding:15px 20px; }
    .survey span.explain:before { display:none; }
    span.note { width:93%; }
    .winnerList span.note { width:98%; }
}    
@media screen and (max-width:330px) {
    .survey b.time, .survey .gratis { font-size:16px; }
}    


/* -------------------- 共用切換鍵 (看結果、得獎名單) */
.switch { width:95%; text-align:right; margin:0px auto 10px; padding:0 3% 20px 0; border-bottom:1px #ddd dashed; }
.switch a { display:inline-block; border-radius:3px; padding:8px 80px 10px; background-color:#faae03; border-bottom:2px solid #cc8f05; }
.switch a:hover, .switch a:active { background-color:#f6c049; }

.winnerListBT a:before, .resultBT a:before { font-size:20px; letter-spacing:6px; color:#fff; font-weight:500; font-family:'Noto Sans TC'; }
.winnerListBT a:hover:before, .winnerListBT a:active:before, .resultBT a:hover:before, .resultBT a:active:before { color:#555; }

@media screen and (max-width:900px){
    .switch { padding:0 1% 20px 0; }
}
@media screen and (max-width:600px){
    .switch { text-align:center; padding:0 0 20px 0; }
}


/* -------------------- 看結果 */
/* 看結果 button */
.resultBT a:before { content:"得獎名單"; }

.result { width:95%; padding:15px 25px 15px 10px; margin:10px auto 0px; border-bottom:1px #ddd dashed; }
/* 題目 */
.topic { width:100%; padding:0 0 0 40px; counter-increment:topiCounter; position:relative; margin:0 0 40px; }
.topic:before { content: counter(topiCounter) '.'; display: inline-block; width:30px; float:left; font-family: Arial, helvetica; font-size:30px; font-weight:bold; font-style:italic; line-height:1; color:#8d5b1e; position:absolute; left:0; top:0; letter-spacing:-2px; text-align:right; }
.topic p { font-size:19px; color:#666; font-weight:400; font-family:'Noto Sans TC'; line-height:1.3; letter-spacing:2px; margin: 0 0 15px 0; }
.topic b { display:block; font-size:16px; color:#888; font-weight:500; line-height:1.3; letter-spacing:1px; }
/* 百分比(文字) */
.topic span { display:inline-block;; font-size:20px; line-height:22px; color:#8d5b1e; text-align:right; font-weight:bold; padding:0 0 0 13px; }
.topic span:after { content:"％"; font-size:20px; line-height:22px; color:#8d5b1e; font-weight:bold; }
/* 百分比(直條圖) */
.progress { width:100%; height:10px; margin:3px 0 15px; overflow: hidden; background-color:#f1f1f1; border-radius:5px; box-shadow: inset 0 1px 2px rgba(0,0,0,.1); border-bottom: 1px solid #b4b4b4; } 
.progressBar { float:left; width:0; height:100%; box-shadow: inset 0 -1px 0 rgba(0,0,0,.15); background:linear-gradient(#fede6b 0% , #ffb100 100%);  background: -moz-linear-gradient(#fede6b 0%, #ffb100 100%); }

@media screen and (max-width:900px){
    .result { padding:15px 20px 15px 10px; }
}
@media screen and (max-width:700px){
    .result { padding:15px 5px; }
}
@media screen and (max-width:600px){
    .topic p { font-size:18px; }
    .progress { width:97%; }
}
@media screen and (max-width:500px){
    .result { padding:15px 5px 15px 0px; }
}
@media screen and (max-width:360px){
    .result { padding:15px 0px; }
}    
    

/* -------------------- 得獎名單 */
/* 得獎名單 button */
.winnerListBT a:before { content:"得獎名單"; }

.winnerList { width:90%; padding:15px 0px; margin:10px auto 0px; border-bottom:1px #ddd dashed; }
.winnerList b { display:block; width:100%; font-size:22px; font-weight:500; letter-spacing:2px; padding:0 0 5px 5px; }
.winnerList ul { width:100%; display:flex; flex-wrap:wrap; background-color:#faf3d8; }
.winnerList ul li { width:25%; height:50px; float:left; text-align:center; line-height:50px; font-size:20px; letter-spacing:1px; font-weight:500; font-family:'Noto Sans TC'; border-bottom:1px solid #ddd; }

@media screen and (max-width:800px){
    .winnerList ul li { letter-spacing:0px; }
}
@media screen and (max-width:750px){
    .winnerList ul li { width:33.33%; }
}
@media screen and (max-width:600px){
    .winnerList { width:95%; }
}
@media screen and (max-width:500px){
    .winnerList ul li { width:50%; }
}

    
