.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--primary-color-700);
	--search-bg: var(--primary-color-700);
	--search-input-icon-bg: var(--gray-100);
	--search-input-icon-bg-hover: var(--sw-key-color-hover);
}

.headerbox-search-form {
	display: flex;
	height: 40px;
	border-bottom: solid 1px var(--gray-100);
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: var(--text-sm);
	color: var(--gray-100);
	font-weight: 400;
	text-indent: var(--space-1);
	font-family: var(--font-family-body);
	background-color: var(--search-bg);
}

.headerbox-search-form input[type="search"]:focus {
	outline-offset: -3px;
	outline-color: var(--gray-100);
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-sm);
	font-weight: 30;
	color: var(--white);
}

.headerbox-search-form button {
	width: 40px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--search-input-icon-bg);
	color: var(--search-icon);
}

.headerbox-search-form button:focus {
	outline-color: var(--gray-100);
}

.headerbox-search-form button i {
	color: var(--search-icon);
	font-size: 0.75rem;
}

.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;
		top: 76px;
		right: 55px;
		z-index: 10;
	}

	.panel-page.no-hero .search-cont.active {
		top: 47px;
		right: 91px;
	}

	.search-cont .search-button {
		width: 40px;
		height: 23px;
		padding: 0;
		margin: 0;
		color: var(--white);
		font-size: 12px;
	}

	.search-cont .search-button .close {
		display: none;
	}

	.search-cont.active .search-button .open {
		display: none;
	}

	.search-cont.active .search-button {
		height: 40px;
	}

	.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: 390px;
		height: 40px;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
		border-bottom: none;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}
	
	.headerbox-search-form input[type="search"] {
		background-color: var(--gray-100);
		color: var(--gray-800);
		text-indent: 19px;
		border-top-left-radius: 10px;
		border-bottom-left-radius: 10px;
	}
	
	.headerbox-search-form input[type="search"]::placeholder {
		color: rgba(48, 50, 52, 0.56);
		text-indent: 19px;
	}

	.headerbox-search-form button {
		width: auto;
		height: 100%;
		padding: 0 18px;
		margin: 0;
	}

	.headerbox-search-form button i::before {
		content: "SEARCH";
		font-family: var(--font-display);
		font-size: var(--text-sm);
		font-weight: 800;
		color: var(--gray-800);
		text-transform: uppercase;
		letter-spacing: 2.8px;
	}

	.search-cont .search-button {
		display: block;
	}

	.search-cont .search-button.active {
		background-color: var(--secondary-color-800);
		color: var(--white);
		font-size: 0.75rem;
	}
}

@media screen and (min-width: 90em) {
	.search-cont.active {
		position: absolute;
		top: 76px;
		right: 78px;
		z-index: 10;
	}
}

/* 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);
	}
}