/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: Dai
Template: flatsome
Version: 3.0
*/
.d-flex {
	display: flex;
	gap: 30px;
}
.d-flex .cat-label {
	line-height: 1.4;
}
.header-block-block-1 .ux-menu-link__link:hover span,
.header-block-block-1 .ux-menu-link__link:hover i {
	color: var(--fs-color-primary) !important;
}
.header-block .ux-menu {
	display: flex;
	flex-direction: row;
	gap: 20px;
	color: #fff;
}
.section-footer {
	/* background: linear-gradient(104deg, #ffbd4aa6 0%, #ffbd4af2 29.75%); */
	color: #fff;
}
.section-title-normal,
.section-title-normal span {
	border-bottom: none;
}
.title-footer {
	margin-bottom: 0;
}
.title-footer .section-title-normal {
	border-bottom: none;
}
.title-footer .section-title-main {
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.5;
	text-transform: capitalize;
}
.section-footer p {
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.42;
	text-align: left;
}
/* .section-about-img {
	background-image: url("../../uploads/2025/05/bg-sec-scaled.png");
	background-size: cover;
	background-position: top;
	background-repeat: no-repeat;
} */
.margin-top-img {
	transform: translateY(100px);
	opacity: 0.8;
}
.col-number-about .stack {
	justify-content: space-between !important;
}
.col-number-about .stack .text {
	width: 50%;
}
.sum-box {
	display: flex;
}
.sum-xl_text {
	color: var(--fs-color-primary);
	font-size: 90px;
	font-weight: 600;
	line-height: normal;
}
.sum-l_text {
	color: var(--fs-color-primary);
	font-size: 48px;
	font-weight: 600;
	/* line-height: normal; */
}
.sum-block p {
	margin-bottom: 0 !important;
	transform: translateY(-15px);
}
.row-slider-1 {
	max-width: 33% !important;
	opacity: 1 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.row-slider-1 .col {
	padding: 0 6px 30px;
}
.row-slider-1 .col .col-inner {
	border-radius: 12px !important;
	overflow: hidden;
}
.line-decor::before {
	content: "";
	display: block;
	position: relative;
	width: 0.1rem;
	min-height: 5rem;
	background: linear-gradient(180deg, #fff0 0%, var(--fs-color-primary) 100%);
	margin: 0 auto;
	margin-bottom: 0.8rem;
}

.line-decor.one::before {
	background: linear-gradient(180deg, #fff0 0%, #fff 100%);
}
.row-custom-vision .box-text {
	position: absolute;
	top: 130%;
	color: #fff;
	transition: 0.5s;
	/* background-color: var(--fs-color-primary); */
	opacity: 1;
}
.row-custom-vision h2 {
	color: #fff;
}
.row-custom-vision {
	border-radius: 12px;
	overflow: hidden;
	transition: 0.6s ease-in-out;
}
.row-custom-vision .col-inner:hover .box-text {
	top: 0%;
	transition: 0.6s ease-in-out;
	cursor:pointer;
	@media screen and (max-width:768px){
		top: 0%!important;
	}
}
.row-custom-vision ul,
.row-custom-vision ul li {
	margin-bottom: 0 !important;
}
.background-color-bottom {
	background-image: linear-gradient(
		180deg,
		#ffffff 50%,
		var(--fs-color-secondary) 50%
	);
}
.background-color-bottom._1 {
	background-image: linear-gradient(
		180deg,
		#fafafa 50%,
		var(--fs-color-secondary) 50%
	);
}
.row-custom-vision .box-image::after {
	content: "";
	width: 0;
	height: 0.2rem;
	background: var(--fs-color-primary);
	display: block;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	transition: 0.4s;
	z-index: 7;
}
.row-custom-vision .col-inner:hover .box-image::after {
	width: 100%;
}

.section-train .nav {
	order: 1;
	width: 35%;
	color: #fff;
}
.section-train .nav li {
	border-top: none;
}
.section-train .nav li a {
	/* background-color: ; */
}
.section-train .nav li span {
	color: var(--fs-color-primary);
	text-transform: capitalize;
	font-size: 14px;
	font-weight: 600;
	padding-left: 15px;
}
.section-train .nav li.active a {
	background-color: var(--fs-color-primary);
	border-radius: 8px;
}
.section-train .nav-line > li > a:before {
	background-color: transparent !important;
}
.section-train .nav li.active span {
	color: #fff;
}
.section-train .tab-panels {
	color: #fff;
}
.section-train .tab-panels img {
	border-radius: 8px;
}
.section-train .tab-panels {
	border-left: none !important;
}
.section-ts .col-text-rotate h2 {
	position: relative;
	left: 0%;
	transform: rotate(-90deg) translate(-5%, -340%);
	border-bottom: 0.1rem solid #999;
	width: 500px;
	text-align: center;
	font-size: 40px;
	text-transform: capitalize;
}
.section-ts ul {
	width: 100%;
	display: flex;
}
.section-ts ul li {
	flex-grow: 1;
	width: 1;
}
.section-ts ul li a,
.section-ts ul li span {
	width: 100%;
}
.section-ts img {
	border-radius: 8px;
}
.section-ts .nav-line > li > a:before {
	background-color: transparent;
}
.section-contact-form {
	color: #fff;
}
.section-contact-form .box.has-hover {
	background-color: #fff;
	border-radius: 8px;
	margin: 0px 0 10px !important;
	width: 80%;
	padding: 0 15px;
	color: #333;
}
.section-contact-form .box:hover {
	background-color: #6666668e;
	color: #fff;
	cursor: pointer;
}
.section-contact-form .box:hover h4 {
	color: #fff;
}
.section-contact-form .wpcf7-form-control:not(.wpcf7-checkbox) {
	width: 100%;
	border-radius: 0.4rem;
	border: 0.1rem solid #f0f0f0;
	background: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	margin-top: 4px;
}
.section-contact-form .wpcf7 {
	background: white;
	padding: 60px 100px;
	border-radius: 8px;
}
.section-contact-form .wpcf7-form-control:focus {
	border: 0.1px solid var(--fs-color-primary);
}
.wpcf7-submit {
	background-color: var(--fs-color-primary) !important;
}
.section-feel .flickity-page-dots {
	bottom: -20px !important;
}
.section-page-about::before {
	content: "";
	position: absolute;
	top: 60%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: url("../../uploads/2025/05/decor-ab.png");
	background-size: cover;
	background-repeat: no-repeat;
	display: block;
	width: 100%;
	min-height: 88.3rem;
	z-index: 1;
}
.page-header-custom-about::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	z-index: 1;
	left: 0;
	bottom: -0.1rem;
	background: linear-gradient(180deg, #fff0 20%, #fafafa 80%);
}
.vd-border-radius .col-inner {
	border-radius: 12px;
	overflow: hidden;
}
.page-header-custom-about .title-wrapper {
	z-index: 2;
}
.page-header-custom-about .title-wrapper h1 {
	color: #333;
	font-size: 46px;
}
.tab-contact_item::before {
	content: "";
	width: 70%;
	height: 100%;
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	background: var(--fs-color-secondary);
	border-radius: 0.8rem;
	z-index: 0;
}
.tab-contact_item a {
	color: #fff;
}
.map-radius {
	overflow: hidden;
	border-radius: 12px;
}
.custom-pri {
	width: 35%;
	margin: 0 auto 30px;
}
.box-blog-post .image-cover {
	padding-top: 75%;
}
.section-share .post-item .col-inner {
	border-radius: 12px;
	overflow: hidden;
}
.cat-label {
	background-color: var(--fs-color-primary) !important;
	color: #fff !important;
	opacity: 1;
	position: relative;
}
.cat-label::after {
	content: "";
	position: absolute;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #333;
	top: 50%;
	left: calc(100% + 1rem);
	transform: translateY(-50%);
}
/* CSS BÀI VIẾT */
.blog-wrapper.blog-archive .row.row-large {
	margin-top: 30px;
	margin-bottom: 30px;
}
.blog-wrapper.blog-archive .post-sidebar .widget-title {
	color: var(--fs-color-primary) !important;
}
.widget_categories .is-divider {
	max-width: 100%;
	height: 1px;
}
.blog-wrapper.blog-archive .post-sidebar {
	padding: 15px 15px 0;
	background: white;
	box-shadow: 0 1px 13px -2px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
	border-radius: 12px;
}
.post-item .col-inner {
	border-radius: 12px;
	overflow: hidden;
}
.post-item .is-divider {
	display: none;
}
.box-blog-post .image-cover {
	padding-top: 75% !important;
}
.blog-wrapper.blog-archive .from_the_blog_comments {
	display: none;
}
.post-item .overlay-custom:hover::before {
	transform: translate(-50%, -50%) scale(1);
	opacity: 0.4;
}

.post-item .overlay-custom::before {
	content: "";
	width: 100%;
	height: 100%;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.5);
	background: #000;
	opacity: 0;
	z-index: 1;
	border-radius: 0.8rem;
	transition: 0.3s;
}
.post-item .post-title a {
	display: -webkit-box;
	-webkit-line-clamp: 2; /* số dòng tối đa */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	height: 45px;
}
.from_the_blog_excerpt {
	margin-top: 10px !important;
}
.section-footer .ux-menu-link__link:hover span {
	color: var(--fs-color-primary);
}
.stack-custom {
	.row{
		flex:1;
	}
}
.custom-slider-new {
	.row{
		padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    max-width: 33% !important;
		@media screen and (max-width:768px){
			max-width:75%!important;
		}
	}
}
@media screen and (max-width: 768px) {
	.header_logo.header-logo {
		padding: 15px;
	}
	.custom-pri {
		width: 90%;
		margin: 0 auto 30px;
	}
	.convert-mobile {
		order: 1;
	}
	.margin-top-img {
		transform: translateY(0);
	}
	.col-number-about .stack {
		/* justify-content: space-between !important; */
		flex-direction: column;
	}
	.col-number-about .stack .text {
		width: 100%;
	}
	.sum-box {
		display: flex;
	}
	.row-custom-vision .col-inner:hover .box-text {
		top: 350px;
		transition: 0.5s ease-in-out;
	}
	.section-train .tab-panels {
		order: 1;
	}
	.section-train .nav {
		width: 100%;
	}
	.section-contact-form .box.has-hover {
		display: flex;
		width: 100%;
		align-items: center;
		justify-content: center;
	}
	.section-contact-form .box-image {
		width: 45% !important;
		padding: 15px;
	}
	.section-ts .box-text-inner .button {
		display: block !important;
	}
	.section-contact-form .wpcf7 {
		padding: 30px;
	}
	.section-share .flickity-button,
	.section-gallery .flickity-button {
		width: 50px !important;
		padding: 15px;
		background-color: var(--fs-color-primary) !important;
		height: 50px;
		border-radius: 50%;
		margin-top: 0 !important;
	}
	.section-share .flickity-button svg,
	.section-gallery .flickity-button svg {
		padding: 10px !important;
		fill: #fff;
	}
	.row-slider-1 {
		max-width: 100% !important;
		opacity: 1 !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	.row-slider-1 .col {
		padding: 0 6px;
	}
	.section-feel .flickity-page-dots {
		bottom: -40px !important;
	}
	.stack-custom {
		flex-direction: column;
	}
	.section-page-about::before {
		content: none !important;
		position: absolute;
		top: 60%;
		left: 50%;
		transform: translate(-50%, -50%);
		background: url("../../uploads/2025/05/decor-ab.png");
		background-size: cover;
		background-repeat: no-repeat;
		display: block;
		width: 100%;
		min-height: 88.3rem;
		z-index: 1;
	}
	.tab-contact_item::before {
		content: "";
		width: 100%;
	}
	.map-radius {
		padding: 15px;
	}

	.post-sidebar {
		margin: 15px;
	}
	.medium-col-first {
		order: 1;
		padding-bottom: 0;
	}

}
