@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Georama:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root{
        --main-width: min(1160px, 100vw);
        --bg-orrange: #d35912;
        --bg-orrange-light: #5b8fbb;
        --bg-orrange-weight: #004c76;
        --padding-res: 0 16px;
        --color-primary:#f30000;
        --box-category: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
        --primary:#f30000
}
* {
        text-rendering: geometricprecision;
        font-size: 15px;
        line-height: 1.5;
        font-family: Inter;
}
.TopBanner{
        -webkit-filter: grayscale(0) !important;
        -moz-filter: grayscale(0) !important;
        filter: grayscale(0 !important);
}
.page-title{
        font-family: Merriweather;
        font-weight: 700;
        font-size: 22px;
        color: #1B1D2D;
}
a {
        color: #212529;
        font-size: 14px;
        text-decoration: none;
}
a:hover{
        color: #212529;
}
img {
        border: medium none;
        max-width: 100%;
}
.MainStructure .TopBanner {
        margin: 0 auto;
        position: relative;
        width: 100%;
        z-index: 1000;
}
.MainStructure .TopBar {
        text-align: justify;
        width: 100%;
}
.MainStructure .ContentBanner {
        position: relative;
        width: 100%;
        z-index: 1;
        background: #f2f2f2;
}
.MainStructure .MainContent {
        background: #fff none repeat scroll 0 0;
        margin: 0 auto;
        padding: 32px 10px;
        vertical-align: top;
        width: 100%;
        max-width: var(--main-width);
}
.MainStructure .MainContent tr{
	vertical-align: top;
}
.MainStructure .LeftBar {
        padding-right:30px;
        text-align: justify;
        vertical-align: top;
}
.MainStructure .ContentBar {
        padding: 0px 0px 0px 0;
        text-align: justify;
        vertical-align: top;
}
.MainStructure .FooterBanner {
        text-align: center;
        /* background: #077edd; */
        width: 100%;
            background: url(images/bg-footer.png) no-repeat center top #c53531 !important;
}
div.MainStructure .FooterBar {
           text-align: justify;
    max-width: 1160px;
    margin: 0 auto;
        padding: 30px 0;
}
.MainStructure table.MainContentFull {
        width: 1260px;
        margin: auto;
        max-width: 100%;
}
.MainStructure table.MainContentFull td#ContentBarFull {
        text-align: left;
}
.yhy-append-wrap{
        position: absolute;
        bottom: 0;
        left: 0;
}
.LeftBar table:has(.DetailControl){
	    width: 100%;
    table-layout: fixed;
}
.LeftBar table th, .LeftBar table td{
            white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
}

@media only screen and (max-width: 768px){
        #yhy-append{
                display:none !important;
        }
        .MainStructure .FooterBar {
                width: 100% !important;
        }
        div.MainStructure .fixed {
                padding-top: 15px !important;
                padding-bottom: 40px !important;
        }
        .MainStructure .ContentBanner {
                position: static;
        }
        /*.MainStructure table.MainContentFull td#ContentBarFull table:nth-child(2) tr{
        display:grid;
        grid-template-columns: repeat(2, 1fr);
}
        .MainStructure table.MainContentFull td#ContentBarFull table:nth-child(2) tr td:first-child{
        order:1;
}
        .MainStructure table.MainContentFull td#ContentBarFull table:nth-child(2) tr td:nth-child(2){
        order:3;
        grid-column:span 2;
}
        .MainStructure table.MainContentFull td#ContentBarFull table:nth-child(2) tr td:last-child{
        order:2;
}*/
        .bottom-tool{
                display:none;
        }
        .page-title{
                align-items:flex-start !important;
        }
        .MainStructure .ContentBar{
                display:block !important;
        }
}

