/*
    Tùy chỉnh Header
*/
/* Ẩn phần header, chỉ hiện Menu khi cuộn chuột */
header.fix > div:first-child {
    display: none;
}

/*
    Style Form Tìm Kiếm mới
*/
.search-form-container {}

.form-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.search-form {
    display: flex;
    flex-direction: column;
    padding: 30px;
    gap: 20px; /* Space between rows */
}

.form-row {
    display: flex;
    gap: 20px; /* Space between form groups in a row */
    width: 100%;
}

.form-group {
    flex: 1; /* Each group takes equal space */
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="date"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    box-sizing: border-box; /* Ensure padding and border are included in width */
    transition: border-color 0.2s ease-in-out;
}

.form-group input[type="text"]:focus,
.form-group input[type="date"]:focus {
    border-color: #007bff;
    outline: none;
}

.custom-select-ndh {
    position: relative;
    width: 100%;
}

.custom-select-ndh select {
    appearance: none; /* Hide default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    cursor: pointer;
    box-sizing: border-box;
    padding-right: 35px; /* Make space for custom arrow */
    transition: border-color 0.2s ease-in-out;
}

.custom-select-ndh select:focus {
    border-color: #007bff;
    outline: none;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none; /* Allow clicks to pass through to the select element */
}

.form-actions {
    display: flex;
    justify-content: flex-end; /* Align buttons to the right */
    gap: 10px;
    /*margin-top: 25px;*/
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-group {
        width: 100%;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
    .title-cong-ty .slogan {
        font-size: 22px !important;
    }
}


/**/
.nh-admin-bar ul>li:nth-child(1) {
    display: none;
}

.align-row-center > .container > .row > div, 
.align-row-center>.row>div {
    margin-bottom: auto !important;
    margin-top: auto !important;
}
.bg-main{
	background:var(--color-main);
}
.text-black {
    color: var(--black);
}
.pt-40{
    padding-top: 40px;
}
.pt-50{
    padding-top: 50px;
}
.pt-60{
    padding-top: 60px;
}
.pt-70{
    padding-top: 70px;
}
.pt-80{
    padding-top: 80px;
}
.pb-40{
    padding-bottom:40px;
}
.pb-50{
    padding-bottom: 50px;
}
.pb-60{
    padding-bottom: 60px;
}
.pb-70{
    padding-bottom: 70px;
}

.pb-80{
    padding-bottom: 80px;
}
.mb-20{
    margin-bottom: 20px;
}
.header-top {
    position: relative;
    background: #4ba4e5;
}
/* .header-top:before {
    background: url('../../assets/media/banner/banner.jpg');
    background-size: 100% , 100%;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    content: '';
    left: 0;
    top: 0;
    position: absolute;
    z-index: -2;
}

.header-top:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: #104183c2;
    top: 0;
    z-index: -1;
} */

.title-cong-ty {
    text-align: center;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 21px;
}
.title-cong-ty .slogan {
    font-size: 24px;
}
.search-section-form .input-group input.form-control {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.search-section-form .input-group .btn-submit {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    background: var(--white);
    border: 0;
    color: var(--color-main);
}
.timestemp {
    color: #fff;
    font-size: 14px;
}
.contact-right {
    position: fixed;
    left: 20px;
    bottom: 22px;
    z-index: 9;
}
.contact-right li.entry-content {
    list-style: none;
    margin-top: 20px;
}

.contact-right li.entry-content img {
    width: 47px;
    height: 47px;
}
.title-section span {
    padding: 10px;
    display: inline-block;
    position: relative;
}

.title-section span:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%);
    box-shadow: 3px 2px 50px rgb(255 255 255 / 22%), 0px 0px 20px 33px rgb(255 255 255 / 18%);
}
.title-section span.img {
    padding: 0;
    position: absolute;
    height: 100%;
    width: 200px;
    right: 0;
    z-index: 0;
}

.title-section span.img:before {
    display: none;
}

.title-section span.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}
.article-hot-bottom .article-title a {color: var(--color-black);font-weight: 700;}

.article-hot-bottom .article-title {
    position: relative;
    padding-left: 15px;
}

