.by-wpdiscuz {
    display: none !important;
}

@media screen and (max-width: 600px) {
	.code-DB8 {
    width: 12.5%;
    font-size: 12px;
}
}	
		
.form-select {
    --bs-form-select-bg-img: none;
}

.pushbar_overlay{z-index:-999;position:fixed;width:100%;max-width:100%;height:100%;min-height:100vh;top:0;left:0;will-change:opacity;opacity:0;will-change:opacity;background:#3c3442;}
.pushbar_locked .pushbar_overlay{opacity:.8;z-index:999;transition:opacity .5s ease;}	
		
		
.page_navi {
	  text-align: center;
	  
}
.page_navi a {
 // border-radius: 40px;
  color: #222;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  text-align: center;
  width: 40px;
}
.page_navi .active {
  background: #DB1F26;
  color: #fff;
}
.page_navi a:hover {
	background-color:#DB1F26;
	color:#222;
}



.pagenavi {
  margin-bottom: 20px;
  margin-top: 30px;
  text-align: center;
}
.pagenavi > * {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  text-align: center;
  width: 40px;
}
.pagenavi .curent {
  background-color: #DB1F26;
  border-radius: 100%;
  color: #fff;
}



.nav-link {
	color:#222;
}
.nav-link.active, .nav-link:focus, .nav-link:hover {
    color: #DB1F26;
}

		
		
		
/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.lightbox.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.lightbox-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.lightbox-header .icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #9c27b0, #ff9800);
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.lightbox-header h3 {
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

.close-btn:hover {
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group .input-wrapper .icon {
    position: absolute;
    left: 12px;
    color: #999;
    font-size: 16px;
}

.form-group input {
    width: 100%;
    padding: 12px 12px 12px 12px;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-bottom-color: #2196F3;
}

.submit-btn {
    width: 100%;
    background: #2196F3;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background: #1976D2;
}

.switch-form {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.switch-form p {
    margin: 10px 0;
    color: #666;
}

.switch-form a {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
}

.switch-form a:hover {
    text-decoration: underline;
}

/* Toast animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.switch-form {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Emoji Picker */
#emojiPicker {
    position: fixed !important;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 200px;
    display: none;
}

#emojiPicker button {
    background: none;
    border: none;
    font-size: 20px;
    padding: 5px;
    margin: 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.2s;
}

#emojiPicker button:hover {
    background: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .chat-container {
        margin: 10px;
        border-radius: 5px;
    }
    
    .chat-messages {
        height: 300px;
    }
    
    .lightbox-content {
        width: 95%;
        padding: 20px;
    }
    
    .chat-header {
        padding: 10px 15px;
    }
    
    .chat-header h2 {
        font-size: 16px;
    }
    
    .chat-input-area {
        padding: 10px 15px;
    }
    
    #emojiPicker {
        max-width: 150px;
        right: 10px !important;
    }
}
		
		
		
		
		

