.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 > span {
	display: inline-flex;
	width: 100%;
}

.headerbox-search-form input[type='search'] {
	width: 100%;
	height: 35px;
	margin: 0;
	font-size: 14px;
	text-indent: var(--space-1);
	font-family: var(--font-family-body);
	border-radius: 17.5px 0 0 17.5px;
	text-align: center;
	letter-spacing: 0.02em;
}

.headerbox-search-form button {
	width: 35px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--red);
	color: #fff;
	font-size: 13px;
	border-radius: 0 17.5px 17.5px 0;
}

.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 {
		align-items: center;
		justify-content: center;
		width: 50px;
		height: 50px;
		padding: 0;
		margin: 0;
		color: var(--red);
		font-size: 18px;
		border-radius: 50%;
		background-color: var(--salty-blue);
		border: 2px solid var(--white);
		transition: background-color var(--transition-appendix), color var(--transition-appendix);
		z-index: 25;
		position: relative;
	}

	.search-cont .search-button:hover,
	.search-cont.active .search-button {
		background-color: var(--red);
		border-color: #fff;
		color: #fff;
	}

	.search-cont .search-button .close {
		display: none;
		float: none;
		margin: 0;
		line-height: 1;
	}

	.search-cont.active .search-button .open {
		display: none;
	}

	.search-cont.active .search-button .close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
	}

	.search-cont .headerbox-search-form {
		opacity: 0;
		pointer-events: none;
		position: absolute;
		z-index: 25;
		transition: opacity ease 800ms 0ms;
		background: var(--salty-blue);
		height: 275px;
		width: 851px;
		right: calc(100% - 30px);
		top: 30px;
		display: grid;
		place-items: center;
	}

	.headerbox-search-form > span {
		justify-content: center;
	}
	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}
	.headerbox-search-form input[type='search'] {
		max-width: 575px;
		height: 50px;
		font-size: 20px;
		letter-spacing: 0;
		border-radius: 2em 0 0 2em;
		margin-left: 13px;
		text-indent: 43px;
	}

	.headerbox-search-form > span {
		transition: transform ease-out 400ms 400ms, opacity ease-out 400ms 400ms;
		transform: translateY(10px);
		opacity: 0;
	}
	.search-cont.active .headerbox-search-form > span {
		transition: transform ease-out 400ms 400ms, opacity ease-out 400ms 400ms;
		transform: translateY(0);
		opacity: 1;
	}
	.headerbox-search-form button {
		height: 50px;
		width: 66px;
		border-radius: 0 2em 2em 0;
		padding: 0;
		margin: 0;
		font-size: 20px;
	}

	.search-cont .search-button {
		display: flex;
	}
}

@media screen and (min-width: 90em) {
	.search-cont .search-button {
		width: 60px;
		height: 60px;
		font-size: 20px;
	}
}

/* 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);
	}
}

.headerbox-search-form input[type='search']:focus {
	outline-color: #fff;
}
