@-moz-keyframes spinner-loader
{
    0%
    {
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100%
    {
        -moz-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-webkit-keyframes spinner-loader
{
    0%
    {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100%
    {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner-loader
{
    0%
    {
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100%
    {
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.spinner-loader:not(:required)
{
    -moz-animation: spinner-loader 4s infinite linear;
    -webkit-animation: spinner-loader 4s infinite linear;
    animation: spinner-loader 4s infinite linear;
    -moz-border-radius: .5em;
    -webkit-border-radius: .5em;
    border-radius: .5em;
    -moz-box-shadow: rgba(0,0,51,0.3) 1.4em 0 0 0,rgba(0,0,51,0.3) 1em 1em 0 0,rgba(0,0,51,0.3) 0 1.4em 0 0,rgba(0,0,51,0.3) -1em 1em 0 0,rgba(0,0,51,0.3) -1.4em 0 0 0,rgba(0,0,51,0.3) -1em -1em 0 0,rgba(0,0,51,0.3) 0 -1.4em 0 0,rgba(0,0,51,0.3) 1em -1em 0 0;
    -webkit-box-shadow: rgba(0,0,51,0.3) 1.4em 0 0 0,rgba(0,0,51,0.3) 1em 1em 0 0,rgba(0,0,51,0.3) 0 1.4em 0 0,rgba(0,0,51,0.3) -1em 1em 0 0,rgba(0,0,51,0.3) -1.4em 0 0 0,rgba(0,0,51,0.3) -1em -1em 0 0,rgba(0,0,51,0.3) 0 -1.4em 0 0,rgba(0,0,51,0.3) 1em -1em 0 0;
    box-shadow: rgba(0,0,51,0.3) 1.4em 0 0 0,rgba(0,0,51,0.3) 1em 1em 0 0,rgba(0,0,51,0.3) 0 1.4em 0 0,rgba(0,0,51,0.3) -1em 1em 0 0,rgba(0,0,51,0.3) -1.4em 0 0 0,rgba(0,0,51,0.3) -1em -1em 0 0,rgba(0,0,51,0.3) 0 -1.4em 0 0,rgba(0,0,51,0.3) 1em -1em 0 0;
    display: inline-block;
    font-size: 5px;
    width: 1em;
    height: 1em;
    margin: 1.4em;
    overflow: hidden;
    text-indent: 100%;
}

.spinner-loader
{
    margin: 12px!important;
}

table.result td
{
    text-align: center;
}

@font-face
{
    src: url(~/Content/fonts/fontawesome-webfont.woff) format("truetype");
    src: url(~/Content/fonts/fontawesome-webfont.ttf) format("truetype");
}
/*style lich van nien*/
#OA_399 table
{
    border-top: 1px solid yellow;
    color: white;
    margin-top: 5px;
    width: 100%;
}

    #OA_399 table tr td
    {
        border: none;
        padding-top: 5px;
    }

    #OA_399 table tr:nth-child(1) td
    {
        font-weight: 600;
    }

    #OA_399 table tr td:nth-child(1)
    {
        width: 40%;
    }

    #OA_399 table tr:not(:nth-child(1)) td:nth-child(1) p
    {
        font-size: 13px;
    }

    #OA_399 table tr td:nth-child(2)
    {
        width: 20%;
    }

    #OA_399 table tr td:nth-child(3)
    {
        width: 40%;
    }

        #OA_399 table tr td:nth-child(3) p
        {
            margin-bottom: 3px;
            text-align: center;
        }

            #OA_399 table tr td:nth-child(3) p:nth-child(1)
            {
                font-size: 34px;
                font-weight: 600;
                margin-top: -4px;
                text-align: center;
                width: 100%;
            }

            #OA_399 table tr td:nth-child(3) p:nth-child(2)
            {
                margin-top: -5px;
                font-size: 13px;
                width: 100%;
            }

    #OA_399 table tr td:nth-child(1) p
    {
        text-align: center;
        width: 100%;
        margin-bottom: 2px;
    }

#OA_399 > p
{
    color: yellow;
    font-size: 12px;
    font-weight: 600;
    padding: 3% 0% 0% 3%;
    float: left;
}

    #OA_399 > p:nth-child(1)
    {
        margin-bottom: 0px;
    }

#OA_399 p:nth-child(1)
{
    font-size: 14px;
}

#OA_399 p
{
    font-size: 22px;
    color: yellow;
    text-decoration: none;
    float: left;
}

#OA_399 > div p:nth-child(2)
{
    font-size: 55px;
    font-weight: 600;
}

#OA_399 > div:nth-child(3) p
{
    margin-bottom: 6px;
}

#OA_399 > div:nth-child(2)
{
    width: 50%;
    float: left;
    height: 70px;
}

#OA_399 > div:nth-child(3)
{
    width: 50%;
    float: right;
    margin-bottom: 3px;
}

#OA_399 > div p:nth-child(1)
{
    margin-right: 4%;
    margin-left: 18%;
    padding-top: 8%;
}

    #OA_399 > div p:nth-child(1) i
    {
        font-size: 25px;
    }

#OA_399 > div:nth-child(2) p:nth-child(2)
{
    margin-right: 1%;
}

#OA_399 > div p:nth-child(3) i
{
    font-size: 25px;
}

#OA_399 > div p:nth-child(3)
{
    margin-left: 4%;
    padding-top: 8%;
}

#OA_399 div:nth-child(3) p:nth-child(1)
{
    color: white;
    font-weight: 600;
    font-size: 13px;
    padding-top: 4px;
}

#OA_399 div:nth-child(3) p:nth-child(2)
{
    font-size: 12px;
    padding-right: 8%;
}

#OA_399 div:nth-child(3) p
{
    color: white;
}

#OA_399 table tr:nth-child(1)
{
    color: white;
    font-weight: 600;
}

    #OA_399 table tr:nth-child(1) td
    {
        text-align: center;
    }
/*end style lich van nien*/

/*style ket qua xo so mega 6/45*/
.box-table.mega > p.title
{
    padding-top: 5px;
    width: 94%;
    font-weight: 700;
    margin-bottom: 0px;
    padding-right: 3%;
    padding-left: 3%;
    background-color: #f1f1f1;
}

    .box-table.mega > p.title:nth-child(3)
    {
        padding-bottom : 10px;
    }

.box-table.mega .resultmega
{
    width: 100%;
}

    

.box-table.mega .note
{
    width: 100%;
    text-align: center;
    background-color: #f1f1f1;
    height:34px;
    vertical-align:middle;
    padding-top:15px;
}

.box-table.mega > .valuetitle
{
    font-weight: 700;
    font-size: 14px;
    width: 100%;
    text-align: center;
    background-color: #f1f1f1;
    height:34px;
    vertical-align:middle;
}

.box-table.mega > .value
{
    font-size: 24px;
    color: red !important;
    width: 100%;
    text-align: center;
    font-weight: 700;
    height: 50px;
    vertical-align: middle;
    padding-top: 15px;
}

.box-table.mega .resultmega .chevron
{
    width: 10%;
    color: #ed1d27;
    text-align: center;
}

.box-table.mega .resultmega > ul
{
    width: 80%;
    float: left;
    margin-top: 10px;
}

    .box-table.mega .resultmega > ul li.specialnumber:nth-child(6)
    {
        margin-right: 0px !important;
    }

@media screen and (max-width: 600px) and (min-width: 441px)
{
    .box-table.mega .resultmega .specialnumber
    {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 42px;
        font-size: 32px;
        font-weight: bold;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 3%;
    }

    .box-table.mega .resultmega p
    {
        float: left;
        margin-top: 21px;
    }

    .box-table.mega .resultmega p > i
    {
        font-size: 27px;
    }
}

@media screen and (max-width: 768px) and (min-width: 760px)
{
    .box-table.mega .resultmega .specialnumber
    {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 60px;
        font-size: 36px;
        font-weight: 700;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 7%;
    }

    .box-table.mega .resultmega p
    {
        float: left;
        margin-top: 30px;
    }

    .box-table.mega .resultmega p > i
    {
        font-size: 27px;
    }
}

@media screen and (max-width: 440px) and (min-width: 376px)
{
    .box-table.mega .resultmega .specialnumber
    {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 38px;
        font-size: 24px;
        font-weight: 700;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 4%;
    }

    .box-table.mega .resultmega p
    {
        float: left;
        margin-top: 19px;
    }

    .box-table.mega .resultmega p > i
    {
        font-size: 24px;
    }
}

@media screen and (max-width: 375px) and (min-width: 321px)
{
    .box-table.mega .resultmega .specialnumber
    {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 36px;
        font-size: 23px;
        font-weight: 700;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 3%;
    }

    .box-table.mega .resultmega p
    {
        float: left;
        margin-top: 18px;
    }

    .box-table.mega .resultmega p > i
    {
        font-size: 23px;
    }
}

@media screen and (max-width:320px)
{
    .box-table.mega .resultmega .specialnumber
    {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 32px;
        font-size: 20px;
        font-weight: 700;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 3%;
    }

    .box-table.mega .resultmega p
    {
        float: left;
        margin-top: 18px;
    }

    .box-table.mega .resultmega p > i
    {
        font-size: 20px;
    }
}

@media screen and (min-width:770px)
{
    .box-table.mega .resultmega .specialnumber
    {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 50px;
        font-size: 30px;
        font-weight: 600;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 3%;
    }

    .box-table.mega .resultmega p
    {
        float: left;
        margin-top: 25px;
    }

    .box-table.mega .resultmega p > i
    {
        font-size: 27px;
    }
}



.box-table.mega table.prize
{
    width: 96%;
    margin-left: 10px;
    border: none;
}
.box-table.mega table.prize th
    {
        vertical-align: middle;
    }
    .box-table.mega table.prize td
    {
        border: none;
        font-weight: 700;
        vertical-align: middle;
    }

    .box-table.mega table.prize th:nth-child(1), .box-table.mega table.prize th:nth-child(2)
    {
        width: 25%;
        border: none;
    }

    .box-table.mega table.prize th:nth-child(3)
    {
        width: 18%;
        border: none;
    }

    .box-table.mega table.prize th:nth-child(4)
    {
        border: none;
    }

    .box-table.mega table.prize tr
    {
        height: 34px;
        
    }
        .box-table.mega table.prize tr:nth-child(odd)
        {
            background-color: #f1f1f1;
        }
    .box-table.mega table.prize td.number, .box-table.mega table.prize th.number
    {
        text-align: right;
    }

    .box-table.mega table.prize td.circle
    {
        color: red;
        font-size: 1em;
    }
        .box-table.mega table.prize td.circle i.icon-circle-blank
        {
            color:red;
        }
/*end style ket qua xo so mega 6/45*/



/*style ket qua xo so power 6/55*/
.box-table.power > p.title {
    padding-top: 5px;
    width: 94%;
    font-weight: 700;
    margin-bottom: 0px;
    padding-right: 3%;
    padding-left: 3%;
    background-color: #f1f1f1;
}

    .box-table.power > p.title:nth-child(3) {
        padding-bottom: 10px;
    }

.box-table.power .resultpower {
    width: 100%;
}



.box-table.power .note {
    width: 100%;
    text-align: center;
    background-color: #f1f1f1;
    height: 34px;
    vertical-align: middle;
    padding-top: 15px;
}

.box-table.power > .valuetitle {
    font-weight: 700;
    font-size: 14px;
    width: 100%;
    text-align: center;
    background-color: #f1f1f1;
    height: 34px;
    vertical-align: middle;
}

.box-table.power > .value {
    font-size: 24px;
    color: red !important;
    width: 100%;
    text-align: center;
    font-weight: 700;
    height: 50px;
    vertical-align: middle;
    padding-top: 15px;
}

.box-table.power .resultpower .chevron {
    width: 10%;
    color: #ed1d27;
    text-align: center;
}

.box-table.power .resultpower > ul {
    width: 80%;
    float: left;
    margin-top: 10px;
}

    .box-table.power .resultpower > ul li.specialnumber:nth-child(7) {
        margin-right: 0px !important;
    }

@media screen and (max-width: 600px) and (min-width: 441px) {
    .box-table.power .resultpower .specialnumber {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 32px;
        font-size: 22px;
        font-weight: bold;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 3%;
    }

    .box-table.power .resultpower p {
        float: left;
        margin-top: 21px;
    }

        .box-table.power .resultpower p > i {
            font-size: 17px;
        }
}

@media screen and (max-width: 768px) and (min-width: 760px) {
    .box-table.power .resultpower .specialnumber {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 50px;
        font-size: 26px;
        font-weight: 700;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 7%;
    }

    .box-table.power .resultpower p {
        float: left;
        margin-top: 30px;
    }

        .box-table.power .resultpower p > i {
            font-size: 17px;
        }
}

@media screen and (max-width: 440px) and (min-width: 376px) {
    .box-table.power .resultpower .specialnumber {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 28px;
        font-size: 14px;
        font-weight: 700;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 4%;
    }

    .box-table.power .resultpower p {
        float: left;
        margin-top: 19px;
    }

        .box-table.power .resultpower p > i {
            font-size: 14px;
        }
}

@media screen and (max-width: 375px) and (min-width: 321px) {
    .box-table.power .resultpower .specialnumber {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 26px;
        font-size: 13px;
        font-weight: 700;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 3%;
    }

    .box-table.power .resultpower p {
        float: left;
        margin-top: 18px;
    }

        .box-table.power .resultpower p > i {
            font-size: 13px;
        }
}

@media screen and (max-width:320px) {
    .box-table.power .resultpower .specialnumber {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 22px;
        font-size: 10px;
        font-weight: 700;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 3%;
    }

    .box-table.power .resultpower p {
        float: left;
        margin-top: 18px;
    }

        .box-table.power .resultpower p > i {
            font-size: 10px;
        }
}

@media screen and (min-width:770px) {
    .box-table.power .resultpower .specialnumber {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px #fff solid;
        color: #ed1d27;
        border-color: #ed1d27;
        line-height: 40px;
        font-size: 20px;
        font-weight: 600;
        padding: 0;
        text-align: center;
        float: left;
        margin-right: 3%;
    }

    .box-table.power .resultpower p {
        float: left;
        margin-top: 25px;
    }

        .box-table.power .resultpower p > i {
            font-size: 17px;
        }
}



.box-table.power table.prize {
    width: 96%;
    margin-left: 10px;
    border: none;
}

    .box-table.power table.prize th {
        vertical-align: middle;
    }

    .box-table.power table.prize td {
        border: none;
        font-weight: 700;
        vertical-align: middle;
    }

    .box-table.power table.prize th:nth-child(1), .box-table.power table.prize th:nth-child(2) {
        width: 25%;
        border: none;
    }

    .box-table.power table.prize th:nth-child(3) {
        width: 18%;
        border: none;
    }

    .box-table.power table.prize th:nth-child(4) {
        border: none;
    }

    .box-table.power table.prize tr {
        height: 34px;
    }

        .box-table.power table.prize tr:nth-child(odd) {
            background-color: #f1f1f1;
        }

    .box-table.power table.prize td.number, .box-table.power table.prize th.number {
        text-align: right;
    }

    .box-table.power table.prize td.circle {
        color: red;
        font-size: 1em;
    }

        .box-table.power table.prize td.circle i.icon-circle-blank {
            color: red;
        }
/*end style ket qua xo so power 6/55*/



/*style ket qua max 4d*/


.box-table.mega table.prizemax4d
{
    width: 96%;
    margin-left: 10px;
    border: none;
}
.box-table.mega table.prizemax4d tr:nth-child(odd) {
    background-color: #f1f1f1;
}
    .box-table.mega table.prizemax4d th
    {
        vertical-align: middle; 
    }
    .box-table.mega table.prizemax4d td
    {
        border: none;
        font-weight: 700;

      display: table-cell;
      vertical-align: middle; 
    }

    .box-table.mega table.prizemax4d th:nth-child(1)
    {
        width: 25%;
        border: none;
    }

    .box-table.mega table.prizemax4d th:nth-child(2)
    {
        text-align: center;
        border: none;
    }

    .box-table.mega table.prizemax4d th:nth-child(3)
    {
        width: 20%;
        border: none;
    }

    .box-table.mega table.prizemax4d th:nth-child(4)
    {
        width: 30%;
        border: none;
    }

    .box-table.mega table.prizemax4d tr
    {
        height: 34px;
    }

    .box-table.mega table.prizemax4d td.number, .box-table.mega table.prizemax4d th.number
    {
        text-align: right;
    }

    .box-table.mega table.prizemax4d td.aligncenter
    {
        text-align: center;
        
    }

    .box-table.mega table.prizemax4d td p.maxresult
    {
        text-align: right;
        width: 100%;
    }

.box-table.mega .resultmax
{
    width: 100%;
}

    .box-table.mega .resultmax .rowmax
    {
        width: 100%;
        margin-top: 20px;
    }


        .box-table.mega .resultmax .rowmax.bgcolor
        {
             background-color: #f1f1f1;
                 height: auto;
            overflow: hidden;
            padding-bottom: 10px;
            padding-top: 10px;
        }
   

        .box-table.mega .resultmax p.chevron i
        {
            font-size: 25px;
            color: #ed1d27;
        }

    .box-table.mega .resultmax .rowmax:nth-child(1) p:nth-child(1)
    {
        width: 32%;
        text-align: center;
        float: left;
        padding-left: 2%;
    }

    .box-table.mega .resultmax .rowmax:nth-child(1) p:nth-child(2)
    {
        width: 64%;
        text-align: center;
        float: left;
    }

    .box-table.mega .resultmax .rowmax:nth-child(1) div
    {
        width: 31%;
        text-align: center;
        float: left;
        padding-right: 1%;
    }

        .box-table.mega .resultmax .rowmax:nth-child(1) div:nth-child(3)
        {
            padding-left: 2%;
        }

        .box-table.mega .resultmax .rowmax:nth-child(1) div:nth-child(4)
        {
            padding-left: 2%;
        }

@media screen and (min-width:770px)
{
     .box-table.mega .resultmax .rowmax p.titleprize
        {
            font-size: 16px;
            font-weight: 700;
        }
     .box-table.mega .resultmax .rowmax:nth-child(1) div ul li
        {
            width: 27px;
            height: 27px;
            border-radius: 50%;
            border: 3px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 28px;
            font-size: 19px;
            font-weight: 600;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }

     .box-table.mega .resultmax .rowmax:nth-child(3) div ul li
        {
            width: 27px;
            height: 27px;
            border-radius: 50%;
            border: 3px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 27px;
            font-size: 19px;
            font-weight: 600;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 3%;
        }

      .box-table.mega .resultmax .rowmax:nth-child(5) div ul li
        {
            width: 27px;
            height: 27px;
            border-radius: 50%;
            border: 3px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 27px;
            font-size: 19px;
            font-weight: 600;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 3%;
        }

       .box-table.mega .resultmax p.chevron
    {
        position: absolute;
        margin-top: -110px;
    }

        .box-table.mega .resultmax p.chevron:nth-child(6)
        {
            margin-left: 0.2%;
        }

        .box-table.mega .resultmax p.chevron:nth-child(7)
        {
            margin-left: 465px;
        }


}

@media screen and (max-width:320px)
{
     .box-table.mega .resultmax p.chevron
    {
        position: absolute;
        margin-top: -96px;
    }

        .box-table.mega .resultmax p.chevron:nth-child(6)
        {
            margin-left: 1.2%;
        }

        .box-table.mega .resultmax p.chevron:nth-child(7)
        {
            margin-left: 99%;
        }
     .box-table.mega .resultmax .rowmax p.titleprize
        {
            font-size: 13px;
            font-weight: 700;
        }
     .box-table.mega .resultmax .rowmax:nth-child(1) div ul li
        {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 18px;
            font-size: 12px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }

     .box-table.mega .resultmax .rowmax:nth-child(3) div ul li
        {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 18px;
            font-size: 12px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }

      .box-table.mega .resultmax .rowmax:nth-child(5) div ul li
        {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 18px;
            font-size: 12px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }


}     

@media screen and (max-width: 375px) and (min-width: 321px)
{
     .box-table.mega .resultmax p.chevron
    {
        position: absolute;
        margin-top: -98px;
    }

        .box-table.mega .resultmax p.chevron:nth-child(6)
        {
            margin-left: 1.2%;
        }

        .box-table.mega .resultmax p.chevron:nth-child(7)
        {
            margin-left: 99%;
        }
     .box-table.mega .resultmax .rowmax p.titleprize
        {
            font-size: 15px;
            font-weight: 700;
        }
     .box-table.mega .resultmax .rowmax:nth-child(1) div ul li
        {
            width: 21px;
            height: 21px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 21px;
            font-size: 14px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }

     .box-table.mega .resultmax .rowmax:nth-child(3) div ul li
        {
            width: 21px;
            height: 21px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 21px;
            font-size: 14px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }

      .box-table.mega .resultmax .rowmax:nth-child(5) div ul li
        {
            width: 21px;
            height: 21px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 21px;
            font-size: 14px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }


}

@media screen and (max-width: 440px) and (min-width: 376px)
{
     .box-table.mega .resultmax p.chevron
    {
        position: absolute;
        margin-top: -98px;
    }

        .box-table.mega .resultmax p.chevron:nth-child(6)
        {
            margin-left: 1.2%;
        }

        .box-table.mega .resultmax p.chevron:nth-child(7)
        {
            margin-left: 94%;
        }
     .box-table.mega .resultmax .rowmax p.titleprize
        {
            font-size: 16px;
            font-weight: 700;
        }
     .box-table.mega .resultmax .rowmax:nth-child(1) div ul li
        {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 24px;
            font-size: 16px;
            font-weight: 700;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }

     .box-table.mega .resultmax .rowmax:nth-child(3) div ul li
        {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 24px;
            font-size: 16px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }

      .box-table.mega .resultmax .rowmax:nth-child(5) div ul li
        {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 24px;
            font-size: 16px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }


}

@media screen and (max-width: 600px) and (min-width: 441px)
{
     .box-table.mega .resultmax p.chevron
    {
        position: absolute;
        margin-top: -20%;
    }

        .box-table.mega .resultmax p.chevron:nth-child(6)
        {
            margin-left: 1.2%;
        }

        .box-table.mega .resultmax p.chevron:nth-child(7)
        {
            margin-left: 94%;
        }
     .box-table.mega .resultmax .rowmax p.titleprize
        {
            font-size: 16px;
            font-weight: 700;
        }
     .box-table.mega .resultmax .rowmax:nth-child(1) div ul li
        {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 24px;
            font-size: 21px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }

     .box-table.mega .resultmax .rowmax:nth-child(3) div ul li
        {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 24px;
            font-size: 21px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }

      .box-table.mega .resultmax .rowmax:nth-child(5) div ul li
        {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 24px;
            font-size: 21px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }


}

@media screen and (max-width: 768px) and (min-width: 601px)
{
     .box-table.mega .resultmax p.chevron
    {
        position: absolute;
        margin-top: -110px;
    }

        .box-table.mega .resultmax p.chevron:nth-child(6)
        {
            margin-left: 1.2%;
        }

        .box-table.mega .resultmax p.chevron:nth-child(7)
        {
            margin-left: 94%;
        }
     .box-table.mega .resultmax .rowmax p.titleprize
        {
            font-size: 16px;
            font-weight: 700;
        }
     .box-table.mega .resultmax .rowmax:nth-child(1) div ul li
        {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 35px;
            font-size: 22px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }

     .box-table.mega .resultmax .rowmax:nth-child(3) div ul li
        {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 35px;
            font-size: 22px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }

      .box-table.mega .resultmax .rowmax:nth-child(5) div ul li
        {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            border: 2px #fff solid;
            color: #ed1d27;
            border-color: #ed1d27;
            line-height: 35px;
            font-size: 22px;
            font-weight: bold;
            padding: 0;
            text-align: center;
            float: left;
            margin-right: 2%;
        }


}
    .box-table.mega .resultmax .rowmax:nth-child(3) p:nth-child(1)
    {
        width: 96%;
        text-align: center;
        float: left;
        padding-left: 2%;
    }

    .box-table.mega .resultmax .rowmax:nth-child(3) div
    {
        width: 31%;
        text-align: center;
        float: left;
        padding-right: 1%;
    }

        .box-table.mega .resultmax .rowmax:nth-child(3) div:nth-child(2)
        {
            padding-left: 2%;
        }

        .box-table.mega .resultmax .rowmax:nth-child(3) div:nth-child(3)
        {
            padding-left: 2%;
        }

        

    .box-table.mega .resultmax .rowmax:nth-child(5) > p
    {
        width: 48%;
        text-align: center;
        float: left;
    }

        .box-table.mega .resultmax .rowmax:nth-child(5) > p:nth-child(1)
        {
            padding-left: 2%;
        }

    .box-table.mega .resultmax .rowmax:nth-child(5) div
    {
        width: 48%;
        text-align: center;
        float: left;
    }

    .box-table.mega .resultmax .rowmax:nth-child(5) > div:nth-child(1)
    {
        padding-left: 2%;
    }

    .box-table.mega .resultmax .rowmax:nth-child(5) div ul
    {
        width: 70%;
        text-align: right;
        margin-left: 23%;
    }

       
/*end style ket qua max 4d*/

.tbl-xsmn, .loto-xsmn
{
    width: 100%;
    border-left: 0;
    border-right: 0;
}

    .tbl-xsmn th, .loto-xsmn th
    {
        background-color: #ECEAEB;
        color: #00008b;
    }

        .tbl-xsmn th a, .tbl-xsmn th, .loto-xsmn th a, .loto-xsmn th
        {
            color: #00008b;
        }

    .tbl-xsmn, .tbl-xsmn td, .tbl-xsmn th, .loto-xsmn, .loto-xsmn td, .loto-xsmn th
    {
        border-collapse: collapse;
        border: 1px solid black;
        font-weight: bold;
        text-align: center;
        line-height: 150%;
        vertical-align: middle;
        border-left: 0;
    }

        .tbl-xsmn td:first-child
        {
            width: 21%;
            text-align: left!important;
            font-weight: normal!important;
            font-size: 13px!important;
        }

        .loto-xsmn td:first-child
        {
            width: 21%;
            color: #cd0102;
        }

        .tbl-xsmn td, .loto-xsmn td
        {
            padding: 5px;
            font-size: 16px;
        }

        .tbl-xsmn th, .loto-xsmn th
        {
            padding: 5px;
            font-size: 14px;
        }

        .tbl-xsmn b
        {
            color: #cd0102;
            font-size: 18px;
        }

        .tbl-xsmn tr:last-child td:first-child
        {
            font-weight: bold!important;
        }

#showhomnay, #showhomnay nav ul li:first-child, .logo, .today
{
    background-image: url(/Content/images/background.png);
}

#content, #footer, #menu, #tendigit br, .clear, .margin10, hr
{
    clear: both;
}

    #menu nav ul li, #showhomnay nav ul li:first-child
    {
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;
        border: 0!important;
    }

.box-ketqua .box-table, .box-kq-toanquoc .dientoan6-36, .box-kq-toanquoc .toanquoc, .box-lichmothuong, .box-tructiep, .doso, .info-xskt, .tienich nav, .xemtheongay
{
    border: 2px solid #636363;
    border-bottom-left-radius: 9px;
    border-bottom-right-radius: 9px;
    -moz-border-radius-bottomleft: 9px;
    -moz-border-radius-bottomright: 9px;
}

.hight-light
{
    background-color: #ff0;
}

.whitesmoke a
{
    color: #f5f5f5;
}

.margin10
{
    padding: 10px 0;
    text-align: center;
}

.margin6
{
    padding: 6px 0;
    text-align: center;
    clear: both;
}

#loading
{
    position: fixed;
    top: 1px;
    right: 1px;
    width: 150px;
    z-index: 9999;
    background-color: #9ec2e7;
    visibility: hidden;
}

    #loading span
    {
        padding-top: 20px;
    }

.dau-duoi-mb, .dau-duoi-mb tr td:first-child, .result, .result tr td, .result-kqmn tbody, .result-kqmn tbody tr, .result-kqmn tbody tr td, .table-dd-tt td:first-child, .xdau-duoi, .xdau-duoi tr td:first-child
{
    border-left: 0;
}

.box-info-xskt h1, .box-info-xskt h2, .box-ketqua h2, .box-kq-toanquoc h1, .tienich h2
{
    padding-top: 10px;
    text-transform: uppercase;
}

.clear, article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section
{
    display: block;
}

.today, sub, sup
{
    position: relative;
}

.logo, .today
{
    background-repeat: no-repeat;
}

.fancybox-inner, svg
{
    overflow: hidden;
}

a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, dialog, div, dl, dt, em, embed, fieldset, figcaption, figure, font, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, html, i, iframe, img, ins, kbd, label, legend, li, main, mark, menu, meter, nav, object, ol, output, p, pre, progress, q, rp, rt, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video, xmp
{
    border: 0;
    margin: 0;
    padding: 0;
    font-size: 100%;
    ‑webkit‑text‑size‑adjust: 100%;
    -webkit-text-size-adjust: none;
}

#showhomnay, .today
{
    height: 108px;
    margin-top: 1px;
}

body, html
{
    height: 100%;
}

b, strong
{
    font-weight: 700;
}

img
{
    color: transparent;
    font-size: 0;
    vertical-align: middle;
    -ms-interpolation-mode: bicubic;
}

ol, ul
{
    list-style: none;
}

li
{
    display: list-item;
}

caption, td, th
{
    font-weight: 400;
    vertical-align: top;
    text-align: left;
}

q
{
    quotes: none;
}

small, sub, sup
{
    font-size: 75%;
}

sub, sup
{
    line-height: 0;
    vertical-align: baseline;
}

sub
{
    bottom: -.25em;
}

sup
{
    top: -.5em;
}

body
{
    font: 12px Arial,Helvetica,sans-serif;
}

code, pre
{
    font-family: Arial,Helvetica,sans-serif;
}

hr
{
    border: 0 solid #ccc;
    border-top-width: 1px;
    height: 0;
}

#showhomnay, .today
{
    border-top: 1px solid #DEA503;
}

h1
{
    font-size: 25px;
}

h2
{
    font-size: 23px;
}

h3
{
    font-size: 21px;
}

h4
{
    font-size: 19px;
}

h5
{
    font-size: 17px;
}

h6
{
    font-size: 15px;
}

ol
{
    list-style: decimal;
}

address, dl, fieldset, figure, h1, h2, h3, h4, h5, h6, hr, ol, p, pre, table, ul
{
    margin-bottom: 20px;
}

a
{
    text-decoration: none;
    color: #020201;
}

    a:hover
    {
        text-decoration: underline!important;
        color: #006400;
    }

#showhomnay nav ul li a, #showhomnay nav ul li:first-child a
{
    color: #000;
    text-decoration: none;
}

ul
{
    margin-bottom: 0;
}

table
{
    border-spacing: 0;
    border-collapse: collapse;
    margin-bottom: 10px!important;
}

td, th
{
    border: 1px solid #666;
}

#header
{
    width: 1004px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
    height: 169px;
}

    #header #header-right
    {
        float: left;
        width: 46.61%;
        height: auto;
    }

#header-left
{
    float: left;
    width: 53.39%;
    height: auto;
}

.logo-top
{
    float: left;
    width: 100%;
}

.logo
{
    float: left;
    width: 100%;
    height: 75px;
    background-position: 0 0px;
    background-color: #A00000;
}

.nb
{
    font-weight: 400!important;
}

.today
{
    float: left;
    background-position: 0 -143px;
    width: 31.7%;
}

    .today div
    {
        text-align: left;
        float: right;
        padding-right: 10px;
        position: inherit;
        top: 48px;
        left: -18px;
        line-height: 17px;
    }

        .today div span
        {
            font-size: 12px;
            color: yellow;
        }

        .today div i
        {
            font-size: 12;
            color: yellow;
        }

        .today div a.bold
        {
            font-size: 11px; /*font-weight:700;*/
            color: #fff;
        }

#showhomnay
{
    float: left;
    width: 68.3%;
    background-repeat: repeat-x;
    background-position: -167px -143px;
    background-color: #A00000;
}

    #showhomnay nav
    {
        padding-left: 3px;
        padding-right: 4px;
        box-sizing: border-box;
    }

        #showhomnay nav ul
        {
            list-style: none;
            width: 32%;
            float: left;
            margin-bottom: 0!important;
            height: 100%;
            margin-top: 4px;
        }

            #showhomnay nav ul li:first-child
            {
                border: 1px solid #D46810;
                box-sizing: border-box;
                background-repeat: repeat-x;
                height: 25px;
                line-height: 25px;
                font-weight: 700;
                border-right: 0;
                background-position: -408px -148px;
            }

            #showhomnay nav ul.mientrung li:first-child
            {
                border-right: 1px solid #D46810;
            }

.dau-duoi-mb, .dau-duoi-mb tr td, .xdau-duoi, .xdau-duoi tr td
{
    border-right: 0;
}

#showhomnay > nav > ul > li:nth-child(2)
{
    border-top: 0;
}

#showhomnay nav ul li
{
    float: left;
    height: 19.4px;
    line-height: 21px;
    width: 99%;
    margin-left: 0;
    padding-left: 20px;
    background-color: #fff;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border: 1px solid #A00000;
    border-bottom: 0;
    border-right: 0;
}

#left-content strong, #left-content ul li
{
    box-sizing: border-box;
    width: 100%;
    border-bottom: 1px solid #989898;
}

#showhomnay nav ul.mientrung li
{
    border-right: 1px solid #A00000;
    width: 100%;
}

#showhomnay nav ul li a
{
    font-size: 12px;
}

i
{
    font-size: 11px;
}

#header-right > div
{
    margin-left: 2px;
    height: 185px;
    background-image: url(/Content/images/lichvansu.png);
    background-size: 465px 185px;
    background-repeat: no-repeat;
}

#header-right a img
{
    height: 185px;
    width: 100%;
    padding-left: 3px;
    box-sizing: border-box;
}

#menu
{
    width: 1004px;
    margin: 0 auto;
    height: 35px;
    background: #020201;
}

    #menu nav ul
    {
        width: 100%;
        margin-bottom: 0;
        float: left;
    }

        #menu nav ul li
        {
            float: left;
            width: 155px;
            margin: 5px 2px 0 0;
            text-align: center;
            height: 29px;
            line-height: 29px;
            background-image: url(/Content/images/ns.png);
            border: 1px solid #4D0100;
            box-sizing: border-box;
            background-position: 1px -47px;
        }

            #menu nav ul li a
            {
                color: #fff;
                width: 100%;
                height: 100%;
                box-sizing: border-box;
                -moz-box-sizing: border-box;
                font-weight: 700;
                float: left;
            }

                #menu nav ul li a:hover
                {
                    text-decoration: none!important;
                }

            #menu nav ul li.mn-active, #menu nav ul li:hover
            {
                background-image: url(/Content/images/ns.png);
                border: 1px solid #B1770B;
                background-position: 0 -3px;
            }

                #menu nav ul li.mn-active a, #menu nav ul li:hover a
                {
                    color: #020201;
                }

    #menu > nav > ul > li:nth-child(6)
    {
        text-align: left;
        position: relative;
        padding-left: 15px;
    }

        #menu > nav > ul > li:nth-child(6):before
        {
            position: absolute;
            content: " ";
            width: 30px;
            height: 10px;
            right: 10px;
            top: 4px;
        }

#left-content ul li:before, .box-info-xskt h1:before, .box-ketqua h2:before, .box-kq-toanquoc h1:before, .kequahomqa nav ul li:before, .tienich nav ul li:before
{
    content: "";
}

#content
{
    width: 1004px;
    margin: 0 auto;
}

.box-info-xskt h1, .box-info-xskt h2, .box-ketqua h2, .box-kq-toanquoc h1, .tienich h2
{
    font-size: 13px;
    margin-bottom: 0;
}

#left-content
{
    float: left;
    width: 155px;
    line-height: 2.5;
}

    #left-content a
    {
        width: 100%;
        height: 100%;
        display: block;
    }

        #left-content a:hover
        {
            color: #006400;
            text-decoration: underline;
        }

    #left-content strong
    {
        float: left;
        padding-left: 15px;
        -moz-box-sizing: border-box;
        height: 32px;
        background: #CB0506;
        color: #fff;
        font-weight: 700;
        line-height: 34px;
        font-size: 14px;
    }

.menu-tructiep li
{
    padding-left: 5px!important;
}

#left-content ul li
{
    margin-left: 0;
    padding-left: 25px;
    float: left;
    height: 25px;
    line-height: 25px;
    background: #ccc;
    position: relative;
}

    #left-content ul li:before
    {
        position: absolute;
        background: url(/Content/images/ns.png)-185px -170px no-repeat;
        height: 10px;
        width: 10px;
        top: 7px;
        left: 7px;
    }

#left-content ul.menu-tructiep li:before
{
    display: none;
}

.bannerL
{
    margin-top: 10px;
    float: left;
    width: 100%;
}

#center-content
{
    width: 490px;
    float: left;
    padding-left: 5px;
    background-color: #fff;
}

.box-kq-toanquoc
{
    float: left;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

    .box-kq-toanquoc h1
    {
        color: #fff;
        height: 22px;
        background-color: #cb0506;
        padding-left: 5px;
        font-weight: 700;
        text-align: left;
        position: relative;
    }

        .box-kq-toanquoc h1:before
        {
            position: absolute;
            background: url(/Content/images/ns.png)0 -185px no-repeat;
            width: 130px;
            height: 32px;
            top: 0;
            right: 0;
        }

    .box-kq-toanquoc .dientoan6-36, .box-kq-toanquoc .toanquoc
    {
        float: left;
        width: 100%;
        padding: 2px 0 0 10px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        border-top: 0;
    }

nav.dientoan6-36 ul li, nav.toanquoc ul li
{
    float: left;
    line-height: 25px;
    margin-right: 11px;
}

nav.bmtq ul li
{
    float: left;
    width: 25%!important;
    line-height: 25px;
}

.box-ketqua .result-head, .result tr:nth-of-type(even), .result tr:nth-of-type(odd), .result-kqmn tr:nth-of-type(even), .result-kqmn tr:nth-of-type(odd)
{
    height: 35px;
    line-height: 35px;
}

table.result-kqmn > tbody > tr:nth-child(5) > td:nth-child(2)
{
    line-height: 25px;
}

.result-kqmn tr td:first-child
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-left: 3px;
    vertical-align: middle;
}

nav.dientoan6-36 ul li:nth-of-type(7), nav.dientoan6-36 ul li:nth-of-type(8)
{
    width: 50%;
}

nav.toanquoc ul li a
{
    font-weight: 700;
}

a.mbx, a.mbx:visited
{
    color: #00008b;
}

a.mnx, a.mnx:visited
{
    color: purple;
}

a.mtx, a.mtx:visited
{
    color: #dc143c;
}

a.mega, a.mega:visited
{
    color: #DC13AE;
}

a.max4d, a.max4d:visited
{
    color: #006400;
}

.nobold
{
    font-weight: 400;
}

.box-adv-1
{
    float: left;
    width: 100%;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.box-info-xskt h1, .box-info-xskt h2, .box-ketqua h2, .box-ketqua h3, .tienich h2
{
    padding-left: 5px;
    text-align: left;
}

.box-info-xskt, .box-ketqua
{
    float: left;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

    .box-ketqua .box-table
    {
        float: left;
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        border-top: 0;
    }

.box-tructiep
{
    float: left;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-top: 0;
    background: #FC0;
}

.box-lichmothuong
{
    float: left;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border-top: 0;
    padding: 10px;
}

.box-ketqua h2
{
    color: #fff;
    height: 22px;
    background-color: #cb0506;
    font-weight: 700;
    position: relative;
}

    .box-ketqua h2:before
    {
        position: absolute;
        background: url(/Content/images/ns.png)0 -185px no-repeat;
        width: 130px;
        height: 32px;
        top: 0;
        right: 0;
    }

.box-info-xskt h2, .tienich h2
{
    color: #fff;
    height: 22px;
    background-color: #cb0506;
    font-weight: 700;
    position: relative;
}

    .box-info-xskt h2:before, .tienich h2:before
    {
        position: absolute;
        content: "";
        background: url(/Content/images/ns.png)0 -185px no-repeat;
        width: 130px;
        height: 32px;
        top: 0;
        right: 0;
    }

.box-info-xskt h1
{
    color: #fff;
    height: 22px;
    background-color: #cb0506;
    font-weight: 700;
    position: relative;
}

    .box-info-xskt h1:before
    {
        position: absolute;
        background: url(/Content/images/ns.png)0 -185px no-repeat;
        width: 130px;
        height: 32px;
        top: 0;
        right: 0;
    }

.box-ketqua h3
{
    margin: 0;
    font-weight: 700;
    font-style: italic;
    color: gray;
    font-size: 12px;
    word-spacing: 1px;
    line-height: initial;
    padding: 5px;
}

.result em, .sp em
{
    font-style: normal;
}

.result tr td:last-child, .result-kqmn tr td:last-child, .result-prize
{
    color: #000;
    font-size: 13px;
    padding-left: 5px!important;
}

.box-info-xskt, .box-table, .box-table article, .info-xskt p, .tienich
{
    margin-bottom: 10px;
}

.box-ketqua .result, .box-ketqua .result-kqmn
{
    float: left;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.box-ketqua .result-head
{
    padding-left: 5px;
    box-sizing: border-box;
}

.box-ketqua table.result td
{
    vertical-align: middle;
}

.row-double1 td.result-prize-name
{
    line-height: 50px!important;
}

.row-double1 td.result-prize
{
    line-height: 180%!important;
    padding-top: 3px;
}

.result-prize
{
    text-align: center;
    font-weight: 700;
}

.result > tbody > tr:nth-child(1) > th:nth-child(1), .result > tbody > tr:nth-child(1) > th:nth-child(3)
{
    padding-left: 5px;
}

.result > tbody > tr:nth-child(1) > th
{
    font-weight: 700;
    background: #ECEAEB;
}

.result tbody tr th
{
    border-left: 0;
    border-right: 0;
}

.result em
{
    color: #cd0102;
    font-size: 18px;
    width: 295px;
    text-align: center;
    display: block;
    font-weight: 700;
}

.dau-duoi-mb, .xdau-duoi
{
    width: 22.45%;
    -moz-box-sizing: border-box;
    float: left;
}

#right-content, .dau-duoi-mb, .tienich, .xdau-duoi
{
    box-sizing: border-box;
}

    .dau-duoi-mb tbody + tr td:first-child, .xdau-duoi tbody + tr td:first-child
    {
        text-align: center;
        line-height: 28px;
        font-weight: 700;
    }

    .dau-duoi-mb tr:nth-child(1), .xdau-duoi tr:nth-child(1)
    {
        background-color: #dcdcdc!important;
        height: 28px;
        line-height: 28px;
    }

    .dau-duoi-mb tr, .xdau-duoi tr
    {
        background-color: #fff;
        height: 28px;
    }

    .dau-duoi td, .dau-duoi-mb td, .xdau-duoi td
    {
        text-align: center;
        line-height: 150%;
        font-weight: 700;
        font-size: 14px;
    }

.box-table article span
{
    font-size: 16px;
    font-weight: 700;
    color: #cd0102;
}

.box-table article
{
    text-align: center;
    float: left;
    width: 100%;
}

.info-xskt
{
    padding-left: 15px;
    padding-right: 15px;
    line-height: 1.5;
    border-top: 0;
}

#right-content
{
    float: left;
    width: 354px;
    padding-left: 4px;
}

.tienich
{
    float: left;
    width: 100%;
}

    .doso, .tienich nav, .xemtheongay
    {
        border-top: 0;
        float: left;
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

        .tienich nav ul li
        {
            float: left;
            width: 50%;
            padding-left: 25px;
            -moz-box-sizing: border-box;
            height: 35px;
            line-height: 35px;
            position: relative;
        }

        .box-adv-r, .cal-nav, .tienich nav ul li
        {
            box-sizing: border-box;
        }

            .tienich nav ul li:before
            {
                background: url(/Content/images/ns.png)-180px -296px no-repeat;
                position: absolute;
                width: 16px;
                height: 16px;
                top: 9px;
                left: 4px;
            }

.kequahomqa nav ul li:before
{
    position: absolute;
    background: url(/Content/images/ns.png)-187px -327px no-repeat;
    height: 10px;
    width: 10px;
    top: 12px;
    left: 8px;
}

.tienich nav ul li a
{
    font-weight: 700;
}

div.tienich > nav > ul > li:nth-child(1), div.tienich > nav > ul > li:nth-child(2), div.tienich > nav > ul > li:nth-child(5), div.tienich > nav > ul > li:nth-child(6)
{
    background: #ECEAEB;
}

div.tienich > nav > ul > li:last-child
{
    border-bottom-right-radius: 9px;
    -moz-border-radius-bottomright: 9px;
}

div.tienich > nav > ul > li:nth-child(5)
{
    border-bottom-left-radius: 9px;
    -moz-border-radius-bottomleft: 9px;
}

.box-adv-r
{
    float: left;
    width: 100%;
    padding-bottom: 10px;
    text-align: center;
}

.doso
{
    padding: 10px;
    position: relative;
}

    .doso div
    {
        height: 20px;
        line-height: 20px;
        margin-bottom: 5px;
    }

        .doso div p
        {
            float: left;
            width: 90px;
            margin-bottom: 0;
        }

.doso-xemkq
{
    background: url(/Content/images/ns.png)0 -361px no-repeat;
    width: 90px;
    height: 77px!important;
    cursor: pointer;
    float: left;
    margin-left: 10px;
    position: absolute;
    top: 0;
    right: 8px;
}

.cal-nav
{
    text-align: center;
    border: 1px solid #000;
    padding: 3px;
    width: 268px;
    margin: 10px auto 0;
    -moz-box-sizing: border-box;
}

.calendar
{
    width: 260px;
    text-align: center;
    margin: 0 auto;
}

    .calendar tr th
    {
        height: 25px;
        text-align: center;
        font-weight: 700;
        color: #00008b;
        font-size: 14px;
        border-top: 0;
    }

    .calendar tr td
    {
        line-height: 250%;
        text-align: center;
        padding: 1px;
    }

        .calendar tr td a:link
        {
            font-weight: 700;
        }

#footer
{
    width: 1004px;
    margin: 0 auto;
    height: 65px;
    background-color: #666;
    text-align: center;
}

.percent, .percent-2
{
    right: 0;
    top: 8px;
    margin-right: 10px;
}

footer
{
    float: left;
    width: 100%;
    text-align: center;
    height: 100%;
    display: table;
    position: relative;
    border-bottom: 2px solid #CC0001;
}

    footer ul
    {
        height: 100%;
        display: inline-table;
        padding-top: 30px;
    }

        footer ul li
        {
            float: left;
            width: inherit;
            text-align: center;
            padding-left: 5px;
            padding-right: 5px;
            border-right: 1px solid #000;
        }

            .table-dd-tt td:last-child, footer ul li:last-child
            {
                border-right: 0;
            }

            footer ul li a
            {
                color: #fff;
                font-weight: 700;
            }

    footer a.rss
    {
        position: absolute;
        right: 10px;
        top: 10px;
        font-weight: 700;
    }

.footer-bot
{
    float: left;
    width: 100%;
    text-align: center;
    height: 50px;
    background-color: #E3E3E3;
}

.fcopyright
{
    padding-top: 10px;
    padding-bottom: 5px;
}

.phidichvu
{
    padding-bottom: 10px;
}

#btnMenu, .backtotop, .ketquahnayhomqua, .logoHMT, .showmenunav
{
    display: none;
}

.theovungmien li a
{
    font-weight: 400!important;
}

#center-content > div.box-kq-toanquoc > nav.theovungmien > ul > li:nth-child(4), #center-content > div.box-kq-toanquoc > nav.theovungmien > ul > li:nth-child(5)
{
    width: 50%;
}

.boxcapso, .boxcapsoit, .info-xskt, .title-info
{
    box-sizing: border-box;
    width: 100%;
}

.info-xskt
{
    float: left;
    -moz-box-sizing: border-box;
}

.box-info-xskt .thongkemien
{
    padding-left: 0;
    padding-right: 0;
}

.title-info
{
    font-weight: 700;
    background: #d8d6d7;
    min-height: 30px;
    line-height: 30px;
    float: left;
    padding-left: 5px;
    height: auto;
}

#rcouple div, #tendigit div, .center-note > b
{
    padding-left: 10px;
}

.result-tt tr, .result-tt-mb tr
{
    line-height: 20px;
    height: auto;
    min-height: 20px;
}

.boxcapso, .boxcapsoit
{
    float: left;
    -moz-box-sizing: border-box;
}

    .boxcapso .capso, .boxcapsoit .capsoit
    {
        height: 25px;
        line-height: 25px;
        float: left;
        width: 100%;
    }

.percent, .percent-2
{
    display: inline-block;
    height: 10px;
    float: right;
    margin-top: 5px;
}

.boxcapso .capso p
{
    margin-bottom: 0;
    float: left;
}

    .boxcapso .capso p:nth-of-type(1), .boxcapso .capso p:nth-of-type(2)
    {
        width: 10%;
        text-align: center;
    }

    .boxcapso .capso p:nth-of-type(3)
    {
        width: 5%;
        text-align: center;
    }

    .boxcapso .capso p:nth-of-type(4)
    {
        width: 75%;
    }

.boxcapso div
{
    margin-bottom: 0;
    line-height: 22px;
    float: left;
}

#couple div:nth-of-type(4n+1)
{
    width: 40px!important;
    text-align: center;
}

#couple div:nth-of-type(2n)
{
    width: 45px;
    text-align: center;
}

#couple div:nth-of-type(2n+1)
{
    text-align: center;
}

#couple div:nth-of-type(2n+3)
{
    width: 8%;
}

#couple > div.balance + div, #couple > div.down + div, #couple > div.up + div
{
    width: 75%;
    text-align: left;
}

#couple > div.balance, #couple > div.down, #couple > div.up
{
    width: 20px;
}

#rcouple div
{
    float: left;
    text-align: left!important;
    box-sizing: border-box;
    width: 22%!important;
}

#rcouple div, #tendigit div
{
    margin-bottom: 4px;
    line-height: 23px;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

#rcouple > div:nth-child(3n)
{
    display: none;
}

#rcouple div:nth-of-type(2n), #rcouple div:nth-of-type(2n+1), #rcouple div:nth-of-type(4n+1)
{
    width: 20%;
    text-align: center;
}

#rcouple > div.up + div
{
    width: 20%;
    text-align: left;
}

#tendigit div
{
    float: left;
    text-align: left!important;
    box-sizing: border-box;
}

    #tendigit div:nth-of-type(2n)
    {
        text-align: center;
    }

    #tendigit div:nth-of-type(2n+1)
    {
        width: 4%;
        text-align: center;
    }

    #tendigit div:nth-of-type(4n+1)
    {
        width: 10%;
        text-align: center;
    }

#tendigit > div.up + div
{
    width: 35%;
    text-align: left;
}

#tendigit .up
{
    background: url(/Content/images/ns.png)-31px -292px no-repeat;
}

#tendigit .down
{
    background: url(/Content/images/ns.png)-13px -291px no-repeat;
}

#tendigit .balance
{
    background: url(/Content/images/ns.png)7px -292px no-repeat;
}

.tkdauduoi .capso p:nth-of-type(1), .tkdauduoi .capso p:nth-of-type(2)
{
    width: 10%;
    text-align: center;
}

.tkdauduoi .capso p:nth-of-type(3)
{
    width: 5%;
    text-align: center;
}

.tkdauduoi .capso p:nth-of-type(4)
{
    width: 35%;
}

.tkdauduoi .capso p:nth-of-type(5)
{
    width: 40%;
    position: relative;
}

.boxcapsoit .capsoit p
{
    margin-bottom: 0;
    float: left;
}

    .boxcapsoit .capsoit p:nth-of-type(1)
    {
        width: 15%;
        text-align: center;
        font-weight: 700;
    }

    .boxcapsoit .capsoit p:nth-of-type(2)
    {
        width: 15%;
        text-align: center;
    }

    .boxcapsoit .capsoit p:nth-of-type(3)
    {
        width: 15%;
        text-align: center;
        font-weight: 700;
    }

    .boxcapsoit .capsoit p:nth-of-type(4)
    {
        width: 55%;
    }

.up
{
    background: url(/Content/images/ns.png)-33px -293px no-repeat;
}

.balance
{
    background: url(/Content/images/ns.png)4px -291px no-repeat;
}

.down
{
    background: url(/Content/images/ns.png)-15px -291px no-repeat;
}

.percent
{
    font-size: 1px;
    background-color: #006400;
    text-align: center;
}

.percent-2
{
    font-size: 1px;
    background-color: #b8860b;
    text-align: center;
}

.center-note
{
    padding-top: 10px;
    line-height: 1.8;
}

    .center-note .lich-mt tr th
    {
        background: #dcdcdc;
        text-align: center;
        font-weight: 700;
    }

    .center-note .lich-mt tr td
    {
        height: 30px;
        line-height: 30px;
        text-align: center;
    }

.red
{
    color: red;
}

.tab-mothuong nav ul li:hover a, .tt-area-active a
{
    color: #006418;
}

.box-kq-toanquoc .thongke-list
{
    margin-bottom: 10px;
}

    .box-kq-toanquoc .thongke-list i
    {
        font-size: 13px;
    }

    .box-kq-toanquoc .thongke-list ul
    {
        padding-top: 5px;
        padding-bottom: 5px;
    }

        .box-kq-toanquoc .thongke-list ul li
        {
            width: 50%;
        }

            .box-kq-toanquoc . thongke-list ul li a
            {
                text-decoration: underline;
                font-weight: 400;
            }

.box-ketqua .result-dt
{
    width: 100%;
}

.result-dt tr:nth-of-type(even)
{
    background-color: #ECEAEB;
    height: 35px;
    line-height: 35px;
}

.result-dt tr:nth-of-type(odd)
{
    height: 35px;
    line-height: 35px;
}

.result-dt tr td
{
    padding-left: 3px;
    border-left: 0;
}

    .result-dt tr td:first-child
    {
        width: 21%;
    }

    .result-dt tr td:last-child
    {
        font-weight: 700;
        text-align: center;
    }

.tab-mothuong
{
    display: table;
    text-align: center;
    width: 100%;
}

    .tab-mothuong nav
    {
        width: 100%;
        vertical-align: bottom;
        display: inline-table;
    }

.kqcapso, .lich-mt tbody tr td, .lich-mt tbody tr:first-child, .lich-mt tr td, .result-tt tr td, .soketqua, .thongke2so
{
    vertical-align: middle;
}

.tab-mothuong nav ul
{
    width: 100%;
    box-sizing: border-box;
    float: left;
}

    .tab-mothuong nav ul li
    {
        width: 33%;
        box-sizing: border-box;
        float: left;
        height: 30px;
        line-height: 30px;
        border: 1px solid #AEAEAE;
        margin-top: 1px;
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        -moz-border-radius-topleft: 8px;
        -moz-border-radius-topright: 8px;
        margin-left: 1px;
        background: #ededed;
        background: -moz-linear-gradient(top,#ededed 2%,#cecece 98%,#cecece 100%,#cecece 100%);
        background: -webkit-gradient(linear,left top,left bottom,color-stop(2%,#ededed),color-stop(98%,#cecece),color-stop(100%,#cecece),color-stop(100%,#cecece));
        background: -webkit-linear-gradient(top,#ededed 2%,#cecece 98%,#cecece 100%,#cecece 100%);
        background: -o-linear-gradient(top,#ededed 2%,#cecece 98%,#cecece 100%,#cecece 100%);
        background: -ms-linear-gradient(top,#ededed 2%,#cecece 98%,#cecece 100%,#cecece 100%);
        background: linear-gradient(to bottom,#ededed 2%,#cecece 98%,#cecece 100%,#cecece 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed',endColorstr='#cecece',GradientType=0);
    }

        .tab-mothuong nav ul li a:hover
        {
            text-decoration: none!important;
        }

        .tab-mothuong nav ul li:hover
        {
            background: #F4EBC4!important;
            border: none!important;
        }

        .tab-mothuong nav ul li a
        {
            font-weight: 700;
            text-transform: uppercase;
        }

.content-kqtructiep
{
    float: left;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    background: #F4EBC4;
    padding: 10px;
}

.tt-area-active
{
    background: #F4EBC4!important;
    border: none!important;
}

.content-kqtt
{
    background: #fff;
    border: 2px solid #636363;
    border-radius: 9px;
    padding: 10px;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
}

.quaythu, .quaythu tr, .quaythu tr td, .table-dd-tt
{
    border: 0;
}

.kqtt-info
{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-weight: 700;
    font-size: 120%;
}

.kqtt-time
{
    padding: 25px;
    text-align: center;
}

.kqcapso, .soketqua, .thongke2so
{
    line-height: 2.9;
    margin: 0 auto;
    padding: 10px;
}

.result-tt
{
    width: 100%;
}

    .result-tt tr td
    {
        text-align: center;
        font-weight: 700;
        font-size: 14px;
    }

    .result-tt tr th
    {
        text-align: center;
        font-weight: 700;
    }

    .result-tt em, .result-tt-mb em
    {
        font-style: normal;
        color: #cd0102;
        font-size: 16px;
    }

.result-mn tr td table
{
    width: 100%;
    margin-bottom: 0!important;
}

    .result-mn tr td table td.dau
    {
        width: 21%;
    }

    .result-mn tr td table td.duoi
    {
        width: 70%;
    }

.result-tt-mb
{
    float: left;
}

    .result-tt-mb + .right
    {
        float: right;
        margin: 0!important;
        width: 125px;
    }

        .result-tt-mb + .right .dau-duoi-mb
        {
            width: 100%!important;
            border-right: 1px solid #666;
            border-left: 1px solid #666;
        }

#tt-body > .result-tt-mb > tbody > tr > td
{
    text-align: center;
    vertical-align: middle;
    font-size: 15px;
    font-weight: 700;
}

    #tt-body > .result-tt-mb > tbody > tr > td:first-child
    {
        width: 15%;
    }

.result-tt-mb tr th
{
    text-align: center;
    font-weight: 700;
}

table.table-dd-tt > tbody > tr:nth-child(1)
{
    background-color: #dcdcdc;
    height: 28px;
}

.table-dd-tt td.dau, .table-dd-tt td.duoi
{
    border-top: 0;
}

.box-tructiep article
{
    text-align: center;
    line-height: 1.9;
}

    .box-tructiep article a
    {
        text-decoration: underline;
        font-weight: 700;
    }

.lich-mt
{
    width: 100%;
}

    .lich-mt tr
    {
        height: 30px;
        line-height: 30px;
    }

.kqcapso, .thongke2so
{
    width: 300px;
}

.soketqua
{
    width: 310px;
}

.sp, .tan-suat-lt
{
    width: 100%;
}

.thongke-loto
{
    margin-bottom: 10px;
}

    .thongke-loto ul li a
    {
        text-decoration: underline!important;
        font-weight: 400!important;
    }

.tan-suat-lt th
{
    background-color: #dcdcdc;
    font-weight: 700;
}

td.tslt
{
    background-color: #e1e1e1;
    color: #00008b;
}

.sp tbody > tr
{
    height: 25px;
    line-height: 25px;
}

.sp tbody tr:nth-child(1) td
{
    background: #dcdcdc;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding-left: 5px;
    font-weight: 700;
}

.sp tr td
{
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    padding: 5px;
}

.sp em
{
    font-size: 14px;
    color: #cb0506;
    font-weight: 700;
}

.sp .b9
{
    font-size: 9px;
    padding-left: 10px;
}

.doso-xemkq a
{
    display: none;
}

.ketquabd
{
    padding: 0!important;
}

.lich-mt tbody tr:first-child
{
    background: #dcdcdc;
    height: 50px;
    text-align: center;
}

    .lich-mt tbody tr:first-child th
    {
        height: 40px;
        vertical-align: middle;
        text-align: center;
        line-height: 1.5;
        font-weight: 700;
        padding: 5px;
    }

.lich-mt tbody tr td
{
    text-align: center;
}

.doso select
{
    font-size: 11px;
}

.thongke2so #cNumber
{
    width: 175px;
    margin-left: 5px;
    border: 1px solid #a19fa0;
}

.content-loto
{
    width: 844px!important;
}

#tt-body > table.result-tt.result-mn > tbody > tr:nth-child(3) > td:nth-child(1), #tt-body > table.result-tt.result-mn > tbody > tr:nth-child(3) > td:nth-child(2), #tt-body > table.result-tt.result-mn > tbody > tr:nth-child(3) > td:nth-child(3), #tt-body > table.result-tt.result-mn > tbody > tr:nth-child(3) > td:nth-child(4)
{
    vertical-align: baseline;
}

.prize-name
{
    width: 80px;
    box-sizing: border-box;
    padding-left: 5px;
}

.dau, .duoi
{
    padding-left: 0!important;
}

.prize-name, .result tr td:first-child
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dau
{
    width: 30px;
    text-align: center;
}

.duoi
{
    width: 116px;
}

.result tr td:first-child
{
    box-sizing: border-box;
}

.result p
{
    text-align: center;
    font-weight: 700;
    color: #000;
    font-size: 16px;
    word-spacing: 20px;
    width: 295px;
    margin-bottom: 0;
    line-height: 150%;
}

.result tr td
{
    padding-left: 5px;
}

.result b
{
    margin-left: 5px;
}

.result > tbody > tr:nth-child(1) > th
{
    vertical-align: middle;
}

.result .dau b
{
    margin-left: 0!important;
}

@media screen and (max-width:768px)
{
    #header-right
    {
        display: none;
    }

    .menuSpan, .result, .result em, .result p
    {
        width: 100%;
    }

    #menu > nav > ul > li:nth-child(6)
    {
        text-align: center;
        position: relative;
        padding-left: 0;
    }

    nav.dientoan6-36 ul li, nav.toanquoc ul li
    {
        float: left;
        margin-right: 12px;
        line-height: 25px;
    }

    #menu > nav > ul > li:nth-child(2)
    {
        display: none;
    }

    #menu nav ul li, .box-kq-toanquoc h1
    {
        text-align: center;
    }

    .mbx, .mnx, .mtx, nav.toanquoc ul li a
    {
        font-size: 13px;
    }

    .backtotop, .box-ketqua h2, .doso-xemkq a
    {
        line-height: 30px;
        text-align: center;
    }

    .menuSpan
    {
        height: 100%;
        position: relative;
        float: left;
        border-right: 1px solid #1D1D1D;
    }

    #menu > nav > ul > li:nth-child(2) a
    {
        border-left: 1px solid #ccc;
    }

    #btnMenu span:before, .backtotop a:before
    {
        content: " ";
    }

    #header, #header #header-right, #header-left, #menu
    {
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        background: #1d1d1d;
    }

    #header
    {
        background-color: #2E2E2E;
        height: auto;
        float: left;
        margin-top: -5px;
        margin-bottom: -5px;
    }

    #showhomnay, .rss
    {
        display: none;
    }

    #btnMenu, .ketquahnayhomqua, .showmenunav
    {
        display: block;
    }

    #showhomnay, .box-ketqua h2:before, .today
    {
        display: none;
    }

    .ketquahnayhomqua
    {
        float: right;
        width: 200px;
        margin-top: 8px;
    }

    .logo-top
    {
        width: 220px;
    }

    .logo
    {
        height: 50px;
        float: left;
        display: block;
        background: url(/Content/images/ns.png)-11px 97px;
        width: 210px;
    }

    .ketquahnayhomqua input
    {
        -webkit-appearance: none;
        border: 0;
        height: 35px;
        border-radius: 3px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        background: #c00;
        color: #fff;
        font-weight: 700;
        font-size: 100%;
        text-shadow: 0 1px 2px rgba(29,22,24,1);
        cursor: pointer;
    }

    #showhomnay, #showhomnay nav ul, #showhomnay nav ul li, #showhomnay nav ul.mientrung li, #showhomnay nav ul.mientrung li:first-child
    {
        border: none;
    }

    .showmenunav
    {
        width: 35px;
        height: 33px;
        background-image: url(/Content/images/ns.png);
        background-position: -97px -297px;
        float: right;
        margin-top: 9px;
        margin-right: 5px;
        border-radius: 3px;
        background-repeat: no-repeat;
        margin-left: 5px;
        background-size: 750%;
    }

    #showhomnay
    {
        width: 100%;
        background: #fff;
    }

        #showhomnay nav ul li:first-child
        {
            background: #fff;
            border: none;
        }

    #menu nav ul li:hover
    {
        background-image: linear-gradient(to bottom,#F1E25C 0,#FBB738 100%,#F6CA46 100%);
    }

    #menu nav ul li#btnMenu:hover
    {
        background: #333;
    }

    #menu nav ul li
    {
        background: #262627;
        background: -moz-linear-gradient(top,#262627 0,#2f302f 3%,#2f302f 12%,#2a2a2a 36%,#262627 100%);
        background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#262627),color-stop(3%,#2f302f),color-stop(12%,#2f302f),color-stop(36%,#2a2a2a),color-stop(100%,#262627));
        background: -webkit-linear-gradient(top,#262627 0,#2f302f 3%,#2f302f 12%,#2a2a2a 36%,#262627 100%);
        background: -o-linear-gradient(top,#262627 0,#2f302f 3%,#2f302f 12%,#2a2a2a 36%,#262627 100%);
        background: -ms-linear-gradient(top,#262627 0,#2f302f 3%,#2f302f 12%,#2a2a2a 36%,#262627 100%);
        background: linear-gradient(to bottom,#262627 0,#2f302f 3%,#2f302f 12%,#2a2a2a 36%,#262627 100%);
        width: 18%;
        margin: 0;
        padding: 0;
        float: left;
        line-height: 40px;
        border-radius: 0;
        height: 40px;
        border-top: 0;
        border-bottom: 0;
    }

        #menu nav ul li.mn-active
        {
            background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0,#f1e25c),color-stop(1,#fbb738),color-stop(1,#f6ca46));
            background-image: -o-linear-gradient(bottom,#f1e25c 0,#fbb738 100%,#f6ca46 100%);
            background-image: -moz-linear-gradient(bottom,#f1e25c 0,#fbb738 100%,#f6ca46 100%);
            background-image: -webkit-linear-gradient(bottom,#f1e25c 0,#fbb738 100%,#f6ca46 100%);
            background-image: -ms-linear-gradient(bottom,#f1e25c 0,#fbb738 100%,#f6ca46 100%);
            background-image: linear-gradient(to bottom,#f1e25c 0,#fbb738 100%,#f6ca46 100%);
        }

    #menu
    {
        height: auto;
    }

    #btnMenu
    {
        width: 40px!important;
        height: 40px!important;
        padding-left: 0;
        position: relative;
        border-right: 0;
        cursor: pointer;
    }

        #btnMenu span:before
        {
            position: absolute;
            left: 8px;
            width: 30px;
            background-image: url(/Content/images/ns.png);
            background-position: -361px 136px;
            height: 27px;
            top: 7px;
        }

    #center-content, #content
    {
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        float: left;
        position: relative;
        clear: both;
    }

    #center-content
    {
        padding: 0;
    }

    #left-content
    {
        position: absolute;
        top: -82px;
        left: -155px;
        height: 100%;
        margin-right: 0;
    }

    .dau-duoi-mb
    {
        width: 22.45%;
    }

    #right-content
    {
        width: 100%;
        padding: 0;
    }

    .box-ketqua h2
    {
        background: #f90;
        color: #020201;
        min-height: 30px;
        height: auto;
        padding: 0;
        vertical-align: middle;
        float: none;
    }

    .result-tt-mb
    {
        width: 68%!important;
    }

        .result-tt-mb + .right
        {
            width: 30%!important;
        }

    #footer, footer ul
    {
        width: 100%;
        float: left;
    }

    .box-ketqua .box-table
    {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        -moz-border-radius-bottomleft: 0;
        -moz-border-radius-bottomright: 0;
    }

    .doso-xemkq
    {
        background: 0 0;
        width: 116px;
        right: 5px;
        top: 33%;
    }

        .doso-xemkq a
        {
            display: block;
            margin: 0;
            background: #f90;
            padding: 10px;
            border-radius: 5px;
            font-weight: 700;
            text-decoration: none;
            font-size: 115%;
            cursor: pointer;
        }

    #menu > nav > ul > li:nth-child(6):before
    {
        display: none;
    }

    #menu nav ul
    {
        background: #262627;
        background: -moz-linear-gradient(top,#262627 0,#2f302f 3%,#2f302f 12%,#2a2a2a 36%,#262627 100%);
        background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#262627),color-stop(3%,#2f302f),color-stop(12%,#2f302f),color-stop(36%,#2a2a2a),color-stop(100%,#262627));
        background: -webkit-linear-gradient(top,#262627 0,#2f302f 3%,#2f302f 12%,#2a2a2a 36%,#262627 100%);
        background: -o-linear-gradient(top,#262627 0,#2f302f 3%,#2f302f 12%,#2a2a2a 36%,#262627 100%);
        background: -ms-linear-gradient(top,#262627 0,#2f302f 3%,#2f302f 12%,#2a2a2a 36%,#262627 100%);
        background: linear-gradient(to bottom,#262627 0,#2f302f 3%,#2f302f 12%,#2a2a2a 36%,#262627 100%);
    }

    .backtotop, .backtotop a:before
    {
        background-image: url(/Content/images/ns.png);
    }

    .backtotop
    {
        display: block;
        position: relative;
        font-weight: 700;
        font-size: 16px;
        background-position: -319px 35px;
        width: 90%;
        border-radius: 6px;
        margin: 10px auto auto;
    }

        .backtotop a
        {
            color: #575757;
            position: relative;
        }

            .backtotop a:before
            {
                position: absolute;
                background-position: -321px 138px;
                width: 32px;
                height: 30px;
                left: 99px;
            }

    #footer, footer ul
    {
        background: #050505;
    }

    #footer
    {
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

    footer ul
    {
        padding-top: 10px!important;
        padding-bottom: 10px;
        height: 100%;
        vertical-align: middle;
        display: inline-table;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

    .logoHMT
    {
        display: block;
    }

    .fcopyright, .phidichvu
    {
        display: none;
    }

    .logoHMT a
    {
        height: 43px;
        width: 160px;
        background-image: url(/Content/images/ns.png);
        background-position: -243px 94px;
        display: block;
        margin: auto;
    }

    .footer-bot
    {
        height: auto;
    }

    footer ul li
    {
        margin-bottom: 5px;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }

    .menushow
    {
        position: relative;
        left: 154px;
    }

    .result-tt
    {
        width: 100%;
    }

    #menu nav ul li.mn-active, #menu nav ul li:hover
    {
        background-position: inherit;
    }

    .ketquahnayhomqua a
    {
        float: left;
        width: 45%;
    }

        .ketquahnayhomqua a.fancybox
        {
            margin-right: 5%;
        }

    div.tienich > nav > ul > li:last-child
    {
        border-bottom-right-radius: 0;
        -moz-border-radius-bottomright: 0;
    }

    div.tienich > nav > ul > li:nth-child(5)
    {
        border-bottom-left-radius: 0;
        -moz-border-radius-bottomleft: 0;
    }

    #couple > div.balance + div, #couple > div.down + div, #couple > div.up + div
    {
        width: 82%;
    }
}

@media screen and (max-width:600px)
{
    #couple > div.balance + div, #couple > div.down + div, #couple > div.up + div
    {
        width: 75%;
    }

    .box-ketqua em
    {
        font-size: 17px;
    }

    .dau-duoi td, .dau-duoi-mb td, .xdau-duoi td
    {
        font-size: 15px;
    }

    .result-tt tr, .result-tt-mb tr
    {
        line-height: 25px;
        height: auto;
        min-height: 25px;
    }

        .result-tt tr td
        {
            text-align: center;
            font-weight: 700;
            font-size: 16px;
        }

    #tt-body > .result-tt-mb > tbody > tr > td
    {
        font-size: 16px;
    }
}

@media screen and (max-width:480px)
{
    #menu nav ul li, .result td, .result tr
    {
        text-align: center;
    }

        .result td:last-child
        {
            width: 53px;
            text-align: center;
            line-height: 155%;
            padding: 3px;
            padding-left: 0!important;
            font-size: 12px!important;
        }

        .result tr td:last-child, .result-kqmn tr td:last-child, .result-prize
        {
            padding-left: 3px!important;
        }

        .result tr td
        {
            padding: 0;
        }

    .result b
    {
        margin: 0;
    }

    footer
    {
        background-color: #050505;
    }

    #footer > footer > div.left.whitesmoke > div
    {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        color: #f5f5f5;
    }

    .tab-mothuong nav ul li
    {
        background: #670100;
        border: none;
    }

    .logo, .logo-top
    {
        width: 77px;
    }

    .tab-mothuong nav ul li:hover, .tt-area-active
    {
        background: #F5CE4B!important;
        border: none!important;
    }

    .tab-mothuong nav ul li a
    {
        color: #fff;
        font-size: 11px;
    }

    .tab-mothuong nav ul li:hover a, .tt-area-active a
    {
        color: #000!important;
    }

    .content-kqtructiep
    {
        background: #F5CE4B;
        padding: 3px;
    }

    .content-kqtt, .tab-mothuong nav ul
    {
        background: #fff;
        float: left;
    }

    .content-kqtt
    {
        border: 0 solid #636363;
        border-radius: 0;
        padding: 3px;
    }

    #menu nav ul li
    {
        width: 21%;
        margin: 0;
        padding: 0;
        float: left;
        box-sizing: border-box;
    }

        #menu nav ul li a
        {
            border-right: 1px solid #000;
            border-left: 1px solid #525252;
        }

        #menu nav ul li:last-child a
        {
            border-right: 0;
        }

    #btnMenu
    {
        display: block;
    }

        #btnMenu span:before
        {
            position: absolute;
            left: 6px;
            width: 30px;
            background-image: url(/Content/images/ns.png);
            background-position: -361px 136px;
            content: " ";
            height: 27px;
            top: 7px;
        }

    .tienich nav ul li:before
    {
        background: url(/Content/images/ns.png)-179px -354px no-repeat;
        height: 25px;
        top: 5px;
    }

    .kequahomqa nav ul li:before
    {
        background: url(/Content/images/ns.png)-179px -391px no-repeat;
        width: 20px;
        height: 20px;
        top: 6px;
        left: 3px;
    }

    #right-content
    {
        width: 99%;
        padding: 0;
        margin: 0 auto;
        float: none;
    }

    .doso, .tienich nav, .xemtheongay
    {
        border: none;
    }

    #couple div:nth-of-type(2n), #tendigit div:nth-of-type(4n+1), #tendigit > div.up + div
    {
        width: auto;
    }

    .box-info-xskt h2:before, .box-kq-toanquoc h1:before, .percent, .percent-2, .tienich h2:before
    {
        display: none;
    }

    #couple div:nth-of-type(4n+1)
    {
        width: 34px!important;
    }
}

@media screen and (max-width:400px)
{
    .prize-name
    {
        width: 53px;
    }

    .result p
    {
        word-spacing: 11px;
    }

    #couple > div.balance + div, #couple > div.down + div, #couple > div.up + div
    {
        width: 70%;
    }

    .box-info-xskt h2:before, .box-kq-toanquoc h1:before, .percent, .percent-2, .tienich h2:before, .tkdauduoi .capso p:nth-of-type(5)
    {
        display: none;
    }

    #tendigit > div.up + div
    {
        width: 62%;
        text-align: left;
    }

    #tendigit div:nth-of-type(2n+1)
    {
        width: 20px;
        text-align: center;
    }

    #tendigit div:nth-of-type(4n+1)
    {
        width: auto;
    }

    nav.dientoan6-36 ul li, nav.toanquoc ul li
    {
        text-align: center;
        margin-right: 12px;
    }

    .dau-duoi td, .dau-duoi-mb td, .result tr td:last-child, .xdau-duoi td
    {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        vertical-align: middle;
    }

    .tab-mothuong nav
    {
        width: 100%;
    }

    nav.dientoan6-36 ul li
    {
        width: 50%;
    }

        nav.dientoan6-36 ul li:nth-of-type(7)
        {
            width: 100%;
        }

        nav.dientoan6-36 ul li:nth-of-type(8)
        {
            width: 100%!important;
        }

    #center-content > div.box-kq-toanquoc > nav.theovungmien ul li
    {
        width: 50%;
    }

    #center-content > div.box-kq-toanquoc > nav.theovungmien > ul > li:nth-child(4), #center-content > div.box-kq-toanquoc > nav.theovungmien > ul > li:nth-child(5)
    {
        width: 100%!important;
    }

    .boxcapso .capso p:nth-of-type(2)
    {
        width: 15%;
    }

    .boxcapso .capso p:nth-of-type(3)
    {
        width: 8%;
    }

    .boxcapso .capso p:nth-of-type(4)
    {
        width: 65%;
    }

    .tkdauduoi .capso p:nth-of-type(2)
    {
        width: 15%;
    }

    .tkdauduoi .capso p:nth-of-type(3)
    {
        width: 8%;
    }

    .tkdauduoi .capso p:nth-of-type(4)
    {
        width: 65%;
    }

    .box-adv-1 img, .box-adv-r img
    {
        width: 320px;
    }

    .ketquahnayhomqua
    {
        width: 181px;
        margin-top: 8px;
    }

        .ketquahnayhomqua a
        {
            float: left;
            width: 45%;
        }

            .ketquahnayhomqua a.fancybox
            {
                margin-right: 10px;
            }

        .ketquahnayhomqua input
        {
            font-size: 12px;
            padding-left: 5px;
            padding-right: 5px;
            border: 1px solid #292525;
        }

    .doso
    {
        height: 145px;
    }

    .doso-xemkq
    {
        background: 0 0;
        width: 116px;
        right: 30%;
        top: 100px;
        height: 44px!important;
    }

    #menu nav ul li
    {
        width: 21.5%;
    }

    .box-info-xskt h2, .tienich h2
    {
        width: 100%;
        float: left;
        box-sizing: border-box;
        padding-top: 0;
        height: 30px;
        line-height: 30px;
        text-align: center;
        -moz-box-sizing: border-box;
    }

    nav ul.mientrung li:first-child a
    {
        white-space: nowrap;
    }

    .dau-duoi td, .dau-duoi-mb td, .xdau-duoi td
    {
        text-align: center;
        font-weight: 700;
        box-sizing: border-box;
    }

    table.result-kqmn > tbody > tr:nth-child(5) > td:nth-child(2)
    {
        word-spacing: 8px;
    }

    #couple div:nth-of-type(2n)
    {
        width: auto;
    }

    #showhomnay, .fancybox-outer
    {
        height: 120px;
    }

        #showhomnay nav ul li
        {
            padding-left: 5px;
            text-align: center;
            line-height: 133%;
            height: 20px;
        }

            #showhomnay nav ul li a
            {
                font-size: 15px;
                line-height: 20px;
            }

    .box-ketqua .box-table, .box-kq-toanquoc .dientoan6-36, .box-kq-toanquoc .toanquoc, .box-lichmothuong, .box-tructiep, .doso, .info-xskt, .tienich nav, .xemtheongay
    {
        border: none;
    }

    .dau-duoi-mb, .dau-duoi-mb tr td, .xdau-duoi, .xdau-duoi tr td
    {
        border-right: 1px solid #666;
    }

    #couple div:nth-of-type(4n+1)
    {
        width: 34px!important;
    }
}

@media screen and (max-width:320px)
{
    .result p
    {
        word-spacing: 10px;
    }

    .logo, .logo-top
    {
        width: 73px;
        padding-left: 3px;
    }

    .doso
    {
        height: 155px;
    }

    .doso-xemkq
    {
        top: 88px;
    }

    #center-content > div.box-kq-toanquoc > nav > ul > li:last-child
    {
    }
}

.fancybox-image, .fancybox-inner, .fancybox-nav, .fancybox-nav span, .fancybox-outer, .fancybox-skin, .fancybox-tmp, .fancybox-wrap, .fancybox-wrap iframe, .fancybox-wrap object
{
    padding: 0;
    margin: 0;
    border: 0;
    outline: 0;
    vertical-align: top;
}

.fancybox-wrap
{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8020;
}

.fancybox-inner, .fancybox-outer, .fancybox-skin
{
    position: relative;
}

.fancybox-skin
{
    background: #000;
    color: #444;
    text-shadow: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.fancybox-opened
{
    z-index: 8030;
}

    .fancybox-opened .fancybox-skin
    {
        -webkit-box-shadow: 0 10px 25px rgba(0,0,0,.5);
        -moz-box-shadow: 0 10px 25px rgba(0,0,0,.5);
        box-shadow: 0 10px 25px rgba(0,0,0,.5);
    }

.fancybox-type-iframe .fancybox-inner
{
    -webkit-overflow-scrolling: touch;
}

.fancybox-error
{
    color: #444;
    font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
    margin: 0;
    padding: 15px;
    white-space: nowrap;
}

.fancybox-iframe, .fancybox-image
{
    display: block;
    width: 100%;
    height: 100%;
}

.fancybox-image
{
    max-width: 100%;
    max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-next span, .fancybox-prev span
{
    background-image: url(fancybox_sprite.png);
}

#fancybox-loading
{
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -22px;
    margin-left: -22px;
    background-position: 0 -108px;
    opacity: .8;
    cursor: pointer;
    z-index: 8060;
}

    #fancybox-loading div
    {
        width: 44px;
        height: 44px;
    }

.fancybox-close
{
    position: absolute;
    top: -18px;
    right: -18px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 8040;
    background-image: url(/Content/images/ns.png);
    background-position: -321px 177px;
}

.fancybox-nav
{
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    background: url(blank.gif);
    -webkit-tap-highlight-color: transparent;
    z-index: 8040;
}

.fancybox-prev
{
    left: 0;
}

.fancybox-next
{
    right: 0;
}

.fancybox-nav span
{
    position: absolute;
    top: 50%;
    width: 36px;
    height: 34px;
    margin-top: -18px;
    cursor: pointer;
    z-index: 8040;
    visibility: hidden;
}

.fancybox-prev span
{
    left: 10px;
    background-position: 0 -36px;
}

.fancybox-next span
{
    right: 10px;
    background-position: 0 -72px;
}

.fancybox-nav:hover span
{
    visibility: visible;
}

.fancybox-tmp
{
    position: absolute;
    top: -99999px;
    left: -99999px;
    visibility: hidden;
    max-width: 99999px;
    max-height: 99999px;
    overflow: visible!important;
}

.fancybox-lock, .fancybox-lock body
{
    overflow: hidden!important;
}

.fancybox-lock
{
    width: auto;
}

.fancybox-lock-test
{
    overflow-y: hidden!important;
}

.fancybox-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    display: none;
    z-index: 8010;
    background: url(http://s.tainhaccho.vn/images/fancybox_overlay.png);
}

.fancybox-overlay-fixed
{
    position: fixed;
    bottom: 0;
    right: 0;
}

.fancybox-lock .fancybox-overlay
{
    overflow: auto;
    overflow-y: scroll;
}

.fancybox-title
{
    visibility: hidden;
    font: 400 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
    position: relative;
    text-shadow: none;
    z-index: 8050;
}

.fancybox-opened .fancybox-title
{
    visibility: visible;
}

.fancybox-title-float-wrap
{
    position: absolute;
    bottom: 0;
    right: 50%;
    margin-bottom: -35px;
    z-index: 8050;
    text-align: center;
}

    .fancybox-title-float-wrap .child
    {
        display: inline-block;
        margin-right: -100%;
        padding: 2px 20px;
        background: 0 0;
        background: rgba(0,0,0,.8);
        -webkit-border-radius: 15px;
        -moz-border-radius: 15px;
        border-radius: 15px;
        text-shadow: 0 1px 2px #222;
        color: #FFF;
        font-weight: 700;
        line-height: 24px;
        white-space: nowrap;
    }

.fancybox-title-outside-wrap
{
    position: relative;
    margin-top: 10px;
    color: #fff;
}

.fancybox-title-inside-wrap
{
    padding-top: 10px;
}

.fancybox-title-over-wrap
{
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 10px;
    background: #000;
    background: rgba(0,0,0,.8);
}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5)
{
    #fancybox-loading, .fancybox-next span, .fancybox-prev span
    {
        background-image: url(fancybox_sprite@2x.png);
        background-size: 44px 152px;
    }

        #fancybox-loading div
        {
            background-size: 24px 24px;
        }
}
