/* Search icon by IcoMoon, made with http://icomoon.io/app/ */
@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon/icomoon.html');
	src:url('../fonts/icomoon/icomoond41d.html?#iefix') format('embedded-opentype'),
		url('../fonts/icomoon/icomoon-2.html') format('woff'),
		url('../fonts/icomoon/icomoon-3.html') format('truetype'),
		url('../fonts/icomoon/icomoon-4.html#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

.sb-search {
	position: absolute;
	margin-top: 0;
	width: 0%;
	min-width: 30px;
	height: 30px;
	right: 45px;
	overflow: hidden;
	-webkit-transition: width 0.3s;
	-moz-transition: width 0.3s;
	transition: width 0.3s;
	-webkit-backface-visibility: hidden;
}

.sb-search-input {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	outline: none;
	background: #eeeeee;
	width: 100%;
	height: 30px;
	margin: 0;
	z-index: 10;
	padding: 5px 7px;
	font-family: inherit;
	font-size: 14px;
	color: #5f5f5f;
}

.sb-search-input::-webkit-input-placeholder {
	color: #646464;
}

.sb-search-input:-moz-placeholder {
	color: #646464;
}

.sb-search-input::-moz-placeholder {
	color: #646464;
}

.sb-search-input:-ms-input-placeholder {
	color: #646464;
}

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

.sb-search-submit {
	background: #fff; /* IE needs this */
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; /* IE 8 */
    filter: alpha(opacity=0); /* IE 5-7 */
    opacity: 0;
	color: transparent;
	border: none;
	outline: none;
	z-index: -1;
}

.sb-icon-search {
	color: #828282;
	background: #eeeeee;
	z-index: 90;
	/*font-size: 22px;
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;*/
	-webkit-font-smoothing: antialiased;
}
.sb-icon-search:hover {background: #E7E7E7;}

.sb-icon-search:before {
	content: "\f071";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 14px;
}

/* Open state */
.sb-search.sb-search-open,
.no-js .sb-search {
	/*width: 100%;*/
	width: 300px;
    position: absolute;
    right: 45px;

}

.sb-search.sb-search-open .sb-icon-search,
.no-js .sb-search .sb-icon-search {
	background: #c3c3c3;
	color: #fff;
	z-index: 11;
}

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