/* SS Voice Search - mic button inside the search field */

.ss-voice-wrap{ position: relative; }
.ss-voice-input{ padding-right: 52px !important; }

.ss-voice-search-btn{
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 33px;
  height: 33px;
  border-radius: 999px;
  line-height: 0;
  opacity: 0.96;
}

.ss-voice-search-btn.is-dark{
  background: #00838f;
  color: #fff;
}

.ss-voice-search-btn.is-light{
  background: rgba(0,0,0,.06);
  color: #111;
}

.ss-voice-search-btn:hover{ opacity: 1; }
.ss-voice-search-btn:active{ transform: translateY(-50%) scale(0.98); }

.ss-voice-search-btn:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,.12);
}

.ss-voice-icon{ fill: currentColor; }

.ss-voice-search-btn.is-listening{
  animation: ssVoicePulse 1s infinite;
}

@keyframes ssVoicePulse{
  0%{ transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(0,0,0,.15); }
  50%{ transform: translateY(-50%) scale(1.05); box-shadow: 0 0 0 6px rgba(0,0,0,.10); }
  100%{ transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(0,0,0,.15); }
}
