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

/*************** ADD CUSTOM CSS HERE.   ***************/
.col {
	padding: 0 12px 12px;
}
p {
	margin-bottom: 0;
}
#main, #wrapper {
	background-color: rgba(245, 245, 245, 1);
}
.logo-2-header {
	width: 280px;
}
.header-main  {
	background: linear-gradient(0deg, #FFFFFF 0%, #FFEDD8 100%);
	box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.1);
}
.header-button a {
	font-size: 16px;
}
.header-button-2 a {
	background: linear-gradient(98deg, #FD8901 0%, #FFA842 100%);
}
.title {
	position: relative;
	font-size: 30px;
    font-weight: 900;
    color: rgba(253, 137, 1, 1);
}
.title strong  {
	position: relative;
}
.title strong:before {
	content: "";
	position: absolute;
	left: -65%;
	top: 50%;
	-webkit-transform: translateY(-50%);
  	transform: translateY(-50%);
	width: 200px;
	height: 6px;
	background: url('/wp-content/uploads/2025/10/promo-left.png') no-repeat;
	background-size: 100% 100%;
}
.title strong:after {
	content: "";
	position: absolute;
	right: -65%;
	top: 50%;
	-webkit-transform: translateY(-50%);
  	transform: translateY(-50%);
	width: 200px;
	height: 6px;
	background: url('/wp-content/uploads/2025/10/promo-right.png') no-repeat;
	background-size: 100% 100%;
}
.title-top strong:before {
	left: -116%;
}

.title-top strong:after {
	right: -116%;
}
.border-run {
	    position: relative;
}
.border-run::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #0382ff;
    transition: all .5s;
    animation: clippath 3s infinite 
linear;
    border-radius: 7px;
}
.border-run::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid #b703ff;
    transition: all .5s;
    animation: clippath 3s infinite -1.5s 
