.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: var(--teal);
	--search-input-icon-bg-hover: var(--sw-key-color-hover);
}

.headerbox-search-form {
	display: flex;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 40px;
	margin: 0;
	font-size: .9375rem;
	text-indent: var(--space-4);
	font-family: var(--font-family-body);
	border: 1px solid var(--black-alt);
	border-right: unset;
	border-radius: 5px 0 0 5px;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-base);
}

.headerbox-search-form button {
	width: var(--space-12);
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--search-input-icon-bg);
	color: var(--white);
	border-radius: 0 5px 5px 0;
}

.headerbox-search-form button:hover {
	background-color: var(--search-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;
	}

	.search-cont .search-button {
		width: 44px;
		height: 44px;
		background: var(--green-dark) url(/includes/public/assets/shared/search-border.svg) top 1px left 1px;
		padding: 0;
		margin: 0;
		border-radius: var(--rounded-circle);
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.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: 404px;
		height: 100%;
		z-index: 25;
		transition: opacity var(--transition-appendix);
		margin-right: var(--space-2);
		flex-direction: row-reverse;
		border: 1px solid var(--black-alt);
		border-radius: 7px;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form button {
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
	}

	.headerbox-search-form button {
		width: 40px;
		padding: 0;
		margin: 0;
		background-color: var(--white);
		border-radius: 7px 0 0 7px;
		position: absolute;
		left: 0;
		top: 0;
	}
	
	.headerbox-search-form button .fa-inverse { 
		color: var(--green-dark);
		font-size: 1.0625rem;
	}
	
	.headerbox-search-form input[type="search"] {
		height: 42px;
		font-size: var(--text-base);
		text-indent: var(--space-10);
		border: unset;
		border-radius: 7px;
	}

	.headerbox-search-form button[data-sv-search-button]:hover {
		background-color: var(--white);
	}
}

/* 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);
	}
}