/* Layout for search container */
.search {
	padding: 30px 20px;
}

.search {
	position: absolute;
	z-index: 100101;
	top: 0;
	left: 100%;
	overflow: hidden;
	width: 100%;
	height: 100vh;
	background: #f0f0f0;
}

.search::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #f0f0f0;
}

.btn-search-close {
	font-size: 2em;
	position: fixed;
	z-index: 1001;
	top: 1.25em;
	right: 1.25em;
}

.search_input::-webkit-input-placeholder {
	/* WebKit, Blink, Edge */
	color: #353535;
}

.search_input::-moz-placeholder {
	opacity: 1;
	/* Mozilla Firefox 19+ */
	color: #353535;
}

.search_input:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: #353535;
}

.search_input::-webkit-search-cancel-button,
.search_input::-webkit-search-decoration {
	-webkit-appearance: none;
}

.search_input::-ms-clear {
	display: none;
}

.search_info {
	font-size: 90%;
	font-weight: bold;
	display: block;
	width: 50%;
	padding: 0.85em 0;
	color: #353535;
}

.search_related {
	display: flex;
	width: 35%;
	padding: 4em 0 0 0;
	pointer-events: none;
}

.search_suggestion h3 {
	font-size: 1.35em;
	margin: 0;
}

.search_suggestion h3::before {
	content: '\21FE';
	display: inline-block;
	padding: 0 0.5em 0 0;
}

.search_suggestion p {
	font-size: 1.15em;
	line-height: 1.4;
	margin: 0.75em 0 0 0;
	color: #ff4848;
}
.search-wrap {
    display: inline-block;
    vertical-align: top;
}
/************************/
/* Transitions 			*/
/************************/

.main-wrap::after {
	transition: opacity 0.3s;
	transition-timing-function: ease-out;
}

.main-wrap-overlay::after {
	opacity: 1;
	transition-delay: 0s;
}

.search {
	pointer-events: none;
	transition: transform 0.3s;
	transition-delay: 0.4s;
	transition-timing-function: ease-out;
}

.search-open {
	pointer-events: auto;
	transform: translate3d(-100%,0,0);
	transition-delay: 0s;
}

.search::after {
	transition: transform 0.3s;
	transition-timing-function: ease-out;
}

.search-open::after {
	transform: translate3d(100%,0,0);
	transition-delay: 0.4s;
}

.btn-search-close {
	transition: opacity 0.1s;
	transition-delay: 0.3s;
}

@media screen and (max-width: 40em) {
	.btn-search-close {
		font-size: 1.25em;
	}
	.search_related {
		font-size: 80%;
		width: 75%;
	}
	.search_input {
		font-size: 2em;
		width: 90%;
	}
	.search_info {
		width: 90%;
	}
}



.icon {
	display: block;
	width: 1.5em;
	height: 1.5em;
	margin: 0 auto;
	fill: currentColor;
}
.btn {
	margin: 0;
	padding: 0;
	cursor: pointer;
	border: none;
	background: none;
}
.btn:focus {
	outline: none;
}

.btn-search {
	color: #b0b4ba;
	font-size: 18px;
    margin-top: -3px;
}
.btn-search:hover{
	color: #353535;
}
.btn-search-close {
	color: #353535;
}
.btn-search-close:hover{
	color: #b0b4ba;
}


.btn-hidden {
	pointer-events: none;
	opacity: 0;
}
.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
	display: none;
}
