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

/* Các tùy chỉnh CSS của giao diện nên để vào đây */




/* @media (max-width: 768px) {
    .col-xs-24 {
        width: 100%;

    }
} */
/* 


.row {
    display: flex;
}

@media (min-width: 992px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1140px;
    }
}

@media (min-width:1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1320px
    }
}

.container {
    width: 100% !important;
} */

a {
    transition: all .2s ease-in-out;
}

.navbar {
    min-height: unset;
}

#header {
    background-image: linear-gradient(to right, #f99a2ec9 0%, #f99a2e 45%, #f99a2e 75%);
    /* position: fixed;
    top: 0; */
    width: 100%;
    z-index: 99;
    padding-bottom: 5px;
}

header.fixed-top {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
    top: 0;
    position: fixed !important;
    width: 100%;
}

#header .wr-header-top ,
#header .wr-header-bottom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all ease 0.2s;
}

#menusite .navbar-default {
    background: unset !important;
    border: none !important;
}

#menusite .navbar-default .navbar-nav>li>a:hover,
#menusite .navbar-default .navbar-nav>li>a:focus,
#menusite .navbar-default .navbar-nav>.active>a,
#menusite .navbar-default .navbar-nav>.active>a:hover,
#menusite .navbar-default .navbar-nav>.active>a:focus,
#menusite .navbar-default .navbar-nav>.open>a,
#menusite .navbar-default .navbar-nav>.open>a:hover,
#menusite .navbar-default .navbar-nav>.open>a:focus {
    background: #fff !important;
    border-radius: 8px;
    color: #333;
}

.section-body {
    margin-top: 20px;
}

#menusite .navbar-default .navbar-nav>li>a {
    color: #fff;
    font-weight: 700;
    padding: 8px 10px;
    text-transform: capitalize;
}

#menusite .dropdown-menu {
    background: #35bd33 !important;
}

#menusite .dropdown-menu>li>a {
    color: #fff;
}

#footer {
    background: #ff8800 !important;
    padding: 0 !important;
    border: none !important;
}

#footer .footer-top,
#footer .footer-mid,
#footer .footer-bottom {
    padding: 20px 0 !important;
    border-bottom: 1px solid #fff;
    font-size: 14px;
    text-align: justify;
}

#footer .footer-top .logo img {
    max-width: 100%;
    max-height: 100px;
}

#footer .footer-top .logo p {
    color: #fff;
    font-size: 14px;
    text-align: justify;
}

#footer .footer-top .gr-right {
    max-width: 330px;
    margin-left: auto;
    margin-top: 20px;
}

#footer .footer-top .gr-right h4 {
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 14px;
}

#footer .footer-top .gr-right input {
    width: 100%;
    font-size: 16px;
    padding: 14px 15px;
    border: 1px solid #fff;
    border-radius: 10px;
    color: #fff;
    background: #fbfbfb;
    transition: all ease 0.4s;
}

#footer .footer-top .gr-right form {
    position: relative;
}

#footer .footer-top .gr-right input:focus {
    background: #fff;
    color: #333;
    outline: none;
}

#footer .footer-top .gr-right button {
    background-color: #f99a2e;
    height: 40px;
    width: 40px;
    line-height: 43px;
    border: none;
    position: absolute;
    top: 6px;
    right: 7px;
    border-radius: 10px;
}

#footer .footer-top .gr-right button i {
    font-size: 21px;
}

#footer .footer-top .gr-right button:focus {
    outline: none;
}

#footer .footer-mid .panel-default>.panel-heading {
    color: #FFF;
    text-transform: uppercase;
    background-color: unset;
    border: unset !important;
    background: unset !important;
    padding: 0;
    font-weight: 600;
}

#footer .footer-mid .panel-default>.panel-heading {
    color: #FFF;
    text-transform: uppercase;
    background-color: unset;
    border-color: unset;
    background: unset !important;
    margin-bottom: 20px;
}

#footer .footer-mid .panel-default {
    text-transform: uppercase;
    background-color: unset;
    border: unset !important;
    background: unset !important;
}

#footer .footer-mid .panel-body {
    padding: 0 !important;
}

#footer .footer-mid .panel-body ul li {
    list-style: none;
    background: unset !important;
    padding: 0;
    margin-bottom: 15px;
}

