/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2021 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

/* Các tùy chỉnh CSS của giao diện nên để vào đây */
.bodytext p br{
	padding: 5px 0px;
	margin: 0;
	text-indent: 25px;
}
.bodytext img {
	height: auto !important;
}
table.MsoTableGrid {
    width: 100% !important;
}
body {
    text-align: justify;
}
.bodytext {
    text-align: justify;
}
.smoothmenu2 {
    text-transform: uppercase;
    font-weight: bold;
  
}

.body .enable-animate {
    background-size: cover;
    background-image: url(../images/bg.webp);
    overflow: hidden;
    background-attachment: fixed;
    background-position: 50% 0;
    background-repeat: no-repeat;
}
table.MsoTableGrid {
    margin-left: 0px !important;
}
.wsmenucontainer {
    min-width: 100% !important;
}
.nv-block-banners {
    clear: both;
}
/*.wraper {
    max-width: 1200px;
    width: 100%;
}
.left-congan{width:25%;float:left}
*/
.left-congan {
  /* clear: both;*/
}
.right-congan{float:right; clear:both}

.tms_block {
    clear: both;
}
.header-minhphuc {
    width: 100%;
}
.block_groups_home_item img {
    width: 150px;
}
.img_block_groups_home_item {
    width: 40%;
}
.img_block_groups_home_title {
    width: 60%;
    float: right;
    padding: 5px;
}
.block_groups_home_item {
    border-bottom: 1px dashed #ddd;
    padding: 5px;
}
.wrapguicauhoi img {
    height: 50px;
    width: auto;
    float: right;
}
.thuvienanh .Header {
    height: 32px;
    border-bottom: 2px solid #003f7f;
    margin-bottom: 3px;
    line-height: 12px;
    position: relative;
}
.thuvienanh .Header span a {
    color: white;
    display: inline-block;
    font: bold 10pt/30px Arial;
    padding: 0px 10px 0px 45px;
    text-transform: uppercase;
    white-space: nowrap;
    background: #003f7f;
    position: relative;
    background-image: url(../images/bg-national-home-cand.webp);
    background-position: left center;
    background-position-x: 5px;
    background-repeat: no-repeat;
}
li.khtt-donvi-left {
    padding: 5px;
    border: 1px solid #428bca;
    margin: 5px;
}
.khtt-donvi-left:hover {
    background: #f54448;
}
.khtt-donvi-left:hover a{
    color: #fff;
}
.khtt-donvi-title-div{
    padding: 8px 5px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd;
}
.khtt-home {
    border: 1px solid #d8d8e7;
}
.khtt-donvi-title-div:hover {
    background: #f54448;
}
.khtt-donvi-title-div:hover a{
    color: #fff;
}
.khtt-donvi {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.khtt-donvi-title {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    color: inherit;
    font: -webkit-small-control;
    font-weight: bolder;
}
.traloi-main, .hoidap-main {
    margin: 5px;
    border: 1px solid #e5dfdf;
    padding: 5px;
}
.header-tmp-ca {
    max-height: none;
}
.wsmobileheader {
    position: relative;
    background: #003f7e;
    /*margin: 15px;*/
}
.m-bottom {
    /*text-align: center;*/
}
.bottom-cat img {
    width: 100%;
}
.block-top {
    margin: 5px;
}
.owl2-stage, .owl2-stage-outer , .so-homeslider,.owl2-item,.item {
    /*height: 170px;*/
}
#sohomepage-slider {
   /* height: 200px;*/
}
.modcontent {
    /*height: 200px;*/
}
.news-catbox-single-minhphuc a{ color:#fff;}
.news-catbox-single-minhphuc {
    
    line-height: 32px;
    font-size: 20px;
    font-weight: 700;
    padding-left: 50px !important;
    background: url(../images/bg-national-home-cand.webp) #ba0c2f  no-repeat left center !important;
}
.bottom-cat {
    padding: 0px 5px;
}
.header-container-mp {
    width: 100%!important;
    padding: 0px;
}
.logo-textbanner {
    top:0;
    position: absolute;
    width: 100%;
    max-width: 1200px;
}
.panel-heading a {
    font-size: 16px;
}
.close {
    color: #fff !important;
    opacity: 0.7 !important;
}
#contactButton .ctb {
    right: 74px!important;
}
div.news_column ul.related a {
    padding-left: 10px!important;
}
.panel-default>.panel-heading {
    text-transform: uppercase;
}
.news-catbox-single h2 {
    border-bottom: #003f7f 2px solid !important;
}
.news-catbox-single.clearfix a {
    color: #003f7f;
}
#footer {
    background: #003f7f  !important;
}
.copy-menu {
    margin-top: 10px;
    padding: 10px;
    border-top: 1px #fbb22f solid;
}
.second-nav .bg {
    background: #ba0c2f;
    max-width: 1200px;
    margin: 0 auto;
}

.sitemenu-bg {
   
    background-color: #ba0c2f;
    position: absolute;
    top: 128px;
    left: 0;
    height: 48px;
    width: 100%;
    border-left: 0;
    border-right: 0;
}
#jssor_2 {
    width: 100% !important;
}
.sliders img {
    width: 100%;
}
.menuctwrap {
    background: #ba0c2f;
}

.menuctwrap::after,
.wsmenu > .wsmenu-list::after {
    content: "";
    display: table;
    clear: both;
}
.tms_block_heading {
    text-align: center;
    background: #003f7f;
}
.copyright-tmp {
    line-height: 20px;
    font-size: 13px;
}
ul.company_info {
    color: #fff;
}
.company_info .company_name {
    text-transform: uppercase;
}
.logo-textbaner-sitebannertext-mp {
    z-index: 999999;
    width: 1200px;
    position: inherit;
    margin: 0 auto;
}
.huychuongstc {
   /* position: absolute;
   z-index: 9999999999;
   */
    width:165px;
    float: right;
    margin-top: -53px;
}
.huychuongstc img {
    width: 100%;
}
/*.sitebannertext {
    margin-left: -150px;
}
*/
.lastest-news img {
    width: 100px;
    height: 60px;
    margin-right: 5px;
}
.footer_site_01col00 {
    padding-left: 50px;
    padding-top: 22px;
    font-size: 20px;
    font-weight: bold;
    line-height: 30px;
}

.fa-user {
    color: #0f1fe1;
}
.fa-filter {
    color: #20bd04;
}
.fa-calendar-o {
    color: #ef0808;
}
.fa-calendar-mp {
    color: #06a38d;
}
.fa-calendar-befor {
    color: #ef08c8;
}
.fa-tatol {
    color: #8e0af1;
}
.logo-minhphuc img {
    width: 160px;
    padding-top: 30px;
}
.owl2-controls {
    display: none;
}
.breadcrumbs.list-none a {
    text-transform: uppercase;
}
header.header-container-mp {
    /*height: 200px;*/
}
.main_stc{
	background: #fff;
	/*margin-top: 10px;*/
}
.row.shadow-bg.bg-body-new {
    width: 1200px;
    margin: 0 auto;
	padding-top: 10px;
}
div#logo img {
    width: 50%;
    margin: 0 auto;
}
.new_left {
	/*margin-top: 10px;*/
    float: left;
    width: 75%;
    z-index: 999;
	position: relative;
    min-height: 1px;
    padding-right: 5px;
}
.new_right {
	/*margin-top: 10px;*/
    float: right;
    width: 25%;
	position: relative;
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
}
.nv-block-banners img {
    width: 100%;
    border: 1px solid #2c8fd7;
}
ul.lastest-news {
    overflow-y: scroll;
    height: 300px;
}
.lastest-news::-webkit-scrollbar-track {
	-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);
	background-color:#a0bedd;
}
.lastest-news::-webkit-scrollbar {
	width:5px;
	background-color:#f5f5f5;
}
.lastest-news::-webkit-scrollbar-thumb {
	background-color: #0b88c5;
}
.tabs .nav li.ui-state-active a {
    text-transform: uppercase;
    font-weight: bold;
}
a#ui-id-2 {
    text-transform: uppercase;
}
.tabs .nav li {
    text-transform: uppercase;
}
.tms_cat {
    margin-bottom: 5px !important;
}
.tms_cat_title {
    padding-bottom: 0px !important;
}
.tms_bg_news {
    min-height: 330px;
    text-align: justify;
    height: 365px !important;
    overflow: hidden;
}
.tms_block_heading a {
    color: #fff;
}
.company_info .company_name {
    font-weight: bold!important;
    padding-left: 10px;
    font-size: 16px;
}
.form-control-minhphuc{width:80%; float: left; border-bottom-right-radius: 0px;border-top-right-radius: 0px; }
.thanh-search {
	margin-top:7px;
	width: 15%;
	float: right;
}
.content_search_mp{
	width:80%;
	float: left;
}
.btn-primary-minhphuc{
	color: #fff;background-color: #f5e204;
	border-color: #f5e204; border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    width: 20%;
}
.tms_center_top {
    margin-top: 0px !important;
}
.clock-marquee {
    width: 99%;
    margin: 0 auto;
	max-width: 1200px;
}
.clock {
  width: 20%;
    z-index: 9999;
    padding: 13px;
    float: left;
}
.img-tinchay {    background: url(../images/new-tinchay.gif) no-repeat left center;    padding-right: 10px;}
.marquee-mp {
    font-weight: bold;
    width: 80%;
    float: right;
    padding: 5px;
}
a.title-tinchay {     padding-left: 35px;}
.marquee-minhphuc {
    padding: 5px;
}
.image-center.giamotsomathang {
    margin-bottom: -10px;
}
.document-title {
    text-align: center;
    background-color: #4878b1;
    padding: .25rem;
    position: absolute;
	width: 98.9%;
    /*left: 30%;*/
}
.document-title a {
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.2rem;
}
.wsmainwp {
    max-width: 1000px;
    padding: 0 15px;
}

