/*
Theme Name: flatsome-child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


/*************** ADD MOBILE ONLY CSS HERE  ***************/
@media only screen and (max-width: 48em) {
    
}

.section-title-container .section-title-normal{
    border: none;
}

.section-title-container .section-title-normal .section-title-main{
    border-bottom: 6px solid #00CC01;
}

.section-title-container{
    margin: 0 auto;
    padding: 0;
}

.section-title-container .section-title-center b{
    display: none;
}

.section-title-container .section-title-center {
    justify-content: center;
}

.section-title-container .section-title-center .section-title-main{
    font-size: 30px;
}

/* .box-games .game-btn-hot{
    color: #fff;
    font-size: 12px;
    margin: 0;
    background-color: #ffb639 !important;
    padding: 0px 5px;
    max-width: inherit !important;
    min-height: initial;
    line-height: normal;
    font-weight: 500;
    margin-bottom: 10px;
}

.box-games .game-btn-new{
    color: #fff;
    font-size: 12px;
    margin: 0;
    background-color: #ff7600 !important;
    padding: 0px 5px;
    max-width: inherit !important;
    min-height: initial;
    line-height: normal;
    font-weight: 500;
    margin-bottom: 10px;
}

.box-games p{
    margin: 0;
    color: #fff;
}

.box-games .text-small{
    font-size: 14px;
} */

footer .ux-menu-link__link{
    color: #fff;
    border-bottom: 1px dotted #777 !important;
    font-size: 15px;
}

.item-box-game{
    background: #262624;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: opacity 0.2s ease-in-out;
}

.item-box-game:hover .item-hover{
    opacity: 1;
    visibility:visible;
    transition: opacity 0.2s ease-in-out;
}

.item-box-game .item-head{
    display: flex;
    justify-content: center;
    gap: 5px;
}

.item-box-game .item-head small{
    color: #fff;
    font-size: 12px;
    margin: 0;
    padding: 0px 5px;
    max-width: inherit !important;
    min-height: initial;
    line-height: normal;
    font-weight: 500;
    margin-bottom: 10px;
}

.item-box-game .item-head small.game-btn-new{
    background-color: #ff7600;
}

.item-box-game .item-head small.game-btn-hot{
    background-color: #ffb639;
}

.item-box-game .item-body img{
    max-width: 100%;
}

.item-box-game .item-body{
    margin: 10px 0;
    text-align: center;
}

.item-box-game .item-bottom{
    text-align: center;
}

.item-box-game .item-bottom p{
    margin: 0;
    color: #fff;
    text-align: center;
    line-height: 1;
}

.item-box-game .item-bottom small{
    text-align: center;
    color: #fff;
}

.item-box-game .item-hover{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(214,159,57,0.95);
    padding: 10px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
}

.item-box-game .item-hover p{
    margin: 0;
    color: #fff;
    line-height: 1;
}

.item-box-game .item-hover small{
    text-align: center;
    color: #fff;
}

.item-box-game .item-hover .icon{
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.item-box-game .item-hover .icon svg{
    width: 60px;
    height: 60px;
    color: rgba(214,159,57,0.95);
}

.box.box-vertical.box-text-bottom.box-blog-post.has-hover {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 1px 2px #ededed;
    border: 1px solid #ededed;
    padding: 10px;
}

.img-about .col-inner{
    height: 100%;
}

.img-about .col-inner .img{
    height: 100%;
}

.img-about .col-inner img{
    height: 100%;
}

.img-about .col-inner .img-inner{
    height: 100%;
}

/* width */
.table-bxh table tbody-webkit-scrollbar {
    width: 10px;
    border-radius: 10px;
}

/* Track */
.table-bxh table tbody::-webkit-scrollbar-track {
    background: none; 
    margin-top: 10px;
    border-radius: 10px;
}

/* Handle */
.table-bxh table tbody::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 10px;
}

/* Handle on hover */
.table-bxh table tbody::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

.table-bxh .col-inner{
    /* height: 235px; */
    /* overflow: auto; */
    border-radius: 30px;
    border: 6px solid #00cc00;
    padding: 15px;
    background: #212a08;
    color: #fff;
    height: 100%;
}

.table-bxh {
    width: 100%;
    overflow: hidden; /* Để loại bỏ thanh cuộn ngang nếu có */
}

.table-bxh table {
    width: 100%;
    border-collapse: collapse; /* Đảm bảo không có khoảng cách giữa các ô */
}

.table-bxh table thead {
    display: table; /* Để tiêu đề hiển thị như một bảng */
    width: 100%; /* Chiếm toàn bộ chiều rộng */
    position: sticky; /* Giữ tiêu đề ở trên cùng khi cuộn */
    top: 0; /* Vị trí dính ở đầu */
}

.table-bxh table tbody {
    display: block; /* Giữ lại để có thể cuộn */
    overflow-y: auto; /* Cuộn dọc */
    height: 150px;
}

