html, body {
	height: 100%;
}

body {
	overflow-x: hidden;
	overflow-y: scroll;
}

.morphsearch {
	width: 0px;
	min-height: 0px;
	background: rgba(64,188,176,0.97);
	background: -webkit-linear-gradient(bottom left, rgba(64,188,176,0.97) 15%, rgba(0,168,156,0.97) 15%);
	background: -o-linear-gradient(bottom left, rgba(64,188,176,0.97) 15%, rgba(0,168,156,0.97) 15%);
	background: linear-gradient(to top right, rgba(64,188,176,0.97) 15%, rgba(0,168,156,0.97) 15%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#40bcb0', endColorstr='#00a89c',GradientType=1 );
	position: absolute;
	z-index: 1000000;
	top: 0px;
	right: 0px;
	-webkit-transform-origin: 100% 0;
	transform-origin: 100% 0;
	-webkit-transition-property: min-height, width, top, right;
	transition-property: min-height, width, top, right;
	-webkit-transition-duration: 0.5s;
	transition-duration: 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	overflow:auto;
}
.morphsearch.open{
	width: 100%;
	min-height:100%;
}
.morphsearch.fixedScreen{
	display:block;
	position:relative !important;
	top:auto;right:auto;
	width:auto;
	height:auto;
}
.morphsearch-content{
	color:#333;
	margin-top: 4.5em;
	width: 100%;
	height: 0;
	overflow: hidden;
	padding: 0 10.5%;
	position: absolute;
	pointer-events: none;
	opacity: 0;
}
.morphsearch.open .morphsearch-content{
	opacity: 1;
	height: auto;
	overflow: visible; /* this breaks the transition of the children in FF: https://bugzilla.mozilla.org/show_bug.cgi?id=625289 */
	pointer-events: auto;
	-webkit-transition: opacity 0.3s 0.5s;
	transition: opacity 0.3s 0.5s;
}
.morphsearch .morphsearch-content .loading{
	display:none;
	text-align:center;
	font-size:26px;
	color:rgba(255,255,255,0.8);
}
.morphsearch .morphsearch-content .loading img{margin-top:15px;}
.morphsearch-content #searchInput{position:relative;margin-bottom:60px;}
.morphsearch-content #searchInput #searchField{
	width:100%;
	font-size:4em;
	font-family:'Montserrat', sans-serif;
	font-weight:bold;
	background:none;
	border:none;
	color:#fff;
	border-bottom:1px solid rgba(255,255,255,.5)
}
.morphsearch-content #searchInput #searchBtn{
	background:none;
	border:none;
	font-size:3em;
	color:rgba(255,255,255,.5);
	position: absolute;
	top:5px;
	right:0;
}
.morphsearch-content h2{
	font-size:20px;
	margin:0;
	margin-bottom:15px;
	text-align:left;
	color:#ccc;
}
.morphsearch-content .searchTitle{
	color:#fff;
	font-size:28px;
	font-family:'Montserrat', sans-serif;
	font-weight:bold;
	margin-bottom:15px;
}
.morphsearch-close {
	width: 36px;
	height: 36px;
	position: absolute;
	right: 1em;
	top: 1em;
	overflow: hidden;
	text-indent: 100%;
	cursor: pointer;
	pointer-events: none;
	opacity: 0;
	-webkit-transform: scale3d(0,0,1);
	transform: scale3d(0,0,1);
}
.morphsearch.open .morphsearch-close {
	opacity: 1;
	pointer-events: auto;
	-webkit-transform: scale3d(1,1,1);
	transform: scale3d(1,1,1);
	-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
	transition: opacity 0.3s, transform 0.3s;
	-webkit-transition-delay: 0.5s;
	transition-delay: 0.5s;
}
.morphsearch-close::before,
.morphsearch-close::after {
	content: '';
	position: absolute;
	width: 2px;
	height: 100%;
	top: 0;
	left: 50%;
	border-radius: 3px;
	opacity: 0.2;
	background: #000;
}
.morphsearch-close:hover.morphsearch-close::before,
.morphsearch-close:hover.morphsearch-close::after {
	opacity: 1;
}
.morphsearch-close::before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.morphsearch-close::after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
/* Overlay */
.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	pointer-events: none;
	-webkit-transition: opacity 0.5s;
	transition: opacity 0.5s;
	-webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1);
	transition-timing-function: cubic-bezier(0.7,0,0.3,1);
}
.morphsearch.open ~ .overlay {
	opacity: 1;
}
