/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.19.3
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/*
@font-face {
    font-family: 'UTM Avo';
    src: url('/wp-content/themes/flatsome-child/fonts/UTM-Avo/UTMAvo.eot');
    src: url('/wp-content/themes/flatsome-child/fonts/UTM-Avo/UTMAvo.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/flatsome-child/fonts/UTM-Avo/UTMAvo.woff2') format('woff2'),
        url('/wp-content/themes/flatsome-child/fonts/UTM-Avo/UTMAvo.woff') format('woff'),
        url('/wp-content/themes/flatsome-child/fonts/UTM-Avo/UTMAvo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

a, p, span, input, li, button, option, select, label, th, td, tr {
    font-family: 'UTM Avo';
}

@font-face {
    font-family: 'UTM Avo Bold';
    src: url('/wp-content/themes/flatsome-child/fonts/UTM-Avo-Bold/UTMAvoBold.eot');
    src: url('/wp-content/themes/flatsome-child/fonts/UTM-Avo-Bold/UTMAvoBold.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/flatsome-child/fonts/UTM-Avo-Bold/UTMAvoBold.woff2') format('woff2'),
        url('/wp-content/themes/flatsome-child/fonts/UTM-Avo-Bold/UTMAvoBold.woff') format('woff'),
        url('/wp-content/themes/flatsome-child/fonts/UTM-Avo-Bold/UTMAvoBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6, strong {
    font-family: 'UTM Avo Bold';
}

@font-face {
    font-family: 'SVN-Tungsten';
    src: url('/wp-content/themes/flatsome-child/fonts/SVN-Tungsten/SVN-Tungsten-Semibold.eot');
    src: url('/wp-content/themes/flatsome-child/fonts/SVN-Tungsten/SVN-Tungsten-Semibold.eot?#iefix') format('embedded-opentype'),
        url('/wp-content/themes/flatsome-child/fonts/SVN-Tungsten/SVN-Tungsten-Semibold.woff2') format('woff2'),
        url('/wp-content/themes/flatsome-child/fonts/SVN-Tungsten/SVN-Tungsten-Semibold.woff') format('woff'),
        url('/wp-content/themes/flatsome-child/fonts/SVN-Tungsten/SVN-Tungsten-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
*/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/*
.mySwiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.mySwiper .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 400px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mySwiper .swiper-slide img {
  width: 100%;
  border-radius: 10px;
}
*/
.animated-border-box, .animated-border-box-glow {
  width: 50%;
  position: absolute;
  overflow: hidden; 
  z-index: 0;
  border-radius: 10px;
}

.animated-border-box-glow {
  overflow: hidden;
  filter: blur(20px);
}

.animated-border-box:before, .animated-border-box-glow:before {
  content: '';
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  position: absolute;
  width: 99999px;
  height: 99999px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(rgba(0,0,0,0), #ffffff, rgba(0,0,0,0) 25%);
  animation: rotate 3s linear infinite;
}

.animated-border-box:after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 5px;
  top: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 10px;
}

@keyframes rotate {
  100% {
    transform: translate(-50%, -50%) rotate(1turn);
  }
}

