﻿/**
 * NukeViet Content Management System
 * @version 4.x
 * @author VINADES.,JSC <contact@vinades.vn>
 * @copyright (C) 2009-2023 VINADES.,JSC. All rights reserved
 * @license GNU/GPL version 2 or any later version
 * @see https://github.com/nukeviet The NukeViet CMS GitHub project
 */

:root {
    --vb-color-primary: #428bca;
    --vb-color-border: #dddddd;
    --vb-color-background: #f7f7f7;
    --vb-color-background-info: #d9edf7;
    --vb-color-white: #ffffff;
    --vb-font-bold: 700;
}

.fw-bold {
    font-weight: var(--vb-font-bold);
}

.text-break-hard {
    word-break: break-all;
}

.mb-1 {
    margin-bottom: 5px!important;
}

.mb-0 {
    margin-bottom: 0!important;
}

/* Block Menu */
.smoothmenu2 {
    z-index: 1000
}

.smoothmenu2 ul li a {
    padding: 5px;
}

.ddsmoothmenu-v ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.ddsmoothmenu-v ul li {
    position: relative;
    margin-bottom: 0!important;
}

.ddsmoothmenu-v ul li a {
    display: block;
    color: #000000;
    padding: 5px;
    white-space: nowrap;
    border-bottom: 1px dashed var(--vb-color-border);
}

.ddsmoothmenu-v > ul > li:last-child a {
    border-bottom: 0;
    padding-bottom: 0;
}

.ddsmoothmenu-v > ul > li:first-child a {
    padding-top: 0;
}

.ddsmoothmenu-v > ul > li.hsub > a {
    padding-right: 20px;
}

.ddsmoothmenu-v > ul > li.hsub .toggle-subs {
    position: absolute;
    top: 5px;
    right: 0;
    width: 20px;
    cursor: pointer;
    height: 20px;
    line-height: 20px;
    text-align: right;
}

.ddsmoothmenu-v > ul > li:first-child.hsub .toggle-subs {
    top: 0;
}

.ddsmoothmenu-v ul li img {
    position: absolute;
    right: 10px;
}

.ddsmoothmenu-v ul li a:link,
.ddsmoothmenu-v ul li a:visited,
.ddsmoothmenu-v ul li a:active {
    color: #000000;
    background: #fff;
}

.ddsmoothmenu-v ul li a.selected {
    background: #00A5D5;
    color: #fff;
}

.ddsmoothmenu-v ul li a:hover {
    color: #007da9;
}

.ddsmoothmenu-v > ul > li ul {
    margin-top: 10px;
    padding-left: 20px;
    display: none;
}

.ddsmoothmenu-v > ul > li ul li {
    padding-bottom: 5px;
}

.ddsmoothmenu-v > ul > li ul li:last-child {
    padding-bottom: 0;
}

.ddsmoothmenu-v > ul > li ul li a {
    border: 0;
    padding: 0;
}

/* Flex Responsive Table Laws */
.flex-table-laws {
    border: 1px var(--vb-color-border) solid;
    margin-bottom: 15px;
}

.flex-table-laws-inline {
    margin-bottom: 15px;
}

.flex-table-laws-inline .flex-table-laws {
    margin-bottom: 0;
}

.flex-table-laws-inline .flex-table-laws:not(:first-child) {
    border-bottom: 0;
    border-top: 0;
}

.flex-table-heading {
    border: 1px var(--vb-color-border) solid;
    padding: 8px;
    background-color: #d9edf7;
}

.flex-table-laws > .table-rows {
    -ms-display: flex;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    border-bottom: 1px var(--vb-color-border) solid;
}

.flex-table-laws > .table-rows:nth-of-type(even) {
    background-color: #f9f9f9;
}

.flex-table-laws > .table-rows:hover:not(.table-head) {
    background-color: #f5f5f5;
}

.flex-table-laws > .table-head {
    border-bottom-width: 2px;
}

.flex-table-laws > .table-rows:last-child {
    border-bottom: 0;
}

.flex-table-laws > .table-rows > div {
    padding: 7px;
    -ms-flex-shrink: 0;
    flex-shrink: 0;
    border-left: 1px var(--vb-color-border) solid;
}

.flex-table-laws > .table-rows > div:first-child {
    border-left: 0;
}

.flex-table-laws > .table-head > div {
    font-weight: 700;
}

