﻿@charset "utf-8";
/*取消 Html 原有樣式---------------------------------*/
body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, 
{
	margin: 0;
	width: 100%;
}

table
{
	border-collapse: collapse;
	border-spacing: 0;
	line-height: 20px;
}

fieldset, img
{
	border: 0;
}

caption, th
{
    text-align: left;
}

h1, h2, h3, h4, h5, h6
{
    font-size: 100%;
}

ol, ul
{
    list-style: none;
    margin: 0;
    padding: 0;
}
/*基本------------------------------------------*/
html
{
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
    z-index: 999;
    font-size:26px;
    line-height:30px;
}

body
{
    font-family: Helvetica, Arila,"微軟正黑體", "Microsoft JhengHei", "新細明體", "PMingLiU", sans-serif;
    color: #595757;
    -webkit-text-size-adjust: none;
    background: #fff;
}

a
{
	color: #0064FF;
	text-decoration: none;
}
/*共用-----------------------------------------*/
#bbb{
	line-height: 5px;
	color: #FFFFFF;
}
#container
{
	position: relative;
	width: 480px;
	margin: 0px auto;
}

#header
{
    position: relative;
    float: left;
    width: 100%;
    height: 49px;
    background: url(../images/headerbg.png) repeat-x;
}

#logo h1 a
{
    position: absolute;
    display: block;
    width: 106px;
    height: 26px;
    top: 9px;
    left: 11px;
    background: url(../images/logo.jpg) no-repeat;
    text-indent: -9999px;
}

#menu
{
    position: relative;
    float: left;
    width: 100%;
    height: 44px;
    background: url(../images/menubg.jpg) repeat-x;
    font-size: 14px;
}

    #menu ul
    {
        position: absolute;
        left: 10px;
        width: 500px;
        line-height: 46px;
    }

    #menu li
    {
        float: left;
        margin-right: 46px;
    }

        #menu li a
        {
            color: #fff;
        }

#content
{
    position: relative;
    float: left;
    width: 100%;
}

#contentbg
{
    top: 0px;
    left: 0px;
}
#contentbg2
{
    position: absolute;
    top: 0px;
    left: 0px;
}
#footer
{
    position: relative;
    float: left;
    width: 100%;
    height: 28px;
    line-height: 28px;
    color: #fff;
    background: #d82d1e;
    font-size: 8px;
}

    #footer .copyright
    {
        position: absolute;
        width: 373px;
        text-align: center;
        top: 0px;
    }

    #footer #logo2
    {
        position: absolute;
        right: 0px;
        top: 0px;
    }

/*INDEX*/
#banner
{
    position: absolute;
    top: 0px;
    left: 27px;
}

#content .p1
{
    position: absolute;
    top: 235px;
    left: 40px;
    width: 400px;
    line-height: 21px;
    color: #272727;
}
#container .ex
{
	line-height: 1em;
	color: #393939;
	font-size: 0.8em;
	padding-bottom: 10px;
	padding-top: 10px;
}

.sp{
	line-height: 1em;
	color: #393939;
	font-size: 0.8em;
	padding-bottom: 5px;
	padding-top: 5px;
}

#rule
{
    position: absolute;
    left: 20px;
    top: 303px;
    width: 440px;
    height: 269px;
    background: url(../images/rulebg.png) no-repeat;
}

    #rule h4
    {
        position: absolute;
        top: 28px;
        left: 32px;
        color: #ca2612;
    }

    #rule span
    {
        float: left;
        margin-top: 55px;
        margin-left: 32px;
        width: 370px;
        color: #28284e;
        line-height: 24px;
    }

        #rule span a
        {
            color: #fe5b06;
            display: inline-block;
            margin-left: 5px;
        }

#school
{
    position: absolute;
    top: 444px;
    left: 0px;
    width: 480px;
    height: 328px;
    background: url(../images/school.png) no-repeat;
}

    #school .btn1
    {
        position: absolute;
        top: -11px;
        left: 33px;
    }

    #school .btn2
    {
        position: absolute;
        top: 37px;
        left: 163px;
    }

    #school .btn3
    {
        position: absolute;
        top: -9px;
        left: 360px;
    }

/*Bar*/
#activity
{
    position: absolute;
    top: 180px;
    left: 35px;
    width: 420px;
}

    #activity h4
    {
        color: #3e8bc6;
    }

#labar
{
    position: absolute;
    top: 335px;
    left: 37px;
    width: 413px;
    height: 433px;
    background: url(../images/labar.png) no-repeat;
}

