/*
 * 热血传奇活动样式
 */
* { margin: 0; padding: 0;}
body {
    font-family: 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, 'Hiragino Sans GB', 'Microsoft YaHei', "Wenquanyi Micro Hei", "WenQuanYi Micro Hei Mono", "WenQuanYi Zen Hei", "WenQuanYi Zen Hei", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
html,
body {
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 { margin: 0; padding: 0; }

ul,
ol,
li { margin: 0; padding: 0; list-style: none; }

img { max-width: 100%; height: auto; vertical-align: middle;  border: 0;}

body {
    background: #3d1810;
    color: #fff;
}
a:link,
a:visited,
a:active {
    outline: none;
    color: #ffd860;
    text-decoration: underline;
}
a:hover {
    text-decoration: none;
}
button {
    outline: none;
    cursor: pointer;
}
.clearfix:after {
    content: '\20';
    display: block;
    height: 0;
    clear: both;
}
.clearfix { *zoom: 1; }

.wrapper {
    width: 100%;
    max-width:480px;
    min-height: 100%;
    margin: 0 auto;
    background-image: url("../../images/hd/rxcq/footer.jpg");
    background-size: 100% auto;
    background-position: 0 bottom;
    background-repeat: no-repeat;
}
.header,
.content {
    width: 100%;
    margin: 0 auto;
}
table {
    border: none;
    border-collapse: collapse;
}
table, td {
    border: none;
}
.hide { display: none;}
.overlay { width: 100%; height: 100%; position:fixed; z-index:99; left:0; top:0; right:0; bottom:0; background: #000; filter:alpha(opacity=50); -moz-opacity: 0.50; opacity: 0.50; cursor: pointer;}
.share-tips {
    width: 209px;
    height: 83px;
    background-image: url('../../images/hd/rxcq/share-to-qq.png');
    background-size: 100% 100%;
    position: absolute;
    z-index:1000;
    right: 12px;
    top: 2px;
    -webkit-transform:translateZ(0);
}
.share-to-qq {
    background-image: url('../../images/hd/rxcq/share-to-qq.png');
}
.share-to-weixin {
    background-image: url('../../images/hd/rxcq/share-to-weixin.png');
}
/* dialogBox
   ========================================================================== */
.overlay { width: 100%; height: 100%; position:fixed; z-index:99; left:0; top:0; right:0; bottom:0; background: #000; filter:alpha(opacity=70); -moz-opacity: 0.70; opacity: 0.70; cursor: pointer;}
.dialog-box { width:282px; padding: 0 0 14px 0; position:fixed; left:50%; margin-left:-141px; top:50%; margin-top:-82px; background:#fff; z-index: 999; }
.dialog-box .hd { height:46px; line-height: 46px; background:#f8f8f8; border-bottom:1px solid #f0f0f0; font-size:16px; color:#000; font-weight:normal; text-align: center; }
.dialog-box .bd  { padding: 16px 18px 0 18px; font-size:14px; line-height:21px; color:#747474;}
.dialog-box .btns { text-align:center; padding: 10px 18px 0 18px;}
.dialog-box .btns a { display: inline-block;}
.dialog-box .btns .a:nth-child(2) { margin-left: 4px;}
.dialog-box .btn-dialog-box { width:117px; height: 31px; line-height: 31px; display:inline-block; font-size: 14px;}
.dialog-box .icon-dialog { display: inline-block; width: 24px; height: 24px; margin:-3px 6px 0 0; background-size: 24px 48px; background-image: url("../images/icon_alert.png"); vertical-align: middle; }
.dialog-box .icon-dialog-success { background-position: 0 0;  }
.dialog-box .icon-dialog-warn { background-position: 0 -24px; }

/* header
  ========================================================================== */
.header img {
    width: 100%;
}

/* content
   ========================================================================== */
.content {
    position: relative;
    min-height: 490px;
    padding-bottom: 60px;
}
.content .inner {
    width: 77.18%;
    margin:  0 auto;
    position: relative;
    z-index: 2;
}
.top-bg {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    padding-top: 75%;
    height: 0;
    background-image: url("../../images/hd/rxcq/top-bg.jpg");
    background-size: 100% auto;
    background-position: 0 bottom;
    background-repeat: no-repeat;
}

.declaration {
    width: 100%;
    padding: 3px 0;
    background: #d9761f;
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}
.declaration a {
    display: block;
    width: 100%;
    color: #fff;
    text-decoration: none;
}
input.mobile {
    width: 100%;
    padding: 5.5% 0;
    margin: 12px 0;
    font-size: 19px;
    text-align: center;
    background-color: #fff;
    border: none;
    border-radius: 5px;
    color: #494949;
}
input.mobile:disabled,
input.mobile.disabled {
    background: #a9a9a9;
    color: #6d6b6b;
    opacity: 1;
}
.tips {
    color: #ffd860;
    text-align: center;
}
.lucky-number {
    margin: 24px 0 0 0;
    font-size: 19px;
    text-align: center;
}
.congratulations {
}
.btn {
    width: 102%;
    height: 0;
    margin-left: -1%;
    padding-top: 22.8%;
    border: none;
    border-radius: 0;
    -webkit-appearance: none;
    background-color: transparent;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 0 0;
}
.btn-get-number {
    background-image: url('../../images/hd/rxcq/btn-get-number.png');
}
.btn-get-number-disabled {
    background-image: url('../../images/hd/rxcq/btn-get-number-disabled.png');
}
.btn-share {
    background-image: url('../../images/hd/rxcq/btn-share.png');
}
.btn-invite {
    background-image: url('../../images/hd/rxcq/btn-invite.png');
}
.btn-tomorrow {
    background-image: url('../../images/hd/rxcq/btn-tomorrow.png');
}

.strategy {
    padding: 10px 0 20px 0;
    color: #fff;
}
.strategy dd.link {
    padding: 20px 0 0 0;
}

.numbers h2 { font-size: 14px; font-weight: normal; margin: 0; padding: 0 0 6px 0; }
.grain-box {
    padding: 0 2px 2px 2px;
    position: relative;
}
.grain-box .bd {
    min-height: 60px;
    border-top: 2px #ac4343 solid;
    border-bottom: 2px #ac4343 solid;
    border-left: 2px #ac4343 solid;
    border-right: 2px #ac4343 solid;
    background: #6a2807;
}
.grain-bg {
    position: absolute;
    display: block;
    width: 60px;
    height: 25px;
    background-image: url('../../images/hd/rxcq/grain-bg.png');
    background-size: 110px 50px;
    background-repeat: no-repeat;
}
.grain-top-left { left: 0; top: 0;}
.grain-top-right { right: 0; top: 0; background-position: -50px 0;}
.grain-bottom-left { left: 0; bottom: 0; background-position: 0 -25px;}
.grain-bottom-right { right: 0; bottom: 0; background-position: -50px -25px;}

.numbers-1,
.numbers-2,
.numbers-more {
    margin: 0 8px;
}

.numbers-1 {
    padding: 15px 0 10px 4px;
}
.numbers-1 span {
    display: inline-block;
    padding: 2px 0;
}
.numbers-1 a {
    width: 80px;
    padding: 2px 0;
    background: #bf4e16;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    display: block;
    text-decoration: none;
    font-size: 12px;
    float: right;
}
.numbers-1 a:link,
.numbers-1 a:visited,
.numbers-1 a:hover {
    text-decoration: none;
}

.numbers-2 {
    padding: 6px 0;
    border-top: 1px #ad5d35 solid;
    border-bottom: 1px #ad5d35 solid;
}
.numbers-2 table td {
    padding: 3px 6px 3px 6px;
}

.numbers-all {
    padding: 30px 0 34px 0;
}
.numbers-all .numbers-2{
    border: none;
    text-align: center;
}

.numbers-more {
    padding: 10px 0 15px 0;
    text-align: center;
    display: none;
}

/* rules
   ========================================================================== */
.rules {
    padding: 32px 36px 0 36px;
    position: relative;
    z-index: 2;
}
.rules h1 {
    font-size: 16px;
    font-weight: normal;
}
.rules dl {
    padding-bottom: 40px;
}
.rules dt {
    padding: 12px 0 0 0;
    color: #ffd860;
}
.rules dd+dd {
    padding-top: 8px;
}