/*
 * Phone layer: below 1200px style_mobile.css (the legacy mobile stylesheet) replaces style.css;
 * this file only adds the mmenu header and menu pieces the legacy mobile template had.
 */
#responsive_menu { display: none; }
@media screen and (max-width: 1199px) {
  /* "6 LÝ DO": on phones the two words sit on one line, centred (legacy mobile markup has a single <p>) */
  .top_left_tieuchi .r_tieuchi p { display: inline; margin: 0; }

  /* Legacy mobile article detail has no side column: the text takes the full width. */
  .content_details > .main_right { float: none; width: auto; }

  /* Legacy mobile header: hamburger on the left, logo centred; the menu itself is the mmenu panel. */
  .menu_left_show, .nav_box, .menu_header, .banner-top { display: none !important; }
  #banner, #banner.menu_fixed { position: static !important; padding-left: 0 !important; padding-right: 0 !important; }
  #banner > .inner { margin: 0 auto !important; padding: 0 !important; width: 100% !important; max-width: none !important; }
  .float-quick-action { display: none !important; }
  #goidien { display: block; z-index: 1000; position: fixed; bottom: 0; width: 100%; left: 0; }
  /* The legacy mobile #container is empty on the home page but still gets the header-height padding */
  .khachhang_doitac { margin-top: 68px; }
  .phone-title-main { display: block; }
  /* pages that already print their own .title_main must not show it twice */
  body:has(.title_main:not(.phone-title-main > .title_main)) .phone-title-main { display: none; }
  #my-breadcrumbs.hide-on-phone { display: none; }
  .mota_tintucnb.from-content { display: none; }
  .desk-only { display: none !important; }
  .phone-only { display: block; }
  .invoice-grid > li { margin-bottom: 0 !important; }
  .header-pad .search_frm { margin-top: 20px; }
  .invoice-grid .view { margin-top: 0 !important; }
  /* the registration terms stay a scrolling box (the legacy mobile stylesheet has no rule for it) */
  .dieukhoan { border: 1px solid #ccc; border-radius: 3px; padding: 10px; max-height: 430px; overflow-y: auto; }
  /* Legacy mobile footer: company block, social icons and copyright only */
  #footer .mid_footer, #footer .right_footer, #footer .bot_footer { display: none !important; }
  .inner.container { padding-left: 0; padding-right: 0; width: 100%; max-width: 100%; }
  #responsive_menu { display: block; }
  #menu_list, #menu_list.fixed { position: absolute; top: 3px; left: 0; z-index: 1001; }
  #menu_list a { background: center center no-repeat transparent; color: #1f88d7; line-height: 40px; padding-left: 10px; }
  #menu_list a i { border: 1px solid #1f88d7; padding: 5px; border-radius: 2px; }
  #name_tk_m { width: 100%; height: 35px; border: 1px solid #ccc; border-radius: 25px; padding: 0 10px; }
  nav#menu_mobile:not(.mm-menu) { display: none; }
  /* Legacy mobile support block: no big "Yêu cầu & Hỗ trợ" title; each half has a centred title_bottom heading */
  .tailieu > .inner > .title_bottom { display: none; }
  .bg-tailieu .left-tailieu, .bg-tailieu .right-tailieu { width: 100%; float: none; padding: 0; }
  .tailieu .title-view { text-align: center; margin-bottom: 30px; padding: 0; }
  .tailieu .title-view h3, .bg-tailieu .right-tailieu .title-view h3 { color: #007CC3; font-size: 22px; text-transform: uppercase; font-family: Roboto; font-weight: 400; padding: 0; margin: 0; line-height: 31px; }
  .tailieu .title-view h3:after, .bg-tailieu .right-tailieu .title-view h3:after { display: none; }
  .tailieu .title-view p, .bg-tailieu .right-tailieu .title-view p { font-size: 14px; color: #333; font-family: Roboto; font-weight: 400; padding-top: 0; margin: 0; }
  .tailieu .form-row.text-right { text-align: center; }
  .tailieu .form-row .btn-primary { display: block; width: 100%; }
}
