.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: transparent;
	--search-input-icon-bg-hover: transparent;
}

.headerbox-search-form {
	display: flex;
    height: 40px;
	background-color: var(--cream);
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	margin: 0;
	border-radius: 0;
	font-size: var(--text-sm);
	text-indent: 6px;
	font-family: var(--font-family-body);
	color: var(--cypress);
	background-color: transparent;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-sm);
	color: var(--cypress);
}

.headerbox-search-form button {
	width: 32px;
	padding: 0;
	margin: 0px 3px 0 0;
	flex-shrink: 0;
	background-color: var(--search-input-icon-bg);
	color: var(--gray-100);
}

.headerbox-search-form button:hover { background-color: var(--search-input-icon-bg-hover); }
.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: 48px;
		height: 48px;
		padding: 0;
		margin: 0;
		position: relative;
		z-index: 25;
	}

	.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: calc(100% - 52px);
		top: -5px;
		width: calc(850px + (894 - 850) * ((100vw - 1024px) / (1200 - 1024)));
		height: 56px;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
	}

	.headerbox-search-form input[type="search"] {
		font-size: var(--text-19);
		font-family: var(--nickson-6);
		text-indent: 18px;
	}
	
	.headerbox-search-form input[type="search"]::placeholder {
		font-size: var(--text-19);
		font-family: var(--nickson-6);
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form button { display: none; }
	.search-cont .search-button { display: block; }
}

@media (min-width: 1200px) {
	.search-cont .headerbox-search-form { width: 894px; }
}

/* 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); }
}