.fch-search {
	position: relative;
	width: 50px;
	min-width: 50px;
	height: 50px;
	float: right;
	overflow: visible;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	z-index: 20;
}

.fch-search-input {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	outline: none;
	background: #fff;

	width: 50px;
	height: 50px;

	margin: 0;
	z-index: 10;

	/* Closed state */
	padding: 10px 0;

	font-family: inherit;
	font-size: 14px;

	overflow: hidden;

	transition:
		width 0.3s ease,
		padding 0.3s ease;
}

.fch-search-input::-webkit-input-placeholder {
	color: #0C4E90;
}

.fch-search-input:-moz-placeholder {
	color: #0C4E90;
}

.fch-search-input::-moz-placeholder {
	color: #0C4E90;
}

.fch-search-input:-ms-input-placeholder {
	color: #0C4E90;
}

.fch-icon-search,
.fch-search-submit {
	width: 50px;
	height: 50px;
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	padding: 0;
	margin: 0;
	line-height: 50px;
	text-align: center;
	cursor: pointer;
}

.fch-search-submit {
	background: #fff;
	opacity: 0;
	color: transparent;
	border: none;
	outline: none;
	z-index: -1;
}

.fch-icon-search {
	color: #fff;
	background: #86A7C8;
	z-index: 90;
	font-size: 14px;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
}

/* Search icon */
.fch-icon-search:before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f002";
}

/* Open state */
.fch-search.fch-search-open .fch-search-input,
.no-js .fch-search .fch-search-input {
	width: 320px;
	padding: 10px 65px 10px 10px;
}

.fch-search.fch-search-open .fch-icon-search,
.no-js .fch-search .fch-icon-search {
	background: #86A7C8;
	color: #fff;
	z-index: 11;
}

.fch-search.fch-search-open .fch-search-submit,
.no-js .fch-search .fch-search-submit {
	z-index: 90;
}


/* Mobile search */
@media (max-width: 767px) {

	.fch-search-input {
		position: fixed;
		top: 50px;
		left: 0;
		right: auto;
		width: 100vw;

		height: 0;
		padding: 0 65px 0 10px;

		opacity: 0;
		overflow: hidden;

		background: #fff;
		border: 0;
		box-shadow: none;

		transition:
			height 0.3s ease,
			opacity 0.3s ease;

		z-index: 9999;
	}

	.fch-search.fch-search-open .fch-search-input,
	.no-js .fch-search .fch-search-input {
		width: 100vw;
		height: 50px;
		opacity: 1;

		border: 1px solid #ddd;
		box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
	}

}