﻿@charset "utf-8";

* {
    padding: 0;
    margin: 0;
}
/*去掉所有标签之间的默认间隙*/
html, body {
    width: 100%;
    margin: 0 auto;
    /*设置所有body中所有div居中显示*/
    font-family: "微软雅黑", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #FFFFFF;
    font-size: 14px;
}

input {
    outline: none !important;
    /*去除蓝色边框*/
}

ul {
    list-style: none;
}
/*去掉无序列表的项目符号*/
ol {
    list-style: none;
}
/*去掉无序列表的项目符号*/
a {
    text-decoration: none;
}
/*去掉超级链接的下划线*/
img {
    border: none;
}
/*去掉图片加载完链接之后的边框*/
a {
    color: black
}

    a:link {
        text-decoration: none !important;
    }

    a:visited {
        text-decoration: none !important;
    }

    a:hover {
        text-decoration: none !important;
    }

    a:active {
        text-decoration: none !important;
    }

#mb {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 300;
    background: rgba(0,0,0,0.4);
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.discount {
    width: 360px;
    height: 503px;
    position: absolute;
    z-index: 500;
    top: 50%;
    left: 50%;
    margin-top: -310px;
    margin-left: -180px;
}

    .discount .discount-bg {
        background: url("../images/discount.png") no-repeat center center;
        height: 503px;
        position: relative;
    }

        .discount .discount-bg .close {
            display: block;
            width: 30px;
            height: 30px;
            position: absolute;
            right: 0px;
            top: 61px;
            cursor: pointer;
        }

        .discount .discount-bg .text {
            width: 322px;
            text-align: center;
            color: #fff;
        }

        .discount .discount-bg .title {
            position: absolute;
            top: 117px;
            font-size: 16px;
            letter-spacing: 2px;
        }

        .discount .discount-bg .tips {
            position: absolute;
            top: 145px;
            font-size: 14px;
            letter-spacing: 1px;
        }

        .discount .discount-bg .coupon {
            width: 322px;
            position: absolute;
            top: 193px;
        }

            .discount .discount-bg .coupon ul {
            }

                .discount .discount-bg .coupon ul li {
                    width: 283px;
                    height: 65px;
                    background: url("../images/coupon.png") no-repeat;
                    margin: auto;
                    margin-bottom: 10px;
                    font-size: 12px;
                    position: relative;
                    background-size: 100% 100%;
                }

                    .discount .discount-bg .coupon ul li p {
                        position: absolute;
                        color: #ff8231;
                    }

                        .discount .discount-bg .coupon ul li p.p1 {
                            width: 86px;
                            text-align: center;
                            top: 8px;
                            font-size: 14px;
                        }

                            .discount .discount-bg .coupon ul li p.p1 span {
                                font-size: 22px;
                                font-weight: bold;
                                padding: 0px 2px;
                            }

                        .discount .discount-bg .coupon ul li p.p2 {
                            width: 86px;
                            text-align: center;
                            bottom: 10px;
                            font-size: 12px;
                        }

                    .discount .discount-bg .coupon ul li:before {
                        content: '';
                        width: 1px;
                        height: 36px;
                        background: rgba(255,130, 49, 0.6);
                        position: absolute;
                        left: 79px;
                        top: 16px;
                    }

                    .discount .discount-bg .coupon ul li p.p3 {
                        font-size: 13px;
                        left: 92px;
                        font-size: 14px;
                        font-weight: bold;
                        top: 14px;
                    }

                    .discount .discount-bg .coupon ul li p.p4 {
                        /* display: none; */
                        position: absolute;
                        left: 92px;
                        bottom: 13px;
                        font-size: 12px;
                    }

        .discount .discount-bg a.use-btn {
            background-color: #fc8734;
            background-image: linear-gradient(#f9cb46, #f55346);
            color: #fff;
            position: absolute;
            bottom: 28px;
            left: 19px;
            line-height: 50px;
            width: 280px;
            border-radius: 51px;
            text-align: center;
            font-size: 16px;
            letter-spacing: 4px;
            -webkit-animation-name: 'ripple';
            -webkit-animation-duration: 0.75s;
            -webkit-animation-timing-function: ease;
            -webkit-animation-delay: 0s;
            -webkit-animation-iteration-count: infinite;
            -webkit-animation-direction: alternate;
            box-shadow: 0px 10px 15px #c72727;
        }

@keyframes ripple {
    0% {
        transform: scale(.9);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(.9);
    }
}
