﻿/*----- Chữ chạy----- */
.news-ticker {
	width: 100%;
	overflow: hidden; /* Ẩn phần thừa bên ngoài */
	white-space: nowrap; /* Không cho xuống dòng */
	display: flex;
	background: #f8f9fa; /* Màu nền tùy chọn */
	padding: 10px 0;
	margin-bottom: 20px;
}

.ticker-content {
	display: inline-block;
	padding-left: 0;
	animation: ticker-move 60s linear infinite; /* 30s là tốc độ, càng nhỏ càng nhanh */
}

	.ticker-content a {
		text-decoration: none;
		color: #333;
		font-weight: bold;
		margin: 0 10px;
	}

/* Định nghĩa chuyển động */
@keyframes ticker-move {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-100%);
	}
}

/* Tạm dừng khi di chuột vào (tùy chọn) */
.news-ticker:hover .ticker-content {
	animation-play-state: paused;
}
/*-----Kết Thúc Chữ chạy----- */
/*.single-box img {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	object-fit: cover;
	transition: .3s ease-in-out;
}*/
.dieuhuong {
	padding: 10px 0;
	background: #f8fbf1;
	border-bottom: 1px solid #ccc;
	margin-bottom: 30px;
}
.over-4row {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
	min-height: 19px;
}
.over-3row {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	min-height: 19px;
}

.over-2row {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: 19px;
}

.over-1row {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
	min-height: 19px;
}

.blog-detail-section .embed-responsive {
	padding-bottom: 0% !important;
}

.embed-responsive-16by9 {
	padding-top: 0% !important;
}

.danhmuc-bg {
	background-image: url('image/Home-1.jpg');
	background-position: center;
	background-size: cover;
	padding-bottom: 30px;
	padding-top: 40px;
	background-color: #ecf6f5;
}

	.danhmuc-bg h2 {
		margin-bottom: 20px;
	}

.team-section.chuyengia .single-box, .team-section.daily .single-box {
	box-shadow: 0px 5px 60px 0px rgb(255 255 255 / 10%);
	position: relative;
	transition: .5s;
	border-radius: 10px;
}

	.team-section.chuyengia .single-box .text-content, .team-section.daily .single-box .text-content {
		padding: 20px 20px 20px 30px;
		background: #ecf6f5;
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
	}

.daily .single-box img {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	object-fit: cover;
	transition: .3s ease-in-out;
}

.contact-section .contact {
	background-color: #fff;
	border-radius: 10px;
	padding: 40px 40px 50px 40px;
	margin: 104px 0px;
}
/* Tạo hiệu ứng quay */
.spinner-border {
	display: inline-block;
	width: 1rem;
	height: 1rem;
	vertical-align: text-bottom;
	border: .2em solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	animation: spinner-border .75s linear infinite;
	margin-right: 5px;
}

@keyframes spinner-border {
	to {
		transform: rotate(360deg);
	}
}

/* Làm mờ nút khi đang gửi */
.btn-SaveContact:disabled {
	cursor: not-allowed;
	opacity: 0.7;
}

.mt-30 {
	margin-top: 30px;
}

.mb-30 {
	margin-bottom: 30px;
}

.tag .container {
	margin-bottom: 30px;
}

.tag .row {
	margin-bottom: 30px;
}

.mxh .icon a {
	padding: 5px 0px 34px 17px;
	display: inline-block;
}

	.mxh .icon a i {
		border: 1px solid #02BFC6;
		display: inline-block;
		font-size: 15px;
		height: 40px;
		line-height: 41px;
		text-align: center;
		width: 40px;
		border-radius: 5px;
		color: #fff;
		transition: 0.5s;
	}

		.mxh .icon a i:hover {
			background: #02BFC6;
			border-color: #02BFC6;
			color: #fff;
			transition: 0.5s;
		}

.relation a {
	margin-bottom: 10px;
}

.relation i {
	color: #df2d37;
}

.blog-detail-section .main-section .text-detail .block {
	margin-bottom: 20px;
}

.blog-detail-section .right-side {
	background: #e5e8f363;
	border: #dee2e6;
	padding-top: 10px;
}

.subscrib-section h2 {
	margin-bottom: 20px;
}

.menuhome .text-right a {
	margin-bottom: 10px;
}

.menuhome .service-slider .slider-item .image {
	margin-bottom: 10px;
}

.blog-item .image {
	margin-bottom: 10px;
}


.theme-btn .btn-title {
	position: relative;
	color: #fff;
}

.theme-btn {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
	z-index: 0;
}

.btn-style-one {
	position: relative;
	font-size: 16px;
	line-height: 24px;
	padding: 20px 20px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	font-weight: 700;
	letter-spacing: 0.1em;
	overflow: hidden;
	color: var(--theme-color1);
	background: #df2d37;
}

/*Support bottom*/
.support-bottom {
	border-top: 1px solid #ddd;
	z-index: 1000;
	background: rgba(221, 221, 221, 0.73);
	text-align: center;
}

	.support-bottom a {
		padding: 10px;
	}

	.support-bottom .borl {
		border-left: 1px solid #ddd;
	}

	.support-bottom .call {
		background: #003e42;
		width: 50%;
	}

		.support-bottom .call strong {
			color: #fff;
		}

	.support-bottom .fb {
		background: #0072ff;
	}

.suport .fb i.fab {
	color: #fff !important;
}

.support-bottom .zl {
	background: #00c1ff;
}

.support-bottom .ms {
	background: #ff6a00;
}

.support-bottom .map {
	background: #00b8d4;
}
/* Container nút Call trên Mobile */
.support-bottom .call .nav-link {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
}

