/* Generic Search Styling */

.sb-search {
  margin-top: 7px;
  position: relative;
  width: 0%;
  min-width: 60px;
  height: 42px;
  top: 0;
  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: transparent;
  width: 100%;
  height: 41px;
  margin: 0;
  z-index: 10;
  padding: 6px 65px 6px 20px;
  font-family: inherit;
  font-size: 14px;
}
input[type="search"].sb-search-input {
  -webkit-appearance: none;
  -webkit-border-radius: 0px;
}
.sb-search.sb-search-open .sb-search-input {
  display: block;
}
.sb-search-input:-ms-input-placeholder {
  display: none;
}
.sb-icon-search,
.sb-search-submit {
  width: 42px;
  height: 42px;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  padding: 0;
  margin: 0;
  line-height: 40px;
  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 {
  background: transparent;
  z-index: 90;
  font-size: 22px;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}
/* Open state */

.sb-search.sb-search-open .sb-search-input {
  border: 1px solid;
}
.sb-search.sb-search-open {
  width: 100%;
}
.sb-search.sb-search-open .sb-icon-search {
  z-index: 11;
}
.sb-search.sb-search-open .sb-search-submit {
  z-index: 90;
}
/* Generic Search Responsive */

@media (min-width: 768px) {
  .sb-search {
    position: absolute;
    right: 0;
  }
}
@media (max-width: 767px) {
  .sb-search {
    float: right;
    margin-top: 6px;
    position: relative;
  }
  .sb-search-xs-hidden {
    display: none;
  }
}
