body {font-family: '微软雅黑';}
body {
    background: #fd8050;
    /* background-attachment: fixed; */
    color:#683a2b;
    font-size: 16px;
    padding-bottom: 60px;

}

.disabled {
    filter: grayscale(100%)
}
a {
    color:#905d00;
}
.clear:after {
    content: '';
    display: block;
    clear: both; 
}
.header img {
    width: 100%;
}
.main {
    
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: #fd8050 url(../images/max_bg.jpg) top center no-repeat ;
}
.main-inner {
    width: 1438px;
    margin: 0 auto;
}

.time-info {text-align: center;}

.user-info {text-align: center;max-width:658px;min-height: 43px;line-height: 43px;background: #c24902;border-radius: 20px;margin:0 auto;color:#fff;margin-top: 65px;}

.user-info  a {
    color:#fff;
}
.action-box{
    text-align: center;
    padding-top:10px;
}
.action-item {
    width:386px;
    height:548px;
    display: inline-block;
    margin:0 20px;
    overflow: hidden;
    font-size: 14px;
    color:#ce4a00;
    
}
.point-info {
    text-align: center;
    padding-top:110px;
    color:#ffe4bd;
}
.point-info .val {
    color:#ffe706;
    font-weight: bold;
}
.point-info .btn-log {
    margin-top:20px;
    display: inline-block;
    padding: 3px 10px;
    background-color: #f9efaa;
    border-radius: 10px;
    color:#e37748;

}
.action-item a {
    color:#ce4a00;
}
.action-item .btn {
    margin-top: 390px;
}
.action-item .menu {
    width:65%;margin:0 auto;
}
.action-item .menu-rule {
    float:left;
}
.action-item .menu-log {
    float:right;
}

.action-item-1 {
    background: url(../images/hd1.png) no-repeat;
}
.action-item-2 {
    background: url(../images/hd2.png) no-repeat;
}
.action-item-3 {
    background: url(../images/hd3.png) no-repeat;
}


.archive-info .left {
    float: left;
    width:408px;
    height:121px;
    background: url(../images/num-bg.png) no-repeat;
    padding: 8px 0 0 16px;
    line-height: 1.7em;
}

.archive-info .right {
    float:right;
}
.archive-info .right>span {
    display: block;
    margin-bottom:16px;
    cursor: pointer;
}
.prize-list {
   
    width:1348px;
    margin:0 auto;
    margin-top:30px;
}
.prize-list-inner {
    padding:16px 6px;
    width:110%;
    min-height: 980px;
}
.prize-list-item {
    width: 160px;
    height:303px;
    background: url(../images/prize-bg.png) no-repeat;
    overflow: hidden;
    float:left;
    margin-right:53px;
    margin-bottom:50px;
    font-size: 14px;
}
.prize-list-item>span {
    display: block;
    text-align: center;
}
.prize-list-item-num {
    margin-top:16px;
}

.prize-list-item-icon {
    width:50px;
    height:50px;
    background: url(../images/prize-icon-bg.png);
    background-size: 100%;
    margin: 8px auto 0 auto;
    display: flex!important;
    justify-content: center;
    align-items: center;
}
.prize-list-item-icon img {
    width:100%;
    max-height: 100%;
}
.prize-list-item-name {
    margin-bottom:2px;
    height:53px;
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
}
.prize-list-item-price {
     margin-bottom:3px;
}
.prize-list-item-btn {
    cursor: pointer;
}

#buy-confirm-dialog .info>div {
    margin-bottom:8px;
}

#buy-confirm-dialog .mod-dialog-main .mod-dialog-content {
    max-height: none;
    overflow: hidden;
}


#buy-confirm-dialog .mod-dialog-main {
    width:auto;
    height: auto;
    background: #fff;
    overflow: hidden;
    background-size: 100% 100%;
    color:#c36e38;
}
#buy-confirm-dialog .mod-dialog-main  .mod-dialog-content {
    margin: 40px 50px;
}
#buy-confirm-dialog .mod-dialog-main  .mod-dialog-content .tit {
    text-align: center;
    margin-bottom:16px;

}

