/**
 * NukeViet Content Management System
 * @version 4.x
 * @author Van Lang <Cng an t?nh Lai Chu>
 * @copyright (C) 2009-2021 Van Lang. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

#topnews {
    border: 1px solid #c3d3e0;
    margin-bottom: 10px;
    padding: 4px;
}

/* Chu?n ha text trang ch? / block chuyn m?c */
.newscenter-title,
.newscenter-title a,
.newscenter-latest__title,
.dantri-main-title,
.dantri-main-title a,
.dantri-3col-title,
.dantri-3col-title a,
.dantri-cat-title,
.dantri-cat-title a,
.dantri-related-title,
.dantri-related-title a,
.dantri-main-summary,
.dantri-cat-summary p,
.htext {
    font-family: inherit !important;
    font-weight: inherit;
    letter-spacing: normal !important;
}

.dantri-main-summary,
.dantri-cat-summary,
.htext {
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: #555 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    margin-bottom: 0 !important;
}

.dantri-main-summary *,
.dantri-cat-summary *,
.htext * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    font-weight: inherit !important;
    text-align: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dantri-main-title,
.dantri-main-title a {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #222 !important;
}

.dantri-3col-title,
.dantri-3col-title a,
.dantri-cat-title,
.dantri-cat-title a {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #222 !important;
}

.newscenter-latest__title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: #222 !important;
}

#topnews ul.lastest-news {
    padding: 0;
}

#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;
}

.news-detail-homeimg {
    margin: 0 0 15px;
    max-width: 100%;
}

.news-detail-homeimg__img {
    width: 100%;
    height: auto;
    display: block;
}

.news-detail-columns {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-top: 15px;
}

.news-detail-main {
    flex: 1 1 0;
    min-width: 0;
}

.news-detail-sidebar {
    flex: 0 0 320px;
    width: 320px;
    max-width: 34%;
}

.news-detail-sidebar__box {
    margin-bottom: 15px;
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
}

.news-detail-sidebar__box .panel-heading {
    background: #a70000;
    color: #fff;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    padding: 10px 12px;
}

.news-detail-sidebar__box .panel-body {
    padding: 12px 14px !important;
}

.news-detail-meta__info {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 18px;
    margin-bottom: 8px;
}

.news-detail-meta__time,
.news-detail-meta__author {
    margin: 0;
    font-size: 15px;
    color: #555;
}

.news-detail-meta__author strong {
    color: #333;
}

.news-detail-read,
.news_column[itemtype*="NewsArticle"] {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #222;
}

.news_column[itemtype*="NewsArticle"] h1.title {
    font-family: inherit;
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}

.news_column[itemtype*="NewsArticle"] .hometext,
.news_column[itemtype*="NewsArticle"] .hometext p,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml p,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml li,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml td,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml th,
.news_column[itemtype*="NewsArticle"] .bodytext,
.news_column[itemtype*="NewsArticle"] .bodytext p,
.news_column[itemtype*="NewsArticle"] .bodytext li {
    font-family: inherit;
    font-size: 18px;
    line-height: 1.85;
    color: #222;
}

