.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--seach-input-icon-bg: var(--dark-blue);
	--seach-input-icon-bg-hover: var(--dark-blue);

	display: flex;
	max-width: 219px;
}

.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-display);
	font-style: italic;
	font-weight: 400;
	color: #FFF;
	background-color: #2e83c1;
	height: 34px;
	font-size: 13px;
}

.headerbox-search-form input[type="search"]::-webkit-search-decoration,
.headerbox-search-form input[type="search"]::-webkit-search-cancel-button,
.headerbox-search-form input[type="search"]::-webkit-search-results-button,
.headerbox-search-form input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance:none;
}

.headerbox-search-form input[type="search"]::placeholder {
	color: #FFF;
	font-size: var(--text-base);
	font-size: 13px;
	text-indent: 75px;
	font-weight: 400;
}

.headerbox-search-form button {
	width: 32px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--seach-input-icon-bg);
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	font-size: 12px;
}

.headerbox-search-form button:hover {
	background-color: var(--seach-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;
		margin-left: 17px;
	}

	.search-cont .search-button {
		display: block;
		border-radius: var(--rounded-circle);
		width: 25px;
		height: 25px;
		padding: 0;
		margin: 0;
		background-color: #FFF;
		color: #094672;
		font-size: 11px;
		transition: background-color ease 0.8s, color ease 0.8s;
	}

	.search-cont .search-button:after {
		content: "";
		position: absolute;
		width: calc(100% + 6px);
		height: calc(100% + 6px);
		border: 1px solid #fff;
		top: -3px;
		left: -3px;
		border-radius: var(--rounded-circle);
		transition: border-color ease 0.8s;
	}

	.panel-header:hover .search-cont .search-button {
		background-color: var(--dark-blue);
		color: #FFF;
	}

	.panel-header:hover .search-cont .search-button:after {
		border-color: var(--dark-blue);
	}

	.search-cont .search-button .close {
		display: none;
	}

	.search-cont.active .search-button .open {
		display: none;
	}

	.search-cont.active .search-button .close {
		display: block;
		z-index: 25;
		color: white;
		position: relative;
	}

	.search-cont .headerbox-search-form {
		opacity: 0;
		pointer-events: none;
		position: absolute;
		right: -5px;
		top: -4px;
		width: 240px;
		height: 100%;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
		max-width: none;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form button {
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
		display: none;
	}

}