/*
Theme Name: Flatsome Child
Theme URI: https://flatsome3.uxthemes.com/
Author: UX Themes
Author URI: https://uxthemes.com/
Template: flatsome
Description: Child theme tùy chỉnh cho Flatsome
Version: 1.0.0
*/
*{
	--fs-transition: all 0.3s ease-in-out;
	box-sizing: border-box;
	transition: var(--fs-transition);
}
.off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
	background-color: #FFF !important;
}
@font-face {
  font-family: 'FontMain';
  src: url('/wp-content/themes/flatsome-child/fonts/font-main.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
body {
	font-family: 'FontMain';
	font-weight: 400;
	font-size: 18px;
}
.icon-box-text {
	padding-left: 9px !important;
	font-size: 17px;
}
.d-flex {
	display: flex;
}
.d-al-center {
	align-items: center;
}
.d-center {
	justify-content: center;
}
.gap-5 {
	gap: 5px;
}
.gap-10 {
	gap: 10px;
}
.gap-15 {
	gap: 15px;
}
.gap-20 {
	gap: 20px;
}
.mb-0{
	margin-bottom: 0;
}
.header-nav.header-nav-main {
	justify-content: center;
}
.header-nav.header-nav-main>li {
	margin: 0;
	padding: 0 25px;
}
.header-nav.header-nav-main>li>a {
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	color: #000;
	position: relative;
}
.header-nav.header-nav-main>li>a:before {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	background-color: var(--fs-color-primary);
	left: 0;
	bottom: 0;
	transition: var(--fs-transition);
}
.header-nav.header-nav-main>li.active>a:before {
	width: 100%;
}
.header-nav.header-nav-main>li>a:hover:before {
	width: 100%;
	transition: var(--fs-transition);
}
.header-nav.header-nav-main>li>a:hover {
	color: var(--fs-color-primary);
	transition: var(--fs-transition);
}
.header-nav.header-nav-main>li.active>a{
	color: var(--fs-color-primary);
}
.header-nav.header-nav-main>li>.sub-menu {
	box-shadow: 0 8px 24px #0003;
	padding: 24px;
	border: unset;
	border-radius: 8px;
	margin: 0;
	background-color: #FFF;
	transform: translatey(-100%);
	min-width: max-content;
}
.header-nav.header-nav-main>li.current-dropdown>.sub-menu {
	transform: translatey(0);
}
.nav-dropdown-has-arrow.nav-dropdown-has-border li.has-dropdown:before {
	border-bottom-color: transparent;
}
.nav-dropdown-has-arrow li.has-dropdown:after, .nav-dropdown-has-arrow li.has-dropdown:before  {
	bottom: 0 !important;
}
.header-nav.header-nav-main>li>.sub-menu>li>a:hover {
	color: var(--fs-color-primary);
}
.slide-main {
	position: relative;
	width: 100%;
	height: 700px;
}
.mySwiper{
	width: 100%;
	height:100%;
}
.mySwiper img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.background-left{
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	background: linear-gradient(78.19deg, var(--fs-color-primary) 19.75%, #00266400 70.84%);
	height: 100%;
	z-index: 1;
}
.slide-main .content-banner {
	position: absolute;
	top: 50%;
	left: 0;
	transform: translatey(-50%);
	z-index: 33;
}
.swiper-pagination {
	left: 30% !important;
	bottom: 50px !important;
}
.swiper-pagination .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	margin: 0 10px !important;
	--tw-bg-opacity: 1;
	background-color: rgb(210 210 212 / var(--tw-bg-opacity));
	opacity: 1;
}
.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background-color: var(--fs-color-secondary);
}
.swiper-button-prev,
.swiper-button-next,
.swiper-pagination {
	position: relative !important;
	left: 0 !important;
	right:0 !important;
	top: 0 !important;
	bottom: 0 !important;
	margin-top: 0 !important;
}
.swiper-button-prev,
.swiper-button-next {
    width: 44px;
    max-width: 44px;
    min-width: 44px;
    box-sizing: border-box;
    border: 2px solid var(--fs-color-primary);
    background-color: #FFF;
    border-radius: 50%;
    transition: var(--fs-transition);
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
	background-color: var(--fs-color-primary);
	transition: var(--fs-transition);
}
.swiper-button-prev:after,
.swiper-button-next:after {
	font-size: 20px;
	transition: var(--fs-transition);
}
.swiper-button-prev:hover:after,
.swiper-button-next:hover:after{
	color: #FFF;
	transition: var(--fs-transition);
}
.box-swiper-navigation{
	position: absolute;
	right: 50px;
	bottom: 50px;
}
.isdiver-banner {
	height: 5px;
	width: 150px;
	background-color: var(--fs-color-secondary);
	margin-bottom: 30px;
}
.content-banner h2 {
	color: #FFF;
	font-size: 45px;
}
.content-banner h2 span {
	color: var(--fs-color-secondary);
}
.content-banner p {
	background: linear-gradient(90deg, var(--fs-color-primary), #13469900);
	padding: 5px;
	margin-bottom: 30px;
	color: #FFF;
}
.content-banner .btn-link {
	background-color: var(--fs-color-secondary);
	border-radius: 8px;
	padding: 5px 0;
	width: max-content;
}
.content-banner a {
	position: relative;
	font-weight: 700;
	padding: 10px 30px;
	color: var(--fs-color-primary) !important;
	font-size: 20px;
	transition: var(--fs-transition);
	z-index: 3;
}

.content-banner a:before {
	content: '';
	position: absolute;
	width: 0;
	left: 0;
	top: 0;
	height: 100%;
	border-radius: 8px;
	background-color: #FFF;
	transition: var(--fs-transition);
	z-index: -1;
}
.content-banner a:hover:before {
	width: 100%;
	transition: var(--fs-transition);
}
.blog-post-custom .col-inner,
.blog-post-custom .col-inner .box,
.post-item .col-inner,
.post-item .col-inner .box{
	border-radius: 10px;
}
.blog-post-custom .col-inner .box .box-image,
.blog-post-custom .col-inner .box .box-image img,
.post-item .col-inner .box .box-image,
.post-item .col-inner .box .box-image img {
	border-radius: 10px 10px 0 0;
}
.blog-post-custom .col-inner .box .box-text .post-title a,
.post-item .col-inner .box .box-text .post-title a{
	font-size: 18px;
	line-height: 1.5;
	font-weight: 700;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	height: 54px;
}
.blog-post-custom .col-inner .box .box-text .from_the_blog_excerpt,
.post-item .col-inner .box .box-text .from_the_blog_excerpt{
    color: #000;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 84px;
    text-align: justify;
}
.post-item .col-inner .box .box-text .from_the_blog_excerpt {
	height: 42px;
}
.is-divider {
	display: none;
}
.blog-post-custom a.button {
	border-radius: 4px;
	transition: var(--fs-transition);
}
.blog-post-custom a.button:hover {
	box-shadow: unset;
	background-color: var(--fs-color-secondary);
	transition: var(--fs-transition);
}
.btn-center {
	margin: 0 auto;
	display: block;
	width: max-content;
	transition: var(--fs-transition);
}
.btn-center:hover {
	background-color: var(--fs-color-secondary);
	transition: var(--fs-transition);
}
.flickity-button {
	opacity: 1 !important;
}
.blog-post-custom .flickity-slider:hover img{
	opacity: 0.3;
}
.blog-post-custom .col-inner:hover .box .box-image img {
	opacity: 1;
	transform: scale(1.1);
	transition: var(--fs-transition);
}
.pd-bt-0 {
	padding-bottom: 0 !important;
}
.blog-post-linh-vuc .col-inner,
.blog-post-linh-vuc .col-inner .box,
.blog-post-linh-vuc .col-inner .box .box-image,
.blog-post-linh-vuc .col-inner .box .box-image img{
	border-radius: 10px;
}
.banner {
	background-color: unset !important;
	z-index: 2;
}
.col-why .col-inner{
	box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22);
	padding: 15px;
	border-radius: 15px;
}
.col-why .col-inner {
	transition: var(--fs-transition);
}
.col-why .col-inner .img-inner {
	width: 40px;
	height: 40px;
	border-radius: 4px;
	padding: 4px;
	background-color: rgba(0, 1, 132, 0.2);
}
.col-why .col-inner .img-inner img {
	filter: brightness(0) saturate(100%) invert(17%) sepia(24%) saturate(6958%) hue-rotate(226deg) brightness(84%) contrast(132%);
}
.col-why .col-inner:hover {
	transform: translatey(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22);
	transition: var(--fs-transition);
}
.popup-form {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100000000014;
	background-color: rgba(0,0,0,0.4);
	opacity: 0;
	visibility: hidden;
	transition: var(--fs-transition);
}
.popup-form.active {
	opacity: 1;
	visibility: inherit;
	transition: var(--fs-transition);
}
.popup-form form {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 99;
	background-color: #FFF;
	border-radius: 20px;
	padding: 40px;
	width: 60%;
}
.close-popup {
	width: 40px;
	height: 40px;
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
}
.close-popup img {
	width:40px;
	height: 40px;
}
form input {
	height: 50px !important;
	padding: 5px 20px !important;
	border-radius: 4px !important;
}
form textarea {
	padding: 5px 20px !important;
	border-radius: 4px !important;
}
form input[type="submit"] {
	width: max-content;
	margin: 0 auto;
	display: block;
	line-height: 1;
	border-radius: 4px;
	transition: var(--fs-transition);
}
form input[type="submit"]:hover {
	background-color: var(--fs-color-secondary);
	transition: var(--fs-transition);
}
.wpcf7-spinner {
	display: none;
}
.absolute-footer {
	display: none;
}
.copy-bottom {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	padding-top: 20px;
	color: #FFF;
	border-top: 1px solid #FFFF;
}
.menu-ft .menu-item a span,
.menu-ft .menu-item a i{
	color: #FFF;
	transition: var(--fs-transition);
}
.menu-ft .menu-item a:hover{
	transform: translatex(5px);
	transition: var(--fs-transition);
}
.menu-ft .menu-item a:hover span,
.menu-ft .menu-item a:hover i {
	color: var(--fs-color-secondary);
	transition: var(--fs-transition);
}
.icon-box-custom {
	margin-bottom: 12px;
}
.icon-box-custom .icon-box-img {
	width: 30px !important
}
.icon-box-custom img{
	width: 30px;
}
.icon-box-custom p {
	margin-bottom: 10px;
	color: #FFF;
}
.share-ft a {
	margin-right: 10px !important;
	margin-bottom: 0 !important;
	margin-left: 0 !important;
}
.share-ft a:last-child {
	margin-right: 0 !important;
}
.img-custom img {
	object-fit: contain;
}
.contact-left {
	position: fixed;
	left: 13px;
	background: rgba(255, 255, 255, 1);
	border-radius: 5px;
	width: auto;
	z-index: 99999999999;
	bottom: 20px;
	padding: 10px;
	width: max-content;
	box-shadow: 0 1px 3px -2px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
	border: 1px solid #f2f2f2;
	flex-direction: column;
}
.contact-box .contact-icon {
	flex-direction: column;
}
.contact-box .contact-icon img{
	width: 48px;
}
@keyframes phone-vr-circle-fill{
	0% {
		-webkit-transform: rotate(0) scale(1) skew(1deg);
	}
	10% {
		-webkit-transform: rotate(-25deg) scale(1) skew(1deg);
	}
	20% {
		-webkit-transform: rotate(25deg) scale(1) skew(1deg);
	}
	30% {
		-webkit-transform: rotate(-25deg) scale(1) skew(1deg);
	}
	40% {
		-webkit-transform: rotate(25deg) scale(1) skew(1deg);
	}
	50% {
		-webkit-transform: rotate(0) scale(1) skew(1deg);
	}
	100% {
		-webkit-transform: rotate(0) scale(1) skew(1deg);
	}
}

.contact-box .contact-icon.phone-icon img {
	animation: phone-vr-circle-fill 1s infinite ease-in-out;
}
.contact-box .contact-icon.phone-icon img,
.contact-box .contact-icon.baogia-icon img{
	width: 48px;
}
.contact-box .contact-icon.baogia-icon img {
	filter: brightness(0) saturate(100%) invert(83%) sepia(66%) saturate(3514%) hue-rotate(329deg) brightness(97%) contrast(102%);
}
.contact-box .contact-icon.phone-icon img{
	border-radius: 50%;
	box-sizing: border-box;
}
.back-to-top{
	color: var(--fs-color-secondary) !important;
}
.back-to-top i{
	color: var(--fs-color-secondary);
}
.ft-contact-vr {
	background: white;
	width: 100%;
	border-radius: 0;
	height: 60px;
	line-height: 50px;
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 9999999;
	padding: 5px;
	margin: 0;
	box-shadow: 0 4px 10px 0 #000;
	display: none;
	justify-content: space-around;
	align-items: center;
}
.ft-contact-vr .btn-hd {
	display: block;
	text-align: center;
}
.ft-contact-vr .btn-hd span {
	display: block;
	font-size: 10px;
	color: #000 !important;
	line-height: 15px;
}

.ft-contact-vr .box-phone{
	background-color: var(--fs-color-primary);
	border-radius: 50%;
    width: 50px;
    height: 50px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

.ft-contact-vr .open-popup{
	cursor: pointer;
}

.ft-contact-vr .box-phone img {
	max-width: 25px;
	height: 25px !important;
	width: 25px !important;
}

.ft-contact-vr .btn-hd .icon {
	width: 36px;
	margin: 0 auto;
	height: 36px;
	display: flex;
}
.ft-contact-vr .btn-hd:last-child {
	margin-bottom: 0;
}
.btn-blue img {
    filter:brightness(0) saturate(100%) invert(19%) sepia(55%) saturate(2291%) hue-rotate(219deg) brightness(82%) contrast(139%);
	 -webkit-filter: brightness(0) saturate(100%) invert(19%) sepia(55%) saturate(2291%) hue-rotate(219deg) brightness(82%) contrast(139%);
}
.ft-contact-vr .btn-center {
    width: 130px;
    margin: 0;
    background: var(--fs-color-primary);
    color: #FFF;
    border-radius: 8px;
    padding: 5px 20px;
	white-space: normal;
	word-wrap: break-word;
}
.ft-contact-vr .btn-center  .icon {
    width: 40px !important;
    height: 40px !important;
	max-width: 40px !important;
}
.ft-contact-vr .btn-center span {
	font-size: 15px;
	color: #FFF !important;
	font-weight: 700;
}
.sidebar-menu ul li a {
	color: #000;
}
#block-3 h2{
	padding-bottom: 10px;
	margin-bottom: 30px;
	position: relative;
	font-size: 22px;
	font-weight: 700;
	color: #121212;
	display: block;
}

#block-3 h2:before {
	position: absolute;
	content: '';
	width: 15px;
	border-bottom: 3px solid var(--fs-color-secondary);
	bottom: 0;
	left: 0;
}

