/*
Theme Name:   avada
Template:     yootheme
Author:       avada
Description:  Child theme made by JupiterMedia
Version:      1.0.2
Text Domain:  avada
*/

table td {
	border: 1px solid #000 !important;
	padding: 0.75rem;
}

table th {
	border: 2px solid #000 !important;
	padding: 0.75rem;
}

table {
	overflow-x: auto;
	margin-top: 20px;
	width: 100%;
	margin-bottom: 1rem;
	color: #1e2022;
}
a {
	display: inline-table;
}

@media screen and (max-width: 600px) {
	.row {
		margin-right: 0px;
	}

	.pro-row {
		padding-right: 0px;
	}

	.pro-author {
		margin-right: -15px;
		margin-left: -15px;
	}

	table {
		overflow-x: auto;
	}

	.author-panel__group {
		display: none !important;
	}

	.Avada-CtaBox__Container p {
		display: none !important;
	}
}

#basicsAccordion {
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 10px;
	font-size: 17px;
	margin: 20px 0;
}

#basicsAccordion div {
	border: none !important;
}

#basicsAccordion .btn {
	text-align: left;
}

#basicsAccordion button {
	font-size: 19px;
}

.Avada-CtaBox__Container {
	position: fixed;
	bottom: 0.5rem;
	z-index: 50;
	width: 100%;
}

.Avada-CtaBox__Container p {
	height: 100%;
	width: 72px;
	margin-left: 20px;
}

.Avada-CtaBox__Container img {
	position: absolute;
	top: unset;
	bottom: 0;
	width: 100px;
	aspect-ratio: 1 / 1;
	height: auto;
	left: 18px;
}

.Avada-CtaBox__Content {
	display: flex;
	background-color: #2841ae;
	flex-wrap: wrap;
	position: relative;
	justify-content: center;
	height: 100%;
	border-radius: 5rem;
	max-width: 100%;
	width: fit-content;
	margin: 0 auto;
}

.Avada-CtaBox__Content-Text {
	padding: 0;
	margin: 0;
	color: #ffffff;
}

.Avada-CtaBox__Content-Link {
	padding: 0.4rem 3.5rem 0.4rem 18px;
	margin: 0;
	color: #ffffff;
	text-decoration: none;
	line-height: 1.7;
	pointer-events: stroke;
	font-size: 15px;

	white-space: nowrap;
}
.single .Avada-CtaBox__Content-Link {
	padding: 0.4rem 3.5rem 0.4rem 100px;
}
.Avada-CtaBox__Content-Link:hover {
	color: #ffffff;
}

.Avada-CtaBox__CloseButton {
	position: absolute;
	color: #ffffff;
	font-weight: 600;
	right: 1.1rem;
	bottom: 50%;
	cursor: pointer;
	transform: translateY(50%);
}

.post li {
	margin: 15px 0 !important;
	font-size: 16px;
}

.ease-in.scroll-smooth li {
	margin: 5px 0 !important;
	font-size: 14px;
}

.ease-in.scroll-smooth li a {
	color: rgb(72, 57, 50);
}

.ease-in.scroll-smooth li a:hover {
	color: #f16131;
}

.wp-block-image {
	margin-bottom: 1rem;
}

.Avada-Redirect__Button {
	color: #fffffe;
	background-color: #407bff;
	border-color: #407bff;
	border-radius: 4px;
	box-shadow: none;
	padding: 0.4rem 1rem;
}

#Avada-SelectCountry {
	padding: 8px;
	border-radius: 4px;
	background: #ffffff;
	border: 1px solid black;
}

@media (max-width: 670px) {
	.post ul {
		padding-left: 20px;
	}

	.Avada-CtaBox__Content {
		display: inline-flex;
		padding: 0.6rem 1rem 0.6rem 1rem;
		max-width: 90%;
	}

	.Avada-CtaBox__Content-Link {
		text-align: center;
		flex-wrap: wrap;
		width: 100%;
		justify-content: center;
		padding: 0;
	}

	.Avada-CtaBox__CloseButton {
		bottom: 50%;
	}

	.desktop {
		display: none;
	}

	.Avada-CtaBox__CloseButton {
		bottom: 50%;
		right: 35px;
	}

	.Avada-CtaBox__Content-Link {
		font-size: 14px;
	}
}

.Shopify-Exclusive-Offer {
	background: rgba(244, 246, 248);
	font-size: 18px;
	color: #474848;
	padding: 50px 30px 10px 30px;
	margin: 30px 0px;
	border-radius: 20px;
}

