.bg {
    background-color: #f6f6f6;
}

/***************************
        我的优惠券样式
***************************/
.my_coupon {
    width: 96%;
    margin: 15px auto;
    overflow: hidden;
}

.my_coupon li {
    width: 100%;
    overflow: hidden;
    margin: 0 auto 10px;
    position: relative;
}

/*单券*/
.coupon-con {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.coupon-con-left, .coupon-bag-left {
    width: calc(72% - 10px);
    height: 120px;
    overflow: hidden;
    background: url("../images/couponBg4.png") no-repeat top right;
    background-size: 100% 100%;
    color: #634b29;
}

.coupon-bag-left { /*券包*/
    background: url("../images/couponBg8.png") no-repeat top right;
    background-size: 100% 100%;
    position: relative;
}

.coupon-alone-tit, .coupon-bag-tit {
    width: 32px;
    height: 120px;
    overflow: hidden;
    padding: 30px 8px 0;
    background-color: #ead5ac;
    font-size: 16px;
    text-align: center;
}

.coupon-bag-tit {
    padding: 20px 8px 0;
    background-color: #e29fac;
}

.coupon-rule {
    width: calc(100% - 32px);
    overflow: hidden;
    padding: 10px 10px 0 10px;
}

.coupon-rule-text {
    width: 100%;
    height: 70px;
    font-size: 14px;
    color: #634b29;
    line-height: 20px;
}

.coupon-term {
    font-size: 12px;
    color: #b88c4e;
}

.coupon-con-bg, .coupon-bag-bg {
    width: 10px;
    height: 120px;
    overflow: hidden;
    background: url("../images/couponBg5.png") no-repeat;
    background-size: 100% 100%;
}

.coupon-bag-bg { /*券包*/
    background: url("../images/couponBg9.png") no-repeat;
    background-size: 100% 100%;
}

.coupon-con-bg.bg2 {
    background: url("../images/couponBg6.png") no-repeat;
    background-size: 100% 100%;
}

.coupon-con-right, .coupon-bag-right {
    width: 28%;
    height: 120px;
    overflow: hidden;
    font-size: 14px;
    background: url("../images/couponBg7.png") no-repeat;
    background-size: 100% 100%;
    color: #e30b15;
    position: relative;
}

.coupon-bag-right { /*券包*/
    background: url("../images/couponBg10.png") no-repeat;
    background-size: 100% 100%;
}

.coupon-con-right b, .coupon-con-right s, .coupon-bag-right b, .coupon-bag-right s {
    width: 100%;
    display: block;
    font-size: 12px;
    text-align: center;
}

.coupon-con-right b u, .coupon-bag-right b u {
    font-size: 18px;
}

.coupon-con-right s, .coupon-bag-right s {
    color: #634b29;
    -webkit-transform: scale(0.83); /* 12*0.75=9 */
}

.btn-return {
    width: 90%;
    height: 50px;
    overflow: hidden;
    position: fixed;
    z-index: 1002;
    bottom: 10px;
    left: 5%;
    display: block;
    padding: 10px 0;
    line-height: 30px;
    background-color: #ff9900;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 14px;
}

/*优惠券为空*/
.coupon-tip-box {
    width: 100%;
    overflow: hidden;
    margin-top: 20%;
}

.coupon-tip-box img {
    width: 100%;
}

.coupon-tip-font {
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    color: #2b2b2b;
    padding: 20px 0;
    text-align: center;
}

/***************************
        私域券样式
***************************/
.coupon-tit {
    width: 100%;
    overflow: hidden;
}

.coupon-tit img {
    width: 100%;
    display: block;
}

.coupon-list {
    width: 100%;
    overflow: hidden;
    margin: -20px auto 0;
    border-radius: 20px 20px 0 0;
}

.coupon-ul {
    width: 100%;
    margin: -30px 0 0;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 25px 1% 15px;
    border-radius: 30px 30px 0 0;
    position: relative;
}

.coupon-ul.height {
    height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}

.coupon-ul.bg {
    background-color: #f3f3f3;
}

.coupon-ul li {
    width: 100%;
    overflow: hidden;
    margin: 0 auto 10px;
    position: relative;
}

/*单券*/
.coupon-con {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.coupon-con-left, .coupon-bag-left {
    width: calc(72% - 10px);
    height: 120px;
    overflow: hidden;
    background: url("../images/couponBg4.png") no-repeat top right;
    background-size: 100% 100%;
    color: #634b29;
}

.coupon-bag-left { /*券包*/
    background: url("../images/couponBg8.png") no-repeat top right;
    background-size: 100% 100%;
    position: relative;
}

.coupon-alone-tit, .coupon-bag-tit {
    width: 32px;
    height: 120px;
    overflow: hidden;
    padding: 30px 8px 0;
    background-color: #ead5ac;
    font-size: 16px;
    text-align: center;
}

.coupon-bag-tit {
    padding: 20px 8px 0;
    background-color: #e29fac;
}

.coupon-rule {
    width: calc(100% - 32px);
    overflow: hidden;
    padding: 10px 10px 0 10px;
}

.coupon-rule-text {
    width: 100%;
    height: 70px;
    font-size: 14px;
    color: #634b29;
    line-height: 20px;
}

.coupon-term {
    font-size: 12px;
    color: #b88c4e;
}

.coupon-con-bg, .coupon-bag-bg {
    width: 10px;
    height: 120px;
    overflow: hidden;
    background: url("../images/couponBg5.png") no-repeat;
    background-size: 100% 100%;
}

.coupon-bag-bg { /*券包*/
    background: url("../images/couponBg9.png") no-repeat;
    background-size: 100% 100%;
}

.coupon-con-bg.bg2 {
    background: url("../images/couponBg6.png") no-repeat;
    background-size: 100% 100%;
}

.coupon-con-right, .coupon-bag-right {
    width: 28%;
    height: 120px;
    overflow: hidden;
    font-size: 14px;
    background: url("../images/couponBg7.png") no-repeat;
    background-size: 100% 100%;
    color: #e30b15;
    position: relative;
}

.coupon-bag-right { /*券包*/
    background: url("../images/couponBg10.png") no-repeat;
    background-size: 100% 100%;
}

.coupon-con-right b, .coupon-con-right s, .coupon-bag-right b, .coupon-bag-right s {
    width: 100%;
    display: block;
    font-size: 12px;
    text-align: center;
}

.coupon-con-right b u, .coupon-bag-right b u {
    font-size: 16px;
}

.coupon-con-right s, .coupon-bag-right s {
    color: #634b29;
    -webkit-transform: scale(0.83); /* 12*0.75=9 */
}

.coupon-flag {
    max-width: 60%;
    overflow: hidden;
    padding: 0 10px;
    background-color: #e30b15;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    line-height: 20px;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
    border-radius: 20px;
}

.counted-invalid {
    width: 100px;
    height: 100px;
    overflow: hidden;
    position: absolute;
    z-index: 2;
    top: 10px;
    left: calc(50% - 50px);
}

.counted-invalid img {
    width: 100%;
    display: block;
}

.btn-return2 {
    width: 90%;
    margin: 10px auto;
    display: block;
    padding: 10px 0;
    line-height: 30px;
    background-color: #cda97c;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 14px;
}

/*客户回馈券*/
.coupon-con-left2 {
    width: 72%;
    height: 120px;
    overflow: hidden;
    padding: 5px;
    border-radius: 10px;
}

.coupon-term2 {
    width: 100%;
    overflow: hidden;
    margin: 80px 0 0;
    font-size: 12px;
    color: #ffffff;
    text-shadow: 0 0 3px rgba(0, 0, 0, 1);
}

.coupon-con-right2 {
    width: 28%;
    height: 120px;
    overflow: hidden;
    font-size: 14px;
    background-size: 100% 100%;
    color: #e30b15;
    border-radius: 10px;
    text-align: center;
    background-color: #ffffff;
}

.coupon-con-right2 b, .coupon-con-right2 s {
    width: 100%;
    display: block;
    font-size: 12px;
    text-align: center;
}

.coupon-con-right2 b u, .coupon-bag-right2 b u {
    font-size: 18px;
}

.coupon-con-right2 s {
    color: #634b29;
    -webkit-transform: scale(0.83); /* 12*0.75=9 */
}

.coupon-con-bg2 {
    width: 2px;
    height: 120px;
    overflow: hidden;
    background: url("../images/coupon-line.png") no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 0;
    right: calc(28% - 1px);
    z-index: 1;
}

.coupon-flag2 {
    width: 60px;
    height: 60px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.coupon-flag2 img {
    width: 100%;
    display: block;
}

/*失效样式*/
.invalid {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    filter: grayscale(100%);
}

.coupon-tip-font {
    width: 100%;
    font-size: 20px;
    padding: 20px 0;
    text-align: center;
}

.couponDownload {
    width: 100%;
    position: relative;
}

.couponDownload-bg {
    width: 100%;
    overflow: hidden;
}

.couponDownload-bg img {
    width: 100%;
    display: block;
}

.couponDownload-text {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    padding: 10px;
}

.couponDownload-tip {
    width: calc(100% - 90px);
    color: #5a191b;
    line-height: 30px;
    font-size: 16px;
    text-align: right;
    margin-right: 10px;
}

.couponCode {
    width: 80px;
    overflow: hidden;
    text-align: center;
}

.couponCode img, .couponCode canvas {
    width: 80px;
    height: 80px;
    border: 5px solid #ffffff;
    margin: 0 auto;
    display: block;
}

.couponCode p {
    line-height: 24px;
    font-size: 12px;
}

#couponImg img {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.couponBag {
    width: 100%;
    overflow: hidden;
    position: absolute;
    z-index: 1;
    top: 25%;
    left: 0;
}

.couponBag-con, .couponBag-tip {
    width: 90%;
    overflow: hidden;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 15px 5px 0;
}

.couponBag-tip {
    padding: 20px;
    margin: 0 auto 50px;
}

.couponBag-tip p {
    width: 100%;
    font-size: 12px;
    color: #202224;
    line-height: 20px;
}

/***************************
        领券中心样式
***************************/
.nav-state {
    width: 100%;
    padding: 10px 0;
    background-color: #ffffff;
}

.nav-state ul {
    width: 100%;
}

.nav-state ul li {
    padding: 3px 15px;
    line-height: 24px;
    font-size: 14px;
    border-bottom: 2px solid #ffffff;
}

.nav-state ul li.current {
    border-bottom: 2px solid #ff9900;
}

.coupon_center {
    width: 94%;
    margin: 10px auto;
    overflow: hidden;
}

.coupon_center li {
    width: 100%;
    overflow: hidden;
    margin: 0 auto 10px;
    position: relative;
}

.coupon_center_con {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.coupon_center_left {
    width: calc(75% - 16px);
    height: 106px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 10px 0 10px 10px;
}

.coupon_center_rule {
    width: 100%;
    height: 62px;
    overflow: hidden;
    font-size: 14px;
    line-height: 20px;
    color: #2b2b2b;
    display: -webkit-box;
    display: -moz-box;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.coupon_center_rule span {
    font-size: 12px;
    background-color: #ff9900;
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 10px;
    vertical-align: middle;
    margin: -1px 5px 2px 0;
}

.coupon_center_term {
    font-size: 12px;
    line-height: 24px;
}

.coupon_center_bg {
    width: 16px;
    height: 106px;
    overflow: hidden;
    background: url("../images/couponBg.png") center right no-repeat;
    background-size: 100% 100%;
}

.coupon_center_right {
    width: 25%;
    height: 106px;
    overflow: hidden;
    background-color: #ff9900;
    color: #ffffff;
}

.coupon_center_right span {
    width: 100%;
    display: block;
    padding: 10px 8px 5px 0;
    font-size: 20px;
    text-align: center;
}

.coupon_center_right b {
    width: 100%;
    display: block;
    font-size: 12px;
    text-align: center;
    font-weight: normal;
}

.btn-coupon {
    width: 70px;
    overflow: hidden;
    display: block;
    margin: 10px auto 0;
    padding: 5px 0;
    color: #5a191b;
    line-height: 15px;
    text-align: center;
    font-size: 12px;
    outline: none;
    border: none;
    border-radius: 20px;
    background-color: #ffffff;
}

.isReceive {
    width: 25%;
    height: 106px;
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    display: none;
}

.isReceive img {
    width: 100%;
    height: 106px;
}

.coupon-con.isReceive2 .coupon-con-bg {
    background: url("../images/couponBg2.png") center right no-repeat;
    background-size: 100% 100%;
}

.coupon-con.isReceive2 .coupon-con-right {
    background-color: #ffffff;
    color: #5a191b;
}

.coupon-con.isReceive2 .btn-coupon {
    color: #ffffff;
    background-color: #ff9900;
}

/***************************
        首页领券弹出样式
***************************/
.btn_go_coupon {
    width: 90%;
    margin: 10px auto;
    display: block;
    padding: 10px 0;
    line-height: 30px;
    background-color: #ff9900;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 16px;
}