#bar
{
    position: absolute;
    width: 59px;
    height: 184px;
    cursor: pointer;
    top: 131px;
    right: 4px;
}

#screen
{
    position: absolute;
    top: 135px;
    left: 58px;
    width: 220px;
    height: 130px;
    overflow: hidden;
    z-index: 1;
}

    #screen .slot
    {
        float: left;
        width: 100%;
        line-height: 130px;
        font-size: 50px;
        color: #d82d1e;
        text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
    }

        #screen .slot li
        {
            float: left;
            width: 100%;
            height: 130px;
            text-align: center;
        }

/*POP*/
#pop
{
    width: 416px;
    height: 265px;
    background: url(../images/pop.png) no-repeat;
}


#pop2
{
    width: 416px;
    height: 265px;
    background: url(../images/iphone.png) no-repeat;
}


#pop3
{
    width: 416px;
    height: 265px;
    background: url(../images/iphone.png) no-repeat;
}



#great
{
    position: absolute;
    top: 43px;
    left: 104px;
}


#great2
{
    position: absolute;
    top: 43px;
    left: 0px;
}





#prize
{
    position: absolute;
    top: 87px;
    left: 114px;
}

    #prize .prizeLeft
    {
        float: left;
    }

    #prize .prizeRight
    {
        float: left;
        width: 140px;
        color: #323232;
        margin-left: 11px;
        margin-top: 10px;
    }

#order
{
    position: absolute;
    top: 162px;
    left: 145px;
}

/*personal*/
.cbtn1
{
    position: absolute;
    top: 135px;
    left: 131px;
}

.cbtn2
{
    position: absolute;
    top: 72px;
    left: 288px;
}

.cbtn3
{
    position: absolute;
    top: 18px;
    right: 7px;
}

#description
{
    position: absolute;
    top: 326px;
    left: 42px;
    width: 390px;
}

#personal
{
    position: absolute;
    top: 435px;
    left: 44px;
    width: 375px;
    overflow: hidden;
}

    #personal h5
    {
        font-weight: normal;
    }

#personalbg
{
    background: #fff3db;
    width: 375px;
    height: 199px;
    float: left;
    margin-top: 12px;
    padding-left: 16px;
}

    #personalbg .input
    {
        width: 346px;
        height: 33px;
        background: #fff;
        border: 2px solid #c8c5bf;
        font-size: 16px;
    }

#button
{
    float: left;
    margin-top: 15px;
}

    #button .btn1
    {
        float: left;
        margin-left: 52px;
    }

    #button .btn2
    {
        float: left;
        margin-left: 9px;
        width: 140px;
        height: 45px;
        background: url(../images/reset.jpg) no-repeat;
        border: 0px;
    }

#mark
{
    position: absolute;
    width: 400px;
    top: 740px;
    left: 40px;
    color: #af1102;
}

/*order*/
#personal2
{
    position: absolute;
    top: 289px;
    left: 44px;
    overflow: hidden;
}

    #personal2 h5
    {
        font-weight: normal;
    }

#button .btn3
{
    float: Left;
    margin-left: 131px;
}



