﻿.btn-fs-text-voice {
    padding: 0px 8px;
    background: #f6f4f4;
    border-radius: 15px;
    margin-left: 8px;
    margin-right: 8px;
}

    .btn-fs-text-voice a {
        font-size: 18px;
        color: #1192e2;
        margin: 5px;
    }

.clampline {
    overflow: hidden;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    display: -webkit-box;
}

.line2 {
    -webkit-line-clamp: 2;
}

.line3 {
    -webkit-line-clamp: 3;
}

.line4 {
    -webkit-line-clamp: 4;
}

a {
    color: #000;
    text-decoration: none;
}

    a:hover {
        color: #fa8a0a;
        text-decoration: none;
    }

.list-items-category h6 a:hover {
    color: #fa8a0a;
}


/*---------TAB CONTROL------------------------*/

.mainsubnav {
    margin-top: 5px;
}

    .mainsubnav ul {
        background: transparent;
        list-style: none;
        padding: 0px;
        width: 100%;
        text-align: left;
        border: 1px solid rgba(0,0,0,.125);
    }

        .mainsubnav ul li {
            position: relative;
            width: 100%;
            height: auto;
            line-height: 40px;
            border-bottom: 1px solid rgba(0,0,0,.125);
        }

        .mainsubnav ul .thefirst {
        }

        .mainsubnav ul li a {
            text-decoration: none;
            padding: 8px 16px;
            display: block;
            line-height: 1.5;
        }

    .mainsubnav li:hover {
        background: transparent;
    }

    .mainsubnav .sub-menu {
        position: absolute;
        left: 100%;
        top: 0px;
        min-width: 200px;
        display: none;
        text-align: left;
        border-left: 1px solid rgba(0,0,0,.125);
        background: #fff;
        box-shadow: 5px 5px 15px 0px #bbbbbb75;
        z-index: 9;
    }

    .mainsubnav li:hover .sub-menu {
        display: block;
        color: red;
    }

    .mainsubnav .sub-menu2 {
        position: absolute;
        left: 100%;
        top: 0;
        min-width: 200px;
        border-left: 1px solid rgba(0,0,0,.125);
        display: none;
        background-color: #fff;
        z-index: 9;
    }

    .mainsubnav .sub-menu li:hover .sub-menu2 {
        display: block;
    }

    .mainsubnav .sub-menu3 {
        position: absolute;
        left: 100%;
        top: 0;
        min-width: 200px;
        border-left: 1px solid rgba(0,0,0,.125);
        display: none;
        max-width: 350px;
        background-color: #fff;
        z-index: 9;
    }

    .mainsubnav .sub-menu2 li:hover .sub-menu3 {
        display: block;
    }

.toggle-right > a {
    position: relative;
}

    .toggle-right > a::after {
        content: '\f105';
        display: block;
        position: absolute;
        text-align: right;
        right: 5px;
        font-family: "Font Awesome 6 Free";
        font-size: 14px;
        font-weight: 600;
        top: 20%;
        color: #a3a3a3;
    }

.content-meta-content .fancybox-content {
    display: inline;
    padding: 0;
}
/*Cau hinh control in banner*/

.accordion-button:not(.collapsed) {
    color: unset !important;
}

.navbar-desktop-banner {
    position: absolute;
    width: 100%;
    z-index: 2;
}

    .navbar-desktop-banner .container {
        position: relative;
    }

    .navbar-desktop-banner .header_banner_body {
        float: right;
        display: flex;
        flex-direction: column;
        position: relative;
        padding: 10px 0px;
    }

        .navbar-desktop-banner .header_banner_body .header_banner_search {
            order: 3;
            margin: 10px 0px;
        }

        .navbar-desktop-banner .header_banner_body .nav-item {
            order: 0;
            position: absolute;
            right: 0;
        }

        .navbar-desktop-banner .header_banner_body .header_banner_login {
            order: 1;
            position: relative;
            left: 0;
            margin-top: 2px;
            text-align: right;
            margin-right: 35px;
            display: flex;
            flex-wrap: nowrap;
            justify-content: space-around;
        }

    .navbar-desktop-banner .nav-item img {
        height: 23px;
        margin-top: 5px;
        margin-right: 5px;
        border-radius: 3px;
        border: 1px solid #4783ff;
    }

    .navbar-desktop-banner .form-search-header {
    }

    .navbar-desktop-banner .nav-item {
    }

    .navbar-desktop-banner .box-search-nav {
        display: block !important;
    }

.layout-wd-5 .navbar-desktop-banner .box-search-nav input,
.layout-wd-5 .navbar-desktop-banner button.btn {
    background-color: #fbfbfbc5 !important;
    border: 1px solid #4783ff;
}

.navbar-desktop-banner .box-search-nav input::placeholder {
    color: #333;
}

.navbar-desktop-banner .box-search-nav input::-ms-input-placeholder {
    color: #333;
}

