.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: var(--gray-100);
	--search-input-icon-bg: var(--primary-color-800);
	--search-input-icon-bg-hover: var(--primary-color-600);

	display: flex;
}

.headerbox-search-form { 
	display: flex;
	align-items: flex-end;
}

.headerbox-search-form input[type="search"] {
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: var(--text-base);
	text-indent: var(--space-1);
	font-family: var(--font-body);
	font-size: var(--text-xl);
	padding: 0 10px;
	background: #fff;
	color: #000;
	height: 45px;
	border-radius: 0px !important;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: 20px;
	font-family: var(--font-body);
	font-weight: 500;
	color: #000;
	padding: 0;
	margin: 0;
}

.headerbox-search-form button {
	width: 60px;
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: 18px;
	padding: 10px 0;
	color: #fff;
	background: url('/includes/public/assets/shared/icons/magnifyglass.svg') no-repeat center center;
	background-size: 25px;
}

.search-cont button .fa-search::before {
	color: var(--primary-color);
	display: none;
}

.search-cont .search-button {
	display: block;
}

.search-cont {
	z-index: 5;
	display: none;
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--text-color);
}

.search-cont .search-button .fa-search:before {
	content: '';
}

@media screen and (min-width: 64em) {
	.search-cont {
		display: block;
		position: relative;
		margin: 0 var(--space-5) 0 0;
	}
	
	.search-cont-inner {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: var(--primary-color);
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		pointer-events: none;
		opacity: 0;
		/* transition: opacity 150ms ease-in-out; */
	}

	.search-cont.active .search-cont-inner {
		opacity: 1;
		pointer-events: all;
		transition: opacity 200ms ease-in;
		z-index: 1000;
	}

	.search-cont .search-button {
		width: auto;
		padding: 0;
		margin: 0;
		font-size: var(--text-base);
		text-transform: uppercase;
	}

	.search-cont.active .search-button.active {
		position: relative;
		z-index: 1500;
	}

	.search-cont .search-button .close {
		display: none;
	}

	.search-cont.active .search-button .open {
		display: none;
	}
	.search-cont.active .search-button .close {
		display: flex;
	}

	.search-cont .headerbox-search-form {
		height: auto;
		width: 780px;
		z-index: 25;
	}

	.headerbox-search-form input[type="search"] {
		font-size: 35px;
		padding: 10px 40px;
		height: auto;
		border-bottom: 2px solid #000;
	}

	.headerbox-search-form input[type="search"]::placeholder {
		font-size: 35px;
	}

	.headerbox-search-form button {
		width: 80px;
		height: 100%;
		padding: 0;
		margin: 0;
		font-size: 30px;
		padding: 15px 0;
		background-size: 35px;
	}

	.headerbox-search-form button:hover {
		background: url('/includes/public/assets/shared/icons/magnifyglass.svg') no-repeat center center;
		background-size: 35px;
	}

	.search-cont .search-button {
		display: block;
	}
}

/* Hamburger Header styles */
.panel-header.hamburger .search-cont .headerbox-search-form {
	opacity: 1;
	position: static;
	pointer-events: all;
}

.panel-header.hamburger .search-cont .headerbox-search-form input[type="search"] {
	height: unset;
}

.panel-header.hamburger .nav .search-cont .search-button {
	display: none;
}

@media (min-width: 64em) {
	.panel-header.hamburger .search-cont .headerbox-search-form {
		width: 100%;
	}

	.panel-header.hamburger .nav .search-cont .headerbox-search-form button {
		width: var(--space-12);
	}
}