.search {
  position: absolute;
  top: 0%;
  left: 136%;
  -webkit-transform: translateX(0%) translateY(-50%);
  transform: translateX(-100%) translateY(-50%);
}

.search * {
  outline: none;
  box-sizing: border-box;
}

.search__wrapper {
  position: relative;
  padding-left: 10px;
}

.search__field {
  width: 40px;
  height: 40px;
  color: transparent;
  font-family: 'Montserrat';
  font-size: 1rem;
  padding: 0.35em 0px 0.35em 0px;
  border: 1px solid transparent;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.search__field:focus {
  border-bottom-color: #ffffff;
  width: 80vw;
  color: #0079c8;
  cursor: default;
  padding-left: 12px;
}

.search__field:focus ~ .search__icon {
  background-color: transparent;
  cursor: pointer;
  pointer-events: auto;
}

.search__icon {
  position: absolute;
  top: 0;
  right: 0;
  background-color: rgba(255,255,255,0);
  width: 40px;
  height: 40px;
  font-size: 1.35em;
  text-align: center;
  border-color: transparent;
  pointer-events: none;
  display: inline-block;
  transition: background-color 0.4s ease-in-out;
  color: #0079c8;
  z-index: 1;
}

.search__field::-webkit-input-placeholder {
  position: relative;
  top: 0;
  left: 0;
  transition-property: top, color;
  transition-duration: .1s;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
}

.search__field:-moz-placeholder {
  position: relative;
  top: 0;
  left: 0;
  transition-property: top, color;
  transition-duration: .1s;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
}

.search__field::-moz-placeholder {
  position: relative;
  top: 0;
  left: 0;
  transition-property: top, color;
  transition-duration: .1s;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
}

.search__field:-ms-input-placeholder {
  position: relative;
  top: 0;
  left: 0;
  transition-property: top, color;
  transition-duration: .1s;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
}

.search__field::-webkit-input-placeholder[style*=hidden] {
  color: #ffffff;
  font-size: .65em;
  font-weight: normal;
  top: -20px;
  opacity: 1;
  visibility: visible !important;
}

.search__field:-moz-placeholder[style*=hidden] {
  color: #ffffff;
  font-size: .65em;
  font-weight: normal;
  top: -20px;
  opacity: 1;
  visibility: visible !important;
}

.search__field::-moz-placeholder[style*=hidden] {
  color: #ffffff;
  font-size: .65em;
  font-weight: normal;
  top: -20px;
  opacity: 1;
  visibility: visible !important;
}

.search__field:-ms-input-placeholder[style*=hidden] {
  color: #ffffff;
  font-size: .65em;
  font-weight: normal;
  top: -20px;
  opacity: 1;
  visibility: visible !important;
}