.wsmenu {
    width: 100% !important;
}
.column_clock {
    position: relative;
    height: auto !important;
    min-height: 50px;
}
#header {
    margin: 0px auto;
	/*max-width: 1500px;
	height:200px;*/
}
#header>.logo-minhphuc {
    z-index: 9999;
    max-width: 563px;
    margin: 0px;
    width: 100%;
    padding: 0px;
}
.logo_textbanner{
	margin: 0px auto;
	max-width:1200px;
}
.banner {
    position: absolute;
    left: 0;
    
    right: 0;
   /* height: 200px;bottom: 0;*/
    overflow: hidden;
}

.logo-textbaner{
/*	margin: 0 auto;
	width: 1200px;*/
	z-index: 9999;
    position: inherit;
}
.logo-minhphuc {
    /*width: 20%;*/
}
#header .logo {
    padding: 0px !important;
    height: auto;
    /*position: inherit;*/
}
.logo img {
   
   /* margin-top: 10%;*/
}
#header img {
    width: 100%;
    max-height: 128px;
}
.home_stc {
    width: 20px;
    float: left;
    margin-top: 12px;
}
.home_stc a{
    color:#fff;
}
.sitebannertext-mp {
    width: 78%;
}
.sitebannertext-mp {
    z-index: 9999;
    /*position: inherit;*/
    height: 100px;
    float: right;
    margin-top: 50px;
}

.sitebannertext {
    float: left;
}
.sitebannertext .sn {
    font-weight: 700;
    color: #0906cc;
	font-size: 25px;
    width: 100%;
    text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
    text-transform: uppercase;
}
.sitebannertext .sd {
    font-size: 35px;
    color: #CD2027;
    font-weight: 600;
    text-shadow: 2px 0 0 #fff, -2px 0 0 #fff, 0 2px 0 #fff, 0 -2px 0 #fff, 1px 1px #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff;
    text-transform: uppercase;
}
.ui-sortable {
    padding-right: 20px;
}
.column {
    position: relative;
    border: 1px solid #FF6600;
    height: auto !important;
    min-height: 50px;
    width: 100%;
}
.tms_wraper_top {
    margin-top: 5px;
}
.third-nav {
  margin-bottom: 0px !important;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}
