#topnews {
    border:1px solid #c3d3e0;
    margin-bottom:10px;
    padding:4px;
}

#topnews ul.lastest-news {
    padding:0;
}

#topnews ul.lastest-news li {
    text-indent:20px;
}
#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 {
    //background:transparent url("../images/squared-blue.png") no-repeat 5px 9px;
    border-bottom:1px dotted #bbdbf6;
    color:#383838;
    display:block;
    font-weight:normal;
    padding:2px 0;
}
*/
#topnews ul.lastest-news a:hover {
    background:#fff url("../images/squared-blue.png") no-repeat 5px 9px;
}

/* DANTRI REDESIGN - BASE STYLES */
.dantri-container {
    max-width: 1140px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Typography & Hover */
.dt-news-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s ease;
}
.dt-news-title a:hover {
    color: #00885a; /* Dantri Green */
}
.dt-news-sapo {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* Top Headline */
.dt-headline {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}
.dt-headline-main {
    flex: 1 1 65%;
    max-width: 65%;
}
.dt-headline-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
.dt-headline-main img:hover {
    transform: scale(1.02);
}
.dt-headline-main h2.dt-news-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
}
.dt-headline-sub {
    flex: 1 1 calc(35% - 20px);
    max-width: calc(35% - 20px);
}
.dt-headline-sub ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.dt-headline-sub ul li {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #e5e5e5;
}
.dt-headline-sub ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.dt-headline-sub ul li a {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    display: block;
}
.dt-headline-sub ul li a:hover {
    color: #00885a;
}

/* Category & List Views */
.dt-list-news {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.dt-news-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.dt-news-item-img {
    flex: 0 0 220px;
}
.dt-news-item-img img {
    width: 100%;
    border-radius: 4px;
}
.dt-news-item-content {
    flex: 1;
}
.dt-news-item-title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 8px;
}
.dt-news-meta {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .dt-headline-main, .dt-headline-sub {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .dt-news-item {
        flex-direction: column;
    }
    .dt-news-item-img {
        flex: 1 1 100%;
    }
}

div.news_column .socialicon {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
}

div.news_column .imghome {
    margin:4px 10px 0 0;
}

div.news_column .text-muted {
    font-size: 12px;
}

#hometext h2 {
    font-weight:bold;
    /*font-size:14px;
    line-height:20px;*/
}

div.news_column .imgalt {
    display:block;
    text-align:center;
    margin-top:5px;
}

p.copyright {
    margin-bottom:10px;
}

div.news_column div.copyright {
    margin-top:10px;
}

div.news_column p.adminlink {
    margin-bottom:10px;
}

div.news_column ul.related {
    float:left;
}

div.span-25 ul.related {
    width:100%;
}

div.news_column ul.related li {
    display: inline;
    float: left;
    width: 100%;
    border-bottom: 1px dashed #CCC;
    padding-bottom: 3px;
    margin-bottom: 3px;
}

div.news_column .panel-heading {
    font-size:14px;
    font-weight:bold;
}

div.span-25 ul.related li {
    padding:0 10px;
}

div.news_column ul.related a {
    color:#3b3b3b;
    padding-left:6px;
    text-align:left;
}

div.news_column ul.related a:hover {
    color:#004175;
}

.txtrequired {
    color:#ff0000;
}

.content-box {
    padding:10px;
}

.panel-body.other-news > div.clearfix{
    margin-bottom: 15px;
}

.panel-body.other-news > div.clearfix:last-child{
    margin-bottom: 0;
}

ul.other-news {
    padding-left:0;
    margin-left:0;
}

#hot-news .hot-news-others ul {
    padding: 0;
    margin: 0;
}

#hot-news .hot-news-others ul li {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dadada;
}

#hot-news .hot-news-others ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

#hot-news li a span {
    text-indent: 8px;
    display: inherit;
}

#print {
    margin:0 auto;
    text-align:left;
    width:800px;
}

#print a,
#print a:active,
#print a:focus,
#print a:visited {
    color:#4D5764;
    text-decoration:none;
}

#print h1 {
    /*font-size:160%;*/
}

#print h2 {
    /*font-size:150%;*/
}