.Shopify-Exclusive-Offer .h3 {
	text-align: center;
	font-weight: 600;
	color: #464646;
}

.Shopify-Exclusive-Offer button {
	font-size: 24px;
	padding: 10px 30px;
	border-radius: 10px;
	background: rgba(29, 78, 216);
	border: 1px solid rgba(29, 78, 216);
}

.Shopify-Exclusive-Offer li {
	display: flex;
	margin: 0px !important;
}

.Shopify-Exclusive-Offer p {
	color: #383838;
}

.Shopify-Exclusive-Offer button:hover {
	background-color: #1e3a8a;
}

.hover button:hover {
	background-color: #1e3a8a;
	border: 2px solid #1e3a8a;
	color: white;
}

.cta-box {
	background: rgba(244, 246, 248);
	padding: 10px 30px;
	border-radius: 20px;
	font-size: 18px;
}

.cta-button {
	font-weight: 600;
	font-size: 22px;
	padding: 20px 30px;
	margin: 30px;
	line-height: 24px;
	background-color: #01007f !important;
	border-color: #01007f !important;
	color: #fff !important;
	border-radius: 50px;
}

.avada-first-ctabox {
	background-color: #1d4ed8;
	border: 2px solid #1d4ed8;
	font-weight: 600;
	margin-right: 10px;
	border-radius: 20px;
}

.avada-second-ctabox {
	border: 2px solid #1d4ed8;
	font-weight: 600;
	color: #1d4ed8;
}

[data-toggle="collapse"][aria-expanded="false"] .fa:before {
	content: "\f063";
}

[data-toggle="collapse"][aria-expanded="true"] .fa:before {
	content: "\f062";
}

.fly-submenu-wrapper {
	width: 100%;
	z-index: 999;
	position: fixed;
	top: 0;
}

@media screen and (min-width: 1300px) {
	.fly-submenu-wrapper .sub-menu-1 {
		left: 42% !important;
	}

	.fly-submenu-wrapper .sub-menu-2 {
		left: 47% !important;
	}

	.fly-submenu-wrapper .sub-menu-3 {
		left: 53% !important;
	}

	.fly-submenu-wrapper .sub-menu-4 {
		left: 61% !important;
	}

	.fly-submenu-wrapper .sub-menu-5 {
		left: 67% !important;
	}

	.fly-submenu-wrapper {
		display: none;
	}
}

@media screen and (max-width: 1300px) {
	.fly-submenu-wrapper .sub-menu-1 {
		left: 39% !important;
	}

	.fly-submenu-wrapper .sub-menu-2 {
		left: 55% !important;
	}

	.fly-submenu-wrapper .sub-menu-3 {
		left: 57.7% !important;
	}

	.fly-submenu-wrapper .sub-menu-4 {
		left: 69.3% !important;
	}

	.fly-submenu-wrapper .sub-menu-5 {
		left: 77.5% !important;
	}

	.ease-in.scroll-smooth li {
		font-size: 14px;
		line-height: 17px;
		margin: 4px 0 !important;
	}
	.banner-box {
		margin-top: 0px !important;
		width: 100% !important;
	}

	.banner-box .h4 {
		font-size: 21px;
	}

	.banner-box p {
		font-size: 15px;
		margin-bottom: 10px;
		line-height: 24px;
	}
}

.author-card__role {
	font-size: 14px;
}

.author-card__author {
	font-size: 15px;
}

.author-card__author img {
	width: 15px;
}

.author-panel__group {
	justify-content: flex-end;
	flex: 0 0 60%;
}

.author-card {
	display: flex;
	flex: 0 0 50%;
}

.author-card__media {
	flex: 0 0 60px;
}

.author-card__media img {
	border-radius: 50%;
}

.author-card__text {
	flex: 1 1 0%;
	padding: 0 10px;
}

.author-card__media image {
	height: 80px;
	width: 80px;
}

.author-panel {
	align-items: flex-start;
	display: flex;
	background: #f7f7f7;
	padding: 10px;
	border-radius: 20px;
	line-height: 1.7;
}

.author-card__role {
	font-size: 14px;
}

.author-card__author {
	font-size: 15px;
}

.author-card__text p {
	margin-bottom: 0px;
	line-height: 25px;
}

.media-body .h3 {
	padding-top: 0rem;
	margin-bottom: 0.5rem;
}