#buy-confirm-dialog .mod-dialog-main  .prize-num .val {
    width:100px;
    border:1px solid #c36e38;
}

.buy-confirm-dialog-template .info {
    padding-left:22px;
}

.buy-confirm-dialog-template .img-zhekou {
    width:606px;
    height:52px;
    margin: 24px auto 24px auto;
    text-align: right;
    line-height: 52px;;
}

.buy-confirm-dialog-template .prize-num input {
    width:100px;
     outline: none;
    border: none;
}

.buy-confirm-dialog-template  .img-zhekou .val {
    margin-right:32px;
    color:#f7eac0;
    font-size:24px;
}

.buy-confirm-dialog-template   .btn-buy-confirm{
    width:197px;
  
    margin: 8px auto 0 auto;
    cursor: pointer;
}
.buy-confirm-dialog-template .total {
    text-align: center;
    font-size:28px;
}



#buy-zhekou-dialog .mod-dialog-main {
    width:716px;
    min-height:397px;
    background: url(../images/zhekou-info-bg.png?v=1) no-repeat;
    overflow: hidden;
    background-size: 100% 100%;
    color:#c36e38;
}




.buy-zhekou-dialog-template .zhekou-p {
    padding-top:120px;
    width:240px;
    text-align: center;
    font-size: 80px;
    margin-left: 100px;
    color:#a6381f;
    font-weight: bold;
    
}

.buy-zhekou-dialog-template .zhekou-num {
    width:290px;
    height:50px;
    line-height: 50px;
    color:#f7eac0;
    font-size:24px;
    margin: 18px 0 0 62px;
    text-align: right;
    padding-right:32px;
}

.buy-zhekou-dialog-template    .btn-confirm{
   
    margin: 24px 0 0 100px;
    cursor: pointer;
    float:left;
    margin-left: 14%;
    width: 29%;
    height: auto;
}
.buy-zhekou-dialog-template    .btn-confirm img {
    width: 100%;
}
.buy-zhekou-dialog-template    .btn-share{
    float:left;
    cursor: pointer;
    margin-top:25px;
    margin-left:10px;
}


#buy-md-dialog .mod-dialog-main {
    width:716px;
    min-height:397px;
    background: url(../images/img-md.png) no-repeat;
    overflow: hidden;
    background-size: 100% 100%;
    color:#c36e38;
}

.buy-md-dialog-template .zhekou-edu {
    width:290px;
    height:50px;
    line-height: 50px;
    color:#f7eac0;
    font-size:24px;
    margin: 210px 0 0 62px;
    text-align: right;
    padding-right:32px;
}

.buy-md-dialog-template .zhekou-num {
    width:290px;
    height:50px;
    line-height: 50px;
    color:#f7eac0;
    font-size:24px;
    margin: 2px 0 0 62px;
    text-align: right;
    padding-right:32px;
}

.buy-md-dialog-template    .btn-confirm{

    margin: 9px 0 0 100px;
    cursor: pointer;
    float:left;
    margin-left: 14%;
    width: 29%;
    height: auto;
}
.buy-md-dialog-template    .btn-confirm img {
    width: 100%;
}

.buy-md-dialog-template    .btn-share{
    float:left;
    margin:10px;
    cursor: pointer;
}

#rule-dialog .mod-dialog-content {
    padding: 32px 24px;
    line-height: 1.8rem;
}


.mod-dialog-main {
    width: 1019px;
    height:808px;
    background: url(../images/box.png) no-repeat;
    background-size: 100%  100%;
    overflow: hidden;
}
.mod-dialog-main .mod-dialog-content {
    max-height: 650px;
    overflow-y: auto;
}

