@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html {
  margin-top: 0px !important;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Open Sans', sans-serif !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  top: 0 !important;
  overflow-x: hidden;
}

input,
textarea,
button,
select {
  font-family: 'Open Sans', sans-serif !important;
}

.filter-sort {
  filter: drop-shadow(-4px -4px 8px rgba(32, 100, 168, 0.1)) drop-shadow(4px 4px 8px rgba(32, 100, 168, 0.1));
}

.error-message-show {
  color: red;
}

input.form-error,
textarea.form-error {
  border: 1px solid red;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

a {
  text-decoration: none;
}

.pulse-btn {
  position: relative;
}

.pulse-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #7A4F31;
  animation: pulse-ring 2s infinite;
  z-index: -1;
  display: none;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.pulse-btn:hover::before {
  display: flex;
}

/* GTranslate active language style */
.gt-link-wrapper a {
  display: inline-flex;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.3s ease;
  line-height: 0;
}

.gt-link-wrapper a img {
  width: 30px !important;
  height: 20px !important;
  border-radius: 2px !important;
  overflow: hidden !important;
  object-fit: cover;
}

.gt-link-wrapper a.gt-current-lang {
  border-color: #FFFFFF !important;
}

@media (max-width: 1200px) {
  .gt-link-wrapper a.gt-current-lang {
    border-color: #B5924E !important;
  }
}

.gt-link-wrapper a img {
  display: block;
}

.skiptranslate {
  display: none !important;
}

.alignright {
  float: right;
  margin-left: 15px;
}

.alignleft {
  float: left;
  margin-right: 15px;
}

/* -----------------------------------------------
Custom Content color - Blog/News Detail Post Styles
----------------------------------------------- */
/* .single-news-title,
.single-blog-title {
    color: #333333 !important;
}

#new-content p,
#new-content h1,
#new-content h2,
#new-content h3,
#new-content h4,
#new-content h5,
#new-content h6,
#new-content span,
#new-content strong,
#new-content em,
#new-content blockquote,
#new-content ul,
#new-content ol,
#new-content ul li,
#new-content ol li,
.custom_content p,
.custom_content h1,
.custom_content h2,
.custom_content h3,
.custom_content h4,
.custom_content h5,
.custom_content h6,
.custom_content span,
.custom_content strong,
.custom_content em,
.custom_content blockquote,
.custom_content ul,
.custom_content ol,
.custom_content ul li,
.custom_content ol li {
    color: #333333 !important;
} */

/* TOC list items */
/* #toc-list li,
#toc-list li span {
    color: #333333 !important;
} */

/* ============================================================
   CSS Body Bài Viết Tin Tức
   ============================================================ */

/* ===== WRAPPER BÀI VIẾT ===== */
.news_default {
  padding: 20px;
  margin: 0 0 10px;
  border: 1px solid #ebebeb;
  position: relative;
  display: block;
  width: 100%;
  background: #fff;
}

/* ===== TIÊU ĐỀ ===== */
.news_default h1 {
  padding: 0;
  margin: 0;
  display: block;
}

/* ===== ĐOẠN TÓM TẮT (hometext / excerpt) ===== */
.hometext,
#new-content .post-excerpt,
#new-content .entry-summary {
  font-weight: 700;
  margin-bottom: 10px !important;
}

/* ===== NỘI DUNG CHÍNH (bodytext) ===== */
.bodytext,
#new-content {
  word-break: keep-all;
  margin-bottom: 15px;
}

.bodytext p,
#new-content p {
  margin-bottom: 15px !important;
}

/* ===== DANH SÁCH (ul/ol) TRONG BÀI ===== */
#new-content ul,
#new-content ol {
  margin: 0 0 0 40px;
  padding: 2px 0;
}

#column_content ul,
#column_content ol {
  margin: 0 0 0 40px;
  padding: 2px 0;
}

#new-content ul li,
#new-content ol li {
  list-style: outside;
  margin: 0;
  padding: 2px 0;
}

/* ===== HÌNH ẢNH / FIGURE TRONG BÀI ===== */
#new-content figure {
  position: relative;
  padding: 3px;
  display: block;
  float: none;
  margin: 5px auto 10px;
  text-align: center;
}