#block-3 h2:after {
	position: absolute;
	content: '';
	width: 30px;
	border-bottom: 3px solid var(--fs-color-secondary);
	bottom: 0;
	left: 22px;
}

.shortcode-recent-posts li {
	margin-bottom: 20px !important;
	border-top: unset !important;
}

.shortcode-recent-posts li a{
	width: 100%;
	display: flex !important;
	justify-content: space-between;
	padding: 0 !important;
}

.shortcode-recent-posts li a img {
	width: 70px !important;
	height: 70px;
	margin-right: 0 !important;
	float: unset;
	border-radius: 4px;
	overflow: hidden;
	transition: 0.2s ease-out;

}
.shortcode-recent-posts li a .thumb {
	width: 70px;
	overflow: hidden;
	border-radius: 4px;
}

.shortcode-recent-posts li a .info {
	width:calc(100% - 70px);
	padding-left: 20px;
}

.shortcode-recent-posts li a div small {
	font-size: 12px;
	color: #000 !important;
}

.shortcode-recent-posts li a div small i {
	margin-right: 2px;
}
.shortcode-recent-posts li a div span {
	font-size: 14px;
	font-weight: 600;
	text-transform: capitalize;
	color: #121212 !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;       /* Giới hạn 2 dòng */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: 0.2s ease-out;
}

