
/* /App_Themes/all/allcss/qiUserLogin.css */
.open-chat-btn {
    position: fixed;
    bottom: 150px;
    right: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 100000;
}

    .open-chat-btn:hover {
        background-color: #0056b3;
    }

/* Popup chat */
.chat-popup {
    display: none; /* Ẩn popup mặc định */
    position: fixed;
    bottom: 200px; /* Cách nút 60px */
    right: 20px;
    width: 380px;
    height: 450px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1100;
    overflow: hidden;
}

/* Header của popup */
.chat-header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    position: relative;
}

/* Nút đóng trong popup */
.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

    .close-btn:hover {
        color: #ffdddd;
    }

.login-web {
    position: fixed;
    bottom: 150px;
    right: 20px;
    z-index: 9000;
    background: #006ab0;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
a:focus-visible {
    outline: none !important;
}

.qibgmenutop .pt-1 {
    padding-top: 5px !important;
}

.goog-te-combo {
    border: 1px solid #ddd !important;
    padding: 2px 10px;
    border-radius: 5px;
}

select:focus-visible {
    outline: 1px solid #ddd !important;
}

.skiptranslate {
    width: 0px !important;
    height: 0px !important;
}

body {
    top: 0px !important;
}

.VIpgJd-ZVi9od-aZ2wEe-wOHMyf.VIpgJd-ZVi9od-aZ2wEe-wOHMyf-ti6hGc {
    width: 0px !important;
    height: 0px !important;
    display: none !important;
}

#goog-gt-tt {
    display: none !important;
}

#google_translate_element {
    bottom: 0px !important;
    position: fixed;
}

.infoFooter {
    text-wrap: balance;
}

.zalo-chat-widget {
    bottom: 80px !important;
    right: 20px !important;
    /*left: auto !important;*/
    visibility: visible !important;
    /*position: fixed !important;*/
}
/* /htmlib/css/gdfull.css */
body {
}
#MainContent {
    
    padding: 10px 5px !important;
}

.container, .container-fluid, .menu-main, .sticky-top, .container-fluid.qiMenuTime_flex, div#banner, footer, .left_detail_content .list-unstyled {
    max-width: 100% !important;
}
    .container main {
        /*width: 95%;*/
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
.hntexttop
{
    width:70% !important
}
.hnimgtop
{
        width:30% !important
}
.item-ratio {
    object-fit: cover !important;
}
.fit-obj {
    object-fit: cover !important;
}
.img-lv2 {
    width: 100%;
    height: auto;
    max-height: 83px;
}
/* Slideshow homegd131:
   - BỎ ép "#amazingslider-12 { height:max-content }": max-content làm container co ~0 (slide
     là ABSOLUTE) -> slide tràn xuống ĐÈ khối "Tin tức sự kiện". Bỏ đi để amazingslider tự set
     chiều cao thật, chứa slide -> hết đè.
   - .demo-slider-3: BỎ margin-bottom 8em (128px) thừa (nguồn KHOẢNG TRẮNG phải: cột slideshow
     cao 638 trong khi cột "Tin mới nhất" chỉ ~498). min-height chỉ còn floor an toàn, height auto
     -> cột ôm SÁT slider thật. */
/* Reservation CO GIÃN cho slider: ảnh (#amazingslider-12, in-flow) tự co giãn theo bề rộng
   cột (JS set, vd 324px@628 / 484px@938...); dải THUMBNAILS là ABSOLUTE, cao CỐ ĐỊNH ~204px,
   không tính vào chiều cao -> dùng padding-bottom (KHÔNG min-height cố định) để chừa chỗ cho
   thumbnails ở MỌI khổ màn -> khối tin dưới không bị đè. (min-height cố định sai ở màn rộng.) */
.demo-slider-3 {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 210px !important;
    margin: 0 auto 8px !important;
}
div#amazingslider-12, .left_detail_content .list-unstyled {
    width: 100% !important;
}
/* "Tin mới nhất" (cột phải row đầu) GIÃN đầy chiều cao cột = cao slideshow -> hết khoảng trắng
   giữa nó và "Văn bản" (khối bên dưới). */
