@charset "utf-8";

/*全局样式*/
body,
html {
    color: #000;
    font-size: 12px;
    font-family: STHeiti, 'Microsoft YaHei', Helvetica, Arial, sans-serif;
}

html {
    background: #fff;
    background-attachment: fixed;
}

body {
    margin: 0 auto;
    max-width: 720px;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

a:focus {
    outline: 0;
}

a.hidefocus {
    outline: 0;
}

a {
    color: #000;
    text-decoration: none;
}

i {
    display: inline-block;
    font-style: normal;
}

table {
    width: 100%;
    table-layout: fixed;
}

.nullbox61 {
    height: 48px;
}

.clearfix:after,
.clearfix:before {
    display: table;
    content: "";
}

.clearfix:after {
    clear: both;
}

.clearfix:after {
    clear: both;
    display: block;
    visibility: hidden;
    overflow: hidden;
    height: 0;
    content: ".";
}

/*顶部*/
.top {
    position: fixed;
    z-index: 99;
    height: 48px;
    width: 100%;
    max-width: 720px;
    background: #f13131;
    text-align: center;
}

.top .title {
    position: absolute;
    top: 8px;
    right: 48px;
    left: 48px;
}

.top .title h3 {
    color: #fff;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
    font-weight: 400;
    font-size: 24px;
}

.top .icon span {
    position: absolute;
    width: 36px;
    height: 40px;
    color: #fff;
    background-image: url(../images/menuIcon.png);
    background-repeat: no-repeat;
    overflow: hidden;
    display: block;
    background-position: 0 0
}

.top .icon span.menu {
    top: 3px;
    right: 8px;
    background-size: 36px auto;
    -webkit-background-size: 36px auto;
    background-position: 0 -56px
}

.top .icon span.prev {
    top: 3px;
    left: 5px;
    background-size: 32px auto;
    -webkit-background-size: 32px auto;
    background-position: 0 -110px
}

.box {
    margin: 5px 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #fff;
}

.box img {
    width: 100%;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.box table {
    border-collapse: collapse;
    table-layout: auto;
}

.box table th.title {
    height: 30px;
    border: 1px solid #e6e6e6;
    background: #f1f1f1;
    text-align: center;
    font-weight: 700;
    line-height: 30px;
}

.box table td {
    padding: 6px;
    border: 1px solid #e6e6e6;
}

.box table td.left {
    padding-right: 0;
    padding-left: 0;
    width: 50px;
    color: navy;
    text-align: center;
    font-size: 1.2rem;
}

/*号码颜色*/
.box td span.ball,
.box ul li p span.ball {
    display: inline-block;
    margin: 0 2px;
    width: 18px;
    height: 18px;
    border-radius: 9px;
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
}

.box span.bg_green {
    background: #093;
}

.box span.bg_blue {
    background: #36f;
}

.box span.bg_red {
    background: #f00f00;
}

/*年五行对照*/
.sx th {
    height: 30px;
    border: solid 1px #ccc;
    background: #f1f1f1;
}

.sx td {
    padding: 5px 0;
    border: solid 1px #d8ccb4;
    border-top: solid 0 #d8ccb4;
    background: #fff;
    text-align: center;
    word-wrap: break-word;
}

.sx td.a-left {
    padding-right: 5px;
    padding-left: 5px;
    text-align: left;
}

.sx span {
    display: inline-block;
    margin: 0 2px;
    width: 18px;
    height: 18px;
    border-radius: 9px;
    background: red;
    color: #fff;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
}

.sx span.green {
    background: #093;
}

.sx span.blue {
    background: #36f;
}

/*十二生肖对照*/
.sesx {
    border: 1px solid #e6e6e6;
}

.sesx .title {
    height: 30px;
    border-bottom: 1px solid #e6e6e6;
    background: #f1f1f1;
    text-align: center;
    font-weight: 700;
    line-height: 30px;
}

.sesx ul {
    padding: 8px 0;
    text-align: center;
}

.sesx dl {
    word-wrap: break-word;
    font-size: 12px;
}

.sesx dl img {
    width: 40px;
    height: auto;
    vertical-align: middle;
}

.sesx ul li {
    float: left;
    padding: 5px 0;
    width: 33.33%;
    border-left: 1px solid #f9f9f9
}

.sesx ul li:nth-child(3n+1) {
    border: none;
}

/*生肖属性*/
.attribute td {
    text-align: center;
    font-size: 1.1rem;
    padding: 8px 0px;
}

.attribute td li:first-child {
    border-bottom: 1px dotted #F1F1F1;
    padding-bottom: 5px;
    margin-bottom: 5px
}

.attribute td span {
    color: #0000FF
}

.attribute td i {
    width: 8px
}

/*挑码助手*/
.tmzs {
    padding: 6px;
}

.tmzs .anBtn {
    background: #fffef9;
}

.tmzs .anBtn .tmzsResult {
    padding: 3px;
    height: 163px;
    border: 1px solid #c9c9c9;
    border-radius: 5px;
}

.tmzs .anBtn .tmzsResult .ball_box {
    float: left;
    display: inline-block;
    padding: 2px;
    width: 10%;
    text-align: center;
}

.tmzs .tmzsTable table {
    margin: 10px 0 2px 0;
    width: 100%;
    border: 1px solid #c9c9c9;
    border-collapse: collapse;
    text-align: center;
}

.tmzs .tmzsTable table tr.borTop {
    border-top: 1px solid #c9c9c9;
}

.tmzs .tmzsTable table tr.borBtm {
    border-bottom: 1px solid #c9c9c9;
}

.tmzs .tmzsTable table tr td {
    padding: 0 5px;
    text-align: center;
}

.tmzs .tmzsTable table tr.borBtm td>div {
    margin-bottom: 8px;
}

.tmzs .tmzsTable table tr td h3 {
    color: red;
    font-size: 16px;
}

.tmzs .tmzsTable table tr td span {
    display: inline-block;
    margin: 8px 0;
    width: 100%;
    height: 37px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f13131;
    color: #fff;
    font-size: 18px;
    line-height: 37px;
}

.tmzs .tmzsTable table tr td div {
    margin-top: 8px;
    width: 100%;
    height: 27px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f6f6f6;
    font-size: 13px;
    line-height: 27px;
}

.tmzs .tmzsTable table tr td.borRgt {
    border-right: 1px solid #c9c9c9;
}

.tmzs .tmzsTable table tr td.borRgt div {
    margin-top: 6px;
    margin-bottom: 6px;
}

.tmzs .tmzsTable table tr td .hover {
    border: 1px solid #e57149;
    background-color: #e57149;
    color: #fff;
}

/*号码图片*/
.blueBall,
.greenBall,
.redBall {
    display: inline-block;
    width: 27px;
    height: 27px;
    background: url(../images/ball.png) no-repeat 0 0;
    background-size: 55px 55px;
    color: #303030;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 23px;
}

.greenBall {
    background-position: -28px 0;
}

.redBall {
    background-position: 0 -28px;
}

/*开奖记录*/
.choice .year-select {
    margin-bottom: 4px;
    padding: 4px 0;
    border-bottom: 1px solid #999;
    background: #ccc;
    text-align: center;
}

.choice .year-select li {
    float: left;
    display: block;
    margin: 2px;
    padding: 4px 0;
    width: calc(16.66% - 4px);
    border: 1px solid #fff;
    border-radius: 6px;
}

.choice .year-select li.active {
    background: #fff;
    font-weight: 700;
}

.choice .yearDialog {
    position: fixed;
    z-index: 1001;
    display: none;
    height: 100%;
    max-width: 720px;
    background: rgba(0, 0, 0, .5);
}

.choice .yearDialog .year-select {
    background: #fff;
}

.choice .yearDialog .year-select li {
    border-color: #eee;
    border-radius: 3px;
}

.choice dl {
    padding-bottom: 8px;
    text-align: center;
    line-height: 26px;
}

.choice dl.sx {
    border-bottom: 1px solid #ccc;
    font-size: 1.2rem;
}

.choice dl h3 {
    float: left;
    width: 10%;
    color: red;
    font-size: 1.2rem;
    line-height: 30px;
}

.choice dl ul {
    float: left;
    width: 90%;
}

.choice dl ul li {
    float: left;
    padding: 2px 0;
    width: 7.69%;
}

.choice dl ul li .position_superior {
    clear: none;
    margin: 0 auto;
    width: 35px;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
}

.choice dl ul li .active {
    border-color: #ec6337;
    background: #ec6337;
    color: #fff;
}

.choice dl ul li button.position_superior {
    height: 26px;
    border-color: #41b45f;
    background: #41b45f;
    color: #fff;
}

.history .title {
    padding: 10px 5px;
    border-bottom: 1px solid #e6e6e6;
    border-radius: 0;
    background-color: #eee;
    text-align: center;
    font-size: 1.2rem;
}

.history .title .tfl {
    float: left;
    width: 72px;
}

.history .title .tfr {
    position: relative;
    right: 2px;
}

.history .block {
    position: relative;
    display: block;
    padding-left: 72px;
}

.history ul li {
    padding: 10px 5px;
    border-bottom: 1px solid #e6e6e6;
    border-radius: 0;
}

.history ul li .bfl {
    position: absolute;
    top: 5px;
    left: 0;
    padding-left: 2.5px;
}

.history ul li .bfl b {
    display: block;
    color: #999;
    font-weight: 400;
    font-size: 1rem;
    line-height: 14px;
}

.history ul li .bfl span {
    display: block;
    padding-left: 10px;
    color: #999;
    font-size: 1.1rem;
    line-height: 17px;
}

.history ul li .bfl i {
    color: #f1592a;
    font-weight: 700;
    font-size: 1.5rem;
}

.history ul li .bfl strong {
    padding-left: 3px;
    font-weight: 400;
}

.history ul li .bfr {
    display: block;
    width: 100%;
    height: 1%;
}

.history ul li .bfr:after {
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
    content: ".";
}

.history ul li .bfr .ball span.blue,
.history .bfr .ball span.green,
.history .bfr .ball span.red,
.history .bfr .ball span.grey {
    background: url(../images/ballBg.png) no-repeat 0 0;
    background-size: 92px;
}

.history ul li .bfr .badd span {
    background: url(../images/addIcon.png) no-repeat center;
}

.history ul li .bfr .ball {
    float: left;
    width: 13%;
}

.history ul li .bfr .badd {
    float: left;
    width: 9%;
}

.history ul li .bfr .badd span {
    display: block;
    margin: 0 auto;
    padding: 0;
    width: 18px;
    height: 23px;
    background-size: 13px;
}

.history ul li .bfr .ball span {
    display: block;
    margin: 0 auto;
    padding-right: 3px;
    padding-bottom: 4px;
    width: 23px;
    height: 23px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    line-height: 19px;
}

.history ul li .bfr .ball span.blue {
    background-position: 0px 0;
}

.history ul li .bfr .ball span.green {
    background-position: -23px 0;
}

.history ul li .bfr .ball span.red {
    background-position: -46px 0;
}

.history ul li .bfr .ball span.grey {
    background-position: -69px 0;
}

.history ul li .bfr .ball b {
    display: block;
    color: #333;
    text-align: center;
    font-weight: 500;
    font-size: 1.2rem;
    line-height: 19px;
}

.history ul li .bfr .opacityOne {
    opacity: .1;
}

/* .foot{margin-bottom:10px;height:33px;color:#fff;text-align:center;font-size:1.1rem;line-height:33px;}.footer{position:fixed;bottom:0;z-index:300;display:flex;width:100%;height:48px;background:#555;justify-content:space-around;left: 0px;right: 0px;max-width: 718px;margin-left: auto;margin-right: auto;}.footer a{display:flex;width:33.3%;height:48px;color:#fff;font-size:.7rem;justify-content:center;align-items:center;}/* 底部导航 */
.footer {
    position: fixed;
    bottom: 0;
    z-index: 9;
    margin: 0 auto;
    width: 100%;
    height: 50px;
    max-width: 715px;
    border-top: solid 1px #eee;
    background: #fff;
    color: #333;
    text-align: center;
    left: 0px;
    right: 0px;
    margin-left: auto;
    margin-right: auto;
    font-size: 12px;
}

.footer ul {
    display: flex;
}

.footer ul li {
    position: relative;
    box-sizing: border-box;
    padding-top: 7px;
    width: 20%;
    height: 50px;
    flex: 1;
}

.footer ul li.active {
    color: red;
}

.footer ul li img {
    position: relative;
    z-index: 1;
    margin-bottom: 2px;
    width: 22px;
}

.footer ul li:nth-child(3):before {
    position: absolute;
    top: -21px;
    right: 0;
    left: 0;
    display: inline-block;
    margin: auto;
    width: 40px;
    height: 40px;
    border-top: solid 1px #eee;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    border-left: solid 1px #eee;
    border-radius: 40px 0;
    background: #fff;
    content: "";
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    -ms-transform: rotate(45deg);
}

.footer ul li:nth-child(3) img {
    margin-top: -12px;
    width: 34px;
    height: auto;
}

.piczoom-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999999999;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, .7);
}

.piczoom-bg .piczoom {
    height: 100vh;
}

.piczoom-bg .piczoom .swiper-slide img {
    max-width: 98%;
    max-height: 98vh;
}

@media screen and (max-width:720px) {
    .top .logo {
        margin-left: 5px;
    }

    .box {
        margin: 5px 3px;
    }

    .choice .yearDialog {
        left: 3px;
        right: 3px
    }

    .choice dl.sx h3 {
        line-height: 60px;
    }

    .choice dl ul li {
        float: left;
        width: 12.5%;
        padding: 2px 0;
    }

    .choice dl.sx ul li button.position_superior {
        width: 78px;
    }
}