.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: var(--white);
	--search-input-icon-bg: var(--blue-dark);
	--search-input-icon-bg-hover: var(--blue-dark);

	display: flex;
	border: 1px solid var(--blue-dark);
	border-radius: var(--space-5);
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 32px;
	margin: 0;
	text-indent: var(--space-2);
	font-family: var(--font-family-body);
	font-size: 0.875rem;
	border-top-left-radius: var(--space-5);
	border-bottom-left-radius: var(--space-5);
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: 0.875rem;
	text-indent: var(--space-2);
}

.headerbox-search-form button {
	width: 32px;
	height: 32px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--search-input-icon-bg);
	border-radius: var(--rounded-full);
}

.headerbox-search-form button i {
	font-size: 0.875rem;
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

@media screen and (min-width: 64em) {
	.headerbox-search-form {
		border-radius: var(--space-16);
	}

	.search-cont {
		position: relative;
	}

	.search-cont .search-button {
		position: relative;
		z-index: 26;
		width: 57px;
		height: 57px;
		padding: 0;
		margin: 0;
		border: 1px solid var(--blue-dark);
		border-radius: var(--rounded-full);
		transition: color 300ms ease-out, background-color 300ms ease-out;
	}

	.search-cont.active .search-button {
		color: var(--green);
		background-color: var(--blue-dark)
	}

	@media (min-width: 64em) {
		.search-cont .search-button:hover {
			color: var(--green);
			background-color: var(--blue-dark)
		}
	}

	.search-cont .headerbox-search-form {
		opacity: 0;
		pointer-events: none;
		position: absolute;
		right: 0;
		top: 0;
		width: 600px;
		height: 100%;
		z-index: 25;
		transition: opacity 300ms ease-out;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form button {
		display: none;
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
	}

	.search-cont .search-button {
		display: block;
	}

	.headerbox-search-form input[type="search"] {
		height: 55px;
		text-indent: var(--space-6);
		font-size: var(--text-base);
		border-radius: var(--space-16);
	}
	
	.headerbox-search-form input[type="search"]::placeholder {
		font-size: var(--text-base);
		text-indent: var(--space-6);
	}
}

@media (min-width: 90em) {
	.search-cont .headerbox-search-form {
		width: 845px;
	}
}

/* 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);
	}
}