/* GOOGLE CUSTOM SEARCH */
/* search form */
form.gsc-search-box {
  max-width: 100% !important;
}
table.gsc-search-box {
  border-bottom: 2px solid #0a0a0a !important;
  width: 80% !important;
  margin: auto !important;
}
@media (max-width: 991.98px) {
    table.gsc-search-box {
        width: 100% !important;
    }
  }
table.gsc-search-box td {
  vertical-align: bottom !important;
}
.gsc-wrapper {
  max-width: 100% !important;
}
input.gsc-input {
  color: #555 !important;
  font-family: "Roboto Condensed", helvetica, arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
}
/* the clear (x) button */
.gsst_a {
  padding: 8px 4px !important;
}
.gsst_a .gscb_a {
  color: #555 !important;
}
/* the search button - replacing the icon with the word */
button.gsc-search-button.gsc-search-button-v2 {
  padding: 4px 12px !important;
  border-radius: 3px !important;
  margin-bottom: 0.5rem !important;
}
button.gsc-search-button.gsc-search-button-v2 svg {
  display: none !important;
}
button.gsc-search-button.gsc-search-button-v2::before {
  content: "SEARCH" !important;
  font-size: 1rem !important;
  color: #FFF !important;
  font-weight: 500 !important;
  font-family: "Roboto", segoe ui, "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}
/* adding the search icon before the input */
.gsib_a { /* get rid of google search icon */
  background-image: none !important;
}
td.gsib_a {
  padding: 5px 9px 5px 50px !important;
}
td.gsib_a::before {
  display: inline-block;
  content: "";
  vertical-align: -.125em;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-search' viewBox='0 0 16 16'><path d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/></svg>");
  background-repeat: no-repeat;
  background-size: 1.75rem 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  position: relative;
  bottom: -30px;
  left: -45px;
}
/* search results */
.gsc-results {
  width: 100% !important;
}
.gsc-webResult.gsc-result.gsc-promotion {
  padding: 1rem;
  border-radius: 4px;
  border-width: 2px !important;
}
.gsc-control-cse .gs-spelling,
.gsc-control-cse .gs-result .gs-title,
.gsc-control-cse .gs-result .gs-title * {
  font-size: 1.2rem !important;
}
.gsc-control-cse,
.gsc-control-cse .gsc-table-result {
  font-size: 1rem !important;
}
.gsc-control-cse .gsc-table-result {
  font-family: "Roboto", segoe ui, "Helvetica Neue", arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
}
.gs-webResult div.gs-visibleUrl-breadcrumb {
  font-size: .85rem !important;
}
/* dark mode stuff here */
[data-bs-theme=dark] .gsc-completion-container {
  color: #ffffff !important;
}