.m-xs{display:none;}
.nav-panel{display:table;width:100%;float:left;}
.nav-panel li{display:table-cell;text-align:center;font-size:14px;border-left:solid 1px #dddfe2;color:#222;vertical-align:top;}
.nav-panel li:first-child{border-left:0;}
.nav-panel a.active{color:#fff;background:#ed1c25;}
.nav-panel a{display:block;padding:8px 2px;text-align:center;}
@media only screen and (max-width:960px){
.p-xs{display:none;}
.m-xs{display:block;}
}
/*! CSS Used from: https://cdn.xoso.com.vn/css/xsmbresult.min.css?v=20250723 ; media=all */
@media all{
a:hover{color:#ed1c25;}
}


.breadcrumb{font-family:sans-serif;float:left;width:100%;margin-bottom:10px;color:#555;font-size:13px;}
.breadcrumb a{display:contents;color:#555;}
.breadcrumb a+a:before{padding:0 5px;color:#555;content:"/ ";}
.breadcrumb a+span:before{padding:0 5px;color:#555;content:"/ ";}
@media only screen and (max-width:960px){
.breadcrumb{font-size:13px;padding:0 16px;}
}
#nk-loadmore,
#loadmore{
    color: #fff;
    padding: 8px 25px;
    display: inline-block;
    border-radius: 25px;
    background: #ed1c25;
}


.nk-topdudoan-wrap  .nk-user-info .avatar-fallback {
    display: flex;
    margin-right: 5px;
}
#nk-topdudoan-body .nk-user-info img {
	border-radius:100%;
	margin-right:5px;
}	
		
		
#wpdcom .wpd-form-head,
.wpd-thread-head {
    display: none !important;
}
#wpdcom #wpd-threads {
    margin-top: 0px;
}
.wpd-thread-list {
    padding-top: 0px !important;
}
.wc-field-submit label.wpd_label {
    display: none !important;
}
.wpd-comment-label {
    display: none !important;
}
#wpdcom.wpd-layout-1 .wpd-comment .wpd-blog-post_author .wpd-avatar img {
    border-color: #ccc !Important;
}


.header-account-image .avatar-fallback {
    height: 32px !important;
    width: 32px !important;
    font-size: 15px !important;
}
.wpd-avatar  .avatar-fallback {
    width: 35px ! Important;
    height: 35px ! Important;
    max-width: 35px ! Important;
    border-radius: 0px !important;
    border: 2px solid #fff;
    padding: 2px;
    background-color: #ffffff;
    vertical-align: middle;
    text-align: center;
    float: none;
	    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}
div#comments {
    margin: 0px;
}

.wpd_comment_level-1 {
    border-bottom: 1px dashed #ccc;
    margin-top: 15px;
    padding-bottom: 15px;
}

#wpdcom .wpd-reply.wpd_comment_level-2 {
    margin-left: 70px;
    background-color: #f8f8f8;
    padding: 10px 5px;
}
.wpd_comment_level-3 {
    margin-top: 20px;
}

#wpdcom .wpd-comment .wpd-comment-left {
    width: 40px;
}
.wpd-comment-author > a {
    display: flex;
    align-items: center;
    justify-content: center;
}
#wpdcom .wpd-comment-author .badge  {
    background-color: #000;
    padding: 3px;
    color: #fff !important;
    font-size: 65% !important;
    color: #fff;
    font-weight: normal;
    text-transform: capitalize !important;
	border-radius:0px;
	margin-left:4px;
}
.wpd-blog-administrator .wpd-comment-author a {
    color: red !important;
}
#wpdcom .wpd-comment-author .badge.administrator {
	background-color:red !Important;
}



.menu-item4{display:table;width:100%;float:left;font-family:sans-serif;}
.menu-item4 a{display:table-cell;width:25%;float:left;padding:5px 0;text-align:center;font-size:14px;border:solid 1px #dddfe2;border-left:0;border-bottom:0;color:#222;font-family:sans-serif;}
.menu-item4 a:nth-child(4n+4){border-right:0;}
.menu-item4 a:hover{color:#fff;background:#ed1c25;border:solid 1px #ed1c25;border-left:0;border-bottom:0;}
.menu-item4 a.active{color:#fff;background:#ed1c25;border:solid 1px #ed1c25;border-left:0;border-bottom:0;}



#wpdcom .wpd-up svg {
    fill:#777777!important;
}
#wpdcom .wpd-comment-footer {
    opacity: 0.7;
}

#wpdcom .wpd-comment .wpd-comment-header {
    padding: 0px;
	    margin-bottom: 5px;
}
#wpdcom .wpd-comment .wpd-comment-header .wpd-comment-author a {
    color: #000;
    text-transform: capitalize;
}
#wpdcom .wpd-comment-text {
    color: #222;
    vertical-align: middle;
    width: fit-content;
    font-size: 14px;
    word-break: break-word;
}