linear;
    border-radius: 7px;
}
@keyframes  clippath {
            0%, 100% {
                clip-path: inset(0 0 98% 0);
            }
            25% {
                clip-path: inset(0 98% 0 0);
            }
            50% {
                clip-path: inset(98% 0 0 0);
            }
            75% {
                clip-path: inset(0 0 0 98%);
            }
}
.title-news .section-title {
	color: rgba(253, 137, 1, 1);
    font-size: 30px;
    font-weight: 800;
}
.title-news .section-title-main {
	border-bottom: 2px solid rgba(253, 137, 1, 1);
}
.title-news .section-title a {
	font-size: 16px;
	color : rgba(145, 145, 145, 1)
}
.sec-about, .sec-news {
	background-color: white;
	border-radius: 16px;
	padding: 10px;
	margin-bottom: 10px;
}
.box-blog-post .box-image img {
	border-radius: 6px;
}
.box-blog-post .post-title a {
	overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
	font-size: 16px;
    font-weight: 500;
}
.box-blog-post .cat-label {
	border: 0.5px solid rgba(253, 137, 1, 1);
    background: none;
    border-radius: 20px;
    color: rgba(253, 137, 1, 1);
    font-size: 12px;
}
.box-blog-post:hover .cat-label{
	background-color: transparent;
}
.box-blog-post .is-divider {
	display: none;
}
.box-blog-post .post-meta {
	color : rgb(20 20 20);
	font-size: 12px;
	font-weight: 500;
	position: relative;
	padding-left: 20px;
}
.box-blog-post .post-meta:before {
	content: "";
	height: 15px;
	width: 15px;
	background: url('/wp-content/uploads/2025/10/Vector.png') no-repeat;
	background-size: 100% 100%;
	position: absolute;
	left: 0;
	top: 45%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.post-title a:hover {
	color: rgba(253, 137, 1, 1);
}
.sec-about {
	box-shadow: 0px 1px 3px 0px rgba(255, 255, 255, 0.5);
	border-right: 2px solid rgba(253, 137, 1, 1);
}
.about-right {
	background: rgba(245, 245, 245, 1);
	border-radius: 10px;
	padding: 10px;
	height: 460px;
    overflow-y: auto;
	border-bottom: 1px solid rgba(253, 137, 1, 1);
}
.about-left .ux-menu-link {
	font-weight: 600;
	color: rgba(194, 194, 194, 1);
}
.about-left .ux-menu-link .ux-menu-link__link {
	border-bottom-color: transparent;
}
.about-left .ux-menu-link .ux-menu-link__link:hover {
	color: rgba(253, 137, 1, 1);
}
.about-left .ux-menu-link.active {
	position: relative;
}
.about-left .ux-menu-link.active span:before {
	content: "";
	position: absolute;
	height: 80%;
	width: 3px;
	border-radius: 10px;
	background: rgba(253, 137, 1, 1);
	left: -10px;
	top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.about-left .ux-menu-link.active span {
	color: rgba(253, 137, 1, 1);
}
.title-footer {
	margin-bottom: 10px;
}
.title-footer .icon-box-text {
	padding-left: .5em !important;
}
.title-footer .icon-box-img img {
	padding-top: 0;
}
.title-footer .icon-box-text p {
	font-weight: 600;
}
.menu-footer a {
	font-weight: 500;
	color: rgba(194, 194, 194, 1);

}
.header-bottom {
	min-height: 0 !important;
}
.header-bottom .header-nav {
	position: fixed;
    top: 90px;
    left: 0;
}
.header-bottom .header-vertical-menu__opener {
	display: none;
}
.header-bottom .header-vertical-menu__fly-out {
	opacity: 1;
	visibility: visible;
	width: 250px;
}
.ux-nav-vertical-menu {
 	padding: 20px !important;
}
.ux-nav-vertical-menu .menu-item {
 	background: rgba(245, 245, 245, 1);
	border-radius: 10px;
	margin: 5px 0 !important;
}
.ux-nav-vertical-menu .menu-item a {
 	color: rgba(145, 145, 145, 1);
}
.nav-vertical-fly-out>li+li {
	border-color: transparent;
}
.nav-vertical-fly-out li:first-child {
	border: 1px solid rgba(253, 137, 1, 1);
	position: relative !important;
}
.nav-vertical-fly-out li:first-child a {
	color : rgba(253, 137, 1, 1);
}
.nav-vertical-fly-out li:first-child a:before {
	content: "";
    position: absolute;
    top: 6px;
    height: 70%;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    left: 0;
    width: 3px;
    background: linear-gradient(107.83deg, #FF8A66 2.38%, #FFB366 85.01%, #FB6515 110.75%);
}
.nav-vertical-fly-out li {
	position: relative !important;
}
.nav-vertical-fly-out li:nth-child(2) a:before {
	content: "";
    position: absolute;
    height: 15px;
	width: 30px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    right: -2px;
    top: -4px;
    background: url('/wp-content/uploads/2025/10/oknew.png') no-repeat;
	background-size: 100%;
}
.nav-vertical-fly-out li:nth-child(3) a:before, .nav-vertical-fly-out li:nth-child(4) a:before, .nav-vertical-fly-out li:nth-child(5) a:before, .nav-vertical-fly-out li:nth-child(7) a:before, .nav-vertical-fly-out li:nth-child(8) a:before   {
	content: "";
    position: absolute;
    height: 15px;
	width: 30px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    right: -2px;
    top: -4px;
    background: url('/wp-content/uploads/2025/10/hot.png') no-repeat;
	background-size: 100%;
}



.okfun-app-section {
	border-radius: 20px;
	background: linear-gradient(133.57deg, #F5F5F5 42.32%, #FFE7CB 116.42%);
	padding: 20px 20px 0 20px;
	width: 100%;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.okfun-tab-buttons {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-bottom: 15px;
}

.okfun-tab-btn {
	background: #f5f5f5;
	border: none;
	border-radius: 12px;
	padding: 0;
	font-weight: 600;
	font-size: 12px;
	color: #888;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	width: 80px;
	height: 30px;
}
.okfun-tab-btn img {
	width: 14px;
}

.okfun-tab-btn.active {
	background: #fff;
	color: #000;
	box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.okfun-tab-content {
	display: none;
}

.okfun-tab-content.active {
	display: block;
}

.okfun-text h3 {
	color: #000;
	font-size: 20px;
	font-weight: 700;
	margin: 0;
}

.okfun-text span {
	color: #ff6f00;
}

.okfun-text p {
	color: #ff6f00;
	font-size: 16px;
	font-weight: 600;
	margin-top: 5px;
}

.okfun-qr img {
	width: 100%;
	margin: 15px 0 0 0;
}

.okfun-player {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 130px;
}

.okfun-player img {
	width: 100%;
}
/* Banner trái/phải */
.sidebar-banner {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	display: block;
}

.sidebar-banner img {
	width: 120px;
	display: block;
}

.sidebar-banner .close-btn {
	position: absolute;
	top: -15px;
	right: -15px;
	background: #fff;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	font-size: 18px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	color: black;
}

#banner-left {
	left: 0;
}

#banner-left .close-btn {
	right: -15px;
}

#banner-right {
	right: 0;
}

#banner-right .close-btn {
	left: -15px;
}

/* Banner dưới */
#banner-bottom {
	position: fixed;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 900;
	display: block;
}

#banner-bottom img {
	max-width: 100%;
	height: auto;
	display: block;
}

