﻿@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);

a {
    text-decoration: none;
}

body {
    margin: 0;
    font-family: 'Noto Sans TC', sans-serif;
    background-color: #f7f7f7;
}

.wrap {
    margin: 0 auto;
    width: 640px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
}

.header {
    position: fixed;
    width: 640px;
    height: 88px;
    background: #ffffff;
    box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
}

.indexPage {
    position: relative;
    width: 640px;
    height: 1160px;
    background: url(../images/step1bg.jpg)no-repeat;
}

.stepMain {
    position: absolute;
    width: 640px;
    height: 938px;
    top: 88px;
    left: 640px;
    /*background: url(../images/stepTitle.jpg) no-repeat;
    background-position-y: 714px;*/
}

.stepBox {
    position: relative;
    width: 640px;
    height: 650px;
    top: 30px;
    overflow: hidden;
}

.step1 {
    position: absolute;
    width: 640px;
    height: 650px;
    background: url(../images/step1Title.png) no-repeat center 34px;
}

.themeMain {
    position: absolute;
    width: 640px;
    height: 420px;
    top: 150px;
}


.themeBox img {
    width: auto;
    margin: 0 auto;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    vertical-align: middle;
}

.iconMain {
    position: absolute;
    width: 550px;
    height: 122px;
    top: 80px;
    left: 50%;
    transform: translate(-50%);
}

    .iconMain img {
        vertical-align: bottom;
    }

    .iconMain .slick-slide {
        margin-left: 8px;
        margin-right: 8px;
        vertical-align: bottom;
    }

.slick-pre {
    position: absolute;
    left: 12px;
    top: 140px;
    display: block;
    z-index: 4;
}

.slick-next {
    position: absolute;
    right: 12px;
    top: 140px;
    display: block;
    z-index: 4;
}

.icon-pre {
    position: absolute;
    left: -34px;
    top: 60px;
    display: block;
    z-index: 4;
}

.icon-next {
    position: absolute;
    right: -34px;
    top: 60px;
    display: block;
    z-index: 4;
}

.selectBorder {
    border-style: solid;
    border-width: 3px;
    border-color: #2d96cd;
}

.selectBorderDot {
    border-style: solid;
    border-width: 3px;
    border-color: #2d96cd;
    border-radius: 36px;
}

.themeDot {
    padding-left: 6px;
    margin-top: 504px;
    margin-left: auto;
    margin-right: auto;
}

    .themeDot img {
        margin-left: 9px;
        margin-right: 9px;
        vertical-align: middle;
    }
.slick-dots img {
    vertical-align: middle;
}
.step2 {
    position: absolute;
    width: 640px;
    height: 650px;
    background: url(../images/step2Title.png) no-repeat center 34px;
    left: 640px;
}

.step3 {
    position: absolute;
    width: 640px;
    height: 650px;
    background: url(../images/step3Title.png) no-repeat center 34px;
    left: 640px;
}

.renderBox {
    position: absolute;
    top: 80px;
    width: 640px;
    height: 360px;
}

.sharePage {
    position: absolute;
    width: 640px;
    height: 872px;
    background: url(../images/step4bg.jpg);
    left: 640px;
    top: 88px;
}

.shareBtn {
    position: absolute;
    width: 334px;
    height: 88px;
    top: 466px;
    left: 254px;
    cursor: pointer;
    background: url(../images/fbBtn.png);
}

.answerBtn {
    position: absolute;
    width: 207px;
    height: 59px;
    top: 672px;
    left: 80px;
    cursor: pointer;
    background: url(../images/answerBtn.png);
}

.againBtn {
    position: absolute;
    width: 207px;
    height: 59px;
    top: 672px;
    right: 80px;
    cursor: pointer;
    background: url(../images/againBtn.png);
}

.scoreBox {
    position: absolute;
    width: 120px;
    top: 450px;
    left: 60px;
    font-size: 60px;
    font-weight: 600;
    text-align: center;
    color: #2d96cd;
}

.scoreCont {
    position: absolute;
    width: 408px;
    top: 564px;
    left: 50%;
    transform: translate(-50%);
    font-size: 24px;
    text-align: center;
}