.article-hot-bottom .article-title:before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    width: 6px;
    height: 6px;
    background: #a9a9a9;
    border-radius: 50%;
}
.article-hot-top .inner-content span.post-date {
    margin-bottom: 10px;
    display: inline-block;
    font-style: italic;
}
.section-news-02 .article-hot-top .article-item {
    border-bottom: 1px dashed #000;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.item-banner img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}
.article-hot-bottom .article-title:last-child {
    margin-bottom: 0 !important;
}
.article-item-video .item-video {
    position: relative;
    padding-top: 56%;
}

.article-item-video .item-video iframe, .article-item-video .item-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.link-all-video {
    display: flex;
    justify-content: space-between;
}

.link-all-video a {
    display: inline-block;
    background: var(--red);
    border-radius: 20px;
    padding: 7px 25px;
    color: var(--white);
}
.section-brand>.row {
    margin-right: -5px;
    margin-left: -5px;
}

.section-brand>.row>div {
    padding-right: 5px;
    padding-left: 5px;
}

.item-img-brand {
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.item-img-brand img {
    object-fit: contain;
}
.list-article-name-img article.article-item {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.list-article-name-img article.article-item .inner-image {
    flex: 0 0 115px;
    max-width: 115px;
}

.list-article-name-img article.article-item .inner-content {
    flex: 1 1;
    padding-left: 15px;
}

.list-article-name-img article.article-item .inner-content .article-title {
    font-size: 14px;
}

footer {
    position: relative;
}
.banner-footer>.row>div {
    position: inherit;
}
.banner-footer .banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* background: var(--color-main); */
}
.banner-footer .banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--color-main);
}
.banner-footer .banner img {
    width: 100%;
    height: 100%;
    background-size: cover;
    object-fit: fill;
    opacity: 0.2;
}

.footer-contact-website {
    font-size: 1.8rem;
    position: relative;
}

