:root {
    --black: #000000;
    --white: #ffffff;
    --theme: #d12032;

    --border: #ececec;

    --text: #1e1e1e;
    --text2: #333333;
    --text3: #888888;

    --bg1: #e1e1e1;
    --bg2: #454545;

    --transition: all .2s linear;
}

/* all  */
.space {
    height: 500px;
    background-color: var(--white);
}

.box404 {
    height: 600px;
    width: 100%;
    position: relative;
    margin-top: 80px;
}

.box404 .adm-glyphicon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.box404 img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

html,
body {
    font-family: "Arimo", sans-serif;
    color: var(--text);
    font-weight: 400;
}

body {
    top: 0px !important;
}

body.over {
    position: fixed !important;
    top: 0;
    width: 100%;
}

html.stop {
    overflow: hidden;
    -webkit-overflow-scrolling: hidden;
}

img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.svg-div {
    display: none;
}

.wrap {
    max-width: 1150px;
    margin: 0 auto;
}

.adm-glyphicon span {
    background: url('./images/setting.png');
    background-size: cover;
    width: 12px;
    height: 12px;
    display: block;
}

.img-100 {
    position: relative;
    height: 0;
    overflow: hidden;
    display: block;
}

.img-100 img {
    object-fit: cover;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.img-100 iframe {
    object-fit: cover;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.wrap-img {
    padding-bottom: 100%;
}

button,
input,
a {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
    box-shadow: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: unset;
    font-weight: unset;
    margin: 0px;
    padding: 0px;
}

.cancel-style h1,
.cancel-style h2,
.cancel-style h3,
.cancel-style h4,
.cancel-style h5,
.cancel-style h6,
.cancel-style p {
    font-size: revert;
    font-weight: revert;
    margin: revert;
    padding: revert;
}

a {
    transition: var(--transition);
    color: var(--text);
}

a:hover,
a:focus {
    text-decoration: none;
    color: var(--text);
}

input,
button,
textarea,
select {
    outline: none;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

ol,
ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cancel-style ol,
.cancel-style ul,
.cancel-style li {
    list-style: revert;
    margin: revert;
    padding: revert;
}

.cancel-style img {
    /* width: auto !important; */
    max-width: 100% !important;
    height: auto !important;
}

@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.seo-h1 {
    width: 0;
    height: 0;
    opacity: 0;
}

.mb-on7 {
    display: none !important;
}

.mb-on9 {
    display: none !important;
}

.mb-off7 {
    display: block;
}

.mb-off9 {
    display: block;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* all end  */

/* header  */
.nav-box-box {
    height: 36px;
    border-top: 3px solid #13668f;
    background: #fbfbfb;
    border-bottom: 1px solid var(--border);
}

.nav-box-box form {
    margin-left: auto;
    display: block;
    width: 300px;
    max-width: 100%;
    position: relative;
    height: 100%;
}

.nav-box-box form input {
    width: 100%;
    height: 100%;
    border: 1px solid var(--border);
    padding: 0 50px 0 15px;
}

.nav-box-box form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 36px;
    border: none;
    background: var(--theme);
}

.nav-box-box form button:after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    z-index: 2;
    right: 35px;
    border: 6px solid transparent;
    border-right-color: var(--theme);
    transform: translateY(-50%)
}

.nav-box-box form button svg {
    color: var(--white);
}

.hlogo-left {
    padding-top: 24px;
}

.hlogo-left img {
    height: 90px;
    display: block;
    margin: 0 auto;
}

.hlogo-right img {
    width: 100%;
    height: auto;
}

.header-menu {
    margin-top: 6px;
}

.header-menu .lv1 {
    border-top: 1px solid var(--text);
    border-bottom: 1px solid var(--text);
}

.header-menu .lv1>li {
    display: inline-block;
    vertical-align: middle;
}

.header-menu .lv1>li>.link {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    padding: 12px 10px;
}

.header-menu .lv1>li.active>.link {
    color: var(--theme);
}

.header-menu .lv1>li>.link:hover {
    color: var(--theme);
}

/* 1. Trạng thái mặc định của menu */
.header-menu {
    width: 100%;
    background: transparent;
    /* Hoặc màu gốc của bạn */
    transition: all 0.3s ease;
    /* Hiệu ứng mượt */
    z-index: 999;
}

/* 2. Trạng thái khi dính (Class này sẽ do JS thêm vào) */
.header-menu.is-sticky {
    position: fixed;
    /* Dính chặt vào màn hình */
    top: 0;
    width: 100%;
    /* Full màn hình */
    background: #fff;
    /* Nền trắng như bạn muốn */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Bóng đổ */
    animation: slideDown 0.3s ease forwards;
    max-width: 1120px;
    margin-top: 0;
    /* Trượt từ trên xuống */
}

/* Hiệu ứng trượt xuống nhẹ nhàng */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Tùy chỉnh màu chữ menu khi nền trắng (nếu cần) */
.header-menu.is-sticky a.link {
    color: #333;
    /* Màu đen */
}

.menu-mb {
    display: none;
}

/* header end */

/* body  */
.home-body {
    padding: 5px 0;
}

.dongsk {
    position: relative;
    padding-left: 130px;
    margin-bottom: 6px;
}

.dongsk h2 {
    width: fit-content;
    font-size: 14px;
    font-weight: 600;
    background: var(--theme);
    padding: 6px 15px;
    color: var(--white);
    position: absolute;
    top: 0;
    left: 0;
}

.dongsk .item .link {
    font-size: 15px;
    display: block;
    padding: 2px 5px 2px 15px;
    position: relative;
    background-color: var(--bg1);
    border-radius: 5px;
    white-space: nowrap;
}

.dongsk .item .link::after {
    border: 3px solid #f00;
    border-radius: 5px;
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
}

/* news-item1  */
.news-img .wrap-img {
    padding-bottom: 75%;
}

.news-img {
    position: relative;
}

.news-img .back-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.news-img .back-screen::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    opacity: 0.4;
    z-index: 1;
}

.news-img .back-screen svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.news-img:hover .back-screen {
    opacity: 1;
    visibility: visible;
}

.news-type1 .news-img {
    margin-bottom: 15px;
}

.news-type1 .news-text .news-title {
    font-size: 18px;
    font-weight: 600;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-type1 .news-text .news-title:hover {
    color: var(--theme);
}

/* news-item1 end */

/* news-item2 */
.box1 .news-type2:not(:last-child) {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--border);
}

.news-type2 .news-img {
    float: left;
    width: 100px;
    margin-right: 10px;
}

.news-type2 .news-text {
    float: left;
    width: calc(100% - 110px);
}

.news-type2 .news-text .news-title {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 16px;
}

/* news-item2 end */
.border-left {
    border-left: 3px solid var(--border);
}

.box1-bot {
    margin-left: -5px;
    margin-right: -5px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.box1-bot .news-type1 {
    float: left;
    width: 20%;
    padding-left: 5px;
    padding-right: 5px;
}

.box1-bot .news-type1 .news-text .news-title {
    font-weight: 400;
}

.box-multi {
    padding: 15px 0;
}

.main-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--theme);
    border-bottom: 2px solid var(--theme);
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.box-multi .news-type2:not(:last-child) {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--border);
}

