/* extracted from template-parts/common/searchbox.php */

.sidebar__inner .wd_searchbox .wd_suggestion_icon {
  width: 40px !important;
  height: 40px !important;
}

.sidebar__inner .wd_searchbox .wd_predictive_dropdown {
  width: auto;
  min-width: 100%;
}

.sidebar__inner .wd_searchbox .wd_predictive_pages_grid {
  grid-template-columns: repeat(1, 1fr);
}

.wd_searchtitle {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 32px auto 0px;
  font-size: 16px;
  font-weight: 700;
  color: #d82300;
}

.wd_searchtitle {
  font-size: 22px;
  font-weight: 900;
  padding-left: 25px;
  background: url(/assets/img/side/magnifying_icon.png) no-repeat left center /
    20px;
}

.wd_searchtitle.wd_margintop {
  padding-top: 40px;
  /* fix misaligned icon: the background "left center" centers within the whole box
     (including the 40px padding-top), so the icon sat above the text; shift it down
     by half the padding-top (40/2 = 20px) so it aligns with the text line */
  background-position: left calc(50% + 20px);
}

.gtm_form_search_result_sidebar {
  display: flex;
  gap: 7px;
}

.wd_searchbox {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 10px auto 0px;
}

.wd_searchbox.wd_marginbottom {
  padding-bottom: 40px;
}

.wd_searchinput {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  border: 2px solid #333333;
  background-color: #ffffff;
  padding: 0px 8px;
  border-radius: 10px;
}

.wd_searchinput:focus::placeholder {
  color: transparent;
}

.gtm_form_search_result_sidebar input[type="submit"] {
  background: #00b3e7;
  color: #fff;
  padding: 0 20px;
  box-shadow: 2px 2px 0 #00607c;
  border-radius: 10px;
}
