/* 歷史資料 */
#history .mypaper {
    display: block;
    width: 100%;
    background-color: white;
}
#history #pager {
    width: 40%;
    height: 7px;
    margin: 0 7px;
    text-align: center;
}
#history #pager2 {
    float: right;
    width: 42%;
    text-align: center;
    padding-left: 30px;
}
#history #pager2 {
    display: none;
}
#history #pager a {
    float: left;
    width: 70px;
    height: 24px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    padding-top: 3px;
    margin: 10px 7px 7px 3px;
    border: 1px solid #e1e1e1;
}
#history #pager2 span {
    width: 120px;
    height: 24px;
    display: inline-block;
    font-size: 12px;
    cursor: pointer;
    padding-top: 3px;
    line-height: 20px;
    border-radius: 2px;
    color: #333;
    margin: 3px 10px 0px 0px;
    border: 1px solid #e1e1e1;
}

#history .yy-on,
#history #pager2 .ps_on,
#history #pager2 span:hover {
    color: White !important;
    font-weight: bold;
}
#history .yy-on {
    background-color: #C42017;
}
#history #pager2 .ps_on,
#history #pager2 span:hover {
    background-color: #1793cf;
}

/** 开奖历史列表 **/
#history
    #history_show_area {
        display: inherit;
        text-align: center;
        padding: 10px 10px;
        background-color: #fff;
    }

    #history_show_area table {
        border: 1px solid #ddd;
    }

    #history_show_area table thead th {
        height: 40px;
        font-size: 14px;
        font-weight: bold;
        text-align: center;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    #history_show_area table thead td {
        height: 0px;
    }

    #history_show_area table tbody td {
        height: 40px;
        text-align: center;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }
    #history_show_area table tbody td:last-child {
        border-right: 0px;
    }

    #history_show_area table tbody .cl {
        background-color: #FFFCEC;
    }

    #history_show_area table .w1 {
        width: 50px;
    }

    #history_show_area table .w2 {
        width: 100px;
    }

    #history_show_area table .w3 {
        width: 40px;
    }

    #history_show_area table .w4 {
        width: 40px;
    }

    #history_show_area table .w5 {
        width: 80px;
    }

    #history_show_area table .w6 {
        width: 80px;
    }

    #history_show_area table tbody td li {
        float: left;
        position: relative;
        width: 42px;
        height: 35px;
        padding-right: 4px;
        line-height: 35px;
        box-sizing: content-box;
    }

    #history_show_area table tbody td .ssc {
        width: 52px;
    }

    #history_show_area table tbody td .bg {
        width: 44px;
    }

    #history_show_area table tbody td .pk10Li {
        /* width: 40px; */
    }

    #history_show_area table tbody td .other {
        width: 30px;
    }

    #history_show_area table tbody td li span {
        display: inline-block;
        vertical-align: middle;
    }

    #history_show_area table tbody td li .ball {
        background: transparent;
        width: 28px;
        height: 28px;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: 12px !important;
        font-weight: bold;
        color: #1e88e5 !important;
        margin: 0;
        padding: 0 !important;
        box-sizing: border-box;
        vertical-align: middle;
        border-radius: 50%;
        border: 3px solid #1e88e5;
    }

    #history_show_area table tbody td li .ball_red {
        border-color: #e53935;
        color: #e53935 !important;
        background: transparent;
    }

    #history_show_area table tbody td li .ball_green {
        border-color: #43a047;
        color: #43a047 !important;
        background: transparent;
    }

    #history_show_area table tbody td li .ball_blue {
        border-color: #1e88e5;
        color: #1e88e5 !important;
        background: transparent;
    }

    #history_show_area table tbody td li .ball_other {
        border: none;
        background: transparent;
        color: #333 !important;
        width: auto;
        height: auto;
        font-size: 16px !important;
    }
    
    #history_show_area table tbody td .animal {
        position: absolute;
        left: 35px;
        top: 0;
        margin: 0 !important;
        padding: 0;
        line-height: 35px;
        font-size: 14px;
        white-space: nowrap;
    }

    #history_show_area table tbody td .red {
        color: #c53333 !important;
        margin: 0;
    }

    #history_show_area table tbody td .green {
        color: #239156 !important;
        margin: 0;
    }

    #history_show_area table tbody td .blue {
        color: #4378d1 !important;
        margin: 0;
    }

    #history_show_area table tbody td .gray {
        color: #600000;
    }

    #history_show_area table tbody td .zh {
        color: #e6454b;
        font-weight: bold;
    }

    #history_show_area table tbody .empty-data {
        height: 200px;
        text-align: center;
    }

    #history_show_area table tbody .empty-data span {
        font-size: 16px;
        font-weight: bold;
        color: #ff9933;
        line-height: 30px;
    }
    
/** 开奖历史菜单 **/
.h_form { margin-top: 10px; }
.h_form .title { height: 50px; line-height: 50px; color: #cc3300; text-align: center; font-size: 18px; font-weight: bold; }
.h_form .list { margin-top: 10px; margin-bottom: 5px; }
.h_form .list a { line-height: 30px; font-size: 16px; text-align: center; width: 100%; display: inline-block; margin: 0px 0 0px 0px; }

.h_form .history_year { width: 100%; background-color: #fff; }
.h_form .history_numbers { width: 100%; margin-bottom: 15px; }
.h_form .history_year td { border: 1px solid #e1e1e1; font-size: 14px; color: #fff; }
.h_form .history_year td a:hover { text-decoration: underline; background-color: #FFBB77; color: White; }
.h_form .history_year .on { text-decoration: underline; font-weight: bold; background-color: #cc3300; color: White; }

/* modyfi size */

#history_show_area table thead th, #history_show_area table tbody td,
#history #pager a {
    font-size: 16px !important;
}

#history_show_area:not([class*="6h"]) table tbody td li {
    width: 36px;
    padding-right: 2px;
}

#history_show_area:not([class*="6h"]) table tbody td li .ball {
    width: 32px;
    height: 32px;
    font-size: 16px !important;
    border-width: 3px;
}

/* 覆蓋 style.css，統一歷史開獎空心圓球樣式 */
#history_show_area table tbody td li span.ball.ball_blue {
    border-color: #1e88e5;
    color: #1e88e5 !important;
    padding: 0 !important;
}