.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--teal-dark);
	--search-input-icon-bg: var(--green);
	--search-input-icon-bg-hover: var(--green);
	--sw-focus-color: var(--teal-dark);
}

.headerbox-search-form {
	display: flex;
	border: 2px solid var(--teal-dark);
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 45px;
	margin: 0;
	border-radius: 0;
	font-size: var(--text-base);
	text-indent: var(--space-2);
	font-family: var(--font-family-body);
	color: #2D3848;
}

.headerbox-search-form input[type="search"]:focus-visible,
.headerbox-search-form button[type="submit"]:focus-visible {
	outline-offset: -3px;
}

.headerbox-search-form input[type="search"]:focus-visible {
	outline: 1px dotted var(--sw-focus-color);
}

.headerbox-search-form button[type="submit"]:focus-visible {
	outline: 1px dotted var(--sw-light-focus-color);
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-base);
	color: #2D3848;
}

.headerbox-search-form button {
	width: 48px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--search-input-icon-bg);
	border-left: 2px solid var(--teal-dark);
}
.headerbox-search-form button i {
	color: var(--search-icon);
}
.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: 65px;
		height: 65px;
		padding: 0;
		margin: 0;
		background-color: var(--green);
	}
	.search-cont .search-button .open {
	    transform: rotate(90deg);
	}

	.search-cont .search-button .close {
		display: none;
		font-size: 28px;
        font-weight: 400;
	}

	.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;
		padding: 10px;
        background-color: var(--green);
		position: absolute;
		right: 100%;
		top: 0;
		width: 404px;
		height: 65px;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
		border: none;
	}

	.panel-header .menu-container.active .search-cont .headerbox-search-form {
		right: 0px;
	}
	
	.search-cont.active .headerbox-search-form,
	.panel-header .menu-container.active .search-cont .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}

	.headerbox-search-form input[type="search"] {
		height: 43px;
		border: 2px solid var(--teal-dark);
	}

	.headerbox-search-form button {
		width: 56px;
		height: 43px;
		padding: 0;
		margin: 0;
		border: 2px solid var(--teal-dark);
		border-left: none ;
	}

	.search-cont .search-button {
		display: block;
	}
}

/* Hamburger Header styles */
.dropdown-nav-container .search-cont .headerbox-search-form {
	opacity: 1;
	position: static;
	pointer-events: all;
	border: 2px solid var(--teal-dark);
}

.dropdown-nav-container .search-cont .headerbox-search-form input[type="search"] {
	height: 45px;
}

.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);
	}
}