.third-nav .bg {
    background-color: #fff !important;
}
.breadcrumbs>li:first-child a span {
    display: none;
}
.breadcrumbs>li:first-child {
    margin-left: 20px !important;
    margin-right: 10px !important;
}
.third-nav ul.breadcrumbs {
    background-color: #003f7f;
}
ul.breadcrumbs.list-none a {
    color: #fff;
    font-weight: bold;
}
.breadcrumbs a, .show-subs-breadcrumbs {
    background: none;
}
.breadcrumbs {
    display: inline-block;
}
.breadcrumbs li {
    float: left;
    margin: 0 .5em 0 1em;
}
.breadcrumbs a:before {
	display:none;
}
.breadcrumbs>li:first-child a {
    padding-left: 0;
    padding-right: 0;
}
.breadcrumbs>li:first-child a:after {
    display: inline-block;
    content: "\f015";
    font-family: 'FontAwesome';
    border: 0;
    margin: 0;
    padding: 0;
}
.breadcrumbs a:after {
    display: none;
}
div.breadcrumbs-bg {
    padding-right: 21px;
    background-image: url(../images/breadcrumb.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    display: inline-block;
    height: 38px;
}
.ddsmoothmenu-v ul li a:link {
    padding-left: 20px;
}
.ddsmoothmenu-v ul li a {
    white-space: normal;
}
.ddsmoothmenu-v, .ddsmoothmenu-v ul, .ddsmoothmenu-v ul li,.ddsmoothmenu-v ul li a {
    line-height: 2!important;
    color: #0070bb!important;
    /*border-bottom: 1px dotted #0070bb !important;*/
    background: url(../images/arrow.png) #fff no-repeat 5px !important;
}
.list-unstyled li {
    line-height: 2;
}
img.tms_cat_img {
    height: 180px !important;
}
.tbl-vietcombank thead {
    background: #a6d4f5;
    color: #f36726;
    text-transform: uppercase;
}
/***____Begin slides news________***/

/*

.newstabhomejcarousel-wraper {
    position: relative;
}
.newstabhomejcarousel-wraper>.newstabhomejcarousel-ctn:nth-child(n+1) {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}
.newstabhomejcarousel {
    position: relative;
    overflow: hidden;
}
.newstabhomejcarousel>ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}



.newstab-slide {
    border-top: 1px #c1c1c1 solid;
}
.box-icon-title {
    margin: 20px 0;
    line-height: 32px;
    font-size: 20px;
    font-weight: 700;
    padding-left: 50px;
    background: url(../images/bg-national-emblem.png) no-repeat left center;
}
h1, h2, h3, .h1, .h2, .h3, .faqopinion a.faqitem, .faqopinion .tptabtitle, .box-icon-title, .panel-primary>.panel-heading, .newstab-slide .box-icon-title ul.mtab li a {
    font-family: 'Roboto Condensed';
}
.newstab-slide .box-icon-title ul.mtab {
    padding: 0;
    margin: 0;
    display: inline-block;
    list-style: none;
}
.newstab-slide .box-icon-title ul.mtab li {
    display: inline-block;
    padding: 0;
    margin: 0;
}
.newstab-slide .box-icon-title h2 {
    text-transform: uppercase;
    margin: 0;
}
.newstab-slide .box-icon-title ul.mtab li a.active {
    color: #5398eb;
}
.newstab-slide .box-icon-title ul.mtab li a {
    color: #1256a7;
    margin: 5px 0;
    display: block;
    line-height: 22px;
}
.newstab-slide .box-icon-title ul.mtab li:nth-child(n+2) a {
    border-left: 1px #9e9e9e solid;
    margin-left: 10px;
    padding-left: 10px;
}
.newstabhomejcarousel>ul>li {
    float: left;
    padding: 0;
    margin: 0;
    color: #000;
    text-align: justify;
}



.newstabhomejcarousel-items ul.mnav {
    position: absolute;
    right: 0;
    top: -48px;
    float: right;
    text-align: center;
}
.newstabhomejcarousel-items ul.mnav li {
    display: inline-block;
}
.newstabhomejcarousel-items ul.mnav, .newstabhomejcarousel-items ul.mnav li {
    padding: 0;
    margin: 0;
    list-style: none;
}
.newstabhomejcarousel-items ul.mnav li a {
    display: block;
    line-height: 21px;
    text-align: center;
    border: 1px #c4c4c4 solid;
    width: 23px;
    height: 23px;
    font-size: 20px;
}

.newstabhomejcarousel-items ul.mnav li.next {
    margin-left: 2px;
}

.height-tabs {
    height: 145px;
    overflow: hidden;
}
.newstabhomejcarousel>ul>li>div .ibg {
    padding: 30px 30px 12px 30px;
    background: #f4f4f4;
}
.newstabhomejcarousel>ul>li>div .ibg .img {
    margin-right: 27px;
    width: 100px;
}
.newstabhomejcarousel>ul>li>div .ibg .img img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}
.newstabhomejcarousel>ul>li>div .ibg .backgroup-viewdetail a.more {
    font-size: 12px;
    display: inline-block;
    line-height: 12px;
    padding: 5px 7px;
    color: #fff;
}
.newstabhomejcarousel>ul>li>div .ibg .backgroup-viewdetail a.more {
    background-color: #10bcff;
    margin-top: 10px;
    margin-left: 120px;
}

.newstabhomejcarousel-items .jcarousel-pagination {
    text-align: center;
    line-height: 10px;
    margin: 10px 0 0px 0;
    float: left;
    width: 100%;
}
.newstabhomejcarousel-items .jcarousel-pagination a {
    display: inline-block;
    text-indent: -1000px;
    overflow: hidden;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #b5b5b5;
    margin: 0 2px;
}
.newstabhomejcarousel-items .jcarousel-pagination a.active {
    background-color: #ff0000;
}
*/
.box-icon-title {
    margin: 20px 0;
    line-height: 32px;
    font-size: 20px;
    font-weight: 700;
    padding-left: 50px;
    background: url(../images/bg-national-emblem.png) no-repeat left center;
}
.newstab-slide {
    border-top: 1px #c1c1c1 solid;
}

.newstab-slide .box-icon-title h2 {
    text-transform: uppercase;
    margin: 0;
}

.newstab-slide .box-icon-title ul.mtab {
    padding: 0;
    margin: 0;
    display: inline-block;
    list-style: none;
}

.newstab-slide .box-icon-title ul.mtab li {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.newstab-slide .box-icon-title ul.mtab li a {
    color: #21c721;
    margin: 5px 0;
    display: block;
    line-height: 22px;
}

.newstab-slide .box-icon-title ul.mtab li a.active {
    color: #0ef90b;
}

.newstab-slide .box-icon-title ul.mtab li:nth-child(n+2) a {
    border-left: 1px #9e9e9e solid;
    margin-left: 10px;
    padding-left: 10px;
}

.newstabhomejcarousel-wraper {
    position: relative;
}

.newstabhomejcarousel-wraper>.newstabhomejcarousel-ctn:nth-child(n+1) {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
}

.newstabhomejcarousel-items ul.mnav, .newstabhomejcarousel-items ul.mnav li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.newstabhomejcarousel-items ul.mnav {
    position: absolute;
    right: 0;
    top: -48px;
	float: right;
	text-align:center;
}

.newstabhomejcarousel-items ul.mnav li {
    display: inline-block;
}
.newstabhomejcarousel-items_notitle ul.mnav {
    right: 0;
    top: -48px;
}
.newstabhomejcarousel-items ul.mnav li.next {
    margin-left: 2px;
}

.newstabhomejcarousel-items ul.mnav li a {
    display: block;
    line-height: 21px;
    text-align: center;
    border: 1px #c4c4c4 solid;
    width: 23px;
    height: 23px;
    font-size: 20px;
}

.newstabhomejcarousel-items {
    position: relative;
}

.newstabhomejcarousel-items .jcarousel-pagination {
    text-align: center;
    line-height: 10px;
    margin: 10px 0 0px 0;
	float: left;
	width:100%;
}

.newstabhomejcarousel-items .jcarousel-pagination a {
    display: inline-block;
    text-indent: -1000px;
    overflow: hidden;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: #b5b5b5;
    margin: 0 2px;
}

.newstabhomejcarousel {
    position: relative;
    overflow: hidden;
}

.newstabhomejcarousel>ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.newstabhomejcarousel>ul>li {
    float: left;
    padding: 0;
    margin: 0;
	color:#000;
	text-align: justify;
}

.newstabhomejcarousel>ul>li>div {
    width: 768.5px;
}

.newstabhomejcarousel>ul>li>div .row>div:first-child {
    padding-right: 10px;
}

.newstabhomejcarousel>ul>li>div .row>div:last-child {
    padding-left: 10px;
}

.newstabhomejcarousel>ul>li>div .ibg {
    padding: 30px 30px 12px 30px;
    background: #f4f4f4;
}

.newstabhomejcarousel>ul>li>div .ibg .img {
    margin-right: 27px;
    width: 100px;
}

.newstabhomejcarousel>ul>li>div .ibg .img img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.newstabhomejcarousel>ul>li>div .ibg .ct {
    margin-left: 127px;
}

.newstabhomejcarousel>ul>li>div .ibg .ct h3 {
    position: relative;
    top: -4px;
}

.newstabhomejcarousel>ul>li>div .ibg .backgroup-viewdetail a.more {
    font-size: 12px;
    display: inline-block;
    line-height: 12px;
    padding: 5px 7px;
    color: #fff;
}

.newstabhomejcarousel>ul>li>div .ibg .ct .htext {
    margin-bottom: 20px;
}
/*

@media ( max-width :499px) {
    .sitebannertext {
        position: relative;
        padding-right: 0px;
        height: auto;
        left: 0px;
        top: 0px;
    }
    .sitebannertext .sd {
        font-size: 24px
    }
}

@media ( max-width :767px) {
    .box-icon-title {
        background: transparent;
        padding-left: 0px
    }
    ul.menutop {
        margin: 0
    }
    .newstabhomejcarousel-items ul.mnav {
        top: -25px
    }
    .newstab-slide .box-icon-title ul.mtab h2 {
        font-size: 15px;
    }
    .site-btn-tool {
        display: none;
    }
    .related.related-square li {
        display: inline-flex;
    }
    .newstabhomejcarousel>ul>li>div .ibg {
        padding: 10px 30px 12px 10px;
    }
    .newstabhomejcarousel>ul>li>div .row>div:last-child {
        padding-left: 0px;
        margin-top: 3px
    }
    .newstabhomejcarousel>ul>li>div .row>div:first-child {
        padding-right: 0px
    }
    .newstabhomejcarousel>ul>li>div .ibg .ct {
        margin-left: 0px
    }
    .banner img {
        display: none;
    }
    .sitebannertext {
        text-align: center;
    }
    .fix-sub-superfish-menu {
        margin-top: 10px
    }
}

@media ( max-width :320px) {
    .newstabhomejcarousel>ul>li>div {
        width: 300px
    }
}

@media ( min-width :321px) and (max-width:360px) {
    .newstabhomejcarousel>ul>li>div {
        width: 340px
    }
}

@media ( min-width :361px) and (max-width:399px) {
    .newstabhomejcarousel>ul>li>div {
        width: 361px
    }
}

@media ( min-width :400px) and (max-width:450px) {
    .newstabhomejcarousel>ul>li>div {
        width: 400px
    }
}

@media ( min-width :451px) and (max-width:495px) {
    .newstabhomejcarousel>ul>li>div {
        width: 451px
    }
}

@media ( min-width :500px) and (max-width:599px) {
    .newstabhomejcarousel>ul>li>div {
        width: 525px
    }
}

@media ( min-width :600px) and (max-width:699px) {
    .newstabhomejcarousel>ul>li>div {
        width: 620px
    }
}

@media ( min-width :700px) and (max-width:750px) {
    .newstabhomejcarousel>ul>li>div {
        width: 720px
    }
}

@media ( min-width :768px) and (max-width:1023px) {
    #menu-site-default>ul>li>a {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 9px;
        height: auto;
    }
    .newstabhomejcarousel>ul>li>div .row>div:last-child {
        padding-left: 0px
    }
    .sitemenu-bg, .conner-right, .conner-left {
        display: none;
    }
    .menunavgreen>div>div>a {
        font-size: 13px;
    }
    .newstab-slide .box-icon-title h2 {
        font-size: 14px
    }
    .newstab-slide .box-icon-title ul.mtab li:nth-child(n+2) a {
        margin-left: 8px;
        padding-left: 8px;
    }
    .newstabhomejcarousel-items ul.mnav {
        top: -25px
    }
}

@media ( min-width :1024px) and (max-width:1100px) {
    .sitemenu-bg, .conner-right, .conner-left {
        display: none;
    }
}
*/
#footer, #footer a {
    color: #ffffff !important;
}

.table {
    margin-bottom: 8px !important;
}

#topnews ul.lastest-news li {
    text-indent: 0px !important;
    height: 70px;
}
#topnews ul.latest-news a {
    text-align: justify;
    min-height: 70px;
    max-height: 60px; /* Chiều cao tối đa của container */
    overflow: hidden; /* Ẩn phần bị tràn */
    position: relative; /* Đặt vị trí tương đối để dùng cho ::after */
    padding: 10px; /* Khoảng cách bên trong */
    border: 1px solid #000; /* Đường viền để dễ nhìn thấy */
    line-height: 20px; /* Chiều cao của mỗi dòng */
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Số dòng tối đa */
    -webkit-box-orient: vertical;
}

#topnews ul.latest-news a::after {
    content: '...'; /* Thêm dấu ba chấm */
    position: absolute; /* Vị trí tuyệt đối */
    bottom: 0; /* Cách đáy của container */
    right: 0; /* Cách phải của container */
    background: white; /* Màu nền của dấu ba chấm */
    padding-left: 5px; /* Khoảng cách bên trái của dấu ba chấm */
    height: 20px; /* Chiều cao của dòng */
    display: block;
}