.col-sm-4.Content_right { display: flex; flex-direction: column; }
.col-sm-4.Content_right > .qiContainer { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
/* Bỏ padding-left mặc định của qiContainer_border (~14px) -> text SÁT MÉP như khối Văn bản. */
.col-sm-4.Content_right > .qiContainer > .qiContainer_border { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding: 0 !important; }
/* Danh sách tin: mỗi tin CÁCH NHAU 10px (gap), text SÁT MÉP (~6px, như Văn bản),
   CUỘN DỌC (overflow-y:auto) nếu tin nhiều hơn chiều cao khung. min-height:0 để scroll chạy
   đúng trong flex. */
.col-sm-4.Content_right > .qiContainer > .qiContainer_border > ul.qiheightTop {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 6px 0 !important;
    margin: 0 !important;
}
/* Giữ nguyên chiều cao tin (không để flex bóp méo) -> tràn thì CUỘN, không cắt lem nhem.
   padding NGANG 10px -> chữ cách mép 10px, nền/viền full. */
.col-sm-4.Content_right ul.qiheightTop > li { flex: 0 0 auto !important; padding-left: 10px !important; padding-right: 10px !important; }

/* ===== Khối VĂN BẢN: bỏ chiều cao cố định gây THỪA khoảng trắng =====
   qistyleall ép .mq13{height:600px} + block bị fix height:638 nhưng chỉ vài tin -> trắng đáy.
   Cho co theo nội dung (max-height 420 + scroll khi nhiều tin). */
.rightitem.van-ban { height: auto !important; min-height: 0 !important; }
.rightitem.van-ban .mq13 { height: auto !important; max-height: 420px !important; overflow-y: auto !important; }
.rightitem.van-ban .mq13 .slick-list { height: auto !important; }
/* Slick (rows:10) set inline width ~310px cho track/slide/li (HẸP hơn khối 475) -> HỞ mép PHẢI.
   Ép full-width + padding 5px 10px (chữ cách mép 10px, các dòng cách nhau 10px = 5+5). */
.rightitem.van-ban .mq13 .slick-track,
.rightitem.van-ban .mq13 .slick-slide,
.rightitem.van-ban .mq13 .slick-slide > div { width: 100% !important; }
.rightitem.van-ban .mq13 ul li {
    width: 100% !important;
    display: block !important;
    padding: 5px 10px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* (Clamp 3 dòng + đồng nhất cỡ/màu tiêu đề tin: ĐÃ chuyển sang skin qistyleall-modern.css,
   bản SCOPE trong .qiContainer_border để không cắt tiêu đề trang chi tiết. Không lặp ở đây.) */

/* ===== Khối tin dạng LIST: CHỮ cách mép ~10px, nhưng NỀN hover + ĐƯỜNG PHÂN CÁCH FULL =====
   Đặt padding NGANG trên LI (nền/border của li full theo mép; nội dung thụt 10px). Container
   bỏ padding. :has(>ul) để CHỈ áp cho khối dạng list, KHÔNG đụng khối featured 2-cột (>.row). */
.qiContainer_border:has(> ul) { padding: 0 !important; }
.qiContainer_border > ul > li { padding: 5px 10px !important; }
/* Font tiêu đề trong .listitem ĐỒNG ĐỀU: item MỚI NHẤT render <a> KHÔNG có class qitieudechinh
   nên thiếu font-weight -> đậm/nhạt lệch. Ép 500 = đúng như .qitieudechinh (qistyleall). */
.listitem > a { font-weight: 500 !important; }
.big_item .item:last-child {
    width: 350px;
}

.bgwhite{
    padding: 0 !important;
}

.width1200 {
    max-width: 100% !important;
}

.w-1300{
    max-width: 100% !important;
}

.right_gallery_home {
    /*right: 0;
    position: relative;
    z-index: 9999;
    pointer-events: auto;*/
}

.left_gallery_home {
    /*left: 0;
    position: relative;
    z-index: 9999;
    pointer-events: auto;*/
}

.adsRight {
    display: none;
}

.adsLeft {
    display: none;
}

article.itemhome {
    padding-left: 30px;
    padding-right: 30px;
}

.right_detail_content {
    width: 100% !important;
}