/* custom font Averta */
@font-face {
	font-family: "Averta";
	src: url("https://avada.io/wp-content/themes/avada/fonts/Averta-Regular.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
	font-style: normal;
}
@font-face {
	font-family: "Averta";
	src: url("https://avada.io/wp-content/themes/avada/fonts/Averta-RegularItalic.woff2") format("woff2");
	font-weight: 400;
	font-display: swap;
	font-style: italic;
}
@font-face {
	font-family: "Averta";
	src: url("https://avada.io/wp-content/themes/avada/fonts/Averta-Semibold.woff2") format("woff2");
	font-weight: 600;
	font-display: swap;
	font-style: normal;
}
@font-face {
	font-family: "Averta";
	src: url("https://avada.io/wp-content/themes/avada/fonts/Averta-SemiboldItalic.woff2") format("woff2");
	font-weight: 600;
	font-display: swap;
	font-style: italic;
}
@font-face {
	font-family: "Averta";
	src: url("https://avada.io/wp-content/themes/avada/fonts/Averta-Bold.woff2") format("woff2");
	font-weight: 700;
	font-display: swap;
	font-style: normal;
}
@font-face {
	font-family: "Averta";
	src: url("https://avada.io/wp-content/themes/avada/fonts/Averta-BoldItalic.woff2") format("woff2");
	font-weight: 700;
	font-display: swap;
	font-style: italic;
}

html {
	scroll-behavior: smooth;
}

* {
	outline: none;
	-webkit-tap-highlight-color: transparent;
}

*::selection {
	-webkit-text-fill-color: #fff !important;
}

/* ----------------- Custom Uikit --------------- */
/* @media (max-width: 959px){

} */
@media (max-width: 639px){
	h1, .uk-h1{
		font-size: 3rem;
	}
	h2, .uk-h2{
		font-size: 2.25rem;
	}
	h3, .uk-h3{
		font-size: 1.75rem;
	}
}
@media (max-width: 479px){

}

/* ----------------- End Custom Uikit ! --------------- */

.page-id-139680 header, .page-id-139680 footer,
.page-id-139677 header, .page-id-139677 footer,
.page-id-139672 header, .page-id-139672 footer,
.page-id-139675 header, .page-id-139675 footer,
.page-id-139697 header, .page-id-139697 footer,
.page-id-139699 header, .page-id-139699 footer{
	display: none !important;
}

.uk-dotnav {
	align-items: center;
}

.uk-dotnav > .uk-active > * {
	width: 16px;
	height: 16px;
}

.uk-breadcrumb > :nth-child(n + 2):not(.uk-first-column)::before {
	vertical-align: middle;
}

/* avada-commerce-history .title-left .title-right */
.avada-commerce-history {
	max-width: 452px;
}

.avada-commerce-history .el-title {
	font-size: 42px;
	font-weight: 500;

	position: relative;
}

.avada-commerce-history .el-content {
	margin-top: 8px;
}

.title-left .el-title::before {
	content: "";
	width: 16px;
	height: 2px;
	background-color: #000;

	position: absolute;
	left: -37px;
	top: 50%;
	transform: translateY(-50%);
}

.title-right .el-title::before {
	content: "";
	width: 16px;
	height: 2px;
	background-color: #000;

	position: absolute;
	right: -37px;
	top: 50%;
	transform: translateY(-50%);
}

.element-left {
	margin-right: calc(50% + 37px);
	margin-left: auto;
}

.element-right {
	margin-left: calc(50% + 37px);
	margin-right: auto;
}

.margin-section {
	margin: 50px 0;
}

.grid-tm .el-meta {
	font-size: 17px;
}

.uk-offcanvas-bar .uk-nav-default .uk-nav-sub a {
	gap: 0;
}

.uk-offcanvas-bar .uk-nav-default .uk-nav-sub img {
	margin-right: 8px !important;
}

/* .table-3c tr td:nth-child(2){
width: 26%;
}
.table-3c tr td:last-child{
width: 100%;
} */
.wp-block-flexible-table-block-table{
	overflow-x: auto;
}

#avadaVerdict tbody tr:first-child td{
	width: 50%;
}
#avadaVerdict tbody tr:nth-child(n+2) td{
	text-align: center;
}
.table-thead-nowrap thead th,
.table-thead-nowrap td strong{
	white-space: nowrap;
}

#basicsAccordion button br{
	display: none;
}

