/* RBK mirror widgets (m.rongbachkim.com) */
.rbk789-rbk-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0 8px;
	align-items: flex-start;
}
.rbk789-rbk-col-main {
	flex: 1 1 58%;
	min-width: 280px;
}
.rbk789-rbk-col-side {
	flex: 1 1 36%;
	min-width: 260px;
	max-width: 360px;
}
.rbk789-rbk-widget {
	margin-bottom: 10px;
}
.rbk789-rbk-note {
	font-size: 11px;
	margin: 0 0 16px;
}

/* tknhanh */
.rbk789-rbk-tknhanh .tbl1 {
	float: left;
	margin: 2px 3px;
	background: #83adfc;
	border-collapse: separate;
}
.rbk789-rbk-tknhanh .tbl1 .col1 {
	color: #b3380f;
	font-weight: bold;
	background: #e1efff;
	padding: 5px;
}
.rbk789-rbk-tknhanh .tbl1 .col2 {
	color: #008000;
	font-weight: bold;
	background: #fff4e1;
	padding: 5px;
}
.rbk789-rbk-tknhanh .clear {
	clear: both;
}
.rbk789-rbk-tknhanh {
	font-size: 12px;
	line-height: 1.35;
}
.rbk789-rbk-tknhanh div[style*="padding:5px"] {
	padding: 3px 5px !important;
}
.rbk789-rbk-tknhanh ul {
	margin: 4px 0;
	padding-left: 18px;
}
.rbk789-rbk-tknhanh .maxganhilight {
	margin: 2px 4px !important;
	font-size: 12px !important;
}
/* Mini gan bars (tổng / chạm) — override RBK 100px+ bars */
.rbk789-rbk-tknhanh table[style*="inline-block"],
.rbk789-rbk-tknhanh table[style*="float:left"] {
	display: inline-table !important;
	margin: 2px 4px 4px 0 !important;
	vertical-align: top;
	border-collapse: collapse;
}
.rbk789-rbk-tknhanh td.s,
.rbk789-rbk-tknhanh td.s2 {
	width: 32px !important;
	height: 26px !important;
	max-height: 28px !important;
	min-height: 0 !important;
	padding: 0 !important;
	font-size: 11px !important;
	line-height: 1.1 !important;
	vertical-align: bottom !important;
	position: relative !important;
	background-size: 32px 28px !important;
	overflow: hidden;
}
.rbk789-rbk-tknhanh .gandiv,
.rbk789-rbk-tknhanh .gandiv2 {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	width: auto !important;
	font-size: 9px !important;
	line-height: 1.1 !important;
	color: #0044c1 !important;
	text-align: center;
}
.rbk789-rbk-tknhanh .tongnum {
	font-size: 12px !important;
	font-weight: bold;
	text-align: center;
	padding: 2px 0 !important;
}
.rbk789-rbk-tknhanh table[style*="inline-block"] tr,
.rbk789-rbk-tknhanh table[style*="float:left"] tr {
	display: table-row !important;
}
.rbk789-rbk-tknhanh table[style*="inline-block"] td,
.rbk789-rbk-tknhanh table[style*="float:left"] td {
	display: table-cell !important;
	padding: 0 !important;
}
.rbk789-gan-tbl-wrap {
	margin: 4px 0 8px;
}
.rbk789-gan-tbl-head {
	font-size: 11px;
	color: #666;
	padding: 2px 4px 4px;
}

/* contentbox / caudep / lotop */
.rbk789-rbk-widget .contentbox {
	margin: 7px 5px;
	border: #ddd 1px solid;
	border-radius: 5px;
	text-align: left;
	background: #fff;
}
.rbk789-rbk-widget .contentbox_header {
	height: 32px;
	background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
	border-bottom: 1px solid #ddd;
}
.rbk789-rbk-widget .contentbox_header div {
	font-weight: bold;
	color: #606060;
	font-size: 13px;
	padding: 8px 0 0 5px;
}
.rbk789-rbk-widget .contentbox_body {
	padding: 5px;
}
.rbk789-rbk-widget a.caudep {
	margin: 3px;
	padding: 5px;
	display: block;
	float: left;
	background: #fdfdfd;
	border: #dfdddb 1px solid;
	font-size: 16px;
	font-weight: bold;
	color: #1d5aeb;
	text-decoration: none;
}
.rbk789-rbk-widget a.caudep:hover {
	background: #ffede1;
	border-color: #fae1c0;
	color: #df5900;
}
.rbk789-rbk-lotop a.trend_number {
	display: inline-block;
	color: #1d5aeb;
	text-decoration: none;
	margin: 0 8px 8px 0;
	font-weight: bold;
}
.rbk789-rbk-lotop a.trend_number:hover {
	color: #df5900;
}
.rbk789-lotop-more {
	text-align: right;
	margin: 4px 8px 0;
}

/* Âm lịch */
.rbk789-homnaytbl {
	width: 100%;
	max-width: 340px;
	border: #a4b5d0 1px solid;
	margin: 5px 0;
	border-radius: 4px;
	border-collapse: separate;
	background: #fff;
}
.rbk789-homnaytbl .ngaythangduong {
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	background: #787878;
}
.rbk789-homnaytbl .ngayduong {
	text-align: center;
	font-size: 23px;
	font-weight: bold;
	color: #0049a4;
	background: #d9e4ff;
}
.rbk789-homnaytbl .ngayam {
	text-align: center;
	font-size: 19px;
	color: red;
	font-weight: bold;
}
.rbk789-homnaytbl .thangnamam,
.rbk789-homnaytbl .gioam {
	text-align: center;
	font-size: 12px;
	color: #464646;
	font-weight: bold;
}
.rbk789-homnaytbl .canchi {
	vertical-align: top;
	font-weight: bold;
	background: #f4e4fc;
}
.rbk789-homnaytbl .gioam {
	color: #56019c;
}

@media (max-width: 768px) {
	.rbk789-rbk-col-side {
		max-width: none;
	}
}
