.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(--sw-key-color-hover);
}

.headerbox-search-form {
	display: flex;
}

.headerbox-search-form input[type='search'] {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: var(--text-base);
	text-indent: var(--space-4);
	font-family: var(--font-family-body);
	background: var(--blue-navy);
	color: #fff;
	font-weight: 500;
	padding-bottom: 5px;
	-webkit-border-radius: unset;
	border-radius: unset;
}

.headerbox-search-form input[type='search']::placeholder {
	font-size: var(--text-base);
}

.headerbox-search-form button {
	width: 40px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--blue-navy);
	color: var(--gray-100);
	font-size: var(--text-xl-1);
	padding-right: 48px;
	padding-bottom: 5px;
}

.headerbox-search-form button:hover {
	background-color: var(--blue-navy);
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

.search-cont .headerbox-search-form {
	position: relative;
	height: 100%;
}

.search-cont .headerbox-search-form:after {
	content: '';
	position: absolute;
	left: 19px;
	top: 37px;
	width: calc(100% - 45px);
	height: 2px;
	background: #fff;
	pointer-events: none;
}

@media screen and (min-width: 64em) {
	.search-cont {
		position: relative;
	}

	.search-cont .headerbox-search-form:after {
		width: calc(100% - 38px);
	}
	.search-cont .search-button {
		font-size: var(--text-2xl-1);
		width: 50px;
		height: 50px;
		padding: 0;
		margin: 0;
		background-color: var(--blue-navy);
	}

	.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: 470px;
		height: 100%;
		z-index: 25;
		transition: transform var(--transition-appendix-1);
		transform: translatex(calc(100% + 50px));
	}

	.search-cont.active .headerbox-search-form {
		/* opacity: 1; */
		pointer-events: all;
		transform: translateX(0);
	}

	.headerbox-search-form button {
		width: 62px;
		height: 100%;
		padding: 0;
		margin: 0;
		font-size: var(--text-2xl);
		padding-bottom: 5px;
	}

	.search-cont .search-button {
		display: block;
	}
	
	.search-cont .search-button.active {
		font-size: var(--text-2xl);
	}
}

/* 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);
	}
}
