/*
Theme Name: Flatsome Child
Description: NamKiem developed for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.13.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

:root {
  --background-primary: #e3f1ff;
  --secondary-color: #dd362e;
  --light-gray: #ddd;
  --tabpanel-background: #e3f1ff;
  --active-color: yellow;
  --active-background: rgba(255, 255, 255, 0.13);
}

body,
html,
h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.off-canvas-center .nav-sidebar.nav-vertical > li > a {
  font-family: Tahoma, sans-serif, "Open Sans Condensed";
}

/* Flatsome custom */
#logo {
  display: none;
}
.entry-header {
  display: none;
}

.page-wrapper {
  padding: 0;
}

table {
  margin: 0;
}

.container {
  padding: 0;
}

.bg-light-gray {
  background-color: var(--light-gray);
}

/* kết thúc Flatsome custom */

/* Custom blog archive */

.blog-archive .page-title {
  display: none;
}

.blog-archive > .row-large > .col.large-9 {
  padding: 0;
}

.blog-archive .post-sidebar {
  border-left: 1px solid var(--light-gray);
  padding: 0px 8px;
}

.blog-archive .entry-image-float {
  max-width: 25%;
}

.blog-archive > .row.row-large,
.blog-single > .row.row-large {
  max-width: 1190px;
}

.blog-archive .box-text {
  vertical-align: text-top;
}

.blog-archive .row .row:not(.row-collapse) {
  margin-left: 0;
  margin-right: 0;
}

.blog-archive .post-item {
  padding: 12px 4px;
}

.blog-archive .entry-header,
.blog-single .entry-header {
  display: block;
}

.blog-archive .is-divider,
.blog-single .is-divider {
  display: none;
}

.blog-archive .entry-header .entry-header-text,
.blog-single .entry-header .entry-header-text {
  padding: 4px 0;
}

.blog-archive .entry-header .entry-title,
.blog-single .entry-header .entry-title {
  margin-bottom: 4px;
  color: var(--primary-color);
}

.blog-archive .entry-meta,
.blog-single .entry-meta,
.blog-archive .entry-summary > .text-left {
  display: none;
}

.blog-archive .ArticleSummary {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* blog single css */

.blog-single .entry-content {
  padding-top: 8px;
  padding-bottom: 8px;
}

.blog-single .col {
  padding: 8px;
}

.blog-single table,
.blog-single th,
.blog-single td {
  border: 1px solid black;
  border-collapse: collapse;
}

.blog-single table {
  width: 100%;
  table-layout: fixed;
}

.blog-single .table-responsive {
  overflow: auto;
}

/* Kết thúc blog single css */

/* Kết thúc Custom blog archive */

/* Xem thêm */

.xem-them > .tieu-de-xem-them {
  font-weight: bold;
}
.xem-them > ul {
  list-style-type: none;
}

.xem-them > ul > li {
  margin: 0;
  margin-bottom: 4px;
  padding: 12px 16px;
  background: url("https:/xaphongthanh.vn/wp-content/uploads/2025/08/arrow.png");
  background-repeat: no-repeat;
  background-size: 8px 8px;
  background-position: 6px 18px;
  font-size: 14px;
}
.xem-them > ul > li > a {
  color: var(--primary-color);
}

.xem-them > ul > li > a:hover {
  color: var(--secondary-color);
}

/* Kết thúc xem thêm */

/* Custom Breadcumbs */

#breadcrumbs {
  margin-bottom: 8px;
  padding: 4px;
  background: var(--primary-color);
}

#breadcrumbs span,
#breadcrumbs a {
  color: white;
}

#breadcrumbs a:hover {
  color: yellow;
}

#breadcrumbs .breadcrumb_last {
  color: yellow;
}
/* Kết thúc Breadcumbs */

/* Bài viết liên quan */

.bai-viet-lien-quan .list-bai-viet {
  display: inline-block;
  width: 100%;
  clear: both;
}

.bai-viet-lien-quan .list-bai-viet li {
  width: 20%;
  display: inline-block;
  float: left;
  padding-left: 3px;
  padding-right: 3px;
}

.bai-viet-lien-quan .list-bai-viet li img {
  height: 100px;
  object-fit: cover;
}

.bai-viet-lien-quan .list-bai-viet li a h4 {
  height: 42px;
  overflow: hidden;
  color: black;
  font-size: 13px;
  font-weight: normal;
}

