.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--dark-blue);
	--search-input-icon-bg: var(--mint);
}

.headerbox-search-form {
	display: flex;
	gap: var(--space-2);
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 40px;
	margin: 0;
	border-radius: 0;
	font-size: var(--text-base);
	text-indent: var(--space-2);
	font-family: var(--font-family-body);
	font-size: var(--text-base);
	font-style: normal;
	font-weight: 400;
	color: var(--text-black);
	border: 1px solid var(--text-black);
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-base);
	text-indent: var(--space-2);
	font-family: var(--font-family-body);
	font-size: var(--text-base);
	font-style: normal;
	font-weight: 400;
	color: var(--text-black);
}

.headerbox-search-form button {
	width: 40px;
	height: 40px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background: url(/includes/public/assets/shared/search-background.svg);
	background-size: 40px 40px;
	background-repeat: no-repeat;
	border-radius: var(--rounded-full);
	color: var(--dark-blue);
}

@media (hover: hover) {
	.headerbox-search-form button:hover { background-color: var(--search-input-icon-bg); }
}

.headerbox-search-form button i {
	color: var(--dark-blue);
	font-size: var(--text-base);
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

@media screen and (min-width: 64em) {
	.search-cont { position: relative; }

	.search-cont .search-button {
		position: relative;
		z-index: 26;
		display: block;
		width: 49px;
		height: 49px;
		background: url(/includes/public/assets/shared/search-background.svg);
		background-size: 49px 49px;
		background-repeat: no-repeat;
		padding: 0;
		border-radius: var(--rounded-full);
		margin: -9px 0 0 -18px;
	}

	.search-cont .search-button .close,
	.search-cont.active .search-button .open { display: none; }

	.search-cont.active .search-button .close { display: block; }

	.search-cont .headerbox-search-form {
		opacity: 0;
		pointer-events: none;
		position: absolute;
		right: 100%;
		top: 40px;
		width: 308px;
		height: 85px;
		z-index: 25;
		gap: 0;
		padding: var(--space-5);
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
		border-bottom-left-radius: 5px;
		border-bottom-right-radius: 5px;
		background: var(--white);
		transition: opacity 200ms ease;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form input[type="search"] { height: 45px; }

	.headerbox-search-form button {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 45px;
		height: 45px;
		padding: 0;
		margin: 0;
		background: var(--light-mint-to-light-teal);
		border-radius: unset;
		border-top-right-radius: 5px;
		border-bottom-right-radius: 5px;
	}

	.headerbox-search-form button i {
		color: var(--dark-blue);
		font-size: var(--text-xl);
	}
}

/* Hamburger Header styles */
.dropdown-nav-container .search-cont .headerbox-search-form {
	opacity: 1;
	position: static;
	pointer-events: all;
}

.dropdown-nav-container .search-cont .headerbox-search-form input[type="search"] { height: unset; }

.dropdown-nav-container .nav .search-cont .search-button { display: none; }

@media (min-width: 64em) {
	.dropdown-nav-container .search-cont .headerbox-search-form { width: 100%; }

	.dropdown-nav-container .nav .search-cont .headerbox-search-form button { width: var(--space-12); }
}