.body-side img {
    width: 100%;
}

.body-side img:not(:last-child) {
    margin-bottom: 15px;
}

.footer-top {
    padding: 30px 0;
}

.footer-top .footer-link {
    display: block;
    width: fit-content;
    margin: 0 auto;
    font-size: 24px;
    text-transform: uppercase;
    color: var(--theme);
}

.footer-menu {
    margin-bottom: 20px;
}

.footer-menu .fmenu-item {
    float: left;
    background-color: var(--theme);
    padding: 13px 0;
}

.footer-menu .fmenu-item .link {
    text-align: center;
    display: block;
    color: var(--white);
    border-right: 1px solid var(--white);
}

.footer-menu .fmenu-item .link:hover {
    color: var(--black);
}

.footer-menu .fmenu-item:last-child .link {
    border: none;
}

.footer-info p,
.footer-info a {
    margin-bottom: 10px;
    display: block;
}

.footer-social .social-link {
    display: inline-block;
    margin-right: 5px;
}

.footer-social .social-link img {
    height: 50px;
    width: auto;
}

.footer-copyright {
    border-top: 1px solid var(--text);
    margin-top: 20px;
    padding: 8px 0;
}

.body-side {
    position: relative;
}

.body-side-in {
    position: sticky;
    top: 0;
}

/* body end */

/* news list  */
.nl-body {
    padding: 16px 0;
}

.nl-body .breadcrumb_custom li {
    display: inline-block;
    position: relative;
}

.nl-body .breadcrumb_custom li:last-child {
    font-weight: 600;
}

.nl-body .breadcrumb_custom li:not(:last-child) {
    margin-right: 30px;
}

.nl-body .breadcrumb_custom li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -17px;
    top: 4px;
    background-image: url('./images/Vector.svg');
    width: 6px;
    height: 12px;
    /* transform: scale(0.9); */
    background-repeat: no-repeat;
    background-size: cover;
}

.nl-title {
    font-size: 24px;
    color: var(--theme);
    text-transform: uppercase;
    text-align: center;
    padding: 20px 0;
}

.box-main {
    padding-top: 20px;
}

.box-main .cusrow {
    margin-left: -5px;
    margin-right: -5px;
}

.box-main .cuscol {
    padding-left: 5px;
    padding-right: 5px;
}

.box-main .news-type1 {
    margin-bottom: 10px;
}
.nd-content a {
    color: #0782C1;
}
.nl-side-title {
    text-transform: uppercase;
    font-weight: 600;
    background: var(--theme);
    color: var(--white);
    padding: 15px 15px;
    margin: 0 0 10px;
}

.nl-side .news-type2 {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border);
}

.paging {
    width: fit-content;
    margin: 10px auto;
}

.paging span {
    display: inline-block;
}

.paging a {
    display: block;
    width: 40px;
    height: 36px;
    padding: 8px 0;
    background-color: #f1f1f1;
    color: var(--text);
    margin: 0 1px;
    text-align: center;
    border-radius: 4px;
}