.navbar-desktop-banner .btn-outline-secondary i {
    display: block;
    color: #333;
}

.navbar-desktop-banner .btn-outline-secondary {
    display: block;
    border: 1px solid #4783ff;
    margin-left: 2px;
    background: #4783ff !important;
    padding: 8px;
}

.navbar-desktop-banner .login-sign-in-users,
.navbar-desktop-banner .login-sign-out-users {
    color: #4783ff;
    font-weight: bold;
    border: 1px solid #4783ff;
    border-radius: 4px;
    padding: 1px 8px;
    width: auto;
    display: inline-block;
    text-align: center;
    min-width: 110px;
    margin-right: 5px;
}


@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (orientation:portrait) {
    .navbar-desktop-banner .form-search-header {
        display: none !important;
    }

    .navbar-desktop-banner .login-sign-in-users,
    .navbar-desktop-banner .login-sign-out-users {
        margin-right: 5px;
        width: auto;
    }

    #nav_header .btn-login-sign-in-users {
        display: none !important;
    }
}


.list-article h4,
.list-article .desc-title {
    text-align: center;
}

/*Wd15,16*/
.card-box-items {
    position: relative;
    overflow: hidden;
}

.card-body-box {
    position: absolute;
    margin: 0 auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    display: flex;
    text-align: center;
    color: #fff;
    align-items: center;
    justify-content: center;
    z-index: 9;
    padding: 20px 10px;
    cursor: pointer;
}

    .card-body-box .desc {
        display: none;
        transition-duration: .2s;
        transition-property: all;
        transition-timing-function: cubic-bezier(.4, 0, .2, 1);
        bottom: -100%;
    }

    .card-body-box:before {
        content: "";
        height: 40%;
        left: 0;
        position: absolute;
        bottom: 0%;
        transition-duration: .5s;
        transition-property: all;
        transition-timing-function: cubic-bezier(.4, 0, .2, 1);
        width: 100%;
        z-index: 2;
    }

    .card-body-box:before {
        background: linear-gradient(180deg, transparent, #26492ac9);
        opacity: .7;
    }

    .card-body-box h5 {
        position: absolute;
        bottom: 10%;
        transition-duration: .2s;
        transition-property: all;
        transition-timing-function: cubic-bezier(.4, 0, .2, 1);
        padding: 10px 20px;
        z-index: 9;
    }

.card-box-items:hover .card-body-box h5 {
    bottom: 40%;
    font-size: 20px;
    text-shadow: 0 2px #333;
}

.card-box-items:hover .card-body-box::before {
    background: linear-gradient(180deg, transparent, #427a48c9);
    height: 100%;
    left: 0;
    position: absolute;
    bottom: 0%;
}

.card-box-items:hover .card-body-box .desc {
    position: absolute;
    bottom: 0%;
    display: block;
    z-index: 9;
    padding: 10px;
}


/*------------------ITEM SLIDER Box--------------*/

.header-title-box-f {
    position: absolute;
    top: 10px;
    background: #850404c7;
    padding: 8px 15px;
    border-radius: 0px 8px 8px 0px;
    z-index: 9;
}

    .header-title-box-f h4 {
        font-size: 1.0rem;
        font-weight: bold;
        position: relative;
        margin-bottom: 2px;
    }

        .header-title-box-f h4 a::after,
        .header-title-box-f h4 a::before {
            content: '';
            position: absolute;
            left: 5px;
            top: 5px;
            background-color: #fff;
            height: 100%;
            width: 2px;
        }

        .header-title-box-f h4 a::after {
            left: -1px;
            top: 0px;
        }

        .header-title-box-f h4 a::before {
        }

        .header-title-box-f h4 a {
            color: #fff;
            text-transform: uppercase;
            list-style: none;
            text-decoration: none;
            padding-left: 15px;
            padding-right: 15px;
        }

.article-thumbnail {
    width: 100%;
    aspect-ratio: 3 / 2;
    position: relative;
    background: #f1f1f1;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
}

    .article-thumbnail img {
        position: absolute;
        object-fit: cover;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition: 0.5s ease-in-out;
    }

.page-content h5 {
    font-weight: bold;
    font-size: 30px;
    line-height: 39px;
}

.content-meta-desc {
    font-weight: bold;
    margin: 20px 0px !important;
}

.nav-top .navbar-nav .nav-link {
    font-size: 15px !important;
}

.wd-section-menu-body.sticky,
.wd-section-menu.sticky {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 99;
    box-shadow: 0 0 5px #232121;
}

.iframe-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 tỷ lệ (9/16 = 0.5625) */ /* Nếu bạn muốn tỷ lệ khác, thay đổi giá trị padding-top */
}

    .iframe-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
.label-new {
    color: #fff;
    padding: 3px 8px;
    font-weight: bold;
    font-size: 12px;
    border-radius: 5px;
    animation: blink 1s infinite;
}
@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}