﻿.mg-xs {
    position: absolute;
    z-index: 9998;
    -webkit-transition: opacity .5s ease;
    -o-transition: opacity .5s ease;
    transition: opacity .5s ease;
    top: 2px;
    left: -425px;
    width: 1872px;
    height: 1041px;
}

    .mg-xs .trd-1 {
        position: absolute;
        width: 158px;
        height: 1041px;
        background-repeat: no-repeat;
        background-image: url(../images/media/MiniGameXS.ce68343b.png);
        background-position: -881px -2px;
        left: 0;
    }
    .mg-xs .trd-2 {
        display: inline-block;
        position: absolute;
        top: 0;
        width: 54px;
        height: 1041px;
        background-image: url(../images/media/MiniGameXS.ce68343b.png);
        background-position: -1043px -2px;
        background-repeat: no-repeat;
        left: 158px;
        -webkit-transform-origin: 0 50%;
        -ms-transform-origin: 0 50%;
        transform-origin: 0 50%;
        -webkit-transform: scaleX(21.8);
        -ms-transform: scaleX(21.8);
        transform: scaleX(21.8);
        z-index: -1;
    }
 



.mg-xs .trd-3 {
    position: absolute;
    width: 559px;
    height: 1041px;
    background-repeat: no-repeat;
    background-image: url(../images/media/MiniGameXS.ce68343b.png);
    background-position: -261px -73px;
    top: 0;
    right: 0;
}


    .mg-xs .box-button-light {
        position: absolute;
        top: 18px;
        left: 61px;
        width: 70px;
    }

    .mg-xs .box-button-light .button-light {
        position: relative;
        display: inline-block;
        background-repeat: no-repeat;
        background-image: url(../images/media/MiniGameXS.ce68343b.png);
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-align: center;
        align-items: center;
        margin-top: 7px;
    }

        .mg-xs .box-button-light .button-light:hover {
            -webkit-filter: brightness(150%);
            filter: brightness(150%);
        }
        .mg-xs .box-button-light .button-history {
            display: inline-block;
            width: 66px;
            height: 67px;
            background-position: -121px -73px;
        }
        .mg-xs .box-button-light .button-guide {
            display: inline-block;
            width: 66px;
            height: 67px;
            background-position: -811px -2px;
        }

        .mg-xs .box-button-light .button-rank {
            display: inline-block;
            width: 66px;
            height: 67px;
            background-position: -191px -73px;
        }

.mg-xs .box-button-light .button-close {
    display: inline-block;
    width: 66px;
    height: 67px;
    background-position: -741px -2px;
}

 

.mg-xs .box-button-light .ic-close {
    width: 21px;
    height: 22px;
    background-repeat: no-repeat;
    background-image: url(../images/media/MiniGameXS.ce68343b.png);
    background-position: -2px -1047px;
    position: absolute;
    top: 21px;
    left: 22px;
}

    .mg-xs .bet {
        -ms-flex: 1 1;
        flex: 1 1;
        position: absolute;
        top: 14px;
        left: 158px;
        width: 1155px;
    }
    .mg-xs .bet .xs-h {
        width: 1151px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: justify;
        justify-content: space-between;
        position: absolute;
        top: 19px;
    }
        .mg-xs .bet .xs-ts {
            position: absolute;
            top: 88px;
            width: 100%;
        }




        .mg-xs .bet .dropbox {
           
            position: absolute;
            left: 30px;
        }


        .mg-xs .kq .dropbox {
            position: absolute;
            right: 0px;
        }




    .mg-xs .dropbox .db-active {
        display: inline-block;
        width: 262px;
        height: 63px;
        background-repeat: no-repeat;
        background-image: url(../images/media/MiniGameXS.ce68343b.png);
        background-position: -311px -2px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-align: center;
        align-items: center;
        color: #ded3ff;
        font-size: 22px;
        line-height: 50px;
        font-weight: 700;
        position: relative;
        cursor: pointer;
    
}
    .mg-xs .kq_h .dropbox .db-active {
        width: 162px;
        height: 50px;
        background-position: -19px -186px;
        font-size: 20px;
    }



.mg-xs .dropbox .db-active:before {
    content: " ";
    display: inline-block;
    width: 22px;
    height: 12px;
    background-repeat: no-repeat;
    background-image: url(../images/media/MiniGameXS.ce68343b.png);
    background-position: -121px -2px;
    position: absolute;
    top: 17px;
    right: 11px;
}

.mg-xs .kq_h .dropbox .db-active:before {
        
    right: 6px;
}



.mg-xs .dropbox .dropdown {
    width: 146px;
    height: 51px;
    position: absolute;
    top: 46px;
    background: #fff;
    z-index: 5;
    list-style: none;
    display: none;
    -webkit-box-shadow: 0 4px 15px rgba(0,0,0,.2);
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}