#new-content figure img {
  margin-bottom: 0;
}

#new-content figure.left {
  float: left;
  margin: 5px 10px 10px 0;
}

#new-content figure.right {
  float: right;
  margin: 5px 0 10px 10px;
}

#new-content figure.center {
  float: none;
  margin: 0 auto 10px;
  text-align: center;
}

#new-content figure.noncaption {
  background: transparent;
  padding: 0;
}

#new-content figcaption {
  text-align: center;
  margin-top: 5px;
  font-weight: normal;
  font-size: 12px;
}

#new-content figure img {
  max-width: 100% !important;
  height: auto !important;
}

#new-content img {
  max-width: 100% !important;
  height: auto !important;
}

#new-content a {
  cursor: pointer;
}

#new-content a:hover {
  color: #0000EE !important;
}

/* ===== TABLES TRONG BÀI ===== */
#new-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

#new-content table th,
#new-content table td {
  border: 1px solid #ebebeb;
  padding: 8px 12px;
}

#column_content_wrapper table th,
#column_content_wrapper table td {
  border: 1px solid #ebebeb;
  padding: 8px 12px;
}

#new-content strong * {
  font-weight: bold !important;
}

.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignleft {
  float: left;
  margin-right: 1em;
}

.alignright {
  float: right;
  margin-left: 1em;
}

.clear {
  clear: both;
}

.wp-caption * {
  margin: 0 !important;
}

.wp-caption {
  margin-bottom: 16px !important;
}

.wp-caption-text,
.wp-caption-dd {
  text-align: center;
  font-style: italic;
}

@media (max-width: 768px) {
  .wp-caption,
  .wp-caption img {
    width: 100% !important;
  }

  #new-content table,
  #column_content table,
  #recruitment-content table {
    min-width: 320px !important;
  }

    .table-responsive {
      max-width: 85vw;
    }
}

/* recruitment-content */

.hometext,
#recruitment-content .post-excerpt,
#recruitment-content .entry-summary {
  font-weight: 700;
  margin-bottom: 10px !important;
}

/* ===== NỘI DUNG CHÍNH (bodytext) ===== */
.bodytext,
#recruitment-content {
  word-break: keep-all;
  margin-bottom: 15px;
}

.bodytext p,
#recruitment-content p {
  margin-bottom: 15px !important;
}

/* ===== DANH SÁCH (ul/ol) TRONG BÀI ===== */
#recruitment-content ul,
#recruitment-content ol {
  margin: 0 0 0 40px;
  padding: 2px 0;
}

#recruitment-content ul li,
#recruitment-content ol li {
  list-style: outside;
  margin: 0;
  padding: 2px 0;
}

/* ===== HÌNH ẢNH / FIGURE TRONG BÀI ===== */
#recruitment-content figure {
  position: relative;
  padding: 3px;
  display: block;
  float: none;
  margin: 5px auto 10px;
  text-align: center;
}

#recruitment-content figure img {
  margin-bottom: 0;
}

#recruitment-content figure.left {
  float: left;
  margin: 5px 10px 10px 0;
}

#recruitment-content figure.right {
  float: right;
  margin: 5px 0 10px 10px;
}

#recruitment-content figure.center {
  float: none;
  margin: 0 auto 10px;
  text-align: center;
}

#recruitment-content figure.noncaption {
  background: transparent;
  padding: 0;
}

#recruitment-content figcaption {
  text-align: center;
  margin-top: 5px;
  font-weight: normal;
  font-size: 12px;
}

#recruitment-content figure img {
  max-width: 100% !important;
  height: auto !important;
}

#recruitment-content img {
  max-width: 100% !important;
  height: auto !important;
}

#recruitment-content a {
  cursor: pointer;
}

#recruitment-content a:hover {
  color: #0000EE !important;
}

/* ===== TABLES TRONG BÀI ===== */
#recruitment-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

#recruitment-content table th,
#recruitment-content table td {
  border: 1px solid #ebebeb;
  padding: 8px 12px;
}

#recruitment-content strong * {
  font-weight: bold !important;
}
