﻿/**
 * 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%;
    }
}

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

/* HB SmartLab electronic lesson */
.hb-lesson-app{--hb:#176fae;--hb2:#0f4e7d;--ink:#19364d;--muted:#63798b;font-family:Arial,sans-serif;color:var(--ink);position:relative}.hb-lesson-cover{position:relative;overflow:hidden;border-radius:18px;padding:34px 36px;margin:10px 0 18px;background:linear-gradient(135deg,#f7fbff 0%,#eaf5ff 100%);border:1px solid #d7e8f7}.hb-cover-badge{font-size:11px;letter-spacing:1.6px;font-weight:700;color:var(--hb);margin-bottom:8px}.hb-lesson-cover h1{font-size:30px;line-height:1.25;margin:0 0 10px;color:#123f64}.hb-lesson-cover p{color:#5f778b;font-size:15px}.hb-lesson-hero{display:block;max-height:360px;max-width:100%;object-fit:contain;margin:24px auto 0;border-radius:12px}.hb-lesson-nav{position:sticky;top:0;z-index:20;display:flex;gap:7px;overflow:auto;padding:10px;background:rgba(255,255,255,.96);border:1px solid #dde8f1;border-radius:12px;box-shadow:0 6px 18px rgba(20,55,85,.06);margin-bottom:18px}.hb-lesson-nav a{white-space:nowrap;padding:8px 12px;border-radius:8px;color:#45657e;text-decoration:none;font-weight:700;font-size:13px}.hb-lesson-nav a:hover{background:#edf6fd;color:var(--hb)}.hb-lesson-section{background:#fff;border:1px solid #e0e9f1;border-radius:15px;margin:0 0 16px;overflow:hidden;box-shadow:0 5px 18px rgba(30,67,96,.045)}.hb-section-title{display:flex;gap:13px;align-items:center;padding:18px 21px;border-bottom:1px solid #edf1f5;background:#fcfdff}.hb-section-title>i{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:11px;background:#eaf5fd;color:var(--hb);font-size:19px}.hb-section-title span{font-size:10px;letter-spacing:1.2px;color:#7e96aa;font-weight:700}.hb-section-title h2{font-size:20px;margin:2px 0 0;color:#1d4d70}.hb-section-content{padding:20px 22px;line-height:1.75}.hb-section-content ul{padding-left:20px}.hb-section-content li{margin:7px 0}.hb-video{position:relative;padding-top:56.25%;margin-top:18px;background:#0b1823;border-radius:12px;overflow:hidden}.hb-video iframe,.hb-video video{position:absolute;inset:0;width:100%;height:100%;border:0}.hb-three-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hb-three-cols>div{border:1px solid #e2eaf1;border-radius:11px;padding:15px;background:#fbfdff}.hb-three-cols h3{font-size:15px;color:#245476;margin:0 0 8px}.hb-three-cols .hb-safety{background:#fff8ee;border-color:#f2d8af}.hb-circuit-img{max-width:100%;display:block;margin:18px auto;border:1px solid #e1e8ee;border-radius:10px}.hb-simulation{height:440px;border:1px solid #dfe8f0;border-radius:12px;overflow:hidden;margin-top:18px}.hb-simulation iframe{width:100%;height:100%;border:0}.hb-practice-ai{display:flex;gap:13px;align-items:center;margin-top:18px;padding:15px;border-radius:11px;background:#eef8ff;border:1px solid #cce5f7}.hb-practice-ai>i{font-size:24px;color:var(--hb)}.hb-practice-ai p{margin:3px 0 0;color:#5e7689}.hb-quiz-item{padding:17px 0;border-bottom:1px solid #e8eef3}.hb-quiz-question{display:flex;align-items:flex-start;gap:10px;font-weight:700;margin-bottom:12px}.hb-quiz-question span{min-width:28px;height:28px;border-radius:50%;background:#e9f4fc;color:var(--hb);display:flex;align-items:center;justify-content:center}.hb-quiz-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.hb-quiz-options button{text-align:left;border:1px solid #dce6ee;background:#fff;border-radius:9px;padding:10px 12px;color:#38556b}.hb-quiz-options button b{display:inline-flex;width:24px;height:24px;align-items:center;justify-content:center;border-radius:6px;background:#edf3f7;margin-right:8px}.hb-quiz-options button.correct{border-color:#45a56b;background:#eefaf2}.hb-quiz-options button.wrong{border-color:#d56a6a;background:#fff1f1}.hb-quiz-feedback{display:none;margin-top:8px;padding:9px 12px;border-radius:8px;background:#f5f8fa;color:#536b7d}.hb-quiz-feedback.show{display:block}.hb-quiz-result{margin-top:16px;padding:14px;border-radius:10px;background:#f0f7fc;color:#27516f}.hb-ai-fab{position:fixed;right:24px;bottom:24px;z-index:1001;border:0;border-radius:28px;background:var(--hb);color:#fff;padding:12px 17px;box-shadow:0 8px 24px rgba(20,91,145,.3);font-weight:700}.hb-ai-fab i{margin-right:7px}.hb-ai-tutor{display:none;position:fixed;right:24px;bottom:82px;z-index:1002;width:370px;max-width:calc(100vw - 28px);background:#fff;border:1px solid #d9e5ef;border-radius:16px;box-shadow:0 16px 45px rgba(20,52,78,.22);overflow:hidden}.hb-ai-tutor.open{display:block}.hb-ai-head{display:flex;gap:10px;align-items:center;padding:14px 15px;background:#f3f9fd;border-bottom:1px solid #e2edf5}.hb-ai-head small{display:block;color:#718799}.hb-ai-head button{margin-left:auto;border:0;background:transparent;font-size:25px;color:#688196}.hb-ai-avatar{width:36px;height:36px;border-radius:10px;background:var(--hb);color:#fff;display:flex;align-items:center;justify-content:center}.hb-ai-messages{height:275px;overflow:auto;padding:14px;background:#fbfdff}.hb-ai-msg{max-width:87%;margin:7px 0;padding:9px 11px;border-radius:11px;line-height:1.5;font-size:13px}.hb-ai-msg.bot{background:#eef5fa;color:#345268}.hb-ai-msg.user{background:var(--hb);color:#fff;margin-left:auto}.hb-ai-quick{display:flex;gap:5px;overflow:auto;padding:8px 10px;border-top:1px solid #edf1f4}.hb-ai-quick button{white-space:nowrap;border:1px solid #d9e5ee;border-radius:14px;background:#fff;font-size:11px;padding:5px 8px}.hb-ai-input{display:flex;gap:7px;padding:10px;border-top:1px solid #edf1f4}.hb-ai-input textarea{flex:1;resize:none;border:1px solid #d7e2eb;border-radius:9px;padding:8px}.hb-ai-input button{width:42px;border:0;border-radius:9px;background:var(--hb);color:#fff}.hb-empty-section{color:#8a9baa;font-style:italic}@media(max-width:768px){.hb-three-cols,.hb-quiz-options{grid-template-columns:1fr}.hb-lesson-cover{padding:24px 20px}.hb-lesson-cover h1{font-size:24px}.hb-ai-fab span{display:none}.hb-ai-tutor{right:14px;bottom:72px}.hb-ai-fab{right:14px;bottom:16px}.hb-simulation{height:300px}}