.shortcode-recent-posts li a:hover img{
	transform: scale(1.1);
	transition: 0.2s ease-out;
}

.shortcode-recent-posts li a:hover div span{
	color: var(--primary-color) !important;
	transition: 0.2s ease-out;
}
#comments {
	display: none;
}
.col-about .col-inner {
	box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22);
	background-color: #FFF;
	border-radius: 10px;
	padding: 20px;
}
.col-about .col-inner .icon-inner img {
	filter: brightness(0) saturate(100%) invert(12%) sepia(56%) saturate(4950%) hue-rotate(237deg) brightness(82%) contrast(132%);
	width: 30px;
	height: 30px;
}
.icon-box-2 h3{
    font-size: 18px;
	font-weight: 700;
}
.icon-box-2 .icon-box-img {
	margin: 0 auto 10px;
}
.icon-box-2 .icon-box-img img {
	filter: brightness(0) saturate(100%) invert(12%) sepia(56%) saturate(4950%) hue-rotate(237deg) brightness(82%) contrast(132%);
}
.icon-box-2 p{
	margin-bottom: 0;
}
.title-bg.fill.bg-fill.bg-top.parallax-active {
	background-image: unset !important;
}
@media (max-width: 1400px) {
	.contact-box .contact-icon.phone-icon img, .contact-box .contact-icon.baogia-icon img,
	.contact-box .contact-icon img{
		width: 30px;
	}
	.contact-box .contact-icon span {
        font-size: 12px;
	}
}
@media (max-width: 1100px) {
	.header-nav.header-nav-main>li {
		padding: 0 15px;
	}
}
@media (max-width: 992px) {
	.header-nav.header-nav-main>li>a {
		font-size: 12px;
	}
} 
@media (max-width: 849px) {
	.contact-left {
		display: none;
	}
	.slide-main {
		height: 400px;
	}
	.isdiver-banner {
		height: 3px;
		width: 100px;
		margin-bottom: 20px;
	}
	.content-banner h2 {
		font-size: 25px;
		margin-bottom: 12px;
	}
	.content-banner p {
		margin-bottom: 12px;
	}
	.ft-contact-vr {
		display: flex;
	}
	h2 {
		font-size: 20px;
	}
	.popup-form form {
		width: 90%;
	}
	body {
		padding-bottom: 60px !important;
	}
	.section {
		padding-top: 10px !important;
		padding-bottom: 10px !important
	}
	.mfp-content .nav-sidebar>li>.sub-menu>li>a {
		font-weight: 900;
		color: #000;
		font-size: 14px;
		text-transform:uppercase;
	}
	.mobile-sidebar .sub-menu {
		display: none; /* KHÔNG dùng !important */
	}
	.mobile-sidebar .menu-item-has-children.open > .sub-menu {
		display: block;
	}
	.mobile-sidebar button.toggle {
		background: none;
		border: none;
		cursor: pointer;
		margin-right: 8px;
		font-size: 16px;
	}
	.mobile-sidebar .sub-menu>li {
		align-items: center;
		display: flex;
		flex-flow: row wrap;
	}
	.icon-box-2 .icon-box-img {
		margin: 0 auto 10px;
	}
	.icon-box-2 h3{
        font-size: 13px;
	}
	.icon-box-2 .icon-box-img {
		width: 70px !important;
	}
	.swiper-button-prev, .swiper-button-next {
		display: none;
	}
	.swiper-button-prev, .swiper-button-next, .swiper-pagination  {
		left: 25%  !important;
	}
}