.table-bxh table td {
    color: #fff;
    padding: 8px; /* Thêm padding để ô nhìn đẹp hơn */
    box-sizing: border-box; /* Đảm bảo padding không ảnh hưởng đến chiều rộng */
    width: 100%; /* Đảm bảo ô chiếm toàn bộ chiều rộng */
}

.table-bxh table thead th,
.table-bxh table td {
    width: calc(100% / 4); /* Chỉnh sửa số này dựa trên số cột của bạn */
}

.table-bxh table td, 
.table-bxh table thead th{
    border-bottom: 1px solid #48891945;
}

/* Tùy chỉnh scrollbar */
.table-bxh table tbody::-webkit-scrollbar {
    width: 8px; /* Độ rộng của thanh cuộn */
}

.table-bxh table tbody::-webkit-scrollbar-track {
    background: #222; /* Màu nền của track */
}

.table-bxh table tbody::-webkit-scrollbar-thumb {
    background: #555; /* Màu của thanh cuộn */
    border-radius: 10px; /* Bo góc cho thanh cuộn */
}

.table-bxh table tbody::-webkit-scrollbar-thumb:hover {
    background: #888; /* Màu khi hover */
}

.table-bxh table tr {
    display: table; /* Để mỗi hàng trong tbody hiển thị như một hàng bảng */
    width: 100%; /* Đảm bảo hàng chiếm toàn bộ chiều rộng */
}

.table-bxh table td, 
.table-bxh table th {
    padding: 8px; /* Thêm padding để ô nhìn đẹp hơn */
    box-sizing: border-box; /* Đảm bảo padding không ảnh hưởng đến chiều rộng */
}

.box-bangxephang{
    height: 170px;
    white-space: nowrap;
    overflow: hidden;
    
}

.box-bangxephang .row-bxh{
    display: grid;
    grid-template-columns: auto auto;
    gap: 0 25px;
}

.box-bangxephang .row-bxh .column{
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.box-bangxephang .row-bxh .column .thumbnail{
    width: 45%;
    height: auto;
}

.box-bangxephang .row-bxh .column .thumbnail img{
    width: 100%;
    height: auto;
}

.box-bangxephang .info {
    width: 100%;
}

.box-bangxephang .row-bxh .column .info p{
    margin: 0;
    font-size: 12px;
}

.box-bangxephang .row-bxh .column .money{
    font-size: 13px;
    font-weight: 600;
}

.box-bangxephang .row-bxh .column .money span{
    color: #ffd823;
}

.beadcrumb {
    display: none;
}

.blog-wrapper{
    padding-top: 0;
}

.page-wrapper{
    padding-top: 0;
}

.breadcrumb-cc{
    background: #f5f5f5;
    padding: 10px 0;
    margin-bottom: 30px;
}

.breadcrumb-cc .col{
    padding-bottom: 0;
}

.breadcrumb-cc .col p{
    margin: 0;
}

/* .blog-wrapper .large-9.col,
.post-sidebar{
    padding: 0 15px 30px;
}

.post-sidebar{
    padding-left: 15px;
}

.recent-blog-posts-li .badge.post-date{
    width: 75px;
    height: 75px;
}

.recent-blog-posts-li .flex-col.mr-half{
    margin: 0;
}
*/

.recent-blog-posts-li .recent-blog-posts{
    align-items: center;
} 

li.recent-blog-posts-li .badge {
    width: 100px;
    height: 70px;
}

.recent-blog-posts a {
    color: #222;
    font-weight: 600;
}

.widget span.widget-title {
    font-size: 18px;
    letter-spacing: normal;
    color: #222;
    text-transform: uppercase;
}

.blog-wrapper .large-8.col{
    padding-right: 0;
}

#rank-math-faq .rank-math-list-item {
    margin-bottom: 1em;
    margin-top: 1em;
    border-bottom: 1px solid #fff;
}

.rank-math-question {
    cursor: pointer;
    position: relative;
    display: block;
    padding-right: 0;
    margin-right: 0;
    font-weight: 700;
    margin-top: 15px;
    font-size: 16px;
    background: #ededed;
    padding: 10px 5px;
    border-radius: 5px;
}

.rank-math-question:after {
    position: absolute;
    right: 10px;
    top: 10px;
    content: "\2715";
    transform: rotate(-45deg);
    transition: all 150ms ease-in-out;
}

.rank-math-question.collapse:after {
    transform: rotate(0deg);
}

.rank-math-question:hover {
    opacity: 0.8;
}

.entry-author.author-box{
    border: 1px solid #f9f9f9;
    padding: 15px;
    background: #fdfdfd;
}

.baivietlienquan .from_the_blog_excerpt{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}  

@media screen and (max-width: 767px){
    .box-bangxephang .row-bxh{
        grid-template-columns: auto;
    }

    .wp-caption {
        width: 100% !important;
    }
}

@media screen and (max-width: 849px){
    .blog-wrapper .large-8.col {
        padding-right: 15px;
    }
}