.flex-table-laws > .table-rows > div > .label-name {
    display: none;
    font-weight: 700;
    margin-right: 5px;
}

.flex-table-laws > .table-rows > .a-center {
    text-align: center;
}

.flex-table-laws > .table-rows > .c-intro {
    -ms-flex-grow: 1;
    flex-grow: 1;
    -ms-flex-shrink: 1;
    flex-shrink: 1;
}

.flex-table-laws > .table-rows > .c-stt {
    -ms-flex: 0 0 50px;
    flex: 0 0 50px;
    max-width: 50px;
}

.flex-table-laws > .table-rows > .c-code {
    -ms-flex: 0 0 120px;
    flex: 0 0 120px;
    max-width: 120px;
}

.flex-table-laws > .table-rows > .c-time {
    -ms-flex: 0 0 120px;
    flex: 0 0 120px;
    max-width: 120px;
}

.flex-table-laws > .table-rows > .c-comtime {
    -ms-flex: 0 0 160px;
    flex: 0 0 160px;
    max-width: 160px;
}

.flex-table-laws > .table-rows > .c-file {
    -ms-flex: 0 0 120px;
    flex: 0 0 120px;
    max-width: 120px;
}

.flex-table-laws > .table-rows > .c-comment {
    -ms-flex: 0 0 90px;
    flex: 0 0 90px;
    max-width: 90px;
}

.flex-table-laws > .table-rows > .c-file ul {
    margin-bottom: 0;
}

@media (max-width: 676.98px), (max-width: 940px) and (min-width: 768px) {
    .flex-table-heading {
        padding-left: 0;
        background-color: transparent;
        border: 0;
    }

    .flex-table-laws {
        border: 0;
        margin-bottom: 0;
    }

    .flex-table-laws > .table-head {
        display: none;
    }

    .flex-table-laws > .table-rows,
    .flex-table-laws > .table-rows:last-child {
        margin-bottom: 15px;
        border: 1px var(--vb-color-border) solid;
        flex-wrap: wrap;
        border-radius: 4px;
    }

    .flex-table-laws > .table-rows > div {
        border: 0;
        -ms-order: 99;
        order: 99;
        padding-top: 0;
        padding-bottom: 5px;
    }

    .flex-table-laws > .table-rows > div > .label-name {
        display: inline-block;
    }

    .flex-table-laws > .table-rows > .c-stt,
    .flex-table-laws > .table-rows > .c-code,
    .flex-table-laws > .table-rows > .c-time,
    .flex-table-laws > .table-rows > .c-comtime,
    .flex-table-laws > .table-rows > .c-file,
    .flex-table-laws > .table-rows > .c-comment {
        -ms-flex-basis: inherit;
        flex-basis: inherit;
        width: 100%;
        max-width: 100%;

    }

    .flex-table-laws > .table-rows > .c-stt {
        display: none;
    }

    .flex-table-laws > .table-rows > .c-intro {
        -ms-order: 1;
        order: 1;
        padding-top: 5px;
    }

    .flex-table-laws > .table-rows > .c-intro a:not(.btn) {
        font-size: 1.15em;
        font-weight: 700;
    }

    .flex-table-laws > .table-rows > .a-center {
        text-align: left;
    }

    .flex-table-laws > .table-rows > .c-file ul {
        display: inline-block;
    }

    .flex-table-laws > .table-rows > .c-file ul li {
        display: inline-block;
        margin-right: 10px;
    }

    .flex-table-laws > .table-rows > .c-comment .label-name {
        position: relative;
        top: -8px;
    }
}

/* ul list */
ul.list-item, ul.list-releted-item, ul.list-none {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
    list-style-image: none;
}

ul.list-item li {
    background-repeat: no-repeat;
    background-position: left 6px;
    background-image: url('../images/laws/ul-bull.png');
    padding-left: 10px;
    line-height: 1.5em;
}

ul.list-releted-item li {
    background-repeat: no-repeat;
    background-position: left center;
    background-image: url('../images/laws/ul-bull.png');
    padding-left: 10px;
    line-height: 1.5em;
}

ul.list-none li {
    line-height: 1.6em;
}

/* BLOCK TOP AREA CENTER */
div.blocktop10area {
    padding: 5px;
    margin: 0px 0px 10px 0px;
    border: 1px solid #C0C0C0;
}

div.blocktop10area ul {
    list-style-type: none;
    padding: 0px;
    margin: 5px 0px 5px 0px;
}

