.headerbox-search-form {
	--font-family-body: var(--font-body);
	--search-icon: var(--text-color);

	display: flex;
}

.headerbox-search-form input[type="search"] {
	width: calc(100% - 60px);
	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: #F6F3F3;
	color: var(--text-color);
	height: 51px;
	border: 2px solid #1D1D1B40;
	border-right: none;
}

.headerbox-search-form input[type="search"]::placeholder {
	font-size: var(--text-xl);
	font-family: var(--font-title);
	color: #303030;
	padding: 0;
	margin: 0;
}

.headerbox-search-form button {
	width: 60px;
	height: 100%;
	padding: 0;
	margin: 0;
	font-size: var(--text-lg);
	height: 51px;
	padding: 10px 0;
	color: var(--text-color);
	background: #F6F3F3;
	border: 2px solid #1D1D1B40;
	border-left: none;
}

.search-cont .search-button {
	display: block;
}

.search-cont .search-button {
	display: none;
	background: transparent;
	color: var(--search-icon);
}

.search-cont .search-button .fa-search:before {
	content: '';
}

@media screen and (min-width: 64em) {
	.search-cont {
		display: block;
		position: relative;
	}
	
	.search-cont-inner {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: var(--sw-key-color);
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		pointer-events: none;
		opacity: 0;
	}

	.search-cont.active .search-cont-inner {
		opacity: 1;
		pointer-events: all;
	}

	.search-cont .search-button {
		width: 25px;
		height: 25px;
		padding: 0;
		margin: 0;
	}

	.search-cont.active .search-button.active {
		margin: 0 0 var(--space-5);
	}

	.search-cont .search-button .close {
		display: none;
	}

	.search-cont.active .search-button .open {
		display: none;
	}
	.search-cont.active .search-button .close {
		display: block;
		position: relative;
		transition-delay: 0.12s;
		transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
		margin: 10px 0 0;
		height: 28px;
		width: 27px;
	}

	.search-cont.active .search-button .close::before {
		content: '';
		display: inline-block;
		width: 24px;
		height: 2px;
		background-color: var(--white);
		top: 12px;
		position: absolute;
		transform: rotate(135deg);
	}

	.search-cont.active .search-button .close::after {
		content: '';
		display: inline-block;
		width: 24px;
		height: 2px;
		background-color: var(--white);
		bottom: 0;
		transform: rotate(-135deg);
		transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
	}

	.headerbox-search-form input[type="search"] {
		padding: var(--space-5) var(--space-6);
		height: 70px;
		width: calc(100% - 80px);
	}

	.headerbox-search-form button {
		width: 80px;
		height: 70px;
		padding: 0;
		margin: 0;
		padding: 15px 0;
	}

	.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);
	}
}