#hb-template {
    position: fixed;
    width:100%;height:100%;
    background-color: rgba(0,0,0,0.8);
    z-index:5;
    top:0;left:0;
    opacity: 0;
    display: none;
}

#hb-template.active {
    display: block;
    opacity: 1;
}

#hb-template .hb-template-inner {
    position: fixed;
    left:50%;
    top:50%;
    /* 初始缩放为 0.3，从小到大放大 */
    transform: translate(-50%, -50%) scale(0.3);
    -ms-transform: translate(-50%, -50%) scale(0.3);
    -webkit-transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
    /* 过渡动画：缩放 + 透明度 */
    transition: all .4s ease-out;
    -webkit-transition: all .4s ease-out;
    -ms-transition: all .4s ease-out;
    width:380px;
    height:600px;
    z-index:5;
}

#hb-template.active .hb-template-inner {
    transform: translate(-50%, -50%) scale(1);
    -ms-transform: translate(-50%, -50%) scale(1);
    -webkit-transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

#hb-template .bottom {
    position: absolute;
    bottom:20px;
    width:393px;
    height:215px;
    z-index:2;
    background: url(../images/hb-bottom.png) no-repeat;
}

#hb-template .cover {
    width:366px;
    height:396px;
    position: absolute;
    left:0;top:20px;
    background: url(../images/hb-cover.png) no-repeat;
    z-index: 1;
}

#hb-template .main {
    width:366px;
    height:396px;
    position: absolute;
    left:0;top:20px;
    background: url(../images/hb-open-bg.png) no-repeat;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color:#ca372d;
}

#hb-template .main .tit {
    font-size:20px;
    margin-bottom:30px;
}

#hb-template .main .num-box {
    vertical-align: text-bottom;
}

#hb-template .close {
    position: absolute;
    right:0;top:0;
    z-index:3;
    cursor:pointer;
}
#hb-template .close img{
    width:60px;
}

#hb-template .main .num-box-inner {
    font-size:50px;
    font-weight: bold;
    display: inline-block;
}
#hb-template .main .dian {
    display: inline-block;
}

#hb-template .btn-share {
    position: absolute;
    bottom:104px;
    left:50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 6;
    display: none;
}

#hb-template .btn-open {
    position: absolute;
    bottom:104px;
    left:50%;
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    cursor: pointer;
    z-index: 6;
}

/* 现代浏览器的按钮晃动动画 */
@-webkit-keyframes hb-shake {
    0%   { -webkit-transform: translateX(-50%) translateY(0); }
    25%  { -webkit-transform: translateX(-48%) translateY(-2px); }
    50%  { -webkit-transform: translateX(-52%) translateY(0); }
    75%  { -webkit-transform: translateX(-48%) translateY(2px); }
    100% { -webkit-transform: translateX(-50%) translateY(0); }
}
@keyframes hb-shake {
    0%   { transform: translateX(-50%) translateY(0); }
    25%  { transform: translateX(-48%) translateY(-2px); }
    50%  { transform: translateX(-52%) translateY(0); }
    75%  { transform: translateX(-48%) translateY(2px); }
    100% { transform: translateX(-50%) translateY(0); }
}

#hb-template .btn-open.shake {
    -webkit-animation: hb-shake .6s infinite;
    animation: hb-shake .6s infinite;
}

#hb-template .icon {
    position: absolute;
    width: 96px;
    height:155px;
    background: url(../images/hb-dai.png) no-repeat;
    top:550px;
    left:50%;
    transform: translateX(-50%);
}

.hb-share-dialog-template {
    position: relative;
    width: 100%;
    height: 100%;
}

.hb-share-dialog-template .share-pic img {
    display: block;
    width: 100%;
}

.hb-share-dialog-template .share-btn {
    text-align: center;
}

.hb-share-dialog-template .share-btn img {
    display: inline-block;
}
.mod-dialog-content {
    margin: 40px 50px;
    max-height: 600px;
    overflow-y: auto;
}

