
/* /App_Themes/all/allcss/qiGridView.css */
/*GridViewCSS*/
#MainContent {
  
    padding-right: 2px;
}
.GridViewStyle {
    font-size: 1em;
    table-layout: auto;
    border-collapse: collapse;
    border: #009AD9 3px solid;
    width: 100%;
    height: 500px;
}

.GridViewStyle2 {
    Border-Color: #3366CC;
    table-layout: auto;
    border-collapse: collapse;
    border: #e1e1e1 1px solid;
    padding: 0px;
    margin: 0px;
    width: 100%;
}

/*Header and Pager styles*/

.HeaderStyle, .PagerStyle /*Common Styles*/ {
    background-image: url(/App_Themes/all/allcss/images/HeaderGlass.jpg);
    background-position: center;
    background-repeat: repeat-x;
    background-color: White;
    padding-bottom: 5px;
    font-size: 1em;
    text-align: center;
}

.HeaderStyle2, .PagerStyle2 /*Common Styles*/ {
    background-color: White;
    color: #004175;
    text-align: center;
    font-weight: bold;
    font-size: 1em;
}


    .HeaderStyle2 th, .HeaderStyle2 a, .PagerStyle2 a {
        color: #004175;
        font-weight: bold;
        vertical-align: middle;
        font-size: 1em;
        text-align: center;
        padding: 5px;
    }

    .HeaderStyle2 th {
        /*background-image: url(/App_Themes/all/allcss/Image/thead-khoikhac.png);
        padding: 13px;
        white-space: nowrap;*/
    }

.HeaderStyle th {
    font-family: Tahoma;
    padding: 5px;
    color: #ffffff;
}

.HeaderStyle a {
    color: #ffffff;
    display: block;
    font-weight: bold;
    font-family: Tahoma;
    font-size: 11px;
    text-align: center;
}

.PagerStyle table {
    text-align: center;
    margin: auto;
}

    .PagerStyle table td {
        border: 0px;
        padding: 5px;
    }

.PagerStyle td {
    border-top: #1d1d1d 3px solid;
}

.PagerStyle a {
    color: #ffffff;
    text-decoration: none;
    padding: 2px 10px 2px 10px;
    border-top: solid 1px #777777;
    border-right: solid 1px #333333;
    border-bottom: solid 1px #333333;
    border-left: solid 1px #777777;
}


.PagerStyle span {
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none;
    padding: 2px 10px 2px 10px;
}

/*RowStyles*/

.RowStyle td, .AltRowStyle td, .SelectedRowStyle td, .EditRowStyle td /*Common Styles*/ {
    padding: 1px 4px 1px 2px;
    border: solid 1px #D0D7E5;
}

.RowStyle td {
    background-color: white;
    padding-left: 5px;
}

.AltRowStyle td {
    background-color: #E6F5FB;
}

.SelectedRowStyle td {
    background-color: #ffff66;
}


/*PagerStyles for DetailView in Edit Mode*/
.PagerStyleEdit table {
    text-align: center;
    margin: auto;
}

    .PagerStyleEdit table td {
        border: 0px;
        padding: 5px;
    }

.grvScheduleHeader {
    vertical-align: middle;
    padding-top: 5px;
}

.PagerStyleEdit a {
    color: #008000;
    font-size: small;
    padding: 2px 10px 2px 10px;
    border-top: solid 1px #A7DE92;
    border-right: solid 1px #01971C;
    border-bottom: solid 1px #01971C;
    border-left: solid 1px #A7DE92;
}

.PagerStyleEdit span {
    font-weight: bold;
    font-size: small;
    color: #008000;
    text-decoration: none;
    padding: 2px 10px 2px 10px;
}

.GridViewStyle2 td {
    padding: 6px 12px;
    border: 1px solid #dddddd;
}

    .GridViewStyle2 td span {
    }
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border: 1px solid #ddd;
}

/*phân trang dữ liệu*/
.pagination-ys {
    border-radius: 4px;
    margin: 20px 0;
    padding-left: 0;
}

    .pagination-ys table > tbody > tr > td {
        display: contents;
    }

        .pagination-ys table > tbody > tr > td > a, .pagination-ys table > tbody > tr > td > span {
            background-color: #ffffff;
            border: 1px solid #dddddd;
            color: #337ab7;
            float: left;
            line-height: 1.42857;
            margin-left: -1px;
            padding: 8px 12px;
            position: relative;
            text-decoration: none;
        }

        .pagination-ys table > tbody > tr > td > span {
            background-color: #337ab7;
            border: 1px solid #dddddd;
            color: #fff;
            cursor: default;
            float: left;
            line-height: 1.42857;
            padding: 8px 12px;
            position: relative;
            text-decoration: none;
            z-index: 2;
        }

        .pagination-ys table > tbody > tr > td:first-child > a, .pagination-ys table > tbody > tr > td:first-child > span {
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
            margin-left: 0;
        }

        .pagination-ys table > tbody > tr > td:last-child > a, .pagination-ys table > tbody > tr > td:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination-ys table > tbody > tr > td > a:hover, .pagination-ys table > tbody > tr > td > span:hover, .pagination-ys table > tbody > tr > td > a:focus, .pagination-ys table > tbody > tr > td > span:focus {
            background-color: #eeeeee;
            border-color: #dddddd;
            color: #97310e;
        }

