html, body {
	font-family: Arial, sans-serif, Tahoma, Helvetica;
	font-size: 14px;
	font-weight: 400;
	margin: 0 auto;
	padding: 0;
	-webkit-text-size-adjust: 100%;
	color:#333
}
html, body, div, span, h1, h2, h3, h4, p, em, img, ul, li, a {
	vertical-align: baseline;
	word-wrap: break-word
}
.gr-yellow, table th {
    background-color: #eee;
    background-image: -moz-linear-gradient(top,#fafafa,#eee);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#fafafa),to(#eee));
    background-image: -webkit-linear-gradient(top,#fafafa,#eee);
    background-image: -o-linear-gradient(top,#fafafa,#eee);
    background-image: linear-gradient(to bottom,#fafafa,#eee);
    background-repeat: repeat-x;
    color: #333;
    text-align: center;
    padding: 5px;
}
.pad10-5{
    padding:10px 5px 5px 5px;
}
.list-unstyle{
    list-style-type: none;
    margin: 0;
    padding:0px;
}
.txt-logo img{
    height:30px;
    
}
.bold{font-weight: bold}
.pad10{
    padding: 10px;
}
.magt5 {margin-top: 5px}
table {
    width: 100%;
    border: none;
    border-spacing: 0;
    border: 1px solid #ccc;
    border-collapse: collapse;
    
}
table th{
    padding:5px;
    color:#333;
    text-align: center;
    line-height: 20px;
}
table td {
    border: 1px solid #ccc;
    text-align: center;
    padding: 5px 0;
}
.bg_ef {   background: #efefef; }
*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box
}
.clearfix:before, .clearfix:after {
	clear: both;
	content: " ";
	display: block;
	font-size: 0;
	height: 0;
	visibility: hidden
}
[class^="ic-"], [class*=" ic-"] {
	background:no-repeat 0 0;
	display:inline-block;
	zoom:1;
	cursor:pointer
}
input[type="text"], input[type="password"], textarea {-webkit-appearance: none;
	width: auto;
	height: 35px;
	padding: 5px 2%;
	font-size: 13px;
	color: #999;
	border: none
}
select{
    -webkit-appearance: none;
	-moz-appearance: none;
    padding:7px;
    border:1px solid #ccc;
    font-size:16px;
    color:black;
}
input[type="checkbox"], input[type="radio"] {
	height: 13px;
	width: 13px;
	margin: 0 5px 0 0;
	position: relative;
}
input[type="radio"]{vertical-align:bottom;margin-bottom:2px}
header h1.txt-top{
    font-size:15px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    position:relative;

    padding:2px;
    font-weight:normal;
}
header{background:#fff}
.main, nav ul{max-width:1024px;margin:0 auto}
.hidden,.dspnone{display:none}
a {
	color: #333;
	text-decoration: none
}
a:hover {
	color: #f30;
	text-decoration: underline
}
img {
	border: medium none;
	outline: 0
}
h1, h2, h3 {
	margin: 0;
}
h1 {
	font-size: 24px;color:#333
}
h2,.news-title {
	font-size: 18px;
	font-weight: 700;
}
.ads {
    margin-top: 10px;
    margin-bottom: 10px;
}
.txt-logo {
    padding:3px 0 5px;
    display:block;
}
.txt-logo img{
    height:35px;
    width:auto;
    display:block;
}
nav{min-height:38px;height:38px;background: #ea730b;margin-bottom:10px}
nav li:hover{background: #fbefca;}
.menu-pc li a{color:#fff; font-size:13px; text-transform:uppercase;display:block;line-height:38px;height:38px;padding:0 8px;font-weight:bold;}
.menu-mobi li a{color:#fff; font-size:13px; text-transform:uppercase;display:block;line-height:38px;padding:0 5px 0 5px;}
nav li:first-child a strong{padding-left:0;border:none}
nav li.fl:hover a{color:red;}
nav li.fl:hover li a{color:#333}
.ic-drop{display:none;}
[class^='v-loto']{
    font-weight: bold;
    font-size: 16px;
   padding:5px 2px;
}
.radius4, button.collapsed, .btn-link, .search{
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-o-border-radius: 3px
}
.linkColor{
    color:#06c;
}
.bg-orange{background:#FFF2BC;}
.menu-pc {
	list-style: none outside none;
	margin: 0;
	padding: 0
}
.menu-pc li{
    padding: 0;
    position: relative;
    float: left;
    height: 38px;
    line-height: 38px;
}
.menu-pc li.active{
    background-color:#fbefca;
    height:38px;
}
.menu-pc li.active a{
    color:red;
}
.menu-pc li:hover{
    background-color:#fbefca;
}
.menu-pc li:hover > a{
    color:red;
}
.menu-pc li ol{
    display: none;
}
.menu-pc li:hover .child-menu{
    display:block;
}
.child-menu {
    padding-left: 0px;
    list-style-type: none;
    position: absolute;
    top: 38px;
    left: 0;
    background-color: #fff;
    border: 1px solid #ff8a2c;
    border-top: none;
    width: 200px;
    z-index: 99;
    box-shadow: 0 3px 2px 0 #ccc;
}
.child-menu li a{
    margin:0;
    padding:0;
    color: #000;
    text-transform: none;
    font-weight: 700;
}
.child-menu li{
    border-bottom:1px dashed #ccc;
    padding-left:5px;
}
.fl{
	float: left
}
.fr{
	float: right
}
.breadcrumb ol{list-style-type:none;word-wrap: break-word;padding-left: 0}
.breadcrumb ol li{display:inline;word-wrap: break-word;padding-left: 0}
.breadcrumb ol li a{color: black;padding-left: 0}
.breadcrumb{padding:0;line-height:12px}
.box{border-radius:5px;-border-radius:5px;-webkit-border-radius:5px;background:#fff;box-shadow:0 1px 3px 0 #ccc; -moz-box-shadow:0 1px 3px 0 #ccc;-webkit-box-shadow:0 1px 3px 0 #ccc;margin-bottom:10px}
.col-r{float:right;width:300px;}
.col-l{float:left;width:calc(100% - 310px);}
.menu-mobi{
    display:none;
}
.navbar-toggle{
    display:none;
}
.link-loto {border-bottom:1px dotted #e4e4e4;background:#fafafa; padding-bottom:3px;}
.link-loto a{display:initial;margin:0 1px;line-height:18px;text-decoration: none}
.link-loto a img{vertical-align:bottom;margin:0 3px 4px 0}
.link-loto a::before {
     content: "H0T";
     position: relative;
     background: #ffeca0;
     font-size: 10px;
     padding: 2px;
     color: #ed1c25;
 }
.title-r, .title{padding: 6px 3px;
	border-radius: 5px 5px 0 0;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;color:#fff;font-size:14px;}
.title-bor{
    line-height:23px;
    padding: 7px 3px;
    color:#0a0909;
    font-size:16px;
}
.vietlott-link{
	color: #f0ff00;
    text-decoration: underline;
}
.title,.title-bor {background: #507e4e ;position:relative;text-align:center;color:#ffffff}
.title-a {color: #F0FF00;text-decoration: underline}
.icon {
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        display: block;
    }
span.icon,
    i.icon {
        display: inline-block;
    }
i.icon {
        vertical-align: middle;
    }
.buttons-wrapper {
        float: right;
    }
.sticky {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
}
#go-top {
    position: fixed;
    bottom: 80px;
    right: 5px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #c3c3c3;
    color: white;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
    font-size: 30px;
    line-height: 20px;
    height: 30px;
}
.see-more {
	margin: 0.2em;
	padding: 5px;
}
.see-more ul.list-html-link {
	
	flex-wrap: wrap;
	padding: 0;
	
	border-collapse: collapse;
}
.see-more ul.list-html-link li{
	
	padding: .5em 0 0 0;
}
.list-html-link li{list-style:disc inside none;padding:3px 0}
.list-html-link li a{
    color:blue;
    text-decoration: underline;
    font-size: 15px;
}
.list-citymn-cale li{width:45%;float:left;padding:5px 0}
.ic-arrow-l{background-position: -156px -27px;width:10px;height:8px}
.title-r{background:#507e4e;font-size:14px;padding:8px 10px}
.title-r:before {
	content: "";
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	background-size: contain;
	margin-right: .5em;
}
.title-r a:hover{color:#fff}
.txt-center{text-align:center}
footer{padding:0 0 10px 0;background:#e6e6e6;border-top:1px solid #dfdfdf}
footer .share-social{text-align:center}
footer .share-social li{margin:3px 0}
.footer-link{
    margin-top:10px;
    border-top: 1px solid #e6e6e6;
    padding-bottom: 1rem;
}
.footer-link ul {
    margin: 0.25em 0 0 0;
    padding: 0;
}
.footer-link li {
    list-style: none;
    padding:5px;
}
.footer-row {
    display: flex;
    flex-wrap: wrap;
}
.footer-col {
    margin-top:10px;
    padding-right: 5px;
    flex: 0 16.66%;
}
.footer-col ul li a{
    color:blue;
    text-decoration: underline;
}
.footer-title a {
    font-weight: bold;
    text-decoration: underline;
    color:#06c;
    font-size:16px;
}
.link-hay {
	padding-bottom: 10px
}
.link-hay ul.list_view li {padding:10px 10px 0}
.link-hay ul.list_view li img{width:95px;height:60px;float:left;margin-right:5px}
.link-hay ul.list_view li a{font-size:14px; color:blue}
.link-hay  p{margin:3px 0}
.lazy-loaded-ad, .lazy-load-ad{box-sizing: content-box}
.ads-square{width:336px;height:280px;display:inline-block;}
.ads-link{display:inline-block;width:100%}
.ads-header{width:728px;height:90px;display:inline-block;}
.ads_header
{margin:auto;padding-bottom:10px;width:970px;height:90px}
.dspblock{display:block}
.dspinlineblock{display:inline-block}
.dsp-mobile {display: none;}
#menu-mobile-backdrop {
    display: none;
}
@media(max-width:900px) {
    .ads-header,.ads_header{width:320px;height:100px;}
    .ads-overlay{display:none}
    .ads-square{
        width:300px;height:250px;
        display:inline-block;}
    .dsp-mobile {
        display: block;
    }
    .link-loto .dsp-mobile{display: inline;}
    .link-loto .dsp-mobile:before{    content: "H0T";
        background: #ffeca0;
        font-size: 9px;
        padding: 3px;
        color: red;}
    .navbar-toggle{
        display: block;
    }
    .navbar-toggle{
        border:1px solid #f30909;
        float:right;padding:6px;position:relative;margin:6px 3px 6px 0;height:auto;background: none}
    .navbar-toggle .icon-bar {
        border-radius: 1px;-moz-border-radius: 1px;-webkit-border-radius: 1px;
        display: block;
        height: 2px;
        width: 22px;
        background:#f30909;
    }
    .navbar-toggle .icon-bar + .icon-bar {
        margin-top: 4px;
    }

    .ads-header,.ads_header{width:320px;height:100px;}
    .ads-overlay{display:none}
   .menu-mobi{
        list-style: none outside none;
        margin: 0;
        padding: 0;
       width: 100%;
       overflow-y: hidden;
       -webkit-overflow-scrolling: touch;
       overflow-x: scroll;
       overflow-x: auto;
       white-space: nowrap;
       display: flex;
       padding-inline-start: 0px;
   }
   .menu-mobi li{
       display: inline;
       text-align: center;
       position: inherit;
       padding: 0 6px 0 6px;
   }
    .menu-mobi li.active{
        background-color:#fbefca;
    }
   .menu-mobi li a{
        color: #fff;
        font-size: 13px;
        text-transform: uppercase;
       display:inline-block;
        line-height: 38px;

   }
    .menu-mobi li a:hover a, .menu-mobi li.active a{color:red;}
    .menu-mobi li a:first-child{padding-left: 0;}
    .menu-mobi li a:first-child>img,
    .menu-mobi li a:first-child amp-img
    {
        vertical-align: middle;
        margin-bottom: 2px;
    }
    html.menu-active #menu-mobile-backdrop {
        display: block;
    }

    #menu-mobile-backdrop {
        z-index: 100;
        background-color: rgba(255,255,255,.7);
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: none;
    }

    html.menu-active #list-cate {
        visibility: visible;
        transform: translate(0);
        -moz-transform: translate(0);
        -webkit-transform: translate(0);
        box-shadow: 0 0 20px rgba(0,0,0,.5);
        transition: .4s;
    }

    #list-cate {

        visibility: hidden;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        width: 85vw;
        box-shadow: 0 0 20px rgba(0,0,0,.5);
        max-width: 320px;
        background: #fff;
        overflow-y: scroll;
        transition: .4s;
        -moz-transition: .4s;
        -webkit-transition: .4s;
        -o-transition: .4s;
        transform: translate(100%);
        -moz-transform: translate(100%);
        -webkit-transform: translate(100%);
    }
    
    .ic-drop{display:block}
    nav ul.menu-pc li.fl{
        float: none;
        width: 100%;
        display: block;
        
    }
    nav ol.child-menu{
    position: relative;
        top: initial;
        left:initial;
        background-color: initial;
        width: 100%;
        border: none;
        box-shadow: none;
    }
    .menu-pc li a {
        color: initial;
    }
    nav ul li.menu-header {
        
        padding: 5px 0;
        color: #fff;
        border-bottom: none;
    }
    nav li.menu-header .close-button {
        margin: 10px;
    }
    .ic-drop.active {
        transform: rotate(180deg);
        transition: transform .2s linear;
    }
    .ic-drop {
        display: block;
        background-repeat:no-repeat;
        right: 0;
        top: 0;
        position: absolute;
        background-position: 11px 14px;
        width: 36px;
        height: 36px;
        transform: rotate(0);
        transition: transform .2s linear;
    }
    
    .col-l, .col-r{width:100%;float: none;border:none;padding:0}
    .col-l .list-news li{padding-right:0}
}
@media(max-width:320px)
{.ads-square{width:300px;height:250px;display:inline-block;}}
.clnote,.clred {color:#ed0303}
.box-html{padding:5px 10px}
.box-html a{color: blue;font-weight:bold;text-decoration: underline;}
.paragraph,.box-html {line-height: 22px;}
.paragraph h3{font-weight: bold;font-size:16px}
@media(max-width:640px){
	.dsp-desktop {
		display: none;
	}
    .title-r, .title{font-size:16px;}
    .title{padding:8px 15px}
	
		
	
	footer .fl,footer .fr{float: none;}
        
        .footer-col {
            display: block;
            padding: 0 5px 0 0;
            
            width: 50%;
        }
    .footer-col:nth-child(2n+1) {order: 1;}
    .footer-col:nth-child(2n) {order: 2;}
    .footer-row {
        margin: 0px 10px;
        flex-flow:column wrap;
        height: 560px;
    }
}
@media(max-width:360px) {
    .vietlott-link{
        font-size:14px;
    }
    .see-more ul.list-html-link li {
        flex: 1 100%;
    }
}
@media(max-width:320px){

    .menu-mobi a{font-size:12px;padding: 0 2px;}

}
.sub-title {
	color: blue;
	text-decoration: underline;
}
.pad5{
    padding:5px;
}
.s16{
    font-size: 16px;
}
.s18{
    font-size: 18px;
}
.mo-thuong-ngay table tbody tr td a{
    color:blue;
}
.btn-danger {
    background-color: #ed1c25;
    color: #fff;
    margin-bottom: 10px;
}
.btn {
    margin-top:4px;
    display: inline-block;
    padding: 7px 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.tab-panel {
    padding: 0px;
    margin: 0px;
    background: transparent;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}
.tab-panel * {
    position: relative;
    word-spacing: normal;
}
.tab-panel + h2 {
    border-radius: 0;
}
.tab-panel li {
    margin-right: 0.1em;
    display: inline-block;
    list-style: none;
    background: #eee;
    border-radius: 5px 5px 0 0;
    z-index: 0;
}
.tab-panel li a {
    color: inherit;
    display: block;
    padding: 0.6em 0.6em 0.6em 0.8em;
}
.tab-panel li.active {
    color: #f30808;
    
    font-size:14px;
    font-weight: 600;
}
.tab-panel li.active {
    background: #fbefca;
}
.tab-panel li.active:after {
    background: #fbefca;
}
@media(max-width:640px){
    .tab-panel li {
        flex:1 1 25%;
        border-top: 1px solid #ddd;
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
        border-radius: 0;
        background: none;
        margin-right: -1px;
        margin-bottom: -1px;
    }
    .tab-panel li a {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        width: 100%;
    }
    .tab-panel.tab-auto li{flex: 1 1 auto;}
    .tab-panel.tab-3 li{flex: 1 1 33%;}
    .tab-panel.tab-2 li{flex: 1 1 50%;}
    .tab-panel.tab-7 li{flex: 1 1 14%;}
    .tab-panel.tab-5 li{flex: 1 1 20%;}
    .tab-panel li:after,.tab-panel:after{
        display: none;
    }
}
.control-panel {
    display: block;
    padding: 0.5em;
    text-align: center;
    background: #ffe594;
    color: #353535;
    font-weight: bold;
}
.control-panel:after {
    content: "";
    display: block;
    clear: both;
}
.digits-form label.radio input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    pointer-events: none;
}
.digits-form label.radio input + b {
    width: 1em;
    height: 1em;
    display: inline-block;
    border-radius: 100%;
    border: none;
    background-color: #fff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}
.digits-form label.radio input:checked + b {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http:%2F%2Fwww.w3.org%2F2000%2Fsvg" xmlns:xlink="http:%2F%2Fwww.w3.org%2F1999%2Fxlink" version="1.1" viewBox="0 0 100 100"><circle cx="50" cy="50" r="30" fill="%23537E51"%2F><%2Fsvg>');
}
.digits-form label.radio * {
    vertical-align: middle;
}
.digits-form label.radio[data-value="0"] span:after {
    content: " Đầy đủ";
}
.digits-form label.radio[data-value="2"] span:after {
    content: " 2 số";
}
.digits-form label.radio[data-value="3"] span:after {
    content: " 3 số";
}
.digits-form {
    float: left;
}
.digits-form label.radio {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}
.digits-form label.radio + label.radio {
    margin-left: 1em;
}
.buttons-wrapper,.subscription-button{
    display: inline-block;
    margin-left: 0.5em;
}
.buttons-wrapper .subscription-button span:after {
    content: " Thông báo";
    vertical-align: middle;
}
@media(max-width:320px){

    .control-panel{padding: .5em 5px;}
    .digits-form label.radio+label.radio{margin-left: .5rem;}
}
.cbx:checked ~ label {
    background: #f22427;
}
.cbx:checked ~ label:after {
    left: 20px;
    background: white;
}
.cbx:disabled ~ label {
    background: #d5d5d5;
    pointer-events: none;
}
.cbx:disabled ~ label:after {
    background: #bcbdbc;
}
.colgiai th.first {width: 10%}
.coltwocity th, .colfourcity th, .colthreecity th {vertical-align: baseline;word-wrap: break-word}
.coltwocity th a, .colfourcity th a, .colthreecity th a{
    color:blue;
    text-decoration: underline;
}
.coltwocity th {width: 45%}
.colfourcity th {width: 22.5%}
.colthreecity th {width: 30%}
.coltwocity .g8 div, .colthreecity .g8 div, .colfourcity .g8 div {
    color: #ed0303;
    font-size: 32px;
    font-weight: bold;
}
.coltwocity td div, .colthreecity td div,  .colfourcity td div{
    font-size: 26px;
    font-weight: bold;
    padding:2px 0;
}
.coltwocity .gdb div,.colthreecity .gdb div,.colfourcity .gdb div{
    color: #ed0303;
    font-size: 32px;
}
td>div.imgloadig:before{content: "\200b";}
.coltwocity.colgiai tbody>tr:nth-of-type(odd), .colfourcity.colgiai tbody>tr:nth-of-type(odd), .colthreecity.colgiai tbody>tr:nth-of-type(odd){
    background: #f3f3f3;
}
@media(max-width:640px){

    .colthreecity td div, .coltwocity td div{
        font-size: 21px;

    }
    .colfourcity td div{
        font-size: 20px;

    }
    .coltwocity .gdb div,.colthreecity .gdb div{font-size: 28px;}
    .colfourcity .gdb div{font-size: 24px;}
}
@media(max-width:360px){

    .coltwocity .g8 div, .colthreecity .g8 div, .colfourcity .g8 div{
        font-size:28px;
    }
    .colthreecity td div, .coltwocity td div{
        font-size: 20px;
    }
    .colfourcity td div{
        font-size: 18px;
    }
    .colfourcity .gdb div{font-size: 22px;}
    .coltwocity .gdb div,.colthreecity .gdb div{font-size: 28px;}
}
@media(max-width:320px){


    .colfourcity td div{
        font-size: 20px;

    }
    .colthreecity .gdb div {font-size: 20px;}
    .colfourcity.colgiai .gdb div{font-size: 20px;}

}
.madb .imgloadig{
    vertical-align: middle;
}
.kqmb td{
    padding: 0;
}
.kqmb td.madb {
    padding:6px;
    font-size: 17px;
    color: blue;
}
td.imgloadig {
    height: 38px;
}
.txt-giai{
    width:60px;
}
.kqmb .db .number, .kqmb .g7 .number  {
    color: #ed0303;
    font-size: 34px;
}
.kqmb .number{
    font-weight: bold;
    font-size:32px;
}
.kqmb thead{display: none}
.col-firstlast {margin-top:5px}
.firstlast-mb {width:calc(50% - 2px);}
.firstlast-mb{
    margin-top:2px;
    border-collapse: collapse;
    font-weight: bold;
}
.firstlast-mb.fl td:last-child,.firstlast-mb.fl th:last-child{
    padding-left:5px;
    text-align: left;
}
.firstlast-mb.fr td:first-child,.firstlast-mb.fr th:first-child{
    padding-right:5px;
    text-align: right;
}
.firstlast-md td{word-break:break-all;}
.clgreen {
    color: #28a745;
}
.clyellow {
    color: #ffc107;
}
.bang-loto {
    table-layout: fixed;
}
.bang-loto td{
    font-size: 18px;
    height: 28px;
    font-weight: bold;
}
.kqmb td.v-giai span[class^='v-g']{display: inline-block;
        width:100%;
        min-width: 20px;
        padding:8px 4px
    }
.kqmb td.v-giai span[class^='v-g2-']{width:50%}
.kqmb td.v-giai span[class^='v-g3-']{width:33.33%}
.kqmb td.v-giai span[class^='v-g4-']{width:25%}
.kqmb td.v-giai span[class^='v-g5-']{width:33.33%}
.kqmb td.v-giai span[class^='v-g6-']{width:33.33%}
.kqmb td.v-giai span[class^='v-g7-']{width:25%}
.kqmb td.v-giai span.v-g2-1, .kqmb td.v-giai span.v-g3-1, .kqmb td.v-giai span.v-g3-2, .kqmb td.v-giai span.v-g3-4, .kqmb td.v-giai span.v-g3-5, .kqmb td.v-giai span.v-g4-1, .kqmb td.v-giai span.v-g4-2,.kqmb td.v-giai span.v-g4-3, .kqmb td.v-giai span.v-g5-1, .kqmb td.v-giai span.v-g5-2, .kqmb td.v-giai span.v-g5-4, .kqmb td.v-giai span.v-g5-5, .kqmb td.v-giai span.v-g6-1, .kqmb td.v-giai span.v-g6-2, .kqmb td.v-giai span.v-g7-1, .kqmb td.v-giai span.v-g7-2, .kqmb td.v-giai span.v-g7-3{border-left:1px solid #ccc;}
.kqmb td.v-giai span.v-g3-0, .kqmb td.v-giai span.v-g3-1, .kqmb td.v-giai span.v-g3-2,.kqmb td.v-giai span.v-g5-0, .kqmb td.v-giai span.v-g5-1, .kqmb td.v-giai span.v-g5-2{border-bottom:1px solid #ccc;}
.kqmb td.v-giai span.imgloadig:before{content: "\200b";}
.firstlast-mb td{
    font-size: 17px;
    word-break:break-all;
}
@media(max-width:640px){
    .kqmb .number {
        font-size: 25px;
    }
}
@media(max-width:360px){
    .kqmb .number {
        font-size: 24px;
    }
    .kqmb td.v-giai span.v-g4-0, .kqmb td.v-giai span.v-g4-1{border-bottom:1px solid #ccc;}
        .kqmb td.v-giai span.v-g4-2{border-left: none}
    .kqmb td.v-giai span[class^='v-g4-']{width:50%}
}
.mega645 * {
    position: relative;
    box-sizing: border-box;
}
.mega645 a {
    cursor: pointer;
}
.mega645 .title {
    text-transform: none;
    font-weight: bold;
    text-align: center;
    padding: 1rem 0 0.5rem;
}
.mega645 .title strong {
    font-size: 1.5em;
    line-height: 3rem;
    color: #e80000;
    white-space: nowrap;
}
.mega645 .links {
    max-width: 420px;
    width: calc(100% - 1rem);
    margin: 0 auto;
    list-style-type: none;
    padding-left: 0;
}
.mega645 .links li {
    line-height: 2rem;
}
.mega645 .links li:before {
    content: "";
    border-color: transparent #111;
    border-style: solid;
    border-width: 0.25em 0 0.25em 0.35em;
    display: inline-block;
    height: 0;
    width: 0;
    margin: 0 0.3em 0.3em 0;
    vertical-align: middle;
}
.mega645 .links li a:hover {
    color: #f60;
}
.mega645 .results {
    padding: 0;
    list-style-type: none;
    margin-top: 0;
}
.mega645 .results li {
    border-top: 1px solid #ececec;
    padding: 1rem 10%;
}
.mega645 .results li:nth-child(2n + 2) {
    background: #f6f6f6;
}
.mega645 .results li:after {
    content: "";
    display: block;
    clear: both;
}
.mega645 .results li .data td{
    border:0px;
}
.mega645 .results li table.data {
    border:0px;
}
.mega645 .results li .caption {
    float: left;
    text-align: center;
    padding: 0 0.5rem;
    width: 19%;
    line-height: 1.8rem;
    font-size: 1.1em;
}
.mega645 .results li .caption time {
    white-space: nowrap;
    display: inline-block;
    margin-bottom:0;
}
.mega645 .results li .data {
    width: 100%;
}
.mega645 .results li .data td i {
    box-sizing: content-box;
    display: block;
    margin: 0 auto;
    width: 3.6rem;
    height: 3.6rem;
    line-height: 3.6rem;
    text-align: center;
    border-radius: 100%;
    font-style: normal;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}
.mega645 .results li .data td i:empty:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("/css/images/spin_32.gif");
    background-position: center;
    background-size: 28px 28px;
    background-repeat: no-repeat;
}
.mega645 .results li .data td:nth-child(1) i {
    background-color: #1ea6ec;
    background: linear-gradient(to bottom, #2eb6fc 0%, #1066bc 100%);
}
.mega645 .results li .data td:nth-child(2) i {
    border-color: #f03268;
    background: linear-gradient(to bottom, #fa5288 0%, #bb002a 100%);
}
.mega645 .results li .data td:nth-child(3) i {
    border-color: #e9b800;
    background: linear-gradient(to bottom, #e4c420 0%, #b06800 100%);
}
.mega645 .results li .data td:nth-child(4) i {
    border-color: #69c82a;
    background: linear-gradient(to bottom, #79c82a 0%, #297800 100%);
}
.mega645 .results li .data td:nth-child(5) i {
    border-color: #db48c2;
    background: linear-gradient(to bottom, #f04aac 0%, #b0108a 100%);
}
.mega645 .results li .data td:nth-child(6) i {
    border-color: #ea7702;
    background: linear-gradient(to bottom, #f09742 0%, #da380a 100%);
}
.mega645 .results li .data2 td i{
    font-style: normal;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #000;
    display: inline-block;
    margin: 0 2px 0 0;
}
.mega645 .results li .data2 td i.clnote{
    border: 2px solid #e80000;
}
.mega645.power655 .results li .data td:not(:last-child) i.imgloadig {
    background: #fe9550;
    text-shadow: none;
}
.mega645.power655 .results li .data td:nth-child(7) {
    border-left: 2px solid #cccccc;
    padding-left: 3px;
}
.mega645.power655 .results li .data td:not(:last-child) i {
    background: white;
    color:red;
    text-shadow: none;
    border: 2px solid #cccccc;
}
.mega645.power655 .results li .data td:nth-child(7) i {
    background: #ff6600;
    color:#fff;
    border: none;
}
.mega645 .results li .data td p {
    font-weight: bold;
    padding: 0;
    margin: 1rem 0 0;
    font-size: 0.98rem;
    text-align: center;
}
.mega645 .results li .data td p strong,
.mega645 .results li .data td p strong * {
    color: #e80000;
    font-size: 1.2rem;
}
.mega645 .results li .data2 {
    width: 100%;
    margin-top: 1rem;

}
.mega645 .results li .data2 td {
    padding: 0.5rem;
    text-align: left;
    border: 1px solid #ccc;
    border-collapse: collapse;
}
@media(max-width:640px){
    .mega645 .results li {
        padding: 1rem 0;
    }
    .mega645 .results li .caption {
        float: none;
        padding: 0 0.5rem;
        width: 100%;
        line-height: 1.8rem;
        margin-bottom: 1rem;
        font-size: 1.1em;
    }
    .mega645 .results li .data {
        float: none;
        width: 100%;
        padding: 0 0.5rem;
    }
}
@media(max-width:480px) {
    .mega645.power655 .results li .data td i {
        width: 3rem;
        height: 3rem;
        line-height: 3rem;
    }

}
.kqmb.kqmax3d td, .kqmb.kqmax4d td {
    padding: 5px;
}
.kqmb.kqmax3d .number, .kqmb.kqmax4d .number {
    font-size:24px;
}
.kqmb.kqmax3d tr.border-right td:last-child {
    border-right: 1px solid #ccc;
}
.kqmb.kqmax3d tr.border-bottom td {
    border-bottom: 1px solid #ccc;
}
.btn-see-more:not(:disabled):hover {
    background-color: #eee;
    box-shadow: none;
}
.btn-see-more {
    width: 100%;
    max-width: 300px;
    border-radius: 3px;
    padding: 0.5em;
    border: 1px solid #ddd;
    display: block;
    margin: 0.5rem auto ;
    cursor: pointer;
    color: #666;
    text-transform: uppercase;
    height: initial;
    background-color: initial;
}
.lbl1 {
    position: relative;
    display: inline-block;
    height: 16px;
    width: 40px;
    background: #898989;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s ease;
    vertical-align: middle;
}
.lbl1:after {
    position: absolute;
    left: -2px;
    top: -2px;
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 100px;
    background: #fff;
    box-shadow: 0px 3px 3px rgba(0,0,0,0.05);
    content: '';
    transition: all 0.3s ease;
    border: 2px solid #ffe594;
}
.lbl1:active:after {
    transform: scale(1.15, 0.85);
}
.imgloadig {
    background: url(/css/images/loading-red.gif) no-repeat center;
}
td.imgloadig{
    height: 38px;
}
strong.imgloadig, b.imgloadig{
    width: 20px;
    height: 30px;
    margin:auto;
    display: block;
}
td>div.imgloadig {
    background: url(/css/images/loading-red.gif) no-repeat center;

    
    display: block;
    zoom: 1;
}
.cl-rl, .colgiai td div.cl-rl, .kqmb .g7 .number.cl-rl, .kqmb .db .number.cl-rl, .kqmb .g8 .number.cl-rl {
    color: #ec891d;
    
    
    background-color: #fff2bc;
    

    -moz-border-radius: 20px;
    margin: auto;
}
.alert {
    padding: 8px;
    
    color: #000;
    
    opacity: 1;
    transition: opacity 0.6s;
    font-size: 16px;
    background-color: #fff9e1;
}
.alert .alert-link{
    font-size: 13px;
    float: right;
}
.alert .alert-link img{height: 21px;}
.alert .prize-number{
    font-size: 24px;
    text-decoration: initial;
}
.alert.blink {
    animation: colorchange 3s; 
    
    -webkit-animation: colorchange 3s; 
}
@keyframes colorchange
{
    0%   {background: #ff7200;}
    100% {background: #fff9e1;}
}
@-webkit-keyframes colorchange 
{
    0%   {background: #ff7200;}
    100% {background: #fff9e1;}
}
.alert.success {background-color: #4CAF50;}
.alert.info {background-color: #2196F3;}
.alert.warning {background-color: #ff9800;}
.alert .closebtn {
    margin-left: 15px;
    color: #31708f;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.alert.blink .alert-msg::before {
    -moz-animation: blink normal 1s infinite ease-in-out;
    -webkit-animation: blink normal 1s infinite ease-in-out;
    -ms-animation: blink normal 1s infinite ease-in-out;
    animation: blink normal 1s infinite ease-in-out;
    vertical-align: baseline;
    margin-right: 5px;
    content: '';
    width: 1em;
    height: 1em;
    background-color: #ed1b2f;
    border-radius: 50%;
    display: inline-block;
}
.alert .alert-msg {
    font-style: italic;
    vertical-align: baseline;
}
.alert .closebtn:hover {
    color: black;
}
.btn-sticky-bottom,.sticky_bottom{background:#f2f2f2;text-align:center;left:0}
.sticky_bottom{left:0;position:fixed;bottom:0;width:100%;max-width:1024px;z-index:999;padding:5px 0 0;box-sizing:border-box}
.btn-sticky-bottom{position:absolute;top:-15px;padding:5px 10px 10px;border-radius:100%;z-index:888;left:50%;margin-left:-15px}
.ads-sticky-bottom{position:relative;z-index:999;-webkit-transition:all .5s;-moz-transition:all .5s;-ms-transition:all .5s;-o-transition:all .5s;transition:all .5s;overflow:hidden;display:inline-block}
.ic-tag{padding: 0;background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http:%2F%2Fwww.w3.org%2F2000%2Fsvg" viewBox="0 0 533.333 533.333"><path d="M483.236 0H332.943c-27.556 0-66.04 15.94-85.523 35.424L14.612 268.23c-19.483 19.484-19.483 51.368 0 70.85l179.64 179.64c19.484 19.484 51.366 19.484 70.85 0L497.91 285.913c19.483-19.484 35.424-57.97 35.424-85.522V50.1C533.334 22.544 510.79 0 483.236 0zm-66.57 166.667c-27.613 0-50-22.385-50-50 0-27.614 22.387-50 50-50s50 22.386 50 50-22.385 50-50 50z" fill="%23e85057"%2F><%2Fsvg>');
}
.box-tags{
    margin-top:5px;
    margin-bottom:5px;
}
.box-tags > *{display: inline-block;vertical-align:middle}
.box-tags .tag-item{padding: 4px 5px;border:1px solid #e1e1e1;margin-left: 3px;}
.box-tags .tag-item a{
    color:blue;
}
.title-news{font-size:18px;margin-bottom:3px}
.title-news a{
    color:blue;
}
.list-news li{padding:8px;border-bottom:1px solid #e4e4e4}
.list-news .list-html-link li {
    border:none;
}
.list-news .image img, .list-news .image amp-img {width:246px;height:138px}
@media (max-width:600px) {
    .list-news .image img, .list-news .image amp-img {width:124px;height:69px}
}
.list-news .magl{
    overflow:hidden;
}
.list-news li p{margin:0 0 0 7px}
.desc{font-size:14px;line-height:20px}
.loading-page{
    padding:5px 10px;
}
.loading-page a{
    color:#ff6600;
    padding: 0.25rem 0.5rem;
    border: 1px solid #ff6600;
    border-radius: 5px;
    display: inline-block;
}
.loading-page a:hover{
    text-decoration: none;
}
.loading-page a.primary{
    background-color:#ff6600;
    color: white;
}
.loading-page a>*{display: inline-block;vertical-align: middle}
.btn-link{color:#f30}
.cl-link{
    color:#06c;
}
.tr_hover td.selected{
    background-color:#ffbf00;
}
.colgiai th{
    border: 1px solid #ccc;
}
.colgiai.fl {
    float: left;
    width: 50%;
}
.colgiai.fr {
    float: right;
    width: 50%;
}
.colgiai tr th span {
    font-size: 12px;
    color: #888;
    font-weight: 400;
}
.bottom {
    position: absolute;
    bottom: 1px;
    left: 1px;
}
.list-dau-db li {
    padding: 8px 5px;
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    float: left;
    text-align: center;
    width: 20%;
    font-weight: 700;
}
.line {
    width: 64px;
    height: 41px;
    border-bottom: 1px solid #d8d6d6;
    transform: translateY(-17px) translateX(5px) rotate(34deg);
    position: absolute;
    z-index: -1;
}
.top {
    position: absolute;
    top: 1px;
    right: 1px;
}
.db-by-month table th.td-split {
    height: 40px;
    padding: 0;
    margin: 0;
}
.db-by-month table th {
    width: 65px;
}
.db-by-month table td {
    padding: 7px 5px;
}
.td-split>div {
    position: relative;
    height: 100%;
    width: 50px;
    top: 0;
    left: 0;
}
.db-by-month table td:first-child, .db-by-month table th:first-child {
    position: sticky;
    left: 0;
    background-color: #eee;
    border-right: 1px solid #ccc;
}
.tbl50 {
    width: 50%;
    float: left;
}
.s14{
    font-size:14px;
}
#loto-cam .nav-tabs {
    width: 100%;
}
.nav-tabs {
    border-bottom: 1px solid #ddd;
    margin-top: 5px;
    margin-bottom: 5px;
    display: flex;
    padding: 0;
}
#loto-cam .nav-tabs>li {
    flex: 0 1 25%;
}
.nav-tabs>li>a {
    color: #fff;
    display: block;
    font-size: 15px;
    padding-top: .5em;
    padding-bottom: .5em;
    width: 100%;
    text-align: center;
    font-weight: 700;
}
.nav-tabs>li.active {
    cursor: default;
    background-color: #f36b21;
    border-bottom-color: transparent;
}
.nav-tabs>li {
    margin-bottom: -1px;
    flex: 0 1 100%;
    border: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
    list-style: none;
    color: #f36b21;
    background-color: #afafaf;
}
.pure-material-checkbox>span {
    display: inline-block;
    width: 100%;
    cursor: pointer;
}
.pure-material-checkbox>input:checked, .pure-material-checkbox>input:indeterminate {
    background-color: rgb(var(--pure-material-primary-rgb,33,150,243));
}
.pure-material-checkbox>input {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    z-index: -1;
    position: absolute;
    left: -10px;
    top: -8px;
    display: block;
    margin: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: rgba(var(--pure-material-onsurface-rgb,0,0,0),.6);
    box-shadow: none;
    outline: 0;
    opacity: 0;
    transform: scale(1);
    pointer-events: none;
    transition: opacity .3s,transform .2s;
}
.pure-material-checkbox {
    z-index: 0;
    position: relative;
    display: inline-block;
    color: rgba(var(--pure-material-onsurface-rgb,0,0,0),.87);
    font-family: var(--pure-material-font, "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system);
    font-size: 16px;
    line-height: 1.5;
    margin: 0 2.5px;
}
.pure-material-checkbox>input:checked+span::before, .pure-material-checkbox>input:indeterminate+span::before {
    border-color: rgb(var(--pure-material-primary-rgb,33,150,243));
    background-color: rgb(var(--pure-material-primary-rgb,33,150,243));
}
.pure-material-checkbox>span::before {
    content: "";
    display: inline-block;
    box-sizing: border-box;
    margin: 3px 8px 3px 1px;
    border: solid 2px;
    border-color: rgba(var(--pure-material-onsurface-rgb,0,0,0),.6);
    border-radius: 2px;
    width: 18px;
    height: 18px;
    vertical-align: top;
    transition: border-color .2s,background-color .2s;
}
.pure-material-checkbox>input:checked+span::after, .pure-material-checkbox>input:indeterminate+span::after {
    border-color: rgb(var(--pure-material-onprimary-rgb,255,255,255));
}
.pure-material-checkbox>span::after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    left: 1px;
    width: 10px;
    height: 5px;
    border: solid 2px transparent;
    border-right: none;
    border-top: none;
    transform: translate(3px,4px) rotate(-45deg);
}
#loto-cam td.boso span {
    margin: 1px;
    padding: 3px;
    border: 1px solid #e8e8e8;
    font-weight: 700;
    display: inline-block;
}
.list-bstk li {
    margin: 1% 2%;
    display: inline-block;
    color: #ed0303;
}
.page-txlt .title-sig {
    padding: 5px;
    text-align: center;
    display: inline-block;
    margin-top: 10px;
    width: 96%;
    height: 30px;
    margin: 0 2%;
    background: #fafafa;
    margin-top: 10px;
    border-bottom: 1px solid #f5f5f5;
}
.form-input-data li label {
    line-height: 27px;
}
.center {
    text-align: center;
}
.form-full li {
    display: inline-block;
    padding: 5px 10px;
}
#tansuatloto {
    background-color: #35363c;
    font-size: 16px;
}
#tansuatloto th, #tansuatloto tr td:first-child {
    border:1px solid #111;
    font-weight: 700;
    position: sticky;
    position: -webkit-sticky;
    left: -1px;
    z-index: 1;
}
#tansuatloto{
    font-weight: bold;
}
#tansuatloto th, #tansuatloto tr td:first-child,#tansuatloto tr td:last-child{background:#fff}
.bg_mau3 {
    background: #C515DD;
    color: #F8F8F8;
}
.bg_mau2{
    background: #7658CF;
    color: #F8F8F8;
}
.bg_mau1 {
    background: #5B5C66;
    color: #F8F8F8;
}
.bg_mau_gdb {
    background: #FF453C;
    color: #F8F8F8;
}
.bg_default{
    background: #35363C;
    font-size: 0px;
}
#tansuatloto td:not([class^='bg_mau']).active {
    background-color: #ffbf00;
}
#tansuatloto .info.active {
    background-color: #ffbf00;
}
#tansuatloto td:not([class^='bg_mau']).hover {
    background-color: #fdfd9e;
}
#tansuatloto .info.hover {
    background-color: #fdfd9e;
}
.txt-tbao-opt {
    padding: 5px;
    background: #fdfad1;
    border: 1px solid #fae46c;
    margin: 0 5px 10px;
}
.txt-left {
    text-align: left;
}
.form-input-data input {
    border: 1px solid #ccc;
    height: 27px;
}
.scoll {

    overflow: auto;
}
.tk-db table.colgiai.fl{float:left;width:50%}
.tk-db table.colgiai:nth-child(2n){border-left:1px solid #ccc}
.tk-db td span.clred{font-size:16px;color:#ed0303}
.tk-socuoi-db td{color:#666;font-size:14px;height:25px;text-align:center;font-weight:bold}
.colgiai td {padding:4px}
.tk-tong-db .colgiai td div {
    font-size: 14px;
}
.tk-tong-db .colgiai td div.ngay-quay {
    font-size: 13px;
    font-weight: normal;
}
.title-c2{background:#fff4c9;padding:8px 5px;text-align:center}
.title-c2 strong{font-weight:normal}
.box-tk .title-c2{border-bottom:1px solid #e4e4e4}
.box-tk .colgiai td:first-child{font-weight:bold;font-size:14px}
.bg_red, .hrate {
    background: #da1c47;
}
.colgiai td div:last-child {
    margin-bottom: 0;
}
.tile-tren-duoi{position:relative;height:30px;background:#eee}
.tile-tren-duoi span{display:block;width:100%;position:absolute;left:0}
.tile-tren-duoi span em{position:absolute;color:#333}
.tile-tren-duoi span.leftbor{border-left: 70px solid transparent;border-top: 30px solid #e2e2e2;position:absolute;top:0;}
.tile-tren-duoi span.leftbor em{top:-29px;right:10px;}
.tile-tren-duoi span.righttbor em{left:5px;top:13px}
.colgiai.tk-dd-db th,.colgiai.tk-dd-loto th{padding-top:0;padding-bottom:0;background:#fafafa}
.colgiai.tk-dd-db td div, .colgiai.tk-dd-loto td div{font-weight:normal;font-size:13px}
.colgiai.tk-dd-db tbody > tr:nth-of-type(2n+1), .colgiai.tk-dd-loto tbody > tr:nth-of-type(2n+1){background:none}
.rate{
    color:red;
}
.list-dau-db li{padding:8px 5px;border-top:1px solid #eee;border-left:1px solid #eee;float:left;text-align:center;width:20%;font-weight:bold}
.list-dau-db span.clnote{font-weight:normal;color:#666;font-size:13px}
.list-bstk li {margin: 1% 2%;display:inline-block;color:#ed0303}
.page-txlt .fr span:last-child{margin-left:10px}
.page-txlt .title-sig{padding:5px;text-align:center;display:inline-block;margin-top:10px;width:96%;height:30px;margin:0 2%;background:#fafafa;margin-top:10px;border-bottom:1px solid #f5f5f5}
.page-txlt .title-sig strong.fl{margin-right:20px}
.list-loto-mb h3, .logo-gan, .logo-gan li.gr-gray {
    padding: 5px;
}
.de{
    font-size: 24px;
    color: red;
}
.row-hover tr:hover {
    background: #f9f0cd;
}
.lightBlue{
  background-color: #dff0d8;
}
.db-by-month table th:first-child {
    width:70px;
}
.db-by-month table th:not(:first-child) {
    width:35px;
}
.modal {
    display: none;
    overflow: hidden;
    position: fixed;
    top: 15px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}
.modal.in .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}
@media (min-width: 80px) {
    .modal-dialog {
        width: 600px;
    }
}
@media (max-width: 600px) {
    .modal-dialog {
        width: calc(100% - 10px);
        margin: 5px;
    }
}
@media (min-width: 80px) {
    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
        box-shadow: 0 5px 15px rgb(0 0 0 / 50%);
    }
}
.modal-content {
    position: relative;
    background-color: #fff;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
    box-shadow: 0 3px 9px rgb(0 0 0 / 50%);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
}
.modal-header {
    padding: 15px;

    min-height: 16.42857143px;
}
.modal-body {
    position: relative;
    padding: 5px;
}
.modal-header .close {
    margin-top: -2px;
}
button.close {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}
.close {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
    filter: alpha(opacity=20);
}
.modal-title {
    width:80%;
    float:left;
    margin: 0;
    line-height: 1.42857143;
}
.dauduoiloto th{
    background-color: #d9edf7;
    color:black;
}
.dauduoiloto td:first-child{
    border:1px solid #ccc;
    position: sticky;
    position: -webkit-sticky;
    background-color: #fff;
    left: -1px;
    z-index: 1;
    width:90px;
}
.dauduoiloto td{
    padding: 5px 3px;
}
.tooltip {
    position: relative;
    border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #fbefca;
    color: red;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;

    
    position: absolute;
    z-index: 1;
    top: -5px;
    left: 205%;
    margin-left: -60px;
}
.tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 50%;
    right: 100%; 
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #fbefca transparent transparent;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}
#dacbietbyyear td.selected{
    background-color: #ffbf00;
}
.kqmb .gdb .number,.kqmb .g8 .number,.giai8 .number {
    color: #ed0303;
    font-size: 34px;
}
.kqmb .number{
    padding:3px 0;
    font-weight: bold;
    font-size:27px
}
.bg_f6 {  background: #f6f6f6; }
.col-firstlast.colgiai{margin-top:5px}
.col-firstlast.colgiai th{background:#dfdfdf;padding:10px; color:#333;font-weight:normal;font-size:14px}
.firstlast-mb {width:calc(50% - 2px);
    margin-top:2px;
    border-collapse: collapse;
    font-weight: bold;
}
.firstlast-mb td,th{
    border: 1px solid #ccc;
    padding:3px 5px;
    text-align: center;
    line-height: 22px;
    word-break:break-all;
    font-size:16px;
}
.firstlast-mb.fl td:last-child{
   text-align: left;
}
.firstlast-mb.fr td:first-child{
    text-align: right;
}
.txt-giai, .one-city .titgiai{border-right:1px solid #ccc;width:60px}
.one-city .colgiai td{border-left:none;border-right:1px solid #ccc;}
.one-city .colgiai td:last-child{border-right:none}
.kqtinh td.v-giai{padding: 0;
        
    }
.kqtinh td.v-giai > span{display: inline-block;
        
        
        padding:4px;
        white-space: nowrap;
        word-break: keep-all;
    }
.kqtinh.kqmb td.v-giai span[class^='v-g3-']{width:50%;border-bottom:none}
.kqtinh td.v-giai span.v-g3-1{border-left:1px solid #ccc}
.kqtinh td.v-giai span.v-g4-1, .kqtinh td.v-giai span.v-g4-2, .kqtinh td.v-giai span.v-g4-3, .kqtinh td.v-giai span.v-g4-0{width:25%;}
.kqtinh td.v-giai span.v-g4-1, .kqtinh td.v-giai span.v-g4-2, .kqtinh td.v-giai span.v-g4-3, .kqtinh td.v-giai span.v-g4-0{border-left:1px solid #ccc;border-bottom: 1px solid #ccc}
.kqtinh.kqmb td.v-giai span.v-g4-5, .kqtinh.kqmb td.v-giai span.v-g4-6, .kqtinh.kqmb td.v-giai span.v-g4-4{width:33.33%;}
.kqtinh.kqmb td.v-giai span.v-g4-5, .kqtinh.kqmb td.v-giai span.v-g4-6, .kqtinh.kqmb td.v-giai span.v-g4-4{border-left:1px solid #ccc;}
.kqtinh.kqmb td.v-giai span.v-g4-0, .kqtinh.kqmb td.v-giai span.v-g4-4{border-left: none}
.kqtinh td.v-giai span[class^='v-g6-']{width:33.33%}
.kqtinh td.v-giai span.v-g6-2, .kqtinh td.v-giai span.v-g6-1{border-left:1px solid #ccc}
@media(max-width: 640px)
    {
        .kqtinh.kqmb td.v-giai span.v-g4-1, .kqtinh.kqmb td.v-giai span.v-g4-2, .kqtinh.kqmb td.v-giai span.v-g4-3, .kqtinh.kqmb td.v-giai span.v-g4-0{width:50%;}
        .kqtinh.kqmb td.v-giai span.v-g4-2{border-left: none}
    }
@media(max-width:360px){


    .kqmb .number {
        font-size: 24px;
    }

}
a.item_sublink {
    color: #000;
    display: inline-block;
    border-radius: 30px;
    background: #e6d48f;
    padding: .35em .5em;
    margin: 2px 0;
    font-weight: 700;
    text-decoration: none!important;
}
.form-horizontal .form-group {
    margin-top:7px;
    margin-bottom: 5px;
    overflow: hidden;
    margin-left: initial;
    margin-right: initial;
    text-align: center;
}
#result-book table {
    border: 1px solid #ccc;

    width: 100%;
    margin: 0;
}
#result-book table td{
    line-height: 20px;
}
#result-book .sub-col-l {
    width: calc(66% - 2px);
    float: left;
}
#result-book .sub-col-r table th{
    padding: 6px 1px;
    word-break: break-all;
}
#result-book .sub-col-r table td {
    padding: 8px 1px;
    word-break: break-all;
}
#result-book .sub-col-r {
    width: 34%;
    float: right;
}
#result-book .kqmb .db .number,#result-book .kqmb .g7 .number {
    font-size: 19px;
    color:red;
}
#result-book .kqmb .number {
    font-size: 18px;
}
#result-book .kqmb td.txt-giai {
    width:35px;
}
#result-book .kqmb thead{display: none}
table.tbl50 {
    width: 50%;
    float: left;
}
.firstlast-mb th:first-child{
    width:35px;
}
.firstlast-mb td,th{
    border: 1px solid #ccc;
    text-align:center;
    padding:3px 5px;
    line-height: 20px;

}
.bg_gray {
    text-align: center;
    border: 1px solid #e5e2dc;
    border-bottom: 0;
}
.bg_gray {
    background-color: #f3f3f1;
    background-image: -moz-linear-gradient(center top,#fafafa,#f3f3f1);
    background-repeat: repeat-x;
    background: -webkit-gradient(linear,0 0,0 100%,from(#fafafa),to(#f3f3f1));
    border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    -webkit-border-radius: 4px 4px 0 0;
}
#result-book table td span:hover{
    background-color: #fff2bc;
}
#result-book .firstlast-mb td:hover{
    background-color: #fff2bc;
}
@media(max-width:480px) {
    #result-book .kqmb .number {
        font-size: 15px;
    }

    #result-book .firstlast-mb td {
        font-size: 15px;
    }
    #result-book .kqmb .db .number, #result-book .kqmb .g7 .number{
        font-size: 20px;
    }
}
.form-horizontal .form-control {
    width: calc(70% - 1.5rem);
    float: left;
}
.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.form-horizontal .control-label {
    padding-top: 7px;
    margin-bottom: 0;
    text-align: left;
    width: 30%;
    float: left;
    padding-left: 10px;
    font-weight: 700;
}
.form-horizontal .form-group {
    margin-top:5px;
    margin-bottom: 15px;
    overflow: hidden;
    margin-left: initial;
    margin-right: initial;
}
.form-group input[type=text] {
    display: block;
    font-family: inherit;
    min-height: 35px;
    padding: 0 .5rem;
    border-radius: 4px;
    border: 1px solid #aaa;
    box-shadow: none;
}
/* ==================== Bổ sung cho phiên bản SSR ==================== */
.ic-drop{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:center;cursor:pointer}
.breadcrumb{list-style:none;margin:0 0 8px;padding:6px 8px;font-size:13px;background:#f7f7f7;border:1px solid #e5e5e5;display:flex;flex-wrap:wrap;gap:4px}
.breadcrumb li+li:before{content:"›";margin-right:4px;color:#999}
.breadcrumb a{color:#0d6efd}
.draw-notice{margin:6px 0;padding:6px 10px;background:#fff8e1;border-left:3px solid #ec891d;font-size:13px}
.draw-notice.live{background:#ffebee;border-left-color:#d0021b;color:#b71c1c;font-weight:bold}
.seo-content h2{font-size:17px;margin:12px 0 6px}
.seo-content h3{font-size:15px;margin:10px 0 6px}
.seo-content p,.seo-content li{line-height:1.6}
.seo-content ul{padding-left:20px}
.province-tabs{display:flex;flex-wrap:wrap}
.province-tabs li{flex:0 0 auto}
.max3d-nums span{display:inline-block;min-width:48px;margin:2px 6px;font-weight:bold;font-size:18px}
.keno-nums i{display:inline-block;width:26px;height:26px;line-height:26px;margin:2px;border-radius:50%;background:#ec891d;color:#fff;font-style:normal;text-align:center;font-size:12px}
.tk-txloto td.hit{background:#ffe0b2;font-weight:bold}
.tk-txloto th,.tk-txloto td{white-space:nowrap;padding:3px 4px;font-size:12px}
.scoll,.tk-tansuat{overflow-x:auto}
.footer-note{font-size:12px;color:#777;margin:4px 0}
button.zoom-in-button{background:none;border:0;padding:0;cursor:pointer}
.de-ve-links a{display:inline-block;margin:2px;font-size:16px}
.de-follow .lo-list{font-size:12px;word-break:break-word}
.stat-form{padding:8px 5px}
.stat-form .form-control{display:inline-block;width:auto;max-width:180px;margin:0 8px 6px 4px}
.disclaimer{padding:6px 10px;color:#666;font-size:13px}
.schedule-table td,.schedule-table th{text-align:left;padding:5px 8px}
.list-news li{padding:8px 0;border-bottom:1px dashed #ddd}
.list-news .title-news{font-size:15px;margin:0 0 4px}
.list-news .desc{margin:0;color:#555}
.date-nav a,.loading-page a{padding:6px 10px}
.trial-form{padding:8px 5px;text-align:center}
.trial-form select{display:inline-block;width:auto;margin-right:8px}
.db-year td,.db-year th{font-size:12px;padding:3px 2px;text-align:center}
.freq-grid td{text-align:center}
.du-doan-article h2{font-size:17px}
.du-doan-article h3{font-size:15px;margin:10px 0 4px}
main.col-l{display:block}
/* Sửa xung đột khi gộp CSS nhiều trang: bảng lô tô đầu - đuôi */
.firstlast-mb th,.firstlast-mb td{word-break:normal}
.firstlast-mb.fl th:first-child,.firstlast-mb.fl td:first-child{width:42px}
.firstlast-mb.fr th:first-child,.firstlast-mb.fr td:first-child{width:auto}
.firstlast-mb.fr th:last-child,.firstlast-mb.fr td:last-child{width:42px}
.title-r:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23f6b40e' stroke='%23e09400'/%3E%3Cpath d='M10 4l1.8 3.7 4 .6-2.9 2.8.7 4L10 13.2 6.4 15.1l.7-4-2.9-2.8 4-.6z' fill='%23fff3c4'/%3E%3C/svg%3E")}
/* Nút phóng to bảng kết quả */
.zoom-in-button{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:bold;color:#333}
.zoom-in-icon{display:inline-block;width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='5' fill='none' stroke='%23333' stroke-width='2'/%3E%3Cpath d='M10.5 10.5L15 15M4 6.5h5M6.5 4v5' stroke='%23333' stroke-width='2'/%3E%3C/svg%3E") no-repeat center}
.zoom-in-button span:after{content:"Phóng to"}
.zoomed .zoom-in-button span:after{content:"Thu nhỏ"}
/* Phóng to: lớn hơn cỡ mặc định (MB 32/34px, nhiều đài 26/32px; mobile 25px, 20-21/24-28px) */
.zoomed .kqmb .number{font-size:42px}
.zoomed .kqmb .db .number,.zoomed .kqmb .gdb .number{font-size:46px}
.zoomed .colgiai td div{font-size:32px}
.zoomed .colgiai .gdb div,.zoomed .colgiai .g8 div{font-size:38px}
@media(max-width:640px){
  .zoomed .kqmb .number{font-size:30px}
  .zoomed .kqmb .db .number,.zoomed .kqmb .gdb .number{font-size:34px}
  .zoomed .colgiai td div{font-size:25px}
  .zoomed .colfourcity td div{font-size:22px}
  .zoomed .colgiai .gdb div,.zoomed .colgiai .g8 div{font-size:30px}
  .zoomed .colfourcity .gdb div,.zoomed .colfourcity .g8 div{font-size:26px}
}
/* Khung rộng & chữ chuẩn tỉ lệ xsmb.me */
@media (min-width: 901px) {
  .main, nav ul { max-width: 1024px; }
  .col-r { width: 334px; }
  .col-l { width: 680px; }
  header h1.txt-top { font-size: 13px; font-weight: normal; color: #333; line-height: 20px; padding: 4px 0 2px; margin: 0; }
  .txt-logo img { height: 35px; width: auto; }
  .title-r { font-size: 16px; padding: 10px; }
  .col-r .list-citymn-cale li { font-size: 16px; line-height: 22px; padding: 4px 0; }
  .schedule-table td, .schedule-table th, .mo-thuong-ngay td { font-size: 16px; padding: 6px 8px; }
  .mo-thuong-ngay .title-bor { font-size: 18px; }
}
/* Thống kê giải đặc biệt: ngày này năm xưa & lịch theo tháng */
.db-history td.db-big { font-size: 20px; font-weight: bold; }
.db-month-form { color: #fff; font-size: 16px; }
.db-month-form select { font-size: 16px; padding: 2px 4px; margin: 0 4px; color: #333; }
.db-month td { text-align: center; vertical-align: top; padding: 6px 2px; line-height: 20px; }
.db-month .db-num { display: block; font-size: 17px; font-weight: bold; color: #555; }
.db-month .db-day { display: block; font-size: 13px; color: #777; }
/* Sổ kết quả XSMB thu gọn */
#result-book .book-day { margin-bottom: 8px; }
#result-book .kqmb tr.title-bor td { background: #507e4e; color: #fff; padding: 6px; }
#result-book .kqmb tr.title-bor a { color: #ff0; font-size: 16px; text-decoration: underline; }
#result-book .box-html a { color: #00f; text-decoration: underline; font-weight: bold; }
/* Dự đoán: danh sách có ảnh & mục lục bài viết */
.list-news-thumb li { padding: 10px 0; border-bottom: 1px solid #e5e5e5; }
.list-news-thumb .title-news { font-size: 20px; margin: 0 0 8px; }
.list-news-thumb .title-news a { color: #00f; }
.list-news-thumb .news-row { display: flex; gap: 12px; align-items: flex-start; }
.list-news-thumb .news-thumb { flex: 0 0 300px; }
.list-news-thumb .news-thumb img { width: 300px; height: auto; display: block; border-radius: 4px; }
.list-news-thumb .desc { font-size: 15px; line-height: 1.5; }
@media (max-width: 640px) {
  .list-news-thumb .news-row { flex-direction: column; }
  .list-news-thumb .news-thumb, .list-news-thumb .news-thumb img { width: 100%; flex-basis: auto; }
}
.du-doan-article .lead { font-size: 16px; }
.news-thumb-lg img { max-width: 100%; height: auto; border-radius: 6px; }
.toc { border: 1px solid #ccc; background: #f9f9f9; padding: 10px 14px; margin: 10px 0; }
.toc-title { text-align: center; font-weight: bold; font-size: 17px; margin: 0 0 6px; }
.toc li { line-height: 1.7; }
.toc .toc-l1 a { color: #00f; font-weight: bold; font-size: 16px; text-decoration: underline; }
.toc .toc-l1 a:before { content: "\2714  "; color: #2e7d32; }
.toc .toc-l2 { padding-left: 20px; }
.toc .toc-l2 a { color: #1a5fd0; font-size: 15px; }
.du-doan-article h2 { font-size: 19px; margin: 14px 0 6px; color: #b71c1c; }
.du-doan-article h3 { font-size: 16px; margin: 10px 0 4px; }
.chot-so td:first-child { width: 45%; }

/* Danh sách tỉnh ở sidebar: chấm nằm trong ô của từng mục, 2 cột bằng flex để tên dài
   (TP Hồ Chí Minh, Thừa Thiên Huế) xuống dòng thay vì bị chấm của cột bên cạnh đè lên */
.list-citymn-cale{display:flex;flex-wrap:wrap;padding-left:8px;margin:0;list-style:none}
.list-citymn-cale li{float:none;width:50%;box-sizing:border-box;list-style:none;position:relative;padding:5px 6px 5px 14px}
.list-citymn-cale li:before{content:"\2022";position:absolute;left:2px;top:5px;color:#666}
.col-r .list-citymn-cale li,.list-citymn-cale li{padding:4px 6px 4px 16px}
.col-r .list-citymn-cale li:before,.list-citymn-cale li:before{left:4px;top:4px}
