.article {
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.article p {
  margin-bottom: 10px;
  line-height: 18px;
}

/* ------------------------------------------- */
/* CSS cho Khối Thông Tin Liên Hệ (Property 1=Variant2.png) */
/* ------------------------------------------- */
.contact-section {
  padding: 30px 0;
}

.container-fluid .contact-section {
  padding: 12px 0 0px 0px;
  /* Màu nền nhẹ */
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: -8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.contact-card {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background-color: #f0faff;
  /* border: 1px solid #e0e0e0; */
  /* border-radius: 8px; */
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
  overflow: hidden;
  text-align: left;
}

/* Tiêu đề Khối */
.contact-header {
  /* Màu xanh nhạt */
  color: #195a94;
  padding: 6px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 16px;
  font-weight: 700;
  color: #195a94;
  min-height: 38px;
  cursor: pointer; /* Thêm con trỏ chuột để báo hiệu có thể click */
}

.contact-header[aria-expanded=false] {
  border-bottom: none;
}

.contact-header i {
  font-size: 14px;
  color: #0d6efd;
  transition: transform 0.3s ease; /* Thêm hiệu ứng xoay mượt mà */
}

/* Xoay mũi tên khi khối bị thu gọn */
.contact-header[aria-expanded=false] i {
  transform: rotate(180deg);
}

/* -------------------- */
/* Cột Trái: Thông tin cố định */
/* -------------------- */
.contact-info-fixed {
  padding: 12px 20px;
  background-color: #fbfbfb; /* Nền xanh nhạt hơn */
  border: 1px solid #eaeaea;
  height: 100%; /* Đảm bảo chiều cao đầy đủ */
  border-radius: 4px;
  line-height: 1.4;
}

.contact-info-fixed h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info-fixed p {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.2;
}

.contact-info-fixed strong {
  color: #333;
  font-weight: 600;
}

.contact-card {
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  color: #fff;
}
.contact-card .contact-header {
  color: #fff;
  background-color: #3a89f6;
}
.contact-card .contact-header i {
  color: #fff;
}

.contact-section {
  padding-top: 0;
  padding-bottom: 0;
}

.theme-yellow .contact-card .contact-header {
  color: #fff;
  background-color: #c78f14;
}

.theme-red .contact-card {
  background-color: #ffe9e9;
}
.theme-red .contact-card .contact-header {
  color: #7f0402;
  background-color: #ffcdcd;
}
.theme-red .contact-card .contact-header i {
  color: #7f0402;
}

/* -------------------- */
/* Cột Giữa: Form Liên hệ */
/* -------------------- */
.contact-card .col-lg-3,
.contact-form-col {
  padding: 12px !important;
}

/* Các style cho .form-control và label sẽ được kế thừa từ home.css */
.map-container {
  height: 100%;
  overflow: hidden;
}

.row.g-0 {
  margin-left: 0;
  margin-right: 0;
}

/* Mã xác nhận */
.captcha-group {
  display: flex;
  align-items: center;
  gap: 8px; /* Khoảng cách giữa label và input */
}

.captcha-group label {
  flex-shrink: 0; /* Ngăn không cho label bị co lại */
  margin-bottom: 0; /* Bỏ margin-bottom mặc định của label */
  line-height: 1;
}

.captcha-group .input-group {
  height: 28px; /* Đặt lại chiều cao cho input-group */
}

.captcha-img {
  width: 100px;
  background-color: #e9e9e9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #333;
  border: 1px solid #747474;
  border-left: none;
  border-radius: 0 4px 4px 0;
}

/* Nút Gửi */
.contact-form-col .btn-submit-contact {
  background-color: #2a78e3;
  border-radius: 6px;
  font-weight: 600;
  padding: 0px 20px;
  min-height: 28px;
  min-width: 120px;
}

.btn-submit-contact {
  padding: 10px 30px;
  font-size: 16px;
}

/* Div trống để căn chỉnh nút Gửi */
.form-group-button-align {
  height: 26px; /* Tương đương chiều cao của label + margin */
}

/* -------------------- */
/* Cột Phải: Bản đồ (Sử dụng <iframe>) */
/* -------------------- */
.contact-map-col {
  padding: 0 !important;
}

/* Quan trọng: Thiết lập chiều cao tối thiểu cho iframe để bản đồ hiển thị rõ */
.contact-map-col iframe {
  /* Đảm bảo iframe chiếm toàn bộ không gian của cột */
  width: 100%;
  height: 100%;
  display: block;
  /* Bo góc phải cho bản đồ */
}

.input-group .input-group-text.captcha-img {
  padding: 0;
}

.contact-form-col form {
  background: #fff;
  padding: 12px 20px;
  border: 1px solid #eaeaea;
  border-radius: 4px;
}

.row.captcha-and-button-row {
  justify-content: right;
  padding-top: 12px;
}

.btn-group-lienhe {
  padding-right: 12px;
}

@media (max-width: 991.98px) {
  .btn-group-lienhe {
    width: 100%;
    text-align: center;
  }
  .contact-form-col .btn-submit-contact {
    padding: 6px 20px;
    min-width: 150px;
    margin-top: 12px;
  }
  .row.g-0 {
    margin-left: 8px;
    margin-right: 8px;
  }
  .map-container {
    min-height: 300px;
  }
  .col-lg-6.contact-form-col {
    order: 1;
  }
  .contact-card .col-lg-3 {
    order: 2;
  }
}
.sitemap-container {
  background: #fdfdfd;
  padding: 20px 50px;
  margin: 16px 0;
  border-radius: 8px;
  overflow: hidden;
}

.container {
  margin-left: 0;
  width: 50%;
}

.sitemap-group-container {
  position: relative;
  margin-bottom: 10px;
}

.sitemap-group-container::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 0px;
  width: 1px;
  height: calc(100% + 50px);
  background-color: #d3efff;
  z-index: 1;
}

.sitemap-item-cap1 {
  position: relative;
  margin-left: 0;
  background-color: #e9f5ff;
  border: 1px solid #d3efff;
  border-radius: 4px;
  padding: 12px 15px 12px 15px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #0d6efd;
  transition: background-color 0.2s;
  cursor: pointer;
  z-index: 2;
}

.sitemap-item-cap1:hover {
  background-color: #2a78e3;
  color: #fff;
}

.sitemap-item-cap1::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 50%;
  width: 1px;
  height: calc(100% + 15px);
  background-color: #d3efff;
  z-index: 3;
}