.mg-xs .kq_h .dropbox .dropdown {
    width: 156px;
    height: auto;
    position: absolute;
    top: 46px;
    left: 4px;
    background: #fff;
    z-index: 5;
    list-style: none;
    display: none;
    -webkit-box-shadow: 0 4px 15px rgba(0,0,0,.2);
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}

.mg-xs .dropbox .dropdown .row {
    width: 100%;
    height: 50px;
    display: block;
    color: #261c47;
    font-size: 24px;
    font-weight: 700;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    border-bottom: 1px solid #aaa;
    cursor: pointer;
}
 

    .mg-xs .kq_h .dropbox .dropdown .row {
        width: 100%;
        height: 45px;
        display: block;
        color: #261c47;
        font-size: 22px;
        font-weight: 700;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-align: center;
        align-items: center;
        border-bottom: 1px solid #aaa;
        cursor: pointer;
    }
    .mg-xs .dropbox .dropdown .row:hover {
        color: #6f74c7;
    }




.mg-xs .bet .xs-h .time h3 {
    display: inline-block;
}
.mg-xs .bet .xs-h .time {
    font-size: 23px;
    font-weight: 700;
    color: #fff;
    position: absolute;
    width: 488px;
    left: 1174px;
    top: 15px;
    text-align: center;
}
.mg-xs .bet .xs-h .time span {
    color: #fff000;
    font-size: 25px;
}


    .mg-xs .bet .xs-r {
        background: #12013e;
        border-radius: 10px;
        width: 100%;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: 15px 0;
    }
.mg-xs .bet .xs-r .col {
    width: 500px;
    padding: 2px 58px 22px 13px;
}
.mg-xs .bet .xs-r .col div {
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
}
.mg-xs .bet .xs-r .col p {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 20px;
}
        .mg-xs .bet .xs-r .col input {
            background: #fff;
            -ms-flex: 1 1;
            flex: 1 1;
            border-radius: 12px;
            border: none;
            padding: 12px;
            margin: 0 5px;
            font-size: 22px;
            font-weight: 600;
            color: #000;
            width: 100%;
        }
.mg-xs .bet .xs-r .col span {
    display: block;
    font-size: 20px;
    color: #9b91c1;
    padding-bottom: 10px;
}