.wpd-follow-link.wpd_not_clicked.wpd-follow {
    display: none;
}
.wpd-comment-share.wpd-hidden.wpd-tooltip.wpd-top {
    display: none;
}
span.date_text {
    font-size: 11px !important;
    opacity: 0.6;
    height: 22px;
    line-height: 22px !important;
}
.wpd-reply-button {
    font-size: 11px !important;
    margin-right: 10px;
}
#wpdcom .wpd-comment-footer .wpd-vote-result {
    font-size: 11px;
    padding: 0 2px;
}
#wpdcom .wpd-comment-footer .wpd-vote {
    padding-right: 5px;
}
#wpdcom .wpd-comment .wpd-comment-left {
    margin-right: 10px;
}
#wpdcom .wpd-comment .wpd-comment-right {
    padding-bottom: 0px
}


.bgtr, .bgtr td {
    background: #f0f8ff !important;
} 


@media screen and (max-width: 600px) {
    #wpdcom .wpd-comment .wpd-comment-wrap {
        display: flex;
    }
	#wpdcom.wpd-layout-1 .wpd-comment.wpd-reply .wpd-comment-left,
    #wpdcom .wpd-comment .wpd-comment-left {
        width:40px;
    }
	
}
.wpd-reply-to,
#wpdcom .wpd-hidden,
#wpdcom.wpd-layout-1 .wpd-comment .wpd-follow-link {
display:none !Important;	
}

@media screen and (max-width: 600px) {
	
    .wpd-avatar .avatar-fallback {
        width: 36px !important;
        height: 36px !important
    }
}

#wpdcom .wpd-comment .wpd-avatar img, #wpdcom .wpd-comment .wpd-avatar img.avatar {
    width: 35px;
    height: 35px;
    max-width: 35px;
    border-radius: 0px;
    padding: 1px;
}





.box_vote_so {
    border: 1px solid #ddd;
    padding: 2px;
    padding-bottom: 20px;
}
.head,
.box_vote_so h4 {
    font-size: 17px;
    color: #fff;
    background-color: #f20000;
    text-align: center;
    padding: 10px;
    margin-bottom: 15px;
}
.head {
	margin-bottom:0px;
}

        .dudoan-group { margin-bottom: 10px;    text-align: center; }
        .dudoan-group label { display: block; font-weight: bold; margin-bottom: 5px; }
        .num-field {
    width: 49px;
    text-align: center;
    margin: 2px;
    display: inline-block;
    float: none;
    background-color: #ffaa2c;
    border: 0px;
    border-radius: 5px;
    color: #fff;
}
        .num-field::placeholder {
			    color: #fff;
}
        #add_dan { margin-top: 5px; }
		
		button.btn.btn-1 {
    background-color: #f20000;
    color: #fff;
}




