/*
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;
}
#logo {
	width: 100px;
	display: none;
}
html {

	background-color: transparent !important;
}
.header-main{
	background: url(https://ktech1.k-tech-services.com/info510/wp-content/uploads/2026/09/db3e2fbd-87fc-4ee0-a790-eaa42a6b5545.jpg);
	background-size: 100% 100%;
}

.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 {
	margin:0;
}
li.menu-item a {
	transition: all 0.3s ease;
}
li.menu-item a:hover {
	background-color: #01A95B !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: 18px;
}
.trangchu-col3 .box-image {
	width: 30%;
	padding-left: 5px;
	border-radius: 10px;
}.trangchu-col3 .box-image img{
	border-radius:8px; 	
}
.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;
	padding: 10px;
}
.trangchu-col3 .box-blog-post .box-text {
	padding: 5px;
}
.trangchu-col3 .box-blog-post .post-title > a {
	font-size: 14px;
	font-weight: 500;
	font-style: italic;
}

.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;
	width: 300px;
	text-align: center;
}
.trangchu-col3-2 .box-image img {
	margin: 0 auto;
	max-width: 100%;
	width: 100%;
	height: 250px;
	object-fit: cover;
}
.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 #01A95B;
	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: 14px;
	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;
	}
}
.stats-widget {
	PADDING: 10PX;
}
.trangchu-col3,.trangchu-col3-2 {
	background-color: #fff;
	border-radius: 5px;
	overflow: hidden;
	border: 1px solid var(--primary-color);
	border-bottom-width: 8px;
	border-top-width: 8px;
	border-right-width: 3px;
}
/* Dùng grid để chia layout 7 - 5 */
.trangchu-blog1 {
	display: grid !important;
	grid-template-columns: 7fr 5fr; /* cột 7 - cột 5 */

}

/* Tắt chia cột mặc định của Flatsome */
.trangchu-blog1 .col {
	width: 100% !important;
	max-width: 100% !important;
	flex: unset !important;
}

/* Bài đầu tiên nằm nguyên cột trái */
.trangchu-blog1 .post-item:first-child {
	grid-column: 1; 
	grid-row: 1 / span 3; /* cao bằng 3 bài bên phải */
}
.trangchu-blog1 .post-item:first-child .box-image {
	margin-bottom: 1rem;
	width: 100% !important;
}
.trangchu-blog1 .post-item:first-child .box-image .image-cover{
	padding-top: 0 !important;
	height: 300px ;
	object-fit: cover;
}
/* 3 bài còn lại vào cột phải */
.trangchu-blog1 .post-item:nth-child(n+2) {
	grid-column: 2;
}

/* Cho cột phải thành dạng vertical */
.trangchu-blog1 .post-item:nth-child(n+2) .box {
	display: flex;
	align-items: center;
}

.trangchu-blog1 .post-item:nth-child(n+2) .box-image {
	width: 33% !important;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    margin: 0;
    border-radius: 8px;
}
.trangchu-blog1 .post-item:nth-child(n+2) .box-text {
	width: 67% !important;
	padding-left: 15px;
}
.trangchu-blog1 .post-item:nth-child(n+2) .box-text .from_the_blog_excerpt {
	display:none !important;
}
.trangchu-blog1 .box-text .button {
	margin-top: 0;
}
@media(max-width: 768px){
	.trangchu-blog1 {
		display: flex !important;
		
	}
}