.mg-xs .bet .xs-r .act {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex: 1 1;
    flex: 1 1;
}
.mg-xs .bet .xs-r .act .button-bet {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    width: 95px;
    height: 93px;
    background-repeat: no-repeat;
    background-image: url(../images/media/MiniGameXS.ce68343b.png);
    background-position: -2px -2px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

    .mg-xs .bet .title {
        width: 1020px;
        text-align: center;
        display: block;
        font-size: 22px;
        font-weight: 600;
        color: #fff;
        position: absolute;
        top: 36px;
        left: 120px;
    }

    .mg-xs .kq {
        position: absolute;
        width: 526px;
        left: 1313px;
        top: 110px;
    }

    .mg-xs .kq .xs-b {
        overflow: hidden;
        width: auto;
        height: 832px;
      
    }

        .mg-xs .kq .xs-b .table-primary {
            width: 526px;
            position: absolute;
            top: 60px;
        }
    .mg-xs .kq .xs-b table {
       
        border-collapse: collapse;
        width: 100%;
        font-weight: 600;
    }

    .mg-xs .kq .xs-b table thead tr {
        background: 0 0;
    }
    .mg-xs .kq .xs-b table thead tr th {
        text-align: left;
        font-size: 24px;
        font-weight: 600;
        color: #00fffc;
        padding: 5px;
        /* border: 1px solid #d4c8fb; */
        height: 45px;
    }
    .mg-xs .kq .xs-b table tbody tr {
        background: rgba(23,19,76,.2);
    }
    .mg-xs .kq .xs-b table td {
        border: 1px solid #6563b6;
        border-collapse: collapse;
        text-align: center;
        font-size: 18px;
        color: #c1c2f7;
        font-weight: 600;
        padding: 8px 0;
    }
    .mg-xs .kq .xs-b .table-primary table td {
        padding: 11px 0;
    }
        .mg-xs .kq .xs-b .table-secondary {
            width: 526px;
            position: absolute;
            top: 442px;
            border-bottom-right-radius: 28px;
            overflow: hidden;
        }


        .mg-xs .kq .xs-b table tbody tr.num-type2 p {
            width: 50%;
            float: left;
            border-right: 1px solid #6563b6;
        }
        .mg-xs .kq .xs-b table tbody tr.num-type3 p {
            width: 16%;
            float: left;
            border-right: 1px solid #6563b6;
        }
        .mg-xs .kq .xs-b table tbody tr.num-type4 p {
            width: 25%;
            float: left;
            border-right: 1px solid #6563b6;
        }
        .mg-xs .kq .xs-b table tbody tr.num-type5 p {
            width: 16%;
            float: left;
            border-right: 1px solid #6563b6;
        }
        .mg-xs .kq .xs-b table tbody tr.num-type6 p {
            width: 33%;
            float: left;
            border-right: 1px solid #6563b6;
        }
    .mg-xs .kq .xs-b table tbody tr.num-type7 p {
        width: 25%;
        float: left;
        border-right: 1px solid #6563b6;
    }


    .mg-xs .kq .xs-b table tbody tr p:last-child {
        border:none;
    }

    .mg-xs .kq .kq_h {
        background: rgba(23,19,76,.4);
        height: 62px;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-align: center;
        align-items: center;
    }
    .mg-xs .kq .kq_h .name {
        color: #00fffc;
        font-size: 25px;
        font-weight: 600;
        left: 220px;
        position: absolute;
    }


    .mg-xs .bet .xs-r .col div {
        width: 100%;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        position: relative;
    }
    .mg-xs .bet .xs-r .col .number-pad {
        position: absolute;
        top: 60px;
        background: #fff;
        -webkit-box-shadow: 0 5px 20px rgba(0,0,0,.2);
        box-shadow: 0 5px 20px rgba(0,0,0,.2);
        padding: 8px;
        border-radius: 8px;
        color: #333;
        z-index: 10;
    }
    .mg-xs .bet .xs-r .col .number-pad.pad-100 {
        width: 515px;
        left: 0;
    }

        .mg-xs .bet .xs-r .col .number-pad:before {
            content: " ";
            border-bottom: 6px solid #fff;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            position: absolute;
            top: -5px;
        }
        .mg-xs .bet .xs-r .col .number-pad.pad-100:before {
            left: 20px;
        }
        .mg-xs .bet .xs-r .col .number-pad.pad-price:before {
            right: 20px;
        }

        .mg-xs .bet .xs-r .col .number-pad .choose-numbers {
            color: #fff;
            background: #9893ff;
            padding: 3px 8px;
            font-size: 16px;
        }
        .mg-xs .bet .xs-r .col .number-pad .numbers {
            display: block;
            padding: 10px 0 0 4px;
        }
  
    .mg-xs .bet .xs-r .col .number-pad .numbers span {
        display: inline-block;
        color: #333;
        font-size: 15px;
        font-weight: 500;
        width: 45px;
        height: 30px;
        border: 1px solid #d8d8d8;
        text-align: center;
        padding-top: 5px;
        margin-bottom: 3px;
        cursor: pointer;
    }
    .mg-xs .bet .xs-r .col .number-pad .action {
        padding-top: 10px;
        display: block;
    }

    .mg-xs .bet .xs-r .col .number-pad .action .button {
        background: #9893ff;
        color: #fff;
           
        font-size: 15px;
        font-weight: 500;
        padding: 5px 14px;
        border-radius: 20px;
        display: inline-block;
        margin-right: 10px;
    }
    .mg-xs .bet .xs-r .col .number-pad .action .button.button-x {
        float: right;
    }

    .mg-xs .bet .xs-r .col .number-pad .numbers span.check, .mg-xs .bet .xs-r .col .number-pad .numbers span:hover {
        background: #9893ff;
        color: #fff;
        border-color: #9893ff;
    }

    .mg-xs .bet .xs-r .col .number-pad.pad-price {
        right: 0;
        width: 400px;
    }
    .mg-xs .bet .xs-r .col .number-pad .prices {
        padding: 5px 0;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

    .mg-xs .bet .xs-r .col .number-pad .prices span {
        width: 180px;
        color: #fff;
        font-size: 18px;
        font-weight: 500;
        height: 40px;
        border: 1px solid #9893ff;
        background: #9893ff;
        text-align: center;
        padding-top: 9px;
        margin-bottom: 5px;
        cursor: pointer;
        border-radius: 5px;
    }


    .mg-xs .error_msg {
        position: absolute;
        width: 1156px;
        height: 217px;
        left: 158px;
        top: 410px;
       
        background-color: rgba(29,16,18,0);
        background-image: -webkit-linear-gradient(left,rgba(29,16,18,0) 0%,rgba(29,16,18,0.6) 5%,rgba(29,16,18,0.6) 95%,rgba(29,16,18,0) 100%);
        background-image: linear-gradient(to right,rgba(29,16,18,0) 0%,#706fd7 20%,#706fd7 80%,rgba(29,16,17,0) 100%);
        font-size: 26px;
        text-align: center;
        color: #fff;
        z-index: 99991;
        display: none;
    }


        .mg-xs .error_msg p {
            width: 100%;
            padding: 10px 100px 0px 100px;
        }