#search {
  float: right;
  height: 30px;
  position: relative;
  width: 30px;
}

#label {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 20;
}
#label label {
    display: block;
    width: 30px;
    height: 30px;
    background: url("../images/search.png") 0 0;
    font-size: 0;
    color: rgba(0, 0, 0, 0);
    text-indent: -9999px;
    cursor: pointer;
}
#label label:hover {
    background: url("../images/search.png") -30px 0
}
#label.active label {
    background: url("../images/search.png") -30px 0
}
#input {
  height: 30px;
  left: -210px;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 210px;
  z-index: 5;
}
#input input {
    display: block;
    position: absolute;
    top: 0;
    left: -230px;
    width: 210px;
    height: 100%;
    margin: 0;
    padding: 0 10px;
    border: none;
    background-color: #0CB740;
    color: #fff;
    font-size: 18px;
    backface-visibility: none;
    border-radius: 0;
    transition: left 0;
}
#input input:focus {
    outline: none
}
#input.focus {
    z-index: 20
}
#input.focus input {
    left: 0;
    transition: left 0.3s;
}