/* old topnews
#topnews ul.lastest-news a {
    line-height: 1.2em;
    padding-left: 20px;
    padding-right: 5px;
    text-align: justify;
    min-height:70px;
}
*/
.headline_img{
	float: left; width:15%;
	display:none;
}
.headline_title{
	
}
.slimmenu{width:24%;}
.slimmenu img{width:40px;}
/*Ẩn nút chuyển ảnh header*/
.owl2-nav {
    display: none;
}
figure.article.center img {
    width: 70%;
}
.table-striped a {
    /*text-transform: uppercase;*/
}
ul.nav.nav-tabs {
    text-transform: uppercase;
    font-weight: bold;
    /*border-bottom: 1px solid #63a5f3;*/
}
.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{
	color: #fff;
	text-align: center;
}
li.active {
    width: 45%;
}
.nav-tabs>li {
    width: 45%;
	text-align: center;
}
.tab-content {
    border-top: 1px solid #63a5f3;
}
.footer_stc{
    background-color:#2673b4 ;
}
/*.footerstc00 {
    color: #fff;
    padding: 20px 0px;
    position: relative;
    width: 100%;
    /* height: 200px; 
    background: #105295 url(../images/bg-footer.jpg) top center repeat-x;
}*/
.footerstc00 {
    background-color: #ff2600;
    background-size: auto 100%;
    background-position: center right;
    background-repeat: no-repeat;
    background-image: url(../images/bg-footer.png);
    color: #fff;
    padding: 20px 0px;
}
.footerstc02 {
    max-width: 1200px;
    margin: 0 auto;
}
.company_info a{
    color: #fff;
}
em.fa {
    font-size: large;
}
.news_main {
    width: 74.5%;
    float: left;
}
.news_right {
    width: 25%;
    float: right;
}
.wsmenu>.wsmenu-list>li>a:hover {
    color: #fdf1de;
    background: #8f0d11;
}
div#admintoolbar {
    z-index: 999999999;
}
.carousel .owl-carousel .owl-item a img {
    height: 130px !important;
}
.img_cat_title {
    padding-left: 25px;
    background: url(../images/bg_tdkt_star.webp) no-repeat left center;
}
.tms_cat_title h2 {
    background: #ba0c2f;
}
.tms_cat_title h2:after {
    border-bottom: 38px solid #ba0c2f;
}
.tms_cat_title:before {
    background-color: #ba0c2f;
}
.tms_cat_title h2 {
    color: #fede03;
}
.panel-primary>.panel-heading {
    color: #fff;
    background-color: #ba0c2f;
    border-color: #f31515;
}
.panel-primary {
    border-color: #f21515;
}
.fa-user {
    color: #15518f;
}
.fa-filter {
    color: #15518f;
}
.fa-calendar-o {
    color: #15518f;
}
.fa-calendar-mp {
    color: #ba0c2f;
}
.fa-tatol {
    color: #ba0c2f;
}
/***************** back-top and back-down ----***********/
#top-buttom-image {
position:fixed;

bottom:25px;
right:5px;
z-index:9999999999999;
clip:inherit;
_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);
_left:expression(document.documentElement.scrollLeft+ document.documentElement.clientWidth - offsetWidth);

}
.footer_site_01col01{
    width:30%;
    float: left;
}
.footer_site_01col02{
    width:69%;
    float: right;
}

.metismenu .sidebar-nav ul a {
    text-transform: uppercase;
    font-weight: bold;
    color: #f20123 !important;
}
.metismenu .sidebar-nav {
    border: 1px solid #f20123 !important;
    background: #ddd0d0;
    background-image: linear-gradient(to right, #df0d51 4px, #ffffff 4px) !important;
}
.metismenu .sidebar-nav ul a:hover, .metismenu .sidebar-nav ul a:focus, .metismenu .sidebar-nav ul a:active {
    color: #fff001 !important;
    background: #f20123 !important;
}
.slider_home img {
    margin: 1px 0px;
    border: 1px solid #dd6a6a;
}
.third-nav .bg {
   /* padding: 5px 0px 3px;*/
}
.bodytext {
    font-size: 16px;
}
.img-thumbnail {
  /*  background-image: url(/uploads/no-image.png);*/
}
.img-thumbnail img {
    width:100%;
}
.wsmenu {
    padding-left: 10px!important;
   
}
.wsmenu>.wsmenu-list>li>a:hover {

    color: #fdf1de;
    background: #8f0d11;
    /*-webkit-transform: skew(25deg, 0deg);
    transform: skew(25deg, 0deg);*/
}
#menusite .navbar-default .wsmenu .wsmenu-list .navbar-nav > li > a:hover, #menusite  .wsmenu .wsmenu-list .navbar-default .navbar-nav > li > a:focus, #menusite  .wsmenu .wsmenu-list .navbar-default .navbar-nav > .active > a, #menusite .navbar-default .navbar-nav > .active > a:hover, #menusite  .wsmenu .wsmenu-list .navbar-default .navbar-nav > .active > a:focus, #menusite  .wsmenu .wsmenu-list .navbar-default .navbar-nav > .open > a, #menusite .navbar-default .navbar-nav > .open > a:hover, #menusite  .wsmenu .wsmenu-list .navbar-default .navbar-nav > .open > a:focus {
    background: linear-gradient(to bottom, #ba0c2f 0%, #8f0d11 100%) !important;
    color: #fdf1de;
}
@media only screen and (max-width: 991px){
    body {
        /*width: 90%;*/
        margin: 0px auto;
    }
    .left-congan {
        clear: none;
    }
    .container {
        padding-right: 5px;
    }
    .left-congan-right {
        /*width: 95%;*/
    }
    .container {
        padding-right: 0px;
    }
}
@media (max-width: 499.98px) {
    .left-congan-right {
        width: 100%;
    }
.right-congan {
        width: 100%;
        clear: both;
    }
    
     .left-congan {
        clear: both;
    }
}

/* ============================================================
   MPS.GOV.VN STYLE OVERRIDES
   Màu chủ đạo: Đỏ #ba0c2f | Vàng #f2ae3e | Xanh đậm #003f7f
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --mps-red: #ba0c2f;
    --mps-red-dark: #8a0821;
    --mps-gold: #f2ae3e;
    --mps-navy: #003f7f;
    --mps-navy-dark: #00295a;
    --mps-white: #ffffff;
    --mps-gray-light: #f5f5f5;
    --mps-text: #333333;
    --mps-transition: all 0.25s ease;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb {
    background-image: linear-gradient(125deg, #f2ae3e 0%, #ba0c2f 100%);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background-image: linear-gradient(125deg, #ba0c2f 0%, #8a0821 100%); }

/* --- Body & Base --- */
body {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 14px;
    color: var(--mps-text);
    background-color: #f8f8f8;
}

/* --- Header wrapper --- */
.header-tmp-ca {
    max-height: none !important;
    background: var(--mps-red) !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25) !important;
    position: relative;
}
header.header-container-mp {
    background-color: var(--mps-red) !important;
    background-image: url('../images/bg-national-home-cand.webp') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    position: relative;
    min-height: 128px !important;
    overflow: hidden;
}

/* Decorative left-side emblem watermark */
header.header-container-mp::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background: url('../images/bg-national-emblem.png') no-repeat center center;
    background-size: contain;
    opacity: 0.12;
    pointer-events: none;
}

/* #header row – flex to vertically center children */
.header-tmp-ca #header {
    display: flex !important;
    align-items: center !important;
    min-height: 128px !important;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Logo column on red background */
.header-tmp-ca .logo-textbanner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 1200px !important;
    min-height: 128px !important;
    margin: 0 auto;
    padding: 10px 0;
}
.header-tmp-ca #header .logo {
    height: auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column;
}
.logo-minhphuc img {
    height: auto !important;
    max-height: 96px !important; /* Fixed max height for consistency instead of % */
    width: auto !important;
    max-width: 100% !important;
    padding: 0 !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}

/* H1 / H2 site name inside logo column */
#header .logo h1,
#header .logo .site_name {
    display: block !important;
    color: rgba(255,255,255,0.9) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    margin: 3px 0 0 0;
    text-align: center;
}
#header .logo h2,
#header .logo .site_description {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    text-transform: uppercase !important;
    text-align: center;
    margin: 2px 0 0 0;
}

