﻿.siteCenter {
    width: 1182px;
    margin: 0 auto;
}
body {
    margin: 0;
}
.header-top {
    padding: 35px 0 8px;
}

.header-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
}

.fw {
    width: 100%;
}
.lt {
    float: left;
}
a {
    text-decoration: none;
    color: inherit;
    border: none;
    transition: 0.25s;
}
img {
    max-width: 100%;
    vertical-align: middle;
    border: none;
}
.rt {
    float: right;
}
.link-direction {
    border: 1px solid #eaeaea;
    float: left;
    margin-left: 8px;
    padding: 4px 15px;
}
.logokten {
    padding-top: 2px;
}
.ico-space {
    background: url(/Content/img/ico-ba-cham.png) 0 0 repeat-y;
    width: 7px;
    height: 35px;
    margin-left: 6px;
}
#frmSearch {
    width: 258px;
    height: 35px;
    border: 1px solid #dedede;
    float: right;
    border-radius: 35px;
}
    #frmSearch input[type="text"] {
        width: calc(94% - 35px);
        height: 33px;
        float: left;
        padding-left: 15px;
        line-height: 31px;
        background: transparent;
    }

button, input {
    outline: 0;
    border: 0;
}
#frmSearch button[type="submit"] {
    background: url(/Content/img/ico-search.png) center 6px no-repeat;
    width: 33px;
    height: 33px;
    float: right;
    cursor: pointer;
}
.hot-tags {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    color: #666;
    height: 35px;
    line-height: 35px;
    margin-right: 10px;
}
.ico-flashtag {
    background: url(/Content/img/ico-flashtag.png) 0 0 no-repeat;
    padding-left: 22px;
    color: #e31f28;
}
.link-hottag::before {
    content: '#';
}
.clearfix::after {
    content: "";
    display: block;
    width: 100%;
    clear: both;
    height: 0;
    overflow: hidden;
}
#nav {
    background-color: #fff;
}
.main-menu {
    height: 44px;
    color: #000;
    border-top: 1px solid #011831;
    border-bottom: 4px solid #000;
    margin-top: 0;
    margin-bottom: 0;
}
    .main-menu .item-menu:first-child {
        padding-left: 0;
    }
.ico-home {
    background: url(/Content/img/ico-home-red.png) 0 10px no-repeat;
    width: 17px;
    height: 44px;
    float: left;
}
.item-menu {
    float: left;
    position: relative;
}

.link-menu {
    font-family: 'RobotoCondensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    line-height: 44px;
    padding: 0 8px;
}

.sub-menu {
    display: block;
    min-width: 280px;
    background-color: #f5f5f5;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2;
    opacity: 0;
    transform: rotateX(-90deg);
    box-shadow: 0 2px 5px rgb(0 0 0 / 20%);
    transform-origin: 0 0;
    transition: opacity 0.3s, transform 0.3s;
}

ol, ul {
    list-style: none;
    padding-left: 0 !important;
}

/* Hiển thị sub-menu khi hover vào item-menu */
.main-menu .item-menu:hover .sub-menu {
    opacity: 1;
    transform: rotateX(0deg);
}

/* Định dạng các mục trong sub-menu */
.sub-menu .menu-tab {
    color: #000;
    padding: 10px;
    border-top: 1px solid #ebebeb;
    font-weight: 700;
    font-size: 14px;
    position: relative;
}

    .sub-menu .menu-tab .gray-51 {
        color: #000; /* Màu chữ mặc định là đen */
        transition: color 0.3s, padding-left 0.3s;
    }

    /* Hiệu ứng hover cho từng mục trong sub-menu */
    .sub-menu .menu-tab:hover .gray-51 {
        padding-left: 25px; /* Dịch sang phải để chừa chỗ cho icon */
        color: #ED1D26; /* Chuyển sang màu đỏ */
    }

    /* Icon trước mỗi mục trong sub-menu */
    .sub-menu .menu-tab .gray-51::before {
        content: '\f054';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        opacity: 0; /* Ẩn icon mặc định */
        padding-right: 8px;
        position: absolute;
        top: 10px;
        left: 10px;
        transition: opacity 0.3s;
    }

    /* Hiển thị icon khi hover vào mục trong sub-menu */
    .sub-menu .menu-tab:hover .gray-51::before {
        opacity: 1; /* Hiện icon */
    }