div.blocktop10area ul li {
    font-weight: bold;
    line-height: 22px;
    float: left;
    width: 48%;
}

/* SEARCH */
.formsearch {
    padding: 5px 5px 0px 5px;
    margin: 5px 0px 0px 0px;
}

table.inner-search, table.inner-search td, table.inner-search tr, table.inner-search tbody {
    border-style: none;
    border-width: 0px;
}

table.inner-search input[type=text], table.inner-search input[type=submit], table.inner-search input[type=button] {
    border: 1px solid #CCCCCC;
}

table.inner-search input[type=submit], table.inner-search input[type=button] {
    background-color: #FFFFFF;
    cursor: pointer;
}

a#btn-search {
    display: block;
    font-size: 12px;
    margin-top: 7px;
}

/* BLOCK TOP LAW */
.block-law {
    padding: 0;
}

.block-law ul {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}

.block-law ul li {
    padding: 5px 0px 5px 0px;
    margin: 0px;
    border-bottom-style: dashed;
    border-bottom-width: 1px;
    border-bottom-color: #CCCCCC;
}

.block-law ul li span.small {
    list-style-type: none;
    font-size: 11px;
    color: #666666;
}

#advance .form-inline label{
    width:100%;
}

#advance .form-inline .form-control {
    margin-right: 2px;
}

/* Trang chi tiết */
.law-detail .metas {
    padding: 10px;
    border-left: 1px var(--vb-color-border) solid;
    border-right: 1px var(--vb-color-border) solid;
    border-bottom: 2px var(--vb-color-border) solid;
    background-color: var(--vb-color-background);
    position: relative;
}

.law-detail .metas .item {
    display: block;
}

.law-detail .metas .item .item-show {
    padding: 7px 10px;
    cursor: pointer;
}

.law-detail .metas .item .item-dropdown-container {
    display: none;
    top: calc(100% - 10px);
    max-width: 100%;
    left: 0;
    background: #fff;
    padding: 15px;
    z-index: 2;
    border: 1px dashed #0685d6;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s linear;
    animation: grow 0.3s linear;
    margin-top: 10px;
    width: 100%;
}

.law-detail .metas .item .item-dropdown-container::before {
    position: absolute;
    content: "";
    border-style: solid;
    border-width: 12px 9px;
    border-color: transparent transparent #ddd transparent;
    top: -24px;
}

.law-detail .metas .item .item-dropdown-container.fixed::before {
    display: none;
}

#law-btn-tableof-contents.fixed {
    position: fixed;
    top: 0;
    right: 5%;
    left: auto;
    transition: none;
    animation: none;
    z-index: 99;
}

.law-detail .metas .item .item-dropdown-container.fixed {
    position: fixed;
    top: 0;
    left: auto;
    max-width: 300px;
    width: 300px;
    transition: none;
    animation: none;
    margin-left: 0;
    margin-right: -10px;
    background: #fff;
    border: 1px dashed #0685d6;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.law-title{
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 6px;
    box-shadow: inset 0 -1px 0 #d8e0e8;
    display: flex;
    justify-content: space-between;
}

.law-detail .metas .item .item-dropdown-container .law-title {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-left: -15px;
    margin-right: -15px;
    margin-top: -15px;
    background: #0685d6;
}
.law-title span {
    font-size: 17px;
    color: #fff;
    font-family: "Segoe UI";
    font-weight: 600;
}

.law-title i {
    font-size: 16px;
    padding: 5px 7px;
    border-radius: 19%;
}

.content_table li a {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 6px 8px;
    color: #334155;
    transition: all .2s ease-out;
}

.btn_table_content {
    border: 1px dashed #00000066;
    cursor: pointer;
    display: inline-block;
}

.hidden_law_tab {
    color: #fff;
    background: none;
}

.hidden_nav_law {
    cursor: pointer;
}

.close_menu {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #fff;
    z-index: 10;
}

.law-detail .metas .item .item-dropdown-container.fixed .close_menu {
    display: block;
    top: 10px;
    right: 10px;
    z-index: 100;
}

.table_content_link.active {
    box-shadow: 0 2px 5px rgba(233, 30, 99, 0.3);
    border-radius: 12px;
    font-weight: 600;
    padding: 6px 16px;
    background: rgb(255, 255, 255);
    box-shadow: rgb(228, 234, 241) 0px 0px 0px 1px;
}