@media (min-width: 1024px) {
        table.MainContent {
                width: 100%;
                table-layout: fixed;
        }
        td.LeftBar {
                width: 72%;
                    padding: 0 20px 0 10px;
        }
        td#ContentBar {
                width: 28%;
                padding-right: 10px;
        }
        td.ContentBar3{
        	padding-right: 10px;
        }
}
@media only screen and (max-width: 768px){
        div.MainStructure {
                max-width: 720px!important;
                margin: auto;
        }
        .table-3-col{
                width: 720px!important;
                margin: auto;
        }
        div.MainStructure .fixed{
                padding-top: 10px!important;
        }
        .MainStructure .LeftBar {
                width: 100vw;
                display: block;
        }
        .MainStructure .ContentBar {
                display: block !important;
        }
        .bottom-tool {
                display: none !important;
        }
        .ContentBar3{
                display: block;
                width: 100%!important;
        }
        .table-3-col td.td-layout{
        	width: 100%!important;
        }
        .UIClockSystem{
        	background: transparent!important;
        }
        .SingleSearch{
        padding: 0 10px!important;
        	}
            .ArticleInMenu {
        padding: 0 10px!important;
        }   
        .UIBoMayHanhChinhControl{
        	padding: 0 10px;
        }
}
@media only screen and (max-width: 1023px) {
        div.MainStructure {
                margin: auto;
                max-width: 960px;
        }
        .MainContent {
                max-width: 100% !important;
                width: 100% !important;
        }
        .MainStructure .TopBar{
                position: relative;
        }
    .NewSteeringControl {
            padding: 10px!important;
            padding-top: 0!important
        }
		.HotnewsControl {
        	padding: 10px!important;
        }
        .HotnewsControl .HotnewsList{
        	padding: 5px 0!important
        }
   /**     table.page-layout-3 > tbody > tr {
                display: flex;
                flex-direction: column;
        }**/
}
@media (min-width: 768px) and (max-width: 1023px) {
        table.page-layout-3, table.page-layout-1{
        	table-layout: fixed;/***************************/
            width: 100%;
        }
        table.page-layout-3 > tbody > tr {
                 display: table-row !important;
        }
         .page-layout-3 td.td-layout{
                display: table-cell!important;
                  width: auto!important;
                 max-width: none !important;
        }
        .table-3-col td.td-layout:nth-child(2){
                padding: 0;
    			width: 0 !important;
                }

        .MainStructure table.page-layout-3 > tbody > tr:has(.UIClockSystem) {
                flex-direction: row;
                display: grid;
                grid-template-columns: 200px 1fr 200px;
        }
        .MainStructure .MainContent > tbody > tr {
                display: flex;
                flex-direction: column;
        }
        .ArticleMediaListControl .media-list {
                flex-direction: row;
        }
        .ArticleMediaListControl .LeftCol{
        width:50%!important
        }
        .ArticleMediaListControl .media-list .RightCol ul li {
                width: calc(100% - 10px);
        }
        .ArticleMediaListControl .media-list .RightCol ul{
                gap: 10px;
        }
        .MainStructure .DropdownMenu .navbar-button {
                display: none !important;
        }
        .MainStructure  .SingleSearch {
               width: auto;
                        padding: 10px 10px 0 10px!important;
                margin-bottom: 0!important
        }
        .MainStructure  .UIClockSystem {
                margin-top: 5px !important;
                height: 36px !important;
        }
        .DropdownMenu {
                position: relative !important;
                height: inherit !important;
                top: unset !important;
        }
        .TopBar.shrink .DropdownMenu {
                position: sticky;
                top: 0;
                width: 100%;
                z-index: 9999;
        }
        .DropdownMenu .MenuList{
                display: flex !important;
                background: #ee3a35 !important;
                overflow: visible !important;
        }
        .DropdownMenu .MenuList .AdvanceBar .AdvanceBarZone {
                max-width: var(--main-width) !important;
        }
        body .DropdownMenu .MenuList .TopMenu:hover{
                background: transparent !important;
        }
         .page-layout-3 td.td-layout:has(.ArticleSlider) 
        .page-layout-3 td.td-layout:has(.ArticleSlider) {
        	width:70%!important;
        }
        .page-layout-3 td.td-layout:has(.AdvertisementBottomRight) {
        	width: 30%!important;
        }
        .page-layout-3 td.td-layout:has(.UIClockSystem),  .page-layout-3 td.td-layout:has(.UIWeatherForcast){
        	width:28%!important;
        }
        /*************************************************************************/
        .page-layout-5 table {
        table-layout: fixed !important;  /* không bị co dãn đột ngột */ 
        width: 100% !important;          /* full container */
                
            }

    .page-layout-5 table th,
    .page-layout-5 table td {
        display: table-cell !important;  /* đảm bảo ngồi trên 1 hàng */
        white-space: nowrap;             /* không wrap xuống hàng */
    }
                /*************************************************************************/
       .TabArticleControl {
               width:auto!important     ;
               margin-bottom: 0!important
        }
        .page-layout-5 td {
            display: table-cell !important;
        }
        .MultiFunctionControl{
        	width: auto!important;
        }
        .UITabArticle_tinhuysingletab{
        	padding-right: 0!important
        }
        table.page-layout-5 td:nth-child(1), table.page-layout-5 td:nth-child(3){
        	width:35%!important;
        }
       
         table.page-layout-5 td:nth-child(2), table.page-layout-5 td:nth-child(4){
        width: 0!important
        }
        .MultiFunctionControl{
        	padding: 0 10px!important;
        }
        .MainContent {
                max-width: 100% !important;
                width: 100% !important;
                table-layout: fixed;
         }
        .MainContent .LeftBar{
        	width: 70%!important;
                box-sizing: border-box;
        }
        .MainContent .ContentBar:has(.UIServiceCategory_Default) {
            vertical-align: top;
            padding-right: 0px;
            width: 30% !important;
        }
        .MainStructure .MainContent > tbody > tr {
                display: flex;
                flex-direction: row!important;
        }  
        .page-layout-3_2:has(.SingleTab){
        	 table-layout: fixed !important;  /* không bị co dãn đột ngột */ 
        width: 100% !important;          /* full container */
        }
        .page-layout-3_2 .td-layout:has(.SingleTab){
        	width: 50%!important;
                display: table-cell !important;  /* đảm bảo ngồi trên 1 hàng */
                        border-right: 1px solid #eee;
        }
        .ListControl{
        	padding: 0 10px!important;
        }
        .ListControl .List table td {
            border: 1px solid #ddd!important;
        }
        .ListControl .List table td a{
        	font-weight: normal!important
        }
        .MainContent .ContentBar3{
        	width: 30%;
            box-sizing: border-box;
            overflow: hidden;
            min-width: 0;
            flex: 0 0 30%;
            box-sizing: border-box;
        }
                .MainContent .page-layout-1{
        width: 100% !important;
    max-width: 100%;
    table-layout: fixed;
        }
        .MainContent .MenuNavigation{
        	padding: 0 10px;
        }
        .MainContent .ArticleInMenu {
        padding: 10px
        }
        .YoutubePlayer, .YoutubeVideoList{
        	padding: 0 10px!important
        }
        .UIBoMayHanhChinhControl{
        	padding: 0 10px;
        }
        .MainContent .UIQuestionLaoCai_Default{
        	padding: 0 10px;
        }
        .ArticleSlider{
        	width: 100%!important;
                max-width: 100%!important;
                min-width: 0!important
        }
        .HotnewsControl{
        	width: 100%!important;
                max-width: 100%;
                min-width: 0;
                box-shadow: none!important;
        }
        .MainStructure .ContentBar:has(.HotnewsControl){
        	    width: 30%;
    box-sizing: border-box;
    overflow: hidden;
    min-width: 0;
    flex: 0 0 30%;
    box-sizing: border-box;
        }
        .ContentBar2:has(.AdvertisementBottomRight){
        padding: 0 5px!important
        }
        .OnlineCounter{
        margin:10px!important
        }
        .WebLink{
        	padding: 10px!important
        }
        .ContentBar3 .AdvertContent{
        	padding: 0 5px!important;
        }
}