.item-menu.rt {
    float: right;
    padding-right: 0;
    margin-top: -44px;
}
.close-menu {
    margin-top: -32px !important;
}
.ico-bar {
    background: url(/Content/img/ico-bar-red.png) 0 center no-repeat;
    width: 16px;
    height: 44px;
    cursor: pointer;
}
.main-menu::after {
    content: '';
    display: block;
    position: relative;
    bottom: -1px;
    background-color: #212121;
    height: 1px;
    width: 100%;
}
body {
    font: 400 14px / 1.4 'NotoSans', sans-serif;
    min-width: 1200px;
    color: #000;
}
.main-menu-special {
    position: absolute;
    width: 100%;
    background: #f0f0f0;
    z-index: 1;
    height: calc(100vh - 0px);
    display: none;
}
    .main-menu-special.active {
        display: block; /* Hiển thị menu khi có class 'active' */
    }
.navigation {
    max-height: calc(100vh - 40px);
    height: 100%;
    overflow-y: clip;
    padding-bottom: 30px;
}
.main-menu-item:nth-child(5n+1) {
    clear: both;
}

.main-menu-item {
    width: 20%;
    float: left;
    padding: 0 15px;
    margin: 5px 0;
}
    .main-menu-item a {
        width: 100%;
        float: left;
        font-size: 15px;
        line-height: 24px;
    }

.navigation-link {
    font-weight: 700;
}
.main-menu .item-menu:hover .ico-home, .main-menu .item-menu:hover .ico-bar {
    background-color: transparent;
}
.close-menu {
    display: none; /* Ẩn nút đóng ban đầu */
    cursor: pointer;
    font-size: 20px;
}
.ico-close {
    background: unset;
    padding-right: 18px;
    margin-top: 5px;
    margin-right: 5px;
    color: red;
}
    .ico-close::before {
        content: '\f00d';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 18px;
    }
.header-info {
    border-bottom: 1px solid #ebebeb;
}
.latest-news {
    margin: 10px 0;
    position: relative;
}

.latest-news {
    width: 750px;
}

.marquee-head {
    font-size: 20px;
    color: #e31f28;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.marquee-links {
    float: left;
    margin-left: 20px;
    overflow: hidden;
}
    .marquee-links a {
        font-size: 16px;
        margin-right: 60px;
        font-weight: 500;
    }
.main-menu-special {
    position: relative; /* Hoặc position: absolute tùy thuộc vào bố cục */
    z-index: 1000; /* Giá trị z-index cao để đảm bảo nổi lên trên */
}
.social-page {
    width: 100px;
    margin: 6px 0;
}
    .social-page a {
        color: #d9d9d9;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        border: 1px solid #d9d9d9;
        float: left;
        text-align: center;
        line-height: 27px;
        font-size: 12px;
        margin-left: 6px;
        
    }
#footer {
    background: #f4c7a8;
}
.footer-info {
    padding: 30px 0;
}
.f-flex {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
.footer-logo {
    width: 226px;
    margin-right: 30px;
}
.footer-img img {
    mix-blend-mode: multiply;
}
.footer-content p {
    font-size: 14px;
}
.cms {
    font-size: 14px;
    color: #999;
    padding: 14px 0;
    border-top: 1px solid #d7d7d7;
    display: block;
}
.goTop:hover {
    opacity: .9;
}

.goTop {
    width: 45px;
    height: 45px;
    line-height: 45px;
    background: #3b3f62;
    opacity: .7;
    border-radius: 5px;
    font-size: 24px;
    display: none;
    position: fixed;
    bottom: 150px;
    right: 10px;
    cursor: pointer;
    z-index: 999;
    text-align: center;
    color: #fff;
}