.histry
{
	position:relative;
	  float: left;
       padding-top: 10px;
       padding-bottom: 10px;
       width: 400px;
	   margin-left: 40px;
}
.histry td
{        border-bottom: 1px dotted #c8c8c8;}



#exchangeList
{
	position:relative;
	float:left;
	z-index:10;
    margin-top: 20px;
    background:url(../images/ccc.png) repeat-y;
}

    #exchangeList li
    {
        float: left;
        padding-top: 10px;
        padding-bottom: 10px;
        width: 400px;
        border-bottom: 1px dotted #c8c8c8;
		margin-left: 40px;
    }

        #exchangeList li.no
        {
            border-bottom: 0px;
        }

        #exchangeList li .img
        {
            float: left;
            margin-left: 3px;
        }

        #exchangeList li h3
        {
            clear: both;
            float: left;
            width: 100%;
            margin-top: 2px;
            color: #d82d1e;
        }

        #exchangeList li .description
        {
            clear: both;
            float: left;
            width: 100%;
            margin-top: 2px;
        }

.jSlots-wrapper
{
    overflow: hidden; /* to hide the magic */
    display: inline-block; /* to size width correctly, can use float too, or width*/
}

ul
{
    padding: 0;
    margin: 0;
    list-style: none;
}

.slot
{
    float: left;
}

/*#Screen .slot li
{
    vertical-align: middle;
    width: 209px;
    height: 133px;
    text-align: center;
    font-size: 50px;
    font-weight: bold;
    color: #d82d1e;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
    font-family: 'Gravitas One', serif;
}

#Screen .slot:first-child li
{
    border-left: none;
}

#Screen .slot li span
{
    display: block;
}*/

/* ---------------------------------------------------------------------
   ANIMATIONS
--------------------------------------------------------------------- */

@-webkit-keyframes winner
{
    0%, 50%, 100%
    {
        -webkit-transform: rotate(0deg);
        font-size: 70px;
        color: #fff;
    }

    25%
    {
        -webkit-transform: rotate(20deg);
        font-size: 90px;
        color: #FF16D8;
    }

    75%
    {
        -webkit-transform: rotate(-20deg);
        font-size: 90px;
        color: #FF16D8;
    }
}

@-moz-keyframes winner
{
    0%, 50%, 100%
    {
        -moz-transform: rotate(0deg);
        font-size: 70px;
        color: #fff;
    }

    25%
    {
        -moz-transform: rotate(20deg);
        font-size: 90px;
        color: #FF16D8;
    }

    75%
    {
        -moz-transform: rotate(-20deg);
        font-size: 90px;
        color: #FF16D8;
    }
}

@-ms-keyframes winner
{
    0%, 50%, 100%
    {
        -ms-transform: rotate(0deg);
        font-size: 70px;
        color: #fff;
    }

    25%
    {
        -ms-transform: rotate(20deg);
        font-size: 90px;
        color: #FF16D8;
    }

    75%
    {
        -ms-transform: rotate(-20deg);
        font-size: 90px;
        color: #FF16D8;
    }
}


@-webkit-keyframes winnerBox
{
    0%, 50%, 100%
    {
        box-shadow: inset 0 0 0px yellow;
        background-color: #FF0000;
    }

    25%, 75%
    {
        box-shadow: inset 0 0 30px yellow;
        background-color: aqua;
    }
}

@-moz-keyframes winnerBox
{
    0%, 50%, 100%
    {
        box-shadow: inset 0 0 0px yellow;
        background-color: #FF0000;
    }

    25%, 75%
    {
        box-shadow: inset 0 0 30px yellow;
        background-color: aqua;
    }
}

@-ms-keyframes winnerBox
{
    0%, 50%, 100%
    {
        box-shadow: inset 0 0 0px yellow;
        background-color: #FF0000;
    }

    25%, 75%
    {
        box-shadow: inset 0 0 30px yellow;
        background-color: aqua;
    }
}



.winner li
{
    -webkit-animation: winnerBox 2s infinite linear;
    -moz-animation: winnerBox 2s infinite linear;
    -ms-animation: winnerBox 2s infinite linear;
}

    .winner li span
    {
        -webkit-animation: winner 2s infinite linear;
        -moz-animation: winner 2s infinite linear;
        -ms-animation: winner 2s infinite linear;
    }
	
	

#ninepop{position:absolute;left:27px;top:50px;z-index:999;width:425px;}
#ninepop #ninetop{float:left;width:100%;}
#ninepop #ninecontent{float:left;width:100%;min-height:290px;background:url(../images/ninecontent.png) repeat;}
.question{float:left;width:360px;margin-top:20px;padding-bottom:5px;margin-left:30px;border-bottom:2px dotted #cecece;font-size:22px;line-height:26px;color:#323232;}
.selectans{position:absolute;width:125px;height:162px;top:99px;left:30px;}
.selectans .yes{position:absolute;top:0px;left:0px;width:74px;height:74px;background:url(../images/yes.png) no-repeat;}
.selectans .yes:hover{background:url(../images/yes_hover.png) no-repeat;}
.selectans .yes img{position:absolute;top:16px;left:74px;}
.selectans .no{position:absolute;bottom:0px;left:0px;width:74px;height:74px;background:url(../images/no2.png) no-repeat;}
.selectans .no:hover{background:url(../images/no2_hover.png) no-repeat;}
.selectans .no img{position:absolute;top:16px;left:74px;}
.answer{float:left;margin-top:24px;margin-left:173px;width:210px;padding-bottom:14px;}
.answer p{font-size:25px;color:#bc1010;margin-left:6px;font-weight:bold;}
.answer div{font-size:20px;color:#949494;float:left;margin-top:6px;line-height:22px;font-weight:bold;clear:both;}
.answer span{float:left;margin-top:15px;margin-left:5px;cursor:pointer;}
.next{float:left;}
#ninepop #ninebottom{float:left;width:100%;}