#print a:hover {
    text-decoration:underline;
}

#print h1,
h2,
p {
    margin:0 0 6px 0;
    padding:0;
}

#print #hd_print {
    margin-top:10px;
}

#print #content #hometext {
    font-weight:bold;
    margin-bottom:10px
}

#print #content ul.control {
    margin:0;
    display:block;
    padding:7px 0 19px 0;
}

#print #content ul.control li {
    display:inline;
    float:left;
    list-style:none;
    font-size:95%;
}

#print #content ul.control li a {
    padding:0 2px;
}

#print #content ul.control li a:hover {
    text-decoration:none;
    cursor:pointer;
}

#print #content .time {
    color:#333;
}

#print #content .imghome {
    padding:4px;
    margin:0 auto;
    display:block;
    text-align:center;
}

#print #content .imghome p {
    font-weight:normal;
}

#print #content .copyright {
    background:#66CCFF;
    padding:4px;
    width:100%;
}

#print #content #author {
    text-align:right;
}

#print #footer {
    margin-top:10px;
    border-top:2px solid #DC0312;
    min-height: 30px!important;
    padding: 10px;
}

#print #footer #url {
    line-height:20px;
    font-size:100%;
    display:block;
    border-bottom:2px solid #4D5764;
}

#print #footer .copyright {
    float:left;
    display:inline;
    padding:5px 0;
}

#print #footer #contact {
    float:right;
    display:inline;
    padding:5px 0;
}

#print #footer #contact a:hover {
    text-decoration:none;
    cursor:pointer;
}

#print #footer a{
    color: #fff;
}

.bodytext figure.image figcaption {
    padding:5px;
}

.featured h2 {
    /*font-size:16px !important;*/
    padding-left:5px !important;
}

.featured p {
    font-size:14px !important;
    padding-left:5px !important;
}

ul.related h4 {
     display: inline-block;
}

.detail-related.related li * {
    display: inline;
}

.news-download-file {
    margin-top: -6px;
}

.news-download-file .list-group-item:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.news-download-file .list-group-item .badge {
    float: right;
    display: inline-block;
    width: 22px;
    height: 22px;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #5cb85c;
    border-radius: 15px;
}

.news-download-file .list-group-item .badge a {
    color: #fff;
}

h3.newh3 {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #CCCCCC;
    font-size: 20px;
    line-height: 25px;
    padding-bottom: 10px;
    margin-bottom: 5px;
    padding-top: 10px;
    margin-top: 0px;
    color: #02659d;
}

/* Responsive news */
@media (max-width:499px) {
    div.news_column ul.related {
        padding:4px;
        clear:both;
    }
    div.news_column ul.fixedwidth {
        width:100%;
        clear:both;
    }
    div.news_column div.fixedwidth {
        float:left;
        width:100%;
        clear:both;
    }
}

@media (min-width:500px) {
    div.news_column ul.fixedwidth {
        width:100%;
    }
    div.news_column div.fixedwidth {
        float:left;
        width:100%;
    }
}

@media (max-width:640px) {
    div.news_column ul.related {
        margin-bottom:0;
    }
    div.news_column ul.related li {
        padding:0 4px 4px 0 !important;
    }
}

@media (min-width:768px) {
    div.news_column ul.related {
        padding:4px
    }
    div.news_column ul.fixedwidth {
        width:28%;
    }
    div.news_column div.fixedwidth {
        float:left;
        width:68%;
    }
}

@media (min-width:992px) {
    div.news_column ul.related {
        padding:4px
    }
    div.news_column ul.fixedwidth {
        width:28%;
    }
    div.news_column div.fixedwidth {
        float:left;
        width:68%;
    }
}

@media (min-width:1200px) {
    div.news_column ul.related {
        padding:4px
    }
    div.news_column ul.fixedwidth {
        width:28%;
    }
    div.news_column div.fixedwidth {
        float:left;
        width:68%;
    }
}

