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


/* Responsive news */

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

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

.layout-blog {
    padding-bottom: 30px;
}

.list-blogs .row-fix .col-fix {
    margin-bottom: 30px;
}

.list-blogs .item-effect.on-show {
    animation-name: fadeInUp;
}

@media (min-width:991px) {
    .article-main {
        width: 85%;
        margin: auto;
    }
}

.article-main .article-title {
    margin-top: 0;
    font-size: 34px;
    font-weight: bold;
    color: #001f3f;
    line-height: normal;
    position: relative;
    margin-bottom: 15px;
}

@media (max-width:767px) {
    .article-main .article-title {
        font-size: 24px;
        line-height: 1.4;
    }
}

.article-main .time-post {
    margin-bottom: 25px;
}

.article-main .time-post svg {
    fill: var(--mainColor);
    margin-right: 2px;
    position: relative;
    top: -1px;
}

.article-main .time-post .posted:after {
    content: "|";
    display: inline-block;
    padding: 0 5px;
    top: -1px;
    position: relative;
}

.article-main .rte {
    font-size: 14px;
    color: #656565;
}

@media (max-width:767px) {
    .article-main .rte iframe {
        width: 100%;
    }
}

.article-main #article_comments {
    display: block;
    padding-top: 0;
    margin-top: 20px;
    padding-bottom: 30px;
}

.article-main #article_comments label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.article-main #article_comments label .required {
    color: #ff0000;
}

.article-main .form-group input {
    width: 100%;
    min-height: 60px;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1.5;
    color: #656565;
    background-color: #fff;
    background-image: none;
    margin-bottom: 15px;
    border: 1px solid #e3e3e3;
    box-shadow: none;
    border-radius: 6px;
}

.article-main .form-group input::-webkit-input-placeholder {
    color: #656565;
}

.article-main .form-group input::-moz-placeholder {
    color: #656565;
}

.article-main .form-group input:-ms-input-placeholder {
    color: #656565;
}

.article-main .form-group textarea {
    width: 100%;
    min-height: 60px;
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1.5;
    color: #656565;
    background-color: #fff;
    background-image: none;
    margin-bottom: 15px;
    border: 1px solid #e3e3e3;
    box-shadow: none;
    border-radius: 6px;
}

.article-main .form-group textarea::-webkit-input-placeholder {
    color: #656565;
}

.article-main .form-group textarea::-moz-placeholder {
    color: #656565;
}

.article-main .form-group textarea:-ms-input-placeholder {
    color: #656565;
}

.article-main .form-group textarea:focus-visible {
    outline: none;
}

.article-main .btn {
    height: 50px;
    line-height: 48px;
    padding: 0 54px;
    background: var(--mainColor);
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 0;
    border: 1px solid transparent;
}

.article-main .btn:hover {
    color: var(--mainColor);
    border-color: var(--mainColor);
    background: transparent;
}

.article-main .form-coment__title {
    font-size: 22px;
    font-weight: 700;
    text-transform: none;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #494949;
}

.article-main .tag-share {
    display: flex;
    align-items: center;
    margin: 30px 0;
}

.article-main .tag-share .inline {
    line-height: 26px;
    font-size: 15px;
    margin-right: 15px;
    color: #494949;
}

.article-main .tag-share .inline svg {
    margin-right: 5px;
    width: 19px;
    height: 20px;
}

@media (max-width:767px) {
    .article-main .tag-share {
        display: block;
    }
    .article-main .tag-share .inline {
        margin-bottom: 5px;
        display: block;
    }
}

.article-main .tag_article .inline {
    font-weight: 400;
    font-size: 14px;
    background: #fff;
    border-radius: 3px;
    padding: 3px 13px;
    margin-right: 5px;
    display: inline-block;
    color: #494949;
}

.article-main .tag_article a {
    font-weight: 400;
    font-size: 14px;
    background: #fff;
    border-radius: 3px;
    padding: 3px 13px;
    margin-right: 5px;
    display: inline-block;
    margin-bottom: 5px;
    word-break: break-word;
    color: #494949;
}

.article-main .tag_article a:hover {
    background-color: var(--mainColor);
    color: #fff;
    border-color: var(--mainColor);
}

.article-comments {
    margin-top: 30px;
}

.article-comments__title {
    font-size: 22px;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 20px;
    color: #494949;
}

.article-comments__item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.article-comments__item .thumb {
    width: 80px;
    padding-bottom: 7%;
}

.article-comments__item .thumb img {
    border-radius: 100%;
}

.article-comments__item .userComment__name {
    margin-bottom: 0;
}

.article-comments__item .userComment__date {
    font-size: 13px;
    color: #919191;
}

.article-page .pagenav .pagination {
    text-align: left;
}

.article-lq {
    padding: 40px 0;
    background: #fff;
}

.article-lq .aside-title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    line-height: normal;
    margin-bottom: 30px;
    color: #001f3f;
}

@media (max-width:767px) {
    .article-lq .aside-title {
        font-size: 24px;
    }
}

