/* Search icon by IcoMoon, made with http://icomoon.io/app/ */

.sb-search {
	position: relative;
	/*margin-top: 10px;*/
	width: 0%;
	min-width: 100px;
	height: 100px;
	float: right;
	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;
	outline: none;
	background: none repeat scroll 0 0 rgba(68, 131, 185, 0.1) ; /*alt: #d2e6fa */
	height: 100px;
	margin: 0;
	z-index: 10;
	padding: 0px 10px 0px 20px;
	font-size: 1.2em;
	color: #23506e;
	min-width: 628px;
	border-left: 2px solid rgba(68, 131, 185, 0.3);
	border-right: none;
	border-top: none;
	border-bottom: none;
}

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

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

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

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

.sb-icon-search,
.sb-search-submit  {
	width: 100px;
	height: 100px;
	display: block;
	position: absolute;
	right: 0;
	top: 0;
	padding: 0;
	margin: 0;
	line-height: 132px;
	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: #fff;
	z-index: 90;
	speak: none;
	background-color: rgba(68, 131, 185, 0.1);
}

/*.sb-icon-search:before {
	content: "S";
}*/

.sb-icon-search:before {
	background: url("../img/lupe_dark.svg") no-repeat scroll center center rgba(0, 0, 0, 0);
	content: " ";
	height: 50%;
	left: 25%;
	right: 25%;
	position: absolute;
	top: 25%;
	width: 50%;
}

/* Open state */
.sb-search.sb-search-open,
.no-js .sb-search {
	width: 660px;
}

.sb-search.sb-search-open .sb-icon-search,
.no-js .sb-search .sb-icon-search {
	/*background: #f1d384;*/
	background-color: rgba(68, 131, 185, 0.3);
	color: #fff;
	z-index: 11;
}

.sb-search.sb-search-open .sb-icon-search:before {
	background: url("../img/lupe_white.svg") no-repeat scroll center center rgba(0, 0, 0, 0);
}


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