.law-detail .metas .item .item-dropdown-content {
    position: relative;
    max-height: 300px;
}

.law-detail .navigation-body .navigation {
    padding: 0;
    margin: 0;
    max-height: 400px;
}

.law-detail .navigation-body .navigation>li>a {
    font-weight: var(--vb-font-bold);
}

.law-detail .navigation-body .sub-navigation {
    padding: 0;
    margin: 0;
    margin-left: 20px;
}

.law-detail .tab-content-main {
    border-left: 1px var(--vb-color-border) solid;
    border-right: 1px var(--vb-color-border) solid;
    border-bottom: 1px var(--vb-color-border) solid;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-bottom: 20px;
}

.law-detail .nav-tabs a {
    font-weight: 700;
}

.law-detail .nav-tabs>li {
    margin-bottom: 0;
}

.law-detail .nav-tabs>li>a {
    border-radius: 0;
    border-top-width: 3px!important;
    padding-top: 7px;
    padding-bottom: 7px;
}

.law-detail .nav-tabs>li.active>a {
    border-top-color: var(--vb-color-primary);
}

.law-detail .nav-tabs>li>a:hover {
    border-bottom-color: transparent;
}

.law-detail  .table-properties .col-header {
    background-color: var(--vb-color-background);
}

.law-detail  .table-properties td:not([colspan]) {
    width: 25%;
}

.law-detail .quickview-image {
    max-width: 100%;
    height: auto;
}

.law-detail .iframe-outer {
    position: relative;
    height: 0;
    padding-bottom: 130%;
}

.law-detail .iframe-outer iframe {
    width: 100%;
    height: 100%;
    position: absolute;
}

.law-detail .download-item {
    display: flex;
}

.law-detail .download-item .iname {
    flex-grow: 1;
    flex-shrink: 1;
}

.law-detail .download-item .iname a {
    display: inline-block;
    margin-top: 5px;
}

.law-detail .download-item .iicon {
    margin-right: 5px;
}

.law-detail .download-item .iicon i {
    margin-top: 7px;
}

.law-detail .download-item .iview {
    margin-left: 10px;
}

.law-detail .quickview-holder {
    height: 10px;
    overflow: hidden;
}

.law-detail .docmaps-nav {
    margin-bottom: 0;
}

.law-detail .docmaps-nav-item {
    border-left: 1px var(--vb-color-border) solid;
    border-right: 1px var(--vb-color-border) solid;
    padding: 7px;
    border-top: 1px var(--vb-color-border) solid;
    font-weight: var(--vb-font-bold);
}

.law-detail .docmaps-nav-item:last-child {
    border-bottom: 1px var(--vb-color-border) solid;
}

.law-detail .docmaps-nav-item.active {
    background-color: var(--vb-color-background);
}

.law-detail .mapitems {
    margin-bottom: 0;
}

.law-detail .mapitems .item-title {
    display: flex;
}

.law-detail .mapitems .item-title span {
    margin-right: 10px;
    flex: 0 0 20px;
    overflow: hidden;
    max-width: 20px;
    font-weight: var(--vb-font-bold);
    text-align: center;
}

.law-detail .mapitems .item-meta {
    display: flex;
    flex-wrap: wrap;
}

.law-detail .mapitems .item-meta .item {
    margin-right: 15px;
}

.law-detail .mapitems .item-meta .item:last-child {
    margin-right: 0;
}

.law-detail-other .h2 {
    font-weight: var(--vb-font-bold);
}

.bt-law {
    float: right;
    margin-left: 4px;
}

.bt-law a {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .enable-responsive.law-detail .docmaps-nav {
        margin-bottom: 15px;
    }
}

@media (max-width: 767.98px) {
    .law-detail .metas .item .item-dropdown-container.fixed {
        right: 2%;
        left: auto;
        max-width: 300px;
        width: 300px;
    }

    #law-btn-tableof-contents.fixed {
        right: 2%;
        left: auto;
    }
}

@media (max-width: 499.98px) {
    .enable-responsive.law-detail .table-properties td {
        float: left;
        width: 50%;
        border: 0;
        border-top: 1px var(--vb-color-border) solid;
    }

    .law-detail .metas .item .item-dropdown-container.fixed {
        max-width: 280px;
        width: 280px;
        right: 20px;
    }

    #law-btn-tableof-contents.fixed {
        right: 10px;
    }
}

