/*
Theme Name: Flatsome Child
Theme URI: http://example.com/flatsome-child/
Description: This is a child theme for Flatsome Theme
Author: Your Name
Author URI: http://example.com
Template: flatsome
Version: 1.0.0
*/

/* Add your custom CSS below this line */
/* ---------- Header ------------- */
html {
	scroll-behavior: smooth;
}
.text-header > h2 {
	margin-bottom: 0;
}
.title_logo {
	color: #008000;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 10px;
	text-align: center;
}

.item-contact > div.icon {
	display: inline-block;
	width: 27px;
	margin-right: 5px;
}
.phone_info {
	display: inline-block;
	color: #e21d0b;
	font-size: 15px;
	font-weight: 700;
}
.phone_info span {
	color: var(--primary-color);
	font-size: 14px;
}

@media screen and (max-width: 849px) {
	.medium-logo-left .flex-right {
		flex: 0 1 0;
		order: 3;
		margin-left: 50px;
	}
}
/* ---------- Header ------------- */

/* ------------- Menu ------------- */

@media screen and (max-width: 768px) {
	li.menu-item a:hover {
		background-color: var(--primary-color) !important;
	}
	ul.sub-menu {
		padding-bottom: 0 !important;
	}
}

/* ------------- Menu ------------- */

/* ------------- Breadcrumb ------------- */

nav.rank-math-breadcrumb {
	padding: 10px;

	background-color: #f7f6f6;
}
nav.rank-math-breadcrumb > p {
	margin-bottom: 0;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
nav.rank-math-breadcrumb > p a {
	transition: all 0.3s ease;
	font-size: 14px;
}
nav.rank-math-breadcrumb > p span {
	transition: all 0.3s ease;
	font-size: 14px;
}
nav.rank-math-breadcrumb > p a:hover {
	color: var(--primary-color);
}

/* ------------- Breadcrumb ------------- */

/* ------------- Trang chu ------------- */
#content {
	padding-bottom: 0;
}

.section-trangchu {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.is-divider {
	display: none;
}
.trangchu-col3 > div {
	border: 1px solid #ccc;
}
.title1 {
	padding-bottom: 0;
	margin-bottom: 0;
	background-color: var(--primary-color);
	display: flex;
}
.title1 > h3 {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: unset;
	color: white;
	padding-left: 5px;
}
.title1 > h3 > span {
	margin-bottom: 0;
	padding: 10px;
	font-size: 14px;
}
.trangchu-col3 .box-image {
	display: none;
}
.trangchu-col3 > div > .img {
	margin-bottom: 0 !important;
}
.trangchu-col3 .post-item {
	padding-bottom: 0;
}
.trangchu-col3 .box-blog-post {
	border-top: 1px dashed #dbbda2;
}
.trangchu-col3 .box-blog-post .box-text {
	padding: 5px;
}
.trangchu-col3 .box-blog-post .post-title > a {
	font-size: 14px;
}

.gray-text {
	padding: 5px;
	background-color: #eeeeee;
	margin-bottom: 5px;
}
.gray-text > p {
	margin-bottom: 0;
}

.row.gallery-doitac {
	margin: 0 !important;
	padding-top: 20px;
	background-color: #f8f7f7;
}

/* ------------- title 2 ------------- */
.title2 {
	margin-bottom: 0;
	background-color: #eaeaea;
	border-bottom: 2px solid #f00;
}
.title2 > h1 {
	margin-bottom: 0;
}
.title2 > h1 > a {
	color: white;
	background-color: var(--primary-color);
	display: inline-block;
	position: relative;
	padding: 5px;
}
.title2 > h1 span {
	font-size: 18px;
}
.title2 > h1 span:before {
	content: '';
	position: absolute;
	top: 0;
	left: 100%;
	width: 0;
	height: 0;
	border-top: 46px solid transparent;
	border-left: 68px solid #bbbbbb;
	border-bottom: 0px solid transparent;
}
.title2 > h1 span:after {
	content: '';
	position: absolute;
	top: 0;
	left: 100%;
	width: 0;
	height: 0;
	border-top: 46px solid transparent;
	border-left: 47px solid #da251d;
	border-bottom: 0px solid transparent;
}
@media only screen and (max-width: 768px) {
	.title2 > h1 span:before {
		border-top: 39.5px solid transparent;
	}
	.title2 > h1 span:after {
		border-top: 39.5px solid transparent;
	}
}

/* ------------- title 2 ------------- */

.trangchu-blog1 .post-item {
	padding-bottom: 0;
}
.trangchu-blog1 .button::after {
	content: '\2192'; /* Mã Unicode cho mũi tên sang phải */
	margin-left: 5px;
}

.trangchu-blog5 .box-image {
	display: none;
}
.trangchu-blog5 .post-item {
	margin-bottom: 0;
	padding-bottom: 5px;
}
.trangchu-blog5 .post-item .box-text {
	border-bottom: dashed 1px #ccc;
	margin-bottom: 0;
	padding: 0;
}

/* Blog Archive */
.post-category {
	border-bottom: solid 2px #000000;
	font-weight: bold;
	font-size: 18px;
}
.blog-archive .button {
	color: red;
	padding: 0;
	margin: 10px 0 0;
	font-weight: normal;
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	transition: all 0.3s ease;
	background-color: transparent;
	border: unset;
	text-transform: none;
}
.blog-archive .button::after {
	content: '\2192'; /* Mã Unicode cho mũi tên sang phải */
	margin-left: 5px;
	transition: transform 0.3s ease;
}
.blog-archive .button:hover {
	box-shadow: unset;
}

.blog-archive .post-item {
	padding-bottom: 20px;
}
.entry-date {
	font-size: 13px;
	color: #a9a9a9;
}
.post-title a {
	transition: all 0.3 ease;
}
.post-title:hover a {
	color: var(--primary-color);
}

@media screen and (max-width: 768px) {
	.blog-archive .box-blog-post {
		display: flex;
		gap: 5px;
	}

	.blog-archive .from_the_blog_excerpt {
		display: none;
	}

	.blog-archive .box-image {
		vertical-align: middle;
		display: table-cell;
		width: 90% !important;
	}
	.blog-archive .box-text {
		padding: 0;
	}
	.blog-archive .box-text a {
		margin-top: 0;
	}
	.blog-archive #post-list > div {
		gap: 10px;
	}
}
/* Blog Archive */