.footer-contact-website a {
    font-weight: 700;
    color: var(--white);
}
.footer-contact-website:before {
    content: '';
    position: absolute;
    bottom: -15px;
    width: 300px;
    height: 1px;
    background: #dddddd52;
    left: 50%;
    transform: translateX(-50%);
}
.footer-menu-fanpage>ul.list-unstyled>li>a {
    display: inline-block;
    width: 35px;
    height: 35px;
    border: 1px solid var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 34px;
    color: var(--white);
    font-size: 15px;
}
.header-page-title .title-category {
    font-size: 20px;
    text-transform: uppercase;
}
article.article-detail .name {
    color: var(--color-main);
}
.title-bai-khac {
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.article-item-khac .inner-content .article-title {
    font-size: 14px;
}
@media (min-width:1200px){
    .section-list-khac>.row {
        margin-right: -7.5px;
        margin-left: -7.5px;
    }
    
    .section-list-khac>.row>div {
        padding-right: 7.5px;
        padding-left: 7.5px;
    }
    .menu-section > ul > li > a {
        display: block;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .menu-section > ul > li:hover > a {
        background: #0080D3;
    }
    
    .menu-section > ul > li {
        margin-left: 0;
        margin-right: 0;
    }
    .menu-section > ul > li > a.active {
        color: var(--white) !important;
    }
    .menu-section>ul {
        display: flex;
        justify-content: center;
    }
    .list-new-home>.container>.row>div:nth-child(1) {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-content: flex-start;
    }
    
    .section-new-100 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .section-news-50 {
        flex-basis: calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
    .article-item.article-item-02>.row>div {
        padding-right: 5px;
        padding-left: 5px;
    }
    
    .article-item.article-item-02>.row {
        margin-right: -5px;
        margin-left: -5px;
    }
    .container, .container-sm, .container-md, .container-lg, .container-xl {
        max-width: 1300px;
    }
    .menu-section .entry-menu {
        background-color: var(--color-main);
        padding: 0 !important;
    }
    
    .menu-section .entry-menu.dropdown {
        padding: 0;
    }
    
    .menu-section .menu-link {
        padding: 10px 15px;
        color: #fff !important;
    }
    
    .menu-section .entry-menu.dropdown li {
        border: 0;
    }
    
    .menu-section .menu-link:hover {
        background-color: #0080D3;
        color: #fff;
    }
    
    .menu-section .entry-menu.dropdown li:hover > a {
        color: #fff;
    }
    .fix {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid #e1e1e1;
        -webkit-animation-name: fadeInDown;
        -webkit-animation-duration: 5s;
        -webkit-animation-timing-function: linear;
        -webkit-animation-iteration-count: infinite;
        -webkit-animation-direction: normal;
        -webkit-animation-play-state: running;
        -webkit-animation-fill-mode: forwards;
        -moz-animation-name: anim_titles;
        -moz-animation-duration: 5s;
        -moz-animation-timing-function: linear;
        -moz-animation-iteration-count: infinite;
        -moz-animation-direction: normal;
        -moz-animation-play-state: running;
        -moz-animation-fill-mode: forwards;
        -webkit-animation-delay: 1s;
        -moz-animation-delay: 1s;
        -webkit-animation-iteration-count: 1;
        -moz-animation-iteration-count: 1;
        -webkit-animation-duration: .7s;
        -moz-animation-duration: .7s;
        -webkit-animation-delay: 0s;
        -moz-animation-delay: 0s;
        -webkit-animation-timing-function: ease-out;
        -moz-animation-timing-function: ease-out;
    }
}

@media (max-width:1200px){
    .search-section .form-dropdown {
        position: absolute;
        padding: 10px;
        background-color: #ffffff;
        width: 350px;
        top: 100%;
        left: auto;
        right: 0;
        z-index: 1000;
        margin-bottom: 0;
        -webkit-animation: nav_menu_anim_close 0.3s both;
        -o-animation: nav_menu_anim_close 0.3s both;
        animation: nav_menu_anim_close 0.3s both;
        -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        filter: opacity(0);
        visibility: hidden;
        -webkit-box-shadow: 0px 0px 3px rgb(0 0 0 / 15%);
        -moz-box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.15);
        box-shadow: 0px 0px 3px rgb(0 0 0 / 15%);
    }
    
    .entire-action-header {
        position: relative;
    }
    .entire-action-header:hover .form-dropdown {
        -webkit-animation: nav_menu_anim_open 0.3s both;
        -o-animation: nav_menu_anim_open 0.3s both;
        animation: nav_menu_anim_open 0.3s both;
        opacity: 1;
        filter: opacity(1);
        visibility: visible;
        pointer-events: unset;
    }
    
    .search-section.entire-action-header a.btn-action-header {
        display: inline-block;
        padding: 11px 11px 8px;
        background: var(--color-main);
        color: var(--white);
        border-radius: 5px;
    }
    .logo-section img {
        height: 8rem;
    }
    .menu-section > ul > li > a.active {
        color: var(--color-main) !important;
    }
    

}

@media (max-width:992px){
    .section-list-home-mb>.container>.row>div {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .album-item .album-title {
        font-size: 14px;
    }
    .title-cong-ty {
        font-size: 14px;
    }
}

@media (max-width:767px){
    .article-hot-top article.article-item .inner-image {
        margin-bottom: 10px !important;
    }
    .footer-contact-website {
        font-size: 14px;
    }
    .contact-right li.entry-content img {
        width: 40px;
        height: 40px;
    }
    
    .contact-right {
        left: 6px;
        bottom: 10px;
    }
    
    .contact-right li.entry-content {
        margin-top: 10px;
    }
    .section-news-02 .article-hot-top .article-item .article-description {
        margin-top: 0 !IMPORTANT;
    }
    .row {
        margin-right: -5px;
        margin-left: -5px;
    }
    
    .row>div {
        padding-right: 5px;
        padding-left: 5px;
    }
    .title-cong-ty {
        font-size: 11px;
    }
}
.footer-menu-fanpage>ul.list-unstyled>li>a img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}

/**
 * Tùy chỉnh style nội dung bài viết
 */
.container .article-content p {
    text-align: justify;
    text-indent: 16px;
}

iframe.iframe-pdf {
    min-width: 100%;
    min-height: 900px;
}