.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: #fff;
	--seach-input-icon-bg: transparent;
	--seach-input-icon-bg-hover: transparent;

	display: flex;
	align-items: center;
	border-bottom: 4px solid var(--light-olive);
	min-width: 248px;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: 16px;
	font-family: var(--font-family-body);
	background-color: transparent;
	color: #fff;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: 16px;
	color: #fff;
	opacity: .75;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance:none;
}

.headerbox-search-form button {
	padding: 5px 10px 5px 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--seach-input-icon-bg);
}

.headerbox-search-form button:hover {
	background-color: var(--seach-input-icon-bg-hover);
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: #fff;
}

@media screen and (min-width: 64em) {
	.search-cont {
		position: relative;
	}

	.search-cont .search-button {
		padding: 5px 10px;
		margin: 0;
	}

	.search-cont .search-button .close {
		display: none;
	}

	.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: 50%;
		z-index: 25;
		transform: translateY(-50%);
		width: 240px;
		padding-left: var(--space-2);
		background: var(--white);
		color: var(--navy);
		border-radius: 4px;
		transition: opacity 200ms ease-in-out;
	}

	.headerbox-search-form input[type="search"] {
		padding: var(--space-2);
		color: #000;
	}

	.headerbox-search-form input[type="search"]::placeholder {
		color: var(--navy);
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}


	.headerbox-search-form button {
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
	}

	.headerbox-search-form button[type="submit"] i {
		color: inherit;
	}

	.search-cont .search-button {
		display: block;
	}
}