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

:root {
    --nv-dark-color: #333;
    --nv-dark-hover-color: #666;
    --nv-border-color: #dddddd;
}

.mb-0 {
    margin-bottom: 0!important;
}

.panel .panel-heading {
    margin: 2px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    position: relative;
}

.panel .panel-heading h1,
.panel .panel-heading h2,
.panel .panel-heading h3,
.panel .panel-heading h4,
.panel .panel-heading h5,
.panel .panel-heading h6,
.panel .panel-heading .h1,
.panel .panel-heading .h2,
.panel .panel-heading .h3,
.panel .panel-heading .h4,
.panel .panel-heading .h5,
.panel .panel-heading .h6 {
    font-size: 11px;
}

.panel-default .panel-heading,
.panel-primary .panel-heading {
    background: rgb(79,128,230);
    background: linear-gradient(180deg, rgba(79,128,230,1) 0%, rgba(65,117,228,1) 100%);
    color: #fff;
    padding-left: 26px;
}

.panel-default .panel-heading::before,
.panel-primary .panel-heading::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 21px;
    height: 21px;
    background-image: url(../images/panel-heading.png);
}

.panel-danger {
    border-color: var(--nv-border-color);
}

.panel-danger .panel-heading {
    background: rgb(220,0,0);
    background: linear-gradient(56deg, rgba(220,0,0,1) 0%, rgba(227,7,5,1) 100%);
    color: #fff;
    padding-left: 26px;
}

.panel-danger .panel-heading::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(../images/panel-heading-red.png);
}

.panel-danger .panel-heading a,
.panel-default .panel-heading a,
.panel-primary .panel-heading a {
    color: #fff;
}

.panel-danger .panel-heading a:hover,
.panel-default .panel-heading a:hover,
.panel-primary .panel-heading a:hover {
    color: #ddd;
}

.panel-default>.panel-body>.nv-block-banners:last-child {
    margin-bottom: 0;
}

/* Block tin mới cập nhật */
.gdyk-latest-news .item {
    border-bottom: 1px #ddd solid;
    padding: 5px 0 5px 20px;
    background-image: url(../images/bg_list.gif);
    background-repeat: no-repeat;
    background-position: 0 9px;
}

.gdyk-latest-news .item:first-child {
    padding-top: 0;
    background-position: 0 4px;
}

.gdyk-latest-news .item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.gdyk-latest-news .item a {
    color: var(--nv-dark-color);
}

.gdyk-latest-news .item a:hover {
    text-decoration: underline;
}

.fix-slider-body {
    margin-bottom: 10px;
}

.main-marquee-inner {
    background-color: #eee;
    padding: 5px 0;
}

.main-marquee {
    background-color: #fff;
    padding-bottom: 17px;
    background-image: url(../images/footer-shadow.jpg);
    background-repeat: no-repeat;
    background-position: center bottom;
}

/* Tin nổi bật */
.panel-news-groups a {
    color: #588BA7;
}

.panel-news-groups a:hover {
    color: #FF4200;
}

.panel-news-groups img {
    transform: translateY(3px);
}

/* Tin chỉ đạo */
.block-marquee {
    display: flex;
}

.block-marquee-body {
    flex: 1;
    min-width: 0;
}

.block-marquee-heading {
    flex: 0;
    white-space: nowrap;
    font-weight: 700;
    color: var(--nv-link-hover-color);
    padding-right: 10px;
}

.block-marquee-heading a {
    color: var(--nv-link-hover-color);
}

.qdky-marquee {
    width: 100%;
    height: 20px;
    overflow: hidden;
}

.qdky-marquee a {
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    margin-right: 10px;
}

/* Thống kê */
ul.counter.display-table li span:first-child .fa {
    width: 20px;
    height: 16px;
    transform: translateY(1px);
    background-image: url(../images/icons/vtoday.png);
    background-position: 0 0;
    background-repeat: no-repeat;
}

ul.counter.display-table li span {
    padding: 0;
}

ul.counter.display-table li span .margin-top-lg {
    margin-top: 0!important;
}

ul.counter.display-table li span:first-child .fa::before {
    display: none;
}

ul.counter.display-table li:last-child span:first-child .fa {
    background-image: url(../images/icons/vall.png);
}

ul.counter.display-table li:nth-child(2) span:first-child .fa {
    background-image: url(../images/icons/vyesterday.png);
}

ul.counter.display-table li:nth-child(3) span:first-child .fa {
    background-image: url(../images/icons/vweek.png);
}

ul.counter.display-table li:nth-child(4) span:first-child .fa {
    background-image: url(../images/icons/vlmonth.png);
}

ul.counter.display-table li:nth-child(5) span:first-child .fa {
    background-image: url(../images/icons/vall.png);
}

/* Sửa lại phần news */
.news_column>.panel>.panel-body>ul.related.list-items {
    padding-top: 15px;
    margin-bottom: 0;
    clear: both;
}

.news_column>.panel>.panel-body>ul.related.list-items li {
    margin-bottom: 5px;
    background-image: url(../images/bg_list.gif);
    background-repeat: no-repeat;
    background-position: 0 4px;
}

.news_column>.panel>.panel-body>ul.related.list-items li a {
    color: var(--nv-link-emphasis-color);
    padding-left: 20px;
}

.news_column>.panel>.panel-body>ul.related.list-items li a:hover {
    text-decoration: underline;
}
