.speech-unsupported-browser {
  display: none;
}

.speech-unsupported-browser > * {
  display: none;
}

.speech-unsupported-text {
  background: #c00;
  border-radius: 6px;
  box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);
  color: #fff;
  display: none;
  margin-bottom: 20px;
  padding: 12px 24px;
}

.speech-unsupported-browser.ios .ios {
  display: block;
}

.speech-unsupported-browser:not(.ios) .browser {
  display: block;
}

.speech-unsupported-browser .speech-unsupported-text a {
  color: #fff !important;
  border-bottom: 1px solid #fff;
}

.ios-install {
  display: block;
  margin: 10px auto 40px;
  max-width: 120px;
}

.voice-recog-buttons {
  position: relative;
  text-align: center;
}

.voice-recog-help {
  text-align: center;
}

.voice-recog-help a {
  align-items: center;
  color: #666 !important;
  display: inline-flex;
  font-size: 12px;
}

.voice-recog-help a .fa {
  color: #aaa;
  font-size: 17px;
  margin-right: 4px;
}

[data-voice-recog] {
  background: #f3f3f3;
  border: 2px solid #b8b8b8;
  border-radius: 50px;
  color: #f3f3f3;
  outline: none;
  padding: 0;
  position: relative;
  transition: all ease-in .3s;
}

[data-voice-recog] .fa {
  border-radius: 50%;
  color: #b8b8b8;
  display: inline-block;
  font-size: 30px;
  height: 38px;
  line-height: 38px;
  margin: -1px;
  position: relative;
  vertical-align: middle;
  transition: all ease .3s;
  width: 38px;
  z-index: 2;
}

[data-voice-recog]:not(.active) .fa-microphone-slash {
  background: #b8b8b8;
  color: #f3f3f3;
}

[data-voice-recog].active .fa-microphone {
  background: #2ea3f2;
  box-shadow: 0 0 0 6px rgba(46, 163, 242, .3);
  color: #fff;
  transform: translateZ(0);
}

[data-voice-recog].active.speaking .fa-microphone {
  animation: pulse 1s linear infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 12px rgba(46, 163, 242, .3); }
  75% { box-shadow: 0 0 0 9px rgba(46, 163, 242, .3); }
  85% { box-shadow: 0 0 0 12px rgba(46, 163, 242, .3); }
  100% { box-shadow: 0 0 0 6px rgba(46, 163, 242, .3); }
}

[data-voice-recog].active .fa-microphone-slash {
  background: transparent;
}

[data-voice-playstop] {
  background: #2ea3f2;
  border: 0;
  border-radius: 50%;
  bottom: 0;
  color: #fff;
  display: none;
  height: 40px;
  left: 50%;
  margin-left: 70px;
  position: absolute;
  width: 40px;
}

[data-voice-playstop].speaking,
[data-voice-playstop].stopped {
  display: block;
}

[data-voice-playstop].speaking .fa-play {
  display: none;
}

[data-voice-playstop].speaking .fa-pause {
  display: block;
}

[data-voice-playstop].stopped .fa-play {
  display: block;
}

[data-voice-playstop].stopped .fa-pause {
  display: none;
}

[data-voice-recog-command] {
  background: none;
  border: solid #c00;
  border-width: 0 0 2px;
  border-radius: 0;
  color: #808080;
  display: block;
  font-size: 18px;
  margin: 20px 0;
  text-align: center;
  width: 100%;
}

[data-voice-recog-command][readonly] {
  border: 0;
  cursor: default;
}

[data-voice-recog-output]:not(:empty),
[data-voice-recog-output].active {
  border-left: 2px solid #2ea3f2;
  padding: 20px;
}

[data-voice-recog-output] ol {
  padding: 0 !important;
}

[data-voice-recog-output] ol li:not(:last-child) {
  margin-bottom: 12px;
}

@media (max-width: 360px) {
  [data-voice-recog-output] table {
    display: none;
  }
}
