﻿/**
 * @Project NUKEVIET 4.x
 * @Author VINADES.,JSC (contact@vinades.vn)
 * @Copyright (C) 2010 VINADES.,JSC. All rights reserved
 * @Createdate Wed, 27 Jul 2011 14:55:22 GMT
 */

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

.smoothmenu2 ul li a {
    padding: 8px 10px;
}

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

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

.ddsmoothmenu-v ul li a {
    display: block;
    color: #27272a;
    padding: 8px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-bottom: 1px dashed #e5e7eb;
    font-weight: 500;
    transition: all 0.25s ease;
}

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

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

.ddsmoothmenu-v > ul > li.hsub .toggle-subs {
    position: absolute;
    top: 8px;
    right: 6px;
    width: 22px;
    cursor: pointer;
    height: 22px;
    line-height: 22px;
    text-align: center;
    color: #233173;
    border-radius: 4px;
}

.ddsmoothmenu-v > ul > li.hsub .toggle-subs:hover {
    background-color: #eef2ff;
    color: #ec1d25;
}

.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: #27272a;
    background: #fff;
}

.ddsmoothmenu-v ul li a.selected {
    background: #233173;
    color: #fff;
    border-radius: 4px;
}

.ddsmoothmenu-v ul li a:hover {
    color: #233173;
    background-color: #f4f6fb;
    text-decoration: none;
    padding-left: 14px;
}

.ddsmoothmenu-v > ul > li ul {
    margin-top: 4px;
    margin-bottom: 6px;
    padding-left: 16px;
    display: none;
    border-left: 2px solid #233173;
    margin-left: 10px;
}

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

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

.ddsmoothmenu-v > ul > li ul li a {
    border: 0;
    padding: 6px 10px;
    font-size: 14px;
}

/* Flex Responsive Table Laws */
.flex-table-laws {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.flex-table-laws-inline .flex-table-laws {
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
}

.flex-table-laws-inline .flex-table-laws:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.flex-table-laws-inline .flex-table-laws:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

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

.flex-table-heading {
    border: 1px solid #e2e8f0;
    border-top: 0;
    padding: 10px 14px;
    background-color: #eef2ff;
    border-left: 4px solid #233173;
}

.flex-table-heading h2 {
    font-size: 16px;
    font-weight: 700;
    color: #233173;
    margin: 0;
}

.flex-table-heading a:hover {
    text-decoration: none;
    color: #ec1d25;
}

.flex-table-laws > .table-rows {
    -ms-display: flex;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.2s ease;
}

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

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

.flex-table-laws > .table-head {
    background-color: #233173;
    color: #fff;
    border-bottom: 2px solid #ec1a20;
}

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

.flex-table-laws > .table-rows > div {
    padding: 11px 12px;
    -ms-flex-shrink: 0;
    flex-shrink: 0;
    border-left: 1px solid #e2e8f0;
    line-height: 1.5;
}

.flex-table-laws > .table-head > div {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-left-color: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
}

.flex-table-laws > .table-head > div.a-center {
    justify-content: center;
}

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

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

.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:not(.table-head) > .c-intro > a {
    font-weight: 600;
    color: #27272a;
}

.flex-table-laws > .table-rows:not(.table-head) > .c-intro > a:hover {
    color: #0e62ac;
}

.flex-table-laws > .table-rows > .c-intro .l-intro {
    color: #52525b;
    font-size: 14px;
}

.flex-table-laws > .table-rows > .c-stt {
    -ms-flex: 0 0 55px;
    flex: 0 0 55px;
    max-width: 55px;
    font-weight: 600;
    color: #64748b;
}

.flex-table-laws > .table-head > .c-stt {
    color: #fff;
}

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

.flex-table-laws > .table-rows:not(.table-head) > .c-code a {
    font-weight: 700;
    color: #233173;
}

.flex-table-laws > .table-rows:not(.table-head) > .c-code a:hover {
    color: #ec1d25;
}

.flex-table-laws > .table-rows > .c-time {
    -ms-flex: 0 0 160px;
    flex: 0 0 160px;
    max-width: 160px;
    color: #475569;
    font-size: 14px;
}

.flex-table-laws > .table-head > .c-time {
    color: #fff;
}

.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 135px;
    flex: 0 0 135px;
    max-width: 135px;
}

.flex-table-laws > .table-rows > .c-file .laws-download li {
    margin-bottom: 4px;
}

.flex-table-laws > .table-rows > .c-file .laws-download li:last-child {
    margin-bottom: 0;
}