.article-lq .swiper-slide {
    height: auto;
}

.toc-wrapper {
    background: #dbedf9;
    border: 1px solid #c7e4f4;
    border-radius: 4px;
    padding: 1.5%;
    font-size: 16px;
    margin: 15px 0;
}

@media (min-width:991px) {
    .toc-wrapper {
        width: 65%;
    }
}

.toc-wrapper .js-toc {
    margin-top: 5px;
}

.toc-title {
    position: relative;
    display: block;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    line-height: 28px;
    font-size: 16px;
}

.toc-title:before {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAOCAYAAAA45qw5AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwwAADsMBx2+oZAAAAi9JREFUOE+tk01rE0EYx7MbMbZePIlR8SsIQhFE8eBZJOKhUqwearKE5BDMoQpihB4UL0Igb6BSSimtFbF+AcVLoeDJDyBoYw9CDyHFhLz4e2aeXZUkZn35we48859n5z/PzKzjed61Xq/3KGJ5UKvVHmv8X0mlUnma+X6/36a97SSTyV2CQzIoOI6zHI/H5wqFwjeV/olcLjfRbDafEk5bxXjsurzWtG9gRTP1ev1NOp0+otJfk8lkjmL6ljAwFfBYcyuViof5gmo+pzudzha7cUr7fwwLn2q321uEU1Yx9PG6x3F6jgpyBldZiWzJAasY9nhukPjcdsPBvZmWuXgmVBL2XNedpdAX0nGNBNVqdYWB84RfrGKY5FllogKTBIscheSwSwtc1pWfTanyE3Of9U2Fgcmy2ezxVqv1ivCXbebjdSa7TvWyCwPk8/mDjUZjiZyESga+24xGo4lSqbSjkmFoFax6kg8WmeSKSj7vY7HYpWKx+Fn7BvJPkL9B/kmVfJbIv0l+S/sBI7ePSRzO/T7hXatYMNhh2xLlcnlT+lyiM91u9yX5h00CkNOjucPxPbTKIGPPTS4KZ/aMMLh0TCwVzNHuY6xKvN8MWBroM5i+1v5QxhoL8mvwe8m5x60yHAw/8lzkEn1QaSShjAUqP0Z1G4RD/20M37Hdl7l8X1X6LcHvNA6q2KY5h8G6VX6A9gTTC2FNhdAV+8ilo/p5wlvE25iWOc+KHQ1LJPIdi+3i7AUil8gAAAAASUVORK5CYII=);
    height: 7px;
    width: 15px;
    display: inline-block;
    content: " ";
    float: right;
    background-size: contain;
    margin: 10px 0 0 0;
    cursor: pointer;
}

.js-toc>.toc-list {
    padding: 0;
}

.toc-list {
    padding: 0 15px;
    counter-reset: section;
    list-style-type: none;
    margin: 0;
}

.toc-list li {
    color: #2f80ed;
}

.toc-list li a {
    line-height: 20px;
    padding: 5px 0;
    color: #2f80ed;
    font-size: 15px;
    position: relative;
}

.toc-list .toc-link::before {
    display: none;
}

.fixed-toc {
    position: fixed;
    right: 0;
    top: 50% !important;
    transform: translateY(-50%);
    z-index: 1000;
    display: none;
}

.fixed-toc button.btn.toc-toggle-btn {
    border: 1px solid;
    padding: 5px;
    width: 32px;
    height: 32px;
    line-height: 1;
    margin-right: 10px;
    background: white;
    opacity: 0.6;
}

.fixed-toc button.btn.toc-toggle-btn:hover {
    opacity: 1;
}

.fixed-toc .fixed-toc-content {
    width: 300px;
    background: #fff;
    position: absolute;
    top: 0 !important;
    z-index: 9999;
    padding: 15px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 14px;
    max-height: 75vh;
    overflow-y: auto;
    transform: translateY(-50%) translateX(100%);
    transition: transform .3s ease-out;
}

.fixed-toc .fixed-toc-content .toc-title:before {
    display: none;
}

.fixed-toc.open .fixed-toc-content {
    transform: translateY(-50%) translateX(calc(-100% + 40px));
}

.fixed-toc .toc-toggle-btn {
    cursor: pointer;
}

.fixed-toc .toc-toggle-btn svg {
    width: 14px;
    height: 14px;
}

.fixed-toc .toc-list li a {
    line-height: 1.2;
    padding: 4px 0;
    display: block;
    color: #2f80ed;
    font-size: 13px;
    position: relative;
}

.fixed-toc .toc-list li a.is-active-link {
    font-weight: bold;
}

.fixed-toc .fixed-toc-content .toc-toggle-btn {
    right: 15px;
    top: 13px;
    position: absolute;
}

.fixed-toc .fixed-toc-content>.toc-list {
    padding: 0;
}

.product-article {
    margin-bottom: 30px;
}

.product-article .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1;
    color: var(--mainColor);
}

.product-article .product-article-swiper {
    position: relative;
}

.product-article .product-article-swiper .swiper-slide {
    height: auto;
}