.faqs-avada{
	padding: 24px !important;
	border-radius: 8px;
	border: 1px solid #ccc;
}
.faqs-avada .faq-item:nth-child(n+2){
	padding-top: 20px;
	border-top: 1px solid #ccc;
}
.faq-item .faq-question{
	padding: 0px;

	cursor: pointer;
}
.faq-item .faq-question:hover{
	color: #a23aaa;
}
.faq-item .faq-question::before{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpolyline fill='none' stroke='%23000' stroke-width='1.03' points='16 7 10 13 4 7'%3E%3C/polyline%3E%3C/svg%3E");
}
.faq-item.uk-open .faq-question::before{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpolyline fill='none' stroke='%23000' stroke-width='1.03' points='4 13 10 7 16 13'%3E%3C/polyline%3E%3C/svg%3E");
}
.faq-item .faq-answer{

}
#keyTakeaway{
	margin: 20px auto;
	padding: 16px 24px;
	background-color: #fbfbfb;
	border-left: 5px solid #06038D;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	color: #333;
}
#keyTakeaway .title-block{
	font-size: 24px;
	font-weight: 700;
	color: #06038D;
}
#keyTakeaway .keyTakeaway-avada{
	margin-top: 20px;
}
#keyTakeaway .keyTakeaway-avada .key-takeaway-item{
	display: flex;
	align-items: flex-start;
	gap: 8px;

	font-size: 18px;
	font-weight: 500;
}
#keyTakeaway .keyTakeaway-avada .key-takeaway-item::before{
	content: '';
	background-image: url("https://avadaio_assets.storage.googleapis.com/uploads/2025/03/13043120/avada-logo-1.png");
	width: 20px;
	min-width: 20px;
	height: 20px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	display: inline-block;
	margin-top: 4px;
}
#keyTakeaway .keyTakeaway-avada .key-takeaway-item:nth-child(n+2){
	margin-top: 16px;
}
#keyTakeaway .keyTakeaway-avada .key-text *{
	margin: 0;
}

figure.wp-block-table.table.table-hover.table-bordered.table-light-bordered.table-responsive-sm > table > tbody > tr:nth-child(2) > td[colspan="2"],
figure.wp-block-table.table.table-hover.table-bordered.table-light-bordered.table-responsive-sm > table > tbody > tr:nth-child(3) > td[colspan="2"]{
	text-align: center;
}

.wp-block-table .has-fixed-layout{
	table-layout: auto !important;
}
.wp-block-table table{
	font-size: 16px; 	   
}

/* --------------------------- 3. Thêm CSS tùy chỉnh: TOC ẩn trên tablet (>767px) và hiện, fixed bottom trên mobile --------------------------- */
/* Ẩn TOC theo mặc định */
.my-toc-widget-container {
	/* display: none; */

	border: 1px solid #e3e3e3;
	border-radius: 9px;
	background: #fff;

}
.my-toc-body{
	max-height: 300px;
	overflow: hidden;
	overflow-y: scroll;
}
.my-toc-body::-webkit-scrollbar-thumb {
	background-color: #babfc5;
	border-radius: 10px;
}
.my-toc-body::-webkit-scrollbar {
	width: 7px;
}
.my-toc-toggle-expand{
	display:none;
}
@media only screen and (min-width: 1200px){
	.my-toc-body{
		max-height: calc(100vh - 410px) !important;
		min-height: 300px !important;
	}
}

/* ---------- TOC screen 1024px - 1199px -------- */
.button-sticky-open-toc {
	display: none;
}
@media only screen and (min-width: 1024px) and (max-width: 1199px) {
	#my-toc-body{
		display: block !important;
	}
	.my-toc-toggle-button{
		opacity: 0;
	}
	.toc-element {
		position: fixed !important;
		left: -300px;
		top: 50%;
		transform: translateY(-50%);
		transition: all 0.3s;

		display: flex;
		align-items: flex-start;
		z-index: 999;
	}
	.toc-element.show {
		left: 0;
	}
	.my-toc-widget-container {
		width: 300px;
	}
	.button-sticky-open-toc {
		display: block;
		width: fit-content;
		padding: 6px;
		border-radius: 4px;
		background-color: #05038dcc;
		line-height: 0;
	}
	.button-sticky-open-toc .uk-icon {
		width: 26px;
		color: #fff;
	}
}
/* ---------- END TOC screen -------- */