.finalPage {
    position: absolute;
    width: 640px;
    height: 858px;
    background: url(../images/finalPage.jpg);
    left: 640px;
    top: 88px;
}

.finalBtn1 {
    position: absolute;
    width: 386px;
    height: 116px;
    top: 516px;
    left: 50%;
    transform: translate(-50%);
    cursor: pointer;
    background: url(../images/finalBtn1.png);
}

.finalBtn2 {
    position: absolute;
    width: 386px;
    height: 116px;
    top: 700px;
    left: 50%;
    transform: translate(-50%);
    cursor: pointer;
    background: url(../images/finalBtn2.png);
}

.c4aBtn {
    position: absolute;
    top: 545px;
    left: 50%;
    transform: translate(-50%);
    cursor: pointer;
}

.themePhoto {
    position: absolute;
    top: 200px;
}

.step1bg {
    position: absolute;
    width: 476px;
    height: 374px;
    background-color: #94749f;
    left: 50%;
    transform: translate(-50%);
    top: 96px;
    text-align: center;
    font-size: 24px;
    letter-spacing: 5px;
    color: #fff;
    line-height: 54px;
}

.nextBtn {
    position: absolute;
    width: 171px;
    height: 60px;
    left: 50%;
    transform: translate(-50%);
    background: url(../images/nextBtn.png);
    bottom: 0px;
    cursor: pointer;

}

.step3 .nextBtn {
    position: absolute;
    width: 171px;
    height: 60px;
    left: 350px;
    transform: translate(0%);
    background: url(../images/nextBtn.png);
    bottom: 0px;
    cursor: pointer;
}

.preBtn {
    position: absolute;
    width: 173px;
    height: 60px;
    left: 128px;
    transform: translate(0%);
    background: url(../images/clearBtn.png);
    bottom: 0px;
    cursor: pointer;
}

.location {
    position: absolute;
    width: 207px;
    height: 59px;
    left: 340px;
    top: 122px;
    background: none;
    border-radius: 26px;
    border-color: #2d96cd;
    font-size: 28px;
    text-align: center;
    font-family: 'Noto Sans TC', sans-serif;
    padding-left: 54px;
}

.pointBtn {
    position: absolute;
    width: 207px;
    height: 59px;
    left: 82px;
    background: url(../images/pointBtn.png);
    top: 122px;
    cursor: pointer;
}

.stepPoint {
    position: relative;
    width: 640px;
    height: 48px;
    bottom: 0px;
    z-index: 2;
    background: url(../images/step1.jpg);
    display: none;
}

.canvasTitle {
    position: absolute;
    top: 218px;
    height: 50px;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 50px;
    color: #fff;
    text-align: center;
    z-index: 4;
    letter-spacing: 3px;
    font-size: 22px;
}

.canvasBox {
    position: relative;
    top: 218px;
    width: 640px;
    height: 360px;
}

.alertPoint1 {
    position: absolute;
    top: 130px;
    left: 390px;
}

    .alertPoint1 img {
        width: 50px;
    }

.alertPoint2 {
    position: absolute;
    top: 126px;
    left: 444px;
    display: none;
    width: 48px;
    height: 82px;
    line-height: 82px;
    vertical-align: bottom;
}

    .alertPoint2 img {
        width: 48px;
        vertical-align: bottom;
    }

.alertPoint3 {
    position: absolute;
    top: 120px;
    left: 490px;
    display: none;
}

    .alertPoint3 img {
        width: 45px;
    }

.footer {
    position: relative;
    width: 640px;
    height: 60px;
    text-align: center;
    color: #868686;
    bottom: 0px;
    line-height: 60px;
    box-shadow: 0px -3px 4px rgba(0, 0, 0, 0.2);
    background: #ffffff;
    z-index: 10;
}

.maenList {
    position: absolute;
    top: 88px;
    background-color: rgba(27, 57, 78, 0.98);
    width: 640px;
    height: 100%;
    z-index: 6;
    display: none;
}

.MenuBtn {
    margin: 0 auto;
    width: 520px;
    height: 140px;
    color: #fff;
    text-align: center;
    font-size: 30px;
    line-height: 140px;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 1);
    border-left: 0px;
    border-top: 0px;
    border-right: 0px;
    border-radius: 0px;
}

    .MenuBtn:active {
        color: #3886c7;
    }

    .MenuBtn:hover {
        color: #3886c7;
    }

