/* Skyware Live Search */
.skyware-search-wrapper {
	position: relative;
	width: 100%;
	max-width: 650px;
	z-index: 9999;
	margin-top: 28px;
}

.skyware-search-form {
	position: relative;
	width: 100%;
}

.skyware-search-wrapper,
.skyware-search-wrapper * {
	box-sizing: border-box;
}

.skyware-search-wrapper .skyware-search-box {
	position: relative;
	width: 100%;
	height: 64px;
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #dbe5f2;
	border-radius: 16px;
	box-shadow: 0 12px 35px rgba(20, 55, 100, .10);
	transition: border-color .25s ease, box-shadow .25s ease;
}

.skyware-search-box:focus-within {
	border-color: #1264f5;
	box-shadow: 0 0 0 4px rgba(18, 100, 245, .10), 0 14px 40px rgba(20, 55, 100, .13);
}

.skyware-search-icon {
	width: 58px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #54708f;
	flex: 0 0 58px;
}

.skyware-search-wrapper .skyware-search-input {
	height: 100% !important;
	flex: 1 1 auto;
	min-width: 0;
	border: 0 !important;
	outline: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 5px !important;
	margin: 0 !important;
	font-size: 17px !important;
	line-height: 1.2 !important;
	color: #17233c !important;
}

.skyware-search-input::placeholder {
	color: #7a8ba3;
	opacity: 1;
}

.skyware-search-wrapper .skyware-search-clear {
	display: none;
	border: 0;
	background: transparent;
	color: #8291a7;
	font-size: 25px;
	cursor: pointer;
	padding: 5px 10px;
	line-height: 1;
}

.skyware-search-clear:hover {
	color: #17233c;
}

.skyware-search-wrapper .skyware-search-button {
	width: 48px;
	height: 48px;
	margin-right: 8px;
	border: 0 !important;
	border-radius: 12px;
	background: #1264f5 !important;
	color: #fff !important;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
	flex: 0 0 48px;
	padding: 0 !important;
}

.skyware-search-button:hover {
	background: #0755dc !important;
	transform: translateX(1px);
}

.skyware-search-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 10px);
	left: 0;
	width: 100%;
	background: #fff;
	border: 1px solid #e2e9f2;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 50px rgba(20, 50, 90, .18);
}

.skyware-search-dropdown.active {
	display: block;
}

.skyware-search-results {
	max-height: 430px;
	overflow-y: auto;
	padding: 8px;
}

.skyware-search-result {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px;
	border-radius: 11px;
	text-decoration: none !important;
	transition: background .18s ease;
	color: inherit !important;
}

.skyware-search-result:hover,
.skyware-search-result.is-active {
	background: #f4f8ff;
}

.skyware-search-thumb {
	width: 54px;
	height: 54px;
	border-radius: 9px;
	overflow: hidden;
	background: #edf3fb;
	flex: 0 0 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1264f5;
}

.skyware-search-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.skyware-search-result-content {
	min-width: 0;
	flex: 1;
}

.skyware-search-result-title {
	display: block;
	color: #17233c;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	margin-bottom: 4px;
}

.skyware-search-result-meta {
	color: #71839a;
	font-size: 12px;
	line-height: 1.3;
}

.skyware-search-result-arrow {
	color: #8da0b8;
	font-size: 18px;
	padding-right: 5px;
}

.skyware-search-footer {
	display: none;
	border-top: 1px solid #edf1f6;
	padding: 8px;
}

.skyware-search-footer button {
	width: 100%;
	height: 45px;
	border: 0 !important;
	border-radius: 10px;
	background: #f3f7fd !important;
	color: #1264f5 !important;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.skyware-search-footer button:hover {
	background: #e8f0fd !important;
}

.skyware-search-footer button span {
	margin-left: 5px;
}

.skyware-search-loading {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 5px;
	height: 55px;
}

.skyware-search-loading span {
	width: 6px;
	height: 6px;
	background: #1264f5;
	border-radius: 50%;
	animation: skywareSearchBounce 1s infinite ease-in-out;
}

.skyware-search-loading span:nth-child(2) { animation-delay: .15s; }
.skyware-search-loading span:nth-child(3) { animation-delay: .30s; }

@keyframes skywareSearchBounce {
	0%, 80%, 100% { transform: scale(.7); opacity: .5; }
	40% { transform: scale(1); opacity: 1; }
}

.skyware-search-empty {
	padding: 25px 15px;
	text-align: center;
	color: #71839a;
	font-size: 14px;
}

.skyware-search-empty strong {
	display: block;
	color: #17233c;
	margin-bottom: 5px;
	font-size: 15px;
}

@media (max-width: 767px) {
	.skyware-search-wrapper {
		max-width: 100%;
		margin-top: 22px;
	}

	.skyware-search-wrapper,
.skyware-search-wrapper * {
	box-sizing: border-box;
}

.skyware-search-wrapper .skyware-search-box {
		height: 58px;
		border-radius: 13px;
	}

	.skyware-search-icon {
		width: 47px;
		flex-basis: 47px;
	}

	.skyware-search-wrapper .skyware-search-input {
		font-size: 15px !important;
	}

	.skyware-search-wrapper .skyware-search-button {
		width: 43px;
		height: 43px;
		flex-basis: 43px;
		margin-right: 6px;
	}

	.skyware-search-dropdown {
		border-radius: 13px;
	}

	.skyware-search-result {
		padding: 9px;
	}

	.skyware-search-thumb {
		width: 47px;
		height: 47px;
		flex-basis: 47px;
	}
}


/* Compatibility overrides for WPBakery and theme button/input styles */
.skyware-search-wrapper .skyware-search-box {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	width: 100% !important;
}

.skyware-search-wrapper .skyware-search-icon {
	display: flex !important;
	flex: 0 0 58px !important;
	width: 58px !important;
	position: static !important;
}

.skyware-search-wrapper .skyware-search-input {
	display: block !important;
	flex: 1 1 auto !important;
	width: auto !important;
	max-width: none !important;
	float: none !important;
	position: static !important;
}

.skyware-search-wrapper .skyware-search-clear {
	flex: 0 0 auto !important;
	width: auto !important;
	position: static !important;
}

.skyware-search-wrapper .skyware-search-button {
	display: flex !important;
	flex: 0 0 48px !important;
	width: 48px !important;
	height: 48px !important;
	position: static !important;
	float: none !important;
}

.skyware-search-wrapper .skyware-search-dropdown {
	display: none !important;
	z-index: 999999 !important;
}

.skyware-search-wrapper .skyware-search-dropdown.active {
	display: block !important;
}

.skyware-search-wrapper .skyware-search-footer button {
	width: 100% !important;
	display: block !important;
}