#footer .footer-mid .panel-body ul li a {
    color: #fff;
    transition: all ease 0.4s;
    font-size: 13px;
    text-transform: capitalize !important;
}

#footer .footer-mid .panel-body ul li a:hover {
    color: #87cefa;
}

#footer p {
    color: #fff;
}

#footer .copy-right {
    color: #fff;
    text-align: center;
}

#footer .copy-right {
    padding: 10px 0;
    font-size: 13px;
}
#footer h3{
    color: #fff;
}
#footer, #footer a {
    color: #fff;
}

.input-group.header-search {
    border-radius: 30px;
    overflow: hidden;
    background: #fff;
}

.input-group.header-search input {
    border: none;
    width: 120px;
}

.input-group.header-search button {
    background: transparent;
    border: none;
    color: #333;
}

.input-group.header-search input:focus,
.input-group.header-search button:focus {
    outline: none;
    border: none;
    box-shadow: none;
    background: none;
}

.footer-top .logo {
    padding-right: 30px;
}

.footer-top .treeview li {
    background: none;
    padding: 0;
}

.footer-top .treeview li a {
    font-size: 14px;
    line-height: 32px;
}

#hot-news img {
    width: 100%;
}

.showhome-bycat .news_column .panel {
    border: none;
    box-shadow: none;
}

.showhome-bycat .news_column .panel .panel-body {
    padding: 15px 0;
}

.showhome-bycat .news_column .panel-heading {
    background: none;
}

.showhome-bycat .news_column .panel-heading h4 {
    font-size: 16px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.showhome-bycat .news_column .panel-heading h4 a {
    color: #f99a2ec9;
}

.showhome-bycat .news_column p.text-desc {
    font-size: 14px;
    color: #666;
    font-weight: 300;
}

.metismenu .sidebar-nav {
    background: #f99a2e !important;
}

.panel-primary > .panel-heading {
  color: #fff;
  background-color: #f99a2e !important;
  border-color: #f99a2e !important;
}

.panel-primary {
  border-color: #f99a2e;
}


.aside-menu {
    width: 100%;
    max-width: 100vw;
    background: #fff;
    transition:all 0.1s ease-in-out;
    z-index: 99;
    max-height: 0;
    height: 100%;
    overflow: hidden;
    background: transparent;
}

#btn-hamburger {
    outline: 0;
    cursor: pointer;
    position: relative;
}
#btn-hamburger .line-1, #btn-hamburger .line-2, #btn-hamburger .line-3 {
    width: 25px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    transition: 0.4s;
    position: relative;
    z-index: 999;
}
#btn-hamburger .line-2 {
    width: 13px;
    margin-left: 10px;
}
#btn-hamburger.animeOpenClose .line-1 {
    -webkit-transform: rotate(-45deg) translate(-4px, 4px);
    transform: rotate(-45deg) translate(-5px, 4px);
}
#btn-hamburger.animeOpenClose .line-2 {
    opacity: 0;
}
#btn-hamburger.animeOpenClose .line-3 {
    -webkit-transform: rotate(45deg) translate(-4px, -4px);
    transform: rotate(45deg) translate(-4px, -4px);
}

#menu {
    display: none;
}
#menu:checked + .aside-menu {
    max-height: 5000px;
}
#menu:checked + .aside-menu .mega-menu {
    
}


.header-mega-menu label{
    position: absolute;
    right: 5px;
    top:78px
}
.header-mega-menu #btn-hamburger span {
    color: #fff;
    float: left;
    margin-right: 10px;
}
.header-mega-menu #btn-hamburger span:last-child {
    margin-right:0 ;
}

.header-mega-menu .mega-menu{
    padding: 0;
    display: flex;
    /* align-items: center; */
    gap: 20px;
    padding-left: 15px;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
}
.header-mega-menu .mega-menu li a {
    color: #fff;
}
/* .header-mega-menu .mega-menu li  {
    width: 14% !important;
min-width: 165px;
} */

.mega-menu img {
    filter: brightness(0) invert(1);
    width: 75px;
}
.mega-menu .sub-menu {
    padding: 0;
}
.mega-menu .link > a {
    font-weight: 700;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
}
.mega-menu {
    flex-wrap: wrap;
}