/* Text banner column — "NƯỚC CHXHCN VN / CÔNG AN TỈNH LAI CHÂU" */
.sitebannertext-mp {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    height: auto !important;
    margin-top: 10px !important;
    float: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
}
.sitebannertext {
    float: none !important;
    text-align: center !important;
}
.sitebannertext .sn {
    font-size: 14px !important;
    color: rgba(255,255,255,0.88) !important;
    text-shadow: none !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
}
.sitebannertext .sd {
    font-size: 26px !important;
    color: #ffffff !important;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.25) !important;
    font-weight: 900 !important;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

/* --- Navigation bar background (Dynamic Scroll) --- */
.sitemenu-bg {
    background-color: #fdfbf7 !important; /* Initial Milk-white */
    top: 128px !important;
    height: 48px !important;
    transition: background-color 0.3s ease !important;
}
.second-nav .bg,
.menuctwrap {
    background-color: #fdfbf7 !important; /* Initial Milk-white */
    border-radius: 0 !important;
    transition: background-color 0.3s ease !important;
}
.second-nav {
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

/* --- WhiteStar Menu (wsmenu) Initial State --- */
.wsmenu {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 48px !important;
}
.home_stc {
    float: none !important;
    margin-top: 0 !important;
    width: auto !important;
    padding: 0 15px;
    display: flex;
    align-items: center;
}
.home_stc a {
    color: #a00000 !important; /* Initial Dark Red Text */
    transition: color 0.3s ease;
}
.wsmenu > .wsmenu-list {
    display: flex;
    justify-content: flex-start;
    flex: 1; /* Take up remaining space */
    margin: 0;
    padding: 0;
}
.thanh-search {
    float: none !important;
    margin-top: 0 !important;
    width: 250px !important; /* Fixed width for better look */
    display: flex;
    align-items: center;
    padding-right: 15px;
}
.thanh-search .form-control {
    height: 32px !important;
    border-radius: 4px 0 0 4px !important;
    border: 1px solid rgba(160, 0, 0, 0.3) !important;
}
.thanh-search .btn-primary {
    height: 32px !important;
    border-radius: 0 4px 4px 0 !important;
    padding: 0 12px !important;
    background-color: #a00000 !important;
    border-color: #a00000 !important;
    color: #fff !important;
}

.wsmenu > .wsmenu-list > li {
    border-right: 1px solid rgba(160, 0, 0, 0.2) !important;
    transition: border-color 0.3s ease !important;
}
.wsmenu > .wsmenu-list > li:first-child {
    border-left: 1px solid rgba(160, 0, 0, 0.2) !important;
}
.wsmenu > .wsmenu-list > li > a {
    color: #a00000 !important; /* Initial Dark Red Text */
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 0 18px !important;
    letter-spacing: 0.5px;
    text-transform: uppercase !important;
    font-family: Arial, Helvetica, sans-serif !important;
    border-bottom: none !important;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    height: 48px;
}
.wsmenu > .wsmenu-list > li > a:hover,
.wsmenu > .wsmenu-list > li.active > a {
    color: #ffcc00 !important;
    background-color: #800000 !important;
}

/* --- Scrolled State (Triggered by JS) --- */
body.navbar-scrolled {
    padding-top: 48px; /* Offset to prevent content jumping */
}
body.navbar-scrolled .second-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background-color: #a00000 !important;
}
body.navbar-scrolled .sitemenu-bg {
    display: none !important; /* Hide the absolute background when fixed navbar takes over */
}
body.navbar-scrolled .second-nav .bg,
body.navbar-scrolled .menuctwrap {
    background-color: #a00000 !important;
}
body.navbar-scrolled .wsmenu > .wsmenu-list > li > a,
body.navbar-scrolled .home_stc a {
    color: #ffffff !important;
}
body.navbar-scrolled .wsmenu > .wsmenu-list > li {
    border-right-color: rgba(255, 255, 255, 0.2) !important;
}
body.navbar-scrolled .wsmenu > .wsmenu-list > li:first-child {
    border-left-color: rgba(255, 255, 255, 0.2) !important;
}
body.navbar-scrolled .thanh-search .form-control {
    border-color: rgba(255, 255, 255, 0.3) !important;
}
body.navbar-scrolled .thanh-search .btn-primary {
    background-color: #ffcc00 !important;
    border-color: #ffcc00 !important;
    color: #a00000 !important;
}

/* --- Bootstrap navbar menu --- */
#menusite .navbar-default {
    background-color: var(--mps-red) !important;
    border-bottom-color: var(--mps-red) !important;
    border-radius: 0 !important;
    box-shadow: none;
}
#menusite .navbar-default .navbar-nav > li > a {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 10px 12px !important;
    border-bottom: 3px solid transparent;
    transition: var(--mps-transition);
}
#menusite .navbar-default .navbar-nav > li > a:hover,
#menusite .navbar-default .navbar-nav > li > a:focus,
#menusite .navbar-default .navbar-nav > .active > a,
#menusite .navbar-default .navbar-nav > .active > a:hover,
#menusite .navbar-default .navbar-nav > .open > a {
    background: var(--mps-red-dark) !important;
    color: var(--mps-gold) !important;
    border-bottom-color: var(--mps-gold) !important;
}

/* Dropdown menu */
#menusite .dropdown-menu {
    background-color: #fff !important;
    border-color: #e5e5e5 !important;
    border-top: 3px solid var(--mps-red) !important;
    border-radius: 0 0 4px 4px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
    padding: 4px 0;
}
#menusite .dropdown-menu > li > a {
    color: var(--mps-text) !important;
    font-size: 13.5px !important;
    padding: 7px 16px !important;
    border-bottom: 1px solid #f5f5f5 !important;
    transition: var(--mps-transition);
}
#menusite .dropdown-menu > li > a:hover,
#menusite .dropdown-menu > .active > a {
    background-color: #fdf1de !important;
    color: var(--mps-red) !important;
    padding-left: 22px !important;
}