.paging a:hover,
.paging .current a {
    background-color: var(--theme);
    color: var(--white);
}

.box-main {
    margin-bottom: 15px;
}

.nl-side {
    position: relative;
}

.nl-side-in {
    position: sticky;
    top: 0;
}

.nl-body .cus-row2 {
    margin-left: -5px;
    margin-right: -5px;
}

.nl-body .cus-col2 {
    padding-left: 5px;
    padding-right: 5px;
}

.nl-child {
    background-color: #f0f0f0;
    padding: 5px 10px;
    margin: 15px 0;
}

.nl-child li {
    display: inline-block;
    vertical-align: middle;
    margin: 5px 8px 5px 0;
}

.nl-child li .link {
    display: block;
    padding: 5px 10px 5px 20px;
    font-size: 11px;
    background-color: var(--white);
    text-transform: capitalize;
    border: 1px solid #ccc;
    position: relative;
}

.nl-child li .link::after {
    content: "";
    background-image: url(./images/righttt.svg);
    position: absolute;
    top: 8px;
    left: 10px;
    height: 8px;
    width: 8px;
    background-repeat: no-repeat;
    background-size: cover;
}

/* news list end */

/* news detail  */
.nd-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 28px;
    margin: 0 0 10px;
}

.nd-date {
    color: #858585;
    margin: 0 0 5px;
}

.nd-share {
    margin: 0 0 30px;
}

.nd-share .nd-share-item {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
}

.nd-share-item-box {
    position: absolute;
    bottom: calc(100% + 4px);
    background: #dff0d8;
    color: #3c763d;
    z-index: 2;
    width: 80px;
    text-align: center;
    border-radius: 3px;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.nd-share-item-box::after {
    content: " ";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: calc(100% + 4px);
    z-index: 2;
    left: 6px;
    border: 6px solid transparent;
    border-top-color: #dff0d8;
    transform: translateY(-50%);
}

.nd-share-item-box.open {
    opacity: 1;
    visibility: visible;
}

.nd-des {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 20px;
}

.nd-related {
    margin-top: 30px;
}

.ndr-title {
    text-align: center;
    font-size: 24px;
    color: var(--theme);
    margin: 0 0 20px;
    text-transform: uppercase;
}

.ndr-item {
    margin-bottom: 30px;
    box-shadow: 0 0px 5px rgba(0, 0, 0, .2);
}

.ndr-item .news-text {
    padding: 20px;
}

.ndr-item .news-text .news-title {
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ndr-item .news-time {
    font-size: 12px;
    color: #aaaaaa;
    margin: 0 0 10px;
}

.ndr-item .news-des {
    color: #666666;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* news detail end */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background-color: var(--theme);
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: var(--transition);
}

.back-to-top.scroll {
    opacity: 1;
    visibility: visible;
}

.back-to-top svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
}

@media only screen and (max-width: 991px) {
    .mb-on9 {
        display: block !important;
    }

    .mb-off9 {
        display: none !important;
    }

    .footer-top {
        padding: 20px 0;
    }

    .footer-top .footer-link {
        font-size: 14px;
    }

    .nav-box-box {
        height: 32px;
    }

    .nav-box-box form {
        width: 100%;
    }

    .nav-box-box form button {
        width: 32px;
    }

    .hlogo-left {
        padding-top: 5px;
    }

    .hlogo-left img {
        height: 70px;
    }

    .header-menu .lv1 {
        display: none;
    }

    .menu-mb {
        display: block;
        padding: 7px 10px;
        border-top: 1px solid #a2a9ae;
        border-bottom: 1px solid #a2a9ae;
        position: relative;
        min-height: 50px;
    }

    .menu-mb>a>svg {
        color: var(--theme);
        transform: translateY(3px);
    }

    .menumb-box {
        position: absolute;
        top: calc(100% + 1px);
        z-index: 99;
        width: 100%;
        left: 0;
        background: var(--white);
        padding-bottom: 10px;
    }

    .menumb-box .link svg {
        transform: scale(1.2);
    }

    .menumb-box .link {
        display: block;
        padding: 10px 10px;
        border-bottom: 2px solid var(--theme);
        text-transform: uppercase;
    }

    .box-multi .news-type1,
    .box1 .news-type1 {
        margin-bottom: 15px;
    }

    .box1-bot .news-type1 {
        width: 100%;
    }

    .footer-menu {
        width: 100%;
        overflow-y: hidden;
        overflow-x: auto;
        white-space: nowrap;
    }

    .footer-menu .fmenu-item {
        float: unset;
        padding: 10px 0;
        width: fit-content !important;
        display: inline-block;
        position: relative;
    }

    .footer-menu .fmenu-item .link {
        padding: 0 10px;
    }

    .footer-menu .fmenu-item::after {
        content: "";
        width: 10px;
        height: 100%;
        top: 0;
        right: -10px;
        background-color: var(--theme);
        position: absolute;
    }

    .nav-box-box form button:after {
        right: 32px;
    }
}

@media only screen and (max-width: 767px) {
    .mb-on7 {
        display: block !important;
    }

    .mb-off7 {
        display: none !important;
    }
}