.xemthem {
    margin: 20px 0px;
    background-color: #f6f6f6;
    padding: 15px;
}
        .nk-topdudoan-wrap { margin:20px 0; border: 1px solid #ddd;}

        .nk-topdudoan-filter button.active {background:#f20000; color:#fff;}
        table.nk-topdudoan {width:100%; border-collapse:collapse;}
        table.nk-topdudoan th, table.nk-topdudoan td {
            border-bottom:1px solid #ddd; padding:3px; text-align:left;
        }
        table.nk-topdudoan th {background:#f8f8f8;}
        .nk-avatar {
            width:36px; height:36px; border-radius:50%; display:inline-flex;
            align-items:center; justify-content:center; font-weight:bold;
            color:white; margin-right:10px; text-transform:uppercase;
        }
        .nk-user-info a{display:flex; align-items:center;color:#222;}
        .nk-toast {
            position: fixed; top: 20px; right: 20px; z-index: 9999;
            background: #4CAF50; color: white; padding: 12px 18px; border-radius: 6px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
            animation: fadeIn 0.3s ease;
        }
.nk-caothu-wrap td.nk-dande {
    max-width: 110px;
}
		
        @keyframes fadeIn {from {opacity:0; transform:translateY(-10px);} to {opacity:1; transform:translateY(0);}}
		
.nk-topdudoan-filter > div {
    display: flex;
    width: 100%;
    justify-content: space-around;
    border: 1px solid #ddd;
}
.nk-topdudoan-filter > div > * {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.nk-topdudoan-filter button {
    padding: 10px 0px;
    cursor: pointer;
    transition: 0.2s;
    border-left: 1px solid #ddd;
}
.nk-topdudoan-filter h4 {
    background-color: #f20000;
    color: #fff;
    font-size: 15px;
    padding: 10px 0px;
    font-weight: bold;
    text-transform: uppercase;
}

.top-1, .top-2, .top-3 {
    width: 32px;
    height: 32px;
    background-size: contain;
    display: block;
    font-size: 0px;
    margin: 0 auto;
}
.top-1 {
    background-image: url(../images/medal-1.png);
}
.top-2 {
    background-image: url(../images/medal-2.png);
}
.top-3 {
    background-image: url(../images/medal-3.png);
}

#nk-topdudoan-body td:first-child {
    padding: 0px;
    text-align: center;
    max-width: 32px;
}
.nk-topdudoan thead th:first-child {
	    max-width: 32px;
}
.nk-topdudoan tr:nth-child(2n) td ,
#nk-topdudoan-body tr:nth-child(2n) td {
    background-color: #f3f3f3;
}

.nk-topdudoan thead th {
    background-color: #fff2e7;
}




.nk-history {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    margin-top: 0px;
}
.nk-history th, .nk-history td { border:1px solid #ddd; padding:5px; text-align:center; vertical-align: middle; }
.nk-history th { background:#f2f2f2; font-weight:700; }
.nk-num {
    margin: 1px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 13px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    padding: 0px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    padding: 0 2px;
}
.nk-hit { background:#e6ffea; border-color:#9ae59b; color:#0b7a2a; font-weight:700; }
.nk-nohit { background:#fff; color:#333; }
.nk-hit-mark { color:#0b7a2a; margin-right:4px; font-size:12px; }

.nk-loadmore { display:block; margin:12px 0; padding:8px 12px; background:#f44336; color:#fff; border:none; cursor:pointer; border-radius:4px; }
#nk-loadmore {
    display: block;
    margin: 0 auto;
}




.nk_avatar img {
    width: 100%;
    height: auto;
    border-radius: 100%;
    border: 1px solid #cccccc;
    padding: 2px;
    background-color: #ffffff;
    vertical-align: middle;
    text-align: center;
    margin-left: 20px;
    margin-top: 10px;
}
button.fs-follow-btn {
    background-color: #ffaa2c;
    color: #fff;
	border-color:#ffaa2c;
	margin-top:10px;
}


.fs-follow-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    text-transform: capitalize;
}

.logdd {
    border-bottom: 1px solid #ececec;
    margin-bottom: 15px;
    padding-bottom: 15px;
    display: flex;
}
.logdd div:first-child {
    width: 45px;
    margin-right: 10px;
    display: block;
}
.logdd img.avatar.avatar-45.photo {
    width: 45px;
    height: 45px;
    display: block;
    border-radius: 100%;
	max-width: 45px;
}
.logdd small {
    color: #888;
    font-size: 80%;
}
.orange {
    color: orange;
}

button.btn-loadmore-log {
    margin: 0 auto;
    display: block;
}

.btn.btn-sm {
    width: auto;
    height: 25px;
    line-height: 25px;
    padding: 0 5px;
}
.col-de span.nk-hit {
    color: red;
    border-color: red;
	background-color:#ffd7d7;
}


input#avatarInput {
    border: 1px dashed #ccc;
    display: inline-block;
    width: auto;
    padding-top: 5px;
    border-radius: 3px;
    margin-bottom: 5px;
    background-color: #f9f9f9;
}

.boxname {
    padding: 10px 3px;
    background: #f20000;
    text-align: center;
    color: #fff;
	font-size: 16px;
}
.boxname a {
	color:#fff;
}
.boxname a:hover {
	color:#fff;
	text-decoration:underline;
}
.control-panel {
    padding: 5px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.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ố";
}
.hover-panel{background-color:#f7dfbb;width:100%;}
.hover-panel #hover-row{display:flex;flex-wrap:wrap;border:solid #ccc;border-width:0 0 0 1px;}
.hover-panel #hover-row span{flex:0 0 10%;border:solid #ccc;border-width:0 1px 1px 0;text-align:center;padding:5px;border-radius:0;font-weight:700;}
/* highlight hàng table-loto */
.loto-row-highlight {
  background: #ffefc0 !important;
}

/* highlight 2 chữ số cuối trong table-result */
.result-2digits {
  background: #ffc43a;
  padding: 0 3px;
  border-radius: 3px;
  font-weight: 700;
}

/* highlight số trong hover-row */
.hover-active {
  background: #ffc43a;
  border-radius: 3px;
  padding: 1px 6px;
  font-weight: 700;
}

/* nếu muốn th ở table-loto và table-result cũng đậm */
.th-highlight {
  font-weight: 700;
}

.buttons-wrapper {
    cursor: pointer;
}
.kq-top-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    color: red;
}

.kq-top-link a {
    color: red;
}








.list-dau-db,.tab-panel{-webkit-box-direction:normal;-moz-box-direction:normal;-webkit-box-orient:horizontal;-moz-box-orient:horizontal;}
.tk-tong-db table{table-layout:fixed;}
.fl{float:left;}
.clearfix::after{display:block;content:"";clear:both;}
.magt10{margin-top:10px;}
.box{position:relative;background:#fff;}
.box-html{background:#f6f6f6;padding:5px;}
.s18{font-size:18px;}
.clnote,.colorRed{color:#ec323b;}
.title-a{color:#fff;}
.in-block{display:inline-block;}
.tk-db table.fl{width:50%;}
.boxtit{padding:10px 3px;background:#f20000;text-align:center;color:#fff;}
.title-a{text-align:center;padding:10px 0;}
.hdc-csi_square{width:336px;height:280px;display:inline-block;}
.hdc-csi_square{margin:0 auto;}
@media (max-width:640px) and (min-width:321px){
.hdc-csi_square{width:336px;height:280px;}
}
.bang-thong-ke tr:hover td{background-color:#fff2bc;}
.tab-panel,.tab-panel *{position:relative;}
.tab-panel{padding:0;margin:0;background:0 0;font-size:14px;display:-webkit-box;display:-moz-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-moz-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;width:100%;}
.tab-panel *{word-spacing:normal;}
.tab-panel+h2{border-radius:0;}
.tab-panel li{border:1px solid #f3f3f3;line-height:24px;}
@media (min-width:1200px){
.tab-panel li{list-style:none;z-index:0;text-align:center;}
}
.tab-panel li a{color:inherit;display:block;padding:5px;}
@media (max-width:767px){
.tab-panel li a{padding:5px 0;}
}
.tab-panel li a:hover{color:#ec891d;}
@media (max-width:1199px){
.tab-panel li{flex:0 1 25%;border-top:1px solid #f3f3f3;border-radius:0;margin:0;background:#fff;}
.tab-panel li:not(:first-child){border-left:1px solid #f3f3f3;}
.tab-panel.tab-auto li{flex:1 1 auto;}
.tab-panel li:after,.tab-panel:after{display:none;}
.tab-panel li a{text-align:center;}
}
@media (max-width:320px){
.hdc-csi_square{width:300px;height:250px;}
}
.list-dau-db{display:-webkit-box;display:-moz-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-moz-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;}
.list-dau-db li{-webkit-box-flex:1 1 20%;-moz-box-flex:1 1 20%;-webkit-flex:1 1 20%;-ms-flex:1 1 20%;flex:1 1 20%;border:1px solid #f3f3f3;text-align:center;padding:5px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
@media (max-width:320px){
.tk-tong-db td{padding:0;}
}
.tk-tong-db td div.ngay-quay{color:#888;font-size:13px;font-weight:400;}
@media (min-width:768px){
.tab-panel li{flex:1 1 12.5%;}
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-top-color: #333;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.random-running {
    font-weight: bold;
    animation: rainbowText 0.5s linear infinite, pulse 0.6s ease-in-out infinite;
}

@keyframes rainbowText {
    0% { color: #ff0000; }
    20% { color: #ff7f00; }
    40% { color: red; }
    60% { color: #00000; }
    80% { color: #0000ff; }
    100% { color: #8b00ff; }
}

@keyframes pulse {
}