/* --- Clock & Marquee bar --- */
.clock-marquee {
    background: rgba(0,0,0,0.12);
    border-top: 1px solid rgba(255,255,255,0.2);
}
.clock {
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 13px !important;
}
.marquee-mp {
    color: #fff !important;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 5px !important;
}
.marquee-mp a { color: #ffe08a !important; }

/* --- Section/Header Bar --- */
.section-header-bar {
    background-image: linear-gradient(to bottom, var(--mps-red) 0, var(--mps-red-dark) 100%) !important;
}

/* --- Block/Category titles (kiểu mps.gov.vn) --- */
.tms_cat_title {
    position: relative;
    padding-bottom: 6px !important;
    margin-bottom: 10px !important;
    border-bottom: 1px solid #e5e5e5 !important;
}
.tms_cat_title:before {
    content: "";
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 67px !important;
    height: 3px !important;
    background-color: var(--mps-red) !important;
    z-index: 1 !important;
}
.tms_cat_title h2 {
    background: transparent !important;
    color: #111 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tms_cat_title h2:after { border: none !important; }
.tms_cat_title h2 a { color: #111 !important; }
.tms_cat_title h2 a:hover { color: var(--mps-red) !important; }

/* Category title link (xem thêm) */
.tms_cat_title a.morenews {
    color: var(--mps-red) !important;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid var(--mps-red);
    padding: 2px 8px;
    border-radius: 3px;
    transition: var(--mps-transition);
}
.tms_cat_title a.morenews:hover {
    background: var(--mps-red);
    color: #fff !important;
}

/* --- Panel headings --- */
.panel-primary > .panel-heading {
    background-color: var(--mps-red) !important;
    border-color: var(--mps-red-dark) !important;
    color: #fff !important;
}
.panel-primary { border-color: var(--mps-red) !important; }

/* --- Block headings (box-icon-title) --- */
.box-icon-title {
    background-color: transparent;
    border-bottom: 3px solid var(--mps-red);
    padding-left: 12px !important;
    background-image: none !important;
}
.news-catbox-single h2 {
    border-bottom: var(--mps-red) 3px solid !important;
    font-size: 17px !important;
    padding-bottom: 8px !important;
    text-transform: uppercase;
}
.news-catbox-single.clearfix a {
    color: var(--mps-navy) !important;
    transition: var(--mps-transition);
}
.news-catbox-single.clearfix a:hover { color: var(--mps-red) !important; }

/* --- TMS Block heading --- */
.tms_block_heading {
    background: var(--mps-red) !important;
    border-bottom: 3px solid var(--mps-red-dark) !important;
}
.tms_block_heading a { color: #fff !important; }

/* --- News catbox title (kiểu badge đỏ) --- */
.news-catbox-single-minhphuc {
    background-color: var(--mps-red) !important;
    background-image: url(../images/bg-national-home-cand.webp) !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    font-size: 18px !important;
    padding: 6px 10px 6px 50px !important;
}
.news-catbox-single-minhphuc a { color: #fff !important; }

/* --- Search bar --- */
.headerSearch .btn-info,
.btn-primary-minhphuc {
    background-color: var(--mps-red) !important;
    border-color: var(--mps-red-dark) !important;
    color: #fff !important;
}
.headerSearch .btn-info:hover,
.btn-primary-minhphuc:hover {
    background-color: var(--mps-red-dark) !important;
    border-color: #6a0616 !important;
    color: #fff !important;
}

/* --- Breadcrumbs --- */
.third-nav ul.breadcrumbs {
    background-color: var(--mps-red) !important;
    border-radius: 3px;
}
ul.breadcrumbs.list-none a {
    color: #fff !important;
    font-weight: 600 !important;
}
.third-nav .bg {
    background-color: #f5f5f5 !important;
    border-bottom: 2px solid #e0e0e0;
}

/* --- Links & News items --- */
a { transition: color 0.2s ease; }
.tms_cat_news a:hover,
.list-unstyled li a:hover { color: var(--mps-red) !important; }

/* --- Sidebar (ddsmoothmenu) --- */
.ddsmoothmenu-v, .ddsmoothmenu-v ul, .ddsmoothmenu-v ul li, .ddsmoothmenu-v ul li a {
    color: var(--mps-navy) !important;
    background: #fff url(../images/arrow.png) no-repeat 5px !important;
    border-bottom: 1px dotted #ddd !important;
}
.ddsmoothmenu-v ul li a:hover {
    color: var(--mps-red) !important;
    background-color: #fdf1de !important;
}

/* --- Metismenu sidebar (trang con) --- */
.metismenu .sidebar-nav {
    border: 1px solid var(--mps-red) !important;
    background: #fff !important;
    background-image: linear-gradient(to right, var(--mps-red) 4px, #ffffff 4px) !important;
    border-radius: 3px;
}
.metismenu .sidebar-nav ul a {
    color: var(--mps-red) !important;
    font-weight: 600;
    text-transform: none !important;
}
.metismenu .sidebar-nav ul a:hover,
.metismenu .sidebar-nav ul a:focus,
.metismenu .sidebar-nav ul a:active {
    color: #fff !important;
    background: var(--mps-red) !important;
}

/* --- Footer: MPS.GOV.VN style --- */
#footer {
    background-color: var(--mps-red) !important;
    background-image: url('https://bocongan.gov.vn/media/bca-media/photo-library-20250930140754-dfa26d22-0cbf-49df-a0e0-eeeb5938bdad-component-page-20250930092920-e2e6aa3d-beac-4918-bd61-657b8b6115b5-cddh-ft.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    border-top: none !important;
    color: #fff !important;
    margin-top: 36px;
    padding: 0;
}
#footer,
#footer a,
#footer p,
#footer li {
    color: #fff !important;
}
#footer a:hover {
    color: var(--mps-gold) !important;
    text-decoration: none;
}

/* Container chuẩn 1200px căn giữa */
.footer-mps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Body footer */
.footer-mps-body {
    padding: 16px 0 12px;
}

/* Hàng 1: Menu footer chính — flex ngang, uppercase, 15px */
.footer-nav-main {
    display: flex;
    justify-content: center;
    padding: 8px 0 4px;
}
.footer-nav-main ul,
.footer-nav-main .menu,
.footer-nav-main nav ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0;
}
.footer-nav-main ul li,
.footer-nav-main .menu li,
.footer-nav-main nav ul li {
    display: inline-flex !important;
    align-items: center;
}
.footer-nav-main ul li a,
.footer-nav-main .menu li a,
.footer-nav-main nav ul li a {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    padding: 4px 16px !important;
    text-decoration: none !important;
    border-bottom: none !important;
    background: none !important;
}
.footer-nav-main ul li a:hover,
.footer-nav-main .menu li a:hover {
    color: var(--mps-gold) !important;
}

/* Hàng 2: Menu phụ — flex ngang với dấu | */
.footer-nav-sub {
    display: flex;
    justify-content: center;
    padding: 4px 0 8px;
}
.footer-nav-sub ul,
.footer-nav-sub .menu,
.footer-nav-sub nav ul {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0;
}
.footer-nav-sub ul li,
.footer-nav-sub .menu li {
    display: inline-flex !important;
    align-items: center;
}
.footer-nav-sub ul li:not(:last-child)::after,
.footer-nav-sub .menu li:not(:last-child)::after {
    content: '|';
    color: rgba(255,255,255,0.6);
    margin: 0 6px;
    font-size: 16px;
}
.footer-nav-sub ul li a,
.footer-nav-sub .menu li a {
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    background: none !important;
    padding: 2px 4px !important;
}
.footer-nav-sub ul li a:hover,
.footer-nav-sub .menu li a:hover {
    color: var(--mps-gold) !important;
}

/* Hàng 3: Logo căn giữa */
.footer-logo-wrap {
    text-align: center;
    padding: 10px 0 6px;
}
.footer-emblem-img {
    width: 80px !important;
    height: auto !important;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
    display: inline-block;
}

/* Hàng 4: Tên đơn vị */
.footer-sitename {
    text-align: center;
    font-family: 'Times New Roman', 'Times', serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 0 4px;
    line-height: 1.3;
}

/* Hàng 5-6: Khối thông tin địa chỉ / email */
.footer-info-blocks {
    text-align: center;
    font-size: 15px;
    color: #fff !important;
    line-height: 1.56;
    padding: 4px 0 8px;
}
.footer-info-blocks p,
.footer-info-blocks div,
.footer-info-blocks address {
    color: #fff !important;
    font-size: 15px !important;
    text-align: center !important;
    margin: 2px 0;
}
/* Ẩn các cột/bố cục cũ bên trong FOOTER_SITE */
.footer-info-blocks .row,
.footer-info-blocks .col-md-14,
.footer-info-blocks .col-md-10,
.footer-info-blocks [class*="col-"] {
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
}
.footer-info-blocks h3,
.footer-info-blocks h4 {
    display: none !important;
}
.footer-info-blocks .menu,
.footer-info-blocks ul {
    display: none !important;
}

/* Thanh bản quyền */
.footer-copyright-bar {
    background: var(--mps-red-dark);
    text-align: center;
    padding: 12px 16px;
    font-size: 15px;
    color: #fff !important;
    line-height: 1.56;
}
.footer-copyright-bar p {
    margin: 2px 0;
    color: #fff !important;
}
.footer-copyright-bar strong {
    color: #fff !important;
    font-weight: 700;
}

/* Ẩn các phần footer cũ không dùng */
#footer .wraper > .row,
#footer .container,
#footer .copyright-tmp,
#footer .margin-footer-site,
.footer_stc,
.footerstc00,
.copy-menu,
#footer .copyright01,
#footer .copyright02 {
    display: none !important;
}



/* --- FooterNav2 (back-to-top, theme switcher) --- */
.footerNav2 { background-color: var(--mps-red-dark) !important; }
.footerNav2 .theme-change a,
.footerNav2 .theme-change span,
.footerNav2 .bttop a {
    background-color: rgba(255,255,255,0.12) !important;
    color: #e0e8f4 !important;
}
.footerNav2 .theme-change a:hover,
.footerNav2 .bttop a:hover {
    background-color: var(--mps-red) !important;
    color: #fff !important;
}

/* --- Mobile header --- */
.wsmobileheader {
    background: var(--mps-red) !important;
    border-bottom: 2px solid var(--mps-red-dark) !important;
}

/* --- Tabs --- */
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background-color: var(--mps-red) !important;
    border-color: var(--mps-red) !important;
    color: #fff !important;
}
.tab-content { border-top: 2px solid var(--mps-red) !important; }

/* --- Partner/link banners --- */
.nv-block-banners img {
    border: 1px solid #dde5f0 !important;
    border-radius: 3px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.nv-block-banners img:hover {
    box-shadow: 0 4px 12px rgba(186,12,47,0.18);
    transform: translateY(-2px);
}

/* --- Card/Box shadows --- */
.khtt-donvi {
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07) !important;
    transition: box-shadow 0.2s ease;
}
.khtt-donvi:hover { box-shadow: 0 4px 16px rgba(186,12,47,0.15) !important; }
.khtt-donvi-left:hover { background: var(--mps-red) !important; }
.khtt-donvi-title-div:hover { background: var(--mps-red) !important; }

/* --- Sliders --- */
.sliders img {
    border-radius: 4px;
    width: 100%;
}

/* --- Document title overlay --- */
.document-title {
    background-color: var(--mps-red) !important;
    opacity: 0.92;
}
.document-title a { color: #fff !important; }

/* --- Smooth hover on all news items --- */
.lastest-news a,
.tms_cat_news a {
    transition: color 0.2s ease;
}
.lastest-news a:hover { color: var(--mps-red) !important; }

/* --- Thuvienanh header --- */
.thuvienanh .Header { border-bottom: 2px solid var(--mps-red) !important; }
.thuvienanh .Header span a { background: var(--mps-red) !important; }

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 991px) {
    .sitemenu-bg { display: none; }
    .second-nav .bg { border-radius: 0 !important; }
}

@media (max-width: 767px) {
    .sitebannertext .sd { font-size: 18px !important; }
    .sitebannertext .sn { font-size: 13px !important; }
    .tms_cat_title h2 { font-size: 16px !important; }
    #footer h3 { font-size: 13px !important; }
}

@media (max-width: 480px) {
    .clock { display: none; }
    .marquee-mp { width: 100% !important; float: none !important; }
}

/* ============================================================
   MPS.GOV.VN - EXTENDED OVERRIDES v2
   Sửa font, menu wsMenu, dropdown, button, table, pagination
   ============================================================ */

/* --- Typography: Roboto cho body, Roboto Condensed cho tiêu đề --- */
body,
.bodytext,
p, td, th, input, textarea, select, button, .form-control {
    font-family: 'Roboto', Arial, 'Helvetica Neue', sans-serif;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.tms_cat_title h2,
.news-catbox-single h2,
.box-icon-title h2,
.panel-primary > .panel-heading,
.panel-default > .panel-heading,
.tms_block_heading h3 {
    font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
}

/* --- Fix wsMenu background (ghi đè #f20123 sai trong tmsmenu.css) --- */
.wsmenucontainer {
    background-image: none !important;
    overflow: visible !important;
}
.wsmainfull {
    background: var(--mps-red) !important;
}
.wsmenu {
    font-family: 'Roboto Condensed', Arial, sans-serif !important;
}
.wsmenu > .wsmenu-list > li > a {
    font-family: 'Roboto Condensed', Arial, sans-serif !important;
    font-size: 13.5px !important;
    letter-spacing: 0.5px !important;
}
.wsmenu > .wsmenu-list > li.active > a,
.wsmenu > .wsmenu-list > li:hover > a {
    background-color: var(--mps-red-dark) !important;
    color: var(--mps-gold) !important;
}

/* --- Fix wsMenu dropdown (thay màu border #0070bb -> MPS navy) --- */
.wsmenu > .wsmenu-list > li > ul.sub-menu {
    background-color: #fff !important;
    border-color: var(--mps-red) !important;
    border-top: 3px solid var(--mps-red) !important;
    border-left-color: var(--mps-red) !important;
    border-right-color: var(--mps-red) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
}
.wsmenu > .wsmenu-list > li > ul.sub-menu > li {
    border-bottom-color: #f0f0f0 !important;
}
.wsmenu > .wsmenu-list > li > ul.sub-menu > li > a {
    color: var(--mps-text) !important;
    transition: all 0.2s ease;
}
.wsmenu > .wsmenu-list > li > ul.sub-menu > li > a:hover {
    color: var(--mps-red) !important;
    background-color: #fdf1de !important;
    font-weight: 600 !important;
    padding-left: 18px !important;
}

/* --- Mobile hamburger icon: trắng trên nền đỏ --- */
.wsanimated-arrow span,
.wsanimated-arrow span:before,
.wsanimated-arrow span:after {
    background: #fff !important;
}

/* --- Smooth scrolling --- */
html { scroll-behavior: smooth; }

/* --- Panel default heading: MPS red --- */
.panel-default > .panel-heading {
    background-color: var(--mps-red) !important;
    color: #fff !important;
    border-color: var(--mps-red-dark) !important;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', Arial, sans-serif;
}
.panel-default > .panel-heading a { color: #fff !important; }
.panel-default { border-color: var(--mps-red) !important; }

/* --- Block body border --- */
.tms_block {
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border-radius: 0 0 4px 4px;
    overflow: hidden;
    margin-bottom: 18px;
}
.tms_block_body {
    border: 1px solid #e5e5e5 !important;
    border-top: none !important;
    background: #fff;
    padding: 8px !important;
}
.tms_block_heading h3 {
    letter-spacing: 0.8px;
    font-size: 13px !important;
    padding: 10px !important;
    text-transform: uppercase;
    margin: 0 !important;
}

/* --- Module menu sidebar: MPS navy --- */
.module-menu { background-color: transparent !important; }
.module-menu a {
    background-color: var(--mps-navy) !important;
    background-image: linear-gradient(to right, var(--mps-navy-dark) 4px, var(--mps-navy) 4px) !important;
    color: #fff !important;
    border-bottom-color: rgba(255,255,255,0.15) !important;
    font-size: 13px;
    font-family: 'Roboto', Arial, sans-serif;
}
.module-menu a:hover,
.module-menu a.active,
.module-menu a:focus {
    background-color: var(--mps-red) !important;
    background-image: linear-gradient(to right, var(--mps-red-dark) 4px, var(--mps-red) 4px) !important;
    color: #fff !important;
}

/* --- Buttons: MPS red/navy --- */
.btn-primary {
    background-color: var(--mps-red) !important;
    border-color: var(--mps-red-dark) !important;
    color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--mps-red-dark) !important;
    border-color: #6a0616 !important;
}
.btn-info {
    background-color: var(--mps-navy) !important;
    border-color: var(--mps-navy-dark) !important;
    color: #fff !important;
}
.btn-info:hover, .btn-info:focus {
    background-color: var(--mps-navy-dark) !important;
    border-color: #001532 !important;
}

/* --- Table header: MPS navy --- */
.table > thead > tr > th {
    background-color: var(--mps-navy);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
    font-family: 'Roboto Condensed', Arial, sans-serif;
}
.table-striped > tbody > tr:nth-of-type(odd) { background-color: #f9f9f9; }

/* --- Pagination: MPS red active --- */
.pagination > li > a,
.pagination > li > span { color: var(--mps-navy); transition: all 0.2s ease; }
.pagination > li > a:hover,
.pagination > li > a:focus {
    background-color: var(--mps-red);
    border-color: var(--mps-red-dark);
    color: #fff;
}
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus {
    background-color: var(--mps-red) !important;
    border-color: var(--mps-red-dark) !important;
    color: #fff !important;
}

/* --- Alert border-left colored --- */
.alert-info {
    border-left: 4px solid var(--mps-navy);
    background-color: #e8f0fa;
    border-color: #c3d6f5;
    color: var(--mps-navy);
}
.alert-danger {
    border-left: 4px solid var(--mps-red);
    background-color: #fdf0f0;
    border-color: #f5c6c6;
    color: var(--mps-red-dark);
}
.alert-warning { border-left: 4px solid var(--mps-gold); }

/* --- Nav-tabs: MPS style --- */
.nav-tabs > li > a {
    color: var(--mps-navy);
    border-color: #ddd #ddd transparent;
    font-weight: 600;
    font-family: 'Roboto Condensed', Arial, sans-serif;
}
.nav-tabs > li > a:hover {
    border-color: var(--mps-red) var(--mps-red) transparent;
    color: var(--mps-red);
    background-color: #fdf1de;
}

/* --- Link in body text --- */
.bodytext a { color: var(--mps-navy); text-decoration: underline; transition: color 0.2s ease; }
.bodytext a:hover { color: var(--mps-red); }

/* --- Form control focus --- */
.form-control:focus {
    border-color: var(--mps-red);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px rgba(186,12,47,0.2);
}

/* --- Scrollup button --- */
.scrollup {
    background-color: var(--mps-red) !important;
    border-radius: 50px !important;
    box-shadow: 0 2px 8px rgba(186,12,47,0.35);
}
.scrollup i { color: #fff !important; }

/* --- Social icons --- */
#tms_social li a {
    background-color: var(--mps-navy) !important;
    border: solid rgba(255,255,255,0.3) 1px !important;
}
#tms_social li a:hover {
    background-color: var(--mps-red) !important;
    color: #fff !important;
}

/* --- Ẩn sidebar metismenu (menu danh mục bên trái) --- */
.clearfix.panel.metismenu {
    display: none !important;
}

/* ============================================================
   MPS-BCA SECTION / NEWS CARD STYLES
   Mimics the bocongan.gov.vn category section layout:
   - Left (2/3): Hero card + 3-col sub-cards
   - Right (1/3): Featured card + small card list
   ============================================================ */

/* --- Section wrapper --- */
.mps-bca-section {
    margin-bottom: 36px;
}
.mps-bca-panel {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

/* --- Section heading: red uppercase + short red underline (bocongan style) --- */
.mps-bca-heading,
.panel-heading.mps-bca-heading {
    background: transparent !important;
    border: none !important;
    padding: 0 0 17px 0 !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid #e5e5e5 !important;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.mps-bca-heading::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--mps-red);
    border-radius: 2px;
}
.mps-bca-heading-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px;
    color: var(--mps-red) !important;
    font-family: 'Roboto Condensed', 'Arial Narrow', Arial, sans-serif;
    line-height: 1.2 !important;
}
.mps-bca-heading-title a,
.mps-bca-heading-title a:hover,
.mps-bca-heading-title a:visited {
    color: var(--mps-red) !important;
    text-decoration: none !important;
}
.mps-bca-heading-icon { display: none; }
.mps-bca-heading-line { display: none; }
.mps-bca-heading-text { display: inline; }
.mps-bca-subcats { font-size: 12px; line-height: 1; }
.mps-bca-subcats a { color: #888 !important; text-decoration: none !important; }
.mps-bca-subcats a:hover { color: var(--mps-red) !important; }
.mps-bca-viewmore {
    font-size: 13px;
    color: #888 !important;
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1.2;
}
.mps-bca-viewmore:hover { color: var(--mps-red) !important; }

/* --- Panel body --- */
.mps-bca-body {
    padding: 0 !important;
}
.tms_cat { padding: 0 !important; margin: 0 !important; }

/* ----------------------------------------------------------------
   HERO CARD (viewcat_main_right — home1)
   Full-width image, gradient overlay, white title at bottom-left
   ---------------------------------------------------------------- */
.bca-hero-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
    display: block;
}
.bca-hero-image-link {
    display: block;
    width: 100%;
}
.bca-hero-image {
    width: 100% !important;
    height: 340px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 8px;
    transition: transform 0.35s ease;
    float: none !important;
    margin: 0 !important;
}
.bca-hero-card:hover .bca-hero-image {
    transform: scale(1.03);
}
.bca-hero-gradient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.72) 100%);
    border-radius: 8px;
    pointer-events: none;
}
.bca-hero-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 24px;
    pointer-events: none;
}
.bca-hero-caption a { pointer-events: all; }
.bca-hero-title {
    margin: 0 0 6px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #fff !important;
}
.bca-hero-title a {
    color: #fff !important;
    text-decoration: none !important;
}
.bca-hero-title a:hover {
    text-decoration: underline !important;
}
.bca-hero-date {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    display: block;
}