.news_column[itemtype*="NewsArticle"] .hometext,
.news_column[itemtype*="NewsArticle"] .hometext p {
    text-align: justify;
    text-justify: inter-word;
    font-weight: 600;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml,
.news_column[itemtype*="NewsArticle"] .bodytext {
    text-align: justify;
    text-justify: inter-word;
    word-break: normal;
    letter-spacing: 0.01em;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml p,
.news_column[itemtype*="NewsArticle"] .bodytext p {
    margin-bottom: 16px !important;
    text-align: justify;
    text-justify: inter-word;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml h2,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml h3,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml h4,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml h5 {
    font-family: inherit;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
    text-align: left;
    margin: 18px 0 10px;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml h2 {
    font-size: 22px;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml h3 {
    font-size: 20px;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml h4,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml h5 {
    font-size: 19px;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml ul,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml ol,
.news_column[itemtype*="NewsArticle"] .bodytext ul,
.news_column[itemtype*="NewsArticle"] .bodytext ol {
    margin-bottom: 14px !important;
    padding-left: 28px !important;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml li,
.news_column[itemtype*="NewsArticle"] .bodytext li {
    margin-bottom: 8px !important;
    text-align: justify;
    text-justify: inter-word;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml figure.image figcaption {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
    text-align: center;
    font-style: italic;
}

/* Chu?n ha n?i dung Word / import  ghi ? inline style */
.news_column[itemtype*="NewsArticle"] #news-bodyhtml p,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml li,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml td,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml th,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml span,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml i,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml em,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml figcaption,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml figcaption * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    letter-spacing: normal !important;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml p {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    text-indent: 1.5em !important;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml > p:first-child,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml figure.image + p,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml h2 + p,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml h3 + p,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml h4 + p {
    text-indent: 0 !important;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml table {
    width: 100% !important;
    max-width: 100%;
    border-collapse: collapse !important;
    margin: 16px 0 !important;
    font-size: 17px !important;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml table td,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml table th {
    border: 1px solid #ccc !important;
    padding: 8px 10px !important;
    vertical-align: top;
    text-align: left !important;
    text-indent: 0 !important;
}

#news-bodyhtml img,
#news-bodyhtml figure.image img,
.news-detail-main .bodytext img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: unset !important;
}

#news-bodyhtml figure.image {
    max-width: 100%;
    margin: 20px auto !important;
    padding: 0;
    text-align: center;
    clear: both;
}

#news-bodyhtml figure.image img {
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml figure.image figcaption,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml figure.image figcaption p,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml figure.image figcaption span,
.news_column[itemtype*="NewsArticle"] #news-bodyhtml figure.image figcaption i {
    margin: 8px 0 0 !important;
    padding: 0 8px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-style: italic !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-indent: 0 !important;
    color: #555 !important;
}

.news_column[itemtype*="NewsArticle"] #news-bodyhtml blockquote {
    margin: 16px 0;
    padding: 12px 16px;
    border-left: 4px solid #c62828;
    background: #f9f9f9;
    font-style: italic;
    text-indent: 0 !important;
}

.news-detail-sidebar__list {
    margin: 0;
}

.news-detail-sidebar__item {
    padding: 10px 0;
    border-bottom: 1px dashed #e5e5e5;
    line-height: 1.45;
}

.news-detail-sidebar__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.news-detail-sidebar__link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #222;
    text-decoration: none;
}

.news-detail-sidebar__link:hover {
    color: #a70000;
    text-decoration: none;
}

.news-detail-sidebar__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 54px;
    overflow: hidden;
    border-radius: 6px;
    background: #f3f3f3;
}

.news-detail-sidebar__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-sidebar__content {
    flex: 1 1 0;
    min-width: 0;
}

.news-detail-sidebar__title {
    display: block;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
    color: inherit;
}

.news-detail-sidebar__time {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #888;
    font-style: normal;
}

@media (max-width: 991px) {
    .news-detail-columns {
        flex-direction: column;
    }

    .news-detail-sidebar {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
}

.news-detail-samecat .panel-heading {
    background: #a70000;
    color: #fff;
    border: 0;
    font-size: 15px;
    padding: 10px 14px;
}

.news-detail-samecat__list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
}

.news-detail-samecat__item {
    flex: 1 1 calc(20% - 13px);
    min-width: 150px;
    max-width: calc(20% - 13px);
}

.news-detail-samecat__link {
    display: block;
    color: #222;
    text-decoration: none;
    height: 100%;
}

.news-detail-samecat__link:hover {
    color: #a70000;
    text-decoration: none;
}

.news-detail-samecat__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    background: #f3f3f3;
    margin-bottom: 8px;
}

.news-detail-samecat__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-samecat__title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}

.news-detail-samecat__time {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #888;
    font-style: normal;
}

@media (max-width: 991px) {
    .news-detail-samecat__item {
        flex: 1 1 calc(33.333% - 11px);
        max-width: calc(33.333% - 11px);
    }
}

@media (max-width: 767px) {
    .news-detail-samecat__item {
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }
}

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-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;
}

/* 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%;
    }
}

@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%;
    }
}

.news-detail-sidebar .icon_new,
.news-detail-samecat .icon_new {
    display: inline-block;
    width: auto;
    height: auto;
    margin-left: 5px;
    padding: 2px 5px;
    background: #e60000 !important;
    border-radius: 8px;
    color: #fff;
    font-size: 0;
    font-weight: 700;
    line-height: 1;
    vertical-align: 1px;
}

.news-detail-sidebar .icon_new::before,
.news-detail-samecat .icon_new::before {
    content: 'NEW';
    font-size: 9px;
    letter-spacing: 0.2px;
}

