.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
}

.headerbox-search-form {
	display: flex;
	height: 45px;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: var(--text-base-15);
	color: var(--gold-b4);
	text-indent: 18px;
	font-family: var(--font-family-body);
}

.headerbox-search-form input[type="search"]:focus {
	outline: 1px dashed white;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-base-15);
	color: var(--gold-b4);
}

.headerbox-search-form button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
}
.headerbox-search-form button::before {
	content: "";
	width: 1px;
	height: 26px;
	background-color: #e5e5e5;
	position: absolute;
	left: 0;
	top: 9px;
}

.headerbox-search-form button:focus {
	outline: 1px dashed #FFF;
}

.headerbox-search-form button svg {
	width: 17px;
}

.headerbox-search-form button:hover {
	background-color: var(--white);
}

.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: 45px;
		height: 45px;
		padding: 0;
		margin: 0;
		background-color: rgba(255,255,255,0.16);
	}

	.search-cont .search-button .open { width: 17px; }
	.search-cont .search-button .close { width: 21px; }

	.search-cont .search-button.active {
		background-color: var(--gold-b4);
	}

	.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: 0;
		width: 345px;
		height: 100%;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form button {
		position: relative;
		display: flex;
		justify-content: center;
		align-items: center;
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
	}

	.search-cont .search-button:focus,
	.headerbox-search-form button:focus {
		outline: 1px dashed white;
	}

	.headerbox-search-form button > svg {
		width: 17px;
	}

	.search-cont .search-button {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-top: 4px;
	}
}

/* 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);
	}
}