.clearfix {
    content: " ";
    display: table;
}

/* 首页 */
@media (max-width: 768px) {
    .section-title1 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .listtype li {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .sectitle .marksix-hot {
        margin-left: 2px;
    }

    .sectitle .t2 {
        display: none;
    }

    .sectitle .section-moreRight {
        margin-right: 0px;
    }

    .floatRightNav {
        display: none;
    }

    *,
    ::after,
    ::before {
        box-sizing: content-box;
    }

    .headerBox,
    .headerBox .logo,
    .headerBox .logo img {
        height: 60px;
    }

    .drawer-nav {
        width: 10.25rem;
    }

    .navMobile {
        display: block !important;
    }

    .navPc {
        display: none !important;
    }

    .menulogo {
        margin-right: 8px !important;
        margin-top: -6px !important;
    }

    .drawer--right.drawer-open .drawer-hamburger {
        right: 0.25rem;
    }

    .drawer-menu {}

    .drawer-menu li {
        border-bottom: 1px solid #eee;
    }

    .drawer-brand {
        font-size: 16px;
        font-weight: normal;
    }

    .fade:not(.show) {
        opacity: 1;
        background: #fff;
    }

    .number-helper .result {
        width: auto;
    }

    .j-result span {
        word-break: break-all;
    }

    .headerBox .right {
        display: none;
    }

    .headerBox .nav {
        display: none;
    }

    .NoticeBox {
        width: auto;
        margin-top: 5px;
    }

    .NoticeBox .text {
        overflow: hidden;
        width: 100%;
        height: 30px;
    }

    .NoticeBox .text a {
        display: inline-block;
        line-height: 23px;
        text-decoration: none !important;
        padding: 12px 18px 0px 8px;
    }

    .NoticeBox .title {
        display: none;
    }

    .openNum {
        margin-top: 8px;
    }

    .contentBox {
        width: 100%;
    }

    .openNum .leftNum {
        width: 100%;
        height: auto;
    }

    .openNum .leftNum .l {
        width: 100%;
        text-align: center;
    }

    .openNum .leftNum .r {
        width: 66%;
        margin-top: 15px;
        margin-left: 17%;
    }

    .openNum .leftNum .r .up {
        float: left;
    }

    .openNum .leftNum .r .bottom {
        float: right;
    }

    .openNum .leftNum .l .bottom {
        margin-top: 0px;
    }

    .openNum .rightNum {
        clear: both;
        float: none;
        width: 100%;
        background: #fff;
    }

    .openNum .rightNum .l {
        width: 100%;
        margin-top: 0px;
        height: 37px;
        background: #f2f2f2;
        margin-top: 4px;
    }

    .openNum .rightNum .l .text {
        margin-top: 13px;
        float: right;
        margin-right: 18px;
    }

    .contentBox {
        clear: both;
        overflow: hidden;
        height: auto;
    }

    .openNum .rightNum .l .periods {
        float: left;
        margin-left: 8px;
    }

    .openNum .rightNum ul {
        width: 100%;
        background: #fff;
        padding: 8px 0;
    }

    .openNum .rightNum ul li {
        margin-left: 0.5%;
        margin-right: 0%;
        width: 12%;
        float: left;
    }

    .openNum2 ul .oNum_1 {
        width: 33%;
    }

    .openNum2 ul .oNum_4 {
        width: 7%;
    }

    .openNum2 ul .oNum_4 div {
        margin-top: 16px;
    }

    .openNum2 ul .oNum_5 {
        width: 10%;
    }

    .openNum2 ul .oNum_6,
    .openNum2 ul .oNum_7 {
        width: 10%;
    }

    .openNum2 {
        height: auto;
        padding-top: 0px;
    }

    .openNum2 ul .oNum_5_1 {
        line-height: 17px;
    }

    .openNum2 ul .oNum_5_2 {
        line-height: 18px !important;
        margin-top: 21px;
    }

    .oNum_6_1,
    .oNum_6_2,
    oNum_6_3 {
        line-height: normal !important;
    }

    .adds,
    .adds div,
    .adds a,
    .adds img {
        width: 100% !important;
    }

    .listBox .list1_mod1 {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }

    .list1_mod1 ul li .thisTitle {
        width: 90%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .list1_mod1 ul li .thisRight {
        display: none;
    }

    .list2,
    .list2 img {
        width: 100% !important;
    }

    .list2 .conList {
        width: auto;
        padding-left: 0px;
        padding-right: 0px;
    }

    .list2 .conList ul li {
        width: 96%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .listBox .list3 {
        width: 100%;
        height: auto;
    }

    .list3 .conListTitle {
        padding-left: 8px;
        width: 100%;
    }

    .list3 ul {
        width: 100%;
        margin-bottom: 0px;
    }

    .list3 ul li {
        width: 44%;
        margin: 3%;
    }

    .list3 ul li img {
        margin-top: 15px;
    }

    .list3 ul li .r {
        margin-top: 0px;
        text-align: center;
    }

    .list3 ul li:nth-child(3),
    .list3 ul li:nth-child(6) {
        margin-right: 3%;
    }

    .list4 {
        clear: both;
        width: 100%;
        float: none;
    }

    .list4 table tr th {
        text-align: center;
    }

    .list4 .conList {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }

    .list5_1 {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
        height: auto;
        float: none;
    }

    .list5_1 ul li .thisRight {
        display: none;
    }

    .list5_1 ul li .thisTitle {
        font-size: 0.95em;
        color: #4f4f4f;
        width: 90%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .list5_1 ul li .thisTitle img {
        margin-right: 1px;
    }

    .list6 {
        width: 100%;
        height: auto;
        float: none;
    }

    .list6 .conList {
        width: 100%;
        padding-left: 8px;
        padding-right: 8px;
    }

    .list6 ul {
        width: 100%;
    }

    .list6 ul li {
        width: 96%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .nlist11 {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
        margin-top: 0px;
    }

    .zodiacVote {
        clear: both;
        width: 100%;
        float: none;
        height: auto;
        padding-bottom: 15px;
    }

    .zodiacVote .is_vote li {
        width: 22.75%;
        text-align: center;
        margin: 0px 3% 3% 0px;
    }

    .zodiacVote .btn {
        width: 100%;
    }

    .attrTypeList {
        width: 100%;
        margin-left: 8px;
    }

    .attrTable {
        margin-top: 15px;
        padding-bottom: 10px;
    }

    .attrTable table {
        width: 960px;
    }

    .attrTypeList a {
        padding-left: 5px;
        padding-right: 5px;
        height: 28px;
        line-height: 28px;
        margin-top: 7px;
    }

    .tablelist {
        width: 100%;
        overflow: scroll;
    }

    #t12,
    #t13 {
        width: 100%;
    }

    .tabletip {
        display: inline !important;
        font-size: 12px;
        padding: 12px;
        color: #999;
    }

    .attrTable table thead .tablename th {
        background: #f1f1f1;
        text-align: left;
        padding-left: 8px;
    }

    .foot .footNavImg {
        width: 100%;
    }

    .foot .bottomText {
        width: 100%;
        height: auto;
        line-height: 28px;
    }
}

/* 历史记录 */
@media (max-width: 768px) {
    .recordBox table .each {
        width: 20px;
    }

    /* 开奖记录表：以前每个球位只有 20px 宽，球却有 32px，球挤在一起压住、属性字也歪。
       改成每个球 30px、属性字放在球正下方居中，一行 6 个球不换行，单元格左右留白缩小，360 宽的手机也放得下 */
    .recordBox table.rdlist td,
    .recordBox table.rdlist th {
        padding-left: 4px;
        padding-right: 4px;
    }

    .recordBox table.rdlist .sortRow {
        white-space: nowrap;
    }

    .recordBox table.rdlist .each {
        width: 30px;
        margin: 0 1px;
    }

    .recordBox table.rdlist .each .ball-lg {
        width: 30px;
        height: 30px;
        line-height: 27px;
        font-size: 15px;
    }

    .recordBox table.rdlist .each .attr {
        display: block;
        margin: 0;
        top: 0;
        text-align: center;
        line-height: 20px;
    }

    /* 筛选区"条件"那一行：生肖多了会折成两行，以前固定 24px 高，第二行压到"排序"上 */
    .recordBox .history-checkbox .zodiac {
        height: auto;
    }

    .recordBox table.rdlist tr th:nth-child(4),
    .recordBox table.rdlist tr th:nth-child(5),
    .recordBox table.rdlist tr th:nth-child(6),
    .recordBox table.rdlist tr th:nth-child(7),
    .recordBox table.rdlist tr td:nth-child(4),
    .recordBox table.rdlist tr td:nth-child(5),
    .recordBox table.rdlist tr td:nth-child(6),
    .recordBox table.rdlist tr td:nth-child(7) {
        display: none;
    }

    .recordBox {
        width: 100%;
    }

    .recordBox table {
        width: 100%;
    }

    .recordBox .rdtablerc {
        overflow-x: scroll;
    }

    .recordBox .rdtableall {
        width: 768px;
    }

    .recordBox .rdtableall .rdtableallfs {
        width: 120px !important;
    }

    .recordBox .tips {
        text-indent: 0px;
    }

    .recordBox .history-years ul li {
        width: 33%;
    }

    .recordBox .history-years ul .more {
        text-align: center;
        margin-left: 0px;
    }
}

/* 详情页 */
@media (max-width: 768px) {
    .galleryList {
        width: 100%;
    }

    .galleryList ul li {
        height: 25px;
        line-height: 25px;
        padding-left: 8px;
        padding-right: 8px;
        margin-left: 8px;
        margin-bottom: 5px;
    }


    .detailBox {
        padding: 0px 5px;
    }

    .detailBox .title {
        font-size: 18px;
        color: #5a5a5c;
        font-weight: bold;
        text-align: left;
        height: auto;
        line-height: 20px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .detailBox .info .l {
        padding-left: 0px;
        width: 80%;
        line-height: 16px;
    }

    .detailBox .info .l span {
        margin-right: 0px;
        width: 100%;
        display: inline-block;
        text-align: left;
    }

    .detailBox .info {
        height: auto;
        line-height: 28px;
        padding: 0 5px;
    }

    .detailBox .info .r {
        float: right;
        width: 20%;
        padding-right: 0px;
        text-align: right;
    }

    .detailBox .content {
        padding: 18px 1% 2px 1%;
        text-align: justify;
        width: 98%;
    }

    .detailBox .content * {
        width: auto !important;
        padding-top: 0px;
        font-size: 14px;
        line-height: 30px;
        text-align: justify;
        white-space: normal !important;
    }


    .detailBox .content img {
        padding: 18px 1% 2px 1% !important;
        width: 98% !important;
    }

    .galleryContent {
        padding-top: 0px !important;
    }

    .galleryContent .preNext .pre {
        float: none;
        width: 100% !important;
    }

    .galleryContent .preNext .next {
        float: none;
        width: 100% !important;
    }
}

/* 直播 */
@media (max-width: 768px) {
    .videoChat iframe {
        height: auto;
    }

    .videoChat {
        height: auto;
    }

    .videoChat .l {
        width: 100%;
        height: auto;
        float: none;
    }

    .videoChat .r {
        float: none;
        height: auto;
        width: 100%;
        margin-top: 12px;
    }
}

/* 图表 */
@media (max-width: 768px) {
    .chartcountBox .bodybox {
        min-width: 100%;
    }

    .chartcountBox .outing {
        width: 100%;
    }

    .chartcountBox .inline {
        width: 100%;
    }

    .chartcountBox .inline ul {
        clear: both;
        width: 100%;
        height: auto;
    }

    .chartcountBox .inline .title {
        font-weight: bold;
    }

    .chartcountBox .box {
        width: 100%;
    }

    .chartcountBox .hot_title span {
        width: 100%;
        text-align: right;
    }

    .chartcountBox .chartShow {
        overflow-x: auto;
        overflow-y: hidden;
        width: 100%;
    }

    .box .box {
        margin-left: 0px;
        margin-top: 0px;
        width: 100%;
    }

    .box .box .lz_table_head .middletd {
        width: 50%;
    }

    .box .box .item_con {
        overflow-x: auto !important;
        width: 100%;
    }

    .box .box .item_con .lz_table_con {
        margin-right: 0px;
    }
}


/* 长龙提醒 */
@media (max-width: 768px) {
    @media (max-width: 768px) {
        .queueBox {
            width: 100%;
        }

        .queueBox .content .left {
            float: none;
            width: 100%;
            margin-left: 0;
            border: 0;
            border-bottom: 1px solid #e7e7e7;
        }

        .queueBox .content .left .t1 span {
            margin-left: 18px;
        }

        .queueBox .content .left .t1 {
            width: 100%;
            margin: 0;
        }

        .queueBox .content .left .list {
            width: 100%;
        }

        .queueBox .content .left .list a {
            margin: 0px 4%;
            float: left;
            padding: 0px;
            width: 40%;
            margin-bottom: 12px;
        }

        .queueBox .content .right {
            float: none;
            width: 100%;
        }
    }

    .LoginBox {
        width: 100%;
    }

    .LoginBox form {
        width: 100%;
    }

    .LoginBox .title {
        height: auto;
        line-height: 30px;
        text-align: left;
        padding: 8px 12px;
        margin-bottom: 20px;
    }

    .LoginBox form .formList .label {
        width: 20%;
    }

    .LoginBox form input {
        width: 55%;
    }

    .LoginBox form .agreeBox {
        margin-left: 20%;
    }
}

/* 大发 */
@media (max-width: 768px) {
    .section-box {
        width: 100% !important;
        margin-top: 12px;
    }

    .listBox .list6 {
        margin-bottom: 0px;
        margin-top: 18px;
    }

    .list li .word {
        width: 90% !important;
    }

    .list li .num {
        display: none !important;
    }

    .chart-box .menu-nav>li {
        width: 50%;
    }
}

/* 其他 */
@media (max-width: 768px) {
    .footNavImg {
        display: none;
    }

    .foot .bottomText .t1 {
        float: none;
        line-height: 18px;
    }

    .bottomText .t2 {
        display: none;
    }

    .foot {
        margin-top: 8px;
        height: auto;
        padding: 5px;
        width: auto;
    }

    .paper {
        margin-top: -4px;
    }

    .detailBox {
        padding-bottom: 0px;
    }

    .chart-box .menu {
        margin-top: 11px;
    }


    .list6right {
        height: auto;
    }

    .listlist {
        height: auto;
    }

    .advseatBox {
        width: 99%;
    }

    .advseatBox .listAdv {
        width: auto !important;
        padding: 0 !important;
    }

    .advseatBox .listAdv .ad2 a,
    .advseatBox .listAdv .ad3 a {
        overflow: hidden;
    }

    .adverment {
        width: 100% !important;
    }

    .contentBoxmb {
        text-align: center;
    }

    .headerBox .logomb {
        width: 124px;
        margin: auto;
        float: none;
    }

    .recordBox .history-checkbox .item {
        display: inline-block;
    }

    .recordBox .history-checkbox .position {
        height: auto;
    }

    .videoChat .l .legend {
        padding: 12px 0 0 4%;
    }

    .videoChat .l .legend span {
        display: none;
    }

    .videoChat .l .legend a {
        width: 27%;
        margin: 0 4% 12px 0%;
    }
    
    .advseatBox .listAdv li {
        margin-bottom: 4px;
    }

    .advseatBox .listAdv .ad1 a {
        font-size: 18px !important;
        line-height: 40px;
    }

    .advseatBox .listAdv .ad1 a .left {
        display: none;
    }

    .advseatBox .listAdv .ad1 a .right {
        display: none;
    }

    .advseatBox .listAdv .ad2 a {
        font-size: 18px !important;
        width: 100% !important;
        line-height: 40px !important;
        margin-bottom: 0px;
        float: none !important;
    }

    .advseatBox .listAdv .ad2 {
        height: auto !important;
    }

    
    .advseatBox .listAdv .ad4 a {
        font-size: 18px !important;
        width: 100% !important;
        line-height: 40px !important;
        margin-bottom: 0px;
        float: none !important;
        margin-bottom: 4px;
    }

    .advseatBox .listAdv .ad4 {
        height: auto !important;
    }
}