.voice-search-block {
  display: flex;
  align-items: center;
  background-color: #2685c2;
  padding: 20px;
  margin-top: 2px;
  border-radius: 50%;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
  transition: 0.3s all ease-in;
}
.voice-search-block:hover {
  transform: scale(1.1);
}

.voice-search-block .search-icon {
  width: 40px;
  height: auto;
  cursor: pointer;
  filter: invert(1);
}

#voice_search {
  background: #434a54 !important;
  padding-top: 25px ! important;
  padding: 15px 20px 10px;
}

.speak-now-section {
  width: 100%;
  height: 66px;
  background: #434a54;
  position: fixed;
  top: 0;
  z-index: 999999;
  display: none;
}

.speak-now-text {
  color: #fff;
  float: left;
  font-size: 24px;
  position: relative;
  width: 50%;
}

.speak-now-icon {
  float: left;
  text-align: left;
  width: 50%;
}

.voice-icon {
  height: 35px;
  width: 35px;
  border-radius: 50px;
  background-color: #ff4445;
  box-shadow: 0px 1px 10px #c0c0c0;
  pointer-events: none;
  z-index: 9999;
  position: absolute;
}

.voice-icon img {
  padding: 11px;
  vertical-align: middle;
}

.close-voice-search {
  float: right;
  margin-top: 15px;
  cursor: pointer;
  margin-right: 27px;
}

#voice-search-speak-now--search-text {
  display: none;
}

#voice-search-speak-now-retry-text {
  display: none;
}

#voice-search-speak-now-retry-text {
  font-size: 18px;
  color: #fff;
  width: 50%;
  float: left;
}

#voice-search-speak-now-retry-text a {
  font-size: 18px;
  color: #fff;
  text-decoration: underline;
}
.pulse-ring {
  content: '';
  width: 50px;
  height: 50px;
  background: #189bff;
  border: 5px solid #189bff;
  border-radius: 50%;
  position: absolute;
  animation: pulsate infinite 1.5s;
}
.voice-wrapper1 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-wrapper1 img {
  position: relative;
  max-width: 40px;
  height: 40px;
  width: 100%;
}
div[aria-describedby="voice-search-dialog-content"] + .ui-widget-overlay {
  background: #000000;
  opacity: 0.8;
}

@-webkit-keyframes pulsate {
  0% {
    -webkit-transform: scale(1, 1);
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1.3, 1.3);
    opacity: 0;
  }
}

.ui-dialog-titlebar {
  background: transparent !important;
  border: none !important;
}
div[aria-describedby="voice-search-dialog-content"] + .ui-widget-overlay {
  opacity: 0.9 !important;
}
body div[aria-describedby="voice-search-dialog-content"] {
  width: 100% !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  z-index: 9999 !important;
}
body  .ui-widget.ui-widget-content div#voice-search-dialog-content {
  width: 100%;
  min-height: auto !important;
  max-height: 100% !important;
  height: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 2rem;
}
body  .ui-dialog[aria-describedby="voice-search-dialog-content"]  .ui-dialog-titlebar {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}
body .ui-dialog[aria-describedby="voice-search-dialog-content"]  .ui-icon.ui-icon-closethick {
  width: 100%;
  height: 100%;
  margin: 0;
  transform: translate(-50%, -50%);
  background: url("data:image/svg+xml,%3csvg width='12' height='12' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11 1.318l-10 10M11 11.318l-10-10' stroke='%23000' stroke-width='1.5'/%3e%3c/svg%3e") no-repeat 50%;
  /* For a cross icon, you can use another background image or an inline SVG as shown above */
}

body .ui-dialog[aria-describedby="voice-search-dialog-content"] .ui-dialog-titlebar-close {
  border: none !important;
  outline: none !important;
}