/* Mobile: hiển thị và fixed bottom (độ rộng <= 767px) */
@media only screen and (max-width: 767px) {
	.my-toc-widget-container {
		display: block;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: #fff;
		z-index: 9999;
		box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
		/*             padding: 10px; */
		border-bottom-left-radius: 0px;
		border-bottom-right-radius: 0px;
	}
	#Avada-CtaBox__Container{
		display: none;
	}
	.my-toc-widget-container .my-toc-body {
		display: none;
	}
	.my-toc-widget-container .my-toc-toggle-expand {
		display: block;
	}
	.my-toc-widget-container .my-toc-toggle-collapse {
		display: none;
	}
}
/* Tablet (768px - 1024px): ẩn TOC */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
	.my-toc-widget-container {
		/* display: none; */
	}
}
/* Các style bổ sung cho cấu trúc TOC */
.my-toc-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* margin-bottom: 10px; */
	border-bottom: 1px solid #e3e3e3;

}
.my-toc-body,.my-toc-header{
	padding:10px;
}
.my-toc-body{
	margin-bottom: 10px;
}
.my-toc-header-title {
	font-weight: 600;
	font-size: 16px;
}
.my-toc-toggle-button {
	cursor: pointer;
}
.my-toc-list-wrapper {
	list-style: none;
	margin: 0;
	padding: 0;
}
.my-toc-list-item {
	margin: 0;
	padding: 5px 0;
}
.my-toc-list-item-text-wrapper {
	margin-left: 10px;
}
.my-toc-list-item-text {
	text-decoration: none;
	color: #333;
}
.my-toc-top-level {
	font-weight: 400;
	transform: 0.15s;
}
a.my-toc-list-item-text:hover {
	text-decoration: none;
}

/* Nút toggle cơ bản */
.my-toc-toggle-button {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 5px;
	transition: transform 0.3s ease;
}
/* Icon toggle (expand và collapse) */
.my-toc-toggle-expand svg,
.my-toc-toggle-collapse svg {
	width: 20px;
	height: 20px;
	fill: #333;
	transition: fill 0.3s ease, transform 0.3s ease;
}
.my-toc-toggle-button:hover svg {
	fill: #555;
}
.my-toc-active {
	color: #1e87f0;
	font-weight: 500;
}
.my-toc-list-item-text{
	font-size: 14px;
}
.my-toc-header:hover{
	cursor: pointer;
}
/* -------------------------- END TOC ----------------------------------------------- */
@media (max-width: 960px) {
	.grid-tm .uk-grid > * .el-item {
		min-height: 158px;
	}

	.uk-navbar-item,
	.uk-navbar-nav > li > a,
	.uk-navbar-toggle {
		min-height: 58px;
	}

	#tm-dialog-mobile {
		top: 57px;
	}

	#tm-dialog-mobile .uk-close {
		display: none;
	}
}

.install-now {
	border-radius: 12px !important;
}

@media (max-width: 640px) {
	.grid-tm .uk-grid > * .el-item {
		min-height: 174px;
	}
	.grid-tm .el-image {
		width: 33px;
	}

	.grid-tm .el-meta {
		font-size: 15px;
	}

	.uk-breadcrumb > * > * {
		font-size: 15px;
	}

	.uk-dotnav > .uk-active > * {
		width: 12px;
		height: 12px;
	}

	.uk-dotnav > * > * {
		width: 8px;
		height: 8px;
	}

	.uk-margin-top {
		margin-top: 20px !important;
	}

	.uk-totop {
		padding: 2px;
	}

	.uk-slidenav {
		padding: 13px 9px;
	}

	.uk-slidenav svg {
		width: 16px;
		height: 8px;
	}

	/* avada-commerce-history .title-left .title-right */
	.title-left .el-title::before {
		width: 8px;
		left: -13px;
	}

	.title-right .el-title::before {
		width: 8px;
		right: -13px;
	}

	.element-left {
		margin-right: calc(50% + 13px);
	}

	.element-right {
		margin-left: calc(50% + 13px);
	}

	.margin-section {
		margin: 40px 0;
	}

	.faq-item .faq-question{
		font-size: 20px !important;
	}
	.faq-item .faq-answer{
		font-size: 16px;
	}
	.table-thead-nowrap td{
		white-space: nowrap;
	}
}
.faq-item h3{
	font-size:17px !important;
}
.faq-item h3:hover{
	color:var(--main-color) !important;
}
@media (max-width: 479px) {
	.avada-commerce-history .el-title {
		font-size: 26px;
		font-weight: 600;
	}

	.avada-commerce-history .el-content {
		font-size: 14px;
	}

	.faq-item .faq-question{
		font-size: 18px !important;
	}
}
