.tts-wrapper {
  margin: 0 1rem;
  box-sizing: border-box;
  vertical-align: middle;
  padding: 1.7px !important;
  position: relative;
  display: flex;
  flex-direction: column;
}

.tts-wrapper__on-speak {
  outline: 5px auto #cfdae5 !important;
}

.tts-button {
  background-image: linear-gradient(#ffffff, #eeeeee 50%, #e4e4e4);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1.5;
  outline: none !important;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border: 1px solid steelblue;
  text-decoration: none;
}

.tts-button:hover {
  background-image: linear-gradient(#eee, #eee 30%, #d4d4d4);
}

.tts-button .element {
  display: flex;
  align-items: center;
}

.tts-button .element::before {
  content: '';
  background-image: url("../images/icon_sound_on.svg");
  height: 24px;
  width: 24px;
  display: inline-block;
  background-size: 24px;
  margin-right: 3px;
}

.tts-button__on-speak {
  outline: 5px auto #101010 !important;
  border: 1px solid transparent !important;
}

.tts-button__disabled {
  background-image: linear-gradient(#ffffff, #eeeeee 50%, #e4e4e4);
  cursor: default !important;
  padding: 0.25rem 0.5rem;
  line-height: 1.5;
  outline: none !important;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  border: 1px solid;
  text-decoration: none;
  color: #808080;
}

.tts-button__disabled .element {
  display: flex;
  align-items: center;
}

.tts-button__disabled .element::before {
  content: '';
  background-image: url("../images/icon_sound_off.svg");
  height: 22px;
  width: 22px;
  display: inline-block;
  cursor: pointer;
  margin-right: 5px;
}

.tts-tooltip__hidden {
  display: none;
}

.tts-tooltip {
  visibility: hidden;
  min-width: 100%; /* for Internet Explorer */
  width: max-content;
  background-color: #ffffff;
  color: #2d2d2d;
  text-align: center;
  padding: 3px;
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
  font-size: 0.8rem;
  border: 1px solid #2d2d2d;
  position: absolute;
  top: 2.4rem;
  z-index: 1;
}

.tts-wrapper:hover .tts-tooltip {
  visibility: visible;
}