/* Kết thúc bài viết liên quan */

/* Section custom css */
.custom-section {
  padding: 0 !important;
}

.custom-section .post-item {
  padding: 0;
}

.custom-section .row:not(.row-collapse) {
  margin-left: 0px;
  margin-right: 0px;
}

.custom-section .row > .col {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 8px;
}

.custom-section p {
  margin-bottom: 4px;
}

.custom-section .box-text {
  padding-bottom: 0px;
}

.custom-section {
  margin-bottom: 8px;
}

.custom-section .is-divider {
  display: none;
}

#content {
  padding: 0;
}
/* kết thúc Section custom css */

/* Custom Title */

.custom-title {
  margin-bottom: 8px;
}

.custom-title .section-title {
  margin-bottom: 0;
  border: 0;
  border-left: 4px solid var(--secondary-color);
  background: none;
  text-align: left;
}

.custom-title .section-title .section-title-main {
  padding: 0;
  border-bottom: 0;
}

/* Kết thúc Custom Title */

/* custom blog */

.normal-blog .box-image {
  display: none;
}
.normal-blog .box-text {
  padding: 0px;
}

.normal-blog .box-text .post-title {
  padding: 12px;
  border-bottom: 1px dotted var(--light-gray);
  margin: 0;
}

.normal-blog .box-text .post-title:hover {
  color: var(--primary-color);
  background: lightgray;
}

.normal-blog.row:not(.row-collapse) {
  margin-left: 0px;
  margin-right: 0px;
}

.normal-blog a {
  font-weight: 400;
}

.normal-blog .box-text .is-divider {
  display: none;
}

.slider-blog {
  padding-right: 8px;
}

.slider-blog .box-text {
  background: #0074b2c4;
  padding-bottom: 16px;
  padding-top: 16px;
}

.slider-blog .is-divider {
  display: none;
}

/* kết thúc custom blog */

/* custom Tab */
.custom-tab .tab-panels {
  padding: 0px;
  max-height: 345px;
  overflow: auto;
  background-color: var(--tabpanel-background);
  border: 1px solid var(--light-gray);
}

.custom-tab > .nav {
  background: var(--primary-color);
  padding-top: 8px;
  padding-left: 4px;
  padding-right: 4px;
}

.custom-tab > .nav > .tab > a {
  color: white;
  text-align: center;
  padding-top: 4px;
  padding-bottom: 4px;
  border-radius: 8px 8px 0px 0px;
}

.custom-tab > .nav > .tab > a::before {
  display: none;
}

.custom-tab > .nav > .tab > a > span {
  text-transform: none;
  padding-left: 8px;
  padding-right: 8px;
}

.custom-tab > .nav > .tab.active > a {
  color: var(--secondary-color);
  background: var(--tabpanel-background);
}

/* kết thúc custom Tab */

/* Header custom css */
.header .flex-row {
  background: var(--primary-color);
}

.header-nav li a {
  margin-top: 4px;
  line-height: 12px;
  padding: 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
  color: white;
  background: var(--primary-color);
}

.header-nav li:hover a,
.header-nav li.active a {
  color: var(--active-color);
  background: var(--active-background);
}

.has-dropdown .icon-angle-down {
  display: none;
}

.nav-dropdown-default {
  padding: 0;
  min-width: 1170px;
  box-shadow: none;
  border: none;
  background: #d5dae2;
  border-top: 1px solid #a7a7a7;
}

.header-nav li,
.header-nav li a {
  margin: 0;
}

.header-bottom {
  background-image: linear-gradient(#a2a2a2, #b0b0b0, #c6c6c6, #d5d5d5);
  border-bottom: 1px solid #c5c5c5;
}

.nav-dropdown-default li a {
  background: none !important;
}
/* Kết thúc header css custom */

/* Sidebar custom css*/
.widget img {
  max-width: 100%;
}

.widget {
  margin-bottom: 7px;
}

.textwidget {
  background: #e3f1ff;
  border: 1px solid #d2d2d2;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  border-top: none;
  padding: 10px;
  font-size: 13px;
  color: black;
}

.textwidget p {
  margin-bottom: 0;
}

.widget .is-divider {
  display: none;
}

.widget-title span,
.section-title-normal span {
  height: 25px;
  width: 100%;
  line-height: 27px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--primary-color);
  letter-spacing: 0;
}