.center-box {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box {
	padding: 5px;
	border-radius: 10px;
}

@media (max-width: 549px) {
	.center-box {
  	height: 40vh;
	}
	.animated-border-box, .animated-border-box-glow {
  	width: 80%;
	}
}


@keyframes bounceUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Hiện ra từ từ */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Mặc định ẩn */
.bounce-col {
  opacity: 0;
  animation-name: bounceUpDown, fadeIn;
  animation-duration: 4s, 2s;
  animation-timing-function: ease-in-out, ease;
  animation-fill-mode: both, forwards;
  animation-iteration-count: infinite, 1;
}
/* Cột 1 */
.bounce-delay-0 {
  animation-delay: 0s, 0s;
}
/* Cột 2 */
.bounce-delay-1 {
  animation-delay: 1s, 1s;
}
/* Cột 3 */
.bounce-delay-2 {
  animation-delay: 2s, 2s;
}
/* Cột 4 */
.bounce-delay-3 {
  animation-delay: 3s, 3s;
}

/* banner-slide */
/* .paraBanner__mask,
.paraBanner__mask__content {
  position: relative;
  width: 25vw;
  aspect-ratio: 2/3;
  overflow: visible;
} */
/* cạnh trái */
/* .paraBanner__mask::before {
  content: "";
  position: absolute;
	background: rgba(255, 255, 255, 0.2);
  top: 8%;
  bottom: 8%;
  left: 0;
  width: 12%;           
  backdrop-filter: blur(3px);
  pointer-events: none;
  z-index: 0;
} */
/* cạnh phải */
/* .paraBanner__mask::after {
  content: "";
  position: absolute;
	background: rgba(255, 255, 255, 0.2);
  top: 8%;
  bottom: 8%;
  right: 0;
  width: 12%;
  backdrop-filter: blur(3px);
  pointer-events: none;
  z-index: 0;
} */
/* cạnh trên */
/* .paraBanner__mask__content::before {
  content: "";
  position: absolute;
	background: rgba(255, 255, 255, 0.2);
  top: 0;
  left: 0;
  right: 0;
  height: 8%;
  backdrop-filter: blur(3px);
  pointer-events: none;
  z-index: 0;
} */
/* cạnh dưới */
/* .paraBanner__mask__content::after {
  content: "";
  position: absolute;
	background: rgba(255, 255, 255, 0.2);
  bottom: 0;
  left: 0;
  right: 0;
  height: 8%;
  backdrop-filter: blur(3px);
  pointer-events: none;
  z-index: 0;
} */
/* text in banner */
/* .banner-text {
  position: absolute;
  z-index: 1;
  font-size: 5vw;
	font-weight: bolder;
  white-space: nowrap;
	left: 22%;
	top: 35%;
	text-align: left;
} */

/* Animation banner slider */
.banner.is-selected img.bg {
	animation: zoomInOut 6s ease-in-out infinite; 
  transform-origin: center center;
}
@keyframes zoomInOut {
  0%   { transform: scale(1.2); }
  83%  { transform: scale(1.0); } 
  100% { transform: scale(1.3); opacity: 0.8;} 
}
.menu-main-left, .menu-main-right {
  display: flex;
  justify-content: space-between; 
  text-transform: uppercase;
  max-width: 80%;
	margin: 0 10%
}

/* header menu */
/* .menu-main-left a, .menu-main-right a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}
.header-nav.nav {
	flex-flow: unset;
} */

/* blog post */
.box-text .is-divider {
	display: none !important;
}

/* title post 2 row */
.post-title .plain {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 10px;
}

/* meta post 2 row */
#post-list .entry-summary p {
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.icon-search, .icon-menu {
	color: white;
}
.nav>li.header-divider {
	border-left: 1px solid #fff;
}

/* custom blog post */
.custom-post .post-item {
	padding: 10px;
}
.custom-post .col-inner .box {
	box-shadow: -6px 8px 40px rgba(50, 50, 50, 0.06);
}
.custom-post .col-inner .box-text {
	padding: 15px 20px;
}

/* image box hover */
/* .text-img-box {
	border: 2px dashed #fff;
  padding: 15px 20px;
}
.text-img-box .divider {
	max-width: 15%;
  border-top: 3px solid #fff;
  margin: 20px 0;
}
.text-img-box .btn-img-box {
	border-radius: 20px;
  border: 1px solid #fff;
  padding: 10px 20px;
  line-height: 1;
  margin-top: 10px;
  background-color: white;
  color: var(--fs-color-primary);
	margin: 10px 0 0 0;
}
@media (max-width: 767px) {
.custom-img-hover .box-text {
	position: relative !important;
	transform: translateY(0) !important;
  opacity: 1;
  background-color: rgb(25, 29, 40);
  padding: 15px;
}
.custom-img-hover .overlay {
		position: unset;
	}
.custom-img-hover	.box-text-middle:hover .show-on-hover.box-text {
		transform: none !important;
	}
} */

/* title section */
.title-section {
	display: inline-flex;
  align-items: center;
	gap: 10px;
}
.text-heading {
	text-transform: uppercase;
  font-size: 2rem;
  font-weight: 700;
	color: #02064b;
}
.icon-title {
	width: 3rem;
	height: 3rem;
	color: #02064b;
	flex-shrink: 0;
}
@media (max-width: 768px) {
 .text-heading {
       font-size: 1.5rem;
    }
	.align-middle .col-inner.text-center, .title-section {
		text-align: left;
	}
}

.btn-title-section {
	margin-bottom: 0 !important;
}

.hidden-animation {
  opacity: 0;
  transition: all 0.9s ease;
}
/* Animation right to left  */
.icon-title.hidden-animation { transform: translateX(50px); }
.icon-title.show-animation {
  opacity: 1; transform: translateX(0);
  transition: all 0.9s ease;
}

/* Animation left to right */
.text-heading.hidden-animation { transform: translateX(-50px); }
.text-heading.show-animation {
  opacity: 1; transform: translateX(0);
  transition: all 1s ease 0.3s;
}
.row-reason.hidden-animation { transform: translateX(-100px); }
.row-reason.show-animation {
  opacity: 1; transform: translateX(0);
  transition: all 1s;
}

/* Animation center to right */
.btn-title-section.hidden-animation { transform: translateX(-100%); }
.btn-title-section.show-animation {
  opacity: 1; transform: translateX(0);
  transition: all 1.5s ease 0.6s; /* delay 0.6s */
}

.fade-in.hidden-animation { transform: translateX(-80%); }
.fade-in.show-animation {
	opacity: 1; transform: translateX(0);
  transition: all 1.5s;
}

/* Animation bottom to top */
.custom-post.hidden-animation { transform: translateY(50px); }
.custom-post.show-animation {
  opacity: 1; transform: translateY(0);
  transition: all 1s ease;
}

.row-category .col,
.custom-img-hover .col, .row-about .col {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease;
}

.row-category .col.fadeInUp,
.custom-img-hover .col.fadeInUp, .row-about .col.fadeInUp {
  opacity: 1;
  transform: translateY(0);
}


/* Form Signup */
.wpcf7-submit {
	background-color: white !important;
  color: var(--fs-color-primary) !important;
  border-radius: 20px !important;
  font-size: 1rem !important;
	margin-top: 10px !important;
}
.wpcf7 .wpcf7-form-control-wrap {
	margin-top: 3px;
}
.wpcf7-list-item input {
	margin-bottom: 0;
}

/* About us page */
.icon-box-about-us .col-inner, .icon-box-custom {
	padding: 10px 20px;
	background: linear-gradient(336deg, #009aff1c 0%, #eceaf9 100%);
	border-radius: 15px;
	font-weight: bold;
}
.icon-box-left, .icon-box-right, #flatsome_recent_posts-3 .recent-blog-posts {
	align-items: center !important;
}

#flatsome_recent_posts-3 .recent-blog-posts a {
	margin-bottom: 0;
}

