.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: var(--blue);
	--search-input-icon-bg-hover: var(--blue);
}

.headerbox-search-form {
	display: flex;
	align-items: center;
}

.headerbox-search-form input[type='search'] {
	width: 80%;
	height: 35px;
	margin: 0 auto;
	font-size: var(--text-sm);
	text-indent: var(--space-3);
	font-family: var(--font-family-body);
	max-width: 828px;
	color: #bcbcbc;
	border: 1px solid var(--blue-darker);
}

@media (min-width: 64em) {
	.headerbox-search-form {
		background: var(--blue);
	}
	.headerbox-search-form input[type='search'] {
		/* margin-top: 39px; */
		height: 48px;
		font-size: var(--text-base);
	}
}

.headerbox-search-form button {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-size: var(--text-xs);
	padding: 0;
	margin: 0;
	background-color: var(--green);
	color: #fff;
	margin-left: -26px;
	transform: translateX(-9px);
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

.search-cont .search-button i {
	height: 32px;
	width: 32px;
	background: var(--green-lighter);
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: var(--text-xs);
	color: var(--green);
}

@media screen and (min-width: 64em) {
	.search-cont .search-button {
		width: 100%;
		justify-content: flex-end;
		align-items: center;
		gap: var(--space-2);
		height: 48px;
		padding: 0;
		padding-right: var(--space-8);
		margin: 0;
		font-size: 14px;
		text-transform: uppercase;
		letter-spacing: 0.0356rem;
		background-color: var(--blue);
	}

	.search-cont .search-button .close {
		display: none;
	}

	.search-cont.active .search-button .open {
		display: none;
	}

	.search-cont.active .search-button .close {
		display: grid;
		background: var(--green-dark);
		color: var(--off-white);
	}

	.search-cont .headerbox-search-form {
		pointer-events: none;
		position: absolute;
		top: -502px;
		right: 119px;
		width: 62vw;
		height: 104px;
		z-index: 25;
		transition: top 300ms ease-out;
		background: transparent linear-gradient(180deg, #ffffff 0%, #ffffff 100%) 0% 0% no-repeat padding-box;
		z-index: 20;
	}

	.search-cont.active .headerbox-search-form {
		top: 0;
		pointer-events: all;
		transition: top 300ms ease-out;
	}

	.headerbox-search-form button {
		position: absolute;
		right: 10%;
		/* left: calc(50% + 382px); */
		/* top: 144px; */
		transform: translateX(-50%);
		margin-left: unset;
	}

	.search-cont .search-button {
		display: flex;
	}
}

@media screen and (min-width: 1301px) {
	.search-cont .headerbox-search-form {
		right: 191px;
	}
}

@media screen and (min-width: 1400px) {
	.headerbox-search-form input[type='search'] {
		width: 100%;
	}
	
	.headerbox-search-form button {
		left: calc(50% + 382px);
	}
}

/* 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);
	}
}

@media (min-width: 64em) and (max-width: 1300px) {
	.search-cont .search-button {
		padding-inline: var(--space-2);
		font-size: 12px;
	}
}

@media (max-width: 1023px) {
	.headerbox-search-form button {
		background-color: var(--green-lighter);
	}
	.headerbox-search-form button i {
		color: var(--green);
	}
}

@media (hover: hover) {
	.headerbox-search-form button:hover {
		background-color: var(--green-lighter);
	}
}
