/**
 * @file
 * Cỡ chữ CMS: menu trái và chữ trong bảng các màn danh sách = 14px; căn
 * thẳng hàng các cột tách ra (Người tạo, Người đăng, Ngày đăng, Lượt xem).
 *
 * File riêng (không sửa file cũ) để không bị Cloudflare giữ bản CSS cũ.
 */

/* Menu trái (menu--staff). */
.menu--staff .menu .menu-item a,
.menu--staff .menu .menu-item > span,
.menu--staff .menu .menu-item--expanded.menu-item--active-trail .menu a,
.menu--staff .menu .menu-item--expanded.menu-item--active-trail .menu .menu-item > span,
.menu--staff .menu .menu-item--expanded.active .menu a,
.menu--staff .menu .menu-item--expanded.active .menu .menu-item > span {
  font-size: 14px !important;
}

/* Số đếm trên menu giữ cỡ nhỏ. */
.menu--staff .badge {
  font-size: 12px !important;
}

/* Lưới dữ liệu các màn danh sách tin: độ ưu tiên cao để thắng các rule
   10px trong view.my_content.css, view.admin_event_items.css,
   view.event_items.css, views-custom.css (kể cả td.views-field-title > a[href]
   có 4 class nên phải lặp .view và [class]). */
html body .view.view table[class][class]:not(.ck-content table) th,
html body .view.view table[class][class]:not(.ck-content table) th a,
html body .view.view table[class][class]:not(.ck-content table) th button,
html body .view.view table[class][class]:not(.ck-content table) td,
html body .view.view table[class][class]:not(.ck-content table) td a,
html body .view.view table[class][class]:not(.ck-content table) td p,
html body .view.view table[class][class]:not(.ck-content table) td div,
html body .view.view table[class][class]:not(.ck-content table) td small,
html body .view.view table[class][class]:not(.ck-content table) td strong,
html body .view.view table[class][class]:not(.ck-content table) td time,
html body .view.view table[class][class]:not(.ck-content table) td span:not(.fa):not([class*="fa-"]),
html body .view.view table[class][class]:not(.ck-content table) td .description,
html body .view.view table[class][class]:not(.ck-content table) td .views-label,
html body .view.view table[class][class]:not(.ck-content table) td .form-item__label,
html body .view.view table[class][class]:not(.ck-content table) td label {
  font-size: 14px !important;
}

/* Chữ trong bảng (trừ bảng trong nội dung bài ở CKEditor). */
table:not(.ck-content table) th,
table:not(.ck-content table) td,
table:not(.ck-content table) th a,
table:not(.ck-content table) td a,
table:not(.ck-content table) td p,
table:not(.ck-content table) td div,
table:not(.ck-content table) td span:not(.fa):not([class*="fa-"]),
table:not(.ck-content table) td .description,
table:not(.ck-content table) td .views-label,
table:not(.ck-content table) td .form-item__label,
table:not(.ck-content table) td label {
  font-size: 14px !important;
}

/* Cột tách ra: căn trái như tiêu đề cột, các ô cùng hàng căn giữa theo chiều dọc. */
.views-view-table .views-field-totalcount,
table.views-table .views-field-totalcount {
  text-align: left !important;
}

.views-view-table td.views-field-name,
.views-view-table td.views-field-uid,
.views-view-table td.views-field-publisher,
.views-view-table td.views-field-published-date,
.views-view-table td.views-field-totalcount,
table.views-table td.views-field-name,
table.views-table td.views-field-uid,
table.views-table td.views-field-publisher,
table.views-table td.views-field-published-date,
table.views-table td.views-field-totalcount {
  vertical-align: middle !important;
}

/* Giãn dòng cho chữ 14px (line-height cũ tính cho chữ 9-11px nên các dòng
   trong ô tiêu đề bị dính nhau). */
html body .view.view table[class][class]:not(.ck-content table) td,
html body .view.view table[class][class]:not(.ck-content table) td a,
html body .view.view table[class][class]:not(.ck-content table) td span,
html body .view.view table[class][class]:not(.ck-content table) td strong {
  line-height: 1.5 !important;
}

html body .view.view table[class][class]:not(.ck-content table) td.views-field-title > strong {
  display: inline-block !important;
  margin: 4px 0 2px !important;
  padding: 0 6px !important;
  line-height: 20px !important;
}