.box-update {
	background-color: rgb(230, 246, 230);
	border-radius: 20px;
	margin: 20px 0;
}

.internal-box {
	background: #f7f7f7;
	padding: 20px 20px 10px 20px;
	border-radius: 20px;
	line-height: 1.7;
}

.wp-block-code {
	color: #e83e8c;
	margin: 3rem 0px;
	font-family: Cartograph, "Lucida Console", Monaco, monospace;
	border: 0px;
	max-height: 500px;
	overflow: scroll;
	background-color: #f8f8f8;
	padding: 2rem;
	border-radius: 1rem;
	white-space: pre-wrap;
	word-break: break-all;
	font-size: 0.875rem;
}

.Avada-Popup__Wrapper {
	display: none !important;
}

#AvadaBlog__AdsAvadaApp {
	display: none !important;
}

.fix-cls-container {
	padding-bottom: 100%;
	position: relative;
}

.fix-cls-img {
	position: absolute;
	width: 100%;
	height: auto;
	top: 0;
	left: 0;
}

#mp-screenshots img {
	height: unset;
	min-width: 100%;
}

#mp-screenshots a {
	width: 100%;
}

#mp-screenshots {
	border: none;
}

.tiktok-box .h2 {
	font-size: 3rem;
	line-height: 1.1;
	padding-top: 0.5rem;
	margin-bottom: 1rem;
	margin-top: 1.5rem;
}

.tiktok-box button {
	margin-top: 10px;
	border-radius: 40px !important;
}

.tiktok-box {
	width: 90%;
	margin: auto;
	margin-bottom: 20px;
}

.tiktok-box .internal-link-content-wrapper {
	width: 54%;
}

.tiktok-box .internal-link-banner {
	width: 46%;
}

.tiktok-box .cta-button {
	background-color: #fd2c55 !important;
	border-color: #fd2c55 !important;
}

.internal-link-block {
	padding: 0;
	display: flex;
	border-radius: 4px;
	background: #f1f1f2;
}

.tiktok-box .h4 {
	margin: 0 0 20px 0;
	font-weight: 400;
	font-size: 26px;
	line-height: 36px;
}

.sidebar-banner {
	width: 100%;
}

.wp-block-video video {
	width: 100%;
}

.wp-block-video {
	margin-bottom: 1rem;
}

.banner-avada-app {
	display: none;
}

.banner-box {
	border-radius: 10px;
	padding: 20px;
	position: relative;
	width: 390px;
	min-height: 300px;
	background-color: #a5e3b9;
	overflow: hidden;
	color: black;
	margin-top: 20px;
}

.pro-toc-nav {
	position: fixed;
	width: 34% !important;
	max-width: 450px !important;
}

.banner-box p {
	font-size: 16px;
	margin-bottom: 10px;
	color: black;
}

.banner-box .h4 {
	color: black;
}

.banner-box .h4:hover {
	color: #f16131;
}

.banner-box .btn {
	padding: 10px 22px;
	border: 1px solid #f16131;
	border-radius: 5px;
	margin: 10px 0;
	background: #f16131;
	color: white;
}

.btn.sidebar-shopify-button:hover {
	background: white;
	border: 2px solid #f16131;
	color: #f16131;
}

#basicsAccordion button:hover {
	background: white;
	border: 1px solid #f16131;
	color: #f16131;
}

.articles .block-1 {
	max-width: 100% !important;
	flex: 1;
	padding: 0px !important;
}

.articles .block-2 {
	display: none !important;
	padding: 0px !important;
}

#check-result {
	height: auto;
}

.item-class-3::marker {
	font-size: 1.2em;
}

.arrow-black.card-btn-arrow {
	color: black !important;
	margin-right: 1rem;
	margin-top: 2px;
}

.wp-block-embed__wrapper {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	margin-bottom: 1.5rem;
}

.wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	width: 750px;
	height: 422px;
}

.btn-warning {
	padding: 0.2rem 0.7rem !important;
}

.key-take-away-block h2 {
	padding-top: 0rem;
	margin-bottom: 0rem;
}

.bg-423dd9 {
	background-color: #423dd9;
}

.border-radius-8 {
	border-radius: 8px;
}

.font-weight-bold {
	font-weight: 700 !important;
}

.box-add-changed {
	position: relative;
	z-index: 10;
}

.background-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000000bf;
	z-index: 5;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease;
}

.background-overlay.visible {
	opacity: 1;
	pointer-events: auto;
}