/* /App_Themes/all/allcss/qiStyleCategory.css */
#MainContent {
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
}

.qisubmenubg {
    background-color: #fafafa;
}
.qisubmenubg a {
        color:#808080;

}
h5.qititle
{
    color:#000000;
    font-weight:600;
    font-size:20px;
    line-height:24px;
}

p.qisummary {
    color:#333;
    font-weight:normal;
}

#yw5 {
    display: inline-block;
}

.pagination {
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
    font-size: 14px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #337ab7;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            margin-left: -1px;
        }

        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination > li > a:hover,
        .pagination > li > span:hover,
        .pagination > li > a:focus,
        .pagination > li > span:focus {
            color: #23527c;
            background-color: #eeeeee;
            border-color: #dddddd;
        }

    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 2;
        color: #ffffff;
        background-color: #337ab7;
        border-color: #337ab7;
        cursor: default;
    }

.PagingWrapper {
    text-align: center;
}
.qisubmenu a.qihome_tieude {
    font-size: 14px;
    font-weight: normal;
}
.qisubmenu:first-child {
    padding-top: 15px;
}
.qisubmenu:last-child {
    padding-bottom: 15px;
}
.qisubmenu
{
    padding-top:5px;
}
.qiborder
{
    border-radius:5px;
}
/* /App_Themes/all/allcss/qi-desktop-hep.css */
/* =====================================================================================
   VỎ DESKTOP Ở CỬA SỔ HẸP (< 1200px)  —  thêm 2026-08-11
   User báo giao diện vỡ khi xem ở khổ iPad (ảnh chụp 1024×1366): ba cột 590+295+295 chồng
   lên nhau, sinh một dải trắng giữa cột tin và cột "Tin mới nhất".

   NGUYÊN NHÂN đo được: bộ vỏ desktop bị GHIM KHUNG CỨNG —
     · `.container { min-width: 1200px }` và `#MainContent { min-width: 1200px }`
       (có trong CẢ style2.css LẪN App_Themes/hanoi/css/hanoi.css của tenant Hà Nội);
     · quảng cáo "bay hai bên mép" định vị tuyệt đối theo mép 1275px.
   ⇒ ở khung 1014px trang rộng 1342px, cuộn ngang và vỡ cột.

   PHẠM VI CỐ Ý HẸP — tệp này CHỈ làm ba việc, và chỉ dưới 1200px:
     ① gỡ khoá khung cứng (min-width) để bố cục co được;
     ② ẩn quảng cáo bay hai mép (ở khổ này chúng nằm ngoài vùng nhìn hoặc đè nội dung);
     ③ cho thanh menu ngang cuộn trong chính nó thay vì đẩy cả trang.
   KHÔNG đụng tới lưới, cỡ chữ hay màu của bất kỳ mẫu nào: từ 1200px trở lên tệp này
   không sinh một luật nào, nên 46 mẫu giữ nguyên hiển thị như trước.

   TRANG CHỦ của đơn vị đã bật Is_auto_Responive không cần tới đây: `_MasterAllDesktop`
   đưa cửa sổ hẹp sang thẳng bản "rp" (đã responsive hoàn chỉnh). Tệp này lo phần còn lại —
   các TRANG TRONG và những đơn vị chưa bật cờ.
   ===================================================================================== */

@media (max-width: 1199.98px) {

    /* ① Gỡ khoá khung. Dùng !important vì luật gốc nằm ở style2.css / hanoi.css của tenant,
       nạp sau tệp này trong vài nhánh vỏ. */
    .container,
    #MainContent,
    .content {
        min-width: 0 !important;
    }

    /* ② Quảng cáo bay hai bên mép: định vị theo mép màn hình rộng nên ở khổ này luôn nằm
       ngoài khung hoặc chồng lên nội dung. */
    .ads-wrapper.adsLeft,
    .ads-wrapper.adsRight {
        display: none !important;
    }

    /* ③ Menu ngang dài hơn khung thì cuộn trong chính nó, không đẩy cả trang trượt ngang. */
    .qimenu,
    .menu-main {
        overflow-x: auto;
    }
}

/* /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;
}