.flex-table-laws > .table-rows > .c-file .laws-download a {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: #0e62ac;
    background-color: #eef6ff;
    border: 1px solid #cce3fd;
    padding: 3px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.flex-table-laws > .table-rows > .c-file .laws-download a:hover {
    background-color: #233173;
    border-color: #233173;
    color: #fff;
    text-decoration: none;
}

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

.lawh3,
.pagetitle {
    margin-bottom: 15px;
}

@media (max-width: 676.98px), (max-width: 940px) and (min-width: 768px) {
    .flex-table-heading {
        padding: 10px 12px;
        border-radius: 6px;
        margin-bottom: 10px;
        border: 1px solid #e2e8f0;
        border-left: 4px solid #233173;
    }

    .flex-table-laws {
        border: 0;
        margin-bottom: 0;
        background-color: transparent;
        box-shadow: none;
    }

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

    .flex-table-laws > .table-rows,
    .flex-table-laws > .table-rows:last-child {
        margin-bottom: 15px;
        border: 1px solid #e2e8f0;
        flex-wrap: wrap;
        border-radius: 6px;
        background-color: #fff !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
        padding: 8px 4px;
    }

    .flex-table-laws > .table-rows > div {
        border: 0;
        -ms-order: 99;
        order: 99;
        padding: 4px 12px;
    }

    .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: 6px;
        padding-bottom: 8px;
        border-bottom: 1px dashed #e2e8f0;
        margin-bottom: 4px;
        width: 100%;
    }

    .flex-table-laws > .table-rows > .c-intro a:not(.btn) {
        font-size: 16px;
        font-weight: 700;
        color: #233173;
    }

    .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: 8px;
        margin-bottom: 0;
    }

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

    .formsearch {
        padding: 14px 12px 2px 12px;
    }

    .table-bordered > tbody > tr.hoatim > td:first-child,
    .table-bordered > tbody > tr > td.text-right:first-child {
        width: 125px !important;
        font-size: 13px;
    }
}

/* Headings & Page Title */
h1.pagetitle,
h2.pagetitle,
h3.pagetitle {
    font-size: 18px;
    font-weight: 700;
    color: #233173;
    line-height: 1.4;
    padding: 0 0 10px 0;
    margin: 0 0 18px 0;
    border-bottom: 2px solid #ec1a20;
    display: flex;
    align-items: center;
}

.generate_page {
    text-align: center;
    font-weight: bold;
    margin-top: 15px;
}

/* Style button */
.style-button {
    padding: 0 10px 0 0;
    height: 25px;
    cursor: pointer;
    display: inline-block;
    background-image: url('../images/laws/button.png');
    background-position: right top;
    background-repeat: no-repeat;
}

.style-button:hover {
    background-image: url('../images/laws/button.png');
    background-repeat: no-repeat;
    background-position: right bottom;
}

.style-button:hover span,
.style-button:hover a {
    background-repeat: no-repeat !important;
    background-position: left bottom;
    background-image: url('../images/laws/button.png');
}

.style-button span,
.style-button a {
    background-position: left top;
    line-height: 25px;
    padding-left: 10px;
    display: inline-block;
    background-repeat: no-repeat;
    background-image: url('../images/laws/button.png');
    font-weight: bold;
    color: #FFFFFF;
}

/* big icon */
.big-icon {
    height: 32px;
    padding: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    display: inline-block;
    width: 32px;
    margin-right: 8px;
    vertical-align: middle;
}

.bcourse {
    background-image: url('../images/laws/big-icon-pack.png');
}

.bdetail {
    background-position: -32px 0;
    background-image: url('../images/laws/big-icon-pack.png');
}

.bteacher {
    background-position: -64px 0;
    background-image: url('../images/laws/big-icon-pack.png');
}

.bcat {
    background-position: -96px 0;
    background-image: url('../images/laws/big-icon-pack.png');
}

/* small icon */
.small-icon {
    height: 16px;
    padding: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    display: inline-block;
    width: 16px;
    margin-right: 6px;
    vertical-align: middle;
}

.sreg {
    background-image: url('../images/laws/small-icon-pack.png');
}

.steacher {
    background-position: -16px;
    background-image: url('../images/laws/small-icon-pack.png');
}

.ssumary {
    background-position: -32px;
    background-image: url('../images/laws/small-icon-pack.png');
}

.sdetail {
    background-position: -48px;
    background-image: url('../images/laws/small-icon-pack.png');
}

.snumc {
    background-position: -64px;
    background-image: url('../images/laws/small-icon-pack.png');
}

.scv {
    background-position: -80px;
    background-image: url('../images/laws/small-icon-pack.png');
}

.slession {
    background-position: -96px;
    background-image: url('../images/laws/small-icon-pack.png');
}

.svideo {
    background-position: -112px;
    background-image: url('../images/laws/small-icon-pack.png');
}

.sdata {
    background-position: -128px;
    background-image: url('../images/laws/small-icon-pack.png');
}

.sfloder {
    background-position: -144px;
    background-image: url('../images/laws/small-icon-pack.png');
}

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

ul.list-item li {
    background-repeat: no-repeat;
    background-position: left 8px;
    background-image: url('../images/laws/ul-bull.png');
    padding-left: 12px;
    line-height: 1.6em;
    margin-bottom: 4px;
}

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

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

.center {
    text-align: center;
}

.infoerror {
    color: #ec1d25;
}

/* BLOCK TOP AREA CENTER */
div.blocktop10area {
    padding: 12px;
    margin: 0 0 15px 0;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: #f8fafc;
}

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

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