.widget-title,
.section-title-normal {
  width: 100%;
  height: 30px;
  background: #f3f3f3;
  border: 1px solid var(--light-gray);
  font-weight: bold;
  display: block;
  padding: 0 10px;
  text-align: center;
  letter-spacing: 0;
}

.widget.flatsome_recent_posts > ul {
  border: 1px solid var(--light-gray);
}

.widget .recent-blog-posts {
  padding: 16px;
  border-bottom: 1px dotted var(--light-gray);
  background: url("https://xaphongthanh.vn/wp-content/uploads/2025/08/arrow.png");
  background-repeat: no-repeat;
  background-size: 8px 8px;
  background-position: 4px 18px;
  font-size: 12px;
}

.widget .recent-blog-posts .mr-half {
  display: none;
}

.widget .recent-blog-posts .post_comments{
	display:none;
}

.widget .recent-blog-posts a {
  margin: 0;
}

/* Kết thúc sidebar custom */

/* Liên kết web css*/
.parent {
  margin: 0;
  padding: 0;
}

.parent > li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.parent > li > a {
  padding-left: 4px;
  border-left: 4px solid var(--secondary-color);
  font-size: 16px;
  line-height: 24px;
  font-weight: bold;
  color: #007bff;
}

.parent .columns {
  padding: 16px 28px;
  margin: 8px 0;
  background: var(--background-primary);
  border: 1px solid var(--light-gray);
  column-count:2;
}

.parent .columns li {
  font-weight: bold;
}

.parent .columns li:hover a {
  color: var(--secondary-color);
}

.parent .columns li::marker {
  color: var(--light-gray);
  font-size: 18px;
}

/* Kết thúc liên kết web css*/

/* Custom Footer */
.footer-wrapper {
  background: url(https://xaphongthanh.vn/wp-content/uploads/2025/08/footer-06.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100% 0%;
  max-width: 1220px;
  margin: auto;
}
.custom-footer .col {
  padding-bottom: 8px;
}
.custom-footer.section.dark {
  background: none;
  padding-bottom: 0px;
}
/* Kết thúc Custom Footer */

@media only screen and (max-width: 850px) {
  /*************** ADD TABLET ONLY CSS HERE  ***************/
	.parent .columns {
		column-count:1;
	}
	
  #top-bar {
    display: none;
  }
  #logo {
    display: block;
  }
  #logo > a > img {
    max-height: 60px;
  }
  #masthead.header-main {
    height: 60px;
  }
  .widget img {
    min-width: 100%;
  }

  .slider-blog {
    padding-right: 0;
  }
  #main {
    margin: 0 8px;
  }

  .off-canvas:not(.off-canvas-center) .nav-vertical li > a {
    padding-left: 20px;
    padding-top: 7px;
    padding-bottom: 7px;
    text-transform: none;
    color: black;
    font-weight: normal;
    font-size: 15px;
  }

  .blog-archive .post-item .post-title {
    font-size: 14px;
  }

  .blog-archive .xem-chi-tiet {
    display: none !important;
  }

  .blog-single .large-3,
  .blog-archive .large-3 {
    padding-right: 5px;
  }

  .widget img {
    min-width: 100%;
  }

  #menu-footer-menu li a {
    line-height: 24px;
  }
  /* 	Custom header */
  .header-main {
    background: none;
  }
  .header-main .header-inner {
    padding-left: 8px;
    padding-right: 8px;
  }
  .header-main .header-inner i {
    color: white;
  }
  .header-main .nav > li > a {
    padding: 0;
  }

  /* Kết thúc Custom header */

  /* navbar mobile */

  .off-canvas-left .mfp-content,
  .off-canvas-right .mfp-content {
    background-color: var(--primary-color);
  }
  .off-canvas:not(.off-canvas-center) .nav-vertical li > a {
    color: white;
  }

  .off-canvas:not(.off-canvas-center) .nav-vertical li > a:hover {
    color: var(--active-color);
    background: var(--active-background);
  }

  .nav-sidebar.nav-vertical > li + li {
    border-top: none;
  }

  /* Kết thúc navbar mobile */

  .blog-archive .entry-image-float {
    max-width: 100%;
  }
}