/* ----------------------------------------------------------------
   SUB-CARDS GRID (viewcat_main_right — related loop)
   3-column grid: image top + title below
   ---------------------------------------------------------------- */
.bca-subcards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}
.bca-subcard {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 4px;
}
.bca-subcard-img-wrap {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.bca-subcard-img {
    width: 100% !important;
    height: 130px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 8px;
    float: none !important;
    margin: 0 !important;
    transition: transform 0.3s ease;
}
.bca-subcard:hover .bca-subcard-img {
    transform: scale(1.04);
}
.bca-subcard-caption {
    flex: 1;
}
.bca-subcard-title {
    display: block;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #111 !important;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bca-subcard-title:hover { color: var(--mps-red) !important; }
.bca-subcard-date {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
    display: block;
}

/* ----------------------------------------------------------------
   RIGHT-COLUMN SECTION (viewcat_main_left)
   Featured card at top + small card list below
   ---------------------------------------------------------------- */
.mps-bca-sidebar-section .mps-bca-body { padding: 0 !important; }
.mps-bca-sidebar-inner {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    padding: 20px;
}

/* Featured card */
.bca-featured-card {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.bca-featured-img-wrap {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}
.bca-featured-img {
    width: 100% !important;
    height: 190px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 8px;
    float: none !important;
    margin: 0 !important;
    transition: transform 0.3s ease;
}
.bca-featured-card:hover .bca-featured-img {
    transform: scale(1.03);
}
.bca-featured-title {
    margin: 0 0 4px !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}
.bca-featured-title a {
    color: #111 !important;
    text-decoration: none !important;
}
.bca-featured-title a:hover { color: var(--mps-red) !important; }
.bca-featured-date {
    font-size: 12px;
    color: #aaa;
    display: block;
}

/* Small card list */
.bca-smallcard-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 420px;
    overflow-y: auto;
}
.bca-smallcard {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none !important;
    align-items: flex-start;
}
.bca-smallcard:last-child { border-bottom: none; }
.bca-smallcard-img {
    width: 100px !important;
    min-width: 100px !important;
    height: 66px !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    display: block;
    transition: opacity 0.2s ease;
}
.bca-smallcard:hover .bca-smallcard-img { opacity: 0.88; }
.bca-smallcard-caption {
    flex: 1;
    min-width: 0;
}
.bca-smallcard-title {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #111 !important;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bca-smallcard:hover .bca-smallcard-title { color: var(--mps-red) !important; }

/* Backward-compat: old mps-bca-* classes still used in viewcat_main_left existing markup */
.mps-bca-featured-image { width: 100% !important; height: 190px !important; object-fit: cover !important; border-radius: 8px; }
.mps-bca-featured-title a { color: #111 !important; text-decoration: none !important; }
.mps-bca-featured-title a:hover { color: var(--mps-red) !important; }
.mps-bca-side-list { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.mps-bca-side-list li { display: flex; align-items: flex-start; gap: 6px; padding: 8px 0; border-bottom: 1px dashed #eee; font-size: 14px; line-height: 1.5; }
.mps-bca-side-list li:last-child { border-bottom: none; }
.mps-bca-side-list li .fa.fa-angle-right { color: var(--mps-red); margin-top: 3px; flex-shrink: 0; }
.mps-bca-side-list li a { color: #222 !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mps-bca-side-list li a:hover { color: var(--mps-red) !important; }
.mps-bca-side-thumb { width: 72px !important; min-width: 72px !important; height: 52px !important; object-fit: cover !important; border-radius: 4px !important; float: none !important; margin: 0 !important; }
.mps-bca-meta { font-size: 12px; color: #aaa; margin: 4px 0; }
.mps-bca-meta ul { margin: 0 !important; }

/* Responsive */
@media (max-width: 767px) {
    .bca-hero-image { height: 220px !important; }
    .bca-subcards-grid { grid-template-columns: 1fr; gap: 12px; }
    .mps-bca-sidebar-inner { padding: 12px; box-shadow: none; }
}

/* --- Print styles --- */
@media print {
    .second-nav, .third-nav, #footer, .wsmobileheader,
    .scrollup, #top-buttom-image, .footerNav2, .sitemenu-bg {
        display: none !important;
    }
    body { background-color: #fff !important; }
    a[href]:after { content: " (" attr(href) ")"; }
}

/* --- Responsive supplements --- */
@media (max-width: 767px) {
    .tms_block { margin-bottom: 12px !important; }
    #footer h3 { margin-top: 15px !important; }
    .breadcrumbs a { font-size: 12px; }
    .wsmenu-list { background: #fff !important; }
}
@media (max-width: 480px) {
    .sitebannertext { display: none; }
    .logo-minhphuc img { 
        width: auto !important; 
        max-width: 100% !important; 
        height: auto !important; 
        max-height: 70px !important; 
    }
}

/* ============================================================
   HOME LAYOUT DECLUTTER (2026-06)
   Mục tiêu: thoáng hơn, dễ đọc hơn, bớt "mớ bòng bong"
   ============================================================ */

/* Giữ khung nội dung sáng, có khoảng thở */
.main_stc {
    padding: 16px 14px 8px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

/* Cân lại nhịp giữa cột chính và cột phụ */
.left-congan-right {
    margin-left: -10px;
    margin-right: -10px;
}
.left-congan-right > [class*='col-'] {
    padding-left: 10px;
    padding-right: 10px;
}

/* Mỗi khối danh mục thành một card nhẹ nhàng, tách lớp rõ */
.news_column.mps-bca-section {
    background: #fff;
    border: 1px solid #eef1f5;
    border-radius: 12px;
    padding: 16px 16px 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}

/* Heading thoáng hơn, bớt nén */
.news_column.mps-bca-section .mps-bca-heading,
.news_column.mps-bca-section .panel-heading.mps-bca-heading {
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
}

/* Cột danh sách bên trái: giảm rối bằng line-height + khoảng cách + clamp */
.mps-bca-side-list li {
    padding: 9px 0;
    gap: 8px;
    border-bottom: 1px solid #f1f3f6;
}
.mps-bca-side-list li a {
    line-height: 1.55 !important;
    -webkit-line-clamp: 2;
}

/* Khối featured: ảnh gọn, tiêu đề dễ quét */
.mps-bca-featured-image {
    border-radius: 10px;
}
.mps-bca-featured-title {
    margin-top: 8px !important;
    margin-bottom: 6px !important;
    line-height: 1.45 !important;
}

/* Mô tả featured dài quá thì cắt mềm để tránh đặc chữ */
.mps-bca-featured-desc {
    color: #4b5563;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Block hot-news đầu trang: đồng bộ card style */
#hot-news .panel.news_column {
    border: 1px solid #eef1f5;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}
#hot-news .panel-body {
    padding: 16px;
}

/* Sidebar phải: đỡ "chói", dễ nhìn hơn */
.tms-an.left-congan .nv-block-banners,
.tms-an.left-congan .panel {
    border-radius: 10px;
    overflow: hidden;
    border-color: #edf0f4;
    box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}
.tms-an.left-congan .panel + .panel,
.tms-an.left-congan .nv-block-banners + .nv-block-banners {
    margin-top: 12px;
}

/* Mobile: giữ thoáng nhưng không nở quá */
@media (max-width: 991px) {
    .main_stc {
        padding: 10px 8px 4px;
        border-radius: 0;
        box-shadow: none;
    }

    .news_column.mps-bca-section {
        padding: 12px 12px 8px;
        margin-bottom: 16px;
        border-radius: 10px;
    }
}