/*
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.2
*/

/* Add your custom CSS below this line */
/* ---------- Header ------------- */
html {
	scroll-behavior: smooth;
}
.text-header > h2 {
	margin-bottom: 0;
}
.title_logo {
	color: var(--fs-color-primary) !important;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 11px;
	text-align: center;
	line-height: 1.5rem;
}

.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 ------------- */

ul.sub-menu {
	padding: 0;
}
li.menu-item {
	/* border-bottom: 1px solid #c7c7c7; */
}
li.menu-item a {
	transition: all 0.3s ease;
}
li.menu-item a:hover {
	background-color: #da251d !important;
}

@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: 0;
}
.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 */
.trangchu-blog1 .col.post-item {
	display: block;
}
.trangchu-blog1 .post-item:first-child .box-text {
	padding: 0 20px;
}
/* Ẩn ảnh của tất cả item trừ item đầu tiên */
.trangchu-blog1 .col.post-item:not(:first-child) img,
.trangchu-blog1 .col.post-item:not(:first-child) .box-image,
.trangchu-blog1 .col.post-item:not(:first-child) .from_the_blog_excerpt,
.trangchu-blog1 .col.post-item:not(:first-child) .button {
	display: none;
}
.trangchu-blog1 .col.post-item:not(:first-child) .post-title.is-large {
	font-size: 15px;
	padding: 5px 0;
	text-transform: capitalize;
}
@media screen and (max-width: 849px) {
	.medium-logo-left .logo {
		margin-left: 0;
		margin-right: 15px;
		order: 1;
		margin: 0 !important;
	}
	#logo {
		width: 70px !important;
	}
	.medium-logo-left .flex-right {
		flex: 0 1 0;
		order: 3;
		margin-left: 50px;
		margin: 0 !important;
	}
	.header-inner .nav {
		flex-wrap: nowrap;
		justify-content: center !important;
	}
}