.ham-menu {
    background: none;
    border: none;
    position: absolute;
    display: block;
    width: 37px;
    height: 37px;
    font-size: 0;
}

    .ham-menu span, .ham-menu span:before, .ham-menu span:after {
        border-radius: 2px;
        height: 5px;
        width: 37px;
        background: #1b394e;
        position: absolute;
        display: block;
        content: '';
    }

        .ham-menu span:before {
            top: -11px;
        }

        .ham-menu span:after {
            bottom: -11px;
        }

.answerMain {
    position: absolute;
    top: 88px;
    background-color: rgba(0, 0, 0, 0.8);
    width: 640px;
    height: 100%;
    display: none;
    z-index: 5;
}

.answerBox {
    position: absolute;
    width: 525px;
    height: 780px;
    top: 20px;
    left: 50%;
    transform: translate(-50%);
    background: url(../images/answer0.jpg);
}

.answerCloseBtn {
    position: absolute;
    width: 62px;
    height: 62px;
    background: url(../images/answerCloseBtn.jpg);
    cursor: pointer;
    top: 0px;
    right: 0px;
}

.alertMain {
    position: fixed;
    top: 88px;
    background-color: rgba(0, 0, 0, 0.8);
    width: 640px;
    height: 100%;
    display: none;
    z-index: 5;
}

.alertBox {
    position: absolute;
    width: 520px;
    padding-top: 40px;
    padding-bottom: 40px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-90%);
    background-color: #f7f7f7;
    text-align: center;
    font-size: 30px;
    letter-spacing: 4px;
}

.alertText {
    width: 400px;
    margin: 0 auto 40px auto;
}

.alertBtn {
    width: 170px;
    height: 60px;
    line-height: 60px;
    background-color: #2d96cd;
    border-radius: 26px;
    margin: 0 auto;
    color: #ffffff;
    cursor: pointer;
}

#ham {
    right: 20px;
    top: 40px;
    cursor: pointer;
}

    #ham span, #ham span:before, #ham span:after {
        transition: all 250ms ease-out;
    }

    #ham.active span {
        background-color: transparent;
        transform: rotateZ(180deg);
    }

        #ham.active span:before, #ham.active span:after {
            top: 0;
        }

        #ham.active span:before {
            transform: rotate(45deg);
        }

        #ham.active span:after {
            transform: rotate(-45deg);
        }

button {
    border: none;
}

.rulePage {
    position: relative;
    top: 88px;
    width: 640px;
    background-color: #f7f7f7;
    margin-bottom: 140px;
}

.rulesTitle {
    width: 540px;
    height: 60px;
    margin: 20px auto 20px auto;
    text-align: center;
    font-size: 32px;
    border-style: solid;
    border-left: 0px;
    border-top: 0px;
    border-right: 0px;
    letter-spacing: 4px;
}

.ruleCont {
    width: 540px;
    margin: 10px auto 10px auto;
    background: url(../images/rulesIcon.png) no-repeat;
    background-position-y: 10px;
    padding-left: 30px;
    font-size: 22px;
}

    .ruleCont strong {
        color: #b13b22;
        font-size: 24px;
    }

    .ruleCont p {
        margin-top: 0px;
    }

    .ruleCont ol {
        margin-top: 0px;
    }
.slick-dots {
    bottom: 32px;
}
.slick-dots li {
        margin-left: 26px;
        margin-right: 26px;
}

.prizeMain {
    position: absolute;
    top: 88px;
    background-color: rgba(0, 0, 0, 0.8);
    width: 640px;
    height: 100%;
    z-index: 5;
}

.prizeBox {
    position: absolute;
    width: 606px;
    height: 1039px;
    top: 20px;
    left: 50%;
    transform: translate(-50%);
    background: url(../images/prizeList.jpg);
}
.prizeCloseBtn {
    position: absolute;
    width: 62px;
    height: 62px;
    background: url(../images/answerCloseBtn.jpg);
    cursor: pointer;
    top: 0px;
    right: 0px;
}
