﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap');

:root {
    --ck-content-font-size: 14px;
    --ck-content-font-family: 'GoogleSans'
}

[class*="NoiDung"] .page-content {
    text-align: left;
    width: 100%;
}

[class*="NoiDung"] .content-meta-content table td p:last-of-type {
    margin-bottom: 0;
}

[class*="NoiDung"] .content-meta-content table td p {
    padding: 2px 0;
}

.ck-fullscreen__main-wrapper .ck-fullscreen__editable .ck.ck-editor__editable:not(.ck-editor__nested-editable) {
    width: 1000px;
    max-width: 1000px;
}

html::-webkit-scrollbar{
    width: 8px;
}

html::-webkit-scrollbar-track {
    background-color: #fff;
}

html::-webkit-scrollbar-thumb{
    background-color: #8b8b8b;
    border-radius: 10px;
}

html::-webkit-scrollbar-thumb:hover{
    background-color: #636363;
}

.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;
    }
}


.loading {
    position: fixed;
    z-index: 9999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 1500ms infinite linear;
    -moz-animation: spinner 1500ms infinite linear;
    -ms-animation: spinner 1500ms infinite linear;
    -o-animation: spinner 1500ms infinite linear;
    animation: spinner 1500ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@font-face {
    font-family: "GoogleSans";
    src: url('../font/GoogleSans-Regular.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: "GoogleSans";
    src: url('../font/GoogleSans-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "GoogleSans";
    src: url('../font/GoogleSans-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: "GoogleSans";
    src: url('../font/GoogleSans-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: "GoogleSans";
    src: url('../font/GoogleSans-Bold.ttf') format('truetype');
    font-weight: 700;
}

@font-face {
    font-family: "GoogleSans";
    src: url('../font/GoogleSans-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

html,
body {
    font-family: "GoogleSans", "Inter", sans-serif
}

html {
    scroll-behavior: smooth;
}

#progress {
    position: fixed;
    bottom: 20px;
    right: 10px;
    height: 60px;
    width: 60px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

#progress-value {
    display: block;
    height: calc(100% - 10px);
    width: calc(100% - 10px);
    background-color: #ffffff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 35px;
    color: #001a2e;
}
