.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: var(--sw-key-color);
	--search-input-icon-bg-hover: var(--sw-key-color-hover);
}

.headerbox-search-form {
	display: flex;
}

.headerbox-search-form input[type='search'] {
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	font-size: var(--text-base);
	font-family: var(--font-display-alt);
	background: transparent;
	color: #fff;
	font-weight: 400;
	letter-spacing: 0.06rem;
	text-transform: uppercase;
	padding-bottom: 10px;
}

.headerbox-search-form button {
	width: 40px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--search-input-icon-bg);
	text-align: right;
	display: block;
	padding-right: var(--space-1);
}

.headerbox-search-form button i {
	color: var(--green);
}

.headerbox-search-form input[type='search']:focus-visible,
.headerbox-search-form button:focus-visible {
	outline-color: var(--sw-light-focus-color);
}

.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 {
		width: 56px;
		height: 56px;
		padding: 0;
		margin: 0;
		background: var(--blue-light);
		border-radius: 6px;
		color: var(--grey-dark);
		font-size: 1.3125rem;
	}

	.search-cont .search-button .close {
		display: none;
	}

	.search-cont.active .search-button .open {
		display: none;
	}

	.search-cont.active .search-button .close {
		display: block;
		font-size: 2.0625rem;
	}

	.search-cont .headerbox-search-form {
		opacity: 0;
		pointer-events: none;
		position: absolute;
		right: 100%;
		top: 0;
		width: 400px;
		height: 100%;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
		margin-top: 12px;
		margin-right: 25px;
	}

	.headerbox-search-form button {
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
		display: none;
	}

	.search-cont .search-button {
		display: block;
	}

	.search-cont .search-button:focus-visible {
		outline-color: var(--sw-light-text-color);
	}
}

/* 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);
	}
	.headerbox-search-form input[type='search'] {
		border-bottom: 3px solid var(--green);
		padding-bottom: 0;
		height: 75%;
		font-size: 1.125rem;
		letter-spacing: 0.0675rem;
	}
}
