.search-cont {
	--font-family-body: var(--font-body);
	--search-icon: var(--dark-gray);
	--search-input-icon-bg: transparent;
	--search-input-icon-bg-hover: transparent;
}

.headerbox-search-form {
	display: flex;
	align-items: center;
	height: 45px;
    border: 1px dashed var(--slate);
    border-radius: 4px;
	background-color: var(--white);
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
	font-size: var(--text-xl);
	font-style: italic;
	text-indent: var(--space-3);
	font-family: var(--font-family-body);
}
.headerbox-search-form input[type="search"]:focus { outline: 1px dotted rgba(112, 129, 132, 0.5); }
.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-xl);
	font-style: italic;
}

.headerbox-search-form button {
	width: 49px;
	height: 22px;
	padding: 0;
	margin: 0;
	flex-shrink: 0;
	background-color: var(--search-input-icon-bg);
	color: var(--search-icon);
	border-left: 1px dashed var(--slate);
	font-size: 1.1875rem;
	transition: opacity var(--transition-appendix);
}
.headerbox-search-form button i {
	color: var(--search-icon);
	font-size: var(--text-xl);
}
.headerbox-search-form button:hover {
	opacity: 0.8;
	color: currentColor;
	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: 36px;
		height: 36px;
		padding: 0;
		margin: 0;
		border-radius: 0 4px 4px 0;
		color: var(--white);
	}
	.search-cont .search-button.active {
		background-color: var(--dark-gray);
		border: 1px dashed var(--slate);
		border-left: none;
	}

	.search-cont .search-button .close,
	.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: 276px;
		height: 100%;
		z-index: 25;
		transition: opacity 200ms ease-in-out;
		border-right: none;
		border-radius: 4px 0 0 4px;
	}

	.search-cont.active .headerbox-search-form {
		opacity: 1;
		pointer-events: all;
	}
	.headerbox-search-form input[type="search"] { border-radius: 4px 0 0 4px; }
	.headerbox-search-form button {
		width: 36px;
		height: 16px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		margin: 0;
	}
	.headerbox-search-form button i { font-size: 13px; }
	.search-cont .search-button { display: block; }
}

/* 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); }
}