.sitemap-item-cap2 {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #d3efff;
  border-radius: 4px;
  padding: 3px 15px;
  margin: 5px 0 5px 15px;
  font-weight: 500;
  color: #333;
  transition: background-color 0.2s;
  cursor: pointer;
  height: 44px;
  align-items: center;
}

.sitemap-item-cap2:hover {
  background-color: #2a78e3;
  color: #fff;
}

.sitemap-item-cap2::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: #d3efff;
  z-index: 3;
}

.sitemap-container a {
  text-decoration: none;
  display: flex;
  color: #0277e0;
}

.sitemap-group-container::after {
  content: "";
  position: absolute;
  left: -15px;
  top: 24px;
  width: 1px;
  height: calc(100% + 10px);
  background-color: #d3efff;
  z-index: 1;
}

.sitemap-item-cap1::after {
  content: "";
  position: absolute;
  left: -25px;
  top: 50%;
  width: 25px;
  height: 1px;
  background-color: #d3efff;
  z-index: 3;
}

.sitemap-group-container a:last-child::after {
  content: "";
  position: absolute;
  left: -34px;
  top: 50%;
  width: 6px;
  height: calc(100% + 13px);
  background-color: #fdfdfd;
  z-index: 3;
  margin-top: 1px;
}

.sitemap-container > a:last-child > div::after {
  content: "";
  position: absolute;
  left: -29px;
  top: 50%;
  width: 6px;
  height: calc(100% + 20px);
  background-color: #fdfdfd;
  z-index: 3;
  margin-top: 1px;
}

.sitemap-container > .sitemap-group-container:last-child::before {
  content: "";
  top: 26px;
  background-color: #fdfdfd;
  z-index: 9;
}

@media (max-width: 991.98px) {
  .sitemap-container {
    padding: 0 0 0 25px;
  }
}
.textarea-custom {
  height: 75px !important;
}

.captcha-custom .taglib-captcha {
  display: flex;
  margin: 0 !important;
}
.captcha-custom .taglib-captcha img {
  order: 2;
  max-height: 32px;
}
.captcha-custom .taglib-captcha .refresh {
  order: 3;
  max-height: 32px;
  align-items: center;
  display: inline-flex !important;
  padding: 5px 5px 4px 5px;
  background: #bee7ff;
  border: 1px solid #747474;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}
.captcha-custom .taglib-captcha .form-control:not(.input-group-text) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: 32px;
}
.captcha-custom.form-group.ds-tb {
  display: flex;
  justify-content: end;
  gap: 8px;
}
.captcha-custom .actions {
  max-width: 120px;
}
.captcha-custom .actions button#luubutton {
  height: 32px;
  line-height: 32px;
  padding: 0;
}
.captcha-custom .form-group.input-text-wrapper {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 8px;
}
.captcha-custom .form-group.input-text-wrapper label {
  margin-bottom: 0 !important;
  white-space: nowrap;
}
.captcha-custom .form-group.input-text-wrapper input {
  flex: 1;
  height: 32px;
}

