
@font-face {
    font-family: 'YouSheBiaoTiHei';
    src: url('/assets/fonts/YouSheBiaoTiHei.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html,
body {
    height: 100%;
    width: 100%;
    max-width: 500px;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "PingFang SC","YouSheBiaoTiHei","Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons",  BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
    /*background: red;*/
    padding: 1rem;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    /*overflow-y: hidden;*/
    background: #FFFFFF;
    color: #474157;
    height: 100%;
    /*height: calc(100vh - 61px);*/
}

#mainbody > .container > .text-center {
    text-align: center;
    padding: 350px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {

    #mainbody > .container > .text-center {


        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody > .container > .text-center > h1 {
        font-size: 50px;
        margin-bottom: 20px;
    }
}
.coupon-list{
    padding-bottom: 1.5rem;
}

.coupon-list .item{
    margin-bottom: 1rem;
    height: 13rem;
    border-radius: 10px;
}
.bg-img{
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 13rem;
    opacity: .8;
    z-index: 9;
    border-radius: 10px;
    
    /*background-size: cover;*/
    /*position: relative;*/
    /*width: 8rem;*/
    /*height: 8rem;*/
    /*border-radius: 10px;*/
    /*right: 1rem;*/
    /*top: 2rem;*/
    /*float: right;*/
}
.coupon-show{
    position: absolute;
    width: 100%;
    height: 13rem;
    z-index: 99;
}

.coupon-list .item .title{
    padding: 1rem 0 0 1rem;
    font-size: 1.6rem;
    /*width:60%;*/
}

.coupon-list .item .desc{
    padding: 0.3rem 1rem 0.3rem 1rem;
    font-size: 1rem;
    height: 4rem;
    width:60%;
    font-family: "PingFang SC";
}

.coupon-list .item .dead_time{
    padding: 0.1rem 1rem 0.1rem 1rem;
    font-size: 0.9rem;
    color:#A3A2A2;
    font-family: "PingFang SC";
}

button.click-btn {
    border: none;
    border-radius: 10px;
    margin: 1rem;
    font-size: 1.1rem;
    padding: 0.6rem 1rem;
    line-height: 1.1rem;
    background: linear-gradient(to right, #f87764, #fe9b4a);
    color: #FFFFFF;
    font-weight: bold;
    font-family: "PingFang SC";
}
button.click-btn.notclick{
    background: #E2E2E2;
}

#notclick{
    display: none;
}
.bg-not{
    position: fixed;
    top:0;
    left: 0;
    width:100%;
    height: 100%;
    opacity: .5;
    z-index: 998;
    background: #373030;
}
.content-not {
    position: fixed;
    width: 66%;
    left: 17%;
    z-index: 999;
    background: white;
    padding: 5% 5% 2% 5%;
    border-radius: 10px;
    top: 33%;
    text-align: center;
    font-family: "PingFang SC";
}

.content-not .top{
    font-weight: bold;
    font-size: 1.1rem;
}
.content-not .content{
    font-size: 1rem;
    margin: 1rem 0 2rem 0;
}
.close-btn{
    border: none;
    border-radius: 10px;
    margin: 1rem;
    font-size: 1.1rem;
    width:86%;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    background: linear-gradient(to right, #f87764, #fe9b4a);
    color: white;
    font-weight: bold;
}
.item.bg1{
    background-color: #FEF9EF;
}
.item.bg2{
    background-color: #FADBD3;
}