.mega-menu .sub-dropdown {
    width: 17% !important;
min-width: 165px;
}

.desktop {
    display: block;
}
.mobile {
    display: none;
}
@media (max-width: 767.98px) {
    .section-body {
        margin-top: 10px !important;
      }
      #header .wr-header-top, #header .wr-header-bottom {
        display: block;
      }
      .header-mega-menu label {
        position: absolute;
        right: 5px;
        top: 30px;
      }

      .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }
    #header .logo img {
        max-height: 75px;
      }
      #header .logo {
       padding: 0;
      }

      #menusite .navbar-toggle {
        display: none;
      }
      .mega-menu {
        max-height: 500px;
        overflow: scroll;
      }
      .input-group.header-search input {
        border: none;
        width: 100% ;
      }
}


.back-to-top {
    position: fixed !important;
    bottom: 80px;
    right: 15px;
    display: none;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #f99a2e 0%, #f99a2e 45%, #f99a2e 75%);
    line-height: 50px;
    text-align: center;
    border-radius: 50%;
    color: #fff !important;
    font-size: 17px;
    z-index: 3;
    transition: all ease 0.5s;
}
.back-to-top a {
    color: #fff !important;
}
.back-to-top a i {
    color: #fff !important;
}
.back-to-top.active {
    display: block;
}
.back-to-top:hover {
    opacity: 0.8;
}

@media screen and (max-width:575px) {
    #header .logo {
        text-align: left;
        
      }


      .header-mega-menu #btn-hamburger span:first-child {
        display: none;
    }
}

/* toc */

.danh-sach {
    border: 2px solid #000;
    padding: 10px;
    background: #f3f3f3;
    margin-bottom: 20px;
    border-radius: 6px;
}

.danh-sach .fa {
    margin-right: 10px;
}

.head-danh-sach {
    background: none;
    border: none;
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
    text-align: left;
    font-size: 16px;
    padding: 5px 0;
}

.js-toc {
    margin-bottom: 10px;
    max-height: 400px;
    overflow-y: auto;
}

ol.toc-list {
    padding-left: 20px;
    list-style-type: none;
    margin-bottom: 0;
    margin-bottom: 5px;
}

ol.toc-list:last-child {
    margin-bottom: 0
}

ol.toc-list>li:last-child {
    margin-bottom: 0
}

ol.toc-list a {
    width: 100%;
    background: linear-gradient(to right, #ddd 50%, #f3f3f3 50%);
    background-size: 210% 100%;
    background-position: right bottom;
    transition: all.25s ease;
    padding: 3px;
}

ol.toc-list .is-active-link {
    background-position: left bottom;
}

ol.toc-list>li>a {
    font-weight: 700;
    color: #000
}

ol.toc-list>li>ol.toc-list>li>a {
    font-weight: 400
}

.is-position-fixed {
    position: fixed !important;
    top: 50px;
    z-index: 99
}

.is-position-fixed .js-toc {
    height: auto !important;
    width: 245px !important;
    visibility: visible !important;
    transition: .25s;
    visibility: hidden;
}

.picaso {
    transition: .25s;
}

.transition--300 {
    transition: all 300ms ease-in-out;
}

.btn-danh-sach-close {
    border: none;
    background: none;
    position: absolute;
    top: 13px;
    right: 0;
    width: 40px;
    padding: 0;
    display: none;
}

.btn-danh-sach-show {
    cursor: pointer;
    outline: none;
    position: fixed;
    top: 50px;
    font-size: 20px;
    border: 2px solid #000;
    padding: 10px;
    background: #f3f3f3;
    line-height: 1;
    border-radius: 7px;
    z-index: 9;
    display: none;
    opacity: .7;
    transform: .25s
}

.btn-danh-sach-show:hover {
    opacity: 1;
    transform: .25s
}

.btn-danh-sach-show:hover,
.btn-danh-sach-show:active,
.btn-danh-sach-show:focus,
.btn-danh-sach-close:hover,
.btn-danh-sach-close:active,
.btn-danh-sach-close:focus {
    cursor: pointer;
    outline: none;
}

.is-position-fixed .btn-danh-sach-close,
.is-position-fixed .btn-danh-sach-show {
    display: block;
}