/* ------------------------------------------- */
/* CSS cho Khối THANH TRA UBND TỈNH (Property 1=Default.jpg) */
/* ------------------------------------------- */
.ubnd-tinh-block {
  margin-top: 40px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 0 20px 20px; /* Thêm padding để nội dung không bị sát viền */
  position: relative; /* Cần thiết để định vị header */
  text-align: center; /* Căn giữa header */
}

.ubnd-tinh-block.is-collapsed {
  border: none;
  padding: 0;
}

/* Tiêu đề Khối (Giống như một nút collapse) */
.ubnd-tinh-header {
  background-color: #3b82f6; /* Màu xanh dương chủ đạo */
  color: #fff;
  padding: 8px 20px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  border-radius: 8px; /* Bo góc trên */
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 42px;
  position: relative; /* Để có thể điều chỉnh vị trí */
  top: -21px; /* Dịch chuyển lên trên 1 nửa chiều cao của nó */
}

.ubnd-tinh-header i {
  font-size: 14px;
  margin-left: 10px;
  transition: transform 0.3s;
}

/* Xoay mũi tên khi khối được mở rộng */
.ubnd-tinh-header[aria-expanded=true] i {
  transform: rotate(0deg);
}

/* Xoay mũi tên khi khối bị thu gọn */
.ubnd-tinh-header[aria-expanded=false] i {
  transform: rotate(180deg);
}

