.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: var(--sw-key-color);
	--search-input-icon-bg-hover: var(--white);
}

.headerbox-search-form {
	display: flex;
	align-items: flex-end;
	border-bottom: 2px solid var(--dark-grey);
	padding-bottom: 7px;
}

.headerbox-search-form input[type="search"]:focus {
	outline: unset;
}

.search-cont input[type="search"]:focus {
	outline: 1px solid var(--dark-blue);
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	margin-left: 0;
	border-radius: 0;
	font-size: var(--text-base);
	font-weight: 600;
	text-indent: 0;
	color: var(--dark-grey);
	font-family: var(--font-family-body);
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-base);
}

.headerbox-search-form button {
	padding: 0;
	margin: 0;
	width: 19px;
	height: 19px;
	font-size: 1.1875rem;
	flex-shrink: 0;
	color: var(--dark-grey);
}

.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: 30px;
		height: 30px;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 0;
		margin: 0;
		background: var(--light-gold);
		border-radius: var(--rounded-circle);
	}

	.search-cont .search-button.active {
		width: 30px;
		height: 30px;
		display: flex;
		justify-content: center;
		align-items: center;
		padding: 0;
		position: relative;
		z-index: 51;
		right: 0;
		margin: 0;
		background: var(--light-gold);
		border-radius: var(--rounded-circle);
	}

	.search-cont .fa-search {
		color: var(--dark-teal);
	}

	.search-cont .search-button .close {
		display: none;
	}

	.search-cont.active .search-button .open {
		display: none;
	}

	.search-cont.active .search-button .close {
		display: block;
		color: var(--dark-blue);
	}

	.search-cont .headerbox-search-form {
		opacity: 0;
		pointer-events: none;
		position: absolute;
		right: 100%;
		top: -5px;
		width: 420px;
		height: 40px;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
		border-bottom: unset;
		padding-bottom: 0;
		margin-right: -36px;
		border: 1px solid #aaa;
		border-radius: 25px;
	}

	.headerbox-search-form button {
		width: 40px;
		height: 100%;
		padding: 0;
		margin: 0;
	}

	.headerbox-search-form input[type="search"] {
		width: 100%;
		height: 100%;
		line-height: var(--leading-none);
		margin: 0;
		text-indent: var(--space-1);
		padding: 10px 10px 7px 15px;
		font-family: var(--font-family-body);
		border-radius: 25px;
	}
	
	.headerbox-search-form input[type="search"]::placeholder {
		font-size: var(--text-sm);
	}

	.headerbox-search-form button {
		padding-right: 21px;
		padding-left: 20px;
		margin: 0;
		flex-shrink: 0;
		border-radius: 0 25px 25px 0;
		background-color: var(--white);
		color: var(--gray-100);
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		display: none;
		width: 0;
	}
	
	.headerbox-search-form .fa-search {
		display: none;
	}

	.search-cont.active .search-button .close.close:before {
		content: "\f002";
		color: var(--dark-teal);
	}
}

/* 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);
	}
}