@media (min-width:500px) {
    div.news_column ul.related {
        padding:0px 4px
    }
    div.news_column ul.fixedwidth {
        width:100%;
    }
    div.news_column div.fixedwidth {
        float:left;
        width:100%;
    }
}

 / *   D A N T R I   R E D E S I G N   -   B A S E   S T Y L E S   * / 
 . d t - h e a d l i n e   { 
         d i s p l a y :   f l e x ; 
         f l e x - w r a p :   w r a p ; 
         g a p :   2 0 p x ; 
         m a r g i n - b o t t o m :   2 0 p x ; 
         b o r d e r - b o t t o m :   1 p x   s o l i d   # e 5 e 5 e 5 ; 
         p a d d i n g - b o t t o m :   2 0 p x ; 
 } 
 . d t - h e a d l i n e - m a i n   { 
         f l e x :   1   1   6 5 % ; 
         m a x - w i d t h :   6 5 % ; 
 } 
 . d t - h e a d l i n e - m a i n   i m g   { 
         w i d t h :   1 0 0 % ; 
         h e i g h t :   a u t o ; 
         o b j e c t - f i t :   c o v e r ; 
         b o r d e r - r a d i u s :   4 p x ; 
         m a r g i n - b o t t o m :   1 0 p x ; 
 } 
 . d t - h e a d l i n e - m a i n   h 2 . d t - n e w s - t i t l e   { 
         f o n t - s i z e :   2 8 p x ; 
         f o n t - w e i g h t :   7 0 0 ; 
         l i n e - h e i g h t :   1 . 4 ; 
         m a r g i n :   0   0   1 0 p x   0 ; 
 } 
 . d t - h e a d l i n e - m a i n   h 2 . d t - n e w s - t i t l e   a   { 
         c o l o r :   # 2 2 2 ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
 } 
 . d t - h e a d l i n e - m a i n   h 2 . d t - n e w s - t i t l e   a : h o v e r   { 
         c o l o r :   # b 0 0 ;   / *   D a n t r i   h o v e r   c o l o r   * / 
 } 
 . d t - h e a d l i n e - m a i n   . d t - n e w s - s a p o   { 
         f o n t - s i z e :   1 5 p x ; 
         c o l o r :   # 4 4 4 ; 
         l i n e - h e i g h t :   1 . 6 ; 
         m a r g i n - b o t t o m :   0 ; 
 } 
 
 . d t - h e a d l i n e - s u b   { 
         f l e x :   1   1   c a l c ( 3 5 %   -   2 0 p x ) ; 
         m a x - w i d t h :   c a l c ( 3 5 %   -   2 0 p x ) ; 
 } 
 . d t - h e a d l i n e - s u b   u l   { 
         l i s t - s t y l e :   n o n e ; 
         p a d d i n g :   0 ; 
         m a r g i n :   0 ; 
 } 
 . d t - h e a d l i n e - s u b   u l   l i   { 
         p a d d i n g - b o t t o m :   1 5 p x ; 
         m a r g i n - b o t t o m :   1 5 p x ; 
         b o r d e r - b o t t o m :   1 p x   d a s h e d   # e 5 e 5 e 5 ; 
 } 
 . d t - h e a d l i n e - s u b   u l   l i : l a s t - c h i l d   { 
         b o r d e r - b o t t o m :   n o n e ; 
         m a r g i n - b o t t o m :   0 ; 
         p a d d i n g - b o t t o m :   0 ; 
 } 
 . d t - h e a d l i n e - s u b   u l   l i   a   { 
         c o l o r :   # 3 3 3 ; 
         f o n t - s i z e :   1 6 p x ; 
         f o n t - w e i g h t :   6 0 0 ; 
         l i n e - h e i g h t :   1 . 4 ; 
         t e x t - d e c o r a t i o n :   n o n e ; 
         d i s p l a y :   b l o c k ; 
 } 
 . d t - h e a d l i n e - s u b   u l   l i   a : h o v e r   { 
         c o l o r :   # b 0 0 ; 
 } 
 
 @ m e d i a   ( m a x - w i d t h :   7 6 8 p x )   { 
         . d t - h e a d l i n e - m a i n ,   . d t - h e a d l i n e - s u b   { 
                 f l e x :   1   1   1 0 0 % ; 
                 m a x - w i d t h :   1 0 0 % ; 
         } 
 } 
  
 