﻿#cover {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: url(../images/login_black70Bg.png);
    z-index: 10;
    display: none;
}

    #cover #alert {
        position: relative;
        margin: 100px auto 0;
        width: 90%;
        max-width: 460px;
        min-height: 200px;
        background-color: #EEE;
        border: 1px #666 solid;
        text-align: center;
        padding: 50px 0;
        font-size: 14px;
        box-sizing: border-box;
    }

        #cover #alert a {
            display: inline-block;
            padding: 5px 15px;
            background-color: #555;
            color: #EEE;
            font-size: 12px;
        }

            #cover #alert a.btn_close {
                position: absolute;
                top: 10px;
                right: 10px;
                padding: 0;
                background: none;
                color: #333;
                font-size: 16px;
                z-index: 1;
            }

section {
    position: relative;
    width: 1000px;
    min-height: 600px;
    margin: auto;
    box-sizing: border-box;
    font-size: 14px;
    font-family: Arial, Helvetica, "微軟正黑體", "Microsoft JhengHei", sans-serif;
    overflow: hidden;
    background: url(../images/bg_coupon.jpg) center top fixed;
    background-size: 1000px auto;
}

img {
    max-width: 100%;
    border: none;
}

#pageTitle {
    text-align: center;
    font-size: 30px;
    color: #FFF;
    display: none;
}

#content {
    float: right;
    width: 420px;
    padding-top: 10px;
    box-sizing: border-box;
    /*overflow: hidden;*/
    margin-right: 20px;
    color:#fff;
}

    #content .item {
        position: relative;
        width: 100%;
        box-sizing: border-box;
        /*overflow: hidden;*/
        /*cursor: pointer;*/
        margin-bottom: 10px;
        background-color: #000;
    }

        #content .item img {
            display: block;
        }

        #content .item.apply {
            cursor: pointer;
        }

            #content .item.apply:after {
                content: url('../images/coupon_tag1.png');
                position: absolute;
                width: 200px;
                height: 50px;
                top: 5px;
                left: -21px;
                z-index: 1;
            }

        #content .item.needID {
            cursor: pointer;
        }

            #content .item.needID:after {
                content: url('../images/coupon_tag1.png');
                position: absolute;
                width: 200px;
                height: 50px;
                top: 5px;
                left: -21px;
                z-index: 1;
            }


        #content .item.needLogin {
            cursor: pointer;
        }

            #content .item.needLogin:after {
                content: url('../images/coupon_tag1.png');
                position: absolute;
                width: 200px;
                height: 50px;
                top: 5px;
                left: -21px;
                z-index: 1;
            }

        #content .item.applied:after {
            content: url('../images/coupon_tag3.png');
            position: absolute;
            width: 200px;
            height: 50px;
            top: 5px;
            left: -21px;
            z-index: 1;
        }

        #content .item.applied img {
            opacity: .4;
        }

        #content .item.show_coupon {
            border: 3px #BF6A49 solid;
        }

            #content .item.show_coupon:after {
                content: url('../images/coupon_tag2.png');
                position: absolute;
                width: 200px;
                height: 50px;
                top: 5px;
                left: -24px;
                z-index: 1;
            }

            #content .item.show_coupon .img_tool {
                cursor: pointer;
                background: #BF6A49;
                text-align: right;
            }

                #content .item.show_coupon .img_tool img {
                    display: inline-block;
                    margin: 2px 5px 0 0;
                    width: 30px;
                }

                #content .item.show_coupon .img_tool .btn_download {
                    display: none;
                }





        #content .item .applyText {
            box-sizing: border-box;
            color: #FFF;
            background-color: #D36833;
            font-size: 16px;
        }

            #content .item .applyText .coupon_title {
                padding: 10px;
            }

        #content .item .step1 {
            /*padding:10px;*/
            box-sizing: border-box;
            color: #FFF;
            background-color: #767f83;
        }

            #content .item .step1 .inner {
                padding: 10px;
            }

            #content .item .step1 h2 {
                margin: 0 0 10px 0;
                padding-bottom: 10px;
                border-bottom: 1px #999 dashed;
                font-size: 20px;
            }

            #content .item .step1 span {
                display: inline-block;
                width: 23%;
                padding-bottom: 10%;
                vertical-align: middle;
                cursor: pointer;
                background: center top no-repeat;
                background-size: 100% auto;
            }

                #content .item .step1 span:hover {
                    background: center bottom no-repeat;
                    background-size: 100% auto;
                }

                #content .item .step1 span.current {
                    background: center bottom no-repeat;
                    background-size: 100% auto;
                }

        #content .item .step2 {
            padding: 10px;
            box-sizing: border-box;
            color: #FFF;
            background-color: #606568;
        }

            #content .item .step2 h2 {
                margin: 0 0 10px 0;
                padding-bottom: 10px;
                border-bottom: 1px #999 dashed;
                font-size: 20px;
            }

            #content .item .step2 .areaTitle {
                font-size: 16px;
                color: #D36833;
            }

            #content .item .step2 .selectedCorner {
                font-size: 14px;
                line-height: 28px;
                box-sizing: border-box;
                cursor: pointer;
            }

                #content .item .step2 .selectedCorner.current {
                    color: #555;
                    background: url(../images/icon_check.png) #CCC center right no-repeat;
                    padding-left: 5px;
                }

        #content .item .step3 {
            padding: 10px;
            box-sizing: border-box;
            color: #FFF;
            background-color: #999;
            text-align: center;
        }

            #content .item .step3 .submit {
                display: inline-block;
                width: 140px;
                padding: 10px;
                margin: 10px auto;
                border: none;
                font-size: 18px;
                color: #FFF;
                background-color: #605d5c;
            }

/*mobile style*/
@media screen and (max-width: 1000px) {
    section.mobile {
        width: 100%;
        background: none;
        /*//  background-color: black;*/
    }

        section.mobile::before {
           background-color: black;
           background-size: 1000px auto;
            content: "";
          
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            position: absolute;
            /*background-color: black;*/
            z-index: -2;
        }

        section.mobile::after {
            background: url(../images/bg_coupon.jpg) center top fixed;
            background-size: 1000px auto;
            content: "";
            opacity: 0.5;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
            position: absolute;
            /*background-color: black;*/
            z-index: -1;
        }

    /*section.mobile #test {
    
       
    }*/
}

@media screen and (max-width: 600px) {
    section.mobile #pageTitle {
        display: block;
    }

    section.mobile #content .item.show_coupon .img_tool .btn_download {
        display: inline-block;
    }

    section.mobile #content .item.show_coupon .img_tool .btn_print {
        display: none;
    }
}

@media screen and (max-width: 460px) {
    section.mobile #content {
        float: none;
        width: 100%;
        padding: 10px;
    }
}