.border-radius-img img {
	border-radius: 20px;
}

#flatsome_recent_posts-3 .post_comments, .blog-archive #post-list .entry-meta.clearfix {
	display: none;
}

.line-top::after {
  content: "";
  position: absolute;
  bottom: -11%;
  left: 0;
  width: 100%;
  height: 20%;
  background: url("https://unidgroup.vn/wp-content/uploads/2025/09/line-top.png") no-repeat center;
  background-size: cover;
  z-index: 5;
}

.mb-1 {
	margin-bottom: 1em !important;
}

.wpcf7-form-control-wrap input, .wpcf7-form-control-wrap textarea {
	border-radius: 5px;
}

@media (min-width: 561px) {
	.devvn_toolbar ul li a > div {
		background: transparent !important;
	}
}

.text-uppercase {
	text-transform: uppercase;
}

/* header menu */
.header-nav-main.nav-right, .header-nav-main.nav-left {
	justify-content: space-between;
 	text-transform: uppercase;
	max-width: 100%;
}
.header-nav-main.nav-left {
	justify-content: space-between;
	text-transform: uppercase;
	max-width: 90%;
	margin: 0 10% 0 0;
}
.header-nav-main.nav>li>a, .unid-lang-switcher {
	color: #fff;
	font-size: initial;
}

/* switch languge */
.unid-lang-switcher a {
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  margin: 0 4px;
	font-size: inherit;
}
.unid-lang-switcher a.active {
  border-bottom: 1px solid;
}
.html.custom.html_topbar_left {
	justify-content: center;
}
