@charset "utf-8";
body { font-family:"微軟正黑體",sans-serif; color: #333; }
a:link,
a:visited,
a:hover,
a:active,
a:focus{text-decoration: none;color:#333;}
a:hover { color:#797979;}
a {
    cursor: pointer;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
.bg-gary{
    background-color: #fafafa;
}
.arrow-down{
    position: relative;
    text-align: center;
    bottom:-55px;
}
.section{
    padding: 80px 0;
    text-align: center;
}
.small-tips{
    margin-top: 55px;
    margin-bottom: -35px;
}
/*---------------------------------------
   header
-----------------------------------------*/
#header{
    background-image: url(../images/top_bg.jpg);
    background-repeat: repeat;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#header .container { 
    max-width: 1300px;
    position: relative;
}
#header .button_fb{
    position: absolute;
    bottom: 20px;
    left: 100px;
}
@media (max-width: 1000px){
    #header .button_fb{
        left: 10px;
        bottom: 10px;
    }
}
/*---------------------------------------
   header
-----------------------------------------*/
#navbar{
    background-color: #00c7cf;
    color: #fff;
    height: 52px;
    overflow: hidden;
    border-bottom: 1px solid #a9fffd;
}
.navbar {
    padding-top: 0;
    padding-bottom: 0;
}
.navbar-nav{
    width: 100%;
}
.navbar-nav li{
    color: #fff;
    display:block;
    float:left;
    width:110px;
    height:52px;
    margin-right:60px;
    /* margin:0 30px; */
    background-position:center left; background-repeat: no-repeat;
}
.navbar-nav li:last-child{
    margin-right: 0;
}
.navbar-nav a{
    color: #fff;
    display:block;
    width:100%;
    height:100%;
}
.navbar-nav li:hover{
    background-position:center left;
    -webkit-transition: ease-in-out, all .15s ease-in-out;
    transition: ease-in-out, all .15s ease-in-out;
}
.navbar-nav li.b1{
    background-image: url(../images/list_off_01.png);
}
.navbar-nav li.b2{
    background-image: url(../images/list_off_02.png);
}
.navbar-nav li.b3{
    width: 163px;
    background-image: url(../images/list_off_03.png);
}
.navbar-nav li.b4{
    background-image: url(../images/list_off_04.png);
}
.navbar-nav li.b5{
    background-image: url(../images/list_off_05.png);
}
.navbar-nav li.b6{
    background-image: url(../images/list_off_06.png);
}
.navbar-nav li:hover.b1,.navbar-nav li.on.b1{
    background-image: url(../images/list_on_01.png);
}
.navbar-nav li:hover.b2,.navbar-nav li.on.b2{
    background-image: url(../images/list_on_02.png);
}
.navbar-nav li:hover.b3,.navbar-nav li.on.b3{
    background-image: url(../images/list_on_03.png);
}
.navbar-nav li:hover.b4,.navbar-nav li.on.b4{
    background-image: url(../images/list_on_04.png);
}
.navbar-nav li:hover.b5,.navbar-nav li.on.b5{
    background-image: url(../images/list_on_05.png);
}
.navbar-nav li:hover.b6,.navbar-nav li.on.b6{
    background-image: url(../images/list_on_06.png);
}
.navbar-light .navbar-toggler {
    border:none;
}
.navbar-toggler{
    padding: 0;
}
@media (max-width: 991px){
    #navbar{ 
        height: auto;
    }
    #navbar .container{
        max-width:950px ;
    }
    .navbar-nav li,.navbar-nav li.b3{
        width: 100%;
        padding-top: 5px;
        margin-bottom: 5px;
        border-top:1px solid #a9fffd;
    }
}
/*---------------------------------------
   footer
-----------------------------------------*/
#footer{
    background-color: #00c7cf;
    padding: 20px 0;
    overflow: hidden;
}
#footer img{
    max-width: 100%;
    height: auto;
}
@media (max-width: 991px){
#footer .float-left, #footer .float-right{
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}    
}
/*---------------------------------------
   game-body
-----------------------------------------*/
#game-body .s1,#game-body .s2{
    padding-bottom: 20px;
}
#game-body .s1 {
    background-color: #29d2e9;
    text-align: center;
    background-image: url(../images/game_bg.png);background-repeat: repeat;
    background-size: cover;
    background-position: center;
}
#game-body .s1 .container{
    position: relative;
}
#game-body .s3{
    background-color: #dcf4f5;
    text-align: center;
    background-image: url(../images/game_bg.png);background-repeat: repeat;
    background-size: cover;
    background-position: center;
}
#game-body form{
    max-width: 1000px;
    margin: 0 auto;
}
#game-body .form-control{
    border: none;
    height: 52px;
}
#game-body .form-group{
    margin-bottom: 2rem;
}
#game-body form label{
    text-align: right;
    font-size: 23px;
    padding-right: 24px;
    color: #686868;
}
.question{
    margin: 100px 0;
}
.question .bt-group{
    margin-top: 30px;
}
.question .bt-group a{
    margin:0 20px;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transition: ease-in-out, all .15s ease-in-out;
    transition: ease-in-out, all .15s ease-in-out;
}
.question .bt-group a.bt_yes{
    background-image: url(../images/Q_YES_hover.jpg);
}
.question .bt-group a.bt_no{
    background-image: url(../images/Q_NO_hover.jpg);
}
.question .bt-group a img {
    opacity: 1;
    -webkit-transition: ease-in-out, all .15s ease-in-out;
    transition: ease-in-out, all .15s ease-in-out;
    max-width: 100%;
    width: 100%;
}
.question .bt-group a:hover img{ 
    opacity: 0;
}
.score-dialog {
    max-width: 1100px;
    width: 100%;
    margin:0 auto;
}
.score-dialog .title{
    margin-bottom: 50px;
}
.score-content{
    background-image: url(../images/game_bg.png);
    background-repeat: repeat;
    background-color: #dcf4f5;
    padding: 60px 80px;
    border: 12px solid #fff;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
}

