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

/* ==================== block_news_featured ==================== */
.bnf-wrap {
    background: #f0f4fa;
    border-radius: 10px;
    padding: 28px 20px 24px;
}
.bnf-heading { text-align: center; margin-bottom: 24px; }
.bnf-title {
    font-size: 22px;
    font-weight: 800;
    color: #c0392b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px;
}
.bnf-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.bnf-dline {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #e74c3c);
}
.bnf-divider .bnf-dline:last-child {
    background: linear-gradient(to left, transparent, #e74c3c);
}
.bnf-dicon { color: #e74c3c; font-size: 14px; }
.bnf-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}
.bnf-viewport { flex: 1; overflow: hidden; }
.bnf-track { display: flex; will-change: transform; }
.bnf-card { flex-shrink: 0; padding: 0 8px; box-sizing: border-box; }
.bnf-img-wrap {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #d0d8e4;
}
.bnf-img {
    width: 100%; height: 185px;
    object-fit: cover; display: block;
    transition: transform .4s ease;
}
.bnf-img-wrap:hover .bnf-img { transform: scale(1.05); }
.bnf-body { padding: 0 4px; }
.bnf-card-title {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}
.bnf-card-title a {
    color: #1565c0;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bnf-card-title a:hover { color: #0d47a1; text-decoration: underline; }
.bnf-date { font-size: 12px; color: #888; margin: 0 0 6px; }
.bnf-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.55;
    margin: 0;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bnf-btn {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: #f7ad00;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transition: background .2s, transform .2s;
    display: flex; align-items: center; justify-content: center;
}
.bnf-btn:hover { background: #e09900; transform: scale(1.1); }
.bnf-footer { text-align: center; margin-top: 24px; }
.bnf-more-btn {
    display: inline-block;
    background: linear-gradient(135deg, #e53935, #c0392b);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 18px rgba(192,57,43,.45);
    transition: background .25s, transform .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}
.bnf-more-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.12);
    opacity: 0;
    transition: opacity .25s;
    border-radius: 30px;
}
.bnf-more-btn:hover { background: linear-gradient(135deg, #ff5252, #e53935); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(192,57,43,.55); color: #fff !important; }
.bnf-more-btn:hover::after { opacity: 1; }
@media (max-width: 767px) {
    .bnf-title { font-size: 17px; }
    .bnf-img { height: 130px; }
}
/* ============================================================= */

/* ==================== block_news_tabs ======================== */
.nbt-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 16px rgba(0,0,0,.10);
}

/* Tab bar — dark header + pill tabs */
.nbt-tabbar {
    background: linear-gradient(120deg, #0097a7 0%, #1565c0 100%);
    padding: 14px 14px 0;
}
.nbt-tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0; padding: 0;
    gap: 6px;
}
.nbt-tabs > li { margin: 0; }
.nbt-tabs > li > a {
    display: block;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px 30px 0 0;
    text-decoration: none !important;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-bottom: none;
    letter-spacing: .3px;
    transition: background .22s;
    white-space: nowrap;
}
.nbt-tabs > li > a:hover {
    background: rgba(255,255,255,.25);
    color: #fff !important;
}
.nbt-tabs > li.active > a {
    color: #e65100 !important;
    background: #fff;
    border-color: #fff;
    font-weight: 800;
    position: relative;
}
.nbt-tabs > li.active > a::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

/* Content area */
.nbt-content {
    background: #fff;
    padding: 14px 14px 10px;
    border: 1px solid #dde4f0;
    border-top: none;
}

/* List */
.nbt-list { margin: 0; padding: 0; }
.nbt-item {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding: 11px 0;
    border-bottom: 1px solid #edf0f7;
}
.nbt-item:last-child { border-bottom: none; padding-bottom: 2px; }

/* Image */
.nbt-img-link {
    flex-shrink: 0;
    display: block;
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.13);
}
.nbt-img {
    width: 130px; height: 92px;
    object-fit: cover; display: block;
    transition: transform .38s ease;
}
.nbt-img-link:hover .nbt-img { transform: scale(1.07); }

/* Text */
.nbt-text { flex: 1; min-width: 0; }
.nbt-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13.5px;
    font-weight: 700;
    color: #1a3a5c;
    text-decoration: none;
    line-height: 1.5;
    margin-bottom: 4px;
}
.nbt-title:hover { color: #1565c0; text-decoration: underline; }
.nbt-excerpt {
    font-size: 12px;
    color: #666;
    line-height: 1.58;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.nbt-footer {
    text-align: right;
    margin-top: 10px;
    border-top: 1px solid #edf0f7;
    padding-top: 9px;
}
.nbt-more {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(90deg, #0097a7, #1565c0);
    padding: 5px 16px;
    border-radius: 20px;
    text-decoration: none !important;
    letter-spacing: .3px;
    transition: opacity .2s, transform .2s;
}
.nbt-more:hover { opacity: .85; color: #fff !important; transform: translateY(-1px); }

@media (max-width: 600px) {
    .nbt-img { width: 90px; height: 66px; }
    .nbt-tabs > li > a { padding: 7px 13px; font-size: 12px; }
}
/* ============================================================= */

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

#topnews ul.lastest-news {
    padding: 0;
}
div.news_column .panel-heading a {
    background-image: none;
    background-color: transparent;
    color: #fff;
    font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: .5px;
    padding: 0;
    text-transform: capitalize;
    margin-bottom: 0;
    line-height: 1.4;
}
#topnews ul.lastest-news li {
    text-indent: 10px;
}

#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;
}

/*div.news_column h5 .list-inline > li {
    padding-left:0;
}

div.news_column h5 .list-inline {
    margin-bottom:3px;
}*/

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;
}

div.news_column div.items p,
div.news_column #hometext,
#news_detail h1,
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 {
    padding: 0 4px 0 0;
}

div.news_column .panel {
    border-top: none;
}
div.news_column .panel-heading {
    background: #c0392b;
    border-left: none;
    border-bottom: none;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 700;
}
/* Heading chuyên mục kiểu hiện đại */
.nv-cat-heading {
    display: flex;
    align-items: center;
    padding: 0 0 12px 0 !important;
    border: none !important;
    background: none !important;
}
.nv-cat-title {
    margin: 0;
    flex-shrink: 0;
    position: relative;
}
.nv-cat-title a {
    display: inline-block;
    background: linear-gradient(135deg, #1565c0, #6a1b9a) !important;
    background-image: linear-gradient(135deg, #1565c0, #6a1b9a) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700;
    padding: 9px 24px 9px 14px !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
    text-decoration: none;
    position: relative;
    transition: opacity .2s;
}
.nv-cat-title a::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    border-top: 19px solid transparent;
    border-bottom: 19px solid transparent;
    border-left: 12px solid #6a1b9a;
}
.nv-cat-title a:hover { opacity: .85; }
.nv-cat-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #1565c0, transparent);
    margin-left: 0;
}
.nv-cat-more {
    flex-shrink: 0;
    color: #2e7d32;
    font-size: 14px;
    margin-left: 10px;
    text-decoration: none;
}
.nv-cat-more:hover { color: #1b5e20; }

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

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

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;
}

/* hnc heading */
.hnc-heading {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.hnc-title {
    display: inline-block;
    background: linear-gradient(135deg, #b71c1c, #e53935);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
    position: relative;
    flex-shrink: 0;
    line-height: 1.4;
}
.hnc-title {
    border-radius: 3px;
}
.hnc-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, #b71c1c);
}
.hnc-line + .hnc-title + .hnc-line {
    background: linear-gradient(to right, #e53935, transparent);
}
/* hnc ticker */
.hnc-ticker-wrap {
    height: 334px;
    overflow: hidden;
    position: relative;
}
.hnc-ticker-list {
    padding: 0;
    margin: 0;
    list-style: none;
    animation: hncScroll linear infinite;
}
@keyframes hncScroll {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
.hnc-item {
    padding: 8px 0;
    border-bottom: 1px solid #ebebeb;
    overflow: hidden;
}
.hnc-item a {
    display: block;
    color: #333;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    overflow: hidden;
}
.hnc-item a:hover { color: #b71c1c; }
.hnc-thumb {
    width: 62px;
    height: 46px;
    object-fit: cover;
    border-radius: 3px;
    margin-left: 8px;
}
.hnc-text {
    display: block;
    overflow: hidden;
}

/* block_news_ticker: card chạy ngang */
.nv-slider-outer {
    width: 100%;
    overflow: hidden;
}
.nv-slider-wrap {
    overflow: hidden;
    width: 100%;
}
.nv-slider-track {
    display: flex;
    animation: nvSliderScroll linear infinite;
}
@keyframes nvSliderScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.nv-slider-card {
    flex-shrink: 0;
    padding: 0 8px;
    box-sizing: border-box;
}
.nv-card-inner {
    display: block;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow .25s, transform .25s;
}
.nv-card-inner:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.nv-card-img-wrap {
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
}
.nv-card-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.nv-card-inner:hover .nv-card-img { transform: scale(1.05); }
.nv-card-body {
    padding: 10px 12px 12px;
}
.nv-card-title {
    margin: 0 0 5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nv-card-inner:hover .nv-card-title { color: #b71c1c; }
.nv-card-excerpt {
    margin: 0;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* block_news_cds: stacked card (ảnh trên-trái, tiêu đề dưới-phải) */
.cds-row {
    display: flex;
    gap: 10px;
    padding-bottom: 16px;
}
.cds-card {
    flex: 1;
    position: relative;
    height: 270px;
    min-width: 0;
    background: #f0f5fb;
    border-radius: 16px;
}
/* ảnh — góc trên-trái, phía sau */
.cds-img-box {
    position: absolute;
    top: 0; left: 0;
    width: 86%;
    height: 72%;
    border-radius: 14px;
    overflow: hidden;
    background: #cdd8e3;
    z-index: 1;
    box-shadow: 0 0 0 2px #fff, 0 3px 12px rgba(0,0,0,.10);
    transition: box-shadow .35s, transform .35s;
}
.cds-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .45s ease;
}
.cds-card:hover .cds-img-box {
    box-shadow: 0 0 0 2px #fff, 0 6px 20px rgba(0,0,0,.14);
    transform: translate(2px, -2px);
}
.cds-card:hover .cds-img { transform: scale(1.06); }

/* tiêu đề — góc dưới-phải, phía trước */
.cds-title-box {
    position: absolute;
    bottom: 0; right: 0;
    width: 72%;
    height: 34%;
    border-radius: 14px;
    z-index: 2;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 13px 14px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 4px 20px rgba(0,0,0,.10);
    transition: box-shadow .35s, transform .35s;
    border-top: 3px solid #2979b8;
}
.cds-card:hover .cds-title-box {
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
    transform: translate(-2px, -4px);
}
.cds-title-link {
    color: #1a3a5c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.48;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.cds-title-link:hover { color: #2979b8; }
/* số cột */
.cds-cols-4 .cds-card { flex-basis: calc(25% - 8px); }
.cds-cols-5 .cds-card { flex-basis: calc(20% - 8px); }
.cds-cols-6 .cds-card { flex-basis: calc(16.666% - 9px); }
/* viewcat_stacked: grid nhiều hàng */
.vst-grid { flex-wrap: wrap; row-gap: 20px; }
.vst-grid .cds-card { flex-basis: calc(25% - 8px); }
.vst-grid .cds-admin { display: none; }
.vst-pager { margin-top: 10px; }
/* featured article */
.vst-featured { margin-bottom: 18px; }
.vst-feat-link {
    display: flex;
    gap: 20px;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    transition: box-shadow .3s;
}
.vst-feat-link:hover { box-shadow: 0 6px 20px rgba(0,0,0,.13); }
.vst-feat-img-wrap { flex-shrink: 0; width: 38%; max-height: 220px; overflow: hidden; }
.vst-feat-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.vst-feat-link:hover .vst-feat-img { transform: scale(1.05); }
.vst-feat-body { padding: 20px 20px 20px 0; display: flex; flex-direction: column; justify-content: center; }
.vst-feat-title {
    font-size: 18px; font-weight: 700; color: #1a3a5c;
    line-height: 1.4; margin: 0 0 10px;
}
.vst-feat-link:hover .vst-feat-title { color: #2979b8; }
.vst-feat-meta { font-size: 12px; color: #888; margin-bottom: 10px; }
.vst-feat-meta .fa { color: #2979b8; }
.vst-feat-text { font-size: 13px; color: #555; line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 767px) {
    .vst-feat-link { flex-direction: column; }
    .vst-feat-img-wrap { width: 100%; max-height: 180px; }
    .vst-feat-body { padding: 14px; }
    .vst-feat-title { font-size: 15px; }
    .vst-grid .cds-card { flex-basis: calc(50% - 5px); height: 180px; }
}
/* block_news_cds_clean: card sạch ảnh trên tiêu đề dưới */
.cdsc-card { flex: 1; min-width: 0; }
.cds-cols-4 .cdsc-card { flex-basis: calc(25% - 8px); }
.cds-cols-5 .cdsc-card { flex-basis: calc(20% - 8px); }
.cds-cols-6 .cdsc-card { flex-basis: calc(16.666% - 9px); }
.cdsc-inner {
    display: block;
    text-decoration: none;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    transition: box-shadow .28s, transform .28s;
}
.cdsc-inner:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,.13);
    transform: translateY(-3px);
}
.cdsc-img-wrap { overflow: hidden; background: #dde4ee; }
.cdsc-img {
    width: 100%; height: 140px;
    object-fit: cover; display: block;
    transition: transform .4s;
}
.cdsc-inner:hover .cdsc-img { transform: scale(1.06); }
.cdsc-body {
    padding: 10px 12px 13px;
    border-top: 2px solid #2979b8;
}
.cdsc-title {
    margin: 0;
    font-size: 13px; font-weight: 600;
    color: #1a3a5c; line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}
.cdsc-inner:hover .cdsc-title { color: #2979b8; }
@media (max-width: 767px) {
    .cds-cols-4 .cdsc-card,
    .cds-cols-5 .cdsc-card,
    .cds-cols-6 .cdsc-card { flex-basis: calc(50% - 5px); }
}
@media (max-width: 767px) {
    .cds-row { flex-wrap: wrap; gap: 10px; }
    .cds-cols-4 .cds-card,
    .cds-cols-5 .cds-card,
    .cds-cols-6 .cds-card { flex-basis: calc(50% - 5px); height: 180px; }
}

/* block_news_carousel: slide nhóm */
.nvc-outer {
    position: relative;
    width: 100%;
    user-select: none;
}
.nvc-wrap {
    overflow: hidden;
    width: 100%;
}
.nvc-track {
    display: flex;
    will-change: transform;
}
.nvc-card {
    flex-shrink: 0;
    padding: 0 8px;
    box-sizing: border-box;
}
.nvc-card-inner {
    display: block;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow .25s, transform .25s;
}
.nvc-card-inner:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}
.nvc-img-wrap {
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
}
.nvc-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .35s ease;
}
.nvc-card-inner:hover .nvc-img { transform: scale(1.05); }
.nvc-body {
    padding: 10px 12px 12px;
}
.nvc-title {
    margin: 0 0 5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    color: #1a1a1a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.nvc-card-inner:hover .nvc-title { color: #b71c1c; }
.nvc-excerpt {
    margin: 0;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* nav buttons */
.nvc-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background .2s;
    padding: 0;
}
.nvc-btn:hover { background: rgba(0,0,0,0.72); }
.nvc-prev { left: 4px; }
.nvc-next { right: 4px; }
/* dots */
.nvc-dots {
    text-align: center;
    padding: 8px 0 2px;
}
.nvc-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 3px;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.nvc-dot.active {
    background: #b71c1c;
    transform: scale(1.3);
}

#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;
}

#news-bodyhtml img, .bodytext img {
    max-width: 100%;
    height: auto;
}

.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;
}

/* Player */
:root {
    --plyr-color-main: #108DE5;
    --plyr-audio-controls-background: transparent;
}

.news-detail-player {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 24px;
    background-color: #f4f4f4;
}

.news-detail-player > .player {
    -ms-flex-positive: 1;
    flex-grow: 1;
    -ms-flex-negative: 1;
    flex-shrink: 1;
    padding-right: 24px;
}

.news-detail-player > .source {
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding-right: 20px;
}

.news-detail-player > .tools {
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding-right: 20px;
}

.news-switch {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}

.news-switch .news-switch-btn {
    margin-left: 5px;
    position: relative;
    width: 44px;
    height: 22px;
}

.news-switch .news-switch-btn .news-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    -webkit-transition: .4s;
    transition: .4s;
}

.news-switch .news-switch-btn .news-switch-slider:before {
    position: absolute;
    content: "";
    background-color: #d6dadf;
    -webkit-transition: .4s;
    transition: .4s;
    height: 14px;
    width: 36px;
    left: 4px;
    bottom: 4px;
    border-radius: 7px;
}

.news-switch .news-switch-btn .news-switch-slider:after {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 0;
    bottom: 0;
    background-color: #4a5464;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.news-switch .news-switch-btn.checked .news-switch-slider:after {
    background-color: #108DE5;
    -webkit-transform: translateX(22px);
    -ms-transform: translateX(22px);
    transform: translateX(22px);
}

/* Responsive news */

@media (max-width: 499.98px) {
    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;
    }

    .news-detail-player {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .news-detail-player > .player {
        padding-right: 0;
        width: 100%;
        -ms-flex-order: 1;
        order: 2;
    }

    .news-detail-player > .source {
        padding-right: 10;
        -ms-flex-order: 0;
        order: 0;
        margin-top: 12px;
    }

    .news-detail-player > .tools {
        padding-right: 0;
        -ms-flex-order: 0;
        order: 1;
        margin-top: 12px;
    }
}

@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%;
    }
}

/* viewcat_main_right: layout homepage */
.vmr-imglink { display: block; }
.vmr-imglink img { width: 100%; height: auto; }
.vmr-main-title { margin: 10px 0 5px; font-size: 17px; font-weight: 700; line-height: 1.4; }
.vmr-main-title a { color: #1a1a1a; text-decoration: none; }
.vmr-main-title a:hover { color: #2e7d32; }
.vmr-date { font-size: 13px; margin: 0 0 6px; }
.vmr-hometext { font-size: 14px; color: #444; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vmr-list { border-left: 1px solid #e5e5e5; padding-left: 15px; }
.vmr-item { padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #ebebeb; }
.vmr-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.vmr-title { margin: 0 0 6px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.vmr-title a { color: #1a1a1a; text-decoration: none; }
.vmr-title a:hover { color: #2e7d32; }
.vmr-bottom { }
.vmr-thumb { margin-right: 8px; }
.vmr-thumb img { width: 75px; height: 56px; object-fit: cover; border-radius: 3px; display: block; }
.vmr-excerpt { margin: 0; font-size: 13px; color: #666; line-height: 1.5; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
@media (min-width: 992px) {
    .vmr-featured { width: 58.33%; } /* tương đương col-md-14/24 */
    .vmr-list { width: 41.67%; }     /* tương đương col-md-10/24 */
}
@media (max-width: 991px) {
    .vmr-list { border-left: none; padding-left: 15px; margin-top: 10px; }
}

/* viewcat_page_new: layout 2 cột */
.vcp-wrap { margin-bottom: 15px; }
.vcp-featured { padding-right: 20px; }
.vcp-imglink { display: block; }
.vcp-imglink img { width: 100%; height: auto; }
.vcp-main-title { margin: 10px 0 5px; font-size: 18px; font-weight: 700; line-height: 1.4; }
.vcp-main-title a { color: #1a1a1a; text-decoration: none; }
.vcp-main-title a:hover { color: #2e7d32; }
.vcp-date { font-size: 13px; margin: 0 0 5px; }
.vcp-list { border-left: 1px solid #e5e5e5; padding-left: 18px; }
.vcp-item { padding-bottom: 13px; margin-bottom: 13px; border-bottom: 1px solid #ebebeb; overflow: hidden; }
.vcp-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.vcp-thumb { margin-left: 10px; }
.vcp-thumb img { width: 80px; height: 60px; object-fit: cover; border-radius: 3px; }
.vcp-text { overflow: hidden; }
.vcp-title { margin: 0 0 4px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.vcp-title a { color: #1a1a1a; text-decoration: none; }
.vcp-title a:hover { color: #2e7d32; }
.vcp-excerpt { margin: 0; font-size: 13px; color: #666; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 991px) {
    .vcp-featured { padding-right: 15px; margin-bottom: 15px; }
    .vcp-list { border-left: none; padding-left: 15px; }
}

@media (min-width: 500px) {
    div.news_column ul.related {
        padding: 4px;
    }

    div.news_column ul.fixedwidth {
        width: 100%;
    }

    div.news_column div.fixedwidth {
        float: left;
        width: 100%;
    }
}