.email-box {
	background: rgba(244, 246, 248);
	padding: 20px 40px;
	font-size: 18px;
	text-align: center;
}

.email-box .h4 {
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.3;
	padding: 0 20px;
}

input::placeholder {
	color: #848484;
	font-size: 15px;
}

input::placeholder::after {
	color: #fbfcfd;
}

input {
	font-size: 14px;
	height: 45px;
	padding-left: 20px;
	border: 1px solid #e1e1e1;
}

input:hover {
	border: 1px solid #7c7c7c;
}

.email-box button {
	border: 1px solid #1a0486;
	background: #1a0486;
	color: white;
}

.button:hover {
	background: #1a0486;
	border: 2px solid #1a0486;
	color: white;
}

.aff-box {
	color: black;
	display: flex;
	justify-content: space-between;
	background-color: #efefef;
	padding: 10px 25px;
	border-radius: 10px;
}
.text-center {
	text-align: center;
}

/* Note */
/* #tm-main img {
	margin: auto;
} */

.mp-bg-blue {
	background-color: #0071e3;
}

.mp-bg-blue:hover {
	background-color: white;
	border: solid 1px #0071e3;
}
.box-add-changed p {
	margin-top: 0;
}
#Avada-SelectCountry__Container {
	background: rgba(244, 246, 248);
	padding: 15px;
	border-radius: 10px;
	margin: 30px 0px;
}
.container .h2 {
	font-size: 28px;
	line-height: 40px;
}
.container .h3 {
	font-size: 24px;
	line-height: 40px;
}
.pt-2.pb-2.btn-soft-primary {
	padding: 5px 20px;
}
.Avada-CtaBox__Container.blog {
	width: auto;
	width: 100%;
}
.post-template-default .Avada-CtaBox__Container.blog {
	display: unset;
}
/* CSS dành cho tablet (màn hình từ 768px đến 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
	.flex.bg-neutral-100.rounded-lg.gap-4.text-sm .grid.p-4.gap-2 {
		display: none;
	}
	.flex.bg-neutral-100.rounded-lg.gap-4.text-sm
	.flex.gap-2.content-center.items-center {
		display: flex;
		margin-left: 20px;
	}
}
@media (max-width: 767px) {
	.flex.bg-neutral-100.rounded-lg.gap-4.text-sm .grid.p-4.gap-2 {
		display: none;
	}
	.flex.bg-neutral-100.rounded-lg.gap-4.text-sm
	.flex.gap-2.content-center.items-center {
		display: flex;
		margin-left: 20px;
	}
}
.uk-totop .uk-icon svg {
	position: relative; /* Đảm bảo z-index hoạt động */
	z-index: 1; /* Đặt z-index cho svg */
}

/* Update css 432025 */
:root {
	--main-color: #06038d;
}
.single #ftwp-container.ftwp-wrap #ftwp-header-title {
	color: var(--main-color);
	font-size: 16px;
}
.single #ftwp-container #ftwp-list .ftwp-text {
	font-size: 16px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	-webkit-box-orient: vertical;
}
.single
#ftwp-container
#ftwp-list.ftwp-list-nest
.ftwp-sub
.ftwp-anchor::before {
	margin-left: 32px;
}
#ftwp-container.ftwp-wrap #ftwp-header-title {
	font-size: 20px;
}
.single h2,
.single h3,
.single h4,
.single h5 {
	margin: 25px 0px 15px;
	padding: 0px;
}
@media (max-width: 991px) {
	.single p,
	.single table {
		font-size: 15px;
	}
}
/* Update csss avada AI generate */

@media (max-width: 575px) {
	.tm-page .Avada-bng-App.banner-page h1 {
		font-size: 30px;
	}
	.tm-page .Avada-bng-App .main {
		padding: 60px 0px;
	}
	.tm-page .Avada-bng-App.banner-page #generate-form {
		padding: 0px 0 24px;
		margin-top: 0px;
	}
	#ftwp-container.ftwp-hidden-state {
		display: block !important;
		visibility: visible !important;
		position: fixed !important;
		bottom: 10px; /* Điều chỉnh vị trí nếu cần */
		right: 10px;
		z-index: 9999;
	}
}