/* Tạo khối tròn cho Icon và hiệu ứng lan tỏa */
.ripple-icon {
	position: relative;
	width: 30px;
	height: 30px;
	background: #ff0000; /* Màu nền đỏ cho icon nổi bật */
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 10px; /* Khoảng cách với số điện thoại */
	z-index: 1;
}

	/* Hiệu ứng vòng tròn lan tỏa giống Desktop */
	.ripple-icon::before,
	.ripple-icon::after {
		content: "";
		border: 2px solid #ff0000;
		position: absolute;
		z-index: -1;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		width: 100%;
		height: 100%;
		border-radius: 50%;
		animation: zoomBigMobile 2.5s linear infinite;
	}

	.ripple-icon::after {
		animation-delay: 1.2s;
	}

/* Animation ZoomBig tùy chỉnh cho kích thước Mobile */
@keyframes zoomBigMobile {
	0% {
		transform: translate(-50%, -50%) scale(1);
		opacity: 1;
		border-width: 2px;
	}

	100% {
		transform: translate(-50%, -50%) scale(2.5);
		opacity: 0;
		border-width: 1px;
	}
}

/* Giữ icon điện thoại luôn trắng */
.ripple-icon i {
	color: #fff !important;
	font-size: 14px;
}

/* Đảm bảo thanh support-bottom không bị che mất hiệu ứng lan tỏa */
.support-bottom {
	overflow: visible !important;
}

	.support-bottom .row {
		margin: 0;
		overflow: visible;
	}
/*Support Right*/
.support-right {
	display: none;
	text-align: center;
	position: fixed;
	bottom: 180px;
	right: 5px;
	width: 44px;
	z-index: 1000;
}

	.support-right .nav-link {
		display: block;
		padding: 10px 0rem;
	}

.call .fa-phone:before {
	color: #fff !important;
}

.support-right .fb {
	background-color: #0072ff;
	border-radius: 50%;
	margin-bottom: 10px;
	color: #fff;
}

.fb .fa-facebook-messenger:before {
	content: "\f39f";
	color: #fff !important;
}

.fb .fa-facebook-f:before {
	color: #fff !important;
}

.support-right .zl {
	background-color: #00c1ff;
	border-radius: 50%;
	margin-bottom: 10px;
}

.support-right .ms {
	background-color: #ff6a00;
	border-radius: 50%;
	margin-bottom: 10px;
}

.support-right .map {
	background-color: #00b8d4;
	border-radius: 50%;
	margin-bottom: 10px;
}

.none-xs {
	display: none;
}

@media (min-width: 768px) {
	.support-bottom {
		display: none;
	}

		.support-bottom .call {
			width: 50% !important;
		}

	.support-right {
		display: block;
	}

	.none-xs {
		display: block;
	}
}

.owl-height {
	height: auto !important;
}

.input-group .btn {
	background: var(--theme-color1);
	color: #fff;
}

/* Thiết lập nền tảng cho nút call */
.support-right .call {
	background-color: #df2d37; /* Bạn có thể đổi thành màu đỏ #df2d37 nếu muốn đồng bộ */
	border-radius: 50%;
	margin-bottom: 10px;
	position: relative;
	z-index: 10;
}

	/* Hiệu ứng vòng tròn lan tỏa 1 (Sử dụng đúng logic zoomBig bạn cung cấp) */
	.support-right .call::before,
	.support-right .call::after {
		content: "";
		/* Màu đỏ theo yêu cầu của bạn */
		border: 2px solid #ff0000;
		position: absolute;
		z-index: -1;
		left: 50%;
		top: 50%;
		/* Căn giữa vòng tròn */
		transform: translateX(-50%) translateY(-50%);
		display: block;
		/* Kích thước vòng lan tỏa (đã điều chỉnh cho cân đối nút 44px) */
		width: 80px;
		height: 80px;
		border-radius: 50%;
		/* Sử dụng animation zoomBig */
		animation: zoomBig 3s linear infinite;
	}

	/* Vòng 2 trễ nhịp để tạo hiệu ứng lớp sóng */
	.support-right .call::after {
		animation-delay: 1.5s;
	}

	/* Giữ icon điện thoại nằm trên cùng */
	.support-right .call .nav-link {
		position: relative;
		z-index: 11;
	}

/* KEYFRAMES GỐC TỪ NÚT GO TOP */
@keyframes zoomBig {
	0% {
		transform: translate(-50%, -50%) scale(0.5);
		opacity: 1;
		border-width: 3px;
	}

	40% {
		opacity: 0.5;
		border-width: 2px;
	}

	65% {
		border-width: 1px;
	}

	100% {
		transform: translate(-50%, -50%) scale(1.2); /* Tăng nhẹ tỷ lệ để thấy rõ sự lan tỏa */
		opacity: 0;
		border-width: 1px;
	}
}
/************************************/
/***   16. Scrolling Ticker css   ***/
/************************************/

.our-scrolling-ticker {
	position: relative;
	margin-bottom: 10px;
}

.scrolling-ticker-box {
	--gap: 10px;
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	user-select: none;
	gap: var(--gap);
}

.scrolling-content {
	flex-shrink: 0;
	display: flex;
	gap: var(--gap);
	min-width: 100%;
	animation: scroll 25s linear infinite;
}

@keyframes scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(calc(-100% - var(--gap)));
	}
}

.our-scrolling-ticker:hover .scrolling-content {
	animation-play-state: paused;
}

.scrolling-content .scrolling-ticker-gallery {
	width: calc((100vw / 4) - 7.5px);
}

	.scrolling-content .scrolling-ticker-gallery figure {
		display: block;
		border-radius: 20px;
	}

	.scrolling-content .scrolling-ticker-gallery img {
		width: 100%;
		object-fit: cover;
		border-radius: 20px;
		aspect-ratio: 1 / 0.7831;
	}