.score-content .gift {
    padding: 0;
}
.score {
    background-image: url(../images/score-bg.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    height: 0px;
    padding-bottom: 54%;
    position: relative;
    text-align: center;
    width: 100%;
}
.score .number{
    font-weight: bolder;
    font-size: 160px;
    color: #fff;
    margin-top:57%;
    margin-left: 6%;
}
.score .number span{
    font-size: 15%;
    margin-left: -15%;
}
.score-content .s-fb{
    display: inline-block;
    background-image: url(../images/fb_hover.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.score-content .s-fb:hover img{
    opacity: 0;
    -webkit-transition: ease-in-out, all .15s ease-in-out;
    transition: ease-in-out, all .15s ease-in-out;
}
@media (max-width: 1024px){
    .score .number{
        font-weight: bolder;
        font-size: 140px;
        color: #fff;
        margin-top:57%;
        margin-left: 6%;
    }
}
@media (max-width: 850px){
    .score .number{
        font-size: 98px;
        margin-top:62%;
    }
    .score .number span{
        font-size: 20%;
        margin-left: -12%;
    }
}
@media (max-width: 767px){
    .container{
        max-width: 720px;
    }
    .question .bt-group{
       width: 50%;
       margin: 20px auto;
    }
    .question .bt-group a{
        display: block;
        margin: 15px 0;
    }
    .score-dialog {
        width: 95%;
    }
    .score-content{
        padding: 50px;
    }
    .score {
        padding-bottom: 85%;
    }
    .score .number{
        font-size: 150px;
        margin-top: 39%;
        margin-left: 5%;
    }
    .score .number span{
        margin-left: -8%;
    }
}
@media (max-width: 650px){
    /* .modal-content{
        padding:30px 20px;
    } */
    .score .number{
        font-size: 120px;
        margin-top: 41%;
    }
    .score .number span{
        margin-left: -10%;
    }
}
@media (max-width: 575px){
    .question .bt-group{
        width: 70%;
     }
    #game-body form label{
        text-align: left;
    }
    .score {
        padding-bottom: 100%;
    } 
    .score .number{
        margin-top: 45%;
    }
    .score-content{
        padding: 20px;
    }

}
@media (max-width: 450px){
    /* .modal-content{
        border-width: 10px;
    } */
    .score .number{
        font-size: 95px;
        margin-top: 45%;
    }
}