/* Single Post */

.entry-header-text {
	border-bottom: solid 1px #ccc;
}

.blog-lienquan {
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.blog-lienquan > div {
	padding-top: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #f0f0f0;
	border-left: 1px solid #f0f0f0;
	border-right: 1px solid #f0f0f0;
}
.blog-lienquan > div .box-text {
	vertical-align: top;
}

@media screen and (max-width: 768px) {
	.blog-lienquan .box-blog-post {
		display: flex;
		gap: 5px;
	}

	.blog-lienquan .from_the_blog_excerpt {
		display: none;
	}

	.blog-lienquan .box-image {
		vertical-align: middle;
		display: table-cell;
		width: 60% !important;
	}
	.blog-lienquan .box-text {
		padding: 0;
	}
	.blog-lienquan .box-text a {
		margin-top: 0;
	}
	.blog-lienquan #post-list > div {
		gap: 10px;
	}
}

/* Single Post */

/* ------------- Side bar ------------- */

.sidebar-blog .post-title > a:before {
	content: '» ';
}
/* ------------- Side bar ------------- */
.entry-content.single-page .wp-video {
	max-width: 100%;
	height: auto;
	width: 100% !important;
	max-width: 100% !important;
}
.sec-blog .trangchu-blog1 .post-item {
	padding: 1rem 0 !important;
}
.trangchu-blog1 .post-item .box-text {
	border-bottom: dashed 1px #ccc;
	margin-bottom: 0;
	padding: 0;
}
/* Hiển thị tất cả post-item */

/* NEW */
.row-new-header .large-3 {
	flex-basis: 25%;
	max-width: 10%;
}
.header-bottom .flex-col {
	display: flex !important;
	margin: 0 !important;
	width: 100%;
}
.post1 .large-3 {
	flex-basis: 25%;
	max-width: 50%;
}
.post1 .medium-6 img {
	object-fit: fill;
}
/* .post1 .overlay {
	background: none !important;
} */
.post1 .box-text-inner {
	text-align: left;
	font-size: 18px;
}
.post1 .post-meta {
	opacity: 1;
	color: white !important;
	font-weight: bold;
	background: var(--fs-color-primary);
	display: inline-block;
	padding: 0 5px;
	border-radius: 8px;
}
.header-main .header-nav-main {
	justify-content: center;
	gap: 40px;
}
/* BLOG */
/* Wrapper chung */
.blog-post.list.d-flex {
	display: flex;
	gap: 15px;
}
.post-meta {
	color: rgb(99, 99, 99);
	font-size: 13px;
	margin-top: 10px;
}
.blog-post.featured .post-title {
	margin: 0;
}
.post-cat a {
	color: rgb(99, 99, 99);
	font-size: 13px;
}
.blog-2 .post-meta {
	margin-top: 0px !important;
}
.blog-2 .post-cat {
	display: none !important;
}
.blog-2 .post-title a {
	font-size: 14px;
}
.blog-post.featured:hover,
.blog-2 .blog-post:hover {
	transform: scale(1.02);
	transition: all 0.3s ease;
}
.tab-home ul {
	background: #0a2c48;
	justify-content: center;
	gap: 30px;
}
.tab-home ul span {
	color: white;
}
.tab-home .nav > li.active > a span {
	color: #155da1;
	font-weight: bold;
	background: white;
	border-radius: 50px;
	padding: 5px 10px;
}
.menu-ft {
	display: flex;
	flex-direction: row;
	gap: 35px;
}
.menu-ft .ux-menu-link__text {
	color: #ccc !important;
}
th[data-name='content'],
.col-content {
	display: none !important;
}
.col-image img {
	height: 30px;
	width: 30px;
}
th[data-name='id'],
.col-id {
	display: none !important;
}
table.dataTable.no-footer {
	border: 2px solid #111;
}
.col-title.dtr-control {
	color: black;
	font-weight: bold;
}
.icon-tl {
	align-items: center;
}
.icon-tl .icon-box-text {
	font-size: 30px;
	color: #f97130;
	font-weight: bold;
}
.row-mb-header {
	background: #0a2c48;
}
.row-mb-header .col.medium-3 {
	display: none;
}
.row-mb-header .col.small-12.large-12 {
	margin: 0;
	padding: 0;
	padding: 10px 0;
}

/* Mobile CSS */
@media (max-width: 768px) {
	.tab-home ul {
		background: #0a2c48;
		justify-content: center;
		gap: 10px;
		height: 50px;
		overflow-x: auto; /* Cho phép trượt ngang */
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch; /* Mượt trên iOS */
		white-space: nowrap;
		scrollbar-width: none; /* Ẩn scrollbar Firefox */
	}
	.menu-ft {
		display: flex;
		flex-direction: row;
		gap: 15px;
	}
}
