.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-text: var(--gray-100);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: var(--primary-color-800);
	--search-input-icon-bg-hover: var(--primary-color-600);
	--search-border: var(--blue-7d);

	display: flex;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: var(--text-base);
	text-indent: var(--space-1);
	font-family: var(--font-family-body);
	background-color: transparent;
	color: var(--search-text);
	border-bottom: 2px solid var(--search-border);
}

@media screen and (min-width: 64em) {
	.headerbox-search-form input[type="search"] {
		height: 30%;
		color: var(--primary-color-900);
		border-bottom: 2px solid var(--primary-color-400);
	}
}

.headerbox-search-form input[type="search"]::placeholder {
	font-family: var(--font-body);
	font-size: var(--text-base);
	color: var(--search-text);
	text-indent: 0;
}

@media screen and (min-width: 64em) {
	.headerbox-search-form input[type="search"]::placeholder {
		color: var(--primary-color-900);
	}
}

.headerbox-search-form button {
	width: 40px;
	padding: 0;
	margin: var(--space-1) 0 0;
	flex-shrink: 0;
	background-color: transparent !important;
}

.headerbox-search-form button i {
	font-size: var(--text-xl);
	margin-left: var(--space-5);
}

@media screen and (min-width: 64em) {
	.headerbox-search-form button i {
		color: var(--primary-color-400);
		margin-left: 0;
	}
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

@media screen and (min-width: 64em) {
	.search-cont {
		position: relative;
	}

	.search-cont.active {
		position: absolute;
		right: 9px;
		z-index: 2;
		top: 18px;
		padding: 10px;
		background: var(--gray-300);
		height: 72px;
		width: 76px;
	}

	.search-cont .search-button {
		color: var(--blue-001);
	}

	@media screen and (min-width: 90em) {
		.search-cont.active {
			right: 42px;
			height: 80px;
		}
	}

	.search-cont .search-button {
		width: 40px;
		height: 40px;
		padding: 0;
		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;
		margin: 0 auto;
	}

	.search-cont .headerbox-search-form {
		opacity: 0;
		pointer-events: none;
		position: absolute;
		top: 0;
		width: 240px;
		height: 100%;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
	}

	@media screen and (min-width: 64em) {
		.search-cont .headerbox-search-form {
			right: 90px;
		}
	
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	@media screen and (min-width: 64em) {
		.search-cont.active .headerbox-search-form {
			display: flex;
			align-items: center;
			width: 680px;
		}
	}

	.headerbox-search-form button {
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
	}

	.search-cont .search-button {
		display: block;
		font-size: var(--text-lg);
		padding-top: var(--space-1);
	}

	.search-cont .search-button.active {
		position: absolute;
		top: 25%;
		right: 25%;
	}
}

@media screen and (min-width: 90em) {
	.search-cont .search-button {
		display: block;
		font-size: var(--text-xl);
		color: var(--primary-color-900);
	}
}

/* Hamburger Header styles */
.panel-header.hamburger .search-cont .headerbox-search-form {
	opacity: 1;
	position: static;
	pointer-events: all;
}

.panel-header.hamburger .search-cont .headerbox-search-form input[type="search"] {
	height: unset;
}

.panel-header.hamburger .nav .search-cont .search-button {
	display: none;
}

@media (min-width: 64em) {
	.panel-header.hamburger .search-cont .headerbox-search-form {
		width: 100%;
	}

	.panel-header.hamburger .nav .search-cont .headerbox-search-form button {
		width: var(--space-12);
	}
}