/**
 * 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 */

/* Khối hiển thị chuyên mục trang chủ kiểu banner + bài nổi bật (thay cho panel trắng mặc định) */
.tms_cat {
    background: #fff;
    margin-bottom: 20px;
}
img.tms_cat_img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}
.tms_cat_title {
    display: inline-block;
    width: 100%;
    text-align: left;
    color: #357ebd;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    text-transform: capitalize;
    padding-bottom: 10px;
}
.tms_cat_title:before {
    top: 35px;
    background-color: #428bca;
    content: "";
    height: 3px;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 0;
}
.tms_cat_title h2 {
    margin: 0;
    float: left;
    font-size: 16px;
    line-height: 34px;
    padding: 2px 15px;
    text-transform: uppercase;
    position: relative;
    background: #428bca;
    color: #fff;
}
.tms_cat_title h2 img.tms_cat_logo {
    height: 26px;
    width: auto;
    vertical-align: middle;
    margin-right: 4px;
    margin-top: -3px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
}
.tms_cat_title h2:after {
    border-bottom: 38px solid #428bca;
    border-right: 38px solid rgba(0, 0, 0, 0);
    border-top: 0px solid rgba(0, 0, 0, 0);
    content: "";
    display: block;
    position: absolute;
    right: -38px;
    top: 0;
    z-index: 1;
}
.tms_cat_title a {
    color: #fff;
    margin-left: 5px;
}
.tms_cat_right {
    float: right;
    padding-top: 12px;
}
.tms_cat_right a {
    color: #357ebd;
    margin-left: 5px;
}
.tms_body {
    border: 1px solid #f7f7f7;
    padding: 0 5px;
}
.tms_bg_news {
    min-height: 460px;
    padding: 5px;
    background-color: #f2f2f2;
}
.tms_related_img {
    width: 30px;
    height: 24px;
    object-fit: cover;
    margin-right: 6px;
}
div.news_column ul.related li {
    display: flex;
    align-items: center;
}

/* Sửa lỗi menu dropdown trên thanh điều hướng bị ảnh slideshow/carousel của trang đè lên.
   Nguyên nhân thực tế (xác nhận qua DevTools trên site đã cài gói này): khối slider/carousel
   khác trên trang có 1 phần tử con dùng z-index cao hơn z-index của chính thanh navbar
   (.navbar.navbar-static-top), khiến ảnh trong slider nổi lên trên menu dù menu có z-index
   riêng rất cao. Chỉ cần nâng z-index của cả thanh navbar là menu luôn nổi lên trên toàn bộ
   nội dung bên dưới, không đổi vị trí/kích thước/màu sắc gì khác. */
.navbar.navbar-static-top {
    z-index: 1000 !important;
}