/* Nội dung danh sách nút */
.ubnd-tinh-content {
  padding: 0; /* Bỏ padding cũ vì đã thêm ở block cha */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

/* Bố cục 5 cột (Sử dụng CSS Grid hoặc Flexbox với Bootstrap) */
.tinh-list-grid {
  display: flex;
  flex-wrap: wrap;
  /* Chia 5 cột, với margin phải là 4 khoảng, mỗi khoảng 10px */
  gap: 10px;
}

/* Khi nội dung được hiển thị */
.ubnd-tinh-content.show {
  max-height: 500px; /* Đặt một giá trị đủ lớn để chứa toàn bộ nội dung */
}

/* Cài đặt kích thước cho các nút tỉnh */
.tinh-list-grid .btn-tinh {
  /* Tính toán chiều rộng cho 5 cột: (100% - 4*10px)/5 = 20% - 8px */
  flex-basis: calc(20% - 8px);
  max-width: calc(20% - 8px);
  font-size: 13px;
  font-weight: 600;
  color: #0277e0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.2s;
}

.tinh-list-grid .btn-tinh:hover {
  background-color: #e9f5ff;
  border-color: #0d6efd;
  box-shadow: 0 0 5px rgba(13, 110, 253, 0.3);
}

@media (max-width: 991.98px) {
  .tinh-list-grid .btn-tinh {
    flex-basis: 100%;
    max-width: 100%;
  }
  .ubnd-tinh-block {
    padding: 0 12px;
    border: 1px solid #0277e0;
  }
  .ubnd-tinh-content.show {
    max-height: 380px;
    overflow-y: auto;
    padding-bottom: 16px;
  }
}
.portlet {
  margin-bottom: 0;
}

.panel-body {
  padding: 0 1.25rem;
}

.search-block {
  padding-bottom: 20px;
}

.search-block .news-card-header {
  font-size: 16px;
  font-weight: 700;
  color: #195a94;
  padding-bottom: 10px;
  border-bottom: 1px solid #e7e7e7;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.search-block .news-card-header,
.search-block form {
  padding-left: 12px;
  padding-right: 12px;
}

.rs-wrap {
  padding: 0 1.25rem;
}

.rs-wrap .control-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* Nút Tìm kiếm */
.search-block .btn-primary {
  font-weight: 600;
  margin-top: 0.5rem;
  background-color: #2a78e3;
  width: 140px;
  border-radius: 6px;
}

.search-block .btn-secondary {
  font-weight: 600;
  margin-top: 0.5rem;
  width: 140px;
  border-radius: 6px;
}

/* Container để căn giữa nút tìm kiếm */
.search-button-container {
  text-align: center;
  margin-top: 1rem;
  display: flex;
  gap: 5px;
}

.results-table-container .article-header-toolbar {
  border-bottom: none;
  margin-bottom: 6px;
}

.news-pagination-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 5px;
  margin-top: 12px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 6px;
}

.news-pagination-footer .pagination-info span {
  font-weight: 600;
  color: #333;
}

/* Style cho ô select chọn trang */
.news-pagination-footer .form-control {
  display: inline-block;
  width: 50px; /* Điều chỉnh độ rộng */
  height: 24px; /* Giảm chiều cao */
  padding: 0px 20px 0 5px; /* Điều chỉnh padding để không che mũi tên */
  border-color: #dee2e6;
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-pagination-footer .pagination .page-link {
  font-size: 13px;
  color: #0d6efd;
  border: 1px solid #dee2e6;
  margin: 0 2px;
  border-radius: 3px;
  padding: 0px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 14px;
}

.news-pagination-footer .pagination .page-item.active .page-link {
  background-color: #f65050 !important;
  border-color: #f65050 !important;
  color: #fff;
}

.news-pagination-footer .pagination .page-link:hover:not(.active) {
  background-color: #e9f5ff;
}

/* Ghi đè style của ClayUI để loại bỏ icon/pseudo-element không mong muốn */
.news-pagination-footer .page-item.active .page-link::before {
  display: none;
}

.news-pagination-footer .page-link::before {
  display: none;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.form-control:not(.input-group-text) {
  padding: 3px 10px;
  border: 1px solid #747474;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
}

.custom-table .col-stt {
  text-align: center;
}

.custom-table .col-ngaybanhanh {
  text-align: center;
}

.custom-table .col-sovanban {
  text-align: center;
  font-weight: 600;
}

.results-table-container {
  background-color: #fff;
  padding: 8px 20px;
  border-radius: 8px;
  box-shadow: 0 0 60px rgba(25, 90, 148, 0.15);
  margin-bottom: 16px;
}

.custom-table {
  margin-bottom: 0;
  border-collapse: collapse; /* Gộp các đường viền lại */
  width: 100%;
}

.custom-table thead th {
  font-weight: 600;
  font-size: 0.875rem; /* 14px */
  padding: 0 0.5rem; /* 12px 10px */
  text-align: center;
  vertical-align: middle;
  height: 38px;
  background: #46a6ff;
  border: 1px solid #dee2e6; /* Thêm viền cho header */
  color: #fff;
}

.custom-table tbody td {
  font-size: 0.8125rem; /* 13px */
  padding: 6px 0.5rem; /* 12px 10px */
  vertical-align: middle;
  border: 1px solid #dee2e6; /* Thay đổi từ border-top thành border */
  height: 38px;
  line-height: 1.2;
}

.custom-table tbody tr:first-child td {
  border-top: none; /* Bỏ viền trên của dòng đầu tiên trong tbody để không bị đè lên viền dưới của thead */
}

.custom-table tbody tr:hover {
  background-color: #f8f9fa;
}

.custom-table .col-download {
  width: 130px;
  text-align: center;
}

.custom-table .download-link i {
  font-size: 1.125rem; /* 18px */
}

.custom-table .document-link {
  color: #0277e0;
  text-decoration: none;
}

.article-body {
  text-align: justify;
}

/* Tiêu đề bài viết */
.article-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
  margin-bottom: 0px;
}

/* Thanh Header chứa Tiêu đề khối, Cỡ chữ và Công cụ */
.article-header-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
  border-bottom: solid 1px #e7e7e7;
  margin-bottom: 12px;
}

/* Phần Tiêu đề khối (TIN THANH TRA) */
.article-section-title {
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  color: #195a94;
}

.article-section-title i {
  color: #195a94; /* Màu xanh cho icon */
  margin-right: 8px;
  font-size: 20px;
}

.title-uppercase {
  text-transform: uppercase;
}

.breadcrumb-bao-bao .breadcrumb {
  box-shadow: none !important;
  align-items: center;
}
.breadcrumb-bao-bao .article-breadcrumb .breadcrumb-item,
.breadcrumb-bao-bao .article-breadcrumb .breadcrumb-item a {
  color: #30a5ff;
  text-decoration: none;
  text-transform: none;
  font-weight: 500;
}
.breadcrumb-bao-bao .article-breadcrumb .breadcrumb-item {
  line-height: 0;
}
.breadcrumb-bao-bao .article-breadcrumb .breadcrumb-item.active,
.breadcrumb-bao-bao .article-breadcrumb .breadcrumb-item .active {
  font-weight: normal;
  color: #667085;
}