#banner-bottom .close-btn {
	color: #000;
	position: absolute;
	top: -15px;
	right: -15px;
	background: #fff;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	font-size: 18px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Ẩn banner trái/phải trên mobile */
@media screen and (max-width: 1024px) {
	.sidebar-banner {
		display: none !important;
	}

	#banner-bottom {
		width: 80%;
	}
}

/* Mobile: thu nhỏ nút đóng */
@media screen and (max-width: 768px) {
	#banner-bottom .close-btn {
		width: 22px;
		height: 22px;
		line-height: 22px;
		font-size: 14px;
		top: -10px;
		right: -10px;
	}
}



@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	
	.header-button a {
		font-size: 12px;
		width: 8em;
    	padding: 0;
	}
	.nav>li>a>i.icon-menu {
		background: linear-gradient(98deg, #FD8901 0%, #FFA842 100%);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
	}
	.mfp-content .nav-sidebar {
		padding: 0 10px;
	}
	.mfp-content .nav.nav-vertical li {
		background: rgba(245, 245, 245, 1);
		position: relative;
		height: 40px;
		border-radius: 10px;
		margin: 5px 0;
	}
	.mfp-content .nav.nav-vertical li:first-child {
		border: 1px solid rgba(253, 137, 1, 1);
	}
	.mfp-content .nav.nav-vertical li a {
		height: 100%;
	}
	.mfp-content .nav.nav-vertical li:first-child a {
		color: rgba(253, 137, 1, 1);
	}
	.nav-sidebar.nav-vertical>li+li {
		border: none;
	}
	.mfp-content .nav.nav-vertical li:first-child a:before {
		content: "";
		position: absolute;
		top: 6px;
		height: 70%;
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;
		left: 0;
		width: 3px;
		background: linear-gradient(107.83deg, #FF8A66 2.38%, #FFB366 85.01%, #FB6515 110.75%);
	}
	.off-canvas .nav-vertical>li>a {
		padding-bottom: 0;
		padding-top: 0;
		font-weight: 500;
		font-size: 12px;
		color: rgba(145, 145, 145, 1);
		
	}
	.off-canvas-right .mfp-content {
		background-color: white;
	}
	.off-canvas li:nth-child(2) a:before {
		content: "";
		position: absolute;
		height: 15px;
		width: 30px;
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;
		right: -2px;
		top: -4px;
		background: url('/wp-content/uploads/2025/10/oknew.png') no-repeat;
		background-size: 100%;
	}
	.off-canvas li:nth-child(3) a:before, .off-canvas li:nth-child(4) a:before, .off-canvas li:nth-child(5) a:before, .off-canvas li:nth-child(7) a:before, .off-canvas li:nth-child(8) a:before   {
		content: "";
		position: absolute;
		height: 15px;
		width: 30px;
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;
		right: -2px;
		top: -4px;
		background: url('/wp-content/uploads/2025/10/hot.png') no-repeat;
		background-size: 100%;
	}
	.okfun-app-section {
		display: none;
	}
	.title {
		font-size: 16px;
		margin-bottom: 10px;
	}
	.title strong:before {
		left: -50%;
		width: 80px;
		height: 4px;
	}
	.title strong:after {
		right: -50%;
		width: 80px;
		height: 4px;
	}
	.title-top strong:before {
		left: -95%;
	}
	.title-top strong:after {
		right: -95%;
	}
	.title-news .section-title {
		font-size: 13px;
	}
	.title-news .section-title a {
		font-size: 12px;
	}
}