/* =================== CẤU HÌNH GỐC (giữ nguyên màu nền/hình nền) =================== */
BODY{
  SCROLLBAR-FACE-COLOR:#ffa900;
  FONT-SIZE:11px;
  BACKGROUND-IMAGE:url(images/bg_body.jpg);
  MARGIN:0;
  SCROLLBAR-HIGHLIGHT-COLOR:#fff0ad;
  SCROLLBAR-SHADOW-COLOR:#fff6cc;
  SCROLLBAR-3DLIGHT-COLOR:#fff6cc;
  SCROLLBAR-ARROW-COLOR:#fff6cc;
  SCROLLBAR-TRACK-COLOR:#fff3b8;
  BACKGROUND-REPEAT:repeat-x;
  FONT-FAMILY:Tahoma,Verdana,Arial,Helvetica,sans-serif;
  SCROLLBAR-DARKSHADOW-COLOR:#7e0000;
  TEXT-ALIGN:justify;
  TEXT-DECORATION:none;
}

/* Giữ class này (đang dùng trong site) */
.BorderRed{border:none !important;}

.NewsTime{FONT-SIZE:1em;COLOR:#808080}
.NewsTitle{
  FONT-WEIGHT:bold;FONT-SIZE:1.2em;PADDING-BOTTOM:4pt;COLOR:#1256a3;
  LINE-HEIGHT:18px;FONT-FAMILY:Tahoma;
}
.NewsImageDesc{FONT-WEIGHT:normal;FONT-SIZE:0.5em;COLOR:#003366;FONT-FAMILY:tahoma}
.NewsBody,.NewsExcerpt{
  FONT-WEIGHT:normal;COLOR:black;LINE-HEIGHT:18px;FONT-FAMILY:tahoma;text-align:justify
}
.NewsExcerpt{PADDING-LEFT:3pt;FONT-SIZE:1em}
.NewsAuthors{PADDING-RIGHT:3pt;FONT-SIZE:0.7em;COLOR:black;LINE-HEIGHT:18px;FONT-FAMILY:tahoma}

.NewsTitle:link,.NewsTitle:visited,.NewsTitle:active{
  FONT-SIZE:12px;COLOR:#1256a3;FONT-FAMILY:Tahoma,Arial;TEXT-DECORATION:none
}
.NewsTitle:hover{FONT-SIZE:12px;COLOR:red;FONT-FAMILY:Tahoma,Arial;TEXT-DECORATION:none}

.linkRed:link,.linkRed:visited,.linkRed:active{
  FONT-SIZE:11px;COLOR:#ff0000;FONT-FAMILY:Verdana,Tahoma,Arial;TEXT-DECORATION:none
}
.linkRed:hover{FONT-SIZE:11px;COLOR:green;FONT-FAMILY:Verdana,Tahoma,Arial;TEXT-DECORATION:none}

.shadow{FILTER:progid:DXImageTransform.Microsoft.Shadow(color='#666666',Direction=135,Strength=3)}

TABLE,TR,TD{FONT-SIZE:11px;COLOR:#000;FONT-FAMILY:Tahoma,Verdana,Arial}

.title_right{FONT-WEIGHT:bold;FONT-SIZE:12px;COLOR:#636363;FONT-FAMILY:Tahoma,Verdana,Arial}
.title_model{FONT-WEIGHT:bold;FONT-SIZE:11px;COLOR:#00aeef;FONT-FAMILY:Tahoma,Verdana,Arial}
.title_tiente{FONT-WEIGHT:bold;FONT-SIZE:11px;COLOR:#ff0000;FONT-FAMILY:Tahoma,Verdana,Arial}
.title_main{FONT-WEIGHT:bold;FONT-SIZE:12px;COLOR:#ff0000;FONT-FAMILY:Tahoma,Verdana,Arial}

.search{FONT-SIZE:11px;COLOR:#00aeef;FONT-FAMILY:Tahoma,Verdana,Arial;TEXT-DECORATION:underline}
.search:hover{COLOR:#84ddff}

.xemtiep,.xemtiep:link,.xemtiep:visited,.xemtiep:active{
  FONT-WEIGHT:bold;FONT-SIZE:11px;COLOR:#ff0000;FONT-FAMILY:Tahoma,Verdana,Arial;TEXT-DECORATION:none
}
.xemtiep:hover{COLOR:#ff9900;TEXT-DECORATION:underline}

.date{PADDING-LEFT:10px;FONT-WEIGHT:bold;FONT-SIZE:11px;COLOR:#000;PADDING-TOP:5px;FONT-FAMILY:Tahoma,Verdana,Arial}

.td_tieude_left{
  PADDING-LEFT:25px;FONT-WEIGHT:bold;FONT-SIZE:11px;BACKGROUND-IMAGE:url(images/bg_tieude_left.jpg);
  TEXT-TRANSFORM:uppercase;COLOR:#1256a3;PADDING-TOP:5px;FONT-FAMILY:Tahoma,Verdana,Arial;HEIGHT:26px
}
.td_menu_left{
  PADDING-LEFT:20px;FONT-SIZE:11px;BACKGROUND-IMAGE:url(images/bg_menu_left.jpg);CURSOR:hand;
  COLOR:#000;PADDING-TOP:3px;FONT-FAMILY:Tahoma,Verdana,Arial;HEIGHT:24px
}
.td_menu_left_over{
  PADDING-LEFT:25px;FONT-SIZE:11px;BACKGROUND-IMAGE:url(images/bg_menu_left.jpg);CURSOR:hand;
  COLOR:red;PADDING-TOP:3px;FONT-FAMILY:Tahoma,Verdana,Arial;HEIGHT:21px
}
.td_sub_menu_left{
  PADDING-LEFT:25px;FONT-SIZE:11px;BACKGROUND-IMAGE:url(images/bg_submenu_left.jpg);CURSOR:hand;
  COLOR:#000ccc;PADDING-TOP:3px;FONT-FAMILY:Tahoma,Verdana,Arial;HEIGHT:21px
}

A:link,A:visited,A:active{FONT-SIZE:11px;COLOR:#000;FONT-FAMILY:Tahoma,Arial;TEXT-DECORATION:none}
A:hover{COLOR:#666}

#menuleft:link,#menuleft:visited,#menuleft:active{FONT-SIZE:12px;COLOR:#000;FONT-FAMILY:Tahoma;TEXT-DECORATION:none}
#menuleft:hover{COLOR:#666}

#submenuleft:link,#submenuleft:visited,#submenuleft:active{FONT-SIZE:12px;COLOR:#1256a3;FONT-FAMILY:Tahoma}
#submenuleft:hover{COLOR:red;TEXT-DECORATION:none}

.td_sanpham{PADDING-LEFT:10px;COLOR:#000;LINE-HEIGHT:16px;FONT-FAMILY:Tahoma,Verdana,Arial;HEIGHT:50px}
.td_link{COLOR:#000;FONT-FAMILY:Tahoma,Verdana,Arial;HEIGHT:30px}

.menu_top,.menu_top:link,.menu_top:visited,.menu_top:active{
  FONT-WEIGHT:bold;FONT-SIZE:12px;COLOR:#000;FONT-FAMILY:Tahoma,Verdana,Arial;TEXT-DECORATION:none
}
.menu_top:hover{COLOR:#84ddff;TEXT-DECORATION:underline}

.menu_left{FONT-SIZE:11px;COLOR:#000;FONT-FAMILY:Tahoma,Verdana,Arial;TEXT-DECORATION:none}
.menu_left:hover{COLOR:#666;TEXT-DECORATION:underline}

.menu_bottom{FONT-WEIGHT:bold;FONT-SIZE:11px;COLOR:#000;FONT-FAMILY:Tahoma,Verdana,Arial;TEXT-DECORATION:none}
.menu_bottom:hover{COLOR:red;TEXT-DECORATION:underline}

.textbox{BORDER:1px solid dimgray;WIDTH:145px;FONT-SIZE:11px;FONT-FAMILY:Tahoma,Verdana,Arial}
.textbox2{BORDER:1px solid dimgray;WIDTH:250px;FONT-SIZE:11px;FONT-FAMILY:Tahoma,Verdana,Arial}

.input{
  BORDER:1px solid #003366;FONT-WEIGHT:bold;FONT-SIZE:10pt;CURSOR:hand;COLOR:#fff;
  FONT-FAMILY:Tahoma,Verdana,Arial;BACKGROUND-COLOR:#00aeef
}
.online{FONT-WEIGHT:bold;FONT-SIZE:15px;COLOR:#f00;FONT-FAMILY:Tahoma,Verdana,Arial;LETTER-SPACING:5px}

.copyright{FONT-WEIGHT:bold;FONT-SIZE:11px;BACKGROUND-IMAGE:url(images/bg_tieude_left.jpg);COLOR:#000;FONT-FAMILY:Tahoma,Verdana,Arial}

.menu_top1,.menu_top1:link,.menu_top1:visited,.menu_top1:active{
  FONT-WEIGHT:bold;FONT-SIZE:12px;COLOR:#fff;FONT-FAMILY:Tahoma,Verdana,Arial;TEXT-DECORATION:none
}
.menu_top1:hover{COLOR:#84ddff;TEXT-DECORATION:underline}

/* =================== CHỈ XOÁ ĐƯỜNG KẺ TRONG KHU VỰC TIN TỨC (CỘT GIỮA) ===================
   Cột giữa của site dùng <td width="594">. Các rule dưới chỉ áp dụng trong vùng này.  */

/* 1) Ẩn các thẻ <hr> và hàng/ô mỏng tạo kẻ ngang */
td[width="594"] hr{display:none !important; border:0 !important; background:none !important}

td[width="594"] tr[height="1"], td[width="594"] td[height="1"],
td[width="594"] tr[height="2"], td[width="594"] td[height="2"],
td[width="594"] tr[height="3"], td[width="594"] td[height="3"]{
  height:0 !important; line-height:0 !important; padding:0 !important;
  border:0 !important; background:none !important; display:none !important;
}

/* 2) Ẩn các phần tử inline có style height 1–3px (Word/Editor hay sinh ra) */
td[width="594"] [style*="height:1px"],
td[width="594"] [style*="height:2px"],
td[width="594"] [style*="height:3px"]{
  display:none !important; height:0 !important; line-height:0 !important; padding:0 !important;
}

/* 3) Xoá border-top/bottom mảnh chèn trong nội dung bài */
td[width="594"] [style*="border-bottom"],
td[width="594"] [style*="border-top"]{
  border:0 !important; border-color:transparent !important;
}

/* 4) Nếu có “gạch ngang” bằng ảnh 1–3px thì loại */
td[width="594"] img[height="1"], td[width="594"] img[height="2"], td[width="594"] img[height="3"]{
  display:none !important;
}
/* === CHẶN CÁC ĐƯỜNG KẺ NGANG CHỈ TRONG CỘT NỘI DUNG (TIN TỨC/ITEMS) === */
/* Cột giữa trên site thường là <td width="594"> hoặc "70%".
   Nếu trang khác dùng width khác, thêm vào tương tự. */

/* 0) Dọn nền ở chính TD cột giữa */
td[width="594"], td[width="70%"]{
  background: transparent !important;
  background-image: none !important;
}

/* 1) Vô hiệu hoá MỌI ảnh nền set bằng thuộc tính HTML background=… bên trong cột giữa */
td[width="594"] *[background],
td[width="594"][background],
td[width="70%"] *[background],
td[width="70%"][background]{
  background: none !important;
  background-image: none !important;
}

/* 2) Bỏ mọi border kẻ mảnh trong nội dung */
td[width="594"] table, td[width="594"] tr, td[width="594"] td,
td[width="70%"] table, td[width="70%"] tr, td[width="70%"] td{
  border: 0 !important;
  border-color: transparent !important;
  background-image: none !important;
}

/* 3) Ẩn các ảnh 1–3px thường dùng để giả làm đường kẻ */
td[width="594"] img[height="1"], td[width="594"] img[height="2"], td[width="594"] img[height="3"],
td[width="70%"] img[height="1"], td[width="70%"] img[height="2"], td[width="70%"] img[height="3"]{
  display: none !important;
}

/* 4) Ẩn các “vạch” tạo bằng hàng/ô cao 1–3px */
td[width="594"] tr[height="1"], td[width="594"] td[height="1"],
td[width="594"] tr[height="2"], td[width="594"] td[height="2"],
td[width="594"] tr[height="3"], td[width="594"] td[height="3"],
td[width="70%"] tr[height="1"], td[width="70%"] td[height="1"],
td[width="70%"] tr[height="2"], td[width="70%"] td[height="2"],
td[width="70%"] tr[height="3"], td[width="70%"] td[height="3"]{
  display: none !important;
  height: 0 !important; line-height: 0 !important; padding: 0 !important;
}

/* 5) Nếu có hr trong bài thì ẩn */
td[width="594"] hr, td[width="70%"] hr { display:none !important; border:0 !important; }
/* Tiêu đề tin danh sách: rõ ràng, vừa phải */
.NewsTitle { font-size: 16px; line-height: 1.35; color: #0d58a6; font-weight: 700; }

/* Phần tóm tắt & thân bài: dễ đọc hơn */
.NewsExcerpt, .NewsBody { font-size: 14px; line-height: 1.75; color:#222; }

/* Khoảng cách giữa các bài trong trang danh sách */
.news-item { padding: 14px 0; }

/* Ảnh trong danh sách: cố định tỉ lệ, không méo */
.news-item .thumb img { width: 120px; height: 90px; object-fit: cover; display:block; }

/* “Xem tiếp” gọn và luôn ở cuối mục */
.xemtiep { font-weight:600; color:#d72626; }
.news-item .xemtiep { display:inline-block; margin-top:8px; }

.NewsTime { color:#666; font-size:12px; margin-left:6px; }\
/* Tối giản ô tìm kiếm */
.sidebar .searchbox input[type="text"]{
  width: 100%; height: 28px; padding: 4px 8px; border:1px solid #ccd6e0;
}
.sidebar .searchbox .btn-search{
  height: 28px; padding:0 10px; background:#00aeef; color:#fff; border:0; cursor:pointer;
}
@media (max-width: 768px){
  .NewsBody, .NewsExcerpt { font-size: 15px; line-height: 1.8; }
  .news-item { grid-template-columns: 110px 1fr; gap:10px; }
  img { max-width:100%; height:auto; }
}
/* Ngăn global CSS làm co ảnh trong PhotoSwipe */
.pswp img{ max-width: none !important; height: auto !important; }
.pswp__img{ max-width: none !important; max-height: none !important; width:auto !important; height:auto !important; }
/* Bảo đảm overlay nổi trên cùng */
.pswp, .pswp__bg{ z-index: 999999 !important; }

/* ====================================================================== */