.mod-dialog-main .tit {
    text-align: center;
    color:#db4415;
    font-weight: bold;
    font-size: 20px;
    margin-bottom:8px;
}
.mod-dialog-content table {
    width:100%;
    text-align: center;
    background-color: #fff;
    color:#d94517;
    text-align: center;
    border:1px solid #d94517;

}
.mod-dialog-content table th {
    background-color: #d94517;
    color:#fff;
}

#hb-share-dialog .mod-dialog-main {
    background: none;
    height: auto;
}

.mod-dialog-content table th,.mod-dialog-content table td {
    padding: 6px 8px;
}

.login-bottom-tip {
    display: none!important;
}
#buy-md-dialog .mod-dialog-main .md-pic {
    position: absolute;right:28px;bottom:12px;
}

#buy-md-dialog .mod-dialog-main .md-pic {
    width: 45%;
}
#buy-md-dialog .mod-dialog-main .md-pic img {
    width: 100%;
}

#buy-zhekou-dialog .mod-dialog-main .zj-pic, #buy-zhekou-dialog .mod-dialog-main .zj-pic2 {
    position: absolute;right:28px;bottom:12px;
    width: 45%;
}
#buy-zhekou-dialog .mod-dialog-main .zj-pic img , #buy-zhekou-dialog .mod-dialog-main .zj-pic2 img {
    width: 100%;

}

/* 弹层激活：显示并渐显，现代浏览器有缩放效果 */
#hb-template.active {
    display: block;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; /* IE8-9 退化 */
}

/* 初始缩放状态（现代浏览器增强用，可选） */
#hb-template .hb-template-inner {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
    transition: all .4s ease-out;
}
#hb-template.active .hb-template-inner {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* 现代浏览器的晃动动画 */
@keyframes hb-shake {
    0%   { transform: translateX(-50%) translateY(0); }
    25%  { transform: translateX(-48%) translateY(-2px); }
    50%  { transform: translateX(-52%) translateY(0); }
    75%  { transform: translateX(-48%) translateY(2px); }
    100% { transform: translateX(-50%) translateY(0); }
}
#hb-template .btn-open.shake {
    animation: hb-shake .6s infinite;
}

@media screen and (min-width: 768px) {
 
}

@media screen and (max-width: 768px) {


    .main-inner {
        width:100%;
    }

    .prize-list{
        width:100%;
    }

    .mod-dialog-main {
        background: #fff;
        width: 100%;
         height: auto;
    }
    .mod-dialog-main .mod-dialog-content {
        max-height: none;

    }
    .mod-dialog-content{
        margin: 0;
    }
    #rule-dialog .mod-dialog-content {
        padding:16px;
    }


    .mod-dialog-close1 img {
        width: 30px;
    }
  .main {
    margin-top:0;
    width:100%;
  }
  .archive-info .right {
    width: 100%;
    float: none;
    text-align: center;
    padding-top:8px;
  }
  .archive-info .left {
    float: none;
    width:100%;
    background-size: 100% 100%;
  }
  .archive-info .right>span {
    display: inline-block;
  }
  .prize-list-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width:100%;
    
  }
  .prize-list-item {
    margin-right:6px;
    float:none;
    margin-bottom:16px;
  }
  .buy-confirm-dialog-template .img-zhekou {
    width: auto;
  }

  .buy-zhekou-dialog-template .zhekou-p {
    margin-left:5%;
  }
  .buy-zhekou-dialog-template .zhekou-num {
    width:40%;
  }
  .buy-md-dialog-template .zhekou-num, .buy-md-dialog-template .zhekou-edu {
    width:40%;
  }
  #order-dialog .mod-dialog-main {
    height: auto;
  }
  #order-dialog .mod-dialog-main .mod-dialog-content {
    max-height: none;

  }

}
