.search-page-container {
  max-width: 800px;
  margin: 80px auto;
  padding-bottom: 80px;
  padding-left: 40px;
  padding-right: 40px;
}
.search-page-bar {
  width: 680px;
  max-width: 100%;
  margin: 0 auto;
}
.gsc-result-info-container {
  display: none;
}
.gcsc-find-more-on-google {
  display: none !important;
}
.search-page-container .gsc-results .gsc-cursor-box {
  font-size: 1rem;
}

/* Open/Close Styling */
.search-form .gsc-control-searchbox-only {
  overflow: hidden;
  transition: width 0.4s ease;
  transform-origin: right;
}
.search-form:not(.opened) .gsc-control-searchbox-only,
.search-form:not(.opened) .gsc-input {
  width: 0;
  pointer-events: none;
}
.search-form.opened .gsc-control-searchbox-only {
  width: 400px;
  opacity: 1;
}
.search-form:not(.opened) .gsc-search-button-v2 {
  transform: translateX(100%);
}
.search-form.opened .search-btn {
  display: none;
}
body.search.search-no-results .page-title {
  text-align: left;
}

/* Open Search Button Styling */
div.search-collapse {
  background-position: 13px 13px;
}
.search-form .gsc-search-button {
  height: 50px;
  width: 50px;
  border-radius: 0;
}
.search-form .gsc-search-button-v2 {
  height: 50px;
  width: 50px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  border: none;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  background-image: url("/wp-content/themes/hpu/assets/frontend/images/svg/search-icon-inverted.svg");
}
.search-form .gsc-search-button-v2 svg {
  display: none !important;
}
.gsst_a span.gscb_a {
  color: #330072;
}

/* Open Search Input Styling */
.search-form .gsc-search-box {
  background-color: #fff;
  padding-left: 12px;
}
.search-form .gsc-input-box {
  border-radius: 0;
  width: 100%;
  height: 100%;
}

/* Search Results */
.search-page-container * {
	font-family:'Poppins', sans-serif;
}
.search-page-container .gsc-control-cse .gs-result .gs-title * {
  font-size: 20px;
}
.search-page-results .gs-promotion-text-cell {
	margin-left: 0;
	margin-right: 0;
}
.search-page-results .gsc-cursor-box {
	font-size: 1.2rem;
}
span.gs-fileFormat {
	display: none;
}

/* Mobile Search */
@media screen and (max-width: 1279px) {
  .search-form .gsc-search-box {
    background-color: #fff;
  }
  .search-form .gsc-search-button-v2 {
    background-color: #fff;
    background-image: url("/wp-content/themes/hpu/assets/frontend/images/svg/search-icon-inverted.svg");
  }
  .search-form .gsc-control-searchbox-only {
    position: absolute;
    right: 70px;
    top: 5px;
    padding-top: 5px;
  }
  .search-form.opened .gsc-control-searchbox-only {
    width: calc(100% - 120px);
  }
}

/* Positioning hacks for menu */
.gstl_50.gssb_c,
.gstl_51.gssb_c {
  position: fixed !important;
}

/* Override GSCE background - currently not respecting GCSE settings */
.gsc-input {
  background: none !important;
}
