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