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

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

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

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

/* Gia Hung - professional category listing */
.gh-cat-page{--gh-cat-navy:#052f54;--gh-cat-blue:#078bc8;--gh-cat-orange:#ff8218;--gh-cat-text:#53687a;padding:30px 0 48px;color:var(--gh-cat-navy)}
.gh-cat-header{position:relative;min-height:150px;margin-bottom:24px;padding:30px 130px 28px 36px;overflow:hidden;display:flex;align-items:center;color:#fff;background:linear-gradient(115deg,#042e52 0%,#075887 66%,#0797c9 100%);border-radius:18px;box-shadow:0 16px 38px rgba(4,47,84,.14)}
.gh-cat-header:before,.gh-cat-header:after{position:absolute;content:"";border:1px solid rgba(255,255,255,.12);border-radius:50%}
.gh-cat-header:before{right:-72px;bottom:-122px;width:290px;height:290px}.gh-cat-header:after{right:40px;top:-85px;width:180px;height:180px}
.gh-cat-header>div{position:relative;z-index:2}.gh-cat-kicker{display:block;margin-bottom:8px;color:#70d4fa;font-size:11px;font-weight:800;letter-spacing:2.5px}
.gh-cat-header h1{margin:0;color:#fff;font-size:34px;font-weight:800;line-height:1.16}.gh-cat-header p{margin:9px 0 0;color:rgba(255,255,255,.82);font-size:14px}
.gh-cat-header-icon{position:absolute;z-index:2;right:40px;top:50%;width:68px;height:68px;display:grid;place-items:center;transform:translateY(-50%);color:#fff;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.2);border-radius:20px;font-size:29px;backdrop-filter:blur(6px)}
.gh-cat-description{margin-bottom:24px;padding:18px 20px;display:flex;align-items:center;gap:18px;background:#eff9fd;border:1px solid #d8edf6;border-radius:14px}
.gh-cat-description img{width:110px;height:80px;object-fit:cover;border-radius:10px}.gh-cat-description h2{margin:0 0 5px;font-size:20px;font-weight:800}
.gh-cat-description p{margin:0;color:var(--gh-cat-text);font-size:13px;line-height:1.6}
.gh-cat-content{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.gh-cat-featured{grid-column:1/-1;min-height:360px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);overflow:hidden;background:#fff;border:1px solid #e2ebf0;border-radius:18px;box-shadow:0 16px 40px rgba(5,47,84,.09)}
.gh-cat-featured-media,.gh-cat-card-media{position:relative;display:block;overflow:hidden;background:linear-gradient(135deg,#d9f2fb,#eaf5f8)}
.gh-cat-featured-media img,.gh-cat-card-media img{position:absolute;z-index:2;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.gh-cat-image-fallback{position:absolute;z-index:1;inset:0;display:grid;place-items:center;color:rgba(5,88,135,.23);font-size:54px}
.gh-cat-media-label{position:absolute;z-index:3;left:20px;top:20px;padding:7px 13px;color:#fff;background:var(--gh-cat-orange);border-radius:30px;font-size:11px;font-weight:800;letter-spacing:.5px;text-transform:uppercase}
.gh-cat-featured-body{position:relative;padding:42px 38px 34px;display:flex;flex-direction:column;justify-content:center}
.gh-cat-meta{display:flex;align-items:center;gap:16px;color:#81909e;font-size:11px}.gh-cat-meta i{margin-right:4px;color:var(--gh-cat-blue)}
.gh-cat-featured h2{margin:13px 0 12px;font-size:27px;font-weight:800;line-height:1.28}.gh-cat-featured h2 a,.gh-cat-card h3 a{color:var(--gh-cat-navy)}
.gh-cat-featured h2 a:hover,.gh-cat-card h3 a:hover{color:var(--gh-cat-orange)}
.gh-cat-excerpt{color:var(--gh-cat-text);font-size:13px;line-height:1.7}.gh-cat-excerpt p{margin:0}
.gh-cat-readmore{margin-top:20px;display:inline-flex;align-items:center;gap:9px;align-self:flex-start;color:var(--gh-cat-blue)!important;font-size:12px;font-weight:800;letter-spacing:.35px;text-transform:uppercase}
.gh-cat-readmore:hover{color:var(--gh-cat-orange)!important}
.gh-cat-card{min-width:0;overflow:hidden;background:#fff;border:1px solid #e3ebf0;border-radius:16px;box-shadow:0 10px 28px rgba(5,47,84,.07);transition:transform .25s ease,box-shadow .25s ease}
.gh-cat-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(5,47,84,.12)}.gh-cat-card:hover img,.gh-cat-featured:hover img{transform:scale(1.035)}
.gh-cat-card-media{height:205px}.gh-cat-card-body{position:relative;padding:20px 20px 22px}
.gh-cat-card h3{min-height:47px;margin:11px 0 8px;font-size:18px;font-weight:800;line-height:1.32}
.gh-cat-card .gh-cat-excerpt{min-height:66px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3}.gh-cat-card .gh-cat-readmore{margin-top:14px}
.gh-cat-admin{margin-top:15px;padding-top:12px;border-top:1px solid #edf1f4;text-align:right}
.gh-cat-related{margin-top:34px;padding:24px 28px;background:#f5fafc;border:1px solid #e1edf2;border-radius:16px}
.gh-cat-related-title{margin-bottom:12px;color:var(--gh-cat-navy);font-size:18px;font-weight:800}.gh-cat-related-title span{padding-bottom:7px;border-bottom:3px solid var(--gh-cat-orange)}
.gh-cat-related-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}
.gh-cat-related-list>a{padding:12px 0;display:flex;justify-content:space-between;gap:15px;color:var(--gh-cat-navy);border-bottom:1px solid #e0eaef;font-size:13px}
.gh-cat-related-list>a i{color:var(--gh-cat-orange)}.gh-cat-related-list time{flex:0 0 auto;color:#8b99a5;font-size:11px}
.gh-cat-pagination{margin-top:30px;text-align:center}
@media(max-width:991px){.gh-cat-content{grid-template-columns:repeat(2,minmax(0,1fr))}.gh-cat-featured{grid-template-columns:1fr 1fr}}
@media(max-width:650px){
    .gh-cat-page{margin:0 -14px;padding:14px 0 34px}
    .gh-cat-header{min-height:126px;margin:0 14px 15px;padding:23px 72px 22px 22px;border-radius:16px}
    .gh-cat-header h1{font-size:25px;line-height:1.18}.gh-cat-header p{margin-top:7px;display:-webkit-box;overflow:hidden;font-size:11px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}
    .gh-cat-kicker{margin-bottom:6px;font-size:9px;letter-spacing:1.8px}.gh-cat-header-icon{right:17px;width:45px;height:45px;border-radius:14px;font-size:20px}
    .gh-cat-description{margin:0 14px 15px;padding:13px;border-radius:13px}.gh-cat-description img{width:78px;height:68px}.gh-cat-description h2{font-size:16px}.gh-cat-description p{font-size:11px;line-height:1.45}
    .gh-cat-content{padding:0 14px;display:block}.gh-cat-featured{min-height:0;margin-bottom:12px;display:block;border-radius:16px;box-shadow:0 9px 25px rgba(5,47,84,.1)}
    .gh-cat-featured-media{height:215px}.gh-cat-media-label{left:14px;top:14px;padding:6px 11px;font-size:9px}.gh-cat-featured-body{padding:18px 17px 19px}
    .gh-cat-featured h2{margin:9px 0 7px;font-size:20px;line-height:1.3}.gh-cat-featured .gh-cat-excerpt{display:-webkit-box;overflow:hidden;font-size:12px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}
    .gh-cat-meta{gap:12px;font-size:9px}.gh-cat-readmore{margin-top:12px;font-size:10px}
    .gh-cat-card{height:112px;margin-bottom:10px;display:flex;border-radius:13px;box-shadow:0 5px 16px rgba(5,47,84,.07)}.gh-cat-card:hover{transform:none}
    .gh-cat-card-media{flex:0 0 35%;width:35%;height:100%}.gh-cat-image-fallback{font-size:31px}
    .gh-cat-card-body{min-width:0;padding:12px 13px;display:flex;flex:1;flex-direction:column;justify-content:center}
    .gh-cat-card .gh-cat-meta span:nth-child(2),.gh-cat-card .gh-cat-excerpt{display:none}
    .gh-cat-card h3{min-height:0;margin:6px 0 7px;display:-webkit-box;overflow:hidden;font-size:14px;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}
    .gh-cat-card .gh-cat-readmore{margin:0;font-size:9px}.gh-cat-admin{display:none}
    .gh-cat-related{margin:23px 14px 0;padding:18px 17px;border-radius:14px}.gh-cat-related-title{font-size:16px}.gh-cat-related-list{grid-template-columns:1fr}
    .gh-cat-related-list>a{padding:11px 0;font-size:12px}.gh-cat-related-list time{display:none}.gh-cat-pagination{margin:22px 14px 0}
}

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