/* BLOCK SEARCH (Center & Vertical) */
.formsearch {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #233173;
    border-radius: 6px;
    padding: 18px 20px 4px 20px;
    margin: 0 0 20px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.formsearch.form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 14px;
}

.formsearch .form-control,
form[id^="ltablesearch"] .form-control {
    height: 40px;
    border-color: #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.formsearch .form-control:focus,
form[id^="ltablesearch"] .form-control:focus {
    border-color: #233173;
    box-shadow: 0 0 0 2px rgba(35, 49, 115, 0.12);
}

.formsearch .btn-primary,
form[id^="ltablesearch"] .btn-primary {
    height: 40px;
    background-color: #233173;
    border-color: #233173;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    padding: 8px 16px;
    transition: all 0.25s ease;
}

.formsearch .btn-primary:hover,
.formsearch .btn-primary:focus,
form[id^="ltablesearch"] .btn-primary:hover,
form[id^="ltablesearch"] .btn-primary:focus {
    background-color: #ec1d25;
    border-color: #ec1d25;
}

form[id^="ltablesearch"] .btn-danger {
    height: 40px;
    background-color: #ef4444;
    border-color: #ef4444;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    padding: 8px 16px;
}

form[id^="ltablesearch"] .control-label {
    font-weight: 600;
    color: #233173;
    margin-bottom: 5px;
}

form[id^="ltablesearch"] .ui-datepicker-trigger {
    cursor: pointer;
    margin-left: 6px;
    vertical-align: middle;
}

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

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

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

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

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

.block-law ul li {
    padding: 8px 0;
    margin: 0;
    border-bottom: 1px dashed #e2e8f0;
    line-height: 1.5;
}

.block-law ul li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.block-law ul li a {
    font-weight: 500;
    color: #27272a;
}

.block-law ul li a:hover {
    color: #0e62ac;
}

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

.block-law .item {
    padding-bottom: 10px;
    margin-bottom: 10px !important;
    border-bottom: 1px dashed #e2e8f0;
}

.block-law .item:last-child {
    border-bottom: 0;
}

.block-law .law-code {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.block-law .law-code a {
    color: #233173;
}

.block-law .law-code a:hover {
    color: #ec1d25;
}

.block-law .law-title {
    margin-bottom: 4px;
    font-size: 14px;
    color: #333;
}

.block-law .law-view {
    font-size: 12px;
    margin-bottom: 0;
    color: #64748b;
}

/* DETAIL PAGE */
h1.lawh3,
h2.lawh3,
h3.lawh3 {
    border-bottom: 2px solid #ec1a20;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    padding-bottom: 8px;
    margin-bottom: 15px;
    padding-top: 10px;
    margin-top: 0;
    color: #233173;
}

h1.lawh3 {
    font-size: 20px;
}

h2.subtitle,
h3.subtitle {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    padding-top: 10px;
    padding-bottom: 8px;
    margin-top: 10px;
    color: #233173;
    border-bottom: 2px solid #233173;
}

h2.subtitle a,
h3.subtitle a {
    color: #ec1d25;
}

/* Detail Metadata Table */
.table-bordered > tbody > tr.hoatim > td:first-child,
.table-bordered > tbody > tr > td.text-right:first-child {
    background-color: #f1f5f9;
    font-weight: 600;
    color: #233173;
    width: 180px !important;
    vertical-align: middle;
}

.table-bordered > tbody > tr.hoatim > td:last-child {
    vertical-align: middle;
}

a#btn-search {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-top: 9px;
    color: #233173;
    cursor: pointer;
}

a#btn-search:hover {
    color: #ec1d25;
}

.laws-download-file {
    margin-top: 0;
    margin-bottom: 20px;
}

.laws-download-file .list-group-item {
    border-color: #e2e8f0;
    padding: 12px 15px;
    background-color: #f8fafc;
    transition: background-color 0.2s ease;
}

.laws-download-file .list-group-item:hover {
    background-color: #f0f4ff;
}

.laws-download-file .list-group-item:first-child {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.laws-download-file .list-group-item:last-child {
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.laws-download-file .list-group-item > a {
    color: #233173;
    font-weight: 500;
}

.laws-download-file .list-group-item > a:hover {
    color: #ec1d25;
}

.laws-download-file .list-group-item .badge {
    float: right;
    display: inline-block;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    font-size: 13px;
    font-weight: 700;
    line-height: 28px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    background-color: #ec1d25;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.laws-download-file .list-group-item .badge:hover {
    background-color: #233173;
}

.laws-download-file .list-group-item .badge a {
    color: #fff;
    display: block;
}

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

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

.send_comm {
    width: 25px;
    height: 25px;
    background: url(../images/laws/comment.png) no-repeat center;
    background-size: 25px 25px;
    display: inline-block;
}

.comm_close {
    width: 25px;
    height: 25px;
    background: url(../images/laws/comment_close.png) no-repeat center;
    background-size: 20px 20px;
    display: inline-block;
}