.Avada-CtaBox__Container {
	left: 50%;
	transform: translateX(-50%);
}
@media (min-width: 1200px) {
	.Avada-CtaBox__Container.blog{
		max-width: 60%;
	}
}
@media (max-width: 1400px) and (min-width: 1200px) {
	.Avada-CtaBox__Container.blog{
		max-width: 60%;
	}
	.Avada-CtaBox__Content-Link{
		font-size: 14px;
	}
}
@media (max-width: 768px) {
	.single .Avada-CtaBox__Content {
		display: none;
	}
}

/*  Single blog avada io - Plugin post*/
.prose table td{
	border:none;
}
.prose .quick-comparison-container{
	overflow-x: auto;
}
.prose .bg-blue-500{
	--tw-bg-opacity: 1;
	background-color: rgba(59, 130, 246, var(--tw-bg-opacity));
}
.prose .rounded {
	border-radius: .25rem;
}

.quick-comparison-container table{
	font-size: 16px;
}
@media (min-width: 640px) {
	.prose table .sm\:block {
		display: table-cell;
	}
	.prose .sm\:block{
		display: block;
	}
}

/**
* CSS cho Ebook Download
* Tệp này nên được đặt tại: assets/css/ebook-download.css
*/

.ebook-btn {
	display: inline-block;
	background-color: #fff;
	color: #000;
	padding: 10px 20px;
	text-align: center;
	text-decoration: none;
	font-size: 16px;
	margin: 4px 2px;
	cursor: pointer;
	border-radius: 4px;
	border: none;
	transition: background-color 0.3s;
}


.ebook-btn:hover {
	opacity:0.8;
}

.ebook-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(24 24 27);
}

.ebook-modal.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ebook-modal-content {
	background-color: #fefefe;
	padding: 20px;
	border: 1px solid #888;
	width: 90%;
	max-width: 1000px !important;
	border-radius: 5px;
	position: relative;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.ebook-close {
	color: #aaa;
	position: absolute;
	top: -40px;
	right: 0px;
	font-size: 28px;
	font-weight: bold;
	line-height: 1;
}

.ebook-close:hover,
.ebook-close:focus {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
}

.ebook-form {
	margin-top: 20px;
}

.ebook-form-group {
	position: relative;
	margin-bottom: 15px;
	display: flex;
	gap: 30px;
	align-items: center;

}
.ebook-form-group img{
	max-width: 250px;
}
.avada-ebook-email{
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 15px;
}
.ebook-form input {
	width: 100%;
	min-width: 350px;
	padding: 12px 15px;
	margin: 0;
	display: inline-block;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 16px;
	transition: border-color 0.3s, box-shadow 0.3s;
}

.ebook-form input:focus {
	outline: none;
	border-color: #2841AE;
	/* box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2); */
}

.ebook-form input.valid {
	border-color: #4CAF50;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%234CAF50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>');
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 16px 16px;
	padding-right: 35px;
}

.ebook-form input.invalid {
	border-color: #f44336;
}

.ebook-validation-message {
	font-size: 12px;
	margin-top: 5px;
	color: #f44336;
	display: none;
}

.ebook-validation-message.show {
	display: block;
}

.ebook-form button {
	width: 100%;
	max-width: 160px;
	background-color: #2841AE;
	color: white;
	/* padding: 14px 20px; */
	height: 42px;
	margin: 8px 0;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 16px;
	transition: background-color 0.3s, opacity 0.3s;
}

.ebook-form button:hover:not(:disabled) {
	background-color: #2841AE;
}

.ebook-form button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ebook-message {
	margin-top: 15px;
	padding: 12px;
	display: none;
	border-radius: 4px;
	font-size: 20px;
	line-height: 1.4;
	animation: fadeIn 0.3s ease-out;
	display: none;
}
.ebook-message p{
	margin: 0px;
	padding: 0px;
}
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

.ebook-success {
	background-color: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;

}
.ebook-message.active{
	display: block;
}
.avada-ebook-content.active{
	display: none;
}
.ebook-error {
	background-color: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;

}

/* Responsive adjustments */
@media (max-width: 768px) {
	.ebook-modal-content {
		width: 95%;
		padding: 15px;
	}

	.ebook-form input,
	.ebook-form button {
		padding: 10px 15px;
	}
	.block-download-ebook,.ebook-form-group,.avada-ebook-email{
		flex-wrap: wrap;
		justify-content: center;
		flex-direction: column;
	}
	.ebook-form input{
		min-width: 100%;
	}
	.avada-ebook-email div,.avada-ebook-email button{
		width: 100%;
	}
	.ebook-validation-message{
		text-align: center;
	}
}